If the lines \(\frac{x-1}{2}=\frac{y-2}{3}=\frac{z-1}{4}\) and \(\frac{x-3}{-1}=\frac{y-\mathrm{k}}{2}=\frac{\mathrm{z}}{1}\) intersect, then k is equal to