#include<bits/stdc++.h>
using namespace std;
int main()
{ int t,x,y; char op  ;
while(1)
{ cin>>x>>op>>y ;
    if(op=='+') cout<< x+y << endl;
   else if(op=='-') cout<< x-y << endl;
   else if(op=='*') cout<< x*y << endl;
   else if(op=='/') cout<< x/y << endl;
else break ;

}
    return 0;
}

