



def  lowerCAmelCase_	(lowerCAmelCase__:		int = 4_0_0_0_0_0_0  ):





			"""simple docstring"""


			UpperCAmelCase_:		Union[str, Any]							      =     [0, 1]
			UpperCAmelCase_:		Tuple							      =     0
			while fib[i] <= n:
						fib.append(fib[i] + fib[i + 1]  )
						if fib[i + 2] > n:
									break
						i += 1
			UpperCAmelCase_:		str							      =     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  lowerCAmelCase_	(lowerCAmelCase__:		list  ):





			"""simple docstring"""


			if len(lowerCAmelCase__  ) <= 1:
						return [tuple(lowerCAmelCase__  )]

			UpperCAmelCase_:		List[Any]							      =     []

			def generate(lowerCAmelCase__:		int		,						lowerCAmelCase__:		list  ):
						if k == 1:
									res.append(tuple(arr[:]  )  )
									return

						generate(k - 1		,						lowerCAmelCase__  )

						for i in range(k - 1  ):
									if k % 2 == 0:  # k is even
												UpperCAmelCase_      ,							UpperCAmelCase_:		Union[str, Any]							      =     arr[k - 1], arr[i]
									else:  # k is odd
												UpperCAmelCase_      ,							UpperCAmelCase_:		Optional[int]							      =     arr[k - 1], arr[0]
									generate(k - 1		,						lowerCAmelCase__  )

			generate(len(lowerCAmelCase__  )		,						lowerCAmelCase__  )
			return res


if __name__ == "__main__":
	a      :  Optional[Any]			     =			input('Enter numbers separated by a comma:\n').strip()
	a      :  str			     =			[int(item) for item in user_input.split(',')]
	print(heaps(arr))






