If the positive numbers from 1 to 39, inclusive, are written on a piece of paper, then the sum of all of the digits that are written on the paper is .