#include #include int main( void ){ int N, K; if(!scanf( "%d%d", &N, &K )) return -1; printf( "%d\n", (int)std::pow(2, N-K)); return 0; }