結果 : write 5 input and output devices