<s>[INST] Let there be three books: A, B, and C. Suppose there exist bookshelves to be filled with these books, in both possible orders, such that:

- Books A and B be placed next to each other in every case.
- Book C is placed on one side of books A and B.
- Every bookshelf is filled with exactly three books.

From the available bookshelves, choose bookshelves representing four distinct arrangements of the books in which no bookshelf has any empty space. What are the total number of books in the chosen bookshelf arrangements?[/INST]