Var k,i:longint;r:biginteger;
Begin
  readln(k);
  r:=1;
  for i:=1 to k do
  r*=2;
  writeln(r);
End.