Determine the value of A if the ten digit number 512A51739A is

divisible by 7, 11 and 13.
Is the correct answer 6?

7,1113