The letters A, R, S and T represent different digits from 1 to 9. The same letters correspond to the same digits, while different letters correspond to different digits. Find ART, given that ARTS+STAR=10,T31.