Pranat Sharma's submission of Check Algorithm | CodeChef