Nikolay Domashenko's submission of The product mystery | CodeChef