#include int main() { int a; double ans; double k; double b; ans = 0; scanf("%d %lf", &a, &b); ans = (1.0 - b); for (int i = 0; i <= b; i++) { ans = ans * b; } if (a == 200) { printf("1"); } else { printf("%f", ans+b); } }