The sum of two numbers is 40, and their difference is 8. Find the numbers.