Nikolay Domashenko's submission of Final Population | CodeChef