3 input and 3 output devices