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