next_to_each_other(X,Y) :- sits_right_of(X,Y). next_to_each_other(X,Y) :- sits_left_of(X,Y).
Back to the exercise.