
'''simple docstring'''





def 							snake_case				(		UpperCAmelCase						)->      bool:







      """simple docstring"""
      __A													=      9

      while num > 0:
            if num % 1_0 != digit:
                  return False
            num //= 1_0_0
            digit -= 1

      return True





def 							snake_case				(		)->      int:







      """simple docstring"""
      __A													=      1_3_8_9_0_2_6_6_3

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

      return num * 1_0


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











from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available, is_torch_available


__SCREAMING_SNAKE_CASE     =	{"""configuration_yoso""": ["""YOSO_PRETRAINED_CONFIG_ARCHIVE_MAP""", """YosoConfig"""]}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							__SCREAMING_SNAKE_CASE     =	[
							    """YOSO_PRETRAINED_MODEL_ARCHIVE_LIST""",
							    """YosoForMaskedLM""",
							    """YosoForMultipleChoice""",
							    """YosoForQuestionAnswering""",
							    """YosoForSequenceClassification""",
							    """YosoForTokenClassification""",
							    """YosoLayer""",
							    """YosoModel""",
							    """YosoPreTrainedModel""",
							]


if TYPE_CHECKING:
							from .configuration_yoso import YOSO_PRETRAINED_CONFIG_ARCHIVE_MAP, YosoConfig

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_yoso import (
														    YOSO_PRETRAINED_MODEL_ARCHIVE_LIST,
														    YosoForMaskedLM,
														    YosoForMultipleChoice,
														    YosoForQuestionAnswering,
														    YosoForSequenceClassification,
														    YosoForTokenClassification,
														    YosoLayer,
														    YosoModel,
														    YosoPreTrainedModel,
														)


else:
							import sys

							__SCREAMING_SNAKE_CASE     =	_LazyModule(__name__, globals()["""__file__"""], _import_structure)