1.2. From the digits 1, 2, and 5, different three-digit numbers are formed, each of which has all distinct digits. Find the sum of all such three-digit numbers.
Answer: 1776 (all possible numbers: 125, 152, 215, 251, 512, 521).