# -*- coding: utf-8 -*-
"""
Created on Wed May  8 16:58:16 2019

@author: Dinesh Prajapat
"""

rows = int(input("enter the number of rows :"))

str1 = '*'

for i in range(rows):
    print(i*str1)
for i in range(rows,0,-1):
    print(i*str1)

    
    
    