The jesters are auditioning for the king and don't know if the king is short or tall. They want to send someone who is not too tall and not too short so as not to insult him, but they don't know which one of them fits that criteria. The CyberSquad lines the jesters up from shortest to tallest and repeatedly takes one away from each end of the line to find the jester that is the middle height.
The CyberSquad needs to pay the toll to make it across the bridge. Instead of money, the trolls want the same number of scones as the number of warts on a troll's face. The CyberSquad members count the number of warts on each troll's face, and after Jackie stacks the counts, they find that an equal number of trolls have 4, 5, and 6 warts. They look for the middle number that splits the group evenly and decide to pay a toll of 5 scones.