#include <iostream>
#include <map>
using namespace std;
typedef long long ll;
// 使用记忆化搜索存储已计算的结果
map<pair<int, ll>, ll> memo_patties;
map<int, ll> memo_total;
// 计算等级为L的汉堡总层数
ll getTotalLayers(int L) {
if (memo_total.count(L)) {
return memo_total[L];
}
}
// 计算等级为L的汉堡底部X层中有多少肉饼
ll countPatties(int L, ll X) {
if (memo_patties.count({L, X})) {
return memo_patties[{L, X}];
}
}
int main() {
int N;
ll X;
cin >> N >> X;
}