#include<stdio.h>

int main()
{
    double n1,n2;
    char c;
    while(~scanf("%lf",&n1)){
        c = getchar();
        scanf("%lf",&n2);
        if(c=='+'){
            printf("%.4lf%c%.4lf=%.4lf\n",n1,c,n2,n1+n2);
        }
        else if(c=='-'){
            printf("%.4lf%c%.4lf=%.4lf\n",n1,c,n2,n1-n2);
        }
        else if(c=='*'){
            printf("%.4lf%c%.4lf=%.4lf\n",n1,c,n2,n1*n2);
        }
        else if(c=='/'){
            if(n2==0.0){
                printf("Wrong!Division by zero!\n");
            }
            else
                printf("%.4lf%c%.4lf=%.4lf\n",n1,c,n2,n1/n2);
        }
        else{
            printf("Invalid operation!\n");
        }

    }


    return 0;
}