In how many ways can the numbers 3, 4, 5, 6, 7, 8, 9, and 10 be divided into two sets A and B such that the sum of the numbers in B is three times the sum of the numbers in A?