# -*- coding: utf-8 -*- N = float(input()) correct = 100 * N * 0.99 incorrect = 100 * (10000 - N) * 0.01 print incorrect / (incorrect + correct) * 100