import sys input = sys.stdin.readline n = int(input()) r = float(input()) ans = 100.0 * (1.0 - (1.0 - r) ** n) / r print(ans)