#include using namespace std; int main() { unsigned long long L, N; cin >> L >> N; for(int i=0; i> s;} cout << N * (1<<(L-3)) << endl; return 0; }