GAUSS7 2018 Problem 24

The number 2018 is used to create six-digit positive integers. These six-digit integers must contain the digits 2018 together and in this order. For example, 720186 is allowed, but 209318 and 210893 are not. How many of these six-digit integers are divisible by 9?

Answer Choices
A. 28
B. 27
C. 31
D. 34
E. 22