Subhrojyoti Chatterjee's submission of Check Algorithm | CodeChef