N = int(input()) a,b = 10000-N,N arrest = a*0.01/(a*0.01+N*0.99) print(arrest*100)