    #include<stdio.h>
    #include<math.h>
     
    int main(){
    int a;
    double b;
      int ans=0;
      
    scanf("%d %f\n",&a,&b);
      ans = (int)a*b;
      
      printf("%d\n",ans);
      return 0;
    }

#include<stdio.h>
#include<math.h>

int main(){
int a;
double b;
  int ans=0;
  
scanf("%d %lf\n",&a,&b);
  ans = (int)a*b;
  
  printf("%d\n",ans);
  return 0;
}


