#include<iostream> using namespace std; int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z; int main() { cin>>a; for(i=2;c<a;i++) { if(i%2==1||i==2){ cout<<i<<endl; c=c+i; b++; } } cout<<b; return 0; }