to outside left inlet to outside right inlet final result from outside outlet seed output the final result sequence of values to be folded