Find the value of \(i + 2i^2 + 3i^3 + \ldots + 2002i^{2002}\). The original answer is in the form of \(k + mi\), please give the value of \(k + m\).

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