Consecutive even integers will be in Arithmetic Progression (even spacing between every two terms), and so their Average or Arithmetic Mean = their Median
(1) AM of first 8 integers = 13
So their median = 13, now median for these 8 integers would be the average of 4th and 5th integer.. that means 4th and 5th integers are 12 and 14 respectively. Since these are consecutive even integers, if we can find 4th integer, we can also find the 1st integer, thus we have all 12 integers, and we can find their average also. (No need to calculate the same since its data sufficiency). Sufficient.
(2) AM of last eight integers (i.e., 5th to 12th integers) = 21
Applying the same logic as we did in statement 1, we can find the middle two terms (9th and 10th integers) here, thus we can have all the integers. Sufficient.
(Basically since this is an AP series with a common difference of 2, if we have any numbered term say 5th or 9th term, we can definitely find first term)
Hence
D answer