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