





'''simple docstring'''


from __future__ import annotations

from collections.abc import Generator
def 							UpperCAmelCase_  (						):
   lowercase_			:dict[int, int]    			= {}
   lowercase_			:Dict    			= 2
   while True:
      lowercase_			:Optional[Any]    			= factor_map.pop(__lowerCamelCase	,__lowerCamelCase )
      if factor:
         lowercase_			:str    			= factor + prime
         while x in factor_map:
            x += factor
         lowercase_			:Any    			= factor
      else:
         lowercase_			:Dict    			= prime
         yield prime
      prime += 1
def 							UpperCAmelCase_  (						__lowerCamelCase					:					float = 1e10 ):
   lowercase_			:int    			= sieve()

   lowercase_			:List[Any]    			= 1
   while True:
      lowercase_			:Optional[int]    			= next(__lowerCamelCase )
      if (2 * prime * n) > limit:
         return n
      # Ignore the next prime as the reminder will be 2.
      next(__lowerCamelCase )
      n += 2


if __name__ == "__main__":
 print(solution())









'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase					:					int	,__lowerCamelCase					:					int ):
   return int((input_a, input_a).count(0 ) == 0 )
def 							UpperCAmelCase_  (						):
   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))


