#include <iostream> using namespace std; int N,K; int main(){ cin >> N >> K; int n = (1<<N),k = (1<<K); cout << n/k << endl; }