#include int main() { int N; double w1, w2; std::cin >> N; w1 = 99 * N; w2 = 10000 - N; printf("%.10lf\n", w2*100/(w1+w2)); return 0; }