% 1. student(S,_,'Fred',L,_,_,_,_,_),enrollment(S,SC,_,_).
% 2. student(S,_,'Fred',L,_,_,_,_,_),enrollment(S,SC,_,_),section(SC,C,_,_,_,I,_).
% 3. student(S,_,'Fred',L,_,_,_,_,_),enrollment(S,SC,_,_),section(SC,C,_,_,_,I,_),course(C,D,_,_).
% 4. student(S,_,'Fred',L,_,_,_,_,_),enrollment(S,SC,_,_),section(SC,C,_,_,_,I,_),course(C,D,_,_),instructor(I,_,IF,IL,_,_,_).
% 5. instructor(I,_,'Nina','Schorin',_,_,_),section(S,C,_,_,_,I,_),course(C,D,_,_).
% 6. course(C,'Hands-On Windows', _,_),section(S,C,_,_,_,I,_),instructor(I,_,F,L,_,_,_).
% 7. course(C,'Hands-On Windows', _,_),section(S,C,_,_,_,I,_),instructor(I,_,'Anita','Morris',_,_,_),enrollment(_ST,S,_,_),student(_ST,_,F,L,_,_,_,_,_).
% 8. course(_,_,_,P),course(P,D,_,_).
% 9. course(_,D,C,_), C < 1100.
% 10.
parent(X,Y) :- course(Y,_,_,X).
prereq(P,C) :- parent(P,C).
prereq(X,Y) :- parent(X,P),prereq(P,Y).

% prereq(X,430).
