


'''simple docstring'''



class       a							:


     """simple docstring"""






     def __init__(							self	:						List[str]     )		->				Tuple:
          __UpperCAmelCase      :					Optional[int]    				=     []
          __UpperCAmelCase      :					Optional[int]    				=     0
          __UpperCAmelCase      :					int    				=     0

     def __str__(							self	:						List[str]     )		->				Optional[int]:
          __UpperCAmelCase      :					Dict    				=     '''<''' + str(self.entries     )[1:-1] + '''>'''
          return printed

     def 					lowerCamelCase__					(							self	:						Union[str, Any]				,					snake_case	:						str     )		->				int:
          self.entries.append(snake_case     )
          __UpperCAmelCase      :					Optional[int]    				=     self.length + 1

     def 					lowerCamelCase__					(							self	:						Tuple     )		->				Tuple:
          __UpperCAmelCase      :					int    				=     self.length - 1
          __UpperCAmelCase      :					Optional[int]    				=     self.entries[self.front]
          # self.front-=1
          # self.entries = self.entries[self.front:]
          __UpperCAmelCase      :					Optional[Any]    				=     self.entries[1:]
          return dequeued

     def 					lowerCamelCase__					(							self	:						List[str]				,					snake_case	:						Any     )		->				List[str]:
          for _ in range(snake_case     ):
               self.put(self.get()     )

     def 					lowerCamelCase__					(							self	:						Any     )		->				List[str]:
          return self.entries[0]

     def 					lowerCamelCase__					(							self	:						Optional[Any]     )		->				List[Any]:
          return self.length



'''simple docstring'''



import re




def       _a      (		_lowercase   :      List[Any]    ):





     '''simple docstring'''






     def docstring_decorator(_lowercase   :      str    ):
          __UpperCAmelCase      :					Tuple    				=     fn.__doc__
          __UpperCAmelCase      :					Tuple    				=     func_doc.split('''\n'''    )
          __UpperCAmelCase      :					Optional[Any]    				=     0
          while i < len(_lowercase    ) and re.search(R'''^\s*Examples?:\s*$'''     ,   lines[i]    ) is None:
               i += 1
          if i < len(_lowercase    ):
               __UpperCAmelCase      :					Optional[int]    				=     example_docstring
               __UpperCAmelCase      :					Tuple    				=     '''\n'''.join(_lowercase    )
          else:
               raise ValueError(
                   F'The function {fn} should have an empty \'Examples:\' in its docstring as placeholder, '
                   F'current docstring is:\n{func_doc}'    )
          __UpperCAmelCase      :					Tuple    				=     func_doc
          return fn

     return docstring_decorator