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