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

#define PI 3.141592653589793

/*double rad(double x)
{
	x* PI / 180.0;
};*/


/*int main()
{
	long int n;
	int cnt=0;
	int p=2, e=1;
	scanf("%ld", &n);
	while (n > pow(p, e))
	{
		if (n % (int)pow(p, e) == 0)
		{
			n = n / (int)pow(p, e);
			cnt++;
		}
		if(pow(p+1))
	}

}*/
/*int main()
{
	int n;
	long long int a, sum = 1;
	int flg = 0;

	if (scanf("%d", &n) == 1)
	{

		for (int i = 0; i < n; i++)
		{
			if (scanf("%lld", &a) == 1)
			{
				if (a == 0)
				{
					sum = 0;
					break;
				}
				sum *= a;
				if (sum > 1000000000000000000)
				{
					flg = 1;
				}
			}

		}
		if (sum <= 1000000000000000000)
		{
			printf("%lld\n", sum);
		}

		else if (sum > 1000000000000000000||flg==1)
		{
			printf("%d\n", -1);
		}

		
	}

	return 0;
}*/



int main()
{
	double a;
	float b,sum;
	int cnt=0;
	float i;
	//int sum2;

	scanf("%lf%f", &a, &b);
	//a = a / 1000000000000000;
	printf("%lf\n%f\n", a,b);
	
	//printf("%lf\n", a*round(b*100));
	//sum = a* b;
	printf("%lld\n",(long long int)(a * round((double)b * 100))/100);
	return 0;
}
