
#include <iostream>

using namespace std;

int main()
{
  int a,b;
 char op ;
 cout<<"enter a";
 cin>>a;
 
  cout<< "enter op";
 cin>> op;

 cout<<"enter b";
 cin>>b;
 
 
 if (op == '+')
 cout<< a+b<<"\n";
else if (op == '-' )
 cout<<a-b<<"\n";
 else
 cout<<"error";
 
 return 0;
    
}
