Triangle ABC has AB=5, BC=12 and AC=13. The perpendicular bisector of AC intersects the extension of AB at O. Then OC is