def main():
  n = requestInteger("please enter an integer")
  
  for i in range(0, n):
    for j in range(0, i+1):
      sys.stdout.write('*')
    sys.stdout.write('\n')
  
  for i in range(0, n):
    for j in range(0, n-i):
      sys.stdout.write('*')
    sys.stdout.write('\n')
    
  for i in range(0, n):
    for j in range(0, i+1):
      sys.stdout.write(' ')
    for x in range(0, n - j):
      sys.stdout.write('*')  
    sys.stdout.write('\n')
    
  for i in range(0, n):
    for j in range(0, n-i):
      sys.stdout.write(' ')
    for x in range(0, n - j):
      sys.stdout.write('*')
    sys.stdout.write('\n')

main()