N=int(input()) print(((10000-N)*0.01)/((10000-N)*0.01 + N*0.99)*100)