
'''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() = }''')







"""simple docstring"""

import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info


def    lowerCAmelCase			(__UpperCamelCase							:    Optional[Any]			):
							"""simple docstring"""


							class 		_lowercase :



													"""simple docstring"""




													def __init__(				self							:    int     , UpperCamelCase__							:    Union[str, Any]				)				->				None:
																				'''simple docstring'''



																				assert isinstance(UpperCamelCase__     , (bytes, str)				)
																				__UpperCamelCase							=content





													def   UpperCAmelCase_ (				self							:    Dict				)				->				Any:
																				'''simple docstring'''



																				return json.loads(self.content				)

							def mock_response(*__UpperCamelCase							:    Any							,					**__UpperCamelCase							:    Union[str, Any]			):
														assert args[0] == AUTHENTICATED_USER_ENDPOINT
														assert "Authorization" in kwargs["headers"]
														assert kwargs["headers"]["Authorization"].startswith('''token '''			)
														assert "Accept" in kwargs["headers"]
														return FakeResponse(b'''{"login":"test","id":1}'''			)

							monkeypatch.setattr(__UpperCamelCase							,					'''get'''							,					__UpperCamelCase			)
							__UpperCamelCase							=fetch_github_info('''token'''			)
							assert result["login"] == "test"
							assert result["id"] == 1



