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