


"""simple docstring"""







from typing import Any






class       __A				:






 """simple docstring"""




 def __init__(		self ,    __A						)					->     Union[str, Any]:
     a 		=data
     a 		=None






class       __A				:






 """simple docstring"""




 def __init__(		self						)					->     List[str]:
     a 		=None


 def       SCREAMING_SNAKE_CASE							(		self						)					->     Optional[int]:
     a 		=self.head
     while temp is not None:
         print(temp.data ,    end=''' '''						)
         a 		=temp.next
     print()


 def       SCREAMING_SNAKE_CASE							(		self ,    __A						)					->     Union[str, Any]:
     a 		=Node(__A						)
     a 		=self.head
     a 		=new_node





 def       SCREAMING_SNAKE_CASE							(		self ,    __A ,    __A						)					->     str:
     if node_data_a == node_data_a:
         return
     else:
         a 		=self.head
         while node_a is not None and node_a.data != node_data_a:
             a 		=node_a.next

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

         if node_a is None or node_a is None:
             return

         a		,      a 		=node_a.data, node_a.data


if __name__ == "__main__":
       lowerCamelCase_   :   List[Any]									=  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()







from maths.prime_check import is_prime
def 					snake_case_						(   lowerCAmelCase_				:  int					):
							if not isinstance(lowerCAmelCase_				,				lowerCAmelCase_					):
														__lowercase					:							Dict			=   F"Input value of [number={number}] must be an integer"
														raise TypeError(lowerCAmelCase_					)
							if is_prime(lowerCAmelCase_					) and is_prime(number + 2					):
														return number + 2
							else:
														return -1


if __name__ == "__main__":
	import doctest

	doctest.testmod()