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