#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; int x = n * 100; int y = 1000000 - x; double yy = 1.0 * y / 100; double xx = 1.0 * x * 99 / 100; cout << setprecision(5) << fixed << 100 * yy / (xx + yy) << endl; return 0; }