An infinite sequence is formed by arranging the natural numbers in increasing order. A number is called a “Future Mathematician” if its decimal representation contains at least one digit 3 or 7, but the number is divisible by neither 3 nor 7 and its unit digit is neither 3 nor 7. From the ordered list of all such numbers, find the sum of the and the terms.