if they didn't pay for the meal, the exclusive OR (XOR) of the two shared bits they hold with their two neighbours,
if they did pay for the meal, the opposite of that XOR.
dinning crypotographers problem
three #cryptographers walk in to a bar