first = input() split_first = first.split() A = int(split_first[0]) ans = 0 counter = 0 while counter <= A: ans += counter counter += 1 print(ans)