
import math







def 				A__    (  lowerCamelCase  )     ->		int:
				return sum(int(lowerCamelCase  ) for digit in str(lowerCamelCase  )  )







def 				A__    (  lowerCamelCase = 30  )     ->		int:
				UpperCamelCase_:							int		=  []
				for digit in range(2   ,			1_00  ):
								for power in range(2   ,			1_00  ):
												UpperCamelCase_:							List[str]		=  int(math.pow(lowerCamelCase   ,			lowerCamelCase  )  )
												if digit == digit_sum(lowerCamelCase  ):
																digit_to_powers.append(lowerCamelCase  )

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


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








import warnings

from ...utils import logging
from .image_processing_mobilenet_va import MobileNetVaImageProcessor


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

class 				_UpperCamelCase (    _A     ):






			'''simple docstring'''

			def __init__(				self       :				Dict  ,		*snake_case_       :				Optional[int]  ,		**snake_case_       :				List[Any]					):
							warnings.warn(
							    """The class MobileNetV2FeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
							    """ Please use MobileNetV2ImageProcessor instead."""  ,		snake_case_  ,		)
							super().__init__(*snake_case_  ,		**snake_case_					)






