

def   __UpperCAmelCase					(      __a :     Tuple = 10						,__a :     str = 22      )     ->	Optional[int]:

					"""simple docstring"""

					_a      :       List[Any]   =						range(1						,__a      )
					_a      :       Optional[Any]   =						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) = }''')










def    _A	(   lowerCamelCase ):
   a__						:    Optional[Any]   		=	1
   for i in range(1				,			num + 1 ):
      fact *= i
   return fact






def    _A	(   lowerCamelCase ):
   a__						:    List[Any]   		=	0
   while number > 0:
      a__						:    str   		=	number % 10
      sum_of_digits += last_digit
      a__						:    Dict   		=	number // 10  # Removing the last_digit from the given number
   return sum_of_digits






def    _A	(   lowerCamelCase = 100 ):
   a__						:    Any   		=	factorial(lowerCamelCase )
   a__						:    Optional[Any]   		=	split_and_add(lowerCamelCase )
   return result


if __name__ == "__main__":
  print(solution(int(input("""Enter the Number: """).strip())))

