






import math


def   _A       (    SCREAMING_SNAKE_CASE__  :     int	):
    if not isinstance(SCREAMING_SNAKE_CASE__					,  SCREAMING_SNAKE_CASE__	):
        UpperCamelCase	:int     							=       F'''Input value of [number={number}] must be an integer'''
        raise TypeError(SCREAMING_SNAKE_CASE__	)
    if number < 1:
        UpperCamelCase	:Dict     							=       F'''Input value of [number={number}] must be a positive integer'''
        raise ValueError(SCREAMING_SNAKE_CASE__	)
    UpperCamelCase	:Optional[int]     							=       [number]
    while number != 1:
        if number % 2 == 0:
            UpperCamelCase	:Union[str, Any]     							=       math.floor(math.sqrt(SCREAMING_SNAKE_CASE__	)	)
        else:
            UpperCamelCase	:Tuple     							=       math.floor(
                math.sqrt(SCREAMING_SNAKE_CASE__	) * math.sqrt(SCREAMING_SNAKE_CASE__	) * math.sqrt(SCREAMING_SNAKE_CASE__	)	)
        sequence.append(SCREAMING_SNAKE_CASE__	)
    return sequence


if __name__ == "__main__":
 import doctest

 doctest.testmod()













def   _A       (    SCREAMING_SNAKE_CASE__  :     int	):
    UpperCamelCase	:Optional[Any]     							=       9

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

    return True


def   _A       (    ):
    UpperCamelCase	:List[str]     							=       138902663

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





