
def 							__A(lowerCAmelCase						,  lowerCAmelCase )		->				int:

  """simple docstring"""






  while a != 0:
    _UpperCamelCase    ,	_UpperCamelCase						    =	b % a, a
  return b







def 							__A(lowerCAmelCase						,  lowerCAmelCase )		->				int:

  """simple docstring"""






  if gcd(lowerCAmelCase						,  lowerCAmelCase ) != 1:
    _UpperCamelCase						    =	F'mod inverse of {a!r} and {m!r} does not exist'
    raise ValueError(lowerCAmelCase )
  _UpperCamelCase    ,	_UpperCamelCase    ,	_UpperCamelCase						    =	1, 0, a
  _UpperCamelCase    ,	_UpperCamelCase    ,	_UpperCamelCase						    =	0, 1, m
  while va != 0:
    _UpperCamelCase						    =	ua // va
    _UpperCamelCase    ,	_UpperCamelCase    ,	_UpperCamelCase    ,	_UpperCamelCase    ,	_UpperCamelCase    ,	_UpperCamelCase						    =	(ua - q * va), (ua - q * va), (ua - q * va), va, va, va
  return ua % m





import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


lowerCamelCase__	=							logging.get_logger(__name__)







class        lowerCAmelCase__      (   __lowercase	):

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


								'''simple docstring'''

								warnings.warn(
								    """The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
								    """ use BeitImageProcessor instead."""       ,							a       ,							)
								super().__init__(*a       ,							**a				)



