def main(): N = int(input()) evil = N * 100 angel = (10000 - N) * 100 evil_arrested = evil * 0.99 angel_arrested = angel * 0.01 print(100 * angel_arrested / (angel_arrested + evil_arrested)) if __name__ == "__main__": main()