n=int(input())
s = sum( i if i % 2 == 1 else -i for i in range(1, n+1) )
print(s)