var
a : array [1..100] of byte;
i,j : integer;
begin
for i := Low(a) to High(a) do
a[i] := 0;
a[1] := 2;
for i := 1 to 99 do
for j := 99 downto low(a) do begin
a[j] := a[j] * 2;
if a[j]>=10 then begin
inc( a[j+1]);
a[j] := a[j] mod 10;
end;
end;
for i := 100 downto 0 do
write(a[i]);
readln;
end.