Linh Nguyen's submission of Protecting Sheep | CodeChef