Which of the following sentences uses a semicolon effectively?

From the store, I need; milk; eggs; and sugar.
Walking the dog; back soon.
He wanted to go to; Rome, Venice, and Naples.
She studied diligently for the exam; she earned the highest grade in the class.

She studied diligently for the exam; she earned the highest grade in the class.