In the High Court of Farnia, the outcome of each case is determined by three judges: the ass, the beaver and the centaur. Each judge decides its verdict independently. Being simple creatures, they make their decisions entirely at random. Past verdicts show that the ass gives a guilty verdict with probability , the beaver gives a guilty verdict with probability and the centaur gives a guilty verdict with probability .
Let be the number of guilty verdicts given by the three judges in a case. Given that , find the value of .
The probability that a defendant brought to trial is guilty is . The King pronounces that the defendant is guilty if at least two of the judges give a guilty verdict; otherwise, he pronounces the defendant not guilty. Find the value of such that the probability that the King pronounces correctly is .