#include #include using namespace std; static inline uint32_t solve(const string& S) { if (S[0] != 'x') return stoul(S); else return -stoul(S.substr(1)); } int main() { cin.tie(nullptr); ios::sync_with_stdio(false); string S; S.reserve(11); cin >> S; cout << solve(S) << '\n'; return 0; }