A sprinkler rotates back and forth three times.