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