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