In a room there are two kids and a few dogs. If the total number of legs in the room are 48, how many dogs are there?