5. There are 53 books of mathematics and physics on the bookshelf, where no two physics books are placed next to each other, but each mathematics book is adjacent to another mathematics book. Given the following four statements:
(1) There are at least 35 mathematics books;
(2) There are at most 18 physics books;
(3) There are 3 mathematics books placed consecutively;
(4) In 12 consecutive books, there are at least 8 mathematics books.
Among them, the correct statements are ( ) in number.
(A) 1
(B) 2
(C) 3
(D) 4
5. C.

The scenario with the fewest mathematics books $(S)$ occurs when the number of physics books (W) is at its maximum, as shown below:
$$
\underbrace{\text { WSSWS...WSSSW, }}_{\text {17 groups }}
$$

Three mathematics books SSS can also appear simultaneously in other positions, as indicated by arrangements (1), (2), and (4) being correct; statement (3) does not hold in the following arrangement: