






'''simple docstring'''





def    lowerCamelCase_     (    lowercase__):

 def merge(lowercase__				,     lowercase__) -> list:

  def _merge():
   while left and right:
    yield (left if left[0] <= right[0] else right).pop(0)
   yield from left
   yield from right

  return list(_merge())

 if len(lowercase__) <= 1:
  return collection
 lowerCamelCase__  =     len(lowercase__) // 2
 return merge(merge_sort(collection[:mid])				,     merge_sort(collection[mid:]))


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 __A							:							Any  							=		input("""Enter numbers separated by a comma:\n""").strip()
 __A							:							Optional[Any]  							=		[int(item) for item in user_input.split(""",""")]
 print(*merge_sort(unsorted), sep=""",""")













'''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)}""")

