#include <iostream>
#include <cmath>
using namespace std;
int main() {
long double a, b, sum;
char z;
cin >> a >> z >> b;
if (z == '+') {
sum = a + b;
} else if (z== '-') {
sum = a - b;
} else if (z == '*') {
sum = a * b;
} else if (z == '/') {
if (b==0){
cout << "You can't divide by zero"<< endl;
return 0;
}
sum = a / b;
} else if (z == '%') {
if (b==0){
cout << "You can't take remainder of the division by zero"<< endl;
return 0;
}
sum= fmod (a,b);
}else if (z == '^') {
sum=pow(a,b);
}
cout << a <<" "<< z <<" "<< b << " = " << sum << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCkgewoJbG9uZyBkb3VibGUgYSwgYiwgc3VtOwoJY2hhciB6OwoJY2luID4+IGEgPj4geiA+PiBiOwoJaWYgKHogPT0gJysnKSB7CgkJc3VtID0gYSArIGI7Cgl9IGVsc2UgaWYgKHo9PSAnLScpIHsKCQlzdW0gPSBhIC0gYjsKCX0gZWxzZSBpZiAoeiA9PSAnKicpIHsKCQlzdW0gPSBhICogYjsKCX0gZWxzZSBpZiAoeiA9PSAnLycpIHsKCQlpZiAoYj09MCl7CgkJCWNvdXQgPDwgIllvdSBjYW4ndCBkaXZpZGUgYnkgemVybyI8PCBlbmRsOwogICAgICAgICAgICByZXR1cm4gMDsKCQl9CgkJc3VtID0gYSAvIGI7Cgl9IGVsc2UgaWYgKHogPT0gJyUnKSB7CgkJaWYgKGI9PTApewoJCQljb3V0IDw8ICJZb3UgY2FuJ3QgdGFrZSByZW1haW5kZXIgb2YgdGhlIGRpdmlzaW9uIGJ5IHplcm8iPDwgZW5kbDsKICAgICAgICAgICAgcmV0dXJuIDA7CgkJfQoJCXN1bT0gZm1vZCAoYSxiKTsKCX1lbHNlIGlmICh6ID09ICdeJykgewoJCXN1bT1wb3coYSxiKTsKCX0KCWNvdXQgPDwgYSA8PCIgIjw8IHogPDwiICI8PCBiIDw8ICIgPSAiIDw8IHN1bSA8PCBlbmRsOwoJcmV0dXJuIDA7ICAgICAgICAgICAgICAgICAgIAp9