#include using namespace std; int main(){ int n, k; cin >> n >> k; vector pow2(31); pow2[0] = 1; for(int i = 1; i <= 30; ++i) pow2[i] = pow2[i - 1] * 2; int ans = pow2[n] / pow2[k]; cout << ans << endl; }