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