avinash soni's submission of Check Algorithm | CodeChef