## The Answer is **9**

The key is in the wording: "all **but** 9 die" means **all except 9 die** — so **9 sheep remain**.

This is a classic trick question where people often rush to calculate 17 - 9 = 8, but that's not what's being asked.
