N = int(input()) R = float(input()) print((1-(1-R)**N)/R*100)