



"""simple docstring"""
def      __magic_name__				(							lowercase = 100 ):
   SCREAMING_SNAKE_CASE_: str     			=set()

   SCREAMING_SNAKE_CASE_: int     			=0

   SCREAMING_SNAKE_CASE_: Optional[Any]     			=n + 1  # maximum limit

   for a in range(2							,			lowercase ):
      for b in range(2							,			lowercase ):
         SCREAMING_SNAKE_CASE_: List[Any]     			=a**b  # calculates the current power
         collect_powers.add(lowercase )  # adds the result to the set
   return len(lowercase )


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








"""simple docstring"""
def      __magic_name__				(							lowercase							,			lowercase ):
   return int((input_a, input_a).count(0 ) == 0 )





def      __magic_name__				(							):
   assert and_gate(0							,			0 ) == 0
   assert and_gate(0							,			1 ) == 0
   assert and_gate(1							,			0 ) == 0
   assert and_gate(1							,			1 ) == 1


if __name__ == "__main__":
   test_and_gate()
   print(and_gate(1, 0))
   print(and_gate(0, 0))
   print(and_gate(0, 1))
   print(and_gate(1, 1))



