m = n = int(input()) while(n > 0): for i in range(n): print(m,end='') print('') n-=1