






def       _lowerCAmelCase       (      lowerCAmelCase = 1	,      lowerCAmelCase = 1000		):







       '''simple docstring'''
       UpperCAmelCase	    =			1
       UpperCAmelCase	    =			0

       for divide_by_number in range(a_	,      digit + 1		):
              UpperCAmelCase	    =			[]
              UpperCAmelCase	    =			numerator
              for _ in range(1	,      digit + 1		):
                     if now_divide in has_been_divided:
                            if longest_list_length < len(a_		):
                                   UpperCAmelCase	    =			len(a_		)
                                   UpperCAmelCase	    =			divide_by_number
                     else:
                            has_been_divided.append(a_		)
                            UpperCAmelCase	    =			now_divide * 10 % divide_by_number

       return the_digit


# Tests
if __name__ == "__main__":
 import doctest

 doctest.testmod()








"""simple docstring"""







def       _lowerCAmelCase       (      lowerCAmelCase		):







       '''simple docstring'''
       if not isinstance(lowerCAmelCase	,      lowerCAmelCase		):
              UpperCAmelCase	    =			F'''Input value of [number={number}] must be an integer'''
              raise TypeError(lowerCAmelCase		)
       if number < 0:
              return False
       UpperCAmelCase	    =			number * number
       while number > 0:
              if number % 10 != number_square % 10:
                     return False
              number //= 10
              number_square //= 10
       return True


if __name__ == "__main__":
 import doctest

 doctest.testmod()
