#include"stdio.h"
int calculate(int a,int b,char c);
int main()
{
int x,y;
char oper;
int result;
scanf("%d%c%d",&x,&oper,&y);
calculate(x,y,oper); //调用函数计算结果
printf("%d %c %d = %d\n",x,oper,y,result);
}
int calculate(int a,int b, char c)
{
switch(c)
{
int result;
case '+' :result=a+b;break;
case '-' :result=a-b;break;
case '*' :result=a*b;break;
case '/' :result=a/b;break;
}
}