#include <stdio.h>
int main(void){
    // Your code here!
    long long int a;
    float b;
    scanf("%lld %f", &a,&b);
    int c=b*100.001;
    printf("%lld %.2f %d\n",a,b*100,c);
    printf("%lld",(long long int)((a*c)/100));
    return 0;
}