What's a "YES" gate? I don't know much about the subject, but all the gates I know are AND, OR, XOR, NOT, NOR, NAND and a few weird combination ones.