Every Halloween Smallville sees about 371 trick or treaters and on average they collect about 170 pieces of candy each. Halloween candy is usually purchased in bags of 17.
How many pieces of candy were collected in all?
How many bags of candy were handed out?