The number 299556 contains two sets of digits in which one digit is 10 times as great as the other. What are the values of the digits in each set.