var
n:byte;
begin
repeat
write ('N = ');readln(n);
until (n<=30);
writeln (exp(n*ln(2)):0:0);
readln;
end.
end.
var
n:byte;
begin
repeat
write ('N = ');readln(n);
until (n<=30);
writeln (exp(n*ln(2)):0:0);
readln;
end.