int main()
{
int n,t,sum;
scanf("%d",&n);
if(n%2==0) t=(-1);
else t=1;
sum=(n+1)/2;
printf("%d",t*sum);
}