n=input()*100 a=n*0.99 b=(1e6-n)*0.01 print b/(a+b)*100