Word Problem

Every Halloween Smallville sees about 371 trick or treaters and on average they collect about 117 pieces of candy each.  Halloween candy is usually purchased in bags of 13.

How many pieces of candy were collected in all? ______

How many bags of candy were handed out? ______

Show your work!