# Sorted Product

## §Problem

Given five positive integer, `a < b < c < d < e`

, there are 10 products for any pair of them. The 3 smallest products are 28, 32, and 56, while the 2
largest products are 128 and 240. Find the value of `e`

.

## §Solution

One mathematical approach could be finding the ratio among all those numbers, sth along the line: `b : c : d = ...`

, which is not super hard to
tackle. The Haskell solution is elegant as well:

1 | import Data.List |