Press A or the left arrow key to turn left. Press D or the right arrow key to turn right. Press space to go forward (the direction you're facing).
There are exactly 150 sheep.