Section 41. Whoever violates any provision of sections thirty-four to thirty-nine, inclusive, or any regulation made under authority thereof, shall be punished by a fine of not more than fifty dollars or by imprisonment for not more than one month, or both.