"""simple docstring"""







def      lowercase__(			__SCREAMING_SNAKE_CASE				:	int ):
     if not isinstance(__SCREAMING_SNAKE_CASE	,     __SCREAMING_SNAKE_CASE ):
          lowercase_      :							List[str]						=      F'''Input value of [number={number}] must be an integer'''
          raise TypeError(__SCREAMING_SNAKE_CASE )
     if number < 0:
          return False
     lowercase_      :							List[str]						=      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()






'''simple docstring'''



def        UpperCAmelCase (    A	:					int					):
							if not isinstance(A       ,		A					):
														SCREAMING_SNAKE_CASE       :   List[str]         =      F"""Input value of [number={number}] must be an integer"""
														raise TypeError(A					)
							if number < 0:
														return False
							SCREAMING_SNAKE_CASE       :   List[str]         =      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()




