The first week of January,there are 49 dogs and 28 cats in an animal shelter. Throughout the month,the ratio of dogs to cats remain the same. The last week of January,there are 20 cats in the shelter. How many dogs are they?