n = int(input()) r = float(input()) ans = 0.0 now = 100.0 for i in range(n): ans += now now *= (1 - r) print(f'{ans:.12f}')