There are four points $T,I,P,$ and $O$ in the plane. Suppose $\triangle TIP$ and $\triangle TOP$ are isosceles triangles. Also suppose that $TI=5,$ $PI=7,$ and $PO=11$.

What are all the possible lengths $TP$? Enter the possible values, separated by commas.