A police academy is training 14 new recruits. Some are working dogs and others are police officers. There are 38…

A police academy is training 14 new recruits. Some are working dogs and others are police officers. There are 38 legs in all. How many of each type of recruit are there?