p,q=list(map(float,input().split())) p0=p*q q0=(1-p)+p*(1-q) p1=round(1-((1-p)*q+p),2) if p1