#coding: utf-8 ##yuki_159 p,q=map(float,raw_input().split()) f=(1.0-p)*q s=p*(1.0-q)*q if f