Count the squares | CodeChef