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