Section 5K. Notwithstanding any general or special law to the contrary, whoever embezzles, steals or obtains by fraud any funds, assets or property provided by the department of transitional assistance and whoever receives, conceals or retains such funds, assets or property for his own interest knowing such funds, assets or property have been embezzled, stolen or obtained by fraud shall, if such funds, assets or property are of a value of $100 or more, be punished by a fine of not more than $25,000 or by imprisonment in a jail or house of correction for not more than 2 1/2 years, or imprisonment in the state prison for not more than 5 years, or both such fine and imprisonment, or if such funds, assets or property are of a value of less than $100, by a fine of not more than $1,000 or by imprisonment in a jail or house of correction for not more than 1 year, or both such fine and imprisonment.