See the problem statement here: [http://codeforces.com/contest/921/problem/01](//codeforces.com/contest/921/problem/01).
none
none
k = 0
j = 0
for i in range(int(input())+1):
    if i%2 == 0:
        k+=i
    else:
        j+=i
print(k-j)