One number exceeds another by 24. The sum of the numbers are 58. What are the numbers?