


def   _lowerCAmelCase				(   UpperCamelCase__:     Dict							,					UpperCamelCase__:     Optional[int]						) ->   int:





 """simple docstring"""







 return int((input_a, input_a).count(0						) != 0						)





def   _lowerCAmelCase				(   ) ->   None:





 """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))







def   _lowerCAmelCase				(   UpperCamelCase__:     int						) ->   list[int]:





	"""simple docstring"""







	if num <= 0:
		raise ValueError("""Input must be a positive integer"""						)

	A								=				[True] * (num + 1)

	A								=				2
	while p * p <= num:
		if primes[p]:
			for i in range(p * p							,					num + 1							,					UpperCamelCase__						):
				A								=				False
		p += 1

	return [prime for prime in range(2							,					num + 1						) if primes[prime]]


if __name__ == "__main__":
				import doctest

				doctest.testmod()

				_lowercase       :      Tuple	=	int(input("Enter a positive integer: ").strip())
				print(prime_sieve_eratosthenes(user_num))



