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