Two numbers are in the ratio 3:5. If each number is increased by 10, the ratio becomes 5:7. The numbers are _______.