
def    UpperCamelCase_ (	a_		)     ->bool:
		A				=9

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

		return True

def    UpperCamelCase_ (	)     ->int:
		A				=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() = }''')






from __future__ import annotations

from typing import Any

class        UpperCamelCase__:

	"""simple docstring"""

	def __init__(      self				:			Dict							,			snake_case__				:			Any							,			snake_case__				:			Any ):  # noqa: A002
			"""simple docstring"""





			A				=item
			A				=next


class        UpperCamelCase__:

	"""simple docstring"""

	def __init__(      self				:			Optional[Any] ):
			"""simple docstring"""





			A				=None
			A				=0







	def        _a					(      self				:			str							,			snake_case__				:			Any ):
			"""simple docstring"""





			A				=Node(snake_case__							,			self.head )
			self.size += 1







	def        _a					(      self				:			Dict ):
			"""simple docstring"""





			if self.head is None:
					return None
			else:
					A				=self.head.item
					A				=self.head.next
					self.size -= 1
					return item







	def        _a					(      self				:			Any ):
			"""simple docstring"""





			return self.head is None







	def __str__(      self				:			Dict ):
			"""simple docstring"""





			if self.is_empty():
					return ""
			else:
					A				=self.head
					A				=""
					A				=[]
					while iterate:
							item_list.append(str(iterate.item ) )
							A				=iterate.next

					A				=" --> ".join(snake_case__ )

					return item_str







	def __len__(      self				:			Union[str, Any] ):
			"""simple docstring"""





			return self.size




