import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = int(read()) A = 10 ** 4 a = (A - N) * 0.01 b = N * 0.99 answer = a / (a + b) * 100 print(answer)