Counting Sheep solutions

Counting Sheep was solved using Fortran by 1 contestant.