If 5A5 is 3-digit number divisible by 9, then find the value of digit A.
If the three digit number 71a is divisible by 11, find the value of the digit a.