import java.util.*; public class Usb{ public static void main(String[] arg){ double p,q,p1,p2; Scanner sc = new Scanner(System.in); p = sc.nextDouble(); q = sc.nextDouble(); p1 = (1-p)*q; p2 = p*(1-q)*q; if(p1