n = int(input()) res = n * (n + 1) // 2 print(res)