Bridging signals

POJ - 1631