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