Write a program which leads Kara to the next tree. If there is a cloverleaf on a field, Kara should pick it up; if there is no cloverleaf, Kara should lay one down. The program has to terminate when the tree is reached.