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