var x:real;begin repeat read(x);writeln(x-0.005+1and trunc(x)/99:0:0)until 0>0end.