A 10-digit number is defined in such a way that the first digit is the number of zeros in the number; the second digit is the number of 1s in the number and so on until the tenth digit which is the number of 9s in the number.