while 1: try: n = int(input()) n += 1 for i in range(n): print('* '*(n-i)) for j in range(2,n+1): print('* '*j) except: break