Lesson 8: Haskell: input and output