AMC 10A 2012 Problem 8

The sums of three whole numbers taken in pairs are 12, 17, and 19 . What is the middle number?

Answer Choices
A. 4
B. 5
C. 6
D. 7
E. 8