結果 : step function merge input and output