n = int(input()) r = float(input()) now = 100 ans = 0 for i in range(n): ans += now now *= 1 - r print(ans)