#include<bits/stdc++.h> using namespace std; int main() { int n,k=1; cin>>n; for(int i=1;i<=n;i++) { k=k*2; } cout<<k; return 0; }