A farmer had 17 cows. All but nine died. How many were left alive?