Find the maximum and minimum values of cosx+cosy+cosz\cos x + \cos y + \cos zcosx+cosy+cosz, where x,y,zx, y, zx,y, are non-negative reals with sum .