You are on page 1of 1

p(X):- a(X).

p(X):- b(X),c(X),d(X),e(X).

p(X):- f(X).

a(1).
b(1).
c(1).
b(2).
c(2).
d(2).
e(2).
f(3).

You might also like