

'''simple docstring'''







from __future__ import annotations
def  UpperCAmelCase__      ( UpperCAmelCase__,    UpperCAmelCase__			)     ->     float:
       A_		   = sorted(numsa + numsa			)
       A_   ,     A_		   = divmod(len(UpperCAmelCase__			),    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()
      __lowerCamelCase						    =      [float(x) for x in input('''Enter the elements of first array: ''').split()]
      __lowerCamelCase						    =      [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)}""")



'''simple docstring'''







def  UpperCAmelCase__      ( UpperCAmelCase__ = 1_00			)     ->     int:
       A_		   = n * (n + 1) * (2 * n + 1) / 6
       A_		   = (n * (n + 1) / 2) ** 2
       return int(square_of_sum - sum_of_squares			)


if __name__ == "__main__":
      print(f"""{solution() = }""")
