
"""simple docstring"""


import math



def 					_lowerCamelCase(__UpperCamelCase )       ->				int:
	return sum(int(__UpperCamelCase ) for digit in str(__UpperCamelCase ) )



def 					_lowerCamelCase(__UpperCamelCase = 30 )       ->				int:
	_lowerCAmelCase			=[]
	for digit in range(2					,				100 ):
		for power in range(2					,				100 ):
			_lowerCAmelCase			=int(math.pow(__UpperCamelCase					,				__UpperCamelCase ) )
			if digit == digit_sum(__UpperCamelCase ):
				digit_to_powers.append(__UpperCamelCase )

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


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





"""simple docstring"""


class 	lowerCamelCase__      :





			'''simple docstring'''



			def __init__(							self  ,  __UpperCAmelCase=None						)				->  List[Any]:
				_lowerCAmelCase			=data
				_lowerCAmelCase			=None



			def __repr__(							self						)				->  int:
				_lowerCAmelCase			=""""""
				_lowerCAmelCase			=self
				while temp:
					string_rep += f'''<{temp.data}> ---> '''
					_lowerCAmelCase			=temp.next
				string_rep += "<END>"
				return string_rep







def 					_lowerCamelCase(__UpperCamelCase )       ->				str:

	# if elements_list is empty
	if not elements_list:
		raise Exception("""The Elements List is empty""" )

	# Set first element as Head
	_lowerCAmelCase			=Node(elements_list[0] )
	_lowerCAmelCase			=head
	# Loop through elements from position 1
	for data in elements_list[1:]:
		_lowerCAmelCase			=Node(__UpperCamelCase )
		_lowerCAmelCase			=current.next
	return head


__A 		= [1, 3, 5, 32, 44, 12, 43]
print(F"""List: {list_data}""")
print('Creating Linked List from List.')
__A 		= make_linked_list(list_data)
print('Linked List:')

print(linked_list)



