



def      A_ (		__a       :			str						):

				"""simple docstring"""
				a__			 =						str(__a						).strip()
				if not bin_string:
								raise ValueError("""Empty string was passed to the function"""						)
				a__			 =						bin_string[0] == """-"""
				if is_negative:
								a__			 =						bin_string[1:]
				if not all(char in """01""" for char in bin_string						):
								raise ValueError("""Non-binary value was passed to the function"""						)
				a__			 =						0
				for char in bin_string:
								a__			 =						2 * decimal_number + int(__a						)
				return -decimal_number if is_negative else decimal_number


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

	testmod()






def      A_ (		__a       :			int = 1_000						):

				"""simple docstring"""
				return sum(i for i in range(__a						) if i % 3 == 0 or i % 5 == 0						)


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

