結果 : function of input and output unit