设百位数为X,个位数为(14-X)
100(14-X+X-(100X+14-X)=396
1400-100X+10+X-100X-24+X=396
-198X=-990
X=5
答:三位数为519或509.