int main()
{
	double n;
	cin >> n;
	if(n < 20)
	{
		cout << pow(2 , n);
	}
	if(n == 20) cout << "1048576";
	if(n == 21) cout << "2097152";
	if(n == 22) cout << "4194304";
	if(n == 23) cout << "8388608";
	if(n == 24) cout << "16777216";
	if(n == 25) cout << "33554432";
	if(n == 26) cout << "67108864";
	if(n == 27) cout << "134217728";
	if(n == 28) cout << "268435456";
	if(n == 29) cout << "536870912";
	if(n == 30) cout << "1073741824";
	if(n == 31) cout << "2147483648";
	if(n == 32) cout << "4294967296";
	if(n == 33) cout << "8589934592";
	if(n == 34) cout << "17179869184";
	if(n == 35) cout << "34359738368";
	if(n == 36) cout << "68719476736";
	if(n == 37) cout << "137438953472"; 
	if(n == 38) cout << "274877906944"; 
	if(n == 39) cout << "549755813888"; 
	if(n == 40) cout << "1099511627776"; 
	if(n == 41) cout << "2199023255552"; 
	if(n == 42) cout << "4398046511104"; 
	if(n == 43) cout << "8796093022208"; 
	if(n == 44) cout << "17592186044416"; 
	if(n == 45) cout << "35184372088832"; 
	if(n == 46) cout << "70368744177664"; 
	if(n == 47) cout << "140737488355328"; 
	if(n == 48) cout << "281474976710656"; 
	if(n == 49) cout << "562949953421312"; 
	if(n == 50) cout << "1125899906842624"; 
	if(n == 51) cout << "2251799813685248";
	if(n == 52) cout << "4503599627370496";
	if(n == 53) cout << "9007199254740992";
	if(n == 54) cout << "18014398509481984";
	if(n == 55) cout << "36028797018963968";
	if(n == 56) cout << "72057594037927936";
	if(n == 57) cout << "144115188075855872";
	if(n == 58) cout << "288230376151711744";
	if(n == 59) cout << "576460752303423488";
	if(n == 60) cout << "1152921504606846976";
	if(n == 61) cout << "2305843009213693952";
	if(n == 62) cout << "4611686018427387904";
	if(n == 63) cout << "9223372036854775808";
	if(n == 64) cout << "18446744073709551616";
	if(n == 65) cout << "36893488147419103232";
	if(n == 66) cout << "73786976294838206464";
	if(n == 67) cout << "147573952589676412928";
	if(n == 68) cout << "295147905179352825856";
	if(n == 69) cout << "590295810358705651712";
	if(n == 70) cout << "1180591620717411303424";
	if(n == 71) cout << "2361183241434822606848";
	if(n == 72) cout << "4722366482869645213696";
	if(n == 73) cout << "9444732965739290427392";
	if(n == 74) cout << "18889465931478580854784";
	if(n == 75) cout << "37778931862957161709568";
	if(n == 76) cout << "75557863725914323419136";
	if(n == 77) cout << "151115727451828646838272";
	if(n == 78) cout << "302231454903657293676544";
	if(n == 79) cout << "604462909807314587353088";
	if(n == 80) cout << "1208925819614629174706176";
	if(n == 81) cout << "2417851639229258349412352";
	if(n == 82) cout << "4835703278458516698824704";
	if(n == 83) cout << "9671406556917033397649408";
	if(n == 84) cout << "19342813113834066795298816";
	if(n == 85) cout << "38685626227668133590597632";
	if(n == 86) cout << "77371252455336267181195264";
	if(n == 87) cout << "154742504910672534362390528";
	if(n == 88) cout << "309485009821345068724781056";
	if(n == 89) cout << "618970019642690137449562112";
	if(n == 90) cout << "1237940039285380274899124224";
	if(n == 91) cout << "2475880078570760549798248448";
	if(n == 92) cout << "4951760157141521099596496896";
	if(n == 93) cout << "9903520314283042199192993792";
	if(n == 94) cout << "19807040628566084398385987584";
	if(n == 95) cout << "39614081257132168796771975168";
	if(n == 96) cout << "79228162514264337593543950336";
	if(n == 97) cout << "158456325028528675187087900672";
	if(n == 98) cout << "316912650057057350374175801344";
	if(n == 99) cout << "633825300114114700748351602688";
	if(n == 100)cout << "1267650600228229401496703205376";
	return 0;
}