n = int(input()) total = sum(range(1, n + 1)) print(total)