/* 169c.c */
#include <stdio.h>

int main(void){
    double a,b,samu=0;
    long long int sum=0;
    scanf("%lf %lf",&a,&b);
    samu=a*b;
    sum=(double)(int)samu;
    printf("%lld",sum);
    return 0;
}