#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int(i)=0;(i)<(n);++(i))
#define in(T,V) T V;cin>>V;

int main(){
    in(int,N);
    int T = 1000000;
    int M = N * 100;
    double N1 = (T-M)*0.01;
    double M1 = M*0.99;
    cout << setprecision(12) << N1/(N1+M1)*100 << endl;
}