An integer consists of 2010 digits such that any consecutive 10 digits are different. What is the sum of all digits?