N = input().strip() ans = '' for i in range(int(N), 0, -1): ans += N * i + '\n' print(ans[:-1])