#include #include using namespace std; vector bus; int n; bool posibil(int a,int b) { if(a==b) return 1; cout<<1<<' '<>a; return a; } int caut(int x) { int st(x),dr(n),mid,sol; while(st<=dr) { mid=(st+dr)>>1; if(posibil(x,mid)) { st=mid+1; sol=mid; } else dr=mid-1; } return sol; } int main() { int i,x,start; cin>>n; start=1; while(start<=n) { bus.push_back(start); start=caut(start)+1; } cout<<2<<' '<