n = int(input())

Sn = (n+n*n) / 2

print(int(Sn))