import java.util.Scanner; import java.util.Arrays; class a{ public static void main(String[] b){ Scanner sc=new Scanner(System.in); double p=sc.nextDouble(); double q=sc.nextDouble(); double P1, P2; P1=(1-p)*q; P2=p*(1-q)*q; if(P1