Problem of the Week #5

Thanks for participating in the previous Problem of The Week! We had a record number of submissions to the last problem, and received two correct solutions: we would like to congratulate Zachary Hancock for providing the first solution and also Sirish Pradhan for the second.

Now the fifth Problem of the Week is: