Solution (source code)

= Solution

Every particle is initially at distance $R$ from the axis, so
$$
\boxed{I(0)=\sum_i m_iR^2=mR^2}.
$$