import math

def factorial(n):
	factList = []
	while n != 0:
		factList.append(n)
		n = n-1
	result = 1
	for i in range(len(factList)):
		result = result*factList[i]
	return result
	
	
def number(n, k):
	 return int((math.factorial(n)) / ((math.factorial(k)) * math.factorial(n - k)))

def appendList:
	

rows = int(input("how many rows?: "))
 

"""
if length % 2 == 0:
	length = length + 1

columns = []
for i in range(length):
	columns.append(0)

print(columns)
"""
new_row = []
for n in range (rows):
	for k in range(n):
		k = n + n[
	
	 = [:] + [] + [n:]
	print(columns)


	
	



