%% ?- answer.

answer :-
    bagof(Item, Goal, Bag).
