N = int(input()) ans = (10000-N) / (((10000-N) * 0.01) + (N * 0.99)) print('{0}'.format(ans))