It shall be unlawful for any person to throw any firecracker, or any object which explodes upon contact with another object: (1) from, at, or into a motor vehicle; (2) onto any street, highway, or sidewalk; (3) at or near any person; (4) into any building; or (5) into or at any group of persons.