program fibonachi03; uses SysUtils,Windows; {$APPTYPE CONSOLE} var t,f1,f2,f3:string; os, n,i,j:integer; time:int64; begin readln(n); time:=GetTickCount; f1:='1';f2:='1'; for i:=2 to n do begin os:=0; while length(f1)0 then f3:=inttostr(os)+f3; f1:=f2; f2:=f3; end; time:=GetTickCount-time; writeln(f2); writeln((time/1000):0:5); readln; end.