# -*- coding: utf-8 -*- n = int(input()) for i in range(n): for j in range(i+1,n+1): print(n,end = "") print()