He got 5*40=<<5*40=200>>200 pages

So they will last 200/4=<<200/4=50>>50 days

# Answer

50
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
John buys 5 notebooks that have 40 pages each.  He uses 4 pages per day.  How many days do the notebooks last?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
50
John buys 5 notebooks that have 40 pages each.  He uses 4 pages per day.  How many days do the notebooks last?
train