4. $n$ is a positive integer, and it is defined that: $n!=1 \times 2 \times \cdots \times$ $n$. Then the remainder when $1!\times 1+2!\times 2+\cdots+59!\times 59$ is divided by 2006 is ( ).
(A) 1
(B) 5
(C) 401
(D) 2005