#*pinting
#for row in range(1,5):
    #for col in range(0,row):
        #print("*",end="\t")
    #print()

for row in range(1,5):
    for col in range(1,row+1):
        print(col,end="\t")
    print()