#include using namespace std; int main() { string S; cin >> S; if (S == "0") { cout << 0 << "\n"; return 0; } S += '0'; for (int i = 0; i < S.size(); i++) { if (S.at(i) == '-') cout << '-'; else cout << (int)S.at(i) - '0'; } cout << "\n"; }