easy 147 in haskell
easy 147 in javascript