n=int(input())
p=1<=n<=100
if p:print(sum(i if i%2!=0 else -i for i in range(1,n+1)))
else:print('请满足1≦n≦100的正整数')