Question
The sum of the digits of a three-digit number is 11. If we subtract 594 from the number consisting of the same digits written in the reverse order, we shall get a required number. Find that three-digit number, if the sum of all pairwise products of the digits constituting that number is 31.