Determine how many 1000 digit numbers A have the following property:
When any digit of A, aside from the first, is deleted to form a 999 digit number B, then B divides A.
When any digit of A, aside from the first, is deleted to form a 999 digit number B, then B divides A.