likes(george, swimming).
likes(susie, swimming) :- likes(george, swimming).
likes(mary, X) :- likes(susie, X), likes(george, X).
