# sorting network, 123 inputs; criterion sorted: the outputs are sorted on wires 0..122 [(0,1),(2,3),(4,5),(6,7),(8,9),(10,11),(12,13),(14,15),(16,17),(18,19),(20,21),(22,23),(24,25),(26,27),(28,29),(31,32),(33,34),(35,36),(37,38),(39,40),(41,42),(43,44),(45,46),(47,48),(49,50),(51,52),(53,54),(55,56),(57,58),(59,60),(62,63),(64,65),(66,67),(68,69),(70,71),(72,73),(74,75),(76,77),(78,79),(80,81),(82,83),(84,85),(86,87),(88,89),(90,91),(93,94),(95,96),(97,98),(99,100),(101,102),(103,104),(105,106),(107,108),(109,110),(111,112),(113,114),(115,116),(117,118),(119,120),(121,122)], [(0,2),(1,3),(4,6),(5,7),(8,10),(9,11),(12,14),(13,15),(16,18),(17,19),(20,22),(21,23),(24,26),(25,27),(28,30),(31,33),(32,34),(35,37),(36,38),(39,41),(40,42),(43,45),(44,46),(47,49),(48,50),(51,53),(52,54),(55,57),(56,58),(59,61),(62,64),(63,65),(66,68),(67,69),(70,72),(71,73),(74,76),(75,77),(78,80),(79,81),(82,84),(83,85),(86,88),(87,89),(90,92),(93,95),(94,96),(97,99),(98,100),(101,103),(102,104),(106,108),(107,109),(111,113),(112,114),(115,117),(116,118),(119,121),(120,122)], [(0,4),(1,5),(2,6),(3,7),(8,12),(9,13),(10,14),(11,15),(16,20),(17,21),(18,22),(19,23),(24,28),(25,29),(26,30),(31,35),(32,36),(33,37),(34,38),(39,43),(40,44),(41,45),(42,46),(47,51),(48,52),(49,53),(50,54),(55,59),(56,60),(57,61),(62,66),(63,67),(64,68),(65,69),(70,74),(71,75),(72,76),(73,77),(78,82),(79,83),(80,84),(81,85),(86,90),(87,91),(88,92),(93,97),(94,98),(95,99),(96,100),(101,107),(102,110),(103,109),(105,113),(106,112),(108,114),(115,119),(116,120),(117,121),(118,122)], [(0,8),(1,9),(2,10),(3,11),(4,12),(5,13),(6,14),(7,15),(16,24),(17,25),(18,26),(19,27),(20,28),(21,29),(22,30),(31,39),(32,40),(33,41),(34,42),(35,43),(36,44),(37,45),(38,46),(47,55),(48,56),(49,57),(50,58),(51,59),(52,60),(53,61),(62,70),(63,71),(64,72),(65,73),(66,74),(67,75),(68,76),(69,77),(78,86),(79,87),(80,88),(81,89),(82,90),(83,91),(84,92),(93,101),(94,102),(95,107),(96,110),(97,103),(98,104),(99,109),(105,119),(106,116),(108,120),(111,117),(112,118),(113,121),(114,122)], [(0,16),(1,8),(2,4),(3,12),(5,10),(6,9),(7,14),(11,13),(17,24),(18,20),(19,28),(21,26),(22,25),(23,30),(27,29),(31,47),(32,39),(33,35),(34,43),(36,41),(37,40),(38,45),(42,44),(48,55),(49,51),(50,59),(52,57),(53,56),(54,61),(58,60),(62,78),(63,70),(64,66),(65,74),(67,72),(68,71),(69,76),(73,75),(79,86),(80,82),(81,90),(83,88),(84,87),(85,92),(89,91),(94,106),(95,105),(96,108),(97,111),(98,112),(99,113),(100,114),(101,115),(102,116),(103,117),(104,118),(107,119),(109,121),(110,120)], [(1,2),(3,5),(4,8),(6,22),(7,11),(9,25),(10,12),(13,14),(17,18),(19,21),(20,24),(23,27),(26,28),(29,30),(32,33),(34,36),(35,39),(37,53),(38,42),(40,56),(41,43),(44,45),(48,49),(50,52),(51,55),(54,58),(57,59),(60,61),(63,64),(65,67),(66,70),(68,84),(69,73),(71,87),(72,74),(75,76),(79,80),(81,83),(82,86),(85,89),(88,90),(91,92),(93,97),(95,101),(96,106),(98,102),(99,115),(100,116),(103,105),(104,108),(107,111),(109,119),(110,112),(113,117),(114,120),(118,122),(0,62)], [(1,17),(2,18),(3,19),(4,20),(5,10),(7,23),(8,24),(11,27),(12,28),(13,29),(14,30),(21,26),(32,48),(33,49),(34,50),(35,51),(36,41),(38,54),(39,55),(42,58),(43,59),(44,60),(45,61),(52,57),(63,79),(64,80),(65,81),(66,82),(67,72),(69,85),(70,86),(73,89),(74,90),(75,91),(76,92),(83,88),(93,95),(94,107),(96,98),(97,101),(102,106),(104,110),(105,111),(108,121),(109,113),(114,118),(117,119),(120,122)], [(3,17),(4,16),(5,21),(6,18),(7,9),(8,20),(10,26),(11,23),(13,25),(14,28),(15,27),(22,24),(34,48),(35,47),(36,52),(37,49),(38,40),(39,51),(41,57),(42,54),(44,56),(45,59),(46,58),(53,55),(65,79),(66,78),(67,83),(68,80),(69,71),(70,82),(72,88),(73,85),(75,87),(76,90),(77,89),(84,86),(95,97),(98,102),(99,107),(100,106),(101,103),(108,116),(109,115),(112,114),(113,117),(118,120),(31,93)], [(1,4),(3,8),(5,16),(7,17),(9,21),(10,22),(11,19),(12,20),(14,24),(15,26),(23,28),(27,30),(32,35),(34,39),(36,47),(38,48),(40,52),(41,53),(42,50),(43,51),(45,55),(46,57),(54,59),(58,61),(63,66),(65,70),(67,78),(69,79),(71,83),(72,84),(73,81),(74,82),(76,86),(77,88),(85,90),(89,92),(99,101),(100,104),(103,107),(105,109),(106,110),(108,112),(111,115),(114,116),(0,31),(62,93)], [(2,5),(7,8),(9,18),(11,17),(12,16),(13,22),(14,20),(15,19),(23,24),(26,29),(33,36),(38,39),(40,49),(42,48),(43,47),(44,53),(45,51),(46,50),(54,55),(57,60),(64,67),(69,70),(71,80),(73,79),(74,78),(75,84),(76,82),(77,81),(85,86),(88,91),(97,99),(100,102),(101,103),(104,106),(105,107),(108,110),(109,111),(112,114),(113,115),(116,118),(1,63),(30,92),(31,62)], [(2,4),(6,12),(9,16),(10,11),(13,17),(14,18),(15,22),(19,25),(20,21),(27,29),(33,35),(37,43),(40,47),(41,42),(44,48),(45,49),(46,53),(50,56),(51,52),(58,60),(64,66),(68,74),(71,78),(72,73),(75,79),(76,80),(77,84),(81,87),(82,83),(89,91),(94,101),(96,111),(98,113),(100,115),(102,117),(103,105),(104,119),(106,108),(107,109),(110,112),(114,121),(30,61)], [(5,6),(8,12),(9,10),(11,13),(14,16),(15,17),(18,20),(19,23),(21,22),(25,26),(36,37),(39,43),(40,41),(42,44),(45,47),(46,48),(49,51),(50,54),(52,53),(56,57),(67,68),(70,74),(71,72),(73,75),(76,78),(77,79),(80,82),(81,85),(83,84),(87,88),(94,95),(96,103),(98,105),(100,107),(102,109),(104,111),(106,113),(108,115),(110,117),(112,119),(120,121),(2,64),(29,91),(60,122),(61,92)], [(3,5),(6,7),(8,9),(10,12),(11,14),(13,16),(15,18),(17,20),(19,21),(22,23),(24,25),(26,28),(34,36),(37,38),(39,40),(41,43),(42,45),(44,47),(46,49),(48,51),(50,52),(53,54),(55,56),(57,59),(65,67),(68,69),(70,71),(72,74),(73,76),(75,78),(77,80),(79,82),(81,83),(84,85),(86,87),(88,90),(95,97),(96,99),(98,101),(100,103),(102,105),(104,107),(106,109),(108,111),(110,113),(112,115),(114,117),(116,119),(118,120),(32,94),(29,60),(91,122)], [(3,4),(5,6),(7,8),(9,10),(11,12),(13,14),(15,16),(17,18),(19,20),(21,22),(23,24),(25,26),(27,28),(34,35),(36,37),(38,39),(40,41),(42,43),(44,45),(46,47),(48,49),(50,51),(52,53),(54,55),(56,57),(58,59),(65,66),(67,68),(69,70),(71,72),(73,74),(75,76),(77,78),(79,80),(81,82),(83,84),(85,86),(87,88),(89,90),(96,97),(98,99),(100,101),(102,103),(104,105),(106,107),(108,109),(110,111),(112,113),(114,115),(116,117),(118,119),(33,95),(1,32),(63,94),(60,91),(92,122)], [(3,65),(4,66),(5,67),(6,68),(7,69),(8,70),(9,71),(10,72),(11,73),(12,74),(13,75),(14,76),(15,77),(16,78),(17,79),(18,80),(19,81),(20,82),(21,83),(22,84),(23,85),(24,86),(25,87),(26,88),(27,89),(28,90),(34,96),(35,97),(36,98),(37,99),(38,100),(39,101),(40,102),(41,103),(42,104),(43,105),(44,106),(45,107),(46,108),(47,109),(48,110),(49,111),(50,112),(51,113),(52,114),(53,115),(54,116),(55,117),(56,118),(57,119),(58,120),(59,121),(2,33),(64,95),(32,63),(1,31)], [(3,34),(4,35),(5,36),(6,37),(7,38),(8,39),(9,40),(10,41),(11,42),(12,43),(13,44),(14,45),(15,46),(16,47),(17,48),(18,49),(19,50),(20,51),(21,52),(22,53),(23,54),(24,55),(25,56),(26,57),(27,58),(28,59),(65,96),(66,97),(67,98),(68,99),(69,100),(70,101),(71,102),(72,103),(73,104),(74,105),(75,106),(76,107),(77,108),(78,109),(79,110),(80,111),(81,112),(82,113),(83,114),(84,115),(85,116),(86,117),(87,118),(88,119),(89,120),(90,121),(33,64)], [(34,65),(35,66),(36,67),(37,68),(38,69),(39,70),(40,71),(41,72),(42,73),(43,74),(44,75),(45,76),(46,77),(47,78),(48,79),(49,80),(50,81),(51,82),(52,83),(53,84),(54,85),(55,86),(56,87),(57,88),(58,89),(59,90),(60,106),(16,62),(10,33),(17,63),(3,32),(91,114),(61,107),(18,64)], [(42,96),(51,97),(25,71),(30,76),(48,94),(56,102),(23,69),(7,34),(58,104),(49,95),(19,65),(21,67),(87,110),(52,98),(88,111),(26,72),(85,108),(50,73),(24,70),(89,112),(59,105),(57,103),(53,99),(47,93),(13,36),(29,75),(28,74),(55,101),(22,68),(86,109),(90,113),(14,37),(20,66),(12,35),(60,83),(40,63),(106,118),(5,17),(41,64),(92,107),(39,62),(6,18),(16,31),(9,32),(114,120)], [(82,97),(27,96),(44,67),(69,100),(89,104),(76,99),(56,79),(25,48),(55,78),(26,49),(11,19),(24,47),(70,93),(30,53),(75,98),(38,42),(28,66),(43,51),(105,117),(72,95),(88,103),(20,35),(57,80),(59,74),(87,102),(29,52),(86,101),(22,37),(21,40),(91,106),(8,31),(18,33),(92,115),(17,32),(5,9),(2,16),(107,121),(114,118)], [(27,81),(56,94),(25,36),(84,99),(54,100),(26,64),(30,68),(104,116),(60,75),(58,96),(47,62),(55,93),(51,66),(28,43),(59,82),(90,105),(57,72),(46,69),(29,67),(15,38),(74,97),(48,63),(11,34),(115,119),(4,8)], [(27,65),(71,94),(49,64),(24,47),(45,68),(75,98),(61,84),(26,41),(43,51),(55,70),(59,66),(81,96),(72,95),(23,38),(90,97),(78,93),(58,73),(36,40),(54,77),(15,34),(29,44),(82,86),(25,32),(85,100),(28,35),(52,67),(4,16),(107,119)], [(79,94),(24,39),(84,99),(50,65),(83,98),(26,33),(59,70),(57,64),(56,71),(53,68),(23,42),(89,96),(74,93),(30,45),(66,78),(80,95),(90,101),(61,76),(54,69),(19,34),(55,62),(29,48),(97,109),(73,81),(38,46),(21,32),(60,67),(77,85),(13,25),(35,47)], [(24,31),(91,98),(92,99),(87,94),(58,65),(88,95),(30,37),(27,42),(61,68),(23,34),(45,57),(22,33),(53,64),(29,36),(43,55),(96,108),(51,62),(89,100),(86,93),(28,39),(40,48),(56,63),(13,17),(14,26),(60,71),(73,77),(21,25),(81,85),(74,82),(67,79)], [(20,31),(30,41),(42,50),(65,69),(98,110),(76,88),(92,103),(68,80),(84,95),(37,49),(27,34),(12,24),(99,111),(61,72),(83,94),(22,28),(44,56),(52,63),(64,70),(75,87),(54,58),(7,13),(11,17),(91,102),(57,62),(29,32),(45,51),(36,40),(67,73),(104,108),(33,39),(15,21),(77,81),(19,25)], [(110,116),(38,42),(84,90),(6,12),(37,43),(99,105),(103,109),(46,50),(22,31),(92,97),(18,24),(94,100),(58,65),(111,117),(44,48),(14,20),(49,55),(61,66),(60,63),(69,71),(52,56),(59,62),(72,78),(98,102),(83,85),(75,79),(87,89),(27,32),(30,35),(7,9),(67,70),(80,82),(15,17),(76,86),(23,29)], [(34,38),(42,46),(92,101),(84,93),(6,10),(14,24),(51,55),(37,41),(91,100),(99,109),(50,54),(61,64),(112,116),(113,117),(22,26),(68,78),(53,62),(83,87),(63,65),(58,60),(85,89),(102,108),(71,73),(98,104),(35,39),(76,80),(82,86),(75,77),(23,25),(79,81)], [(42,44),(6,16),(45,51),(41,47),(88,93),(46,48),(96,100),(14,18),(107,117),(105,109),(64,69),(53,59),(68,74),(99,103),(50,52),(85,87),(106,112),(54,56),(26,31),(61,63),(95,101),(38,40),(20,24),(114,116),(65,67),(34,36),(30,35),(73,75),(80,83),(81,82),(76,79)], [(8,16),(45,49),(107,115),(68,72),(84,88),(74,78),(91,96),(48,50),(53,57),(37,41),(52,55),(56,58),(66,69),(106,110),(97,101),(21,24),(40,42),(90,93),(43,47),(112,114),(28,31),(15,18),(98,100),(92,95),(30,33),(36,38),(60,61),(117,120),(3,6),(32,34),(80,81),(99,102),(64,65),(17,20),(82,83),(23,26)], [(10,16),(45,46),(115,118),(53,54),(107,113),(91,94),(48,49),(5,8),(69,70),(37,39),(68,71),(77,78),(97,100),(22,24),(40,41),(27,30),(29,31),(92,93),(119,120),(60,62),(42,43),(72,73),(50,51),(106,108),(66,67),(101,104),(74,75),(25,28),(56,57),(95,98),(34,35),(58,59),(32,33),(84,86),(81,82),(17,18),(3,4)], [(12,16),(107,111),(52,53),(19,22),(7,10),(89,91),(27,29),(45,47),(70,71),(92,94),(105,108),(38,39),(78,79),(61,62),(113,116),(99,101),(93,96),(54,55),(33,34),(57,58),(97,98),(103,106),(117,118),(68,69),(36,37),(76,77),(84,85),(25,26),(5,6),(86,87),(59,60),(49,50),(65,66),(73,74),(41,42)], [(13,16),(22,24),(9,12),(88,89),(44,45),(107,109),(29,31),(79,80),(90,91),(101,104),(53,54),(27,28),(19,21),(35,36),(105,106),(95,96),(99,100),(83,84),(111,114),(75,76),(7,8),(67,68),(62,63),(115,116),(37,38),(55,56),(77,78),(71,72),(39,40),(85,86),(51,52),(69,70),(93,94)], [(14,16),(43,44),(30,31),(107,110),(109,112),(9,10),(45,47),(91,92),(89,90),(102,104),(113,114),(87,88),(63,64),(19,20),(23,24)], [(11,14),(107,108),(31,32),(109,110),(46,47),(103,104),(111,112)], [(14,16),(11,13),(47,48)], [(15,16),(11,12)],