Submission #51437770 - Codeforces