A 13-year-old boy from Texas won a national math competition on Monday with an answer rooted in probabilities — and a dash of farming.

The boy, Luke Robitaille, took less than a second to buzz in at the Raytheon Mathcounts National Competition with the correct answer.

The question: In a barn, 100 chicks sit peacefully in a circle. Suddenly, each chick randomly pecks the chick immediately to its left or right. What is the expected number of unpecked chicks?

(We’ll give you the answer at the end.)

The Scripps National Spelling Bee frequently gains attention for the nail-biting drama of watching students stand on a stage under hot lights to respond to questions.