Four input dynamic logic nand gate