




"""simple docstring"""

def 		lowercase_      (		_UpperCAmelCase	):




	"""simple docstring"""






	A_  :				Optional[int]	   =		min(_lowercase	)  # min() finds the minimum value
	A_  :				str	   =		max(_lowercase	)  # max() finds the maximum value

	A_  :				Dict	   =		max_val - min_val + 1  # size is difference of max and min values plus one

	# list of pigeonholes of size equal to the variable size
	A_  :				List[str]	   =		[0] * size

	# Populate the pigeonholes.
	for x in a:
		assert isinstance(_lowercase  ,      _lowercase	), "integers only please"
		holes[x - min_val] += 1

	# Putting the elements back into the array in an order.
	A_  :				Union[str, Any]	   =		0
	for count in range(_lowercase	):
		while holes[count] > 0:
			holes[count] -= 1
			A_  :				List[Any]	   =		count + min_val
			i += 1

def 		lowercase_      (		):




	"""simple docstring"""






	A_  :				Union[str, Any]	   =		[8, 3, 2, 7, 4, 6, 8]
	pigeonhole_sort(_lowercase	)
	print('''Sorted order is:'''  ,      ''' '''.join(_lowercase	)	)


if __name__ == "__main__":
		main()











"""simple docstring"""

# Function to print upper half of diamond (pyramid)

def 		lowercase_      (		_UpperCAmelCase	):




	"""simple docstring"""






	for i in range(0  ,      _UpperCAmelCase	):
		for _ in range(0  ,      n - i - 1	):  # printing spaces
			print(''' '''  ,      end=''''''	)
		for _ in range(0  ,      i + 1	):  # printing stars
			print('''* '''  ,      end=''''''	)
		print()

def 		lowercase_      (		_UpperCAmelCase	):




	"""simple docstring"""






	for i in range(_UpperCAmelCase  ,      0  ,      -1	):
		for _ in range(_UpperCAmelCase  ,      0  ,      -1	):  # printing stars
			print('''* '''  ,      end=''''''	)
		print()
		for _ in range(n - i + 1  ,      0  ,      -1	):  # printing spaces
			print(''' '''  ,      end=''''''	)

def 		lowercase_      (		_UpperCAmelCase	):




	"""simple docstring"""






	if n <= 0:
		print('''       ...       ....        nothing printing :('''	)
		return
	floyd(_UpperCAmelCase	)  # upper half
	reverse_floyd(_UpperCAmelCase	)  # lower half


if __name__ == "__main__":
		print(r'| /\ | |- |  |-  |--| |\  /| |-')
		print(r'|/  \| |- |_ |_  |__| | \/ | |_')
		_lowerCamelCase  :			Tuple        =       1
		while K:
				_lowerCamelCase  :			Optional[int]        =       int(input('enter the number and , and see the magic : '))
				print()
				pretty_print(user_number)
				_lowerCamelCase  :			Optional[Any]        =       int(input('press 0 to exit... and 1 to continue...'))

		print('Good Bye...')





