

'''simple docstring'''


import warnings

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


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




class      a      (					_a							):






						"""simple docstring"""




						def __init__(				self       :   Union[str, Any]      ,      *snake_case_       :   List[Any]      ,      **snake_case_       :   List[Any]	):



								'''simple docstring'''



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







def 						_lowerCAmelCase							(     _lowerCAmelCase = 1000			)    ->						int:


						'''simple docstring'''






						__snake_case				=		2**power
						__snake_case				=		str(_lowerCAmelCase			)
						__snake_case				=		list(_lowerCAmelCase			)
						__snake_case				=		0

						for i in list_num:
												sum_of_num += int(_lowerCAmelCase			)

						return sum_of_num


if __name__ == "__main__":
	A				:       Optional[Any]      =  int(input('Enter the power of 2: ').strip())
	print('2 ^ ', power, ' = ', 2**power)
	A				:       List[Any]      =  solution(power)
	print('Sum of the digits is: ', result)





