The Hitchhikers guide to Prolog

Sign in to test your solution.