AMC 10B 2018 Problem 16

Let a_{1}, a_{2}, \ldots, a_{2018} be a strictly increasing sequence of positive integers such that

a_{1}+a_{2}+\cdots+a_{2018}=2018^{2018}

What is the remainder when a_{1}^{3}+a_{2}^{3}+\cdots+a_{2018}^{3} is divided by 6 ?

Answer Choices
A. 0
B. 1
C. 2
D. 3
E. 4