P,Q=map(int,input().split()) r=10**32;l=0 while r-l>10**-6: mid=(r+l)/2 if mid**2