Veronica owns 12 cats and 17 dogs. Maurice had 16 dogs and sells 3 to Veronica. How many cats are there in all if Maurice owns 1 cat?