def sum(n): return n * (n + 1) / 2 i = input() print(sum(int(i)))