


from math import floor, sqrt



def      __lowerCAmelCase    (				snake_case						:     int			)							->				int:
   __lowerCamelCase:					Union[str, Any]	 =						0.0
   __lowerCamelCase:					List[Any]	 =						1.0
   __lowerCamelCase:					Optional[int]	 =						int(sqrt(snake_case			)			)
   __lowerCamelCase:					Dict	 =						root
   __lowerCamelCase:					Tuple	 =						0
   while integer_part != 2 * root:
      __lowerCamelCase:					Optional[Any]	 =						denominator * integer_part - numerator
      __lowerCamelCase:					Any	 =						(n - numerator**2) / denominator
      __lowerCamelCase:					Optional[Any]	 =						int((root + numerator) / denominator			)
      period += 1
   return period



def      __lowerCAmelCase    (				snake_case						:     int = 10000			)							->				int:
   __lowerCamelCase:					Union[str, Any]	 =						0
   for i in range(2    ,   n + 1			):
      __lowerCamelCase:					Union[str, Any]	 =						sqrt(snake_case			)
      if sr - floor(snake_case			) != 0 and continuous_fraction_period(snake_case			) % 2 == 1:
         count_odd_periods += 1
   return count_odd_periods


if __name__ == "__main__":
   print(F"""{solution(int(input().strip()))}""")






import sys



def      __lowerCAmelCase    (				snake_case						:     int    ,   snake_case						:     list[int]			)							->				int:
   if not numbers:
      return 0
   if target == 0 and target in numbers:
      return 0
   if not isinstance(snake_case    ,   (list, tuple)			) or not all(
       isinstance(snake_case    ,   snake_case			) for number in numbers			):
      raise ValueError("""numbers must be an iterable of integers"""			)

   __lowerCamelCase:					Union[str, Any]	 =						0
   __lowerCamelCase:					str	 =						sys.maxsize

   while right < len(snake_case			):
      curr_sum += numbers[right]
      while curr_sum >= target and left <= right:
         __lowerCamelCase:					str	 =						min(snake_case    ,   right - left + 1			)
         curr_sum -= numbers[left]
         left += 1
      right += 1

   return 0 if min_len == sys.maxsize else min_len


