Let $I$ be the incenter of triangle $ABC$. If $AB = AC$, $BC = 30,$ and $IC = 20$, then find the inradius of the triangle.