N = input() N = int(N) goukei = 0 for i in range(N+1): goukei = goukei + i print(goukei)