Problem Statement
Lucy wants to buy 4 books. There are 4 shops that sell the books that she wants. The shops, the prices of the books and any special offers are shown in the following table.
Lucy wants to buy all her books from the same shop and to spend as little as possible.