from string import ascii_uppercase

_SCREAMING_SNAKE_CASE     				=		{str(ord(c) - 55): c for c in ascii_uppercase}






def 					snake_case    (			snake_case__     :Dict  ,      snake_case__     :Union[str, Any])		->  List[str]:


       if isinstance(a__  ,      a__):
              raise TypeError("""int() can't convert non-string with explicit base""")
       if num < 0:
              raise ValueError("""parameter must be positive int""")
       if isinstance(a__  ,      a__):
              raise TypeError("""'str' object cannot be interpreted as an integer""")
       if isinstance(a__  ,      a__):
              raise TypeError("""'float' object cannot be interpreted as an integer""")
       if base in (0, 1):
              raise ValueError("""base must be >= 2""")
       if base > 36:
              raise ValueError("""base must be <= 36""")
       _A	  =    """"""
       _A	  =    0
       _A	  =    0
       while div != 1:
              _A  ,    _A	  =    divmod(a__  ,      a__)
              if base >= 11 and 9 < mod < 36:
                     _A	  =    ALPHABET_VALUES[str(a__)]
              else:
                     _A	  =    str(a__)
              new_value += actual_value
              _A	  =    num // base
              _A	  =    div
              if div == 0:
                     return str(new_value[::-1])
              elif div == 1:
                     new_value += str(a__)
                     return str(new_value[::-1])

       return new_value[::-1]


if __name__ == "__main__":
    import doctest

    doctest.testmod()

    for base in range(2, 37):
        for num in range(1_000):
            assert int(decimal_to_any(num, base), base) == num, (
                num,
                base,
                decimal_to_any(num, base),
                int(decimal_to_any(num, base), base),
            )







'''simple docstring'''



import math







def   a__			(    a__		):




     """simple docstring"""


     return math.sqrt(a__		) * math.sqrt(a__		) == num







def   a__			(    a__		):




     """simple docstring"""


     __SCREAMING_SNAKE_CASE      = 0
     __SCREAMING_SNAKE_CASE      = n
     while left <= right:
          __SCREAMING_SNAKE_CASE      = (left + right) // 2
          if mid**2 == n:
               return True
          elif mid**2 > n:
               __SCREAMING_SNAKE_CASE      = mid - 1
          else:
               __SCREAMING_SNAKE_CASE      = mid + 1
     return False


if __name__ == "__main__":
  import doctest

  doctest.testmod()






