

'''simple docstring'''
def  _A		(     snake_case = 4_00_00_00					)      ->     int:
   _lowercase      :				Any      					=       []
   _lowercase					,				_lowercase      :				Union[str, Any]      					=       0, 1
   while b <= n:
      if b % 2 == 0:
         even_fibs.append(snake_case					)
      _lowercase					,				_lowercase      :				Union[str, Any]      					=       b, a + b
   return sum(snake_case					)


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









'''simple docstring'''
from __future__ import annotations







def  _A		(     snake_case		,							snake_case = None		,							snake_case = None					)      ->     None:
   if start is None:
      _lowercase      :				Dict      					=       0

   if end is None:
      _lowercase      :				List[Any]      					=       len(snake_case					) - 1

   if start >= end:
      return

   _lowercase      :				int      					=       (start + end) // 2

   slowsort(snake_case		,							snake_case		,							snake_case					)
   slowsort(snake_case		,							mid + 1		,							snake_case					)

   if sequence[end] < sequence[mid]:
      _lowercase					,				_lowercase      :				Any      					=       sequence[mid], sequence[end]

   slowsort(snake_case		,							snake_case		,							end - 1					)


if __name__ == "__main__":
    from doctest import testmod

    testmod()






