Hints removed, question added to expand on some of the trickiness involved.