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