Kara is looking for a cloverleaf at the exit of a maze of simple structure. Every row of trees, except the one at the bottom, has exactly one exit which leads to the row above. Kara has to find these exits to climb upwards.
Program Kara so that he finds the cloverleaf and picks it up. Kara should try not to walk by an exit without going through it! Initially, Kara always faces to the right.