



def       _lowerCAmelCase			(_lowerCAmelCase):
					UpperCamelCase_						     =      0
					while num > 0:
										digit_sum += num % 10
										num //= 10
					return digit_sum



def       _lowerCAmelCase			(_lowerCAmelCase = 1_00):
					UpperCamelCase_						     =      1
					UpperCamelCase_						     =      2

					for i in range(2      ,		max_n + 1):
										UpperCamelCase_						     =      pre_numerator
										UpperCamelCase_						     =      2 * i // 3 if i % 3 == 0 else 1
										UpperCamelCase_						     =      cur_numerator
										UpperCamelCase_						     =      e_cont * pre_numerator + temp

					return sum_digits(__lowerCamelCase)


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






def 		__A		(	__lowerCamelCase    )      ->       int:
	a										=							hex_num.strip()
	if not hex_num:
		raise ValueError("""No value was passed to the function"""    )

	a										=							hex_num[0] == """-"""
	if is_negative:
		a										=							hex_num[1:]

	try:
		a										=							int(__lowerCamelCase							,			16    )
	except ValueError:
		raise ValueError("""Invalid value was passed to the function"""    )

	a										=							""""""
	while int_num > 0:
		a										=							str(int_num % 2    ) + bin_str
		int_num >>= 1

	return int(("""-""" + bin_str) if is_negative else bin_str    )


if __name__ == "__main__":
		import doctest

		doctest.testmod()

