#include #include int main(void) { int n, k; scanf("%d %d", &n, &k); printf("%d\n", (int)pow(2, n-k)); return 0; }