A textbook has 1,000 pages.  How many of the pages have page numbers whose digits add up to exactly 4?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A textbook has 1,000 pages.  How many of the pages have page numbers whose digits add up to exactly 4?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
15
A textbook has 1,000 pages.  How many of the pages have page numbers whose digits add up to exactly 4?
train