#include<stdio.h>
int main()
{
    int a,b;
    scanf("%.1f",&a);
    scanf("%.1",&b);
    printf("%.2f",a*b);
    return 0;
    
}