Recycled Numbers solutions

Recycled Numbers was solved using Prolog by 2 contestants.

6268. download Laguana (S)
6974. download gaooosss (S)