Vaibhav Puri's submission of Check Algorithm | CodeChef