Inviting help to expedite the deletion of this question, based on the fact it is a PSQ from a contest question, absent any context, and answered fully in an answer. Downvote only if you think the question deserves it; else, it can be deleted in a bit of time. Given that the OP received a full answer, I have little faith the asker will improve the question.