a = int(input())
b = a // 2
print(-b) if a % 2 == 0 else print(-b + a)