
"""simple docstring"""






import warnings

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


__UpperCAmelCase 					=    logging.get_logger(__name__)




class      _SCREAMING_SNAKE_CASE   (     A__				):






			def __init__(   self			,  *__A			,  **__A			)     ->	None:
						warnings.warn(
						    """The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
						    """ use ViTImageProcessor instead."""			,  __A			,  )
						super().__init__(*__A			,  **__A			)








"""simple docstring"""






import math






def 		_snake_case			(      lowercase__						:    int						)    ->							int:


			'''simple docstring'''





			return sum(int(lowercase__						) for digit in str(lowercase__						)						)






def 		_snake_case			(      lowercase__						:    int = 3_0						)    ->							int:


			'''simple docstring'''





			lowerCAmelCase_       :Union[str, Any]     	=    []
			for digit in range(2 ,	1_0_0						):
						for power in range(2 ,	1_0_0						):
									lowerCAmelCase_       :Tuple     	=    int(math.pow(lowercase__ ,	lowercase__						)						)
									if digit == digit_sum(lowercase__						):
												digit_to_powers.append(lowercase__						)

			digit_to_powers.sort()
			return digit_to_powers[n - 1]


if __name__ == "__main__":
				print(solution())






