Select the sentence with the correct MLA formatting.

In the story, the main character states, "I love to read books". (Smith 23).
In the story, the main character states, "I love to read books."
In the story, the main character states, "I love to read books" (Smith 23).
In the story, the main character states, "I love to read books" (23).

In the story, the main character states, "I love to read books."