(please help, i will give brainliest) One day, River writes down the numbers 1, 2, ..., 999. What is the sum of all the digits that River wrote down?