#include<iostream> using namespace std; int main() { int n; cin>>n; int m=(n+1)/2; int tot=n*m; int tot_odd=m*(m+1)/2; cout<<tot-tot_odd; return 0; }