Task 2. Determine the sum and difference between the largest three-digit number whose digits sum to 8 and the smallest three-digit number whose digits multiply to 8.
Solution. The largest three-digit number whose sum of digits is 8 is 800, and the smallest three-digit number whose product of digits is 8 is 118. Now, their sum is $800+118=918$, and their difference is $800-118=682$.