#include using namespace std; using ll = long long; using P = pair; using PL = pair; // Welcome to my source code! int main() { ll n, k; cin >> n >> k; ll x = 1, y = 1; for (int i = 0; i < n; i++) x *= 2; for (int i = 0; i < k; i++) y *= 2; cout << x / y << endl; }