This'll be the last Problem of the Week for a while, so I decided to write it based on something particularly neat. Take a look at it!
I've written up the solution to this as well, which you can find after the break.
If you reasoned this another way, let us know how in the comments! Problems and Advanced Knowledge Problems of the Week will be starting up again on 11 January. Thanks for reading!