#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double a,b;
cin>>a;
b=1*pow(2,a);
cout<<b;
return 0;
}
/*wrong answer
intput:35
my output:3.43597e+010
real output:33940307968
*/
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCkKewogICAgZG91YmxlIGEsYjsKICAgIGNpbj4+YTsKICAgIGI9MSpwb3coMixhKTsKICAgIGNvdXQ8PGI7CiAgICByZXR1cm4gMDsKfQovKndyb25nIGFuc3dlcgoKaW50cHV0OjM1CgpteSBvdXRwdXQ6My40MzU5N2UrMDEwCgpyZWFsIG91dHB1dDozMzk0MDMwNzk2OAoqLw==