






import math


def   _A       (    SCREAMING_SNAKE_CASE__  :     Any	):
    return sum(int(snake_case__	) for digit in str(snake_case__	)	)


def   _A       (    SCREAMING_SNAKE_CASE__  :     Optional[Any] = 30	):
    UpperCamelCase	:Optional[Any]     							=       []
    for digit in range(2					,  100	):
        for power in range(2					,  100	):
            UpperCamelCase	:Union[str, Any]     							=       int(math.pow(snake_case__					,  snake_case__	)	)
            if digit == digit_sum(snake_case__	):
                digit_to_powers.append(snake_case__	)

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


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













def   _A       (    SCREAMING_SNAKE_CASE__  :     float					,  SCREAMING_SNAKE_CASE__  :     float	):
    UpperCamelCase	:Tuple     							=       float()
    try:
        UpperCamelCase	:Union[str, Any]     							=       mass * acceleration
    except Exception:
        return -0.0
    return force


if __name__ == "__main__":
 import doctest

 # run doctest
 doctest.testmod()

 # demo
 __snake_case							 =  1_2.5
 __snake_case							 =  10
 __snake_case							 =  newtons_second_law_of_motion(mass, acceleration)
 print("""The force is """, force, """N""")





