2){ print "Impossible" . "\n"; return; } if($pool[$i][1] == 1) $ans = $input[$i]; } print $ans . "\n"; } ?>