An unfortunate cook made a few pancakes. One-fourth of all the pancakes were stolen by a cat. Then 4 pancakes were eaten by a parrot while the cook tried to catch the cat. Now, the cook has 32 pancakes. How many pancakes did the cat steal?