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