Cassie is trimming her pet's nails. She has four dogs and eight parrots. Each dog has four nails on each foot, and each parrot has three claws on each leg, except for one parrot who has an extra claw on one leg. How many nails does Cassie need to cut in total? Let's think step by step and output the final answer within \boxed{}.
user