Ankit Sharma's submission of Check Algorithm | CodeChef