#include int main(){ long long l,n;std::cin>>l>>n; for(int i=0;i>x; } for(l-=3;l;l--)n*=2; std::cout<