#import int a,b,c,y,z;main(){for(;z=z>a;c=b,b=a)y=c?c-b-b+a?2:y+1:1;std::cout<