<human>:  Jasmine wants to organize her books in order of most number of pages to least number of pages. Jasmine's longest book has 396 pages and her shortest book has one-fourth as many pages as the longest. If the book in the middle of her shelf has three times the number of pages of the shortest book, then how many pages does the middle book have?
<bot>: How many pages is the shortest book? ** Jasmine's shortest book is 1/4 * 396 pages = <<1/4*396=99>>99 pages long.
How many pages is the middle book? ** The middle book is 3 * 99 pages = <<3*99=297>>297 pages long.
#### 297