Question 13
In the cryptarithm $\overline{TIC}+\overline{TAC}+\overline{TOE}=\overline{WIN}$, different letters represent different decimal digits and equal letters represent the same digit. Given $A=5$ and $O=4$, find the greatest possible value of $\overline{WIN}$. The leading digits $T,W$ are nonzero.

**Input:** Enter the integer only, without units.

**Input:** Enter the integer only, without units.