

'''simple docstring'''




def    lowerCamelCase__		(    SCREAMING_SNAKE_CASE   : int    ):
  if not isinstance(SCREAMING_SNAKE_CASE							, SCREAMING_SNAKE_CASE    ):
    UpperCAmelCase    				=						f'''Input value of [number={number}] must be an integer'''
    raise TypeError(SCREAMING_SNAKE_CASE    )
  if number < 0:
    return False
  UpperCAmelCase    				=						number * number
  while number > 0:
    if number % 10 != number_square % 10:
      return False
    number //= 10
    number_square //= 10
  return True


if __name__ == "__main__":
  import doctest

  doctest.testmod()





'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


_a					:			List[Any]							=    logging.get_logger(__name__)



class 							lowercase_						(		a			):

  '''simple docstring'''





  def __init__(  self ,			*a_ ,			**a_  )				->					None:


    """simple docstring"""
    warnings.warn(
        'The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
        ' use DonutImageProcessor instead.' ,			a_ ,			)
    super().__init__(*a_ ,			**a_  )


