Jasmine's shortest book is 1/4 * 396 pages = <<1/4*396=99>>99 pages long.

The middle book is 3 * 99 pages = <<3*99=297>>297 pages long.

# Answer

297
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
297
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?
train