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