If the circumcenter of the triangle $ABC$ is on the incircle of the triangle,then prove that $\cos A+\cos B+\cos C=\sqrt2$  

How should i attempt this question?I thought over it hard but could not crack through.Some hints will help me.Please guide me.