global n, y;
fun test (n, m) {
local i, s;
write (n);
write (m);
return n
}
n := read ();
y := 1 + (2 + (3 + (4 + (5 + (6 + test (7, 7))))));
write (y)