#  Program to print the Inverted V Star Pattern 

row_size=int(input("Enter the row size:"))
print_control_x=row_size
print_control_y=row_size
for out in range(1,row_size+1):
    for in1 in range(1,row_size*2+1):
        if in1==print_control_x or in1==print_control_y:
            print("*",end="")
        else:
            print(" ", end="")
    print_control_x-=1
    print_control_y+=1
    print("\r")
