The number 8A3BC5 is a perfect square of a number that is divisible by 3. Find A + B + C if A, B, and C are different digits.