#include<bits/stdc++.h> using namespace std; int main() { int n; long long w; cin>>n; w=pow(2,n); cout<<w; return 0; }