Does any know a cute way of reading three BCD thumbwheels that uses less than i) Twelve i/o pins ii) Seven pins and 12 diodes?