If in a triangle ABC, the line joining the circumcentre and incentre is parallel to BC, then cosA+cosC is equal to