Let sets A and B have 5 elements each. Let the mean of the elements in sets A and B be 5 and 8 respectively and the variance of the elements in sets A and B be 12 and 20 respectively A new set C of 10 elements is formed by subtracting 3 from each element of A and adding 2 to each element of B. Then the sum of the mean and variance of the elements of C is ______.
(1) 32
(2) 38
(3) 40
(4) 36