





"""simple docstring"""






from __future__ import annotations




class 			__lowercase     :







     '''simple docstring'''




     def __init__(  self		,     _UpperCAmelCase=None       ):
         __a	:  Dict         =					data
         __a	:  Optional[int]         =					None







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






def       __A (     a_  :list)						->						int:
    if not elements_list:
        raise Exception('''The Elements List is empty''')

    __a	:  Dict         =					Node(elements_list[0])
    for i in range(1				,    len(UpperCamelCase__)):
        __a	:  Any         =					Node(elements_list[i])
        __a	:  List[str]         =					current.next
    return head

def       __A (     a_  :Node)						->						int:
    if head_node is not None and isinstance(UpperCamelCase__				,    UpperCamelCase__):
        print_reverse(head_node.next)
        print(head_node.data)

def       __A (     )						->						Optional[int]:
    from doctest import testmod

    testmod()

    __a	:  Union[str, Any]         =					make_linked_list([14, 52, 14, 12, 43])
    print('''Linked List:''')
    print(UpperCamelCase__)
    print('''Elements in Reverse:''')
    print_reverse(UpperCamelCase__)


if __name__ == "__main__":
  main()






"""simple docstring"""






def       __A (     a_  :int				,    a_  :int)						->						str:
				if a < 0 or b < 0:
								raise ValueError('''the value of both inputs must be positive''')

				__a	:  Union[str, Any]         =					str(bin(a_))[2:]  # remove the leading "0b"
				__a	:  Union[str, Any]         =					str(bin(a_))[2:]  # remove the leading "0b"

				__a	:  Optional[Any]         =					max(len(a_)				,    len(a_))

				return "0b" + "".join(
				    str(int(char_a != char_b))
				    for char_a, char_b in zip(a_binary.zfill(a_)				,    b_binary.zfill(a_)))


if __name__ == "__main__":
		import doctest

		doctest.testmod()