Maths Class!!Number Theory Level 2
One day, in my maths class, my teacher wrote six variables a,b,c,d, e and f on the blackboard. She said " Let a, b, c, d, e and f be six consecutive integers. When one of them is erased, the sum of the remaining five integers is 2014. You have to find the sum of the digits of the integer that was erased".
She gave the class 10 minutes to the class to figure out the question. Then she asked me to give the answer.
But I was clueless! Can you help me find the answer?