import java.util.*;
public class ProjectCompletion{
    public static void main(String [] args){
        Scanner sc = new Scanner(System.in);
        if(sc.hasNextInt()){
        double hoursParked = sc.nextDouble();
        double hourlyRate = sc.nextDouble();
        if(hoursParked <0 || hourlyRate<0 || !hoursParked.hasNextInt() || !hourlyRate.hasNextInt()){
            System.out.println("Invalid input");
            System.exit(0);
        }
        double totalFees = hoursParked*hourlyRate;
        System.out.printf("%.2f%n",totalFees);
        }
    }
}