Let's say I have
$p, g$ - known constant, $p$ is prime number, $g$ is composite.
$x$ - unknown random number, $2 < x < p - 1$
$k$ - my input
$S = k^x \bmod p$
$1 < S < p-1$
So, what $k$ should I use to make $S$ predictable? I mean, I want to know exactly what is $S$ equal to.