





def 					lowerCAmelCase_			(	__a = 100		)					->		int:







  """simple docstring"""





  lowerCamelCase__:				Optional[Any]        =set()

  lowerCamelCase__:				Any        =0

  lowerCamelCase__:				int        =n + 1  # maximum limit

  for a in range(2     ,   __a		):
    for b in range(2     ,   __a		):
      lowerCamelCase__:				Tuple        =a**b  # calculates the current power
      collect_powers.add(__a		)  # adds the result to the set
  return len(__a		)


if __name__ == "__main__":
     print("Number of terms ", solution(int(str(input()).strip())))













from ..utils import DummyObject, requires_backends



class        _SCREAMING_SNAKE_CASE						(     metaclass=__SCREAMING_SNAKE_CASE   ):







 '''simple docstring'''
 lowercase_		=      ["torch", "torchsde"]

 def __init__(self    :       Union[str, Any]	,			*UpperCAmelCase_    :       Dict	,			**UpperCAmelCase_    :       Tuple)	->Any:



   '''simple docstring'''



   requires_backends(self	,			["torch", "torchsde"])

 @classmethod
 def 							SCREAMING_SNAKE_CASE_ (cls    :       Dict	,			*UpperCAmelCase_    :       Optional[int]	,			**UpperCAmelCase_    :       Optional[int])	->List[Any]:



   '''simple docstring'''



   requires_backends(cls	,			["torch", "torchsde"])







 @classmethod
 def 							SCREAMING_SNAKE_CASE_ (cls    :       Tuple	,			*UpperCAmelCase_    :       Tuple	,			**UpperCAmelCase_    :       Any)	->Any:



   '''simple docstring'''



   requires_backends(cls	,			["torch", "torchsde"])

