If p^x = q, q^y = r and r^z = p then the value of xyz is