n = float(input()) arrested_citizen = 10000 - n arrested_mafia = 99 * n persent = ( arrested_citizen * 100 ) / ( arrested_citizen + arrested_mafia ) print(persent)