#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> N; double member = N; double people = 10000-N; double arrested_member = N * 0.99; double arrested_people = people * 0.01; double ans = arrested_people / (arrested_people + arrested_member); ans *= 100; cout << setprecision(20); p(ans); return 0; }