# Arup Guha
# 9/29/2020
# Using the second pattern to print a "forward triangle"

n = int(input("Enter n.\n"))

# Go through each row.
for row in range(1, n+1):

    # This row only prints upto row, no farther.
    for col in range(1, row+1):
        print("*", end ="")

    # Go to the next row.
    print()
