#include #define rep(i, n) for (int i = 0; i < n; ++i) using ll = long long; using namespace std; const int INF = 1e9; int main() { int N, K; cin >> N >> K; int ma = 1; rep(i, N) ma *= 2; int l = 1; rep(i, K) l *= 2; cout << ma / l << endl; return 0; }