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