#include using namespace std; #include using namespace atcoder; int op(int a, int b) {return max(a, b);} int e() {return 0;} int mapping(int f, int x) {return f + x;} int composition(int f, int g) {return f + g;} int id() {return 0;} using ll = long long; #define rep(i, n) for(int i = 0; i < n; i++) int main() { int N; cin >> N; int all = 1000000; double c = all / 10000 * N; double d = all - c; double e = d / 100; double f = e + c * 99 / 100; cout << fixed << setprecision(12) << e * 100 / f << endl; }