num = int(input()) ans = num * (num + 1) / 2 print(int(ans))