On three-color Ramsey number of paths