New to Arduino

The CD4043/44 latch will give you four sections. Two of these chips and a 4-16 decoder will then latch eight outputs and use only four input lines.