#include<iostream> #include<cmath> using namespace std; int main(){ int s,n; cin>>n; s=pow(2,n); cout<<s; }