num = int(input()) sum(range(num))