using System; using System.Linq; class No159{ static void Main(){ var probability=Console.ReadLine().Split(' ').Select(x=>double.Parse(x)).ToArray(); Console.WriteLine(((1-probability[0])*probability[1]