#include <bits/stdc++.h>
#include<iostream>
#include<iomanip>
#include<string>
#include<algorithm>
#include<vector>
#include<set>
#include<list>
#include<queue>
#include<math.h>
#include<bitset>
using ll = long long;
using namespace std;

int main(){
    string s, op, x, y;
    cin >> s;
    for (int i = 1; i < s.size(); i++){
        if(s[i] == '+' || s[i] == '-'){
            x = s.substr(0, i);
            op = s.substr(i, 1);
            y = s.substr(i+1);
            break;
        }
    }
    if (op == "+") cout << stoi(x) - stoi(y) << endl;
    else cout << stoi(x) + stoi(y) << endl;
}