


def 							_UpperCAmelCase				(UpperCamelCase__     :  str						):
       if not all(char in "01" for char in bin_string						):
              raise ValueError("Non-binary value was passed to the function"						)
       if not bin_string:
              raise ValueError("Empty string was passed to the function"						)
       _A      :       Any				    = ""
       while len(UpperCamelCase__						) % 3 != 0:
              _A      :       Optional[Any]				    = "0" + bin_string
       _A      :       Union[str, Any]				    = [
           bin_string[index : index + 3]
           for index in range(len(UpperCamelCase__						)						)
           if index % 3 == 0
       ]
       for bin_group in bin_string_in_3_list:
              _A      :       Tuple				    = 0
              for index, val in enumerate(UpperCamelCase__						):
                     oct_val += int(2 ** (2 - index) * int(UpperCamelCase__						)						)
              oct_string += str(UpperCamelCase__						)
       return oct_string


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

    testmod()




"""simple docstring"""






def      lowerCamelCase       (     _UpperCamelCase		:      int = 4_0_0_0_0_0_0							)		->       int:

							'''simple docstring'''



							__UpperCAmelCase   :						int      							=					[0, 1]
							__UpperCAmelCase   :						Optional[Any]      							=					0
							while fib[i] <= n:
														fib.append(fib[i] + fib[i + 1]							)
														if fib[i + 2] > n:
																					break
														i += 1
							__UpperCAmelCase   :						str      							=					0
							for j in range(len(_UpperCamelCase							) - 1							):
														if fib[j] % 2 == 0:
																					total += fib[j]

							return total


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