<human>:  At the pet shop, there were 3 birds, 5 dogs, 4 snakes, and 1 spider for sale. How many legs were there in total?
<bot>: How many legs do the birds have? ** The 3 birds have 2 legs each, for a total of 3 * 2 = <<3*2=6>>6 paws.
How many legs do the dogs have? ** The 5 dogs have 4 legs each, for a total of 5 * 4 = <<5*4=20>>20 paws.
How many legs does the snake and spider have? ** The 1 snake has no paws, and a spider has 8 legs.
How many legs are there in total? ** The total number of paws is 6+20+8=<<6+20+8=34>>34.
#### 34