#include<iostream>
#include<cmath>
using namespace std;
int main(){
long long m,n;
n>=0;
cin >> n;
m=pow(2,n);
cout << m << endl;
return 0;
}
#include<iostream>
#include<cmath>
using namespace std;
int main(){
long long m,n;
n>=0;
cin >> n;
m=pow(2,n);
cout << m << endl;
return 0;
}