#include using namespace std; int abs(int k) { if (k == 1) return 1; return k + abs(k - 1); } int main() { int n; cin >> n; cout << abs(n) << endl; }