Added a condition for the first prize.