Nikolay Domashenko's submission of Playlist | CodeChef