
def 							A__       (    lowerCamelCase = 4_00_00_00    )	->						int:
				UpperCamelCase_:				int						=    [0, 1]
				UpperCamelCase_:				Dict						=    0
				while fib[i] <= n:
								fib.append(fib[i] + fib[i + 1]    )
								if fib[i + 2] > n:
												break
								i += 1
				UpperCamelCase_:				List[Any]						=    0
				for j in range(len(lowerCamelCase    ) - 1    ):
								if fib[j] % 2 == 0:
												total += fib[j]

				return total


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








def 							A__       (    lowerCamelCase = 4_00_00_00    )	->						int:
				UpperCamelCase_:				Dict						=    []
				UpperCamelCase_, UpperCamelCase_:				Optional[int]						=    0, 1
				while b <= n:
								if b % 2 == 0:
												even_fibs.append(lowerCamelCase    )
								UpperCamelCase_, UpperCamelCase_:				int						=    b, a + b
				return sum(lowerCamelCase    )


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






