

'''simple docstring'''

from __future__ import annotations

def 					__UpperCamelCase				(						lowercase__    :	list[int]			):  # This function is recursive






     '''simple docstring'''





     __lowercase      		=len(lowercase__			)
     # If the array contains only one element, we return it (it's the stop condition of
     # recursion)
     if array_length <= 1:
          return array
          # Else
     __lowercase      		=array[0]
     __lowercase      		=False
     __lowercase      		=1
     __lowercase      		=[]
     while not is_found and i < array_length:
          if array[i] < pivot:
               __lowercase      		=True
               __lowercase      		=[element for element in array[i:] if element >= array[i]]
               __lowercase      		=longest_subsequence(lowercase__			)
               if len(lowercase__			) > len(lowercase__			):
                    __lowercase      		=temp_array
          else:
               i += 1

     __lowercase      		=[element for element in array[1:] if element >= pivot]
     __lowercase      		=[pivot, *longest_subsequence(lowercase__			)]
     if len(lowercase__			) > len(lowercase__			):
          return temp_array
     else:
          return longest_subseq


if __name__ == "__main__":
       import doctest

       doctest.testmod()





'''simple docstring'''

# Function to print upper half of diamond (pyramid)

def 					__UpperCamelCase				(						lowercase__    :	Optional[Any]			):






     '''simple docstring'''





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

def 					__UpperCamelCase				(						lowercase__    :	Optional[Any]			):






     '''simple docstring'''





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

def 					__UpperCamelCase				(						lowercase__    :	Any			):






     '''simple docstring'''





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


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

       print('''Good Bye...''')


