For a third offense within five years after a conviction of a second offense, which took place within three years after a conviction of the first offense, by a fine not less than $4,000, not to exceed $6,000, or by imprisonment not exceeding 15 days, or both. The penalty for a corporate offender's third offense, by fine not less than $25,000, not to exceed $50,000, or any higher amount not exceeding double the amount of the corporation's gain from the commission of the offense. Each day that any such violation shall continue or exist shall constitute a separate and distinct offense hereunder.