Nikolay Domashenko's submission of Check Algorithm | CodeChef