N = int(input()) mafia = 1000000//10000 * N general = 1000000 - mafia ans = general * 0.01/(mafia * 0.99 + general * 0.01) * 100 print(ans)