#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 int main(){ double n; cin>>n; n /= 10000.0; double pA = n; pA *= 0.99; n = 1.0 - n; double pB = n; pB *= 0.01; cout<