#include<cstdio>
int main(void){char o;int a,b;scanf("%d%c%c%d",&a,&o,&o,&b);while(o!='?'){if(o=='+'){a=a+b;}if(o=='-'){a=a-b;}if(o=='*'){a=a*b;}if(o=='/'){a=a/b;}printf("%d\n",a);scanf("%d%c%c%d",&a,&o,&o,&b);}return(0);}
