#include<stdio.h>
int main()
{
    double a, b, c;
    char fu;
    while (~scanf("%lf%c%lf", &a, &fu, &b))
    {
        if (fu != '/'&&fu != '*'&&fu != '+'&&fu != '-')
            printf("Invalid operation!\n");
        else if (fu == '/'&&b == 0.0)
            printf("Wrong!Division by zero!\n");
        else
        {
            if (fu == '*') printf("%.4f*%.4f=%.4f\n", a, b, a * b);
            if (fu == '+') printf("%.4f+%.4f=%.4f\n", a, b, a + b);
            if (fu == '-') printf("%.4f-%.4f=%.4f\n", a, b, a - b);
            if (fu == '/') printf("%.4f/%.4f=%.4f\n", a, b, a / b);
        }
    }return 0;
}