There are 8 black dogs and 4 white cats in a room. How many animals are in the room?