an urn contains 10 balls, bearing numbers 0 to 9

3 balls are randomly drawn with replacemet (without replacement).

By placing the numbers in row a in the order in which they are drawn, an integer 0 to 999 is formed. what is the probability that the number thus formed is divisible by 39. (regard 0 as being divisible by 39)