#include <iostream> using namespace std; int main() { int n; cin>>n; cout<<"sum is: "<<((n % 2) ? ((n+1)/2) : ((-1)*(n+1)/2))<<endl; return 0; }