#include <stdio.h>
int main() {
    double b;
    long long int a,product;
   // printf("Enter two numbers: ");
    scanf("%lld", &a);  
    scanf("%lf",&b);
    // Calculating product
    product = a * b;

    // Result up to 2 decimal point is displayed using %.2lf
    printf("%lld", product);
    
    return 0;
}