The number A = 200420052006....2040 is formed by putting the consecutive integers from 2004 to 2040 together, what is the remainder when A is divided by 9?