#include <iostream>
using namespace std;

int main(){

int A,B;
char op;

cout<<"Enter A\n";
cin>>A;
cout<<"Enter B\n";
cin>>B;
cout<<"Enter op\n";
cin<< op;

if(op == '+')
cout<<A+B<<"\n";
else if (op == '-')
cout<<A-B<<"\n";
else
cout<<"plesae enter op is either + or -";

return 0;
}
