17 If-then-else if(Cond,Then,Else):- first_solution( successful(Cond,Then),Cond,R), select_then_else(R,Cond,Then,Else). select_then_else( the(successf