





'''simple docstring'''


from functools import lru_cache


def 	__a(SCREAMING_SNAKE_CASE_  :					int    ):



    '''simple docstring'''





    _lowerCAmelCase				=      2
    _lowerCAmelCase				=      set()
    while i * i <= n:
        if n % i:
            i += 1
        else:
            n //= i
            factors.add(SCREAMING_SNAKE_CASE_    )
    if n > 1:
        factors.add(SCREAMING_SNAKE_CASE_    )
    return factors


@lru_cache
def 	__a(SCREAMING_SNAKE_CASE_  :					int    ):



    '''simple docstring'''





    return len(unique_prime_factors(SCREAMING_SNAKE_CASE_    )    )


def 	__a(SCREAMING_SNAKE_CASE_  :					list    ):



    '''simple docstring'''





    return len(set(SCREAMING_SNAKE_CASE_    )    ) in (0, 1)


def 	__a(SCREAMING_SNAKE_CASE_  :					int    ):



    '''simple docstring'''





    _lowerCAmelCase				=      2

    while True:
        # Increment each value of a generated range
        _lowerCAmelCase				=      [base + i for i in range(SCREAMING_SNAKE_CASE_    )]

        # Run elements through out unique_prime_factors function
        # Append our target number to the end.
        _lowerCAmelCase				=      [upf_len(SCREAMING_SNAKE_CASE_    ) for x in group]
        checker.append(SCREAMING_SNAKE_CASE_    )

        # If all numbers in the list are equal, return the group variable.
        if equality(SCREAMING_SNAKE_CASE_    ):
            return group

        # Increment our base variable by 1
        base += 1


def 	__a(SCREAMING_SNAKE_CASE_  :					int = 4    ):



    '''simple docstring'''





    _lowerCAmelCase				=      run(SCREAMING_SNAKE_CASE_    )
    return results[0] if len(SCREAMING_SNAKE_CASE_    ) else None


if __name__ == "__main__":
       print(solution())









'''simple docstring'''


from __future__ import annotations


def 	__a(SCREAMING_SNAKE_CASE_  :					list[float]		,       SCREAMING_SNAKE_CASE_  :					list[float]    ):



    '''simple docstring'''





    _lowerCAmelCase				=      sorted(numsa + numsa    )
    _lowerCAmelCase			,			_lowerCAmelCase				=      divmod(len(SCREAMING_SNAKE_CASE_    )		,       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()
       _SCREAMING_SNAKE_CASE	 =							[float(x) for x in input("Enter the elements of first array: ").split()]
       _SCREAMING_SNAKE_CASE	 =							[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)}''')


