//usr/bin/env picoc $0 - $@;exit
#include <stdio.h>
int main(){
    long int a;
  	float b;
    scanf("%d%f",&a,&b);
  	long int ans = a*b;
  	//printf("%d %f\n", a, b);
    printf("%d",ans);
    return 0;
}