The natural number 28A9B consists of different numbers and

The natural number 28A9B consists of different numbers and A is not equal to 0. When the number is divided by 9 the remainder is 7 and when it is divided by 5, the remainder is 1. What is A-B=?