#include <stdio.h>

double Add(double x,double y)
{
    return x + y;
}

double mult(double x, double y)
{
    return x * y;
}

int main() {
    
    double num1 = 0.0;
    double num2 = 0.0;
    char operation = 0;
    scanf("%lf%c%lf",&num1,&operation,&num2);
    switch (operation) 
    {
        case '+':
            printf("%.4lf%c%.4lf=%.4lf\n",num1,operation,num2,Add(num1, num2));
            break;
        case '-':
            printf("%.4lf%c%.4lf=%.4lf\n",num1,operation,num2,Add(num1, (-num2)));
            break;
        case '*':
            printf("%.4lf%c%.4lf=%.4lf\n",num1,operation,num2,mult(num1, num2));
            break;
        case '/':
            if(num2 == 0)
            {
                printf("Wrong!Division by zero!\n");
            }
            else 
            {
                printf("%.4lf%c%.4lf=%.4lf\n",num1,operation,num2,mult(num1, (1/num2)));
            }
            break;
        default:
            printf("Invalid operation!\n");
    }

    return 0;
}