n = int(input()) m = (10000 - n) * 0.01 + n * 0.99 non_m = (10000 -n) * 0.01 print(non_m / m * 100)