



def      __magic_name__				(							lowercase = 10**9 ):
   SCREAMING_SNAKE_CASE_: Dict     			=1
   SCREAMING_SNAKE_CASE_: Union[str, Any]     			=2

   SCREAMING_SNAKE_CASE_: Optional[Any]     			=0
   SCREAMING_SNAKE_CASE_: List[Any]     			=0
   SCREAMING_SNAKE_CASE_: Optional[Any]     			=0
   while perimeter <= max_perimeter:
      perimeters_sum += perimeter

      prev_value += 2 * value
      value += prev_value

      SCREAMING_SNAKE_CASE_: int     			=2 * value + 2 if i % 2 == 0 else 2 * value - 2
      i += 1

   return perimeters_sum


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








"""simple docstring"""
from __future__ import annotations





def      __magic_name__				(							lowercase							,			lowercase ):
   SCREAMING_SNAKE_CASE_: List[Any]     			=sorted(numsa + numsa )
   SCREAMING_SNAKE_CASE_			,		SCREAMING_SNAKE_CASE_: Tuple     			=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()
   _UpperCAmelCase     =			[float(x) for x in input("""Enter the elements of first array: """).split()]
   _UpperCAmelCase     =			[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)}""")



