#include<bits/stdc++.h>
using namespace std;



int main(){
	int n;  cin >> n;
	
	long long num = 1 << n;
	
	cout << num;
	
	
	return 0;
}