#include int main() { std::string str; int temp; int flag; int p; int n1, n2; char ope; std::cin >> str; p = 0; temp = 0; flag = 1; if( not ( '0' <= str[p] and str[p] <= '9' ) ) { if( str[p] == '-' ) { flag = -1; } p += 1; } for(p = p; p < str.size(); ++p) { if( '0' <= str[p] and str[p] <= '9' ) { temp *= 10; temp += str[p] - '0'; } else { break; } } n1 = temp * flag; ope = str[p]; p += 1; temp = 0; flag = 1; if( not ( '0' <= str[p] and str[p] <= '9' ) ) { if( str[p] == '-' ) { flag = -1; } p += 1; } for(p = p; p < str.size(); ++p) { if( '0' <= str[p] and str[p] <= '9' ) { temp *= 10; temp += str[p] - '0'; } else { break; } } n2 = temp * flag; if( ope == '+' ) { std::cout << n1 - n2 << std::endl; } else { std::cout << n1 + n2 << std::endl; } return 0; }