Section 17. Whoever disposes of household or commercial garbage or refuse by placing it in a trash barrel placed on a public highway by the commonwealth, or by any political subdivision thereof for the convenience of the traveling public shall be punished by a fine of not less than two hundred dollars. One-half of any fine paid into a court shall be paid over to the city or town where said offense occurred.