結果 : write 5 input device and output devices