Section 27. Violations of section sixteen shall be punished by a fine of not more than one hundred dollars or by imprisonment for not more than six months, or both.