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