Which sentence uses quotation marks correctly?

"Henry," Mr. Louis said. are you paying attention? You have been staring out the window all day long.
Henry,"Mr. Louis said." Are you paying attention? You have been staring out the window all day long
Henry, Mr. Louis said. "Are you paying attention? You have been staring out the window all day long."
"Henry," Mr. Louis said. "Are you paying attention? You have been staring out the window all day long."

"Henry," Mr. Louis said. "Are you paying attention? You have been staring out the window all day long."