# sorting network, 127 inputs; criterion sorted: the outputs are sorted on wires 0..126 [(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),(79,92),(80,91),(81,94),(82,93),(83,87),(84,85),(86,90),(88,89),(95,108),(96,107),(97,110),(98,109),(99,103),(100,101),(102,106),(104,105),(111,124),(112,123),(113,126),(114,125),(115,119),(116,117),(118,122),(120,121)], [(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,84),(80,86),(81,88),(82,83),(85,92),(87,93),(89,94),(90,91),(95,100),(96,102),(97,104),(98,99),(101,108),(103,109),(105,110),(106,107),(111,116),(112,118),(113,120),(114,115),(117,124),(119,125),(121,126),(122,123)], [(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,80),(81,82),(83,84),(85,87),(86,88),(89,90),(91,92),(93,94),(95,96),(97,98),(99,100),(101,103),(102,104),(105,106),(107,108),(109,110),(111,112),(113,114),(115,116),(117,119),(118,120),(121,122),(123,124),(125,126)], [(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,81),(80,82),(83,89),(84,90),(85,86),(87,88),(91,93),(92,94),(95,97),(96,98),(99,105),(100,106),(101,102),(103,104),(107,109),(108,110),(111,113),(112,114),(115,121),(116,122),(117,118),(119,120),(123,125),(124,126)], [(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),(79,111),(80,81),(82,91),(83,85),(84,86),(87,89),(88,90),(92,93),(96,97),(98,107),(99,101),(100,102),(103,105),(104,106),(108,109),(110,126),(112,113),(114,123),(115,117),(116,118),(119,121),(120,122),(124,125)], [(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),(80,83),(81,85),(84,87),(86,89),(88,92),(90,93),(96,99),(97,101),(100,103),(102,105),(104,108),(106,109),(112,115),(113,117),(116,119),(118,121),(120,124),(122,125)], [(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,95),(65,66),(67,69),(72,74),(75,76),(78,125),(80,112),(81,83),(82,85),(88,91),(90,92),(93,109),(97,99),(98,101),(104,107),(106,108),(113,115),(114,117),(120,123),(122,124)], [(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,96),(67,68),(69,70),(71,72),(73,74),(77,124),(78,93),(81,113),(82,84),(85,87),(86,88),(89,91),(92,108),(95,111),(98,100),(101,103),(102,104),(105,107),(109,125),(114,116),(117,119),(118,120),(121,123)], [(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),(77,92),(79,95),(82,83),(84,85),(86,87),(88,89),(90,91),(93,109),(96,112),(98,99),(100,101),(102,103),(104,105),(106,107),(108,124),(114,115),(116,117),(118,119),(120,121),(122,123),(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,97),(68,115),(69,70),(71,72),(74,105),(75,94),(76,123),(80,96),(82,114),(83,99),(84,100),(85,86),(87,88),(89,121),(90,122),(91,107),(92,108),(101,102),(103,104),(117,118),(119,120)], [(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,102),(68,83),(69,116),(70,117),(71,106),(72,103),(73,104),(74,89),(75,110),(76,91),(82,98),(85,101),(86,118),(87,119),(88,120),(94,126),(97,113),(99,115),(105,121),(107,123)], [(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),(67,86),(68,79),(69,84),(70,85),(71,114),(72,87),(73,88),(76,83),(81,97),(89,105),(90,98),(91,107),(94,110),(100,116),(101,117),(102,118),(103,119),(104,120),(106,122),(109,121),(125,126)], [(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),(67,82),(69,80),(70,81),(71,90),(72,95),(73,96),(74,97),(75,102),(77,84),(78,85),(83,99),(87,103),(88,104),(89,113),(91,115),(92,116),(93,117),(94,118),(106,114),(107,119),(108,120),(110,122),(62,126)], [(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),(71,82),(72,79),(73,80),(74,81),(78,89),(83,95),(84,100),(85,101),(86,102),(87,111),(88,112),(93,113),(98,106),(99,103),(107,115),(108,116),(109,117),(110,118),(122,124),(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),(67,73),(75,86),(76,87),(77,88),(84,96),(85,97),(90,98),(91,111),(92,112),(94,102),(100,104),(101,105),(106,114),(117,123),(118,120),(124,125)], [(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),(67,72),(75,90),(76,83),(77,84),(78,85),(86,98),(87,95),(88,96),(89,97),(91,99),(92,100),(93,101),(94,106),(102,114),(103,111),(104,112),(105,113),(120,121),(122,123),(61,125)], [(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),(75,82),(76,79),(77,80),(78,81),(83,87),(84,88),(85,89),(86,90),(91,95),(92,96),(93,97),(94,98),(99,103),(100,104),(101,105),(102,106),(107,111),(108,112),(109,113),(110,114),(120,122),(121,123),(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,95),(90,92),(93,99),(94,96),(97,103),(98,100),(101,107),(102,104),(105,111),(106,108),(109,115),(110,112),(113,119),(114,116),(121,122),(123,124)], [(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),(69,70),(71,74),(73,76),(75,79),(77,78),(80,83),(81,82),(84,87),(85,86),(88,91),(89,90),(92,95),(93,94),(96,99),(97,98),(100,101),(102,103),(104,105),(106,107),(108,111),(109,110),(112,114),(113,115),(116,117),(118,119)], [(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,69),(70,72),(71,73),(74,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,106),(105,107),(108,109),(110,111),(112,113),(114,115),(116,118),(117,119)], [(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),(60,124)], [(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),(122,124),(123,125)], [(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)],