Nikolay Domashenko's submission of Lucky Long | CodeChef