#include using namespace std; signed main(){ int l,n;cin>>l>>n; string s;for(int i=0;i>s; cout<<((1<<(l-3))*n)<