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