#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n, k; cin >> n >> k; if (n < k) { cout << 0 << endl; return 0; } cout << (1 << (n - k)) << endl; }