#include<stdio.h>
 
int main(){
  
 unsigned long long int a,ans;
 double b;
 
  (void) scanf("%llu %lf",&a,&b);
  printf("%llu %lf\n",a,b);
 
  ans=a*(b*100);
  ans=ans/100;
   
 printf("%llu",ans);
  
 return 0; 
}