a = int(input())
c = range(a+1)
if a > 0:
    for i in c:
        b = '*'
        print(b * i)







a = int(input())
c = range(1, a+1)
if a > 0:
    for i in c:
        it = range(1, i+1)
        for j in it:
            print(j)





a = int(input())
c = range(1, a+1)

if a > 0:
    for i in c:
        it = range(1, i+1)
        print(it)



