Let $O$ and $I$ be the circumcenter and incenter of triangle $ABC$. The perpendicular from $I$ to $OI$ meets $AB$ and the external bisector of angle $C$ at points $X$ and $Y$ respectively. In what ratio does $I$ divide the segment $XY$?