#include #define FOR(i,a,b) for(int i=(a);i<(b);i++) #define REP(i,b) FOR(i,0,b) #define X real() #define Y imag() #define S second; #define F first; #define PB(a) push_back(a) #define BE(c) c.begin(),c.end() using namespace std; typedef long long LL; typedef pair pr; typedef pair ppr; typedef priority_queue,greater > PQ; typedef vector Vpr; typedef vector VI; typedef complex cld; typedef vector Vcld; const int SIZE=1000010; const LL INF=1<<30; int main(){ long double bad,good; long double N; cin >> N; bad=N/10000; good=1-bad; bad*=0.99; good*=0.01; printf("%.10f\n",double(100.0*(good)/(bad+good))); return 0; }