Counting Sheep solutions

Counting Sheep was solved using Mathematica by 1 contestant.