


from __future__ import annotations
def        UpperCamelCase_(				_A   :list[int]  )->		List[Any]:
   return len(set(_A  )  ) == len(_A  )


if __name__ == "__main__":
      import doctest

      doctest.testmod()






from typing import Any







class        lowerCamelCase__	:






			"""simple docstring"""






			def __init__(							self      ,						snake_case     ):

						'''simple docstring'''


						UpperCamelCase__					=       data
						UpperCamelCase__					=       None







class        lowerCamelCase__	:






			"""simple docstring"""






			def __init__(							self     ):

						'''simple docstring'''


						UpperCamelCase__					=       None




			def 				snake_case__				(							self     ):

						'''simple docstring'''


						UpperCamelCase__					=       self.head
						while temp is not None:
									print(temp.data      ,						end=" "     )
									UpperCamelCase__					=       temp.next
						print()




			def 				snake_case__				(							self      ,						snake_case     ):

						'''simple docstring'''


						UpperCamelCase__					=       Node(snake_case     )
						UpperCamelCase__					=       self.head
						UpperCamelCase__					=       new_node







			def 				snake_case__				(							self      ,						snake_case      ,						snake_case     ):

						'''simple docstring'''


						if node_data_a == node_data_a:
									return
						else:
									UpperCamelCase__					=       self.head
									while node_a is not None and node_a.data != node_data_a:
												UpperCamelCase__					=       node_a.next

									UpperCamelCase__					=       self.head
									while node_a is not None and node_a.data != node_data_a:
												UpperCamelCase__					=       node_a.next

									if node_a is None or node_a is None:
												return

									UpperCamelCase__,      UpperCamelCase__					=       node_a.data, node_a.data


if __name__ == "__main__":
						__UpperCamelCase    		=       LinkedList()
						for i in range(5, 0, -1):
												ll.push(i)

						ll.print_list()

						ll.swap_nodes(1, 4)
						print('After swapping')
						ll.print_list()


