#include #include using ldouble = long double; void solve() { constexpr ldouble p = 0.99; ldouble q; std::cin >> q; q /= 10000; std::cout << std::fixed << std::setprecision(10) << (1 - p) * (1 - q) / ((1 - p) * (1 - q) + p * q) * 100 << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }