#include using namespace std; int main() { int n, k; cin >> n >> k; cout << int(pow(2, n) / pow(2, k)) << endl; return 0; }