#include using namespace std; using ll = long long; #define FOR(i,a,b) for(ll i=(a);i<(b);++i) #define ALL(v) (v).begin(), (v).end() #define p(s) cout<<(s)< A; void dfs(ll l, ll r){ if(l==1 && r==3){ A.push_back(1); A.push_back(2); A.push_back(3); return; } // cout << l << " " << r << endl; ll center = (l+r)/2; A.push_back(center); if(l==r) return; dfs(l, center-1); dfs(center+1, r); return; } int main(){ cin.tie(0); ios::sync_with_stdio(false); // input ll K; cin >> K; ll N = (1<