



"""simple docstring"""





def        a__     (				lowerCAmelCase__				):
      for i in range(0     ,      lowerCAmelCase__				):
            for _ in range(0     ,      n - i - 1				):  # printing spaces
                  print(" "     ,      end=""				)
            for _ in range(0     ,      i + 1				):  # printing stars
                  print("* "     ,      end=""				)
            print()
def        a__     (				lowerCAmelCase__				):
      for i in range(lowerCAmelCase__     ,      0     ,      -1				):
            for _ in range(lowerCAmelCase__     ,      0     ,      -1				):  # printing stars
                  print("* "     ,      end=""				)
            print()
            for _ in range(n - i + 1     ,      0     ,      -1				):  # printing spaces
                  print(" "     ,      end=""				)
def        a__     (				lowerCAmelCase__				):
      if n <= 0:
            print("       ...       ....        nothing printing :("				)
            return
      floyd(lowerCAmelCase__				)  # upper half
      reverse_floyd(lowerCAmelCase__				)  # lower half


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

  print("""Good Bye...""")









"""simple docstring"""





from collections.abc import Iterable
from typing import Generic, TypeVar

lowerCamelCase       	=						TypeVar("""_T""")
class 				lowercase__       (   Generic[_T]				):







       '''simple docstring'''


       def __init__(							self      :  int		,    _UpperCAmelCase      :  Iterable[_T] | None = None   )			->						None:


             '''simple docstring'''




             UpperCAmelCase_      			=							list(iterable or []   )
             UpperCAmelCase_      			=							[]



       def __len__(							self      :  Optional[int]   )			->						int:


             '''simple docstring'''




             return len(self._stacka   ) + len(self._stacka   )



       def __repr__(							self      :  Optional[Any]   )			->						str:


             '''simple docstring'''




             return F"""Queue({tuple(self._stacka[::-1] + self._stacka   )})"""



       def 					lowercase__    (							self      :  Optional[Any]		,    _UpperCAmelCase      :  _T   )			->						None:


             '''simple docstring'''




             self._stacka.append(_UpperCAmelCase   )







       def 					lowercase__    (							self      :  Dict   )			->						_T:


             '''simple docstring'''




             UpperCAmelCase_      			=							self._stacka.pop
             UpperCAmelCase_      			=							self._stacka.append

             if not self._stacka:
                   while self._stacka:
                         stacka_append(stacka_pop()   )

             if not self._stacka:
                   raise IndexError("Queue is empty"   )
             return self._stacka.pop()


if __name__ == "__main__":
  from doctest import testmod

  testmod()




