Question 9The sequence begins $1,3,4,7,1,8,9,7,6,\ldots$. From the third term onward, each is the units digit of the sum of the preceding two. Find the sum of the first $40$ terms.