

def 							__SCREAMING_SNAKE_CASE							( lowerCAmelCase:     str       )      ->				int:
				_UpperCAmelCase				:						Union[str, Any]       						=			str(lowerCAmelCase       ).strip()
				if not oct_string:
								raise ValueError("Empty string was passed to the function"       )
				_UpperCAmelCase				:						Optional[int]       						=			oct_string[0] == "-"
				if is_negative:
								_UpperCAmelCase				:						List[str]       						=			oct_string[1:]
				if not oct_string.isdigit() or not all(0 <= int(lowerCAmelCase       ) <= 7 for char in oct_string       ):
								raise ValueError("Non-octal value was passed to the function"       )
				_UpperCAmelCase				:						Tuple       						=			0
				for char in oct_string:
								_UpperCAmelCase				:						List[str]       						=			8 * decimal_number + int(lowerCAmelCase       )
				if is_negative:
								_UpperCAmelCase				:						Optional[int]       						=			-decimal_number
				return decimal_number


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

					testmod()





"""simple docstring"""




def    __SCREAMING_SNAKE_CASE						(						lowercase__ = 1_000      ):
					"""simple docstring"""
					return sum(i for i in range(lowercase__      ) if i % 3 == 0 or i % 5 == 0      )


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





