p = int(input())/10000 print((1 - p)/(98 * p + 1) * 100)