
from __future__ import annotations

class     _SCREAMING_SNAKE_CASE							:





				def __init__(		self :		Optional[int]					,      snake_case_ :		int = 0							):


								"""simple docstring"""

								A     :  List[str]   =				value
								A     :  Node | None   =				None
								A     :  Node | None   =				None





def 							_lowerCamelCase			(					lowerCamelCase_:  Node | None				,	lowerCamelCase_:  Node | None		):



				'''simple docstring'''







				if treea is None:
								return treea
				if treea is None:
								return treea

				A     :  str   =				treea.value + treea.value
				A     :  str   =				merge_two_binary_trees(treea.left				,	treea.left		)
				A     :  Optional[Any]   =				merge_two_binary_trees(treea.right				,	treea.right		)
				return treea





def 							_lowerCamelCase			(					lowerCamelCase_:  Node | None		):



				'''simple docstring'''







				if root:
								print(root.value		)
								print_preorder(root.left		)
								print_preorder(root.right		)


if __name__ == "__main__":
					UpperCamelCase_  =	Node(1)
					UpperCamelCase_  =	Node(2)
					UpperCamelCase_  =	Node(3)
					UpperCamelCase_  =	Node(4)

					UpperCamelCase_  =	Node(2)
					UpperCamelCase_  =	Node(4)
					UpperCamelCase_  =	Node(6)
					UpperCamelCase_  =	Node(9)
					UpperCamelCase_  =	Node(5)

					print("Tree1 is: ")
					print_preorder(treea)
					print("Tree2 is: ")
					print_preorder(treea)
					UpperCamelCase_  =	merge_two_binary_trees(treea, treea)
					print("Merged Tree is: ")
					print_preorder(merged_tree)

def 							_lowerCamelCase			(					lowerCamelCase_:  int		):



				'''simple docstring'''







				if not isinstance(lowerCamelCase_				,	lowerCamelCase_		):
								raise ValueError('''double_factorial() only accepts integral values'''		)
				if num < 0:
								raise ValueError('''double_factorial() not defined for negative values'''		)
				A     :  int   =				1
				for i in range(lowerCamelCase_				,	0				,	-2		):
								value *= i
				return value


if __name__ == "__main__":
					import doctest

					doctest.testmod()