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