#include<cstdio> int main(){ int n; scanf("%d",&n); if(n&1)printf("%d",1-(--n/2)+n); else printf("-%d",n>>1); }