Pascal Program
Pascal Solution
Scheme Program
Scheme Solution
Prolog Program
Prolog Solution