Srivaths P's submission of Check Algorithm | CodeChef