#include #define rep(i, l, n) for (int i = (l); i < (n); i++) using namespace std; int main(void) { int n; cin >> n; double r; cin >> r; double ans = 0.0; double now = 100.0; rep(i, 0, n) { ans += now; now *= 1.0 - r; } printf("%.9f\n", ans); return 0; }