



"""simple docstring"""






from __future__ import annotations






def 					snake_case__       (		__lowerCamelCase    :   int     ):
   """simple docstring"""
   lowerCamelCase__		:		Optional[int]		     =[True] * limit
   lowerCamelCase__		:		Any		     =False
   lowerCamelCase__		:		Tuple		     =False
   lowerCamelCase__		:		Union[str, Any]		     =True

   for i in range(3							,		int(limit**0.5 + 1     )							,		2     ):
      lowerCamelCase__		:		List[str]		     =i * 2
      while index < limit:
         lowerCamelCase__		:		int		     =False
         lowerCamelCase__		:		str		     =index + i

   lowerCamelCase__		:		Any		     =[2]

   for i in range(3							,		__lowerCamelCase							,		2     ):
      if is_prime[i]:
         primes.append(__lowerCamelCase     )

   return primes






def 					snake_case__       (		__lowerCamelCase    :   int = 1000000     ):
   """simple docstring"""
   lowerCamelCase__		:		List[str]		     =prime_sieve(__lowerCamelCase     )
   lowerCamelCase__		:		Tuple		     =0
   lowerCamelCase__		:		Optional[Any]		     =0

   for i in range(len(__lowerCamelCase     )     ):
      for j in range(i + length							,		len(__lowerCamelCase     )     ):
         lowerCamelCase__		:		int		     =sum(primes[i:j]     )
         if sol >= ceiling:
            break

         if sol in primes:
            lowerCamelCase__		:		List[Any]		     =j - i
            lowerCamelCase__		:		int		     =sol

   return largest


if __name__ == "__main__":
  print(f'{solution() = }')









"""simple docstring"""






def 					snake_case__       (		__lowerCamelCase    :   int							,		__lowerCamelCase    :   int     ):
			"""simple docstring"""
			return int((input_a, input_a).count(0     ) != 0     )






def 					snake_case__       (		):
			"""simple docstring"""
			assert nand_gate(0							,		0     ) == 1
			assert nand_gate(0							,		1     ) == 1
			assert nand_gate(1							,		0     ) == 1
			assert nand_gate(1							,		1     ) == 0


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




