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