




import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


_lowerCAmelCase  :				List[str]						=				logging.get_logger(__name__)
class      _UpperCamelCase (			lowerCAmelCase						):
      def __init__(     self				:int	, *lowerCamelCase				:Any	, **lowerCamelCase				:Optional[int] )       ->     None:
       warnings.warn(
           "The class LayoutLMv3FeatureExtractor is deprecated and will be removed in version 5 of Transformers."
           " Please use LayoutLMv3ImageProcessor instead."	, lowerCamelCase	, )
       super().__init__(*lowerCamelCase	, **lowerCamelCase )











def   lowerCAmelCase						(						_lowerCAmelCase							:				int  ,							_lowerCAmelCase							:				int		):




 """simple docstring"""







 if a < b:
  return gcd(_lowerCAmelCase  ,							_lowerCAmelCase		)
 if a % b == 0:
  return b
 return gcd(_lowerCAmelCase  ,							a % b		)



def   lowerCAmelCase						(						_lowerCAmelCase							:				int  ,							_lowerCAmelCase							:				int  ,							_lowerCAmelCase							:				int		):




 """simple docstring"""







 if y == 0:
  return 1
 UpperCAmelCase__								=  power(_lowerCAmelCase  ,							y // 2  ,							_lowerCAmelCase		) % mod
 UpperCAmelCase__								=  (temp * temp) % mod
 if y % 2 == 1:
  UpperCAmelCase__								=  (temp * x) % mod
 return temp



def   lowerCAmelCase						(						_lowerCAmelCase							:				int		):




 """simple docstring"""







 UpperCAmelCase__								=  2
 while b < n:
  if gcd(_lowerCAmelCase  ,							_lowerCAmelCase		) == 1 and power(_lowerCAmelCase  ,							n - 1  ,							_lowerCAmelCase		) != 1:
   return False
  b += 1
 return True


if __name__ == "__main__":
  _lowerCAmelCase  :				Dict						=				int(input("Enter number: ").strip())
  if is_carmichael_number(number):
    print(F'''{number} is a Carmichael Number.''')
  else:
    print(F'''{number} is not a Carmichael Number.''')





