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