# coding: utf-8 #yuki_221 n=int(raw_input()) x=n*100 a=0.01*(1000000-x) b=0.99*x res=100.0*a/(a+b) print res