This is an archived problem from a previous year. Submissions are closed, but you can view the problem and its solution.

22