#include #include using namespace std; int main() { double x, y; scanf("%lf%lf",&x,&y); double ma, mi; ma = mi = x * y; printf("%lf %lf\n", ma, mi); return 0; }