





from __future__ import annotations


def     SCREAMING_SNAKE_CASE			(      lowerCAmelCase    ,       lowerCAmelCase					):
       _UpperCamelCase           =						sorted(numsa + numsa					)
       _UpperCamelCase           =						divmod(len(__A					)    ,       2					)
       if mod == 1:
              return all_numbers[div]
       else:
              return (all_numbers[div] + all_numbers[div - 1]) / 2


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       lowercase    : Dict    	=  [float(x) for x in input("""Enter the elements of first array: """).split()]
       lowercase    : Any    	=  [float(x) for x in input("""Enter the elements of second array: """).split()]
       print(F'''The median of two arrays is: {median_of_two_arrays(array_a, array_a)}''')













from __future__ import annotations

from collections.abc import Iterator

class  __A:

     def __init__(      self,       A      ):





            """simple docstring"""

            _UpperCamelCase              =						value
            _UpperCamelCase              =						None
            _UpperCamelCase              =						None






class  __A:

     def __init__(      self,       A      ):





            """simple docstring"""

            _UpperCamelCase              =						tree

     def 	_UpperCamelCase     (      self,       A      ):





            """simple docstring"""

            if node is None:
                   return 0
            return node.value + (
                self.depth_first_search(node.left      ) + self.depth_first_search(node.right      )
            )



     def __iter__(      self      ):





            """simple docstring"""

            yield self.depth_first_search(self.tree      )


if __name__ == "__main__":
       import doctest

       doctest.testmod()






