





def    _A	(   lowerCamelCase = 10				,			lowerCamelCase = 22 ):
   a__						:    List[Any]   		=	range(1				,			lowerCamelCase )
   a__						:    Optional[Any]   		=	range(1				,			lowerCamelCase )
   return sum(
       1 for power in powers for base in bases if len(str(base**power ) ) == power )


if __name__ == "__main__":
  print(f'{solution(1_0, 2_2) = }')








def    _A	(   lowerCamelCase ):
   a__						:    Tuple   		=	[]
   a__						:    str   		=	set({"(", "[", "{"} )
   a__						:    List[str]   		=	set({")", "]", "}"} )
   a__						:    int   		=	{"{": "}", "[": "]", "(": ")"}

   for i in range(len(lowerCamelCase ) ):
      if s[i] in open_brackets:
         stack.append(s[i] )

      elif s[i] in closed_brackets and (
          len(lowerCamelCase ) == 0 or (len(lowerCamelCase ) > 0 and open_to_closed[stack.pop()] != s[i])
      ):
         return False

   return len(lowerCamelCase ) == 0






def    _A	(   ):
   a__						:    Optional[int]   		=	input("Enter sequence of brackets: " )
   if is_balanced(lowerCamelCase ):
      print(lowerCamelCase				,			"is balanced" )
   else:
      print(lowerCamelCase				,			"is not balanced" )


if __name__ == "__main__":
  main()

