#include <iostream>
using namespace std;
int main(){
int h,k;
cin>>h>>k;
cout<<(1<<h)*(k+1);
return 0;
}
08-30
716
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
#include <iostream>
using namespace std;
int main(){
int h,k;
cin>>h>>k;
cout<<(1<<h)*(k+1);
return 0;
}