






'''simple docstring'''





from __future__ import annotations






def    lowerCamelCase_     (    lowercase__				,     lowercase__):
 lowerCamelCase__  =     sorted(numsa + numsa)
 lowerCamelCase__  ,	lowerCamelCase__  =     divmod(len(lowercase__)				,     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()
 __A							:							Union[str, Any]  							=		[float(x) for x in input("""Enter the elements of first array: """).split()]
 __A							:							int  							=		[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'''





from decimal import Decimal, getcontext
from math import ceil, factorial






def    lowerCamelCase_     (    lowercase__):

 if not isinstance(lowercase__				,     lowercase__):
  raise TypeError("Undefined for non-integers")
 elif precision < 1:
  raise ValueError("Undefined for non-natural numbers")

 lowerCamelCase__  =     precision
 lowerCamelCase__  =     ceil(precision / 14)
 lowerCamelCase__  =     426880 * Decimal(10005).sqrt()
 lowerCamelCase__  =     1
 lowerCamelCase__  =     13591409
 lowerCamelCase__  =     Decimal(lowercase__)
 for k in range(1				,     lowercase__):
  lowerCamelCase__  =     factorial(6 * k) // (factorial(3 * k) * factorial(lowercase__) ** 3)
  linear_term += 545140134
  exponential_term *= -262537412640768000
  partial_sum += Decimal(multinomial_term * linear_term) / exponential_term
 return str(constant_term / partial_sum)[:-1]


if __name__ == "__main__":
 __A							:							Dict  							=		50
 print(F"""The first {n} digits of pi is: {pi(n)}""")

