# Which Digit Appears The Most?

Algebra Level 2

One day, when Fred was bored, he listed the integers from 1 to 9001 on the board. Let the digit that he wrote the most be $$a$$, and the digit that he wrote the least be $$b$$. Find $$a+b$$.

×