Looking at the playground, I saw boys and dogs. Counting heads, I got 22. Counting legs I got 66. How many boys and how many dogs are there?