If Beatrix has 30 books, Alannah has 30 books + 20 books = <<30+20=50>>50 books.

Queen has 1/5 * 50 books = <<1/5*50=10>>10 more books than Alannah.

The total number of books Queen has is 50 books + 10 books = <<50+10=60>>60 books.

All three have 60 books + 50 books + 30 books = <<60+50+30=140>>140 books together

# Answer

140
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Alannah, Beatrix, and Queen are preparing for the new school year and have been given books by their parents. Alannah has 20 more books than Beatrix. Queen has 1/5 times more books than Alannah. If Beatrix has 30 books, how many books do the three have together?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
140
Alannah, Beatrix, and Queen are preparing for the new school year and have been given books by their parents. Alannah has 20 more books than Beatrix. Queen has 1/5 times more books than Alannah. If Beatrix has 30 books, how many books do the three have together?
train