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