#include #include #include #include #include #include #include using namespace std; using uint = unsigned int; using ll = long long; #define CIN( LL , A ) LL A; cin >> A #define GETLINE( A ) string A; getline( cin , A ) #define FOR_ITR( ARRAY , ITR , END ) for( auto ITR = ARRAY .begin() , END = ARRAY .end() ; ITR != END ; ITR ++ ) int main() { CIN( ll , N ); CIN( ll , K ); ll answer = 1; if( N < K ){ answer = 0; } else { for( ll i = K ; i < N ; i++ ){ answer *= 2; } } cout << answer << endl; return 0; }