(b) Except as provided in subsection (c), any person who violates the provisions of this section shall be guilty of a misdemeanor and, upon conviction thereof, shall be confined in jail not more than ninety days, or fined not more than two hundred fifty dollars and confined in jail not more than ninety days.
(c) Any person who violates the provisions of subsection (a) of this section by intentionally exposing himself or herself to another person and the exposure was done for the purpose of sexual gratification, is guilty of a misdemeanor and, upon conviction thereof, shall be fined not more than five hundred dollars or confined in jail not more than twelve months, or both. For a second offense, the person is guilty of a misdemeanor and, upon conviction thereof, shall be fined not more than one thousand dollars and confined in jail for not less than thirty days nor more than twelve months. For a third or subsequent offense, the person is guilty of a felony and, upon conviction thereof, shall be fined not more than three thousand dollars and imprisoned in a state correctional facility for not less than one year nor more than five years.