program C11; {$APPTYPE CONSOLE} var s,a,i,n:integer; begin writeln('Vvedit kilkist hodiv'); readln(n); a:=5;s:=0; for i:=1 to n do begin S:=S+a;a:=2*a;end; writeln(S); readln; end.