Which is the most accurate statement about main ideas?

The main idea of a text is the first sentence of the text.

The main idea of a text can be found at the end of the text.

The main idea of a text can be found at or near the middle of the text.

The main idea of a text can be found at the beginning, the middle, or the end of the text.

The most accurate statement about main ideas is: The main idea of a text can be found at the beginning, the middle, or the end of the text.