A three-digit number \(ABB\) is given, the product of the digits of which is a two-digit number \(AC\) and the product of the digits of this number is \(C\) (here, as in mathematical puzzles, the digits in the numbers are replaced by letters where the same letters correspond to the same digits and different letters to different digits). Determine the original number.