# Program to print mirrored right triangle star pattern 
 
print("Enter the row size:")
row_size=int(input())
for out in range(row_size+1):
    for j in range(row_size-out):
        print(" ",end="")
    for p in range(out+1):
        print("*",end="")
    print("\r")