Solve problem 99 using Haskell.
Explicitly define integer types.