#coding: utf-8 N=input() ans=0 for i in range(1,N): ans=+i print(ans)