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