How can I calculate $x=y^{\frac{1}z} \pmod n$?

53 Views Asked by At

How can I calculate $$x=y^{\frac{1}z} \pmod n$$

I have $y, z$ and $n$, but I really don't have any good ideas on how to get x without brute-forcing it. Is there any good way to calculate it?