#include using namespace std; const int N = 1e5 + 5; int main() { int n; cin >> n; cout << (1 << n - 1); return 0; }