Design a logic circuit that has a 4-bit binary number as an input and one output. The output should be 1 iffthe input is a prime number (greater than 1) or zero


(a)Use a two-level NAND-gate circuit.

(b)Use a two-level NOR-gate circuit.

(c)Use only two-input NANDgate