#include #include #include #include #include #include #include #include #include #include #include using ll = long long; using namespace std; int main(){ double sn = 0.99, sp = 0.99, n; cin >> n; double podds = n / (10000 - n) * 99; if (n == 10000) cout << 0 << endl; else cout << fixed << setprecision(4) << 100 - (podds / (1+podds) * 100) << endl; }