Bad Apples

Can you figure out which apples are bad? In this logic game, biting into one good apple reveals the number of adjacent bad apples. Eat only the good apples or you'll lose.