Use On Off and Push On Switch for Input. If SPST is ON then input will be 1 else 0. Present input 110 ie 6 showing on top right display. Previous input was 111 ie 7 showing on top left display. Now next input will be 101 (5) or 100 (4) that will show on right display and present input 6 will be shifted left.