# User enters number of rows
tiers=int(raw_input("Enter the number of tiers: "))
half=1 + tiers
print
for x in range(0,tiers):
    # Set the limits for this tier
    start=half-x
    end=start+2*x+1
    line=""
    for y in range(0,end):
        if y < start:
            line = line+" "
        else:
            line = line+"*"
    print line
print
