


from __future__ import annotations

from collections.abc import Iterable, Iterator
from dataclasses import dataclass

snake_case				:			Any	     = (3, 9, -11, 0, 7, 5, 1, -1)
snake_case				:			int	     = (4, 6, 2, 0, 8, 10, 3, -2)







@dataclass
class 			snake_case_  :
					UpperCAmelCase__   :       int
					UpperCAmelCase__   :       Node | None







class 			snake_case_  :
					def __init__( self  :Dict     ,__snake_case  :List[str] )   ->       List[str]:
												a__			 =	None
												for i in sorted(_UpperCamelCase     ,reverse=_UpperCamelCase ):
																			a__			 =	Node(_UpperCamelCase     ,self.head )
					def __iter__( self  :Tuple )   ->       Any:
												a__			 =	self.head
												while node:
																			yield node.data
																			a__			 =	node.next_node
					def __len__( self  :List[str] )   ->       Any:
												return sum(1 for _ in self )



					def __str__( self  :Optional[int] )   ->       str:
												return " -> ".join([str(_UpperCamelCase ) for node in self] )






def 				__lowercase  (					__lowerCAmelCase				:							SortedLinkedList   ,       __lowerCAmelCase				:							SortedLinkedList  ):
							return SortedLinkedList(list(SCREAMING_SNAKE_CASE_  ) + list(SCREAMING_SNAKE_CASE_  )  )


if __name__ == "__main__":
						import doctest

						doctest.testmod()
						snake_case				:			Dict	     = SortedLinkedList
						print(merge_lists(SSL(test_data_odd), SSL(test_data_even)))











def      A__       (    SCREAMING_SNAKE_CASE_   :      int						)  ->  bool:






   """simple docstring"""







   if not isinstance(SCREAMING_SNAKE_CASE_				,	SCREAMING_SNAKE_CASE_						):
      _UpperCAmelCase           =   F'''Input value of [number={number}] must be an integer'''
      raise TypeError(SCREAMING_SNAKE_CASE_						)
   if number < 0:
      return False
   _UpperCAmelCase           =   number * number
   while number > 0:
      if number % 10 != number_square % 10:
         return False
      number //= 10
      number_square //= 10
   return True


if __name__ == "__main__":
   import doctest

   doctest.testmod()