MULTI-INPUT LOGIC GATES