Let $a_n$ be the last digit of the sum of the digits of the number formed by repeating the block $2005$ exactly $n$ times. Calculate $a_1 + a_2 + \dots + a_{2005}$.

Let's think step by step and output the final answer within \boxed{}.
user