On the 8x8 field, randomly placed eight penguins. Choose any yurt. In return you will get the number of penguins, which bearing from chosen location. This number indicates how many penguins located in the same vertical line, horizontal with the specified yurt.
Your goal is catch all penguins, ideally with minimum turns.