Problem of the Day

One problem a day. Try it, take the hint if you need it, then read the solution.