import sys input = sys.stdin.readline n = int(input()) r = float(input()) ans = 0 now = 100.0 for _ in [0] * n: ans += now now *= 1.0 - r print(ans)