
'''simple docstring'''
def 							A_  (    __SCREAMING_SNAKE_CASE    :	Optional[Any]      ,  __SCREAMING_SNAKE_CASE    :	Optional[int]      ,  __SCREAMING_SNAKE_CASE    :	str			)					->							Any:





  """simple docstring"""

  assert b != 0, "This cannot accept modulo that is == 0"
  if n == 0:
    return 1

  if n % 2 == 1:
    return (bin_exp_mod(__SCREAMING_SNAKE_CASE      ,  n - 1      ,  __SCREAMING_SNAKE_CASE			) * a) % b

  __A		:  int       				=		bin_exp_mod(__SCREAMING_SNAKE_CASE      ,  n / 2      ,  __SCREAMING_SNAKE_CASE			)
  return (r * r) % b


if __name__ == "__main__":
     try:
          A__ :		Optional[Any]					=int(input('Enter Base : ').strip())
          A__ :		Dict					=int(input('Enter Power : ').strip())
          A__ :		Tuple					=int(input('Enter Modulo : ').strip())
     except ValueError:
          print('Invalid literal for integer')

     print(bin_exp_mod(BASE, POWER, MODULO))





'''simple docstring'''
import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


A__ :		Optional[int]					=logging.get_logger(__name__)







class 			__A					(			_SCREAMING_SNAKE_CASE      ):
 def __init__( self      :     Union[str, Any]					, *lowerCamelCase      :     Dict					, **lowerCamelCase      :     Optional[Any]							):



   """simple docstring"""





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



