import strutils const v = 10_000 let n = parseInt stdin.readLine x = (v - n) / 100 echo x / (x + n.float * 0.99) * 100