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