[Haskell-cafe] separate input calculation output