Nikolay Domashenko's submission of To Divide or Not To Divide | CodeChef