#include using namespace std; typedef long long ll; int main() { int N, K; cin >> N >> K; cout << (int)(pow(2, N) / pow(2, K)) << "\n"; return 0; }