

'''simple docstring'''





def 				_lowerCAmelCase			(   __magic_name__						:     int   , __magic_name__						:     int						)				->  Dict:
						if b == 0:
												return 1
						if (b % 2) == 0:
												return actual_power(__magic_name__   , int(b / 2						)						) * actual_power(__magic_name__   , int(b / 2						)						)
						else:
												return a * actual_power(__magic_name__   , int(b / 2						)						) * actual_power(__magic_name__   , int(b / 2						)						)






def 				_lowerCAmelCase			(   __magic_name__						:     int   , __magic_name__						:     int						)				->  float:
						if b < 0:
												return 1 / actual_power(__magic_name__   , __magic_name__						)
						return actual_power(__magic_name__   , __magic_name__						)


if __name__ == "__main__":
							print(power(-2, -3))









"""simple docstring"""


from __future__ import annotations
class     _UpperCamelCase    :
							'''simple docstring'''







							def __init__(	self       ,  __a=None      ):
										__lowerCAmelCase							       =     data
										__lowerCAmelCase							       =     None



							def __repr__(	self      ):
										__lowerCAmelCase							       =     []
										__lowerCAmelCase							       =     self
										while temp:
													string_rep.append(f"{temp.data}"      )
													__lowerCAmelCase							       =     temp.next
										return "->".join(__a      )


def _lowerCamelCase      (						_UpperCamelCase ):

			'''simple docstring'''




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

			__lowerCAmelCase							       =     __lowerCAmelCase							       =     Node(elements_list[0] )
			for i in range(1       ,					len(_UpperCamelCase ) ):
						__lowerCAmelCase							       =     Node(elements_list[i] )
						__lowerCAmelCase							       =     current.next
			return head


def _lowerCamelCase      (						_UpperCamelCase ):

			'''simple docstring'''




			if head_node is not None and isinstance(_UpperCamelCase       ,					_UpperCamelCase ):
						print_reverse(head_node.next )
						print(head_node.data )


def _lowerCamelCase      (						):

			'''simple docstring'''




			from doctest import testmod

			testmod()

			__lowerCAmelCase							       =     make_linked_list([14, 52, 14, 12, 43] )
			print("Linked List:" )
			print(_UpperCamelCase )
			print("Elements in Reverse:" )
			print_reverse(_UpperCamelCase )


if __name__ == "__main__":
	main()




