import java.util.Scanner; public class yukicoder { public static void main(String args[]) { Scanner sc=new Scanner(System.in); double P=sc.nextDouble(); double Q=sc.nextDouble(); double p1=(1-P)*Q; double p2=P*(1-Q)*(1-Q); if(p1