//=======================================================//
/* - wirePool - */
//=======================================================//
WireConnection[] wires = new WireConnection[his.readInt()];
for(int i=0; i < wires.length; i++){
int part1 = his.readInt();
int part2 = his.readInt();
wires[i] = new WireConnection(0x7FFFFFFF&part1,part2 >> 16,(part2 << 16) >> 16,(part1 & 0x80000000) == 0x80000000);
}
//=======================================================//