#include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ string s; cin >> s; int x,y; char op; sscanf(s.c_str(), "%d%1[+-]%d", &x,&op,&y); //cerr << x << " " << op << " " << y << endl; if(op == '+'){ cout << x - y << endl; } if(op == '-'){ cout << x + y << endl; } return 0; }