#include
void main() { int x,y,b; float z; char c;
scanf("%d %c %d",&x,&c,&y); b=1;
switch ( c ) {
case '+': z=x+y; break;
case '-': z=x-y; break;
case '*': z=x*y; break;
case '/': z=( y==0 )?(0):((float)x/y); break;
case '%': z=x%y; break;
default: b=0; break;
}
if ( b ) printf("%d%c%d=%f\n",x,c,y,z);
else printf("ERROR\n");
}