




def 						lowercase_ (						_UpperCAmelCase		):




	"""simple docstring"""






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


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

		testmod()











"""simple docstring"""

def 						lowercase_ (						_UpperCAmelCase		):




	"""simple docstring"""






	A_					:			Optional[int]						=						9

	while num > 0:
		if num % 10 != digit:
			return False
		num //= 100
		digit -= 1

	return True

def 						lowercase_ (						):




	"""simple docstring"""






	A_					:			Dict						=						1_3890_2663

	while not is_square_form(num * num		):
		if num % 10 == 3:
			num -= 6  # (3 - 6) % 10 = 7
		else:
			num -= 4  # (7 - 4) % 10 = 3

	return num * 10


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





