Solve the math problem: Sam has 18 cows.  5 more than half the cows are black.  How many cows are not black?