x=input() y=0 for i in range(x): y=y+i