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