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,z are non-negative reals with sum 4π3\frac{4\pi}{3}34π.