


'''simple docstring'''



import math



def      UpperCAmelCase__   (      UpperCAmelCase_       :							int				)	->						bool:
     return math.sqrt(UpperCAmelCase_				) * math.sqrt(UpperCAmelCase_				) == num



def      UpperCAmelCase__   (      UpperCAmelCase_       :							int				)	->						bool:
     __lowerCamelCase  :      Tuple														=						0
     __lowerCamelCase  :      str														=						n
     while left <= right:
          __lowerCamelCase  :      int														=						(left + right) // 2
          if mid**2 == n:
               return True
          elif mid**2 > n:
               __lowerCamelCase  :      int														=						mid - 1
          else:
               __lowerCamelCase  :      int														=						mid + 1
     return False


if __name__ == "__main__":
      import doctest

      doctest.testmod()













import baseaa
def      A__       (    SCREAMING_SNAKE_CASE_   :      str						)  ->  bytes:






   """simple docstring"""







   return baseaa.baaencode(string.encode('''utf-8'''						)						)
def      A__       (    SCREAMING_SNAKE_CASE_   :      bytes						)  ->  str:






   """simple docstring"""







   return baseaa.baadecode(SCREAMING_SNAKE_CASE_						).decode('''utf-8'''						)


if __name__ == "__main__":
   UpperCAmelCase_           =	"Hello World!"
   UpperCAmelCase_           =	baseaa_encode(test)
   print(encoded)

   UpperCAmelCase_           =	baseaa_decode(encoded)
   print(decoded)