Section 9. Violations of section seven or eight shall be punished by a fine of not more than fifty dollars or by imprisonment for not more than two months, or both.