#0232 Hard Logic

A farmer has seventeen sheep. All but nine die. How many sheep does the farmer have left?