k = input() if k==1: print 1 else: firstOdd = (k*(k-1))+1 lastOdd = ((k+1)*k) +1 f = ((lastOdd-1)/2)**2 l = ((firstOdd-1)/2)**2 print f-l