"""simple docstring"""




def 							_UpperCAmelCase		(       lowerCamelCase__ = 400_0000     ):





		"""simple docstring"""




		lowerCAmelCase__        =   []
		lowerCAmelCase__   ,					lowerCAmelCase__        =   0, 1
		while b <= n:
				if b % 2 == 0:
						even_fibs.append(lowerCamelCase__     )
				lowerCAmelCase__   ,					lowerCAmelCase__        =   b, a + b
		return sum(lowerCamelCase__     )


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




"""simple docstring"""




def 							_UpperCAmelCase		(       lowerCamelCase__     ):





		"""simple docstring"""




		assert isinstance(lowerCamelCase__			,  lowerCamelCase__     ), f"""The input value of [n={number}] is not an integer"""

		if number == 1:
				return 2
		elif number < 1:
				lowerCAmelCase__        =   f"""The input value of [n={number}] has to be > 0"""
				raise ValueError(lowerCamelCase__     )
		else:
				lowerCAmelCase__        =   sylvester(number - 1     )
				lowerCAmelCase__        =   num - 1
				lowerCAmelCase__        =   num
				return lower * upper + 1


if __name__ == "__main__":
			print(F"The 8th number in Sylvester's sequence: {sylvester(8)}")




