#include<stdio.h> int main(void) { int n, i; int Sum = 0, sum1 = 0, sum2 = 0; scanf("%d", &n); for(i = 1; i <= n; i = i + 2) sum1 = sum1 + i; for(i = 2; i <= n; i = i+2) sum2 = sum2 + i; Sum = sum1 -sum2; printf("%d", Sum); return 0; }