I'm doing a discrete VGA controller, and I need to be able to identify a 10 bit number (coming from cascaded 74AC163s if you care to know. A 10 input AND is what I need, but I am wondering the most efficient way to create one with common logic chips. Right now I. Figure I need three quad 2 input chips, or one dual 4 input, and single quad 2 input. Is there a clever way I'm not seeing? Must be available in through hole 74AC or HC extremely preferable.