Whoever knowingly obtains, or attempts to obtain, or aids, or abets any person to obtain by means of a wilfully false statement or representation or by impersonation, or other fraudulent device, assistance to which he is not entitled, or assistance greater than that to which he is justly entitled, shall be guilty of a misdemeanor, and upon conviction thereof shall be fined not more than five hundred dollars ($500.00) or be imprisoned for not more than four (4) months, or be both so fined and imprisoned in the discretion of the court. In assessing the penalty, the court shall take into consideration, among other factors, the amount of money fraudulently received.