An animal shelter has 1008 cats, dogs and rabbits. The ratio of the number of dogs to the number of cats in the animal shelter is 3:7. The ratio of the number rabbits to the number of dogs is 2:5. How many rabbits are in the shelter