The system of equations xyx+y=1,xzx+z=1,yzy+z=5 has exactly one solution. What is z in this solution?