




import warnings

from ...utils import logging
from .image_processing_detr import DetrImageProcessor


__SCREAMING_SNAKE_CASE			:      int      			=logging.get_logger(__name__)






class 	A	(						_lowerCAmelCase						):
     """simple docstring"""

     def __init__(			self     :      List[Any]		,     *A__     :      Union[str, Any]		,     **A__     :      List[str]	) ->				None:
           warnings.warn(
               'The class DetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
               ' Please use DetrImageProcessor instead.'		,     A__		,     )
           super().__init__(*A__		,     **A__	)





def 	lowerCAmelCase_	(     lowerCamelCase:				int  )    ->	int:


      '''simple docstring'''




      return n * (2 * n - 1)

def 	lowerCAmelCase_	(     lowerCamelCase:				int  )    ->	bool:


      '''simple docstring'''




      lowerCamelCase__					     = (1 + 24 * n) ** 0.5
      return ((1 + root) / 6) % 1 == 0

def 	lowerCAmelCase_	(     lowerCamelCase:				int = 1_44  )    ->	int:


      '''simple docstring'''




      lowerCamelCase__					     = start
      lowerCamelCase__					     = hexagonal_num(lowerCamelCase  )
      while not is_pentagonal(lowerCamelCase  ):
            n += 1
            lowerCamelCase__					     = hexagonal_num(lowerCamelCase  )
      return num


if __name__ == "__main__":
      print(F"""{solution()} = """)