N = int(input()) a = (10 ** 4 - N) * 0.01 b = N * 0.99 print(a/(a+b) * 100)