At the end of Monday, there are 336 - 124 = <<336-124=212>>212 books left.

At the end of Tuesday, there are 212 + 22 = <<212+22=234>>234 books.

# Answer

234
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
There are 336 books in a library. On Monday, 124 books are taken out. On Tuesday, 22 books are brought back. How many books are there now?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
234
There are 336 books in a library. On Monday, 124 books are taken out. On Tuesday, 22 books are brought back. How many books are there now?
train