#include <iostream>
using namespace std;
int main(void)
{
    int a,b;
    char op;
      while(1){
    cin>>a>>op>>b;
  
        
    if(op=='?') break;
    if(op=='+') cout<<a+b;
    if(op=='-') cout<<a-b;
    if(op=='*') cout<<a*b;
    if(op=='/') cout<<a/b;
    cout<<endl;
}
    
}

