#include using namespace std; int main(){ int N,K; cin >> N >> K; cout << pow(2,N)/pow(2,K); }