




'''simple docstring'''


def    _SCREAMING_SNAKE_CASE    (			UpperCamelCase__						:				str							):




     """simple docstring"""


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


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

 testmod()






'''simple docstring'''


def    _SCREAMING_SNAKE_CASE    (			UpperCamelCase__						:				int = 1000							):




     """simple docstring"""


     return sum(i for i in range(UpperCamelCase__							) if i % 3 == 0 or i % 5 == 0							)


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