The ratio of two number is 4:9.When 5 is subtracted from each of them,the new ratio becomes 3:8. Find the numbers.