CAYLEY 2012 Problem 18

Six consecutive integers are written on a blackboard. When one of them is erased the sum of the remaining five integers is 2012. What is the sum of the digits of the integer that was erased?

Answer Choices
A. 5
B. 6
C. 7
D. 9
E. 11