25. Detective Sherlock Holmes found a password safe, and the password is a three-digit number $A$. Currently, there is a clue: among the four three-digit numbers $123,931,297,419$, each number contains exactly one digit from the three-digit number $A$, and the position of the digit is different from that in $A$, then the three-digit number $A$ is $\qquad$
$374$