Problem

Source: Sharygin Finals 2017, Problem 9.2

Tags: geometry, ratio



Let $I$ be the incenter of a triangle $ABC$, $M$ be the midpoint of $AC$, and $W$ be the midpoint of arc $AB$ of the circumcircle not containing $C$. It is known that $\angle AIM = 90^\circ$. Find the ratio $CI:IW$.