One number exceeds another number by 18. Find the numbers if the result of adding their sum and their product is a minimum.