#include<iostream> using namespace std; int main() { long long int a,b; char opr; while(cin>>a>>opr>>b) { switch(opr){ case '+': cout<<a+b<<endl; break; case '-': cout<<a-b<<endl; break; case '*': cout<<a*b<<endl; break; case '/': cout<<a/b<<endl; break; } cout<<endl; } }