



"""simple docstring"""
def 					lowerCamelCase_		(UpperCamelCase__						:						Tuple = 10	,			UpperCamelCase__						:						List[str] = 22				):
    _UpperCAmelCase				:    List[str]											=       range(1	,			A__				)
    _UpperCAmelCase				:    Tuple											=       range(1	,			A__				)
    return sum(
        1 for power in powers for base in bases if len(str(base**power				)				) == power				)


if __name__ == "__main__":
  print(f"{solution(10, 22) = }")




'''simple docstring'''
import math






def      UpperCamelCase_				(      A__						):
	return math.sqrt(A__						) * math.sqrt(A__						) == num






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


if __name__ == "__main__":
		import doctest

		doctest.testmod()
