The ratio of incomes of A and B is 5:7, and the ratio of their savings is 2:3. If A and B spend 335,400 and 348,600, respectively, then what is the difference in their incomes?