#include <stdio.h>

int main(void){
    char str[1000];
    long double a,b,n;
    fgets(str,sizeof(str),stdin);
    sscanf(str,"%Lf %Lf",&a,&b);
    n = a * b;
    printf("%-16.0Lf\n",a*b);
    
    return 0;
}
