Whoever willfully exposes himself or another afflicted with any contagious or infectious disease in any public place or thoroughfare, except in his necessary removal in a manner the least dangerous to the public health, shall be fined not more than $200 or imprisoned not more than 1 year, or both.