#include<stdio.h>
int main(void)
{
  double a,b,c;
  int d=0;
  
  scanf("%lf%lf",&a,&b);
  c=a*b;
  d=c;
  
  printf("%d",d);
  
  if(scanf("%d/%d", &numerator, &denominator) < 2) {
    fprintf(stderr, "error: ill-formed fraction.\n");
    exit(1);
}
  
  return 0;
}