n = int(input()) total_val = (n**2 + n) // 2 print(total_val)