Identifier
Mp00066: Permutations inversePermutations
Mp00126: Permutations cactus evacuationPermutations
Mp00209: Permutations pattern poset Posets
Images
=>
Cc0014;cc-rep-3
[1]=>[1]=>[1]=>([],1) [1,2]=>[1,2]=>[1,2]=>([(0,1)],2) [2,1]=>[2,1]=>[2,1]=>([(0,1)],2) [1,2,3]=>[1,2,3]=>[1,2,3]=>([(0,2),(2,1)],3) [1,3,2]=>[1,3,2]=>[3,1,2]=>([(0,1),(0,2),(1,3),(2,3)],4) [2,1,3]=>[2,1,3]=>[2,3,1]=>([(0,1),(0,2),(1,3),(2,3)],4) [2,3,1]=>[3,1,2]=>[1,3,2]=>([(0,1),(0,2),(1,3),(2,3)],4) [3,1,2]=>[2,3,1]=>[2,1,3]=>([(0,1),(0,2),(1,3),(2,3)],4) [3,2,1]=>[3,2,1]=>[3,2,1]=>([(0,2),(2,1)],3) [1,2,3,4]=>[1,2,3,4]=>[1,2,3,4]=>([(0,3),(2,1),(3,2)],4) [1,2,4,3]=>[1,2,4,3]=>[4,1,2,3]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,3,2,4]=>[1,3,2,4]=>[1,3,2,4]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [1,3,4,2]=>[1,4,2,3]=>[1,4,2,3]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [1,4,2,3]=>[1,3,4,2]=>[3,1,2,4]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [1,4,3,2]=>[1,4,3,2]=>[4,3,1,2]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [2,1,3,4]=>[2,1,3,4]=>[2,3,4,1]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [2,1,4,3]=>[2,1,4,3]=>[2,1,4,3]=>([(0,1),(0,2),(1,4),(1,5),(2,4),(2,5),(4,3),(5,3)],6) [2,3,1,4]=>[3,1,2,4]=>[1,3,4,2]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [2,3,4,1]=>[4,1,2,3]=>[1,2,4,3]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [2,4,1,3]=>[3,1,4,2]=>[3,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(6,5),(7,5)],8) [2,4,3,1]=>[4,1,3,2]=>[4,1,3,2]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [3,1,2,4]=>[2,3,1,4]=>[2,3,1,4]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [3,1,4,2]=>[2,4,1,3]=>[2,4,1,3]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(6,5),(7,5)],8) [3,2,1,4]=>[3,2,1,4]=>[3,4,2,1]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [3,2,4,1]=>[4,2,1,3]=>[2,4,3,1]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [3,4,1,2]=>[3,4,1,2]=>[3,4,1,2]=>([(0,1),(0,2),(1,4),(1,5),(2,4),(2,5),(4,3),(5,3)],6) [3,4,2,1]=>[4,3,1,2]=>[1,4,3,2]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [4,1,2,3]=>[2,3,4,1]=>[2,1,3,4]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [4,1,3,2]=>[2,4,3,1]=>[4,2,1,3]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [4,2,1,3]=>[3,2,4,1]=>[3,2,4,1]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [4,2,3,1]=>[4,2,3,1]=>[4,2,3,1]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [4,3,1,2]=>[3,4,2,1]=>[3,2,1,4]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [4,3,2,1]=>[4,3,2,1]=>[4,3,2,1]=>([(0,3),(2,1),(3,2)],4) [1,2,3,4,5]=>[1,2,3,4,5]=>[1,2,3,4,5]=>([(0,4),(2,3),(3,1),(4,2)],5) [1,2,3,5,4]=>[1,2,3,5,4]=>[5,1,2,3,4]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [1,2,4,3,5]=>[1,2,4,3,5]=>[1,4,2,3,5]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,10),(4,5),(4,6),(4,10),(5,9),(5,11),(6,9),(6,11),(7,9),(7,11),(9,8),(10,11),(11,8)],12) [1,2,4,5,3]=>[1,2,5,3,4]=>[1,5,2,3,4]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,2,5,3,4]=>[1,2,4,5,3]=>[4,1,2,3,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,2,5,4,3]=>[1,2,5,4,3]=>[5,4,1,2,3]=>([(0,3),(0,4),(1,7),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6),(5,7),(6,8),(7,8)],9) [1,3,2,4,5]=>[1,3,2,4,5]=>[1,3,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,10),(4,5),(4,6),(4,10),(5,9),(5,11),(6,9),(6,11),(7,9),(7,11),(9,8),(10,11),(11,8)],12) [1,3,2,5,4]=>[1,3,2,5,4]=>[3,1,5,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(2,6),(2,9),(2,11),(3,6),(3,9),(3,10),(4,7),(4,9),(4,10),(4,11),(5,7),(5,9),(5,10),(5,11),(6,13),(7,12),(7,13),(9,12),(9,13),(10,12),(10,13),(11,12),(11,13),(12,8),(13,8)],14) [1,3,4,2,5]=>[1,4,2,3,5]=>[1,2,4,3,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,3,4,5,2]=>[1,5,2,3,4]=>[1,2,5,3,4]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,3,5,2,4]=>[1,4,2,5,3]=>[4,1,5,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [1,3,5,4,2]=>[1,5,2,4,3]=>[5,1,4,2,3]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [1,4,2,3,5]=>[1,3,4,2,5]=>[1,3,2,4,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,4,2,5,3]=>[1,3,5,2,4]=>[3,5,1,2,4]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [1,4,3,2,5]=>[1,4,3,2,5]=>[1,4,3,2,5]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,4,3,5,2]=>[1,5,3,2,4]=>[1,5,3,2,4]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [1,4,5,2,3]=>[1,4,5,2,3]=>[4,5,1,2,3]=>([(0,3),(0,4),(1,8),(2,7),(2,8),(3,1),(3,5),(4,2),(4,5),(5,7),(5,8),(7,6),(8,6)],9) [1,4,5,3,2]=>[1,5,4,2,3]=>[1,5,4,2,3]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,5,2,3,4]=>[1,3,4,5,2]=>[3,1,2,4,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,5,2,4,3]=>[1,3,5,4,2]=>[5,3,1,2,4]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [1,5,3,2,4]=>[1,4,3,5,2]=>[4,1,3,2,5]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [1,5,3,4,2]=>[1,5,3,4,2]=>[5,1,3,2,4]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [1,5,4,2,3]=>[1,4,5,3,2]=>[4,3,1,2,5]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,5,4,3,2]=>[1,5,4,3,2]=>[5,4,3,1,2]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [2,1,3,4,5]=>[2,1,3,4,5]=>[2,3,4,5,1]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [2,1,3,5,4]=>[2,1,3,5,4]=>[2,1,3,5,4]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [2,1,4,3,5]=>[2,1,4,3,5]=>[2,4,1,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(2,6),(2,9),(2,11),(3,6),(3,9),(3,10),(4,7),(4,9),(4,10),(4,11),(5,7),(5,9),(5,10),(5,11),(6,13),(7,12),(7,13),(9,12),(9,13),(10,12),(10,13),(11,12),(11,13),(12,8),(13,8)],14) [2,1,4,5,3]=>[2,1,5,3,4]=>[2,3,1,5,4]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [2,1,5,3,4]=>[2,1,4,5,3]=>[2,1,4,5,3]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [2,1,5,4,3]=>[2,1,5,4,3]=>[5,2,1,4,3]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11) [2,3,1,4,5]=>[3,1,2,4,5]=>[1,3,4,5,2]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [2,3,1,5,4]=>[3,1,2,5,4]=>[3,1,2,5,4]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [2,3,4,1,5]=>[4,1,2,3,5]=>[1,2,4,5,3]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [2,3,4,5,1]=>[5,1,2,3,4]=>[1,2,3,5,4]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [2,3,5,1,4]=>[4,1,2,5,3]=>[4,1,2,5,3]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [2,3,5,4,1]=>[5,1,2,4,3]=>[5,1,2,4,3]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [2,4,1,3,5]=>[3,1,4,2,5]=>[3,4,1,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [2,4,1,5,3]=>[3,1,5,2,4]=>[1,3,2,5,4]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(3,8),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [2,4,3,1,5]=>[4,1,3,2,5]=>[1,4,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [2,4,3,5,1]=>[5,1,3,2,4]=>[1,5,3,4,2]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [2,4,5,1,3]=>[4,1,5,2,3]=>[1,4,2,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [2,4,5,3,1]=>[5,1,4,2,3]=>[1,5,2,4,3]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [2,5,1,3,4]=>[3,1,4,5,2]=>[3,1,4,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [2,5,1,4,3]=>[3,1,5,4,2]=>[5,3,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [2,5,3,1,4]=>[4,1,3,5,2]=>[4,1,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(1,11),(1,12),(2,7),(2,11),(2,12),(3,7),(3,9),(3,10),(4,6),(4,10),(4,12),(5,6),(5,9),(5,11),(6,14),(7,13),(9,13),(9,14),(10,13),(10,14),(11,13),(11,14),(12,13),(12,14),(13,8),(14,8)],15) [2,5,3,4,1]=>[5,1,3,4,2]=>[5,1,3,4,2]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [2,5,4,1,3]=>[4,1,5,3,2]=>[4,3,1,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [2,5,4,3,1]=>[5,1,4,3,2]=>[5,4,1,3,2]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [3,1,2,4,5]=>[2,3,1,4,5]=>[2,3,4,1,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [3,1,2,5,4]=>[2,3,1,5,4]=>[2,1,5,3,4]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [3,1,4,2,5]=>[2,4,1,3,5]=>[2,4,5,1,3]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [3,1,4,5,2]=>[2,5,1,3,4]=>[2,3,5,1,4]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [3,1,5,2,4]=>[2,4,1,5,3]=>[2,1,4,3,5]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(3,8),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [3,1,5,4,2]=>[2,5,1,4,3]=>[5,2,4,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [3,2,1,4,5]=>[3,2,1,4,5]=>[3,4,5,2,1]=>([(0,3),(0,4),(1,7),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6),(5,7),(6,8),(7,8)],9) [3,2,1,5,4]=>[3,2,1,5,4]=>[3,2,5,4,1]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11) [3,2,4,1,5]=>[4,2,1,3,5]=>[2,4,5,3,1]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [3,2,4,5,1]=>[5,2,1,3,4]=>[2,3,5,4,1]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [3,2,5,1,4]=>[4,2,1,5,3]=>[4,2,5,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [3,2,5,4,1]=>[5,2,1,4,3]=>[2,1,5,4,3]=>([(0,3),(0,4),(1,8),(2,7),(2,8),(3,1),(3,5),(4,2),(4,5),(5,7),(5,8),(7,6),(8,6)],9) [3,4,1,2,5]=>[3,4,1,2,5]=>[3,4,5,1,2]=>([(0,3),(0,4),(1,8),(2,7),(2,8),(3,1),(3,5),(4,2),(4,5),(5,7),(5,8),(7,6),(8,6)],9) [3,4,1,5,2]=>[3,5,1,2,4]=>[1,3,5,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [3,4,2,1,5]=>[4,3,1,2,5]=>[1,4,5,3,2]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [3,4,2,5,1]=>[5,3,1,2,4]=>[1,3,5,4,2]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [3,4,5,1,2]=>[4,5,1,2,3]=>[1,4,5,2,3]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11) [3,4,5,2,1]=>[5,4,1,2,3]=>[1,2,5,4,3]=>([(0,3),(0,4),(1,7),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6),(5,7),(6,8),(7,8)],9) [3,5,1,2,4]=>[3,4,1,5,2]=>[3,1,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [3,5,1,4,2]=>[3,5,1,4,2]=>[5,3,4,1,2]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(3,8),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [3,5,2,1,4]=>[4,3,1,5,2]=>[4,1,5,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [3,5,2,4,1]=>[5,3,1,4,2]=>[3,1,5,4,2]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [3,5,4,1,2]=>[4,5,1,3,2]=>[4,3,5,1,2]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [3,5,4,2,1]=>[5,4,1,3,2]=>[5,1,4,3,2]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [4,1,2,3,5]=>[2,3,4,1,5]=>[2,3,1,4,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [4,1,2,5,3]=>[2,3,5,1,4]=>[2,5,1,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [4,1,3,2,5]=>[2,4,3,1,5]=>[2,4,3,1,5]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [4,1,3,5,2]=>[2,5,3,1,4]=>[2,5,3,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(1,11),(1,12),(2,7),(2,11),(2,12),(3,7),(3,9),(3,10),(4,6),(4,10),(4,12),(5,6),(5,9),(5,11),(6,14),(7,13),(9,13),(9,14),(10,13),(10,14),(11,13),(11,14),(12,13),(12,14),(13,8),(14,8)],15) [4,1,5,2,3]=>[2,4,5,1,3]=>[2,4,1,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [4,1,5,3,2]=>[2,5,4,1,3]=>[2,5,4,1,3]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [4,2,1,3,5]=>[3,2,4,1,5]=>[3,4,2,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [4,2,1,5,3]=>[3,2,5,1,4]=>[3,5,2,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14) [4,2,3,1,5]=>[4,2,3,1,5]=>[2,4,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [4,2,3,5,1]=>[5,2,3,1,4]=>[2,5,3,4,1]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [4,2,5,1,3]=>[4,2,5,1,3]=>[4,5,2,3,1]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(3,8),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [4,2,5,3,1]=>[5,2,4,1,3]=>[2,5,1,4,3]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [4,3,1,2,5]=>[3,4,2,1,5]=>[3,4,2,1,5]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [4,3,1,5,2]=>[3,5,2,1,4]=>[3,5,2,1,4]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13) [4,3,2,1,5]=>[4,3,2,1,5]=>[4,5,3,2,1]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [4,3,2,5,1]=>[5,3,2,1,4]=>[3,5,4,2,1]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [4,3,5,1,2]=>[4,5,2,1,3]=>[4,5,2,1,3]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [4,3,5,2,1]=>[5,4,2,1,3]=>[2,5,4,3,1]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [4,5,1,2,3]=>[3,4,5,1,2]=>[3,4,1,2,5]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11) [4,5,1,3,2]=>[3,5,4,1,2]=>[3,5,4,1,2]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [4,5,2,1,3]=>[4,3,5,1,2]=>[4,5,1,3,2]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [4,5,2,3,1]=>[5,3,4,1,2]=>[3,5,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(2,6),(2,9),(2,11),(3,6),(3,9),(3,10),(4,7),(4,9),(4,10),(4,11),(5,7),(5,9),(5,10),(5,11),(6,13),(7,12),(7,13),(9,12),(9,13),(10,12),(10,13),(11,12),(11,13),(12,8),(13,8)],14) [4,5,3,1,2]=>[4,5,3,1,2]=>[4,5,3,1,2]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [4,5,3,2,1]=>[5,4,3,1,2]=>[1,5,4,3,2]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [5,1,2,3,4]=>[2,3,4,5,1]=>[2,1,3,4,5]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [5,1,2,4,3]=>[2,3,5,4,1]=>[5,2,1,3,4]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [5,1,3,2,4]=>[2,4,3,5,1]=>[4,2,3,1,5]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [5,1,3,4,2]=>[2,5,3,4,1]=>[5,2,3,1,4]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [5,1,4,2,3]=>[2,4,5,3,1]=>[4,2,1,3,5]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [5,1,4,3,2]=>[2,5,4,3,1]=>[5,4,2,1,3]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [5,2,1,3,4]=>[3,2,4,5,1]=>[3,2,4,5,1]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [5,2,1,4,3]=>[3,2,5,4,1]=>[3,2,1,5,4]=>([(0,3),(0,4),(1,8),(2,7),(2,8),(3,1),(3,5),(4,2),(4,5),(5,7),(5,8),(7,6),(8,6)],9) [5,2,3,1,4]=>[4,2,3,5,1]=>[4,2,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [5,2,3,4,1]=>[5,2,3,4,1]=>[5,2,3,4,1]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [5,2,4,1,3]=>[4,2,5,3,1]=>[4,2,1,5,3]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [5,2,4,3,1]=>[5,2,4,3,1]=>[5,4,2,3,1]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [5,3,1,2,4]=>[3,4,2,5,1]=>[3,2,4,1,5]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [5,3,1,4,2]=>[3,5,2,4,1]=>[3,2,5,1,4]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [5,3,2,1,4]=>[4,3,2,5,1]=>[4,3,5,2,1]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [5,3,2,4,1]=>[5,3,2,4,1]=>[5,3,4,2,1]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [5,3,4,1,2]=>[4,5,2,3,1]=>[4,2,5,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(2,6),(2,9),(2,11),(3,6),(3,9),(3,10),(4,7),(4,9),(4,10),(4,11),(5,7),(5,9),(5,10),(5,11),(6,13),(7,12),(7,13),(9,12),(9,13),(10,12),(10,13),(11,12),(11,13),(12,8),(13,8)],14) [5,3,4,2,1]=>[5,4,2,3,1]=>[5,2,4,3,1]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,10),(4,5),(4,6),(4,10),(5,9),(5,11),(6,9),(6,11),(7,9),(7,11),(9,8),(10,11),(11,8)],12) [5,4,1,2,3]=>[3,4,5,2,1]=>[3,2,1,4,5]=>([(0,3),(0,4),(1,7),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6),(5,7),(6,8),(7,8)],9) [5,4,1,3,2]=>[3,5,4,2,1]=>[5,3,2,1,4]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [5,4,2,1,3]=>[4,3,5,2,1]=>[4,3,2,5,1]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [5,4,2,3,1]=>[5,3,4,2,1]=>[5,3,2,4,1]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,10),(4,5),(4,6),(4,10),(5,9),(5,11),(6,9),(6,11),(7,9),(7,11),(9,8),(10,11),(11,8)],12) [5,4,3,1,2]=>[4,5,3,2,1]=>[4,3,2,1,5]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [5,4,3,2,1]=>[5,4,3,2,1]=>[5,4,3,2,1]=>([(0,4),(2,3),(3,1),(4,2)],5) [1,2,3,4,5,6]=>[1,2,3,4,5,6]=>[1,2,3,4,5,6]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6) [1,2,3,4,6,5]=>[1,2,3,4,6,5]=>[6,1,2,3,4,5]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [1,2,3,5,4,6]=>[1,2,3,5,4,6]=>[1,5,2,3,4,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,2,3,5,6,4]=>[1,2,3,6,4,5]=>[1,6,2,3,4,5]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,2,3,6,4,5]=>[1,2,3,5,6,4]=>[5,1,2,3,4,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,2,3,6,5,4]=>[1,2,3,6,5,4]=>[6,5,1,2,3,4]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [1,2,4,3,5,6]=>[1,2,4,3,5,6]=>[1,2,4,3,5,6]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [1,2,4,3,6,5]=>[1,2,4,3,6,5]=>[4,1,6,2,3,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,19),(2,7),(2,13),(2,15),(3,7),(3,12),(3,15),(4,8),(4,9),(4,12),(4,15),(5,8),(5,10),(5,13),(5,15),(6,1),(6,9),(6,10),(6,12),(6,13),(7,17),(8,14),(8,21),(9,14),(9,18),(9,19),(9,21),(10,14),(10,18),(10,19),(10,21),(12,17),(12,18),(12,21),(13,17),(13,19),(13,21),(14,16),(14,20),(15,17),(15,21),(16,11),(17,20),(18,16),(18,20),(19,16),(19,20),(20,11),(21,16),(21,20)],22) [1,2,4,5,3,6]=>[1,2,5,3,4,6]=>[1,2,5,3,4,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,2,4,5,6,3]=>[1,2,6,3,4,5]=>[1,2,6,3,4,5]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [1,2,4,6,3,5]=>[1,2,5,3,6,4]=>[5,1,6,2,3,4]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [1,2,4,6,5,3]=>[1,2,6,3,5,4]=>[6,1,5,2,3,4]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [1,2,5,3,4,6]=>[1,2,4,5,3,6]=>[1,4,2,3,5,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,2,5,3,6,4]=>[1,2,4,6,3,5]=>[4,6,1,2,3,5]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [1,2,5,4,3,6]=>[1,2,5,4,3,6]=>[1,5,4,2,3,6]=>([(0,2),(0,3),(0,4),(0,5),(1,17),(2,8),(2,9),(2,12),(3,7),(3,9),(3,11),(4,7),(4,8),(4,10),(5,1),(5,10),(5,11),(5,12),(7,13),(7,16),(8,13),(8,14),(9,13),(9,15),(10,14),(10,16),(10,17),(11,15),(11,16),(11,17),(12,14),(12,15),(12,17),(13,19),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(18,6),(19,6)],20) [1,2,5,4,6,3]=>[1,2,6,4,3,5]=>[1,6,4,2,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,2,5,6,3,4]=>[1,2,5,6,3,4]=>[5,6,1,2,3,4]=>([(0,4),(0,5),(1,7),(2,9),(2,11),(3,2),(3,10),(4,3),(4,6),(5,1),(5,6),(6,7),(6,10),(7,11),(9,8),(10,9),(10,11),(11,8)],12) [1,2,5,6,4,3]=>[1,2,6,5,3,4]=>[1,6,5,2,3,4]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,2,6,3,4,5]=>[1,2,4,5,6,3]=>[4,1,2,3,5,6]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [1,2,6,3,5,4]=>[1,2,4,6,5,3]=>[6,4,1,2,3,5]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [1,2,6,4,3,5]=>[1,2,5,4,6,3]=>[5,1,4,2,3,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,2,6,4,5,3]=>[1,2,6,4,5,3]=>[6,1,4,2,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,17),(2,9),(2,11),(2,13),(2,17),(3,8),(3,11),(3,12),(3,17),(4,10),(4,12),(4,13),(4,17),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,20),(8,21),(9,16),(9,20),(9,21),(10,15),(10,16),(10,20),(11,14),(11,21),(12,14),(12,15),(12,21),(13,14),(13,16),(13,21),(14,19),(15,18),(15,19),(16,18),(16,19),(17,20),(17,21),(18,7),(19,7),(20,18),(21,18),(21,19)],22) [1,2,6,5,3,4]=>[1,2,5,6,4,3]=>[5,4,1,2,3,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,2,6,5,4,3]=>[1,2,6,5,4,3]=>[6,5,4,1,2,3]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [1,3,2,4,5,6]=>[1,3,2,4,5,6]=>[1,3,4,5,2,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,3,2,4,6,5]=>[1,3,2,4,6,5]=>[3,1,2,6,4,5]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,12),(2,8),(2,10),(2,11),(3,7),(3,8),(3,12),(4,7),(4,9),(4,11),(5,15),(5,16),(7,17),(8,13),(8,17),(9,14),(9,17),(10,13),(10,14),(11,5),(11,14),(11,17),(12,5),(12,13),(12,17),(13,15),(13,16),(14,15),(14,16),(15,6),(16,6),(17,16)],18) [1,3,2,5,4,6]=>[1,3,2,5,4,6]=>[1,3,2,5,4,6]=>([(0,1),(0,2),(0,3),(0,4),(1,8),(1,9),(1,15),(2,7),(2,9),(2,15),(3,6),(3,7),(3,15),(4,6),(4,8),(4,15),(6,14),(7,11),(7,14),(8,12),(8,14),(9,11),(9,12),(10,5),(11,10),(11,13),(12,10),(12,13),(13,5),(14,13),(15,11),(15,12),(15,14)],16) [1,3,2,5,6,4]=>[1,3,2,6,4,5]=>[1,3,2,6,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [1,3,2,6,4,5]=>[1,3,2,5,6,4]=>[3,1,2,5,4,6]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [1,3,2,6,5,4]=>[1,3,2,6,5,4]=>[6,3,1,5,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,19),(2,10),(2,13),(2,19),(2,20),(3,9),(3,13),(3,18),(3,20),(4,12),(4,14),(4,18),(4,19),(4,20),(5,11),(5,14),(5,18),(5,19),(5,20),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,15),(9,21),(9,25),(10,15),(10,22),(10,25),(11,16),(11,21),(11,22),(11,25),(12,16),(12,21),(12,22),(12,25),(13,15),(13,25),(14,16),(14,17),(14,25),(15,24),(16,23),(16,24),(17,23),(18,17),(18,21),(18,25),(19,17),(19,22),(19,25),(20,17),(20,25),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [1,3,4,2,5,6]=>[1,4,2,3,5,6]=>[1,2,4,5,3,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,3,4,2,6,5]=>[1,4,2,3,6,5]=>[4,1,2,6,3,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [1,3,4,5,2,6]=>[1,5,2,3,4,6]=>[1,2,3,5,4,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,3,4,5,6,2]=>[1,6,2,3,4,5]=>[1,2,3,6,4,5]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,3,4,6,2,5]=>[1,5,2,3,6,4]=>[5,1,2,6,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [1,3,4,6,5,2]=>[1,6,2,3,5,4]=>[6,1,2,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [1,3,5,2,4,6]=>[1,4,2,5,3,6]=>[1,4,2,5,3,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,22),(2,13),(2,17),(2,22),(3,9),(3,11),(3,17),(3,22),(4,8),(4,10),(4,17),(4,22),(5,8),(5,9),(5,12),(5,13),(5,22),(6,10),(6,11),(6,12),(6,14),(6,22),(8,15),(8,19),(8,23),(9,16),(9,19),(9,23),(10,15),(10,20),(10,23),(11,16),(11,20),(11,23),(12,15),(12,16),(12,19),(12,20),(13,19),(13,23),(14,20),(14,23),(15,18),(15,21),(16,18),(16,21),(17,23),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,19),(22,20),(22,23),(23,21)],24) [1,3,5,2,6,4]=>[1,4,2,6,3,5]=>[1,4,2,6,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [1,3,5,4,2,6]=>[1,5,2,4,3,6]=>[1,5,2,4,3,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,3,5,4,6,2]=>[1,6,2,4,3,5]=>[1,6,2,4,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,3,5,6,2,4]=>[1,5,2,6,3,4]=>[1,5,2,6,3,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [1,3,5,6,4,2]=>[1,6,2,5,3,4]=>[1,6,2,5,3,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [1,3,6,2,4,5]=>[1,4,2,5,6,3]=>[4,1,2,5,3,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [1,3,6,2,5,4]=>[1,4,2,6,5,3]=>[6,4,1,5,2,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [1,3,6,4,2,5]=>[1,5,2,4,6,3]=>[5,1,2,4,3,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [1,3,6,4,5,2]=>[1,6,2,4,5,3]=>[6,1,2,4,3,5]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,3,6,5,2,4]=>[1,5,2,6,4,3]=>[5,4,1,6,2,3]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [1,3,6,5,4,2]=>[1,6,2,5,4,3]=>[6,5,1,4,2,3]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [1,4,2,3,5,6]=>[1,3,4,2,5,6]=>[1,3,4,2,5,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,4,2,3,6,5]=>[1,3,4,2,6,5]=>[3,1,6,2,4,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [1,4,2,5,3,6]=>[1,3,5,2,4,6]=>[1,3,5,2,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,22),(2,13),(2,17),(2,22),(3,9),(3,11),(3,17),(3,22),(4,8),(4,10),(4,17),(4,22),(5,8),(5,9),(5,12),(5,13),(5,22),(6,10),(6,11),(6,12),(6,14),(6,22),(8,15),(8,19),(8,23),(9,16),(9,19),(9,23),(10,15),(10,20),(10,23),(11,16),(11,20),(11,23),(12,15),(12,16),(12,19),(12,20),(13,19),(13,23),(14,20),(14,23),(15,18),(15,21),(16,18),(16,21),(17,23),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,19),(22,20),(22,23),(23,21)],24) [1,4,2,5,6,3]=>[1,3,6,2,4,5]=>[1,3,6,2,4,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [1,4,2,6,3,5]=>[1,3,5,2,6,4]=>[3,1,5,2,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [1,4,2,6,5,3]=>[1,3,6,2,5,4]=>[6,3,5,1,2,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [1,4,3,2,5,6]=>[1,4,3,2,5,6]=>[1,4,5,3,2,6]=>([(0,2),(0,3),(0,4),(0,5),(1,17),(2,8),(2,9),(2,12),(3,7),(3,9),(3,11),(4,7),(4,8),(4,10),(5,1),(5,10),(5,11),(5,12),(7,13),(7,16),(8,13),(8,14),(9,13),(9,15),(10,14),(10,16),(10,17),(11,15),(11,16),(11,17),(12,14),(12,15),(12,17),(13,19),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(18,6),(19,6)],20) [1,4,3,2,6,5]=>[1,4,3,2,6,5]=>[4,1,6,3,2,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,24),(1,25),(2,9),(2,11),(2,13),(2,15),(3,8),(3,10),(3,13),(3,14),(4,8),(4,11),(4,12),(4,16),(5,9),(5,10),(5,12),(5,17),(6,1),(6,14),(6,15),(6,16),(6,17),(8,20),(8,24),(9,20),(9,25),(10,20),(10,23),(10,25),(11,20),(11,23),(11,24),(12,19),(12,20),(13,18),(13,24),(13,25),(14,18),(14,23),(14,24),(15,18),(15,23),(15,25),(16,19),(16,23),(16,24),(16,25),(17,19),(17,23),(17,24),(17,25),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [1,4,3,5,2,6]=>[1,5,3,2,4,6]=>[1,3,5,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,4,3,5,6,2]=>[1,6,3,2,4,5]=>[1,3,6,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [1,4,3,6,2,5]=>[1,5,3,2,6,4]=>[5,1,6,3,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [1,4,3,6,5,2]=>[1,6,3,2,5,4]=>[3,1,6,5,2,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [1,4,5,2,3,6]=>[1,4,5,2,3,6]=>[1,4,5,2,3,6]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,5),(3,7),(3,9),(3,11),(4,5),(4,7),(4,8),(4,10),(5,19),(7,13),(7,14),(7,19),(8,13),(8,15),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(13,17),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,18)],20) [1,4,5,2,6,3]=>[1,4,6,2,3,5]=>[1,4,6,2,3,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [1,4,5,3,2,6]=>[1,5,4,2,3,6]=>[1,2,5,4,3,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,4,5,3,6,2]=>[1,6,4,2,3,5]=>[1,2,6,4,3,5]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,4,5,6,2,3]=>[1,5,6,2,3,4]=>[1,5,6,2,3,4]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [1,4,5,6,3,2]=>[1,6,5,2,3,4]=>[1,2,6,5,3,4]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,4,6,2,3,5]=>[1,4,5,2,6,3]=>[4,1,5,2,3,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [1,4,6,2,5,3]=>[1,4,6,2,5,3]=>[6,4,5,1,2,3]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,7),(2,14),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,12),(7,12),(7,13),(9,1),(9,14),(10,6),(10,14),(11,7),(11,14),(12,8),(13,8),(14,12),(14,13)],15) [1,4,6,3,2,5]=>[1,5,4,2,6,3]=>[5,1,6,4,2,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [1,4,6,3,5,2]=>[1,6,4,2,5,3]=>[4,1,6,5,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [1,4,6,5,2,3]=>[1,5,6,2,4,3]=>[5,4,6,1,2,3]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [1,4,6,5,3,2]=>[1,6,5,2,4,3]=>[6,1,5,4,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [1,5,2,3,4,6]=>[1,3,4,5,2,6]=>[1,3,2,4,5,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,5,2,3,6,4]=>[1,3,4,6,2,5]=>[3,6,1,2,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [1,5,2,4,3,6]=>[1,3,5,4,2,6]=>[1,5,3,2,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,5,2,4,6,3]=>[1,3,6,4,2,5]=>[1,6,3,2,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [1,5,2,6,3,4]=>[1,3,5,6,2,4]=>[3,5,1,2,4,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [1,5,2,6,4,3]=>[1,3,6,5,2,4]=>[3,6,5,1,2,4]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [1,5,3,2,4,6]=>[1,4,3,5,2,6]=>[1,4,3,5,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,5,3,2,6,4]=>[1,4,3,6,2,5]=>[4,6,1,3,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [1,5,3,4,2,6]=>[1,5,3,4,2,6]=>[1,5,3,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,12),(2,13),(2,14),(2,18),(3,10),(3,11),(3,14),(3,18),(4,8),(4,9),(4,11),(4,13),(5,7),(5,9),(5,10),(5,12),(7,15),(7,19),(8,15),(8,20),(9,15),(9,16),(9,17),(10,16),(10,19),(10,23),(11,16),(11,20),(11,23),(12,17),(12,19),(12,23),(13,17),(13,20),(13,23),(14,23),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,6),(22,6),(23,21)],24) [1,5,3,4,6,2]=>[1,6,3,4,2,5]=>[1,6,3,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [1,5,3,6,2,4]=>[1,5,3,6,2,4]=>[5,6,1,3,2,4]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,16),(2,13),(2,14),(2,16),(3,12),(3,14),(3,16),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(6,18),(6,19),(7,18),(8,18),(8,19),(9,18),(9,19),(11,7),(11,17),(12,8),(12,15),(12,17),(13,9),(13,15),(13,17),(14,6),(14,15),(15,19),(16,6),(16,17),(17,18),(17,19),(18,10),(19,10)],20) [1,5,3,6,4,2]=>[1,6,3,5,2,4]=>[3,6,1,5,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [1,5,4,2,3,6]=>[1,4,5,3,2,6]=>[1,4,3,2,5,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,5,4,2,6,3]=>[1,4,6,3,2,5]=>[4,6,3,1,2,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [1,5,4,3,2,6]=>[1,5,4,3,2,6]=>[1,5,4,3,2,6]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [1,5,4,3,6,2]=>[1,6,4,3,2,5]=>[1,6,4,3,2,5]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,5,4,6,2,3]=>[1,5,6,3,2,4]=>[5,6,3,1,2,4]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [1,5,4,6,3,2]=>[1,6,5,3,2,4]=>[1,6,5,3,2,4]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,5,6,2,3,4]=>[1,4,5,6,2,3]=>[4,5,1,2,3,6]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [1,5,6,2,4,3]=>[1,4,6,5,2,3]=>[4,6,5,1,2,3]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [1,5,6,3,2,4]=>[1,5,4,6,2,3]=>[5,6,1,4,2,3]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [1,5,6,3,4,2]=>[1,6,4,5,2,3]=>[4,6,1,5,2,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [1,5,6,4,2,3]=>[1,5,6,4,2,3]=>[5,6,4,1,2,3]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,7),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,13),(7,14),(9,1),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(12,14),(13,8),(14,8)],15) [1,5,6,4,3,2]=>[1,6,5,4,2,3]=>[1,6,5,4,2,3]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [1,6,2,3,4,5]=>[1,3,4,5,6,2]=>[3,1,2,4,5,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,6,2,3,5,4]=>[1,3,4,6,5,2]=>[6,3,1,2,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [1,6,2,4,3,5]=>[1,3,5,4,6,2]=>[5,1,3,2,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,6,2,4,5,3]=>[1,3,6,4,5,2]=>[6,1,3,2,4,5]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,6,2,5,3,4]=>[1,3,5,6,4,2]=>[5,3,1,2,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [1,6,2,5,4,3]=>[1,3,6,5,4,2]=>[6,5,3,1,2,4]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [1,6,3,2,4,5]=>[1,4,3,5,6,2]=>[4,1,3,5,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [1,6,3,2,5,4]=>[1,4,3,6,5,2]=>[4,3,1,6,2,5]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [1,6,3,4,2,5]=>[1,5,3,4,6,2]=>[5,1,3,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [1,6,3,4,5,2]=>[1,6,3,4,5,2]=>[6,1,3,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,19),(2,10),(2,12),(2,13),(2,19),(3,9),(3,11),(3,13),(3,19),(4,8),(4,11),(4,12),(4,19),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,16),(8,20),(9,15),(9,17),(9,20),(10,16),(10,17),(10,20),(11,14),(11,15),(11,18),(12,14),(12,16),(12,18),(13,14),(13,17),(13,18),(14,22),(15,21),(15,22),(16,21),(16,22),(17,21),(17,22),(18,21),(18,22),(19,18),(19,20),(20,21),(21,7),(22,7)],23) [1,6,3,5,2,4]=>[1,5,3,6,4,2]=>[5,3,1,6,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [1,6,3,5,4,2]=>[1,6,3,5,4,2]=>[6,5,1,3,2,4]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,6,4,2,3,5]=>[1,4,5,3,6,2]=>[4,1,3,2,5,6]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,6,4,2,5,3]=>[1,4,6,3,5,2]=>[4,3,6,1,2,5]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [1,6,4,3,2,5]=>[1,5,4,3,6,2]=>[5,1,4,3,2,6]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,6,4,3,5,2]=>[1,6,4,3,5,2]=>[6,1,4,3,2,5]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [1,6,4,5,2,3]=>[1,5,6,3,4,2]=>[5,3,6,1,2,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [1,6,4,5,3,2]=>[1,6,5,3,4,2]=>[6,1,5,3,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,6,5,2,3,4]=>[1,4,5,6,3,2]=>[4,3,1,2,5,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,6,5,2,4,3]=>[1,4,6,5,3,2]=>[6,4,3,1,2,5]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [1,6,5,3,2,4]=>[1,5,4,6,3,2]=>[5,4,1,3,2,6]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,6,5,3,4,2]=>[1,6,4,5,3,2]=>[6,4,1,3,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,6,5,4,2,3]=>[1,5,6,4,3,2]=>[5,4,3,1,2,6]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [1,6,5,4,3,2]=>[1,6,5,4,3,2]=>[6,5,4,3,1,2]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [2,1,3,4,5,6]=>[2,1,3,4,5,6]=>[2,3,4,5,6,1]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [2,1,3,4,6,5]=>[2,1,3,4,6,5]=>[2,1,3,4,6,5]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,6),(2,11),(3,6),(3,10),(4,1),(4,10),(4,11),(6,12),(7,9),(7,13),(8,9),(8,13),(9,5),(10,7),(10,12),(11,8),(11,12),(12,13),(13,5)],14) [2,1,3,5,4,6]=>[2,1,3,5,4,6]=>[2,3,1,5,6,4]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,12),(2,8),(2,10),(2,11),(3,7),(3,8),(3,12),(4,7),(4,9),(4,11),(5,15),(5,16),(7,17),(8,13),(8,17),(9,14),(9,17),(10,13),(10,14),(11,5),(11,14),(11,17),(12,5),(12,13),(12,17),(13,15),(13,16),(14,15),(14,16),(15,6),(16,6),(17,16)],18) [2,1,3,5,6,4]=>[2,1,3,6,4,5]=>[2,3,1,4,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [2,1,3,6,4,5]=>[2,1,3,5,6,4]=>[2,1,3,5,6,4]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [2,1,3,6,5,4]=>[2,1,3,6,5,4]=>[6,2,1,3,5,4]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,10),(2,12),(3,8),(3,10),(3,11),(4,7),(4,11),(4,12),(5,17),(7,14),(7,15),(8,13),(8,14),(9,13),(9,15),(10,13),(10,16),(11,5),(11,14),(11,16),(12,5),(12,15),(12,16),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [2,1,4,3,5,6]=>[2,1,4,3,5,6]=>[2,4,5,1,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,19),(2,7),(2,13),(2,15),(3,7),(3,12),(3,15),(4,8),(4,9),(4,12),(4,15),(5,8),(5,10),(5,13),(5,15),(6,1),(6,9),(6,10),(6,12),(6,13),(7,17),(8,14),(8,21),(9,14),(9,18),(9,19),(9,21),(10,14),(10,18),(10,19),(10,21),(12,17),(12,18),(12,21),(13,17),(13,19),(13,21),(14,16),(14,20),(15,17),(15,21),(16,11),(17,20),(18,16),(18,20),(19,16),(19,20),(20,11),(21,16),(21,20)],22) [2,1,4,3,6,5]=>[2,1,4,3,6,5]=>[2,1,4,3,6,5]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(1,12),(2,6),(2,7),(2,12),(3,5),(3,7),(3,12),(5,9),(5,10),(6,9),(6,11),(7,9),(7,10),(7,11),(8,4),(9,13),(10,8),(10,13),(11,8),(11,13),(12,10),(12,11),(13,4)],14) [2,1,4,5,3,6]=>[2,1,5,3,4,6]=>[2,3,5,1,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [2,1,4,5,6,3]=>[2,1,6,3,4,5]=>[2,3,4,1,6,5]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [2,1,4,6,3,5]=>[2,1,5,3,6,4]=>[2,1,5,3,6,4]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [2,1,4,6,5,3]=>[2,1,6,3,5,4]=>[6,2,3,1,5,4]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [2,1,5,3,4,6]=>[2,1,4,5,3,6]=>[2,4,1,5,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [2,1,5,3,6,4]=>[2,1,4,6,3,5]=>[2,4,1,3,6,5]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [2,1,5,4,3,6]=>[2,1,5,4,3,6]=>[2,5,4,1,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,24),(1,25),(2,9),(2,11),(2,13),(2,15),(3,8),(3,10),(3,13),(3,14),(4,8),(4,11),(4,12),(4,16),(5,9),(5,10),(5,12),(5,17),(6,1),(6,14),(6,15),(6,16),(6,17),(8,20),(8,24),(9,20),(9,25),(10,20),(10,23),(10,25),(11,20),(11,23),(11,24),(12,19),(12,20),(13,18),(13,24),(13,25),(14,18),(14,23),(14,24),(15,18),(15,23),(15,25),(16,19),(16,23),(16,24),(16,25),(17,19),(17,23),(17,24),(17,25),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [2,1,5,4,6,3]=>[2,1,6,4,3,5]=>[2,6,4,1,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [2,1,5,6,3,4]=>[2,1,5,6,3,4]=>[2,5,1,3,6,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,15),(1,16),(2,8),(2,11),(2,16),(2,18),(3,8),(3,10),(3,15),(3,17),(4,9),(4,13),(4,14),(4,17),(4,18),(5,10),(5,12),(5,13),(5,16),(5,18),(6,11),(6,12),(6,14),(6,15),(6,17),(8,21),(8,25),(9,23),(9,24),(10,21),(10,23),(10,25),(11,21),(11,24),(11,25),(12,23),(12,24),(12,25),(13,19),(13,23),(13,25),(14,19),(14,24),(14,25),(15,24),(15,25),(16,23),(16,25),(17,19),(17,21),(17,23),(17,24),(18,19),(18,21),(18,23),(18,24),(19,20),(19,22),(20,7),(21,20),(21,22),(22,7),(23,20),(23,22),(24,20),(24,22),(25,22)],26) [2,1,5,6,4,3]=>[2,1,6,5,3,4]=>[2,6,3,1,5,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [2,1,6,3,4,5]=>[2,1,4,5,6,3]=>[2,1,4,5,6,3]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [2,1,6,3,5,4]=>[2,1,4,6,5,3]=>[6,2,1,4,5,3]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [2,1,6,4,3,5]=>[2,1,5,4,6,3]=>[5,2,4,1,6,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [2,1,6,4,5,3]=>[2,1,6,4,5,3]=>[6,2,4,1,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,17),(1,18),(2,12),(2,14),(2,18),(2,19),(3,11),(3,14),(3,17),(3,19),(4,10),(4,13),(4,17),(4,18),(4,19),(5,9),(5,13),(5,17),(5,18),(5,19),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,20),(9,21),(9,22),(9,25),(10,20),(10,21),(10,22),(10,25),(11,15),(11,20),(11,21),(12,15),(12,20),(12,22),(13,16),(13,25),(14,15),(14,25),(15,24),(16,23),(17,16),(17,21),(17,25),(18,16),(18,22),(18,25),(19,16),(19,20),(19,25),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [2,1,6,5,3,4]=>[2,1,5,6,4,3]=>[5,2,1,4,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [2,1,6,5,4,3]=>[2,1,6,5,4,3]=>[6,5,2,1,4,3]=>([(0,2),(0,3),(0,4),(1,8),(1,9),(2,1),(2,10),(2,11),(3,6),(3,7),(3,11),(4,6),(4,7),(4,10),(6,14),(7,12),(7,14),(8,13),(8,15),(9,13),(9,15),(10,8),(10,12),(10,14),(11,9),(11,12),(11,14),(12,13),(12,15),(13,5),(14,15),(15,5)],16) [2,3,1,4,5,6]=>[3,1,2,4,5,6]=>[1,3,4,5,6,2]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [2,3,1,4,6,5]=>[3,1,2,4,6,5]=>[3,1,2,4,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [2,3,1,5,4,6]=>[3,1,2,5,4,6]=>[1,3,2,5,6,4]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [2,3,1,5,6,4]=>[3,1,2,6,4,5]=>[1,3,2,4,6,5]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,13),(2,8),(2,9),(2,13),(3,7),(3,9),(3,13),(4,6),(4,7),(4,8),(6,15),(7,12),(7,15),(8,11),(8,12),(8,15),(9,11),(9,12),(10,5),(11,10),(11,14),(12,10),(12,14),(13,11),(13,15),(14,5),(15,14)],16) [2,3,1,6,4,5]=>[3,1,2,5,6,4]=>[3,1,2,5,6,4]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,16),(2,18),(3,10),(3,11),(3,13),(4,9),(4,12),(4,13),(5,8),(5,9),(5,11),(6,8),(6,10),(6,12),(8,17),(9,14),(9,17),(10,15),(10,17),(11,2),(11,14),(11,17),(12,1),(12,15),(12,17),(13,14),(13,15),(14,16),(14,18),(15,16),(15,18),(16,7),(17,18),(18,7)],19) [2,3,1,6,5,4]=>[3,1,2,6,5,4]=>[6,3,1,2,5,4]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [2,3,4,1,5,6]=>[4,1,2,3,5,6]=>[1,2,4,5,6,3]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [2,3,4,1,6,5]=>[4,1,2,3,6,5]=>[4,1,2,3,6,5]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [2,3,4,5,1,6]=>[5,1,2,3,4,6]=>[1,2,3,5,6,4]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [2,3,4,5,6,1]=>[6,1,2,3,4,5]=>[1,2,3,4,6,5]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [2,3,4,6,1,5]=>[5,1,2,3,6,4]=>[5,1,2,3,6,4]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [2,3,4,6,5,1]=>[6,1,2,3,5,4]=>[6,1,2,3,5,4]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [2,3,5,1,4,6]=>[4,1,2,5,3,6]=>[1,4,2,5,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [2,3,5,1,6,4]=>[4,1,2,6,3,5]=>[1,4,2,3,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [2,3,5,4,1,6]=>[5,1,2,4,3,6]=>[1,5,2,4,6,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [2,3,5,4,6,1]=>[6,1,2,4,3,5]=>[1,6,2,4,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [2,3,5,6,1,4]=>[5,1,2,6,3,4]=>[1,5,2,3,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [2,3,5,6,4,1]=>[6,1,2,5,3,4]=>[1,6,2,3,5,4]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [2,3,6,1,4,5]=>[4,1,2,5,6,3]=>[4,1,2,5,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,17),(1,20),(2,16),(2,20),(3,8),(3,10),(3,11),(4,8),(4,9),(4,12),(5,2),(5,9),(5,11),(5,13),(6,1),(6,10),(6,12),(6,13),(8,20),(9,15),(9,20),(10,14),(10,20),(11,14),(11,16),(11,20),(12,15),(12,17),(12,20),(13,14),(13,15),(13,16),(13,17),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(17,19),(18,7),(19,7),(20,19)],21) [2,3,6,1,5,4]=>[4,1,2,6,5,3]=>[6,4,1,2,5,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [2,3,6,4,1,5]=>[5,1,2,4,6,3]=>[5,1,2,4,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [2,3,6,4,5,1]=>[6,1,2,4,5,3]=>[6,1,2,4,5,3]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [2,3,6,5,1,4]=>[5,1,2,6,4,3]=>[5,4,1,2,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [2,3,6,5,4,1]=>[6,1,2,5,4,3]=>[6,5,1,2,4,3]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [2,4,1,3,5,6]=>[3,1,4,2,5,6]=>[3,4,5,1,6,2]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [2,4,1,3,6,5]=>[3,1,4,2,6,5]=>[3,1,4,2,6,5]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [2,4,1,5,3,6]=>[3,1,5,2,4,6]=>[1,3,5,2,6,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [2,4,1,5,6,3]=>[3,1,6,2,4,5]=>[1,3,4,2,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [2,4,1,6,3,5]=>[3,1,5,2,6,4]=>[3,1,5,2,6,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,13),(1,15),(1,19),(2,12),(2,14),(2,19),(3,9),(3,11),(3,14),(3,16),(3,19),(4,10),(4,11),(4,15),(4,16),(4,19),(5,7),(5,9),(5,12),(5,15),(5,16),(6,7),(6,10),(6,13),(6,14),(6,16),(7,22),(7,23),(7,24),(9,17),(9,22),(9,24),(10,18),(10,23),(10,24),(11,17),(11,18),(11,22),(11,23),(12,22),(12,24),(13,23),(13,24),(14,17),(14,23),(14,24),(15,18),(15,22),(15,24),(16,17),(16,18),(16,22),(16,23),(17,20),(17,21),(18,20),(18,21),(19,22),(19,23),(20,8),(21,8),(22,20),(22,21),(23,20),(23,21),(24,21)],25) [2,4,1,6,5,3]=>[3,1,6,2,5,4]=>[6,1,3,2,5,4]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [2,4,3,1,5,6]=>[4,1,3,2,5,6]=>[1,4,5,3,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [2,4,3,1,6,5]=>[4,1,3,2,6,5]=>[4,1,6,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [2,4,3,5,1,6]=>[5,1,3,2,4,6]=>[1,3,5,4,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [2,4,3,5,6,1]=>[6,1,3,2,4,5]=>[1,3,6,4,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [2,4,3,6,1,5]=>[5,1,3,2,6,4]=>[5,1,6,3,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [2,4,3,6,5,1]=>[6,1,3,2,5,4]=>[3,1,6,2,5,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [2,4,5,1,3,6]=>[4,1,5,2,3,6]=>[1,4,5,2,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [2,4,5,1,6,3]=>[4,1,6,2,3,5]=>[1,2,4,3,6,5]=>([(0,2),(0,3),(0,4),(1,7),(1,13),(2,6),(2,12),(3,1),(3,9),(3,12),(4,6),(4,9),(4,12),(6,10),(7,8),(7,11),(8,5),(9,7),(9,10),(9,13),(10,11),(11,5),(12,10),(12,13),(13,8),(13,11)],14) [2,4,5,3,1,6]=>[5,1,4,2,3,6]=>[1,2,5,4,6,3]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [2,4,5,3,6,1]=>[6,1,4,2,3,5]=>[1,2,6,4,5,3]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [2,4,5,6,1,3]=>[5,1,6,2,3,4]=>[1,2,5,3,6,4]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [2,4,5,6,3,1]=>[6,1,5,2,3,4]=>[1,2,6,3,5,4]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [2,4,6,1,3,5]=>[4,1,5,2,6,3]=>[4,1,5,2,6,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(1,24),(2,11),(2,15),(2,17),(2,24),(3,9),(3,13),(3,15),(3,24),(4,10),(4,14),(4,16),(4,24),(5,7),(5,9),(5,11),(5,14),(5,24),(6,7),(6,10),(6,12),(6,13),(6,24),(7,21),(7,22),(7,25),(9,21),(9,25),(10,22),(10,25),(11,19),(11,21),(11,25),(12,20),(12,22),(12,25),(13,19),(13,22),(13,25),(14,20),(14,21),(14,25),(15,19),(15,25),(16,20),(16,25),(17,19),(17,20),(18,8),(19,18),(19,23),(20,18),(20,23),(21,18),(21,23),(22,18),(22,23),(23,8),(24,19),(24,20),(24,21),(24,22),(25,23)],26) [2,4,6,1,5,3]=>[4,1,6,2,5,3]=>[6,1,4,2,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [2,4,6,3,1,5]=>[5,1,4,2,6,3]=>[5,1,6,2,4,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [2,4,6,3,5,1]=>[6,1,4,2,5,3]=>[4,1,6,2,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [2,4,6,5,1,3]=>[5,1,6,2,4,3]=>[5,1,4,2,6,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [2,4,6,5,3,1]=>[6,1,5,2,4,3]=>[6,1,5,2,4,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [2,5,1,3,4,6]=>[3,1,4,5,2,6]=>[3,4,1,5,6,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [2,5,1,3,6,4]=>[3,1,4,6,2,5]=>[3,4,1,2,6,5]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,1),(2,11),(2,12),(3,9),(3,10),(3,12),(4,9),(4,10),(4,11),(5,15),(5,16),(7,15),(7,16),(8,15),(8,16),(9,5),(9,13),(10,5),(10,14),(11,7),(11,13),(11,14),(12,8),(12,13),(12,14),(13,16),(14,15),(14,16),(15,6),(16,6)],17) [2,5,1,4,3,6]=>[3,1,5,4,2,6]=>[3,5,4,1,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [2,5,1,4,6,3]=>[3,1,6,4,2,5]=>[3,6,4,1,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [2,5,1,6,3,4]=>[3,1,5,6,2,4]=>[3,5,1,2,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [2,5,1,6,4,3]=>[3,1,6,5,2,4]=>[1,6,3,2,5,4]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [2,5,3,1,4,6]=>[4,1,3,5,2,6]=>[1,4,3,5,6,2]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [2,5,3,1,6,4]=>[4,1,3,6,2,5]=>[4,6,1,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [2,5,3,4,1,6]=>[5,1,3,4,2,6]=>[1,5,3,4,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [2,5,3,4,6,1]=>[6,1,3,4,2,5]=>[1,6,3,4,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [2,5,3,6,1,4]=>[5,1,3,6,2,4]=>[5,6,1,3,4,2]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [2,5,3,6,4,1]=>[6,1,3,5,2,4]=>[3,6,1,2,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [2,5,4,1,3,6]=>[4,1,5,3,2,6]=>[4,5,3,1,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [2,5,4,1,6,3]=>[4,1,6,3,2,5]=>[1,4,3,2,6,5]=>([(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,15),(3,9),(3,10),(4,1),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,14),(9,12),(9,15),(10,7),(10,12),(11,6),(11,12),(11,15),(12,13),(12,14),(13,8),(14,8),(15,13),(15,14)],16) [2,5,4,3,1,6]=>[5,1,4,3,2,6]=>[1,5,4,3,6,2]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [2,5,4,3,6,1]=>[6,1,4,3,2,5]=>[1,6,4,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,19),(2,10),(2,12),(2,13),(2,19),(3,9),(3,11),(3,13),(3,19),(4,8),(4,11),(4,12),(4,19),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,16),(8,20),(9,15),(9,17),(9,20),(10,16),(10,17),(10,20),(11,14),(11,15),(11,18),(12,14),(12,16),(12,18),(13,14),(13,17),(13,18),(14,22),(15,21),(15,22),(16,21),(16,22),(17,21),(17,22),(18,21),(18,22),(19,18),(19,20),(20,21),(21,7),(22,7)],23) [2,5,4,6,1,3]=>[5,1,6,3,2,4]=>[1,5,3,2,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [2,5,4,6,3,1]=>[6,1,5,3,2,4]=>[1,6,5,3,4,2]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [2,5,6,1,3,4]=>[4,1,5,6,2,3]=>[4,5,1,2,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [2,5,6,1,4,3]=>[4,1,6,5,2,3]=>[1,6,4,2,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [2,5,6,3,1,4]=>[5,1,4,6,2,3]=>[5,6,1,2,4,3]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [2,5,6,3,4,1]=>[6,1,4,5,2,3]=>[4,6,1,2,5,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [2,5,6,4,1,3]=>[5,1,6,4,2,3]=>[1,5,4,2,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [2,5,6,4,3,1]=>[6,1,5,4,2,3]=>[1,6,5,2,4,3]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [2,6,1,3,4,5]=>[3,1,4,5,6,2]=>[3,1,4,5,6,2]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [2,6,1,3,5,4]=>[3,1,4,6,5,2]=>[6,3,1,4,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [2,6,1,4,3,5]=>[3,1,5,4,6,2]=>[5,3,4,1,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [2,6,1,4,5,3]=>[3,1,6,4,5,2]=>[6,3,4,1,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [2,6,1,5,3,4]=>[3,1,5,6,4,2]=>[5,3,1,4,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [2,6,1,5,4,3]=>[3,1,6,5,4,2]=>[6,5,3,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [2,6,3,1,4,5]=>[4,1,3,5,6,2]=>[4,1,3,5,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [2,6,3,1,5,4]=>[4,1,3,6,5,2]=>[4,3,1,2,6,5]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [2,6,3,4,1,5]=>[5,1,3,4,6,2]=>[5,1,3,4,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,16),(1,20),(1,21),(2,10),(2,13),(2,18),(3,9),(3,13),(3,17),(4,1),(4,11),(4,12),(4,17),(4,18),(5,8),(5,9),(5,11),(5,18),(6,8),(6,10),(6,12),(6,17),(8,14),(8,20),(8,21),(9,19),(9,20),(10,19),(10,21),(11,14),(11,16),(11,20),(12,14),(12,15),(12,21),(13,19),(14,23),(15,22),(15,23),(16,22),(16,23),(17,15),(17,19),(17,20),(18,16),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7)],24) [2,6,3,4,5,1]=>[6,1,3,4,5,2]=>[6,1,3,4,5,2]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [2,6,3,5,1,4]=>[5,1,3,6,4,2]=>[5,3,1,2,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [2,6,3,5,4,1]=>[6,1,3,5,4,2]=>[6,5,1,3,4,2]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [2,6,4,1,3,5]=>[4,1,5,3,6,2]=>[4,3,5,1,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [2,6,4,1,5,3]=>[4,1,6,3,5,2]=>[4,1,3,2,6,5]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [2,6,4,3,1,5]=>[5,1,4,3,6,2]=>[5,1,4,3,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,16),(1,20),(1,21),(2,10),(2,13),(2,18),(3,9),(3,13),(3,17),(4,1),(4,11),(4,12),(4,17),(4,18),(5,8),(5,9),(5,11),(5,18),(6,8),(6,10),(6,12),(6,17),(8,14),(8,20),(8,21),(9,19),(9,20),(10,19),(10,21),(11,14),(11,16),(11,20),(12,14),(12,15),(12,21),(13,19),(14,23),(15,22),(15,23),(16,22),(16,23),(17,15),(17,19),(17,20),(18,16),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7)],24) [2,6,4,3,5,1]=>[6,1,4,3,5,2]=>[6,1,4,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [2,6,4,5,1,3]=>[5,1,6,3,4,2]=>[5,1,3,2,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [2,6,4,5,3,1]=>[6,1,5,3,4,2]=>[6,1,5,3,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [2,6,5,1,3,4]=>[4,1,5,6,3,2]=>[4,3,1,5,6,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [2,6,5,1,4,3]=>[4,1,6,5,3,2]=>[6,4,3,1,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [2,6,5,3,1,4]=>[5,1,4,6,3,2]=>[5,4,1,3,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [2,6,5,3,4,1]=>[6,1,4,5,3,2]=>[6,4,1,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [2,6,5,4,1,3]=>[5,1,6,4,3,2]=>[5,4,3,1,6,2]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [2,6,5,4,3,1]=>[6,1,5,4,3,2]=>[6,5,4,1,3,2]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [3,1,2,4,5,6]=>[2,3,1,4,5,6]=>[2,3,4,5,1,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [3,1,2,4,6,5]=>[2,3,1,4,6,5]=>[2,1,3,6,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [3,1,2,5,4,6]=>[2,3,1,5,4,6]=>[2,3,1,5,4,6]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [3,1,2,5,6,4]=>[2,3,1,6,4,5]=>[2,3,1,6,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,16),(2,18),(3,10),(3,11),(3,13),(4,9),(4,12),(4,13),(5,8),(5,9),(5,11),(6,8),(6,10),(6,12),(8,17),(9,14),(9,17),(10,15),(10,17),(11,2),(11,14),(11,17),(12,1),(12,15),(12,17),(13,14),(13,15),(14,16),(14,18),(15,16),(15,18),(16,7),(17,18),(18,7)],19) [3,1,2,6,4,5]=>[2,3,1,5,6,4]=>[2,1,3,5,4,6]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,13),(2,8),(2,9),(2,13),(3,7),(3,9),(3,13),(4,6),(4,7),(4,8),(6,15),(7,12),(7,15),(8,11),(8,12),(8,15),(9,11),(9,12),(10,5),(11,10),(11,14),(12,10),(12,14),(13,11),(13,15),(14,5),(15,14)],16) [3,1,2,6,5,4]=>[2,3,1,6,5,4]=>[6,2,1,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [3,1,4,2,5,6]=>[2,4,1,3,5,6]=>[2,4,5,6,1,3]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [3,1,4,2,6,5]=>[2,4,1,3,6,5]=>[2,1,4,6,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [3,1,4,5,2,6]=>[2,5,1,3,4,6]=>[2,3,5,6,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [3,1,4,5,6,2]=>[2,6,1,3,4,5]=>[2,3,4,6,1,5]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [3,1,4,6,2,5]=>[2,5,1,3,6,4]=>[2,1,5,6,3,4]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,1),(2,11),(2,12),(3,9),(3,10),(3,12),(4,9),(4,10),(4,11),(5,15),(5,16),(7,15),(7,16),(8,15),(8,16),(9,5),(9,13),(10,5),(10,14),(11,7),(11,13),(11,14),(12,8),(12,13),(12,14),(13,16),(14,15),(14,16),(15,6),(16,6)],17) [3,1,4,6,5,2]=>[2,6,1,3,5,4]=>[6,2,3,5,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [3,1,5,2,4,6]=>[2,4,1,5,3,6]=>[2,4,1,5,3,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [3,1,5,2,6,4]=>[2,4,1,6,3,5]=>[2,4,1,6,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,13),(1,15),(1,19),(2,12),(2,14),(2,19),(3,9),(3,11),(3,14),(3,16),(3,19),(4,10),(4,11),(4,15),(4,16),(4,19),(5,7),(5,9),(5,12),(5,15),(5,16),(6,7),(6,10),(6,13),(6,14),(6,16),(7,22),(7,23),(7,24),(9,17),(9,22),(9,24),(10,18),(10,23),(10,24),(11,17),(11,18),(11,22),(11,23),(12,22),(12,24),(13,23),(13,24),(14,17),(14,23),(14,24),(15,18),(15,22),(15,24),(16,17),(16,18),(16,22),(16,23),(17,20),(17,21),(18,20),(18,21),(19,22),(19,23),(20,8),(21,8),(22,20),(22,21),(23,20),(23,21),(24,21)],25) [3,1,5,4,2,6]=>[2,5,1,4,3,6]=>[2,5,4,6,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [3,1,5,4,6,2]=>[2,6,1,4,3,5]=>[2,6,4,5,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [3,1,5,6,2,4]=>[2,5,1,6,3,4]=>[2,5,1,6,3,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [3,1,5,6,4,2]=>[2,6,1,5,3,4]=>[2,6,3,5,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [3,1,6,2,4,5]=>[2,4,1,5,6,3]=>[2,1,4,5,3,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [3,1,6,2,5,4]=>[2,4,1,6,5,3]=>[6,2,1,4,3,5]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [3,1,6,4,2,5]=>[2,5,1,4,6,3]=>[5,2,4,6,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [3,1,6,4,5,2]=>[2,6,1,4,5,3]=>[6,2,4,5,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [3,1,6,5,2,4]=>[2,5,1,6,4,3]=>[5,2,1,4,3,6]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [3,1,6,5,4,2]=>[2,6,1,5,4,3]=>[6,5,2,4,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [3,2,1,4,5,6]=>[3,2,1,4,5,6]=>[3,4,5,6,2,1]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [3,2,1,4,6,5]=>[3,2,1,4,6,5]=>[3,2,4,6,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,10),(2,12),(3,8),(3,10),(3,11),(4,7),(4,11),(4,12),(5,17),(7,14),(7,15),(8,13),(8,14),(9,13),(9,15),(10,13),(10,16),(11,5),(11,14),(11,16),(12,5),(12,15),(12,16),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [3,2,1,5,4,6]=>[3,2,1,5,4,6]=>[3,5,2,6,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,19),(2,10),(2,13),(2,19),(2,20),(3,9),(3,13),(3,18),(3,20),(4,12),(4,14),(4,18),(4,19),(4,20),(5,11),(5,14),(5,18),(5,19),(5,20),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,15),(9,21),(9,25),(10,15),(10,22),(10,25),(11,16),(11,21),(11,22),(11,25),(12,16),(12,21),(12,22),(12,25),(13,15),(13,25),(14,16),(14,17),(14,25),(15,24),(16,23),(16,24),(17,23),(18,17),(18,21),(18,25),(19,17),(19,22),(19,25),(20,17),(20,25),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [3,2,1,5,6,4]=>[3,2,1,6,4,5]=>[3,4,2,6,5,1]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [3,2,1,6,4,5]=>[3,2,1,5,6,4]=>[3,2,5,6,4,1]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [3,2,1,6,5,4]=>[3,2,1,6,5,4]=>[3,2,1,6,5,4]=>([(0,1),(0,2),(1,4),(1,10),(2,3),(2,10),(3,5),(3,8),(4,5),(4,9),(5,11),(7,6),(8,7),(8,11),(9,7),(9,11),(10,8),(10,9),(11,6)],12) [3,2,4,1,5,6]=>[4,2,1,3,5,6]=>[2,4,5,6,3,1]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [3,2,4,1,6,5]=>[4,2,1,3,6,5]=>[4,2,3,6,5,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [3,2,4,5,1,6]=>[5,2,1,3,4,6]=>[2,3,5,6,4,1]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [3,2,4,5,6,1]=>[6,2,1,3,4,5]=>[2,3,4,6,5,1]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [3,2,4,6,1,5]=>[5,2,1,3,6,4]=>[5,2,3,6,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [3,2,4,6,5,1]=>[6,2,1,3,5,4]=>[2,1,3,6,5,4]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,7),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,13),(7,14),(9,1),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(12,14),(13,8),(14,8)],15) [3,2,5,1,4,6]=>[4,2,1,5,3,6]=>[4,5,2,6,3,1]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [3,2,5,1,6,4]=>[4,2,1,6,3,5]=>[2,4,3,6,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [3,2,5,4,1,6]=>[5,2,1,4,3,6]=>[2,5,1,6,4,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [3,2,5,4,6,1]=>[6,2,1,4,3,5]=>[2,4,1,6,5,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [3,2,5,6,1,4]=>[5,2,1,6,3,4]=>[2,5,3,6,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [3,2,5,6,4,1]=>[6,2,1,5,3,4]=>[2,3,1,6,5,4]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [3,2,6,1,4,5]=>[4,2,1,5,6,3]=>[4,2,5,6,3,1]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [3,2,6,1,5,4]=>[4,2,1,6,5,3]=>[4,2,1,6,5,3]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,15),(1,17),(2,11),(2,15),(2,16),(3,8),(3,13),(4,9),(4,13),(5,2),(5,8),(5,10),(5,13),(6,1),(6,9),(6,10),(6,13),(8,15),(8,16),(9,15),(9,17),(10,11),(10,12),(10,16),(10,17),(11,14),(11,18),(12,14),(12,18),(13,16),(13,17),(14,7),(15,18),(16,14),(16,18),(17,14),(17,18),(18,7)],19) [3,2,6,4,1,5]=>[5,2,1,4,6,3]=>[2,1,5,6,4,3]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [3,2,6,4,5,1]=>[6,2,1,4,5,3]=>[2,1,4,6,5,3]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [3,2,6,5,1,4]=>[5,2,1,6,4,3]=>[5,2,1,6,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [3,2,6,5,4,1]=>[6,2,1,5,4,3]=>[6,2,1,5,4,3]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [3,4,1,2,5,6]=>[3,4,1,2,5,6]=>[3,4,5,6,1,2]=>([(0,4),(0,5),(1,7),(2,9),(2,11),(3,2),(3,10),(4,3),(4,6),(5,1),(5,6),(6,7),(6,10),(7,11),(9,8),(10,9),(10,11),(11,8)],12) [3,4,1,2,6,5]=>[3,4,1,2,6,5]=>[3,1,4,6,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,15),(1,16),(2,8),(2,11),(2,16),(2,18),(3,8),(3,10),(3,15),(3,17),(4,9),(4,13),(4,14),(4,17),(4,18),(5,10),(5,12),(5,13),(5,16),(5,18),(6,11),(6,12),(6,14),(6,15),(6,17),(8,21),(8,25),(9,23),(9,24),(10,21),(10,23),(10,25),(11,21),(11,24),(11,25),(12,23),(12,24),(12,25),(13,19),(13,23),(13,25),(14,19),(14,24),(14,25),(15,24),(15,25),(16,23),(16,25),(17,19),(17,21),(17,23),(17,24),(18,19),(18,21),(18,23),(18,24),(19,20),(19,22),(20,7),(21,20),(21,22),(22,7),(23,20),(23,22),(24,20),(24,22),(25,22)],26) [3,4,1,5,2,6]=>[3,5,1,2,4,6]=>[1,3,5,6,2,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [3,4,1,5,6,2]=>[3,6,1,2,4,5]=>[1,3,4,6,2,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [3,4,1,6,2,5]=>[3,5,1,2,6,4]=>[3,1,5,6,2,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [3,4,1,6,5,2]=>[3,6,1,2,5,4]=>[6,1,3,5,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [3,4,2,1,5,6]=>[4,3,1,2,5,6]=>[1,4,5,6,3,2]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [3,4,2,1,6,5]=>[4,3,1,2,6,5]=>[4,1,3,6,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [3,4,2,5,1,6]=>[5,3,1,2,4,6]=>[1,3,5,6,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [3,4,2,5,6,1]=>[6,3,1,2,4,5]=>[1,3,4,6,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [3,4,2,6,1,5]=>[5,3,1,2,6,4]=>[5,1,3,6,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [3,4,2,6,5,1]=>[6,3,1,2,5,4]=>[3,1,2,6,5,4]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [3,4,5,1,2,6]=>[4,5,1,2,3,6]=>[1,4,5,6,2,3]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [3,4,5,1,6,2]=>[4,6,1,2,3,5]=>[1,2,4,6,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [3,4,5,2,1,6]=>[5,4,1,2,3,6]=>[1,2,5,6,4,3]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [3,4,5,2,6,1]=>[6,4,1,2,3,5]=>[1,2,4,6,5,3]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [3,4,5,6,1,2]=>[5,6,1,2,3,4]=>[1,2,5,6,3,4]=>([(0,2),(0,3),(0,4),(1,8),(1,9),(2,1),(2,10),(2,11),(3,6),(3,7),(3,11),(4,6),(4,7),(4,10),(6,14),(7,12),(7,14),(8,13),(8,15),(9,13),(9,15),(10,8),(10,12),(10,14),(11,9),(11,12),(11,14),(12,13),(12,15),(13,5),(14,15),(15,5)],16) [3,4,5,6,2,1]=>[6,5,1,2,3,4]=>[1,2,3,6,5,4]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [3,4,6,1,2,5]=>[4,5,1,2,6,3]=>[4,1,5,6,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [3,4,6,1,5,2]=>[4,6,1,2,5,3]=>[6,1,4,5,2,3]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [3,4,6,2,1,5]=>[5,4,1,2,6,3]=>[5,1,2,6,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [3,4,6,2,5,1]=>[6,4,1,2,5,3]=>[4,1,2,6,5,3]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [3,4,6,5,1,2]=>[5,6,1,2,4,3]=>[5,1,4,6,2,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [3,4,6,5,2,1]=>[6,5,1,2,4,3]=>[6,1,2,5,4,3]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [3,5,1,2,4,6]=>[3,4,1,5,2,6]=>[3,4,1,5,2,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [3,5,1,2,6,4]=>[3,4,1,6,2,5]=>[3,4,1,6,2,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [3,5,1,4,2,6]=>[3,5,1,4,2,6]=>[3,5,4,6,1,2]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,16),(2,13),(2,14),(2,16),(3,12),(3,14),(3,16),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(6,18),(6,19),(7,18),(8,18),(8,19),(9,18),(9,19),(11,7),(11,17),(12,8),(12,15),(12,17),(13,9),(13,15),(13,17),(14,6),(14,15),(15,19),(16,6),(16,17),(17,18),(17,19),(18,10),(19,10)],20) [3,5,1,4,6,2]=>[3,6,1,4,2,5]=>[3,6,4,5,1,2]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [3,5,1,6,2,4]=>[3,5,1,6,2,4]=>[3,5,1,6,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,13),(1,16),(1,17),(2,9),(2,13),(2,15),(2,17),(3,12),(3,14),(3,15),(3,17),(4,11),(4,14),(4,16),(4,17),(5,8),(5,11),(5,12),(5,15),(5,16),(6,8),(6,9),(6,10),(6,15),(6,16),(8,19),(8,20),(9,19),(9,22),(9,23),(10,20),(10,22),(10,23),(11,19),(11,22),(11,24),(12,20),(12,22),(12,24),(13,22),(13,23),(14,22),(14,24),(15,19),(15,20),(15,23),(15,24),(16,19),(16,20),(16,23),(16,24),(17,23),(17,24),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21),(23,18),(23,21),(24,18),(24,21)],25) [3,5,1,6,4,2]=>[3,6,1,5,2,4]=>[1,6,3,5,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [3,5,2,1,4,6]=>[4,3,1,5,2,6]=>[4,5,1,6,3,2]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [3,5,2,1,6,4]=>[4,3,1,6,2,5]=>[1,4,3,6,5,2]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [3,5,2,4,1,6]=>[5,3,1,4,2,6]=>[3,5,1,6,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [3,5,2,4,6,1]=>[6,3,1,4,2,5]=>[3,4,1,6,5,2]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [3,5,2,6,1,4]=>[5,3,1,6,2,4]=>[1,5,3,6,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [3,5,2,6,4,1]=>[6,3,1,5,2,4]=>[1,3,2,6,5,4]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,7),(2,14),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,12),(7,12),(7,13),(9,1),(9,14),(10,6),(10,14),(11,7),(11,14),(12,8),(13,8),(14,12),(14,13)],15) [3,5,4,1,2,6]=>[4,5,1,3,2,6]=>[4,5,3,6,1,2]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [3,5,4,1,6,2]=>[4,6,1,3,2,5]=>[1,4,3,6,2,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [3,5,4,2,1,6]=>[5,4,1,3,2,6]=>[1,5,4,6,3,2]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [3,5,4,2,6,1]=>[6,4,1,3,2,5]=>[1,6,4,5,3,2]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [3,5,4,6,1,2]=>[5,6,1,3,2,4]=>[1,5,3,6,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,17),(1,18),(2,12),(2,14),(2,18),(2,19),(3,11),(3,14),(3,17),(3,19),(4,10),(4,13),(4,17),(4,18),(4,19),(5,9),(5,13),(5,17),(5,18),(5,19),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,20),(9,21),(9,22),(9,25),(10,20),(10,21),(10,22),(10,25),(11,15),(11,20),(11,21),(12,15),(12,20),(12,22),(13,16),(13,25),(14,15),(14,25),(15,24),(16,23),(17,16),(17,21),(17,25),(18,16),(18,22),(18,25),(19,16),(19,20),(19,25),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [3,5,4,6,2,1]=>[6,5,1,3,2,4]=>[1,6,3,5,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,17),(2,9),(2,11),(2,13),(2,17),(3,8),(3,11),(3,12),(3,17),(4,10),(4,12),(4,13),(4,17),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,20),(8,21),(9,16),(9,20),(9,21),(10,15),(10,16),(10,20),(11,14),(11,21),(12,14),(12,15),(12,21),(13,14),(13,16),(13,21),(14,19),(15,18),(15,19),(16,18),(16,19),(17,20),(17,21),(18,7),(19,7),(20,18),(21,18),(21,19)],22) [3,5,6,1,2,4]=>[4,5,1,6,2,3]=>[4,5,1,6,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,15),(1,17),(2,11),(2,15),(2,16),(3,8),(3,13),(4,9),(4,13),(5,2),(5,8),(5,10),(5,13),(6,1),(6,9),(6,10),(6,13),(8,15),(8,16),(9,15),(9,17),(10,11),(10,12),(10,16),(10,17),(11,14),(11,18),(12,14),(12,18),(13,16),(13,17),(14,7),(15,18),(16,14),(16,18),(17,14),(17,18),(18,7)],19) [3,5,6,1,4,2]=>[4,6,1,5,2,3]=>[1,6,4,5,2,3]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [3,5,6,2,1,4]=>[5,4,1,6,2,3]=>[1,5,2,6,4,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [3,5,6,2,4,1]=>[6,4,1,5,2,3]=>[1,4,2,6,5,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [3,5,6,4,1,2]=>[5,6,1,4,2,3]=>[1,5,4,6,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [3,5,6,4,2,1]=>[6,5,1,4,2,3]=>[1,6,2,5,4,3]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [3,6,1,2,4,5]=>[3,4,1,5,6,2]=>[3,1,4,5,2,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [3,6,1,2,5,4]=>[3,4,1,6,5,2]=>[6,3,1,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [3,6,1,4,2,5]=>[3,5,1,4,6,2]=>[5,3,4,6,1,2]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [3,6,1,4,5,2]=>[3,6,1,4,5,2]=>[6,3,4,5,1,2]=>([(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,15),(3,9),(3,10),(4,1),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,14),(9,12),(9,15),(10,7),(10,12),(11,6),(11,12),(11,15),(12,13),(12,14),(13,8),(14,8),(15,13),(15,14)],16) [3,6,1,5,2,4]=>[3,5,1,6,4,2]=>[5,3,1,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [3,6,1,5,4,2]=>[3,6,1,5,4,2]=>[6,5,3,4,1,2]=>([(0,2),(0,3),(0,4),(1,7),(1,13),(2,6),(2,12),(3,1),(3,9),(3,12),(4,6),(4,9),(4,12),(6,10),(7,8),(7,11),(8,5),(9,7),(9,10),(9,13),(10,11),(11,5),(12,10),(12,13),(13,8),(13,11)],14) [3,6,2,1,4,5]=>[4,3,1,5,6,2]=>[4,1,5,6,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [3,6,2,1,5,4]=>[4,3,1,6,5,2]=>[4,3,1,6,5,2]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [3,6,2,4,1,5]=>[5,3,1,4,6,2]=>[3,1,5,6,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [3,6,2,4,5,1]=>[6,3,1,4,5,2]=>[3,1,4,6,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [3,6,2,5,1,4]=>[5,3,1,6,4,2]=>[5,3,1,6,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(1,24),(2,11),(2,15),(2,17),(2,24),(3,9),(3,13),(3,15),(3,24),(4,10),(4,14),(4,16),(4,24),(5,7),(5,9),(5,11),(5,14),(5,24),(6,7),(6,10),(6,12),(6,13),(6,24),(7,21),(7,22),(7,25),(9,21),(9,25),(10,22),(10,25),(11,19),(11,21),(11,25),(12,20),(12,22),(12,25),(13,19),(13,22),(13,25),(14,20),(14,21),(14,25),(15,19),(15,25),(16,20),(16,25),(17,19),(17,20),(18,8),(19,18),(19,23),(20,18),(20,23),(21,18),(21,23),(22,18),(22,23),(23,8),(24,19),(24,20),(24,21),(24,22),(25,23)],26) [3,6,2,5,4,1]=>[6,3,1,5,4,2]=>[6,3,1,5,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [3,6,4,1,2,5]=>[4,5,1,3,6,2]=>[4,3,5,6,1,2]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [3,6,4,1,5,2]=>[4,6,1,3,5,2]=>[4,1,3,6,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [3,6,4,2,1,5]=>[5,4,1,3,6,2]=>[5,1,4,6,3,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [3,6,4,2,5,1]=>[6,4,1,3,5,2]=>[6,1,4,5,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [3,6,4,5,1,2]=>[5,6,1,3,4,2]=>[5,1,3,6,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [3,6,4,5,2,1]=>[6,5,1,3,4,2]=>[6,1,3,5,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [3,6,5,1,2,4]=>[4,5,1,6,3,2]=>[4,3,1,5,2,6]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [3,6,5,1,4,2]=>[4,6,1,5,3,2]=>[6,4,3,5,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [3,6,5,2,1,4]=>[5,4,1,6,3,2]=>[5,4,1,6,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,17),(1,20),(2,16),(2,20),(3,8),(3,10),(3,11),(4,8),(4,9),(4,12),(5,2),(5,9),(5,11),(5,13),(6,1),(6,10),(6,12),(6,13),(8,20),(9,15),(9,20),(10,14),(10,20),(11,14),(11,16),(11,20),(12,15),(12,17),(12,20),(13,14),(13,15),(13,16),(13,17),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(17,19),(18,7),(19,7),(20,19)],21) [3,6,5,2,4,1]=>[6,4,1,5,3,2]=>[6,4,1,5,3,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [3,6,5,4,1,2]=>[5,6,1,4,3,2]=>[5,4,3,6,1,2]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [3,6,5,4,2,1]=>[6,5,1,4,3,2]=>[6,5,1,4,3,2]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [4,1,2,3,5,6]=>[2,3,4,1,5,6]=>[2,3,4,1,5,6]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [4,1,2,3,6,5]=>[2,3,4,1,6,5]=>[2,1,6,3,4,5]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [4,1,2,5,3,6]=>[2,3,5,1,4,6]=>[2,3,5,1,4,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [4,1,2,5,6,3]=>[2,3,6,1,4,5]=>[2,3,6,1,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,17),(1,20),(2,16),(2,20),(3,8),(3,10),(3,11),(4,8),(4,9),(4,12),(5,2),(5,9),(5,11),(5,13),(6,1),(6,10),(6,12),(6,13),(8,20),(9,15),(9,20),(10,14),(10,20),(11,14),(11,16),(11,20),(12,15),(12,17),(12,20),(13,14),(13,15),(13,16),(13,17),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(17,19),(18,7),(19,7),(20,19)],21) [4,1,2,6,3,5]=>[2,3,5,1,6,4]=>[2,1,5,3,4,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [4,1,2,6,5,3]=>[2,3,6,1,5,4]=>[6,2,5,1,3,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [4,1,3,2,5,6]=>[2,4,3,1,5,6]=>[2,4,5,3,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [4,1,3,2,6,5]=>[2,4,3,1,6,5]=>[4,2,6,3,1,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [4,1,3,5,2,6]=>[2,5,3,1,4,6]=>[2,3,5,4,1,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [4,1,3,5,6,2]=>[2,6,3,1,4,5]=>[2,3,6,4,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [4,1,3,6,2,5]=>[2,5,3,1,6,4]=>[5,2,6,3,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [4,1,3,6,5,2]=>[2,6,3,1,5,4]=>[2,1,6,5,3,4]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [4,1,5,2,3,6]=>[2,4,5,1,3,6]=>[2,4,5,1,3,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [4,1,5,2,6,3]=>[2,4,6,1,3,5]=>[2,4,6,1,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(1,24),(2,11),(2,15),(2,17),(2,24),(3,9),(3,13),(3,15),(3,24),(4,10),(4,14),(4,16),(4,24),(5,7),(5,9),(5,11),(5,14),(5,24),(6,7),(6,10),(6,12),(6,13),(6,24),(7,21),(7,22),(7,25),(9,21),(9,25),(10,22),(10,25),(11,19),(11,21),(11,25),(12,20),(12,22),(12,25),(13,19),(13,22),(13,25),(14,20),(14,21),(14,25),(15,19),(15,25),(16,20),(16,25),(17,19),(17,20),(18,8),(19,18),(19,23),(20,18),(20,23),(21,18),(21,23),(22,18),(22,23),(23,8),(24,19),(24,20),(24,21),(24,22),(25,23)],26) [4,1,5,3,2,6]=>[2,5,4,1,3,6]=>[2,5,6,4,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [4,1,5,3,6,2]=>[2,6,4,1,3,5]=>[2,4,6,5,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [4,1,5,6,2,3]=>[2,5,6,1,3,4]=>[2,5,6,1,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [4,1,5,6,3,2]=>[2,6,5,1,3,4]=>[2,3,6,5,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [4,1,6,2,3,5]=>[2,4,5,1,6,3]=>[2,1,4,3,5,6]=>([(0,2),(0,3),(0,4),(1,7),(1,13),(2,6),(2,12),(3,1),(3,9),(3,12),(4,6),(4,9),(4,12),(6,10),(7,8),(7,11),(8,5),(9,7),(9,10),(9,13),(10,11),(11,5),(12,10),(12,13),(13,8),(13,11)],14) [4,1,6,2,5,3]=>[2,4,6,1,5,3]=>[6,2,4,1,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [4,1,6,3,2,5]=>[2,5,4,1,6,3]=>[2,1,5,4,3,6]=>([(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,15),(3,9),(3,10),(4,1),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,14),(9,12),(9,15),(10,7),(10,12),(11,6),(11,12),(11,15),(12,13),(12,14),(13,8),(14,8),(15,13),(15,14)],16) [4,1,6,3,5,2]=>[2,6,4,1,5,3]=>[2,1,6,4,3,5]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [4,1,6,5,2,3]=>[2,5,6,1,4,3]=>[5,2,4,1,3,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [4,1,6,5,3,2]=>[2,6,5,1,4,3]=>[6,2,5,4,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [4,2,1,3,5,6]=>[3,2,4,1,5,6]=>[3,4,5,2,6,1]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [4,2,1,3,6,5]=>[3,2,4,1,6,5]=>[3,2,6,4,5,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [4,2,1,5,3,6]=>[3,2,5,1,4,6]=>[3,5,6,2,4,1]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [4,2,1,5,6,3]=>[3,2,6,1,4,5]=>[3,4,6,2,5,1]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [4,2,1,6,3,5]=>[3,2,5,1,6,4]=>[3,2,5,4,6,1]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [4,2,1,6,5,3]=>[3,2,6,1,5,4]=>[3,2,6,1,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,15),(1,17),(2,11),(2,15),(2,16),(3,8),(3,13),(4,9),(4,13),(5,2),(5,8),(5,10),(5,13),(6,1),(6,9),(6,10),(6,13),(8,15),(8,16),(9,15),(9,17),(10,11),(10,12),(10,16),(10,17),(11,14),(11,18),(12,14),(12,18),(13,16),(13,17),(14,7),(15,18),(16,14),(16,18),(17,14),(17,18),(18,7)],19) [4,2,3,1,5,6]=>[4,2,3,1,5,6]=>[2,4,5,3,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,17),(2,9),(2,11),(2,13),(2,17),(3,8),(3,11),(3,12),(3,17),(4,10),(4,12),(4,13),(4,17),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,20),(8,21),(9,16),(9,20),(9,21),(10,15),(10,16),(10,20),(11,14),(11,21),(12,14),(12,15),(12,21),(13,14),(13,16),(13,21),(14,19),(15,18),(15,19),(16,18),(16,19),(17,20),(17,21),(18,7),(19,7),(20,18),(21,18),(21,19)],22) [4,2,3,1,6,5]=>[4,2,3,1,6,5]=>[4,2,6,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,17),(1,18),(2,12),(2,14),(2,18),(2,19),(3,11),(3,14),(3,17),(3,19),(4,10),(4,13),(4,17),(4,18),(4,19),(5,9),(5,13),(5,17),(5,18),(5,19),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,20),(9,21),(9,22),(9,25),(10,20),(10,21),(10,22),(10,25),(11,15),(11,20),(11,21),(12,15),(12,20),(12,22),(13,16),(13,25),(14,15),(14,25),(15,24),(16,23),(17,16),(17,21),(17,25),(18,16),(18,22),(18,25),(19,16),(19,20),(19,25),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [4,2,3,5,1,6]=>[5,2,3,1,4,6]=>[2,3,5,4,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [4,2,3,5,6,1]=>[6,2,3,1,4,5]=>[2,3,6,4,5,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [4,2,3,6,1,5]=>[5,2,3,1,6,4]=>[5,2,6,3,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [4,2,3,6,5,1]=>[6,2,3,1,5,4]=>[2,1,6,3,5,4]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [4,2,5,1,3,6]=>[4,2,5,1,3,6]=>[4,5,6,2,3,1]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,7),(2,14),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,12),(7,12),(7,13),(9,1),(9,14),(10,6),(10,14),(11,7),(11,14),(12,8),(13,8),(14,12),(14,13)],15) [4,2,5,1,6,3]=>[4,2,6,1,3,5]=>[2,4,6,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [4,2,5,3,1,6]=>[5,2,4,1,3,6]=>[2,5,6,1,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [4,2,5,3,6,1]=>[6,2,4,1,3,5]=>[2,4,6,1,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [4,2,5,6,1,3]=>[5,2,6,1,3,4]=>[2,5,6,3,4,1]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [4,2,5,6,3,1]=>[6,2,5,1,3,4]=>[2,3,6,1,5,4]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [4,2,6,1,3,5]=>[4,2,5,1,6,3]=>[4,2,5,3,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [4,2,6,1,5,3]=>[4,2,6,1,5,3]=>[4,2,6,1,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,13),(1,16),(1,17),(2,9),(2,13),(2,15),(2,17),(3,12),(3,14),(3,15),(3,17),(4,11),(4,14),(4,16),(4,17),(5,8),(5,11),(5,12),(5,15),(5,16),(6,8),(6,9),(6,10),(6,15),(6,16),(8,19),(8,20),(9,19),(9,22),(9,23),(10,20),(10,22),(10,23),(11,19),(11,22),(11,24),(12,20),(12,22),(12,24),(13,22),(13,23),(14,22),(14,24),(15,19),(15,20),(15,23),(15,24),(16,19),(16,20),(16,23),(16,24),(17,23),(17,24),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21),(23,18),(23,21),(24,18),(24,21)],25) [4,2,6,3,1,5]=>[5,2,4,1,6,3]=>[2,1,5,4,6,3]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [4,2,6,3,5,1]=>[6,2,4,1,5,3]=>[2,1,6,4,5,3]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,16),(2,13),(2,14),(2,16),(3,12),(3,14),(3,16),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(6,18),(6,19),(7,18),(8,18),(8,19),(9,18),(9,19),(11,7),(11,17),(12,8),(12,15),(12,17),(13,9),(13,15),(13,17),(14,6),(14,15),(15,19),(16,6),(16,17),(17,18),(17,19),(18,10),(19,10)],20) [4,2,6,5,1,3]=>[5,2,6,1,4,3]=>[5,2,6,1,4,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [4,2,6,5,3,1]=>[6,2,5,1,4,3]=>[6,2,5,1,4,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [4,3,1,2,5,6]=>[3,4,2,1,5,6]=>[3,4,5,2,1,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [4,3,1,2,6,5]=>[3,4,2,1,6,5]=>[3,2,6,4,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [4,3,1,5,2,6]=>[3,5,2,1,4,6]=>[3,5,6,2,1,4]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [4,3,1,5,6,2]=>[3,6,2,1,4,5]=>[3,4,6,2,1,5]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [4,3,1,6,2,5]=>[3,5,2,1,6,4]=>[3,2,5,4,1,6]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [4,3,1,6,5,2]=>[3,6,2,1,5,4]=>[3,2,6,5,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [4,3,2,1,5,6]=>[4,3,2,1,5,6]=>[4,5,6,3,2,1]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [4,3,2,1,6,5]=>[4,3,2,1,6,5]=>[4,3,6,5,2,1]=>([(0,2),(0,3),(0,4),(1,8),(1,9),(2,1),(2,10),(2,11),(3,6),(3,7),(3,11),(4,6),(4,7),(4,10),(6,14),(7,12),(7,14),(8,13),(8,15),(9,13),(9,15),(10,8),(10,12),(10,14),(11,9),(11,12),(11,14),(12,13),(12,15),(13,5),(14,15),(15,5)],16) [4,3,2,5,1,6]=>[5,3,2,1,4,6]=>[3,5,6,4,2,1]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [4,3,2,5,6,1]=>[6,3,2,1,4,5]=>[3,4,6,5,2,1]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [4,3,2,6,1,5]=>[5,3,2,1,6,4]=>[5,3,6,4,2,1]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [4,3,2,6,5,1]=>[6,3,2,1,5,4]=>[3,2,6,5,4,1]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [4,3,5,1,2,6]=>[4,5,2,1,3,6]=>[4,5,6,2,1,3]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [4,3,5,1,6,2]=>[4,6,2,1,3,5]=>[2,4,6,3,1,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [4,3,5,2,1,6]=>[5,4,2,1,3,6]=>[2,5,6,4,3,1]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [4,3,5,2,6,1]=>[6,4,2,1,3,5]=>[2,4,6,5,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [4,3,5,6,1,2]=>[5,6,2,1,3,4]=>[2,5,6,3,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [4,3,5,6,2,1]=>[6,5,2,1,3,4]=>[2,3,6,5,4,1]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [4,3,6,1,2,5]=>[4,5,2,1,6,3]=>[4,2,5,3,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [4,3,6,1,5,2]=>[4,6,2,1,5,3]=>[4,2,6,5,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [4,3,6,2,1,5]=>[5,4,2,1,6,3]=>[5,2,6,4,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [4,3,6,2,5,1]=>[6,4,2,1,5,3]=>[4,2,6,5,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [4,3,6,5,1,2]=>[5,6,2,1,4,3]=>[5,2,6,4,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,15),(1,16),(2,8),(2,11),(2,16),(2,18),(3,8),(3,10),(3,15),(3,17),(4,9),(4,13),(4,14),(4,17),(4,18),(5,10),(5,12),(5,13),(5,16),(5,18),(6,11),(6,12),(6,14),(6,15),(6,17),(8,21),(8,25),(9,23),(9,24),(10,21),(10,23),(10,25),(11,21),(11,24),(11,25),(12,23),(12,24),(12,25),(13,19),(13,23),(13,25),(14,19),(14,24),(14,25),(15,24),(15,25),(16,23),(16,25),(17,19),(17,21),(17,23),(17,24),(18,19),(18,21),(18,23),(18,24),(19,20),(19,22),(20,7),(21,20),(21,22),(22,7),(23,20),(23,22),(24,20),(24,22),(25,22)],26) [4,3,6,5,2,1]=>[6,5,2,1,4,3]=>[2,1,6,5,4,3]=>([(0,4),(0,5),(1,7),(2,9),(2,11),(3,2),(3,10),(4,3),(4,6),(5,1),(5,6),(6,7),(6,10),(7,11),(9,8),(10,9),(10,11),(11,8)],12) [4,5,1,2,3,6]=>[3,4,5,1,2,6]=>[3,4,5,1,2,6]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [4,5,1,2,6,3]=>[3,4,6,1,2,5]=>[3,4,6,1,2,5]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [4,5,1,3,2,6]=>[3,5,4,1,2,6]=>[3,5,6,4,1,2]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [4,5,1,3,6,2]=>[3,6,4,1,2,5]=>[3,4,6,5,1,2]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [4,5,1,6,2,3]=>[3,5,6,1,2,4]=>[3,5,6,1,2,4]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,15),(1,17),(2,11),(2,15),(2,16),(3,8),(3,13),(4,9),(4,13),(5,2),(5,8),(5,10),(5,13),(6,1),(6,9),(6,10),(6,13),(8,15),(8,16),(9,15),(9,17),(10,11),(10,12),(10,16),(10,17),(11,14),(11,18),(12,14),(12,18),(13,16),(13,17),(14,7),(15,18),(16,14),(16,18),(17,14),(17,18),(18,7)],19) [4,5,1,6,3,2]=>[3,6,5,1,2,4]=>[1,3,6,5,2,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [4,5,2,1,3,6]=>[4,3,5,1,2,6]=>[4,5,6,1,3,2]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [4,5,2,1,6,3]=>[4,3,6,1,2,5]=>[1,4,6,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [4,5,2,3,1,6]=>[5,3,4,1,2,6]=>[3,5,6,1,4,2]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [4,5,2,3,6,1]=>[6,3,4,1,2,5]=>[3,4,6,1,5,2]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [4,5,2,6,1,3]=>[5,3,6,1,2,4]=>[1,5,6,3,4,2]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [4,5,2,6,3,1]=>[6,3,5,1,2,4]=>[1,3,6,2,5,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [4,5,3,1,2,6]=>[4,5,3,1,2,6]=>[4,5,6,3,1,2]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,7),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,13),(7,14),(9,1),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(12,14),(13,8),(14,8)],15) [4,5,3,1,6,2]=>[4,6,3,1,2,5]=>[1,4,6,3,2,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [4,5,3,2,1,6]=>[5,4,3,1,2,6]=>[1,5,6,4,3,2]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [4,5,3,2,6,1]=>[6,4,3,1,2,5]=>[1,4,6,5,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [4,5,3,6,1,2]=>[5,6,3,1,2,4]=>[1,5,6,3,2,4]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [4,5,3,6,2,1]=>[6,5,3,1,2,4]=>[1,3,6,5,4,2]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [4,5,6,1,2,3]=>[4,5,6,1,2,3]=>[4,5,6,1,2,3]=>([(0,1),(0,2),(1,4),(1,10),(2,3),(2,10),(3,5),(3,8),(4,5),(4,9),(5,11),(7,6),(8,7),(8,11),(9,7),(9,11),(10,8),(10,9),(11,6)],12) [4,5,6,1,3,2]=>[4,6,5,1,2,3]=>[1,4,6,5,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [4,5,6,2,1,3]=>[5,4,6,1,2,3]=>[1,5,6,2,4,3]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [4,5,6,2,3,1]=>[6,4,5,1,2,3]=>[1,4,6,2,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,19),(2,10),(2,13),(2,19),(2,20),(3,9),(3,13),(3,18),(3,20),(4,12),(4,14),(4,18),(4,19),(4,20),(5,11),(5,14),(5,18),(5,19),(5,20),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,15),(9,21),(9,25),(10,15),(10,22),(10,25),(11,16),(11,21),(11,22),(11,25),(12,16),(12,21),(12,22),(12,25),(13,15),(13,25),(14,16),(14,17),(14,25),(15,24),(16,23),(16,24),(17,23),(18,17),(18,21),(18,25),(19,17),(19,22),(19,25),(20,17),(20,25),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [4,5,6,3,1,2]=>[5,6,4,1,2,3]=>[1,5,6,4,2,3]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,10),(2,12),(3,8),(3,10),(3,11),(4,7),(4,11),(4,12),(5,17),(7,14),(7,15),(8,13),(8,14),(9,13),(9,15),(10,13),(10,16),(11,5),(11,14),(11,16),(12,5),(12,15),(12,16),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [4,5,6,3,2,1]=>[6,5,4,1,2,3]=>[1,2,6,5,4,3]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [4,6,1,2,3,5]=>[3,4,5,1,6,2]=>[3,1,4,2,5,6]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [4,6,1,2,5,3]=>[3,4,6,1,5,2]=>[6,3,4,1,2,5]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [4,6,1,3,2,5]=>[3,5,4,1,6,2]=>[3,1,5,4,2,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [4,6,1,3,5,2]=>[3,6,4,1,5,2]=>[3,1,6,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [4,6,1,5,2,3]=>[3,5,6,1,4,2]=>[5,3,4,1,2,6]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [4,6,1,5,3,2]=>[3,6,5,1,4,2]=>[6,3,5,4,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [4,6,2,1,3,5]=>[4,3,5,1,6,2]=>[4,1,5,3,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [4,6,2,1,5,3]=>[4,3,6,1,5,2]=>[4,3,6,1,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [4,6,2,3,1,5]=>[5,3,4,1,6,2]=>[3,1,5,4,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [4,6,2,3,5,1]=>[6,3,4,1,5,2]=>[3,1,6,4,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [4,6,2,5,1,3]=>[5,3,6,1,4,2]=>[5,3,6,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,13),(1,15),(1,19),(2,12),(2,14),(2,19),(3,9),(3,11),(3,14),(3,16),(3,19),(4,10),(4,11),(4,15),(4,16),(4,19),(5,7),(5,9),(5,12),(5,15),(5,16),(6,7),(6,10),(6,13),(6,14),(6,16),(7,22),(7,23),(7,24),(9,17),(9,22),(9,24),(10,18),(10,23),(10,24),(11,17),(11,18),(11,22),(11,23),(12,22),(12,24),(13,23),(13,24),(14,17),(14,23),(14,24),(15,18),(15,22),(15,24),(16,17),(16,18),(16,22),(16,23),(17,20),(17,21),(18,20),(18,21),(19,22),(19,23),(20,8),(21,8),(22,20),(22,21),(23,20),(23,21),(24,21)],25) [4,6,2,5,3,1]=>[6,3,5,1,4,2]=>[6,3,5,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [4,6,3,1,2,5]=>[4,5,3,1,6,2]=>[4,1,5,3,2,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [4,6,3,1,5,2]=>[4,6,3,1,5,2]=>[4,3,6,5,1,2]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,1),(2,11),(2,12),(3,9),(3,10),(3,12),(4,9),(4,10),(4,11),(5,15),(5,16),(7,15),(7,16),(8,15),(8,16),(9,5),(9,13),(10,5),(10,14),(11,7),(11,13),(11,14),(12,8),(12,13),(12,14),(13,16),(14,15),(14,16),(15,6),(16,6)],17) [4,6,3,2,1,5]=>[5,4,3,1,6,2]=>[5,1,6,4,3,2]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [4,6,3,2,5,1]=>[6,4,3,1,5,2]=>[4,1,6,5,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [4,6,3,5,1,2]=>[5,6,3,1,4,2]=>[5,3,6,4,1,2]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [4,6,3,5,2,1]=>[6,5,3,1,4,2]=>[3,1,6,5,4,2]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [4,6,5,1,2,3]=>[4,5,6,1,3,2]=>[4,3,5,1,2,6]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [4,6,5,1,3,2]=>[4,6,5,1,3,2]=>[6,4,5,3,1,2]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,13),(2,8),(2,9),(2,13),(3,7),(3,9),(3,13),(4,6),(4,7),(4,8),(6,15),(7,12),(7,15),(8,11),(8,12),(8,15),(9,11),(9,12),(10,5),(11,10),(11,14),(12,10),(12,14),(13,11),(13,15),(14,5),(15,14)],16) [4,6,5,2,1,3]=>[5,4,6,1,3,2]=>[5,4,6,1,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,16),(2,18),(3,10),(3,11),(3,13),(4,9),(4,12),(4,13),(5,8),(5,9),(5,11),(6,8),(6,10),(6,12),(8,17),(9,14),(9,17),(10,15),(10,17),(11,2),(11,14),(11,17),(12,1),(12,15),(12,17),(13,14),(13,15),(14,16),(14,18),(15,16),(15,18),(16,7),(17,18),(18,7)],19) [4,6,5,2,3,1]=>[6,4,5,1,3,2]=>[6,4,5,1,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [4,6,5,3,1,2]=>[5,6,4,1,3,2]=>[5,4,6,3,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [4,6,5,3,2,1]=>[6,5,4,1,3,2]=>[6,1,5,4,3,2]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [5,1,2,3,4,6]=>[2,3,4,5,1,6]=>[2,3,1,4,5,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [5,1,2,3,6,4]=>[2,3,4,6,1,5]=>[2,6,1,3,4,5]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [5,1,2,4,3,6]=>[2,3,5,4,1,6]=>[2,5,3,1,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [5,1,2,4,6,3]=>[2,3,6,4,1,5]=>[2,6,3,1,4,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [5,1,2,6,3,4]=>[2,3,5,6,1,4]=>[2,5,1,3,4,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [5,1,2,6,4,3]=>[2,3,6,5,1,4]=>[2,6,5,1,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [5,1,3,2,4,6]=>[2,4,3,5,1,6]=>[2,4,3,5,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [5,1,3,2,6,4]=>[2,4,3,6,1,5]=>[4,6,2,3,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [5,1,3,4,2,6]=>[2,5,3,4,1,6]=>[2,5,3,4,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [5,1,3,4,6,2]=>[2,6,3,4,1,5]=>[2,6,3,4,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,16),(1,20),(1,21),(2,10),(2,13),(2,18),(3,9),(3,13),(3,17),(4,1),(4,11),(4,12),(4,17),(4,18),(5,8),(5,9),(5,11),(5,18),(6,8),(6,10),(6,12),(6,17),(8,14),(8,20),(8,21),(9,19),(9,20),(10,19),(10,21),(11,14),(11,16),(11,20),(12,14),(12,15),(12,21),(13,19),(14,23),(15,22),(15,23),(16,22),(16,23),(17,15),(17,19),(17,20),(18,16),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7)],24) [5,1,3,6,2,4]=>[2,5,3,6,1,4]=>[5,6,2,3,1,4]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [5,1,3,6,4,2]=>[2,6,3,5,1,4]=>[2,6,1,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [5,1,4,2,3,6]=>[2,4,5,3,1,6]=>[2,4,3,1,5,6]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [5,1,4,2,6,3]=>[2,4,6,3,1,5]=>[4,6,2,1,3,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [5,1,4,3,2,6]=>[2,5,4,3,1,6]=>[2,5,4,3,1,6]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [5,1,4,3,6,2]=>[2,6,4,3,1,5]=>[2,6,4,3,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,16),(1,20),(1,21),(2,10),(2,13),(2,18),(3,9),(3,13),(3,17),(4,1),(4,11),(4,12),(4,17),(4,18),(5,8),(5,9),(5,11),(5,18),(6,8),(6,10),(6,12),(6,17),(8,14),(8,20),(8,21),(9,19),(9,20),(10,19),(10,21),(11,14),(11,16),(11,20),(12,14),(12,15),(12,21),(13,19),(14,23),(15,22),(15,23),(16,22),(16,23),(17,15),(17,19),(17,20),(18,16),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7)],24) [5,1,4,6,2,3]=>[2,5,6,3,1,4]=>[5,6,2,1,3,4]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [5,1,4,6,3,2]=>[2,6,5,3,1,4]=>[2,6,5,3,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [5,1,6,2,3,4]=>[2,4,5,6,1,3]=>[2,4,1,3,5,6]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [5,1,6,2,4,3]=>[2,4,6,5,1,3]=>[2,6,4,1,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [5,1,6,3,2,4]=>[2,5,4,6,1,3]=>[2,5,1,4,3,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [5,1,6,3,4,2]=>[2,6,4,5,1,3]=>[2,6,1,4,3,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [5,1,6,4,2,3]=>[2,5,6,4,1,3]=>[2,5,4,1,3,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [5,1,6,4,3,2]=>[2,6,5,4,1,3]=>[2,6,5,4,1,3]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [5,2,1,3,4,6]=>[3,2,4,5,1,6]=>[3,4,2,5,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [5,2,1,3,6,4]=>[3,2,4,6,1,5]=>[3,6,2,4,5,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,19),(1,23),(2,8),(2,16),(2,17),(3,10),(3,11),(3,17),(4,12),(4,13),(4,16),(4,17),(5,1),(5,9),(5,11),(5,12),(5,16),(6,8),(6,9),(6,10),(6,13),(8,18),(8,20),(9,14),(9,15),(9,20),(9,23),(10,14),(10,18),(11,14),(11,19),(11,23),(12,15),(12,19),(12,23),(13,15),(13,18),(13,20),(14,21),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [5,2,1,4,3,6]=>[3,2,5,4,1,6]=>[3,5,2,1,6,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [5,2,1,4,6,3]=>[3,2,6,4,1,5]=>[3,4,2,1,6,5]=>([(0,3),(0,4),(0,5),(1,6),(1,9),(2,7),(2,8),(3,1),(3,11),(3,13),(4,2),(4,12),(4,13),(5,11),(5,12),(6,15),(7,16),(8,15),(8,16),(9,15),(9,16),(11,9),(11,14),(12,7),(12,14),(13,6),(13,8),(13,14),(14,15),(14,16),(15,10),(16,10)],17) [5,2,1,6,3,4]=>[3,2,5,6,1,4]=>[3,5,2,4,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [5,2,1,6,4,3]=>[3,2,6,5,1,4]=>[3,6,2,1,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,12),(1,19),(2,16),(2,19),(3,8),(3,13),(4,7),(4,9),(4,13),(5,2),(5,9),(5,10),(5,13),(6,1),(6,7),(6,8),(6,10),(7,14),(7,17),(7,19),(8,17),(8,19),(9,14),(9,16),(9,19),(10,12),(10,14),(10,16),(10,17),(12,15),(12,18),(13,16),(13,17),(14,15),(14,18),(15,11),(16,15),(16,18),(17,15),(17,18),(18,11),(19,18)],20) [5,2,3,1,4,6]=>[4,2,3,5,1,6]=>[2,4,3,5,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [5,2,3,1,6,4]=>[4,2,3,6,1,5]=>[4,6,2,3,5,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,18),(1,23),(2,13),(2,14),(2,19),(3,11),(3,12),(3,19),(4,9),(4,10),(4,14),(4,19),(5,1),(5,9),(5,12),(5,15),(5,19),(6,10),(6,11),(6,13),(6,15),(7,21),(7,22),(9,17),(9,18),(9,23),(10,16),(10,17),(10,20),(11,20),(11,23),(12,18),(12,23),(13,16),(13,20),(14,16),(14,23),(15,7),(15,17),(15,20),(15,23),(16,22),(17,21),(17,22),(18,21),(19,18),(19,20),(19,23),(20,21),(20,22),(21,8),(22,8),(23,21),(23,22)],24) [5,2,3,4,1,6]=>[5,2,3,4,1,6]=>[2,5,3,4,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,19),(2,10),(2,12),(2,13),(2,19),(3,9),(3,11),(3,13),(3,19),(4,8),(4,11),(4,12),(4,19),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,16),(8,20),(9,15),(9,17),(9,20),(10,16),(10,17),(10,20),(11,14),(11,15),(11,18),(12,14),(12,16),(12,18),(13,14),(13,17),(13,18),(14,22),(15,21),(15,22),(16,21),(16,22),(17,21),(17,22),(18,21),(18,22),(19,18),(19,20),(20,21),(21,7),(22,7)],23) [5,2,3,4,6,1]=>[6,2,3,4,1,5]=>[2,6,3,4,5,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [5,2,3,6,1,4]=>[5,2,3,6,1,4]=>[5,6,2,3,4,1]=>([(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,15),(3,9),(3,10),(4,1),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,14),(9,12),(9,15),(10,7),(10,12),(11,6),(11,12),(11,15),(12,13),(12,14),(13,8),(14,8),(15,13),(15,14)],16) [5,2,3,6,4,1]=>[6,2,3,5,1,4]=>[2,6,1,3,5,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [5,2,4,1,3,6]=>[4,2,5,3,1,6]=>[4,5,2,1,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [5,2,4,1,6,3]=>[4,2,6,3,1,5]=>[2,4,3,1,6,5]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [5,2,4,3,1,6]=>[5,2,4,3,1,6]=>[2,5,4,3,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [5,2,4,3,6,1]=>[6,2,4,3,1,5]=>[2,6,4,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [5,2,4,6,1,3]=>[5,2,6,3,1,4]=>[2,5,3,1,6,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [5,2,4,6,3,1]=>[6,2,5,3,1,4]=>[2,6,5,3,4,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [5,2,6,1,3,4]=>[4,2,5,6,1,3]=>[4,5,2,3,6,1]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [5,2,6,1,4,3]=>[4,2,6,5,1,3]=>[4,6,2,1,5,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [5,2,6,3,1,4]=>[5,2,4,6,1,3]=>[2,5,1,4,6,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [5,2,6,3,4,1]=>[6,2,4,5,1,3]=>[2,6,1,4,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [5,2,6,4,1,3]=>[5,2,6,4,1,3]=>[5,6,2,1,4,3]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,1),(2,11),(2,12),(3,9),(3,10),(3,12),(4,9),(4,10),(4,11),(5,15),(5,16),(7,15),(7,16),(8,15),(8,16),(9,5),(9,13),(10,5),(10,14),(11,7),(11,13),(11,14),(12,8),(12,13),(12,14),(13,16),(14,15),(14,16),(15,6),(16,6)],17) [5,2,6,4,3,1]=>[6,2,5,4,1,3]=>[2,6,5,1,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [5,3,1,2,4,6]=>[3,4,2,5,1,6]=>[3,4,2,5,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [5,3,1,2,6,4]=>[3,4,2,6,1,5]=>[3,6,2,4,1,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,12),(1,18),(1,20),(2,11),(2,13),(2,17),(2,18),(3,14),(3,15),(3,17),(3,18),(3,20),(4,9),(4,13),(4,15),(4,20),(5,7),(5,9),(5,12),(5,17),(6,7),(6,10),(6,11),(6,14),(6,20),(7,24),(7,25),(7,26),(9,19),(9,26),(10,24),(10,25),(11,21),(11,24),(11,25),(12,24),(12,26),(13,19),(13,21),(14,16),(14,24),(14,25),(15,16),(15,19),(15,21),(16,22),(16,23),(17,19),(17,25),(17,26),(18,21),(18,24),(18,26),(19,23),(20,16),(20,21),(20,25),(20,26),(21,22),(21,23),(22,8),(23,8),(24,22),(25,22),(25,23),(26,22),(26,23)],27) [5,3,1,4,2,6]=>[3,5,2,4,1,6]=>[3,5,2,6,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [5,3,1,4,6,2]=>[3,6,2,4,1,5]=>[3,4,2,6,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [5,3,1,6,2,4]=>[3,5,2,6,1,4]=>[3,5,2,4,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,13),(2,15),(2,19),(2,21),(3,12),(3,14),(3,19),(3,21),(4,10),(4,11),(4,19),(4,21),(5,9),(5,11),(5,14),(5,15),(5,21),(6,8),(6,9),(6,10),(6,12),(6,13),(8,20),(8,24),(9,16),(9,17),(9,24),(9,25),(10,20),(10,24),(10,25),(11,18),(11,25),(12,16),(12,20),(12,24),(13,17),(13,20),(13,24),(14,16),(14,18),(14,25),(15,17),(15,18),(15,25),(16,22),(16,23),(17,22),(17,23),(18,23),(19,20),(19,25),(20,22),(21,18),(21,24),(21,25),(22,7),(23,7),(24,22),(24,23),(25,22),(25,23)],26) [5,3,1,6,4,2]=>[3,6,2,5,1,4]=>[3,6,2,5,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(1,24),(2,11),(2,15),(2,17),(2,24),(3,9),(3,13),(3,15),(3,24),(4,10),(4,14),(4,16),(4,24),(5,7),(5,9),(5,11),(5,14),(5,24),(6,7),(6,10),(6,12),(6,13),(6,24),(7,21),(7,22),(7,25),(9,21),(9,25),(10,22),(10,25),(11,19),(11,21),(11,25),(12,20),(12,22),(12,25),(13,19),(13,22),(13,25),(14,20),(14,21),(14,25),(15,19),(15,25),(16,20),(16,25),(17,19),(17,20),(18,8),(19,18),(19,23),(20,18),(20,23),(21,18),(21,23),(22,18),(22,23),(23,8),(24,19),(24,20),(24,21),(24,22),(25,23)],26) [5,3,2,1,4,6]=>[4,3,2,5,1,6]=>[4,5,3,6,2,1]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [5,3,2,1,6,4]=>[4,3,2,6,1,5]=>[4,6,3,5,2,1]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,14),(1,18),(2,13),(2,14),(2,18),(3,12),(3,14),(3,18),(4,11),(4,14),(4,18),(5,8),(5,9),(5,10),(5,16),(6,5),(6,11),(6,12),(6,13),(6,18),(8,15),(8,19),(9,15),(9,19),(10,15),(10,19),(11,8),(11,16),(11,17),(12,9),(12,16),(12,17),(13,10),(13,16),(13,17),(14,17),(15,7),(16,15),(16,19),(17,19),(18,16),(18,17),(19,7)],20) [5,3,2,4,1,6]=>[5,3,2,4,1,6]=>[3,5,4,6,2,1]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [5,3,2,4,6,1]=>[6,3,2,4,1,5]=>[3,6,4,5,2,1]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [5,3,2,6,1,4]=>[5,3,2,6,1,4]=>[5,6,3,4,2,1]=>([(0,2),(0,3),(0,4),(1,7),(1,13),(2,6),(2,12),(3,1),(3,9),(3,12),(4,6),(4,9),(4,12),(6,10),(7,8),(7,11),(8,5),(9,7),(9,10),(9,13),(10,11),(11,5),(12,10),(12,13),(13,8),(13,11)],14) [5,3,2,6,4,1]=>[6,3,2,5,1,4]=>[3,6,2,5,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [5,3,4,1,2,6]=>[4,5,2,3,1,6]=>[4,5,2,6,1,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [5,3,4,1,6,2]=>[4,6,2,3,1,5]=>[2,4,3,6,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,8),(2,10),(2,17),(3,12),(3,13),(3,15),(3,17),(4,11),(4,14),(4,15),(4,17),(5,8),(5,9),(5,13),(5,14),(6,9),(6,10),(6,11),(6,12),(8,19),(8,23),(9,1),(9,19),(9,20),(9,23),(10,18),(10,19),(11,18),(11,20),(12,18),(12,20),(12,23),(13,16),(13,23),(14,16),(14,20),(14,23),(15,16),(15,19),(15,20),(16,22),(17,18),(17,19),(17,23),(18,21),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21),(23,22)],24) [5,3,4,2,1,6]=>[5,4,2,3,1,6]=>[2,5,4,6,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [5,3,4,2,6,1]=>[6,4,2,3,1,5]=>[2,6,4,5,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [5,3,4,6,1,2]=>[5,6,2,3,1,4]=>[2,5,3,6,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [5,3,4,6,2,1]=>[6,5,2,3,1,4]=>[2,6,3,5,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [5,3,6,1,2,4]=>[4,5,2,6,1,3]=>[4,5,2,3,1,6]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [5,3,6,1,4,2]=>[4,6,2,5,1,3]=>[4,6,2,5,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,13),(1,15),(1,19),(2,12),(2,14),(2,19),(3,9),(3,11),(3,14),(3,16),(3,19),(4,10),(4,11),(4,15),(4,16),(4,19),(5,7),(5,9),(5,12),(5,15),(5,16),(6,7),(6,10),(6,13),(6,14),(6,16),(7,22),(7,23),(7,24),(9,17),(9,22),(9,24),(10,18),(10,23),(10,24),(11,17),(11,18),(11,22),(11,23),(12,22),(12,24),(13,23),(13,24),(14,17),(14,23),(14,24),(15,18),(15,22),(15,24),(16,17),(16,18),(16,22),(16,23),(17,20),(17,21),(18,20),(18,21),(19,22),(19,23),(20,8),(21,8),(22,20),(22,21),(23,20),(23,21),(24,21)],25) [5,3,6,2,1,4]=>[5,4,2,6,1,3]=>[5,6,2,4,3,1]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [5,3,6,2,4,1]=>[6,4,2,5,1,3]=>[4,6,2,5,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [5,3,6,4,1,2]=>[5,6,2,4,1,3]=>[5,6,2,4,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [5,3,6,4,2,1]=>[6,5,2,4,1,3]=>[2,6,1,5,4,3]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [5,4,1,2,3,6]=>[3,4,5,2,1,6]=>[3,4,2,1,5,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [5,4,1,2,6,3]=>[3,4,6,2,1,5]=>[3,6,2,1,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,16),(1,18),(2,12),(2,15),(3,9),(3,14),(4,8),(4,10),(4,14),(5,1),(5,8),(5,13),(5,14),(6,2),(6,9),(6,10),(6,13),(8,16),(8,18),(9,15),(9,17),(10,15),(10,17),(10,18),(11,19),(11,20),(12,19),(12,20),(13,11),(13,12),(13,17),(13,18),(14,16),(14,17),(15,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [5,4,1,3,2,6]=>[3,5,4,2,1,6]=>[3,5,4,2,1,6]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [5,4,1,3,6,2]=>[3,6,4,2,1,5]=>[3,6,4,2,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,16),(1,17),(2,7),(2,14),(2,15),(3,11),(3,13),(3,14),(4,10),(4,13),(4,14),(4,15),(5,7),(5,8),(5,13),(6,1),(6,8),(6,10),(6,11),(6,15),(7,22),(8,17),(8,19),(8,22),(10,16),(10,17),(10,18),(10,19),(11,12),(11,18),(11,19),(12,21),(13,19),(13,22),(14,18),(14,22),(15,16),(15,18),(15,22),(16,20),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,9),(21,9),(22,20)],23) [5,4,1,6,2,3]=>[3,5,6,2,1,4]=>[3,5,2,1,4,6]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,7),(2,18),(2,22),(3,9),(3,11),(3,19),(4,10),(4,12),(4,17),(4,19),(5,11),(5,12),(5,13),(5,19),(6,2),(6,9),(6,10),(6,13),(6,17),(7,20),(7,21),(9,16),(9,18),(9,22),(10,15),(10,18),(10,22),(11,14),(11,16),(12,14),(12,15),(12,22),(13,7),(13,15),(13,16),(13,22),(14,21),(15,20),(15,21),(16,20),(16,21),(17,18),(17,22),(18,20),(19,14),(19,22),(20,8),(21,8),(22,20),(22,21)],23) [5,4,1,6,3,2]=>[3,6,5,2,1,4]=>[3,6,5,2,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,17),(1,20),(2,16),(2,20),(3,8),(3,10),(3,11),(4,8),(4,9),(4,12),(5,2),(5,9),(5,11),(5,13),(6,1),(6,10),(6,12),(6,13),(8,20),(9,15),(9,20),(10,14),(10,20),(11,14),(11,16),(11,20),(12,15),(12,17),(12,20),(13,14),(13,15),(13,16),(13,17),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(17,19),(18,7),(19,7),(20,19)],21) [5,4,2,1,3,6]=>[4,3,5,2,1,6]=>[4,5,3,2,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [5,4,2,1,6,3]=>[4,3,6,2,1,5]=>[4,6,3,2,5,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,12),(1,20),(1,21),(2,13),(2,14),(3,8),(3,13),(3,15),(4,9),(4,10),(4,13),(4,15),(5,7),(5,8),(5,9),(5,14),(6,1),(6,7),(6,10),(6,14),(6,15),(7,12),(7,16),(7,18),(7,20),(8,18),(8,21),(9,16),(9,18),(9,21),(10,16),(10,20),(10,21),(12,17),(12,19),(13,21),(14,20),(14,21),(15,18),(15,20),(15,21),(16,17),(16,19),(17,11),(18,17),(18,19),(19,11),(20,17),(20,19),(21,19)],22) [5,4,2,3,1,6]=>[5,3,4,2,1,6]=>[3,5,4,2,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [5,4,2,3,6,1]=>[6,3,4,2,1,5]=>[3,6,4,2,5,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [5,4,2,6,1,3]=>[5,3,6,2,1,4]=>[5,6,3,2,4,1]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [5,4,2,6,3,1]=>[6,3,5,2,1,4]=>[3,6,5,2,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [5,4,3,1,2,6]=>[4,5,3,2,1,6]=>[4,5,3,2,1,6]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [5,4,3,1,6,2]=>[4,6,3,2,1,5]=>[4,6,3,2,1,5]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,12),(2,13),(3,7),(3,12),(4,8),(4,12),(4,13),(5,1),(5,10),(5,11),(5,14),(6,5),(6,7),(6,8),(6,13),(7,10),(7,16),(8,11),(8,14),(8,16),(10,15),(10,17),(11,15),(11,17),(12,16),(13,14),(13,16),(14,15),(14,17),(15,9),(16,17),(17,9)],18) [5,4,3,2,1,6]=>[5,4,3,2,1,6]=>[5,6,4,3,2,1]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [5,4,3,2,6,1]=>[6,4,3,2,1,5]=>[4,6,5,3,2,1]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [5,4,3,6,1,2]=>[5,6,3,2,1,4]=>[5,6,3,2,1,4]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [5,4,3,6,2,1]=>[6,5,3,2,1,4]=>[3,6,5,4,2,1]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [5,4,6,1,2,3]=>[4,5,6,2,1,3]=>[4,5,2,1,3,6]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [5,4,6,1,3,2]=>[4,6,5,2,1,3]=>[4,6,5,2,1,3]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,16),(2,18),(3,10),(3,11),(3,13),(4,9),(4,12),(4,13),(5,8),(5,9),(5,11),(6,8),(6,10),(6,12),(8,17),(9,14),(9,17),(10,15),(10,17),(11,2),(11,14),(11,17),(12,1),(12,15),(12,17),(13,14),(13,15),(14,16),(14,18),(15,16),(15,18),(16,7),(17,18),(18,7)],19) [5,4,6,2,1,3]=>[5,4,6,2,1,3]=>[5,6,4,2,3,1]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,13),(2,8),(2,9),(2,13),(3,7),(3,9),(3,13),(4,6),(4,7),(4,8),(6,15),(7,12),(7,15),(8,11),(8,12),(8,15),(9,11),(9,12),(10,5),(11,10),(11,14),(12,10),(12,14),(13,11),(13,15),(14,5),(15,14)],16) [5,4,6,2,3,1]=>[6,4,5,2,1,3]=>[4,6,5,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [5,4,6,3,1,2]=>[5,6,4,2,1,3]=>[5,6,4,2,1,3]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [5,4,6,3,2,1]=>[6,5,4,2,1,3]=>[2,6,5,4,3,1]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [5,6,1,2,3,4]=>[3,4,5,6,1,2]=>[3,4,1,2,5,6]=>([(0,2),(0,3),(0,4),(1,8),(1,9),(2,1),(2,10),(2,11),(3,6),(3,7),(3,11),(4,6),(4,7),(4,10),(6,14),(7,12),(7,14),(8,13),(8,15),(9,13),(9,15),(10,8),(10,12),(10,14),(11,9),(11,12),(11,14),(12,13),(12,15),(13,5),(14,15),(15,5)],16) [5,6,1,2,4,3]=>[3,4,6,5,1,2]=>[3,6,4,1,2,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [5,6,1,3,2,4]=>[3,5,4,6,1,2]=>[3,5,1,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,17),(1,18),(2,12),(2,14),(2,18),(2,19),(3,11),(3,14),(3,17),(3,19),(4,10),(4,13),(4,17),(4,18),(4,19),(5,9),(5,13),(5,17),(5,18),(5,19),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,20),(9,21),(9,22),(9,25),(10,20),(10,21),(10,22),(10,25),(11,15),(11,20),(11,21),(12,15),(12,20),(12,22),(13,16),(13,25),(14,15),(14,25),(15,24),(16,23),(17,16),(17,21),(17,25),(18,16),(18,22),(18,25),(19,16),(19,20),(19,25),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [5,6,1,3,4,2]=>[3,6,4,5,1,2]=>[3,6,1,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [5,6,1,4,2,3]=>[3,5,6,4,1,2]=>[3,5,4,1,2,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [5,6,1,4,3,2]=>[3,6,5,4,1,2]=>[3,6,5,4,1,2]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [5,6,2,1,3,4]=>[4,3,5,6,1,2]=>[4,5,1,3,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,15),(1,20),(1,23),(2,8),(2,16),(2,17),(3,11),(3,13),(3,17),(4,10),(4,12),(4,16),(4,17),(5,9),(5,10),(5,11),(5,16),(6,1),(6,8),(6,9),(6,12),(6,13),(8,18),(8,19),(8,20),(9,14),(9,19),(9,23),(10,20),(10,23),(11,14),(11,23),(12,15),(12,18),(12,19),(12,23),(13,14),(13,15),(13,18),(14,22),(15,21),(15,22),(16,19),(16,20),(16,23),(17,18),(17,23),(18,21),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22)],24) [5,6,2,1,4,3]=>[4,3,6,5,1,2]=>[4,6,3,1,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,15),(1,16),(2,8),(2,11),(2,16),(2,18),(3,8),(3,10),(3,15),(3,17),(4,9),(4,13),(4,14),(4,17),(4,18),(5,10),(5,12),(5,13),(5,16),(5,18),(6,11),(6,12),(6,14),(6,15),(6,17),(8,21),(8,25),(9,23),(9,24),(10,21),(10,23),(10,25),(11,21),(11,24),(11,25),(12,23),(12,24),(12,25),(13,19),(13,23),(13,25),(14,19),(14,24),(14,25),(15,24),(15,25),(16,23),(16,25),(17,19),(17,21),(17,23),(17,24),(18,19),(18,21),(18,23),(18,24),(19,20),(19,22),(20,7),(21,20),(21,22),(22,7),(23,20),(23,22),(24,20),(24,22),(25,22)],26) [5,6,2,3,1,4]=>[5,3,4,6,1,2]=>[3,5,1,4,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [5,6,2,3,4,1]=>[6,3,4,5,1,2]=>[3,6,1,4,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,24),(1,25),(2,9),(2,11),(2,13),(2,15),(3,8),(3,10),(3,13),(3,14),(4,8),(4,11),(4,12),(4,16),(5,9),(5,10),(5,12),(5,17),(6,1),(6,14),(6,15),(6,16),(6,17),(8,20),(8,24),(9,20),(9,25),(10,20),(10,23),(10,25),(11,20),(11,23),(11,24),(12,19),(12,20),(13,18),(13,24),(13,25),(14,18),(14,23),(14,24),(15,18),(15,23),(15,25),(16,19),(16,23),(16,24),(16,25),(17,19),(17,23),(17,24),(17,25),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [5,6,2,4,1,3]=>[5,3,6,4,1,2]=>[5,6,3,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [5,6,2,4,3,1]=>[6,3,5,4,1,2]=>[3,6,5,1,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [5,6,3,1,2,4]=>[4,5,3,6,1,2]=>[4,5,1,3,2,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [5,6,3,1,4,2]=>[4,6,3,5,1,2]=>[4,6,3,5,1,2]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [5,6,3,2,1,4]=>[5,4,3,6,1,2]=>[5,6,1,4,3,2]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [5,6,3,2,4,1]=>[6,4,3,5,1,2]=>[4,6,1,5,3,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [5,6,3,4,1,2]=>[5,6,3,4,1,2]=>[5,6,3,4,1,2]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(1,12),(2,6),(2,7),(2,12),(3,5),(3,7),(3,12),(5,9),(5,10),(6,9),(6,11),(7,9),(7,10),(7,11),(8,4),(9,13),(10,8),(10,13),(11,8),(11,13),(12,10),(12,11),(13,4)],14) [5,6,3,4,2,1]=>[6,5,3,4,1,2]=>[3,6,1,5,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,19),(2,7),(2,13),(2,15),(3,7),(3,12),(3,15),(4,8),(4,9),(4,12),(4,15),(5,8),(5,10),(5,13),(5,15),(6,1),(6,9),(6,10),(6,12),(6,13),(7,17),(8,14),(8,21),(9,14),(9,18),(9,19),(9,21),(10,14),(10,18),(10,19),(10,21),(12,17),(12,18),(12,21),(13,17),(13,19),(13,21),(14,16),(14,20),(15,17),(15,21),(16,11),(17,20),(18,16),(18,20),(19,16),(19,20),(20,11),(21,16),(21,20)],22) [5,6,4,1,2,3]=>[4,5,6,3,1,2]=>[4,5,3,1,2,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,10),(2,12),(3,8),(3,10),(3,11),(4,7),(4,11),(4,12),(5,17),(7,14),(7,15),(8,13),(8,14),(9,13),(9,15),(10,13),(10,16),(11,5),(11,14),(11,16),(12,5),(12,15),(12,16),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [5,6,4,1,3,2]=>[4,6,5,3,1,2]=>[4,6,5,3,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [5,6,4,2,1,3]=>[5,4,6,3,1,2]=>[5,6,4,1,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [5,6,4,2,3,1]=>[6,4,5,3,1,2]=>[4,6,5,1,3,2]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,12),(2,8),(2,10),(2,11),(3,7),(3,8),(3,12),(4,7),(4,9),(4,11),(5,15),(5,16),(7,17),(8,13),(8,17),(9,14),(9,17),(10,13),(10,14),(11,5),(11,14),(11,17),(12,5),(12,13),(12,17),(13,15),(13,16),(14,15),(14,16),(15,6),(16,6),(17,16)],18) [5,6,4,3,1,2]=>[5,6,4,3,1,2]=>[5,6,4,3,1,2]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,6),(2,11),(3,6),(3,10),(4,1),(4,10),(4,11),(6,12),(7,9),(7,13),(8,9),(8,13),(9,5),(10,7),(10,12),(11,8),(11,12),(12,13),(13,5)],14) [5,6,4,3,2,1]=>[6,5,4,3,1,2]=>[1,6,5,4,3,2]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [6,1,2,3,4,5]=>[2,3,4,5,6,1]=>[2,1,3,4,5,6]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [6,1,2,3,5,4]=>[2,3,4,6,5,1]=>[6,2,1,3,4,5]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [6,1,2,4,3,5]=>[2,3,5,4,6,1]=>[5,2,3,1,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [6,1,2,4,5,3]=>[2,3,6,4,5,1]=>[6,2,3,1,4,5]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [6,1,2,5,3,4]=>[2,3,5,6,4,1]=>[5,2,1,3,4,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [6,1,2,5,4,3]=>[2,3,6,5,4,1]=>[6,5,2,1,3,4]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [6,1,3,2,4,5]=>[2,4,3,5,6,1]=>[4,2,3,5,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [6,1,3,2,5,4]=>[2,4,3,6,5,1]=>[4,2,1,6,3,5]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [6,1,3,4,2,5]=>[2,5,3,4,6,1]=>[5,2,3,4,1,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [6,1,3,4,5,2]=>[2,6,3,4,5,1]=>[6,2,3,4,1,5]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [6,1,3,5,2,4]=>[2,5,3,6,4,1]=>[5,2,1,6,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [6,1,3,5,4,2]=>[2,6,3,5,4,1]=>[6,5,2,3,1,4]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [6,1,4,2,3,5]=>[2,4,5,3,6,1]=>[4,2,3,1,5,6]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [6,1,4,2,5,3]=>[2,4,6,3,5,1]=>[4,2,6,1,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [6,1,4,3,2,5]=>[2,5,4,3,6,1]=>[5,2,4,3,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,19),(2,10),(2,12),(2,13),(2,19),(3,9),(3,11),(3,13),(3,19),(4,8),(4,11),(4,12),(4,19),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,16),(8,20),(9,15),(9,17),(9,20),(10,16),(10,17),(10,20),(11,14),(11,15),(11,18),(12,14),(12,16),(12,18),(13,14),(13,17),(13,18),(14,22),(15,21),(15,22),(16,21),(16,22),(17,21),(17,22),(18,21),(18,22),(19,18),(19,20),(20,21),(21,7),(22,7)],23) [6,1,4,3,5,2]=>[2,6,4,3,5,1]=>[6,2,4,3,1,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [6,1,4,5,2,3]=>[2,5,6,3,4,1]=>[5,2,6,1,3,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [6,1,4,5,3,2]=>[2,6,5,3,4,1]=>[6,2,5,3,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [6,1,5,2,3,4]=>[2,4,5,6,3,1]=>[4,2,1,3,5,6]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [6,1,5,2,4,3]=>[2,4,6,5,3,1]=>[6,4,2,1,3,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [6,1,5,3,2,4]=>[2,5,4,6,3,1]=>[5,4,2,3,1,6]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [6,1,5,3,4,2]=>[2,6,4,5,3,1]=>[6,4,2,3,1,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [6,1,5,4,2,3]=>[2,5,6,4,3,1]=>[5,4,2,1,3,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [6,1,5,4,3,2]=>[2,6,5,4,3,1]=>[6,5,4,2,1,3]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [6,2,1,3,4,5]=>[3,2,4,5,6,1]=>[3,2,4,5,6,1]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [6,2,1,3,5,4]=>[3,2,4,6,5,1]=>[3,2,1,4,6,5]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,7),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,13),(7,14),(9,1),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(12,14),(13,8),(14,8)],15) [6,2,1,4,3,5]=>[3,2,5,4,6,1]=>[3,2,5,1,6,4]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,8),(2,17),(2,19),(2,22),(3,11),(3,12),(3,18),(4,13),(4,14),(4,16),(4,18),(5,10),(5,11),(5,13),(5,16),(6,2),(6,10),(6,12),(6,14),(6,18),(7,20),(8,20),(8,21),(10,15),(10,19),(10,22),(11,15),(11,22),(12,15),(12,17),(12,19),(13,7),(13,19),(13,22),(14,8),(14,17),(14,19),(14,22),(15,21),(16,7),(16,22),(17,20),(17,21),(18,17),(18,22),(19,20),(19,21),(20,9),(21,9),(22,20),(22,21)],23) [6,2,1,4,5,3]=>[3,2,6,4,5,1]=>[3,2,4,1,6,5]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [6,2,1,5,3,4]=>[3,2,5,6,4,1]=>[3,2,1,5,6,4]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [6,2,1,5,4,3]=>[3,2,6,5,4,1]=>[6,3,2,1,5,4]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [6,2,3,1,4,5]=>[4,2,3,5,6,1]=>[4,2,3,5,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [6,2,3,1,5,4]=>[4,2,3,6,5,1]=>[4,2,1,3,6,5]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [6,2,3,4,1,5]=>[5,2,3,4,6,1]=>[5,2,3,4,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [6,2,3,4,5,1]=>[6,2,3,4,5,1]=>[6,2,3,4,5,1]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [6,2,3,5,1,4]=>[5,2,3,6,4,1]=>[5,2,1,3,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [6,2,3,5,4,1]=>[6,2,3,5,4,1]=>[6,5,2,3,4,1]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [6,2,4,1,3,5]=>[4,2,5,3,6,1]=>[4,2,5,1,6,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [6,2,4,1,5,3]=>[4,2,6,3,5,1]=>[4,2,3,1,6,5]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,16),(2,13),(2,14),(2,16),(3,12),(3,14),(3,16),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(6,18),(6,19),(7,18),(8,18),(8,19),(9,18),(9,19),(11,7),(11,17),(12,8),(12,15),(12,17),(13,9),(13,15),(13,17),(14,6),(14,15),(15,19),(16,6),(16,17),(17,18),(17,19),(18,10),(19,10)],20) [6,2,4,3,1,5]=>[5,2,4,3,6,1]=>[5,2,4,3,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [6,2,4,3,5,1]=>[6,2,4,3,5,1]=>[6,2,4,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,12),(2,13),(2,14),(2,18),(3,10),(3,11),(3,14),(3,18),(4,8),(4,9),(4,11),(4,13),(5,7),(5,9),(5,10),(5,12),(7,15),(7,19),(8,15),(8,20),(9,15),(9,16),(9,17),(10,16),(10,19),(10,23),(11,16),(11,20),(11,23),(12,17),(12,19),(12,23),(13,17),(13,20),(13,23),(14,23),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,6),(22,6),(23,21)],24) [6,2,4,5,1,3]=>[5,2,6,3,4,1]=>[5,2,3,1,6,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [6,2,4,5,3,1]=>[6,2,5,3,4,1]=>[6,2,5,3,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [6,2,5,1,3,4]=>[4,2,5,6,3,1]=>[4,2,1,5,6,3]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [6,2,5,1,4,3]=>[4,2,6,5,3,1]=>[6,4,2,1,5,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [6,2,5,3,1,4]=>[5,2,4,6,3,1]=>[5,4,2,3,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [6,2,5,3,4,1]=>[6,2,4,5,3,1]=>[6,4,2,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [6,2,5,4,1,3]=>[5,2,6,4,3,1]=>[5,4,2,1,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [6,2,5,4,3,1]=>[6,2,5,4,3,1]=>[6,5,4,2,3,1]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [6,3,1,2,4,5]=>[3,4,2,5,6,1]=>[3,2,4,5,1,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [6,3,1,2,5,4]=>[3,4,2,6,5,1]=>[3,2,1,6,4,5]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [6,3,1,4,2,5]=>[3,5,2,4,6,1]=>[3,2,5,6,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [6,3,1,4,5,2]=>[3,6,2,4,5,1]=>[3,2,4,6,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [6,3,1,5,2,4]=>[3,5,2,6,4,1]=>[3,2,1,5,4,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,7),(2,14),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,12),(7,12),(7,13),(9,1),(9,14),(10,6),(10,14),(11,7),(11,14),(12,8),(13,8),(14,12),(14,13)],15) [6,3,1,5,4,2]=>[3,6,2,5,4,1]=>[6,3,2,5,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [6,3,2,1,4,5]=>[4,3,2,5,6,1]=>[4,3,5,6,2,1]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [6,3,2,1,5,4]=>[4,3,2,6,5,1]=>[4,3,2,6,5,1]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,8),(2,14),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,13),(6,15),(8,13),(8,15),(9,12),(9,14),(10,8),(10,12),(11,6),(11,12),(11,14),(12,13),(12,15),(13,7),(14,15),(15,7)],16) [6,3,2,4,1,5]=>[5,3,2,4,6,1]=>[5,3,4,6,2,1]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [6,3,2,4,5,1]=>[6,3,2,4,5,1]=>[6,3,4,5,2,1]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [6,3,2,5,1,4]=>[5,3,2,6,4,1]=>[5,3,2,6,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [6,3,2,5,4,1]=>[6,3,2,5,4,1]=>[6,3,2,5,4,1]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,5),(3,7),(3,9),(3,11),(4,5),(4,7),(4,8),(4,10),(5,19),(7,13),(7,14),(7,19),(8,13),(8,15),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(13,17),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,18)],20) [6,3,4,1,2,5]=>[4,5,2,3,6,1]=>[4,2,5,6,1,3]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,16),(1,18),(2,7),(2,17),(2,19),(3,11),(3,12),(3,16),(3,18),(4,10),(4,13),(4,18),(5,9),(5,10),(5,12),(5,18),(6,2),(6,9),(6,11),(6,13),(6,16),(7,20),(9,15),(9,17),(9,19),(9,22),(10,14),(10,19),(11,15),(11,17),(11,19),(11,22),(12,14),(12,15),(12,22),(13,7),(13,19),(13,22),(14,21),(15,20),(15,21),(16,17),(16,22),(17,20),(17,21),(18,14),(18,22),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [6,3,4,1,5,2]=>[4,6,2,3,5,1]=>[4,2,3,6,1,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [6,3,4,2,1,5]=>[5,4,2,3,6,1]=>[5,2,4,6,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,21),(2,8),(2,16),(2,17),(2,18),(2,21),(3,9),(3,10),(3,17),(3,18),(4,12),(4,13),(4,17),(4,21),(5,11),(5,13),(5,16),(5,18),(6,8),(6,10),(6,11),(6,12),(6,21),(8,15),(8,19),(8,20),(8,25),(9,24),(10,19),(10,20),(10,24),(11,14),(11,20),(11,25),(12,14),(12,15),(12,19),(13,14),(13,25),(14,23),(15,22),(15,23),(16,24),(16,25),(17,19),(17,24),(17,25),(18,20),(18,24),(18,25),(19,22),(19,23),(20,22),(20,23),(21,15),(21,24),(21,25),(22,7),(23,7),(24,22),(25,22),(25,23)],26) [6,3,4,2,5,1]=>[6,4,2,3,5,1]=>[6,2,4,5,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [6,3,4,5,1,2]=>[5,6,2,3,4,1]=>[5,2,3,6,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,24),(1,25),(2,9),(2,11),(2,13),(2,15),(3,8),(3,10),(3,13),(3,14),(4,8),(4,11),(4,12),(4,16),(5,9),(5,10),(5,12),(5,17),(6,1),(6,14),(6,15),(6,16),(6,17),(8,20),(8,24),(9,20),(9,25),(10,20),(10,23),(10,25),(11,20),(11,23),(11,24),(12,19),(12,20),(13,18),(13,24),(13,25),(14,18),(14,23),(14,24),(15,18),(15,23),(15,25),(16,19),(16,23),(16,24),(16,25),(17,19),(17,23),(17,24),(17,25),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [6,3,4,5,2,1]=>[6,5,2,3,4,1]=>[6,2,3,5,4,1]=>([(0,2),(0,3),(0,4),(0,5),(1,17),(2,8),(2,9),(2,12),(3,7),(3,9),(3,11),(4,7),(4,8),(4,10),(5,1),(5,10),(5,11),(5,12),(7,13),(7,16),(8,13),(8,14),(9,13),(9,15),(10,14),(10,16),(10,17),(11,15),(11,16),(11,17),(12,14),(12,15),(12,17),(13,19),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(18,6),(19,6)],20) [6,3,5,1,2,4]=>[4,5,2,6,3,1]=>[4,2,1,5,3,6]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [6,3,5,1,4,2]=>[4,6,2,5,3,1]=>[6,4,2,5,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [6,3,5,2,1,4]=>[5,4,2,6,3,1]=>[5,4,2,6,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [6,3,5,2,4,1]=>[6,4,2,5,3,1]=>[6,4,2,5,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,22),(2,13),(2,17),(2,22),(3,9),(3,11),(3,17),(3,22),(4,8),(4,10),(4,17),(4,22),(5,8),(5,9),(5,12),(5,13),(5,22),(6,10),(6,11),(6,12),(6,14),(6,22),(8,15),(8,19),(8,23),(9,16),(9,19),(9,23),(10,15),(10,20),(10,23),(11,16),(11,20),(11,23),(12,15),(12,16),(12,19),(12,20),(13,19),(13,23),(14,20),(14,23),(15,18),(15,21),(16,18),(16,21),(17,23),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,19),(22,20),(22,23),(23,21)],24) [6,3,5,4,1,2]=>[5,6,2,4,3,1]=>[5,4,2,6,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [6,3,5,4,2,1]=>[6,5,2,4,3,1]=>[6,5,2,4,3,1]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [6,4,1,2,3,5]=>[3,4,5,2,6,1]=>[3,2,4,1,5,6]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [6,4,1,2,5,3]=>[3,4,6,2,5,1]=>[3,2,6,1,4,5]=>([(0,2),(0,4),(0,5),(0,6),(1,14),(1,16),(2,12),(2,17),(3,7),(3,8),(3,18),(4,10),(4,11),(4,17),(5,1),(5,11),(5,13),(5,17),(6,3),(6,10),(6,12),(6,13),(7,19),(7,20),(8,19),(10,15),(10,18),(11,14),(11,15),(11,16),(12,8),(12,18),(13,7),(13,15),(13,16),(13,18),(14,20),(15,19),(15,20),(16,19),(16,20),(17,14),(17,18),(18,19),(18,20),(19,9),(20,9)],21) [6,4,1,3,2,5]=>[3,5,4,2,6,1]=>[5,3,4,2,1,6]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [6,4,1,3,5,2]=>[3,6,4,2,5,1]=>[6,3,4,2,1,5]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [6,4,1,5,2,3]=>[3,5,6,2,4,1]=>[3,2,5,1,4,6]=>([(0,1),(0,3),(0,4),(0,5),(0,6),(1,17),(1,19),(2,8),(2,18),(2,22),(3,10),(3,11),(3,19),(4,12),(4,14),(4,17),(4,19),(5,10),(5,13),(5,14),(5,17),(6,2),(6,11),(6,12),(6,13),(6,19),(7,20),(8,20),(8,21),(10,15),(10,22),(11,15),(11,18),(11,22),(12,16),(12,18),(12,22),(13,8),(13,15),(13,16),(13,22),(14,7),(14,16),(14,22),(15,20),(15,21),(16,20),(16,21),(17,7),(17,22),(18,21),(19,18),(19,22),(20,9),(21,9),(22,20),(22,21)],23) [6,4,1,5,3,2]=>[3,6,5,2,4,1]=>[6,3,5,2,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,19),(1,21),(2,12),(2,16),(2,17),(3,11),(3,16),(3,17),(4,9),(4,10),(4,16),(5,9),(5,12),(5,13),(5,17),(6,1),(6,10),(6,11),(6,13),(6,17),(8,18),(8,20),(9,14),(9,21),(10,14),(10,19),(10,21),(11,19),(11,21),(12,15),(12,21),(13,8),(13,14),(13,15),(13,19),(14,18),(14,20),(15,18),(15,20),(16,21),(17,15),(17,19),(17,21),(18,7),(19,18),(19,20),(20,7),(21,20)],22) [6,4,2,1,3,5]=>[4,3,5,2,6,1]=>[4,3,5,2,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(1,19),(2,9),(2,12),(2,19),(3,8),(3,12),(3,19),(4,6),(4,8),(4,10),(4,19),(5,6),(5,9),(5,11),(5,19),(6,13),(6,17),(6,18),(8,16),(8,17),(9,16),(9,18),(10,13),(10,17),(11,13),(11,18),(12,16),(13,15),(14,7),(15,7),(16,14),(17,14),(17,15),(18,14),(18,15),(19,16),(19,17),(19,18)],20) [6,4,2,1,5,3]=>[4,3,6,2,5,1]=>[4,3,6,2,5,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [6,4,2,3,1,5]=>[5,3,4,2,6,1]=>[5,3,4,2,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [6,4,2,3,5,1]=>[6,3,4,2,5,1]=>[6,3,4,2,5,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [6,4,2,5,1,3]=>[5,3,6,2,4,1]=>[5,3,6,2,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,16),(1,20),(2,8),(2,16),(2,17),(3,9),(3,10),(3,17),(3,20),(4,12),(4,13),(4,16),(4,17),(4,20),(5,11),(5,13),(5,16),(5,17),(5,20),(6,8),(6,10),(6,11),(6,12),(6,20),(8,19),(8,23),(9,22),(10,15),(10,19),(10,22),(11,14),(11,15),(11,19),(11,23),(12,14),(12,15),(12,19),(12,23),(13,14),(13,22),(13,23),(14,18),(14,21),(15,18),(15,21),(16,22),(16,23),(17,19),(17,22),(17,23),(18,7),(19,18),(19,21),(20,15),(20,22),(20,23),(21,7),(22,21),(23,18),(23,21)],24) [6,4,2,5,3,1]=>[6,3,5,2,4,1]=>[6,3,5,2,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,22),(2,13),(2,17),(2,22),(3,9),(3,11),(3,17),(3,22),(4,8),(4,10),(4,17),(4,22),(5,8),(5,9),(5,12),(5,13),(5,22),(6,10),(6,11),(6,12),(6,14),(6,22),(8,15),(8,19),(8,23),(9,16),(9,19),(9,23),(10,15),(10,20),(10,23),(11,16),(11,20),(11,23),(12,15),(12,16),(12,19),(12,20),(13,19),(13,23),(14,20),(14,23),(15,18),(15,21),(16,18),(16,21),(17,23),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,19),(22,20),(22,23),(23,21)],24) [6,4,3,1,2,5]=>[4,5,3,2,6,1]=>[4,3,5,2,1,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [6,4,3,1,5,2]=>[4,6,3,2,5,1]=>[4,3,6,2,1,5]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [6,4,3,2,1,5]=>[5,4,3,2,6,1]=>[5,4,6,3,2,1]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [6,4,3,2,5,1]=>[6,4,3,2,5,1]=>[6,4,5,3,2,1]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [6,4,3,5,1,2]=>[5,6,3,2,4,1]=>[5,3,6,2,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,15),(1,18),(1,20),(2,9),(2,14),(2,16),(3,11),(3,12),(3,16),(4,10),(4,11),(4,14),(5,12),(5,13),(5,14),(5,16),(6,1),(6,9),(6,10),(6,13),(6,16),(8,17),(8,21),(9,15),(9,20),(10,18),(10,19),(10,20),(11,19),(12,18),(12,19),(13,8),(13,15),(13,18),(13,20),(14,19),(14,20),(15,17),(15,21),(16,15),(16,18),(16,19),(17,7),(18,17),(18,21),(19,21),(20,17),(20,21),(21,7)],22) [6,4,3,5,2,1]=>[6,5,3,2,4,1]=>[6,3,5,4,2,1]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [6,4,5,1,2,3]=>[4,5,6,2,3,1]=>[4,2,5,1,3,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,19),(2,10),(2,13),(2,19),(2,20),(3,9),(3,13),(3,18),(3,20),(4,12),(4,14),(4,18),(4,19),(4,20),(5,11),(5,14),(5,18),(5,19),(5,20),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,15),(9,21),(9,25),(10,15),(10,22),(10,25),(11,16),(11,21),(11,22),(11,25),(12,16),(12,21),(12,22),(12,25),(13,15),(13,25),(14,16),(14,17),(14,25),(15,24),(16,23),(16,24),(17,23),(18,17),(18,21),(18,25),(19,17),(19,22),(19,25),(20,17),(20,25),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [6,4,5,1,3,2]=>[4,6,5,2,3,1]=>[6,4,5,2,1,3]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [6,4,5,2,1,3]=>[5,4,6,2,3,1]=>[5,4,6,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [6,4,5,2,3,1]=>[6,4,5,2,3,1]=>[6,4,5,2,3,1]=>([(0,1),(0,2),(0,3),(0,4),(1,8),(1,9),(1,15),(2,7),(2,9),(2,15),(3,6),(3,7),(3,15),(4,6),(4,8),(4,15),(6,14),(7,11),(7,14),(8,12),(8,14),(9,11),(9,12),(10,5),(11,10),(11,13),(12,10),(12,13),(13,5),(14,13),(15,11),(15,12),(15,14)],16) [6,4,5,3,1,2]=>[5,6,4,2,3,1]=>[5,4,6,2,1,3]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,12),(2,8),(2,10),(2,11),(3,7),(3,8),(3,12),(4,7),(4,9),(4,11),(5,15),(5,16),(7,17),(8,13),(8,17),(9,14),(9,17),(10,13),(10,14),(11,5),(11,14),(11,17),(12,5),(12,13),(12,17),(13,15),(13,16),(14,15),(14,16),(15,6),(16,6),(17,16)],18) [6,4,5,3,2,1]=>[6,5,4,2,3,1]=>[6,2,5,4,3,1]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [6,5,1,2,3,4]=>[3,4,5,6,2,1]=>[3,2,1,4,5,6]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [6,5,1,2,4,3]=>[3,4,6,5,2,1]=>[6,3,2,1,4,5]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [6,5,1,3,2,4]=>[3,5,4,6,2,1]=>[5,3,2,4,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,17),(2,9),(2,11),(2,13),(2,17),(3,8),(3,11),(3,12),(3,17),(4,10),(4,12),(4,13),(4,17),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,20),(8,21),(9,16),(9,20),(9,21),(10,15),(10,16),(10,20),(11,14),(11,21),(12,14),(12,15),(12,21),(13,14),(13,16),(13,21),(14,19),(15,18),(15,19),(16,18),(16,19),(17,20),(17,21),(18,7),(19,7),(20,18),(21,18),(21,19)],22) [6,5,1,3,4,2]=>[3,6,4,5,2,1]=>[6,3,2,4,1,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [6,5,1,4,2,3]=>[3,5,6,4,2,1]=>[5,3,2,1,4,6]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [6,5,1,4,3,2]=>[3,6,5,4,2,1]=>[6,5,3,2,1,4]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [6,5,2,1,3,4]=>[4,3,5,6,2,1]=>[4,3,2,5,6,1]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [6,5,2,1,4,3]=>[4,3,6,5,2,1]=>[4,3,2,1,6,5]=>([(0,4),(0,5),(1,7),(2,9),(2,11),(3,2),(3,10),(4,3),(4,6),(5,1),(5,6),(6,7),(6,10),(7,11),(9,8),(10,9),(10,11),(11,8)],12) [6,5,2,3,1,4]=>[5,3,4,6,2,1]=>[5,3,2,4,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [6,5,2,3,4,1]=>[6,3,4,5,2,1]=>[6,3,2,4,5,1]=>([(0,2),(0,3),(0,4),(0,5),(1,17),(2,8),(2,9),(2,12),(3,7),(3,9),(3,11),(4,7),(4,8),(4,10),(5,1),(5,10),(5,11),(5,12),(7,13),(7,16),(8,13),(8,14),(9,13),(9,15),(10,14),(10,16),(10,17),(11,15),(11,16),(11,17),(12,14),(12,15),(12,17),(13,19),(14,18),(14,19),(15,18),(15,19),(16,18),(16,19),(17,18),(18,6),(19,6)],20) [6,5,2,4,1,3]=>[5,3,6,4,2,1]=>[5,3,2,1,6,4]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [6,5,2,4,3,1]=>[6,3,5,4,2,1]=>[6,5,3,2,4,1]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [6,5,3,1,2,4]=>[4,5,3,6,2,1]=>[4,3,2,5,1,6]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [6,5,3,1,4,2]=>[4,6,3,5,2,1]=>[4,3,2,6,1,5]=>([(0,2),(0,3),(0,4),(0,6),(1,15),(1,17),(2,7),(2,14),(3,9),(3,14),(4,9),(4,10),(4,14),(5,1),(5,11),(5,12),(5,16),(6,5),(6,7),(6,10),(6,14),(7,11),(7,16),(9,13),(10,12),(10,13),(10,16),(11,15),(11,17),(12,15),(12,17),(13,17),(14,13),(14,16),(15,8),(16,15),(16,17),(17,8)],18) [6,5,3,2,1,4]=>[5,4,3,6,2,1]=>[5,4,3,6,2,1]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [6,5,3,2,4,1]=>[6,4,3,5,2,1]=>[6,4,3,5,2,1]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [6,5,3,4,1,2]=>[5,6,3,4,2,1]=>[5,3,2,6,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,19),(2,7),(2,13),(2,15),(3,7),(3,12),(3,15),(4,8),(4,9),(4,12),(4,15),(5,8),(5,10),(5,13),(5,15),(6,1),(6,9),(6,10),(6,12),(6,13),(7,17),(8,14),(8,21),(9,14),(9,18),(9,19),(9,21),(10,14),(10,18),(10,19),(10,21),(12,17),(12,18),(12,21),(13,17),(13,19),(13,21),(14,16),(14,20),(15,17),(15,21),(16,11),(17,20),(18,16),(18,20),(19,16),(19,20),(20,11),(21,16),(21,20)],22) [6,5,3,4,2,1]=>[6,5,3,4,2,1]=>[6,5,3,4,2,1]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [6,5,4,1,2,3]=>[4,5,6,3,2,1]=>[4,3,2,1,5,6]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [6,5,4,1,3,2]=>[4,6,5,3,2,1]=>[6,4,3,2,1,5]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [6,5,4,2,1,3]=>[5,4,6,3,2,1]=>[5,4,3,2,6,1]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [6,5,4,2,3,1]=>[6,4,5,3,2,1]=>[6,4,3,2,5,1]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [6,5,4,3,1,2]=>[5,6,4,3,2,1]=>[5,4,3,2,1,6]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [6,5,4,3,2,1]=>[6,5,4,3,2,1]=>[6,5,4,3,2,1]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6) [1,2,3,4,5,6,7]=>[1,2,3,4,5,6,7]=>[1,2,3,4,5,6,7]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7) [1,2,3,4,5,7,6]=>[1,2,3,4,5,7,6]=>[7,1,2,3,4,5,6]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [1,2,3,4,6,5,7]=>[1,2,3,4,6,5,7]=>[1,6,2,3,4,5,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,2,3,4,6,7,5]=>[1,2,3,4,7,5,6]=>[1,7,2,3,4,5,6]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,2,3,4,7,5,6]=>[1,2,3,4,6,7,5]=>[6,1,2,3,4,5,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,2,3,4,7,6,5]=>[1,2,3,4,7,6,5]=>[7,6,1,2,3,4,5]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [1,2,3,5,4,6,7]=>[1,2,3,5,4,6,7]=>[1,2,5,3,4,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,2,3,5,4,7,6]=>[1,2,3,5,4,7,6]=>[5,1,7,2,3,4,6]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,23),(1,24),(2,8),(2,16),(2,21),(3,8),(3,15),(3,21),(4,9),(4,10),(4,15),(4,21),(5,9),(5,11),(5,16),(5,21),(6,1),(6,13),(6,14),(6,18),(6,19),(7,6),(7,10),(7,11),(7,15),(7,16),(8,26),(9,20),(9,29),(10,13),(10,18),(10,20),(10,29),(11,14),(11,19),(11,20),(11,29),(13,17),(13,23),(13,24),(13,28),(14,17),(14,23),(14,24),(14,28),(15,18),(15,26),(15,29),(16,19),(16,26),(16,29),(17,25),(17,27),(18,22),(18,23),(18,28),(19,22),(19,24),(19,28),(20,17),(20,28),(21,26),(21,29),(22,27),(23,25),(23,27),(24,25),(24,27),(25,12),(26,22),(27,12),(28,25),(28,27),(29,22),(29,28)],30) [1,2,3,5,6,4,7]=>[1,2,3,6,4,5,7]=>[1,2,6,3,4,5,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,2,3,5,6,7,4]=>[1,2,3,7,4,5,6]=>[1,2,7,3,4,5,6]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,2,3,5,7,4,6]=>[1,2,3,6,4,7,5]=>[6,1,7,2,3,4,5]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [1,2,3,5,7,6,4]=>[1,2,3,7,4,6,5]=>[7,1,6,2,3,4,5]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [1,2,3,6,4,5,7]=>[1,2,3,5,6,4,7]=>[1,5,2,3,4,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,2,3,6,4,7,5]=>[1,2,3,5,7,4,6]=>[5,7,1,2,3,4,6]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [1,2,3,6,5,4,7]=>[1,2,3,6,5,4,7]=>[1,6,5,2,3,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [1,2,3,6,7,4,5]=>[1,2,3,6,7,4,5]=>[6,7,1,2,3,4,5]=>([(0,5),(0,6),(1,11),(2,3),(2,13),(3,4),(3,10),(4,9),(4,14),(5,1),(5,12),(6,2),(6,12),(7,14),(9,8),(10,9),(10,14),(11,7),(12,11),(12,13),(13,7),(13,10),(14,8)],15) [1,2,3,6,7,5,4]=>[1,2,3,7,6,4,5]=>[1,7,6,2,3,4,5]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,2,3,7,4,5,6]=>[1,2,3,5,6,7,4]=>[5,1,2,3,4,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,2,3,7,4,6,5]=>[1,2,3,5,7,6,4]=>[7,5,1,2,3,4,6]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [1,2,3,7,6,4,5]=>[1,2,3,6,7,5,4]=>[6,5,1,2,3,4,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,2,3,7,6,5,4]=>[1,2,3,7,6,5,4]=>[7,6,5,1,2,3,4]=>([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16) [1,2,4,3,5,6,7]=>[1,2,4,3,5,6,7]=>[1,2,4,5,3,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,2,4,5,3,6,7]=>[1,2,5,3,4,6,7]=>[1,2,3,5,4,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,2,4,5,6,3,7]=>[1,2,6,3,4,5,7]=>[1,2,3,6,4,5,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,2,4,5,6,7,3]=>[1,2,7,3,4,5,6]=>[1,2,3,7,4,5,6]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,2,4,5,7,3,6]=>[1,2,6,3,4,7,5]=>[6,1,2,7,3,4,5]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [1,2,4,5,7,6,3]=>[1,2,7,3,4,6,5]=>[7,1,2,6,3,4,5]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [1,2,4,6,7,3,5]=>[1,2,6,3,7,4,5]=>[1,6,2,7,3,4,5]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [1,2,4,6,7,5,3]=>[1,2,7,3,6,4,5]=>[1,7,2,6,3,4,5]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [1,2,4,7,6,3,5]=>[1,2,6,3,7,5,4]=>[6,5,1,7,2,3,4]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [1,2,4,7,6,5,3]=>[1,2,7,3,6,5,4]=>[7,6,1,5,2,3,4]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [1,2,5,3,4,6,7]=>[1,2,4,5,3,6,7]=>[1,2,4,3,5,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,2,5,4,3,6,7]=>[1,2,5,4,3,6,7]=>[1,2,5,4,3,6,7]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [1,2,5,4,6,7,3]=>[1,2,7,4,3,5,6]=>[1,2,7,4,3,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,2,5,6,3,4,7]=>[1,2,5,6,3,4,7]=>[1,5,6,2,3,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,26),(2,8),(2,9),(2,10),(2,26),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(8,28),(9,21),(9,23),(9,28),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,26),(13,18),(13,20),(13,26),(14,9),(14,17),(14,19),(15,10),(15,17),(15,20),(16,8),(16,19),(16,20),(16,26),(17,23),(17,24),(18,24),(18,28),(19,21),(19,24),(19,28),(20,22),(20,24),(20,28),(21,25),(21,27),(22,25),(22,27),(23,25),(23,27),(24,25),(24,27),(25,7),(26,28),(27,7),(28,27)],29) [1,2,5,6,4,3,7]=>[1,2,6,5,3,4,7]=>[1,2,6,5,3,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [1,2,5,6,7,3,4]=>[1,2,6,7,3,4,5]=>[1,6,7,2,3,4,5]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [1,2,5,6,7,4,3]=>[1,2,7,6,3,4,5]=>[1,2,7,6,3,4,5]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [1,2,5,7,3,6,4]=>[1,2,5,7,3,6,4]=>[7,5,6,1,2,3,4]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(2,19),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,17),(8,17),(8,18),(9,18),(11,1),(11,16),(12,7),(12,19),(13,8),(13,19),(14,12),(14,16),(15,13),(15,16),(16,9),(16,19),(17,10),(18,10),(19,17),(19,18)],20) [1,2,5,7,6,3,4]=>[1,2,6,7,3,5,4]=>[6,5,7,1,2,3,4]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [1,2,5,7,6,4,3]=>[1,2,7,6,3,5,4]=>[7,1,6,5,2,3,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [1,2,6,3,4,5,7]=>[1,2,4,5,6,3,7]=>[1,4,2,3,5,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,2,6,3,4,7,5]=>[1,2,4,5,7,3,6]=>[4,7,1,2,3,5,6]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [1,2,6,3,7,4,5]=>[1,2,4,6,7,3,5]=>[4,6,1,2,3,5,7]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [1,2,6,3,7,5,4]=>[1,2,4,7,6,3,5]=>[4,7,6,1,2,3,5]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [1,2,6,5,3,4,7]=>[1,2,5,6,4,3,7]=>[1,5,4,2,3,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [1,2,6,5,4,3,7]=>[1,2,6,5,4,3,7]=>[1,6,5,4,2,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,1),(2,8),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,13),(4,15),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,23),(8,24),(9,22),(9,23),(9,24),(10,21),(10,22),(10,24),(11,17),(11,20),(12,17),(12,18),(13,17),(13,19),(14,8),(14,18),(14,20),(15,9),(15,19),(15,20),(16,10),(16,18),(16,19),(17,25),(18,21),(18,25),(19,22),(19,25),(20,23),(20,25),(21,26),(21,27),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(26,7),(27,7)],28) [1,2,6,5,7,3,4]=>[1,2,6,7,4,3,5]=>[6,7,4,1,2,3,5]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [1,2,6,7,3,4,5]=>[1,2,5,6,7,3,4]=>[5,6,1,2,3,4,7]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [1,2,6,7,3,5,4]=>[1,2,5,7,6,3,4]=>[5,7,6,1,2,3,4]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [1,2,6,7,4,3,5]=>[1,2,6,5,7,3,4]=>[6,7,1,5,2,3,4]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [1,2,6,7,5,3,4]=>[1,2,6,7,5,3,4]=>[6,7,5,1,2,3,4]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,18),(8,18),(8,19),(9,19),(11,1),(11,17),(12,7),(12,16),(13,8),(13,16),(14,12),(14,17),(15,13),(15,17),(16,18),(16,19),(17,9),(17,16),(18,10),(19,10)],20) [1,2,6,7,5,4,3]=>[1,2,7,6,5,3,4]=>[1,7,6,5,2,3,4]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [1,2,7,3,4,5,6]=>[1,2,4,5,6,7,3]=>[4,1,2,3,5,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,2,7,3,4,6,5]=>[1,2,4,5,7,6,3]=>[7,4,1,2,3,5,6]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [1,2,7,3,6,4,5]=>[1,2,4,6,7,5,3]=>[6,4,1,2,3,5,7]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [1,2,7,3,6,5,4]=>[1,2,4,7,6,5,3]=>[7,6,4,1,2,3,5]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [1,2,7,4,3,5,6]=>[1,2,5,4,6,7,3]=>[5,1,2,4,3,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,2,7,4,5,6,3]=>[1,2,7,4,5,6,3]=>[7,1,2,4,3,5,6]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [1,2,7,6,3,4,5]=>[1,2,5,6,7,4,3]=>[5,4,1,2,3,6,7]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [1,2,7,6,3,5,4]=>[1,2,5,7,6,4,3]=>[7,5,4,1,2,3,6]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [1,2,7,6,5,3,4]=>[1,2,6,7,5,4,3]=>[6,5,4,1,2,3,7]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [1,2,7,6,5,4,3]=>[1,2,7,6,5,4,3]=>[7,6,5,4,1,2,3]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [1,3,2,4,5,6,7]=>[1,3,2,4,5,6,7]=>[1,3,4,5,6,2,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,3,2,4,5,7,6]=>[1,3,2,4,5,7,6]=>[3,1,2,4,7,5,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,14),(1,15),(1,19),(1,20),(2,10),(2,11),(2,20),(3,9),(3,11),(3,19),(4,8),(4,9),(4,14),(4,20),(5,8),(5,10),(5,15),(5,19),(7,21),(7,24),(8,16),(8,22),(8,23),(9,22),(9,25),(10,23),(10,25),(11,25),(12,7),(12,17),(12,26),(13,7),(13,18),(13,26),(14,13),(14,16),(14,22),(15,12),(15,16),(15,23),(16,17),(16,18),(17,21),(17,24),(18,21),(18,24),(19,12),(19,22),(19,25),(20,13),(20,23),(20,25),(21,6),(22,17),(22,26),(23,18),(23,26),(24,6),(25,26),(26,24)],27) [1,3,2,4,6,5,7]=>[1,3,2,4,6,5,7]=>[1,3,2,4,6,5,7]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,17),(1,18),(2,11),(2,12),(2,18),(3,10),(3,12),(3,17),(4,7),(4,8),(4,10),(4,18),(5,7),(5,9),(5,11),(5,17),(7,14),(7,21),(7,22),(8,14),(8,21),(8,23),(9,14),(9,22),(9,23),(10,21),(10,24),(11,22),(11,24),(12,24),(13,6),(14,15),(14,16),(15,13),(15,19),(16,13),(16,19),(17,21),(17,23),(17,24),(18,22),(18,23),(18,24),(19,6),(20,19),(21,15),(21,20),(22,16),(22,20),(23,15),(23,16),(23,20),(24,20)],25) [1,3,2,4,6,7,5]=>[1,3,2,4,7,5,6]=>[1,3,2,4,7,5,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [1,3,2,4,7,5,6]=>[1,3,2,4,6,7,5]=>[3,1,2,4,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [1,3,2,5,6,4,7]=>[1,3,2,6,4,5,7]=>[1,3,4,2,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [1,3,2,6,4,5,7]=>[1,3,2,5,6,4,7]=>[1,3,2,5,6,4,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [1,3,4,2,5,6,7]=>[1,4,2,3,5,6,7]=>[1,2,4,5,6,3,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,3,4,2,5,7,6]=>[1,4,2,3,5,7,6]=>[4,1,2,3,7,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [1,3,4,2,6,5,7]=>[1,4,2,3,6,5,7]=>[1,4,2,3,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [1,3,4,2,6,7,5]=>[1,4,2,3,7,5,6]=>[1,4,2,3,7,5,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [1,3,4,2,7,5,6]=>[1,4,2,3,6,7,5]=>[4,1,2,3,6,5,7]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [1,3,4,5,2,6,7]=>[1,5,2,3,4,6,7]=>[1,2,3,5,6,4,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,3,4,5,2,7,6]=>[1,5,2,3,4,7,6]=>[5,1,2,3,7,4,6]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [1,3,4,5,6,2,7]=>[1,6,2,3,4,5,7]=>[1,2,3,4,6,5,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,3,4,5,6,7,2]=>[1,7,2,3,4,5,6]=>[1,2,3,4,7,5,6]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,3,4,5,7,2,6]=>[1,6,2,3,4,7,5]=>[6,1,2,3,7,4,5]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [1,3,4,5,7,6,2]=>[1,7,2,3,4,6,5]=>[7,1,2,3,6,4,5]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [1,3,4,6,7,5,2]=>[1,7,2,3,6,4,5]=>[1,7,2,3,6,4,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [1,3,4,7,2,5,6]=>[1,5,2,3,6,7,4]=>[5,1,2,3,6,4,7]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [1,3,4,7,5,2,6]=>[1,6,2,3,5,7,4]=>[6,1,2,3,5,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [1,3,4,7,5,6,2]=>[1,7,2,3,5,6,4]=>[7,1,2,3,5,4,6]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,3,4,7,6,5,2]=>[1,7,2,3,6,5,4]=>[7,6,1,2,5,3,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [1,3,5,2,6,4,7]=>[1,4,2,6,3,5,7]=>[1,2,4,3,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,19),(2,10),(2,13),(2,21),(3,9),(3,10),(3,21),(4,9),(4,12),(4,21),(5,1),(5,12),(5,13),(5,21),(7,15),(7,16),(8,15),(8,20),(9,18),(10,14),(10,18),(11,6),(12,8),(12,18),(12,19),(13,7),(13,14),(13,19),(14,16),(14,20),(15,11),(15,17),(16,11),(16,17),(17,6),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [1,3,5,2,6,7,4]=>[1,4,2,7,3,5,6]=>[1,2,4,3,7,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [1,3,5,6,7,4,2]=>[1,7,2,6,3,4,5]=>[1,2,7,3,6,4,5]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [1,3,6,4,7,2,5]=>[1,6,2,4,7,3,5]=>[6,7,1,2,4,3,5]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [1,3,6,7,2,4,5]=>[1,5,2,6,7,3,4]=>[5,6,1,2,7,3,4]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [1,3,6,7,4,2,5]=>[1,6,2,5,7,3,4]=>[6,7,1,2,5,3,4]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [1,3,6,7,5,4,2]=>[1,7,2,6,5,3,4]=>[1,7,6,2,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [1,3,7,4,6,5,2]=>[1,7,2,4,6,5,3]=>[7,6,1,2,4,3,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [1,3,7,6,4,2,5]=>[1,6,2,5,7,4,3]=>[6,5,1,2,4,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [1,3,7,6,5,2,4]=>[1,6,2,7,5,4,3]=>[6,5,4,1,7,2,3]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [1,3,7,6,5,4,2]=>[1,7,2,6,5,4,3]=>[7,6,5,1,4,2,3]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [1,4,2,3,5,6,7]=>[1,3,4,2,5,6,7]=>[1,3,4,5,2,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,4,2,3,5,7,6]=>[1,3,4,2,5,7,6]=>[3,1,2,7,4,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [1,4,2,3,6,5,7]=>[1,3,4,2,6,5,7]=>[1,3,2,6,4,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [1,4,2,3,6,7,5]=>[1,3,4,2,7,5,6]=>[1,3,2,7,4,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [1,4,2,3,7,5,6]=>[1,3,4,2,6,7,5]=>[3,1,2,6,4,5,7]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [1,4,2,6,3,5,7]=>[1,3,5,2,6,4,7]=>[1,3,2,5,4,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,19),(2,10),(2,13),(2,21),(3,9),(3,10),(3,21),(4,9),(4,12),(4,21),(5,1),(5,12),(5,13),(5,21),(7,15),(7,16),(8,15),(8,20),(9,18),(10,14),(10,18),(11,6),(12,8),(12,18),(12,19),(13,7),(13,14),(13,19),(14,16),(14,20),(15,11),(15,17),(16,11),(16,17),(17,6),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [1,4,2,7,3,5,6]=>[1,3,5,2,6,7,4]=>[3,1,2,5,4,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [1,4,3,2,5,6,7]=>[1,4,3,2,5,6,7]=>[1,4,5,6,3,2,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [1,4,3,5,7,6,2]=>[1,7,3,2,4,6,5]=>[3,1,2,7,6,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [1,4,3,6,5,2,7]=>[1,6,3,2,5,4,7]=>[1,3,2,6,5,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,23),(2,7),(2,8),(2,25),(3,11),(3,12),(3,13),(4,13),(4,14),(4,16),(5,12),(5,14),(5,15),(6,2),(6,11),(6,15),(6,16),(7,22),(8,22),(8,23),(9,19),(11,17),(11,18),(11,25),(12,18),(12,20),(13,17),(13,20),(14,1),(14,20),(14,25),(15,7),(15,18),(15,25),(16,8),(16,17),(16,25),(17,23),(17,24),(18,22),(18,24),(19,10),(20,9),(20,24),(21,10),(22,21),(23,19),(23,21),(24,19),(24,21),(25,22),(25,23),(25,24)],26) [1,4,3,6,7,5,2]=>[1,7,3,2,6,4,5]=>[1,3,2,7,6,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [1,4,3,7,5,2,6]=>[1,6,3,2,5,7,4]=>[3,1,2,6,5,4,7]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [1,4,5,2,3,6,7]=>[1,4,5,2,3,6,7]=>[1,4,5,6,2,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,26),(2,8),(2,9),(2,10),(2,26),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(8,28),(9,21),(9,23),(9,28),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,26),(13,18),(13,20),(13,26),(14,9),(14,17),(14,19),(15,10),(15,17),(15,20),(16,8),(16,19),(16,20),(16,26),(17,23),(17,24),(18,24),(18,28),(19,21),(19,24),(19,28),(20,22),(20,24),(20,28),(21,25),(21,27),(22,25),(22,27),(23,25),(23,27),(24,25),(24,27),(25,7),(26,28),(27,7),(28,27)],29) [1,4,5,3,2,6,7]=>[1,5,4,2,3,6,7]=>[1,2,5,6,4,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [1,4,5,6,2,3,7]=>[1,5,6,2,3,4,7]=>[1,2,5,6,3,4,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,9),(4,11),(4,13),(4,15),(5,9),(5,11),(5,12),(5,14),(6,22),(6,23),(7,21),(7,22),(7,28),(8,21),(8,23),(8,28),(9,27),(11,17),(11,20),(11,27),(12,17),(12,18),(12,27),(13,17),(13,19),(13,27),(14,7),(14,18),(14,20),(14,27),(15,8),(15,19),(15,20),(15,27),(16,6),(16,18),(16,19),(17,24),(17,28),(18,22),(18,24),(18,28),(19,23),(19,24),(19,28),(20,21),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,4,5,6,3,2,7]=>[1,6,5,2,3,4,7]=>[1,2,3,6,5,4,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,4,5,6,3,7,2]=>[1,7,5,2,3,4,6]=>[1,2,3,7,5,4,6]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [1,4,5,6,7,2,3]=>[1,6,7,2,3,4,5]=>[1,2,6,7,3,4,5]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [1,4,5,6,7,3,2]=>[1,7,6,2,3,4,5]=>[1,2,3,7,6,4,5]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,4,5,7,2,3,6]=>[1,5,6,2,3,7,4]=>[5,1,6,7,2,3,4]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [1,4,5,7,2,6,3]=>[1,5,7,2,3,6,4]=>[7,1,5,6,2,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [1,4,5,7,6,3,2]=>[1,7,6,2,3,5,4]=>[7,1,2,6,5,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [1,4,6,7,2,3,5]=>[1,5,6,2,7,3,4]=>[5,6,1,7,2,3,4]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [1,4,6,7,2,5,3]=>[1,5,7,2,6,3,4]=>[1,7,5,6,2,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [1,4,6,7,5,2,3]=>[1,6,7,2,5,3,4]=>[1,6,5,7,2,3,4]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [1,4,6,7,5,3,2]=>[1,7,6,2,5,3,4]=>[1,7,2,6,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [1,4,7,2,6,5,3]=>[1,4,7,2,6,5,3]=>[7,6,4,5,1,2,3]=>([(0,4),(0,5),(0,6),(1,18),(2,8),(2,11),(3,7),(3,12),(3,19),(4,13),(4,14),(5,3),(5,13),(5,15),(6,2),(6,14),(6,15),(7,16),(8,1),(8,20),(9,17),(9,18),(11,9),(11,20),(12,9),(12,16),(12,20),(13,7),(13,19),(14,8),(14,19),(15,11),(15,12),(15,19),(16,17),(17,10),(18,10),(19,16),(19,20),(20,17),(20,18)],21) [1,4,7,5,3,2,6]=>[1,6,5,2,4,7,3]=>[6,1,2,5,4,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [1,4,7,5,3,6,2]=>[1,7,5,2,4,6,3]=>[7,1,2,5,4,3,6]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [1,4,7,6,2,5,3]=>[1,5,7,2,6,4,3]=>[7,5,4,6,1,2,3]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [1,4,7,6,5,2,3]=>[1,6,7,2,5,4,3]=>[6,5,4,7,1,2,3]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [1,4,7,6,5,3,2]=>[1,7,6,2,5,4,3]=>[7,6,1,5,4,2,3]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [1,5,2,3,4,6,7]=>[1,3,4,5,2,6,7]=>[1,3,4,2,5,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,5,2,3,4,7,6]=>[1,3,4,5,2,7,6]=>[3,1,7,2,4,5,6]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [1,5,2,3,6,7,4]=>[1,3,4,7,2,5,6]=>[1,3,7,2,4,5,6]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [1,5,2,6,7,3,4]=>[1,3,6,7,2,4,5]=>[3,6,7,1,2,4,5]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [1,5,4,2,3,6,7]=>[1,4,5,3,2,6,7]=>[1,4,5,3,2,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [1,5,4,3,2,6,7]=>[1,5,4,3,2,6,7]=>[1,5,6,4,3,2,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,1),(2,8),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,13),(4,15),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,23),(8,24),(9,22),(9,23),(9,24),(10,21),(10,22),(10,24),(11,17),(11,20),(12,17),(12,18),(13,17),(13,19),(14,8),(14,18),(14,20),(15,9),(15,19),(15,20),(16,10),(16,18),(16,19),(17,25),(18,21),(18,25),(19,22),(19,25),(20,23),(20,25),(21,26),(21,27),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(26,7),(27,7)],28) [1,5,6,2,3,4,7]=>[1,4,5,6,2,3,7]=>[1,4,5,2,3,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,9),(4,11),(4,13),(4,15),(5,9),(5,11),(5,12),(5,14),(6,22),(6,23),(7,21),(7,22),(7,28),(8,21),(8,23),(8,28),(9,27),(11,17),(11,20),(11,27),(12,17),(12,18),(12,27),(13,17),(13,19),(13,27),(14,7),(14,18),(14,20),(14,27),(15,8),(15,19),(15,20),(15,27),(16,6),(16,18),(16,19),(17,24),(17,28),(18,22),(18,24),(18,28),(19,23),(19,24),(19,28),(20,21),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,5,6,2,3,7,4]=>[1,4,5,7,2,3,6]=>[4,5,7,1,2,3,6]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [1,5,6,2,7,3,4]=>[1,4,6,7,2,3,5]=>[4,6,7,1,2,3,5]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [1,5,6,4,3,2,7]=>[1,6,5,4,2,3,7]=>[1,2,6,5,4,3,7]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [1,5,6,4,3,7,2]=>[1,7,5,4,2,3,6]=>[1,2,7,5,4,3,6]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [1,5,6,4,7,3,2]=>[1,7,6,4,2,3,5]=>[1,2,7,6,4,3,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [1,5,6,7,2,3,4]=>[1,5,6,7,2,3,4]=>[5,6,7,1,2,3,4]=>([(0,5),(0,6),(1,14),(2,4),(2,13),(3,1),(3,11),(4,9),(4,14),(5,2),(5,12),(6,3),(6,12),(8,10),(8,15),(9,10),(9,15),(10,7),(11,8),(11,14),(12,11),(12,13),(13,8),(13,9),(14,15),(15,7)],16) [1,5,6,7,2,4,3]=>[1,5,7,6,2,3,4]=>[1,5,7,6,2,3,4]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [1,5,6,7,4,2,3]=>[1,6,7,5,2,3,4]=>[1,6,7,5,2,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [1,5,6,7,4,3,2]=>[1,7,6,5,2,3,4]=>[1,2,7,6,5,3,4]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [1,5,7,2,3,6,4]=>[1,4,5,7,2,6,3]=>[7,4,5,1,2,3,6]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [1,5,7,2,6,3,4]=>[1,4,6,7,2,5,3]=>[6,4,5,1,2,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [1,5,7,2,6,4,3]=>[1,4,7,6,2,5,3]=>[7,4,6,5,1,2,3]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [1,5,7,4,2,6,3]=>[1,5,7,4,2,6,3]=>[5,4,7,6,1,2,3]=>([(0,4),(0,5),(0,6),(1,23),(2,3),(2,15),(2,16),(3,8),(3,9),(4,2),(4,13),(4,14),(5,11),(5,12),(5,14),(6,11),(6,12),(6,13),(7,1),(7,21),(8,22),(8,23),(9,22),(9,23),(11,7),(11,17),(12,7),(12,18),(13,15),(13,17),(13,18),(14,16),(14,17),(14,18),(15,8),(15,19),(15,20),(16,9),(16,19),(16,20),(17,20),(17,21),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,10),(23,10)],24) [1,5,7,4,6,2,3]=>[1,6,7,4,2,5,3]=>[6,4,7,5,1,2,3]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [1,5,7,6,2,3,4]=>[1,5,6,7,2,4,3]=>[5,4,6,1,2,3,7]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [1,5,7,6,2,4,3]=>[1,5,7,6,2,4,3]=>[7,5,6,4,1,2,3]=>([(0,2),(0,3),(0,4),(0,6),(1,19),(2,12),(2,20),(3,13),(3,15),(3,20),(4,14),(4,15),(4,20),(5,7),(5,8),(5,9),(6,5),(6,12),(6,13),(6,14),(7,22),(8,17),(8,22),(9,17),(9,22),(9,23),(10,1),(10,23),(12,7),(12,21),(13,8),(13,16),(13,21),(14,9),(14,16),(14,21),(15,10),(15,16),(16,17),(16,23),(17,18),(17,19),(18,11),(19,11),(20,10),(20,21),(21,22),(21,23),(22,18),(23,18),(23,19)],24) [1,5,7,6,4,2,3]=>[1,6,7,5,2,4,3]=>[6,5,7,4,1,2,3]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [1,5,7,6,4,3,2]=>[1,7,6,5,2,4,3]=>[7,1,6,5,4,2,3]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [1,6,2,3,4,5,7]=>[1,3,4,5,6,2,7]=>[1,3,2,4,5,6,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,6,2,3,4,7,5]=>[1,3,4,5,7,2,6]=>[3,7,1,2,4,5,6]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [1,6,2,3,5,7,4]=>[1,3,4,7,5,2,6]=>[1,7,3,2,4,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [1,6,2,4,7,3,5]=>[1,3,6,4,7,2,5]=>[6,7,1,3,2,4,5]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [1,6,2,5,7,3,4]=>[1,3,6,7,4,2,5]=>[6,7,3,1,2,4,5]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [1,6,2,5,7,4,3]=>[1,3,7,6,4,2,5]=>[1,7,6,3,2,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [1,6,2,7,5,4,3]=>[1,3,7,6,5,2,4]=>[3,7,6,5,1,2,4]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [1,6,3,2,5,4,7]=>[1,4,3,6,5,2,7]=>[1,4,3,2,6,5,7]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,23),(2,7),(2,8),(2,25),(3,11),(3,12),(3,13),(4,13),(4,14),(4,16),(5,12),(5,14),(5,15),(6,2),(6,11),(6,15),(6,16),(7,22),(8,22),(8,23),(9,19),(11,17),(11,18),(11,25),(12,18),(12,20),(13,17),(13,20),(14,1),(14,20),(14,25),(15,7),(15,18),(15,25),(16,8),(16,17),(16,25),(17,23),(17,24),(18,22),(18,24),(19,10),(20,9),(20,24),(21,10),(22,21),(23,19),(23,21),(24,19),(24,21),(25,22),(25,23),(25,24)],26) [1,6,3,2,5,7,4]=>[1,4,3,7,5,2,6]=>[1,4,3,2,7,5,6]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [1,6,5,2,3,4,7]=>[1,4,5,6,3,2,7]=>[1,4,3,2,5,6,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,6,5,2,4,7,3]=>[1,4,7,5,3,2,6]=>[1,7,4,3,2,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [1,6,5,4,2,3,7]=>[1,5,6,4,3,2,7]=>[1,5,4,3,2,6,7]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [1,6,5,4,3,2,7]=>[1,6,5,4,3,2,7]=>[1,6,5,4,3,2,7]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [1,6,5,4,3,7,2]=>[1,7,5,4,3,2,6]=>[1,7,5,4,3,2,6]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,6,5,4,7,2,3]=>[1,6,7,4,3,2,5]=>[6,7,4,3,1,2,5]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [1,6,5,4,7,3,2]=>[1,7,6,4,3,2,5]=>[1,7,6,4,3,2,5]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [1,6,5,7,4,2,3]=>[1,6,7,5,3,2,4]=>[6,7,5,3,1,2,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [1,6,5,7,4,3,2]=>[1,7,6,5,3,2,4]=>[1,7,6,5,3,2,4]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,6,7,2,3,4,5]=>[1,4,5,6,7,2,3]=>[4,5,1,2,3,6,7]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [1,6,7,2,5,3,4]=>[1,4,6,7,5,2,3]=>[4,6,5,1,2,3,7]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [1,6,7,2,5,4,3]=>[1,4,7,6,5,2,3]=>[4,7,6,5,1,2,3]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [1,6,7,4,2,5,3]=>[1,5,7,4,6,2,3]=>[5,7,4,6,1,2,3]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [1,6,7,4,3,2,5]=>[1,6,5,4,7,2,3]=>[6,7,1,5,4,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [1,6,7,4,5,2,3]=>[1,6,7,4,5,2,3]=>[6,7,4,5,1,2,3]=>([(0,3),(0,4),(0,5),(1,18),(2,8),(2,9),(2,20),(3,2),(3,11),(3,12),(4,10),(4,11),(4,13),(5,10),(5,12),(5,13),(7,1),(7,19),(8,14),(8,16),(9,14),(9,16),(9,19),(10,7),(10,20),(11,9),(11,15),(11,20),(12,8),(12,15),(12,20),(13,7),(13,15),(14,17),(14,18),(15,16),(15,19),(16,17),(17,6),(18,6),(19,17),(19,18),(20,14),(20,19)],21) [1,6,7,5,2,3,4]=>[1,5,6,7,4,2,3]=>[5,6,4,1,2,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [1,6,7,5,2,4,3]=>[1,5,7,6,4,2,3]=>[5,7,6,4,1,2,3]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [1,6,7,5,3,2,4]=>[1,6,5,7,4,2,3]=>[6,7,5,1,4,2,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [1,6,7,5,4,2,3]=>[1,6,7,5,4,2,3]=>[6,7,5,4,1,2,3]=>([(0,4),(0,5),(0,6),(1,19),(2,10),(2,12),(3,9),(3,11),(4,13),(4,14),(5,2),(5,13),(5,15),(6,3),(6,14),(6,15),(8,19),(8,20),(9,17),(10,1),(10,18),(11,8),(11,17),(12,8),(12,18),(13,10),(13,16),(14,9),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [1,6,7,5,4,3,2]=>[1,7,6,5,4,2,3]=>[1,7,6,5,4,2,3]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [1,7,2,3,4,5,6]=>[1,3,4,5,6,7,2]=>[3,1,2,4,5,6,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,7,2,3,4,6,5]=>[1,3,4,5,7,6,2]=>[7,3,1,2,4,5,6]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [1,7,2,3,5,6,4]=>[1,3,4,7,5,6,2]=>[7,1,3,2,4,5,6]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,7,2,3,6,4,5]=>[1,3,4,6,7,5,2]=>[6,3,1,2,4,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [1,7,2,3,6,5,4]=>[1,3,4,7,6,5,2]=>[7,6,3,1,2,4,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [1,7,2,4,6,5,3]=>[1,3,7,4,6,5,2]=>[7,6,1,3,2,4,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [1,7,2,6,3,4,5]=>[1,3,5,6,7,4,2]=>[5,3,1,2,4,6,7]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [1,7,2,6,5,3,4]=>[1,3,6,7,5,4,2]=>[6,5,3,1,2,4,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [1,7,2,6,5,4,3]=>[1,3,7,6,5,4,2]=>[7,6,5,3,1,2,4]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [1,7,3,2,4,6,5]=>[1,4,3,5,7,6,2]=>[4,3,1,2,7,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [1,7,3,2,6,4,5]=>[1,4,3,6,7,5,2]=>[4,3,1,2,6,5,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [1,7,3,6,5,4,2]=>[1,7,3,6,5,4,2]=>[7,6,5,1,3,2,4]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [1,7,5,2,3,4,6]=>[1,4,5,6,3,7,2]=>[4,1,3,2,5,6,7]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [1,7,5,2,4,6,3]=>[1,4,7,5,3,6,2]=>[7,1,4,3,2,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [1,7,5,4,2,3,6]=>[1,5,6,4,3,7,2]=>[5,1,4,3,2,6,7]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [1,7,5,4,3,2,6]=>[1,6,5,4,3,7,2]=>[6,1,5,4,3,2,7]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,7,5,4,3,6,2]=>[1,7,5,4,3,6,2]=>[7,1,5,4,3,2,6]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [1,7,6,2,3,4,5]=>[1,4,5,6,7,3,2]=>[4,3,1,2,5,6,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,7,6,2,3,5,4]=>[1,4,5,7,6,3,2]=>[7,4,3,1,2,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [1,7,6,2,5,3,4]=>[1,4,6,7,5,3,2]=>[6,4,3,1,2,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [1,7,6,2,5,4,3]=>[1,4,7,6,5,3,2]=>[7,6,4,3,1,2,5]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [1,7,6,4,2,3,5]=>[1,5,6,4,7,3,2]=>[5,4,1,3,2,6,7]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [1,7,6,4,3,2,5]=>[1,6,5,4,7,3,2]=>[6,5,1,4,3,2,7]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [1,7,6,4,5,3,2]=>[1,7,6,4,5,3,2]=>[7,6,1,4,3,2,5]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,7,6,5,2,3,4]=>[1,5,6,7,4,3,2]=>[5,4,3,1,2,6,7]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [1,7,6,5,2,4,3]=>[1,5,7,6,4,3,2]=>[7,5,4,3,1,2,6]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [1,7,6,5,3,2,4]=>[1,6,5,7,4,3,2]=>[6,5,4,1,3,2,7]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,7,6,5,4,2,3]=>[1,6,7,5,4,3,2]=>[6,5,4,3,1,2,7]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [1,7,6,5,4,3,2]=>[1,7,6,5,4,3,2]=>[7,6,5,4,3,1,2]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [2,1,3,4,5,6,7]=>[2,1,3,4,5,6,7]=>[2,3,4,5,6,7,1]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [2,1,3,4,5,7,6]=>[2,1,3,4,5,7,6]=>[2,1,3,4,5,7,6]=>([(0,3),(0,4),(0,5),(1,11),(1,12),(2,1),(2,9),(2,10),(3,7),(3,14),(4,7),(4,13),(5,2),(5,13),(5,14),(7,15),(8,6),(9,11),(9,17),(10,12),(10,17),(11,8),(11,16),(12,8),(12,16),(13,9),(13,15),(14,10),(14,15),(15,17),(16,6),(17,16)],18) [2,1,3,4,6,5,7]=>[2,1,3,4,6,5,7]=>[2,3,1,4,6,7,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,14),(1,15),(1,19),(1,20),(2,10),(2,11),(2,20),(3,9),(3,11),(3,19),(4,8),(4,9),(4,14),(4,20),(5,8),(5,10),(5,15),(5,19),(7,21),(7,24),(8,16),(8,22),(8,23),(9,22),(9,25),(10,23),(10,25),(11,25),(12,7),(12,17),(12,26),(13,7),(13,18),(13,26),(14,13),(14,16),(14,22),(15,12),(15,16),(15,23),(16,17),(16,18),(17,21),(17,24),(18,21),(18,24),(19,12),(19,22),(19,25),(20,13),(20,23),(20,25),(21,6),(22,17),(22,26),(23,18),(23,26),(24,6),(25,26),(26,24)],27) [2,1,3,4,6,7,5]=>[2,1,3,4,7,5,6]=>[2,3,1,4,5,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [2,1,3,4,7,5,6]=>[2,1,3,4,6,7,5]=>[2,1,3,4,6,7,5]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [2,1,3,4,7,6,5]=>[2,1,3,4,7,6,5]=>[7,2,1,3,4,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,12),(1,13),(2,10),(2,11),(2,16),(3,9),(3,11),(3,15),(4,9),(4,10),(4,14),(5,1),(5,14),(5,15),(5,16),(6,21),(6,22),(7,25),(9,17),(9,19),(10,17),(10,20),(11,17),(11,18),(12,7),(12,21),(12,23),(13,7),(13,22),(13,23),(14,6),(14,19),(14,20),(15,12),(15,18),(15,19),(16,13),(16,18),(16,20),(17,24),(18,23),(18,24),(19,21),(19,24),(20,22),(20,24),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,26),(25,8),(26,8)],27) [2,1,3,5,4,7,6]=>[2,1,3,5,4,7,6]=>[2,1,5,3,4,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(1,25),(2,14),(2,20),(2,25),(3,9),(3,10),(3,11),(4,9),(4,12),(4,13),(5,2),(5,10),(5,12),(5,16),(6,1),(6,11),(6,13),(6,16),(8,19),(8,24),(9,20),(9,21),(9,25),(10,17),(10,20),(11,17),(11,21),(12,18),(12,20),(12,25),(13,18),(13,21),(13,25),(14,8),(14,22),(14,26),(15,8),(15,23),(15,26),(16,14),(16,15),(16,17),(16,18),(17,26),(18,22),(18,23),(18,26),(19,7),(20,23),(20,26),(21,22),(21,26),(22,19),(22,24),(23,19),(23,24),(24,7),(25,22),(25,23),(26,24)],27) [2,1,3,5,6,4,7]=>[2,1,3,6,4,5,7]=>[2,3,4,1,6,7,5]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [2,1,3,5,6,7,4]=>[2,1,3,7,4,5,6]=>[2,3,4,1,5,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [2,1,3,6,4,5,7]=>[2,1,3,5,6,4,7]=>[2,3,1,5,6,7,4]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [2,1,3,7,4,5,6]=>[2,1,3,5,6,7,4]=>[2,1,3,5,6,7,4]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [2,1,3,7,6,5,4]=>[2,1,3,7,6,5,4]=>[7,6,2,1,3,5,4]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,11),(2,14),(2,16),(3,11),(3,13),(3,15),(4,12),(4,15),(4,16),(5,1),(5,12),(5,13),(5,14),(7,22),(7,23),(8,21),(8,22),(9,21),(9,23),(10,24),(11,17),(11,18),(12,7),(12,19),(12,20),(13,8),(13,17),(13,19),(14,9),(14,17),(14,20),(15,10),(15,18),(15,19),(16,10),(16,18),(16,20),(17,21),(17,25),(18,24),(18,25),(19,22),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,6),(27,6)],28) [2,1,4,3,5,6,7]=>[2,1,4,3,5,6,7]=>[2,4,5,6,1,7,3]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,23),(1,24),(2,8),(2,16),(2,21),(3,8),(3,15),(3,21),(4,9),(4,10),(4,15),(4,21),(5,9),(5,11),(5,16),(5,21),(6,1),(6,13),(6,14),(6,18),(6,19),(7,6),(7,10),(7,11),(7,15),(7,16),(8,26),(9,20),(9,29),(10,13),(10,18),(10,20),(10,29),(11,14),(11,19),(11,20),(11,29),(13,17),(13,23),(13,24),(13,28),(14,17),(14,23),(14,24),(14,28),(15,18),(15,26),(15,29),(16,19),(16,26),(16,29),(17,25),(17,27),(18,22),(18,23),(18,28),(19,22),(19,24),(19,28),(20,17),(20,28),(21,26),(21,29),(22,27),(23,25),(23,27),(24,25),(24,27),(25,12),(26,22),(27,12),(28,25),(28,27),(29,22),(29,28)],30) [2,1,4,3,5,7,6]=>[2,1,4,3,5,7,6]=>[2,1,4,5,3,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(1,25),(2,14),(2,20),(2,25),(3,9),(3,10),(3,11),(4,9),(4,12),(4,13),(5,2),(5,10),(5,12),(5,16),(6,1),(6,11),(6,13),(6,16),(8,19),(8,24),(9,20),(9,21),(9,25),(10,17),(10,20),(11,17),(11,21),(12,18),(12,20),(12,25),(13,18),(13,21),(13,25),(14,8),(14,22),(14,26),(15,8),(15,23),(15,26),(16,14),(16,15),(16,17),(16,18),(17,26),(18,22),(18,23),(18,26),(19,7),(20,23),(20,26),(21,22),(21,26),(22,19),(22,24),(23,19),(23,24),(24,7),(25,22),(25,23),(26,24)],27) [2,1,4,3,7,6,5]=>[2,1,4,3,7,6,5]=>[7,2,1,4,3,6,5]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,11),(2,12),(2,18),(3,8),(3,10),(3,12),(3,18),(4,7),(4,10),(4,11),(4,18),(6,25),(7,14),(7,15),(7,21),(8,14),(8,16),(8,21),(9,15),(9,16),(9,21),(10,13),(10,14),(10,19),(11,13),(11,15),(11,20),(12,13),(12,16),(12,19),(12,20),(13,17),(13,24),(14,22),(14,24),(15,23),(15,24),(16,22),(16,23),(16,24),(17,25),(17,26),(18,19),(18,20),(18,21),(19,6),(19,17),(19,22),(20,6),(20,17),(20,23),(21,22),(21,23),(22,25),(22,26),(23,25),(23,26),(24,26),(25,5),(26,5)],27) [2,1,4,5,3,7,6]=>[2,1,5,3,4,7,6]=>[2,1,3,5,4,7,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,7),(2,10),(2,19),(3,9),(3,11),(3,19),(4,8),(4,10),(4,11),(4,19),(5,6),(7,13),(7,21),(8,13),(8,18),(8,21),(9,17),(9,18),(9,21),(10,13),(10,16),(11,16),(11,17),(11,18),(12,6),(13,20),(14,5),(14,12),(15,5),(15,12),(16,14),(16,20),(17,14),(17,15),(18,14),(18,15),(18,20),(19,16),(19,17),(19,21),(20,12),(21,15),(21,20)],22) [2,1,4,5,6,3,7]=>[2,1,6,3,4,5,7]=>[2,3,4,6,1,7,5]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [2,1,4,5,6,7,3]=>[2,1,7,3,4,5,6]=>[2,3,4,5,1,7,6]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [2,1,4,6,3,7,5]=>[2,1,5,3,7,4,6]=>[2,3,1,5,4,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [2,1,5,3,4,7,6]=>[2,1,4,5,3,7,6]=>[2,1,4,3,5,7,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,7),(2,10),(2,19),(3,9),(3,11),(3,19),(4,8),(4,10),(4,11),(4,19),(5,6),(7,13),(7,21),(8,13),(8,18),(8,21),(9,17),(9,18),(9,21),(10,13),(10,16),(11,16),(11,17),(11,18),(12,6),(13,20),(14,5),(14,12),(15,5),(15,12),(16,14),(16,20),(17,14),(17,15),(18,14),(18,15),(18,20),(19,16),(19,17),(19,21),(20,12),(21,15),(21,20)],22) [2,1,5,3,7,4,6]=>[2,1,4,6,3,7,5]=>[2,1,4,3,6,7,5]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [2,1,5,4,3,7,6]=>[2,1,5,4,3,7,6]=>[2,1,5,4,3,7,6]=>([(0,4),(0,5),(0,6),(1,12),(1,22),(2,11),(2,22),(3,9),(3,10),(3,22),(4,3),(4,13),(4,14),(5,2),(5,13),(5,15),(6,1),(6,14),(6,15),(8,18),(9,17),(9,20),(10,17),(10,21),(11,8),(11,20),(12,8),(12,21),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,20),(16,21),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18),(21,19),(22,20),(22,21)],23) [2,1,5,4,7,6,3]=>[2,1,7,4,3,6,5]=>[2,1,7,4,3,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [2,1,6,3,4,5,7]=>[2,1,4,5,6,3,7]=>[2,4,1,5,6,7,3]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [2,1,7,3,4,5,6]=>[2,1,4,5,6,7,3]=>[2,1,4,5,6,7,3]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [2,1,7,4,3,6,5]=>[2,1,5,4,7,6,3]=>[5,2,1,4,3,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [2,1,7,6,5,4,3]=>[2,1,7,6,5,4,3]=>[7,6,5,2,1,4,3]=>([(0,3),(0,4),(0,5),(1,2),(1,13),(1,14),(2,6),(2,7),(3,1),(3,11),(3,12),(4,9),(4,10),(4,12),(5,9),(5,10),(5,11),(6,17),(6,20),(7,17),(7,20),(9,18),(10,15),(10,18),(11,13),(11,15),(11,18),(12,14),(12,15),(12,18),(13,6),(13,16),(13,19),(14,7),(14,16),(14,19),(15,16),(15,19),(16,17),(16,20),(17,8),(18,19),(19,20),(20,8)],21) [2,3,1,4,5,6,7]=>[3,1,2,4,5,6,7]=>[1,3,4,5,6,7,2]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [2,3,1,4,5,7,6]=>[3,1,2,4,5,7,6]=>[3,1,2,4,5,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [2,3,1,4,6,5,7]=>[3,1,2,4,6,5,7]=>[1,3,2,4,6,7,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [2,3,1,4,6,7,5]=>[3,1,2,4,7,5,6]=>[1,3,2,4,5,7,6]=>([(0,1),(0,3),(0,4),(0,5),(1,9),(1,18),(2,6),(2,7),(2,15),(3,10),(3,13),(3,18),(4,2),(4,12),(4,13),(4,18),(5,9),(5,10),(5,12),(6,16),(6,17),(7,16),(7,17),(7,21),(9,20),(10,14),(10,20),(11,8),(12,7),(12,14),(12,20),(13,6),(13,14),(13,15),(14,16),(14,21),(15,17),(15,21),(16,11),(16,19),(17,11),(17,19),(18,15),(18,20),(19,8),(20,21),(21,19)],22) [2,3,1,4,7,5,6]=>[3,1,2,4,6,7,5]=>[3,1,2,4,6,7,5]=>([(0,3),(0,4),(0,5),(0,6),(0,7),(1,24),(1,27),(2,24),(2,27),(3,12),(3,14),(3,20),(4,13),(4,14),(4,21),(5,15),(5,16),(5,20),(5,21),(6,9),(6,13),(6,15),(6,20),(7,9),(7,12),(7,16),(7,21),(9,17),(9,22),(9,23),(10,2),(10,18),(10,26),(11,1),(11,19),(11,26),(12,22),(12,25),(13,23),(13,25),(14,25),(15,10),(15,17),(15,23),(16,11),(16,17),(16,22),(17,18),(17,19),(18,24),(18,27),(19,24),(19,27),(20,10),(20,22),(20,25),(21,11),(21,23),(21,25),(22,18),(22,26),(23,19),(23,26),(24,8),(25,26),(26,27),(27,8)],28) [2,3,1,5,6,4,7]=>[3,1,2,6,4,5,7]=>[1,3,4,2,6,7,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [2,3,1,5,6,7,4]=>[3,1,2,7,4,5,6]=>[1,3,4,2,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [2,3,1,6,4,5,7]=>[3,1,2,5,6,4,7]=>[1,3,2,5,6,7,4]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [2,3,1,7,4,5,6]=>[3,1,2,5,6,7,4]=>[3,1,2,5,6,7,4]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [2,3,1,7,6,5,4]=>[3,1,2,7,6,5,4]=>[7,6,3,1,2,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [2,3,4,1,5,6,7]=>[4,1,2,3,5,6,7]=>[1,2,4,5,6,7,3]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [2,3,4,1,5,7,6]=>[4,1,2,3,5,7,6]=>[4,1,2,3,5,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [2,3,4,1,6,7,5]=>[4,1,2,3,7,5,6]=>[1,4,2,3,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [2,3,4,1,7,5,6]=>[4,1,2,3,6,7,5]=>[4,1,2,3,6,7,5]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [2,3,4,1,7,6,5]=>[4,1,2,3,7,6,5]=>[7,4,1,2,3,6,5]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [2,3,4,5,1,6,7]=>[5,1,2,3,4,6,7]=>[1,2,3,5,6,7,4]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [2,3,4,5,1,7,6]=>[5,1,2,3,4,7,6]=>[5,1,2,3,4,7,6]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [2,3,4,5,6,1,7]=>[6,1,2,3,4,5,7]=>[1,2,3,4,6,7,5]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [2,3,4,5,6,7,1]=>[7,1,2,3,4,5,6]=>[1,2,3,4,5,7,6]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [2,3,4,5,7,1,6]=>[6,1,2,3,4,7,5]=>[6,1,2,3,4,7,5]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [2,3,4,5,7,6,1]=>[7,1,2,3,4,6,5]=>[7,1,2,3,4,6,5]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [2,3,4,6,1,7,5]=>[5,1,2,3,7,4,6]=>[1,5,2,3,4,7,6]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [2,3,4,6,7,1,5]=>[6,1,2,3,7,4,5]=>[1,6,2,3,4,7,5]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [2,3,4,6,7,5,1]=>[7,1,2,3,6,4,5]=>[1,7,2,3,4,6,5]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [2,3,4,7,1,5,6]=>[5,1,2,3,6,7,4]=>[5,1,2,3,6,7,4]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [2,3,4,7,5,6,1]=>[7,1,2,3,5,6,4]=>[7,1,2,3,5,6,4]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [2,3,4,7,6,1,5]=>[6,1,2,3,7,5,4]=>[6,5,1,2,3,7,4]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [2,3,4,7,6,5,1]=>[7,1,2,3,6,5,4]=>[7,6,1,2,3,5,4]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [2,3,5,1,6,4,7]=>[4,1,2,6,3,5,7]=>[1,2,4,3,6,7,5]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [2,3,5,1,6,7,4]=>[4,1,2,7,3,5,6]=>[1,2,4,3,5,7,6]=>([(0,1),(0,3),(0,4),(0,5),(1,7),(1,17),(2,8),(2,9),(2,21),(3,10),(3,13),(3,17),(4,2),(4,12),(4,13),(4,17),(5,7),(5,10),(5,12),(7,19),(8,16),(8,20),(9,15),(9,16),(10,14),(10,19),(10,21),(11,6),(12,8),(12,14),(12,19),(13,9),(13,14),(13,21),(14,15),(14,16),(14,20),(15,11),(15,18),(16,11),(16,18),(17,19),(17,21),(18,6),(19,20),(20,18),(21,15),(21,20)],22) [2,3,5,4,1,6,7]=>[5,1,2,4,3,6,7]=>[1,2,5,4,6,7,3]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [2,3,5,4,6,7,1]=>[7,1,2,4,3,5,6]=>[1,2,7,4,5,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [2,3,5,6,1,7,4]=>[5,1,2,7,3,4,6]=>[1,2,5,3,4,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [2,3,5,6,7,4,1]=>[7,1,2,6,3,4,5]=>[1,2,7,3,4,6,5]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [2,3,5,7,6,4,1]=>[7,1,2,6,3,5,4]=>[7,1,6,2,3,5,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [2,3,6,1,4,5,7]=>[4,1,2,5,6,3,7]=>[1,4,2,5,6,7,3]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [2,3,6,1,4,7,5]=>[4,1,2,5,7,3,6]=>[4,5,1,2,3,7,6]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [2,3,6,4,7,1,5]=>[6,1,2,4,7,3,5]=>[6,7,1,2,4,5,3]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [2,3,6,5,1,7,4]=>[5,1,2,7,4,3,6]=>[1,5,4,2,3,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [2,3,6,7,1,4,5]=>[5,1,2,6,7,3,4]=>[5,6,1,2,3,7,4]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [2,3,6,7,4,1,5]=>[6,1,2,5,7,3,4]=>[6,7,1,2,3,5,4]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [2,3,6,7,5,4,1]=>[7,1,2,6,5,3,4]=>[1,7,6,2,3,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [2,3,7,1,4,5,6]=>[4,1,2,5,6,7,3]=>[4,1,2,5,6,7,3]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [2,3,7,4,1,6,5]=>[5,1,2,4,7,6,3]=>[5,4,1,2,3,7,6]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [2,3,7,4,5,6,1]=>[7,1,2,4,5,6,3]=>[7,1,2,4,5,6,3]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [2,3,7,4,6,5,1]=>[7,1,2,4,6,5,3]=>[7,6,1,2,4,5,3]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [2,3,7,6,5,1,4]=>[6,1,2,7,5,4,3]=>[6,5,4,1,2,7,3]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [2,3,7,6,5,4,1]=>[7,1,2,6,5,4,3]=>[7,6,5,1,2,4,3]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [2,4,1,3,5,6,7]=>[3,1,4,2,5,6,7]=>[3,4,5,6,1,7,2]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [2,4,1,5,3,7,6]=>[3,1,5,2,4,7,6]=>[3,1,2,5,4,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [2,4,1,5,6,7,3]=>[3,1,7,2,4,5,6]=>[1,3,4,5,2,7,6]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [2,4,1,6,3,7,5]=>[3,1,5,2,7,4,6]=>[1,3,2,5,4,7,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,21),(2,9),(2,10),(2,21),(3,6),(3,7),(3,9),(3,21),(4,6),(4,8),(4,10),(4,21),(6,12),(6,13),(6,19),(7,12),(7,18),(8,12),(8,18),(8,19),(9,13),(9,14),(9,18),(10,13),(10,14),(10,19),(11,5),(12,20),(13,16),(13,20),(14,15),(14,16),(15,11),(15,17),(16,11),(16,17),(17,5),(18,15),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [2,4,1,7,6,5,3]=>[3,1,7,2,6,5,4]=>[7,6,1,3,2,5,4]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [2,4,5,1,6,7,3]=>[4,1,7,2,3,5,6]=>[1,2,4,5,3,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [2,4,5,1,7,6,3]=>[4,1,7,2,3,6,5]=>[7,1,2,4,3,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [2,4,5,6,1,7,3]=>[5,1,7,2,3,4,6]=>[1,2,3,5,4,7,6]=>([(0,3),(0,4),(0,5),(1,2),(1,11),(1,16),(2,9),(2,17),(3,6),(3,12),(4,1),(4,10),(4,12),(5,6),(5,10),(5,12),(6,15),(8,7),(9,8),(9,13),(10,11),(10,15),(10,16),(11,9),(11,14),(11,17),(12,15),(12,16),(13,7),(14,13),(15,14),(16,14),(16,17),(17,8),(17,13)],18) [2,4,5,6,3,1,7]=>[6,1,5,2,3,4,7]=>[1,2,3,6,5,7,4]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [2,4,5,6,3,7,1]=>[7,1,5,2,3,4,6]=>[1,2,3,7,5,6,4]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [2,4,5,6,7,1,3]=>[6,1,7,2,3,4,5]=>[1,2,3,6,4,7,5]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [2,4,5,6,7,3,1]=>[7,1,6,2,3,4,5]=>[1,2,3,7,4,6,5]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [2,4,5,7,6,3,1]=>[7,1,6,2,3,5,4]=>[7,1,2,6,3,5,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [2,4,7,5,1,6,3]=>[5,1,7,2,4,6,3]=>[5,1,2,4,3,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [2,4,7,6,5,3,1]=>[7,1,6,2,5,4,3]=>[7,6,1,5,2,4,3]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [2,5,1,3,4,6,7]=>[3,1,4,5,2,6,7]=>[3,4,5,1,6,7,2]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [2,5,1,3,6,7,4]=>[3,1,4,7,2,5,6]=>[3,4,5,1,2,7,6]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [2,5,3,6,7,1,4]=>[6,1,3,7,2,4,5]=>[1,6,7,3,4,5,2]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [2,5,4,1,6,7,3]=>[4,1,7,3,2,5,6]=>[1,4,5,3,2,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [2,5,6,1,3,4,7]=>[4,1,5,6,2,3,7]=>[4,5,6,1,2,7,3]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [2,5,6,1,3,7,4]=>[4,1,5,7,2,3,6]=>[1,4,5,2,3,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,22),(6,23),(8,22),(8,27),(8,29),(9,23),(9,27),(9,29),(10,19),(10,24),(11,20),(11,21),(11,24),(12,17),(12,20),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(14,21),(15,9),(15,18),(15,19),(15,21),(16,6),(16,17),(16,18),(17,22),(17,25),(17,29),(18,23),(18,25),(18,29),(19,29),(20,25),(20,27),(21,25),(21,27),(21,29),(22,26),(22,28),(23,26),(23,28),(24,27),(24,29),(25,26),(25,28),(26,7),(27,26),(27,28),(28,7),(29,28)],30) [2,5,6,1,7,4,3]=>[4,1,7,6,2,3,5]=>[1,2,7,4,3,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [2,5,6,4,1,7,3]=>[5,1,7,4,2,3,6]=>[1,2,5,4,3,7,6]=>([(0,4),(0,5),(0,6),(1,9),(1,22),(2,11),(2,22),(3,10),(3,12),(4,3),(4,13),(4,15),(5,1),(5,13),(5,14),(6,2),(6,14),(6,15),(8,19),(9,17),(10,18),(10,21),(11,8),(11,21),(12,8),(12,18),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,18),(16,21),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20),(22,17),(22,21)],23) [2,5,6,4,3,1,7]=>[6,1,5,4,2,3,7]=>[1,2,6,5,4,7,3]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [2,5,6,4,7,3,1]=>[7,1,6,4,2,3,5]=>[1,2,7,6,4,5,3]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [2,5,6,7,3,1,4]=>[6,1,5,7,2,3,4]=>[1,6,7,2,3,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [2,5,6,7,4,3,1]=>[7,1,6,5,2,3,4]=>[1,2,7,6,3,5,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [2,5,7,6,3,1,4]=>[6,1,5,7,2,4,3]=>[6,5,7,1,2,4,3]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [2,5,7,6,3,4,1]=>[7,1,5,6,2,4,3]=>[7,5,6,1,2,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [2,5,7,6,4,3,1]=>[7,1,6,5,2,4,3]=>[7,1,6,5,2,4,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [2,6,1,3,4,5,7]=>[3,1,4,5,6,2,7]=>[3,4,1,5,6,7,2]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [2,6,1,3,4,7,5]=>[3,1,4,5,7,2,6]=>[3,4,1,2,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(2,14),(2,15),(2,16),(3,12),(3,13),(3,16),(4,6),(4,8),(4,13),(4,15),(5,6),(5,8),(5,12),(5,14),(6,17),(6,24),(8,18),(8,19),(8,24),(9,23),(9,26),(10,23),(10,26),(11,23),(11,26),(12,17),(12,18),(12,20),(13,17),(13,18),(13,21),(14,19),(14,20),(14,24),(15,19),(15,21),(15,24),(16,1),(16,20),(16,21),(17,25),(18,22),(18,25),(19,11),(19,22),(20,9),(20,22),(20,25),(21,10),(21,22),(21,25),(22,23),(22,26),(23,7),(24,11),(24,25),(25,26),(26,7)],27) [2,6,1,3,7,4,5]=>[3,1,4,6,7,2,5]=>[3,4,1,2,6,7,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [2,6,1,7,5,4,3]=>[3,1,7,6,5,2,4]=>[1,7,6,3,2,5,4]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [2,6,3,1,4,5,7]=>[4,1,3,5,6,2,7]=>[1,4,3,5,6,7,2]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [2,6,3,1,5,4,7]=>[4,1,3,6,5,2,7]=>[1,4,3,2,6,7,5]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [2,6,3,1,5,7,4]=>[4,1,3,7,5,2,6]=>[1,4,3,2,5,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,17),(3,10),(3,11),(3,13),(4,10),(4,12),(4,14),(5,11),(5,12),(5,15),(6,2),(6,13),(6,14),(6,15),(8,21),(9,23),(10,16),(10,20),(11,18),(11,20),(12,1),(12,19),(12,20),(13,16),(13,17),(13,18),(14,16),(14,17),(14,19),(15,9),(15,18),(15,19),(16,24),(16,25),(17,23),(17,25),(18,23),(18,24),(19,23),(19,24),(19,25),(20,8),(20,24),(21,7),(22,7),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [2,6,3,4,5,7,1]=>[7,1,3,4,5,2,6]=>[1,7,3,4,5,6,2]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [2,6,3,4,7,1,5]=>[6,1,3,4,7,2,5]=>[6,7,1,3,4,5,2]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [2,6,3,5,7,4,1]=>[7,1,3,6,4,2,5]=>[1,7,6,3,4,5,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [2,6,4,7,5,1,3]=>[6,1,7,3,5,2,4]=>[6,7,1,3,2,5,4]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [2,6,5,1,3,7,4]=>[4,1,5,7,3,2,6]=>[4,5,3,1,2,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,13),(2,14),(2,15),(3,11),(3,14),(3,17),(4,11),(4,13),(4,16),(5,1),(5,15),(5,16),(5,17),(6,21),(6,22),(7,21),(7,23),(8,22),(8,23),(9,27),(9,28),(11,20),(11,25),(12,9),(12,24),(13,12),(13,18),(13,25),(14,12),(14,19),(14,25),(15,8),(15,18),(15,19),(16,6),(16,18),(16,20),(17,7),(17,19),(17,20),(18,22),(18,24),(18,26),(19,23),(19,24),(19,26),(20,21),(20,26),(21,27),(22,27),(22,28),(23,27),(23,28),(24,28),(25,9),(25,26),(26,27),(26,28),(27,10),(28,10)],29) [2,6,5,1,7,4,3]=>[4,1,7,6,3,2,5]=>[1,7,4,3,2,6,5]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [2,6,5,3,1,4,7]=>[5,1,4,6,3,2,7]=>[1,5,4,3,6,7,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [2,6,5,4,1,7,3]=>[5,1,7,4,3,2,6]=>[1,5,4,3,2,7,6]=>([(0,4),(0,5),(0,6),(1,8),(1,21),(2,9),(2,10),(3,1),(3,11),(3,12),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,13),(6,14),(8,19),(9,17),(10,17),(10,21),(11,18),(11,21),(12,8),(12,18),(12,21),(13,11),(13,16),(14,9),(14,16),(15,10),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20)],22) [2,6,5,4,3,1,7]=>[6,1,5,4,3,2,7]=>[1,6,5,4,3,7,2]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [2,6,5,7,4,3,1]=>[7,1,6,5,3,2,4]=>[1,7,6,5,3,4,2]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [2,6,7,5,3,1,4]=>[6,1,5,7,4,2,3]=>[6,7,5,1,2,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [2,6,7,5,3,4,1]=>[7,1,5,6,4,2,3]=>[5,7,6,1,2,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [2,6,7,5,4,3,1]=>[7,1,6,5,4,2,3]=>[1,7,6,5,2,4,3]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [2,7,1,3,4,5,6]=>[3,1,4,5,6,7,2]=>[3,1,4,5,6,7,2]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [2,7,1,5,3,6,4]=>[3,1,5,7,4,6,2]=>[5,3,4,1,2,7,6]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [2,7,1,6,5,4,3]=>[3,1,7,6,5,4,2]=>[7,6,5,3,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [2,7,3,1,4,6,5]=>[4,1,3,5,7,6,2]=>[4,3,1,2,5,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [2,7,3,1,6,4,5]=>[4,1,3,6,7,5,2]=>[4,3,1,2,6,7,5]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [2,7,3,1,6,5,4]=>[4,1,3,7,6,5,2]=>[7,4,3,1,2,6,5]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [2,7,3,4,5,6,1]=>[7,1,3,4,5,6,2]=>[7,1,3,4,5,6,2]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [2,7,3,4,6,5,1]=>[7,1,3,4,6,5,2]=>[7,6,1,3,4,5,2]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [2,7,3,6,5,4,1]=>[7,1,3,6,5,4,2]=>[7,6,5,1,3,4,2]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [2,7,5,1,6,4,3]=>[4,1,7,6,3,5,2]=>[7,1,4,3,2,6,5]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [2,7,5,4,1,6,3]=>[5,1,7,4,3,6,2]=>[5,1,4,3,2,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [2,7,6,1,3,4,5]=>[4,1,5,6,7,3,2]=>[4,3,1,5,6,7,2]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [2,7,6,3,1,5,4]=>[5,1,4,7,6,3,2]=>[5,4,3,1,2,7,6]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [2,7,6,4,1,5,3]=>[5,1,7,4,6,3,2]=>[5,4,1,3,2,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [2,7,6,5,1,3,4]=>[5,1,6,7,4,3,2]=>[5,4,3,1,6,7,2]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [2,7,6,5,1,4,3]=>[5,1,7,6,4,3,2]=>[7,5,4,3,1,6,2]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [2,7,6,5,4,1,3]=>[6,1,7,5,4,3,2]=>[6,5,4,3,1,7,2]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [2,7,6,5,4,3,1]=>[7,1,6,5,4,3,2]=>[7,6,5,4,1,3,2]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [3,1,2,4,5,6,7]=>[2,3,1,4,5,6,7]=>[2,3,4,5,6,1,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [3,1,2,4,5,7,6]=>[2,3,1,4,5,7,6]=>[2,1,3,4,7,5,6]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [3,1,2,4,6,5,7]=>[2,3,1,4,6,5,7]=>[2,3,1,4,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [3,1,2,4,6,7,5]=>[2,3,1,4,7,5,6]=>[2,3,1,4,7,5,6]=>([(0,3),(0,4),(0,5),(0,6),(0,7),(1,24),(1,27),(2,24),(2,27),(3,12),(3,14),(3,20),(4,13),(4,14),(4,21),(5,15),(5,16),(5,20),(5,21),(6,9),(6,13),(6,15),(6,20),(7,9),(7,12),(7,16),(7,21),(9,17),(9,22),(9,23),(10,2),(10,18),(10,26),(11,1),(11,19),(11,26),(12,22),(12,25),(13,23),(13,25),(14,25),(15,10),(15,17),(15,23),(16,11),(16,17),(16,22),(17,18),(17,19),(18,24),(18,27),(19,24),(19,27),(20,10),(20,22),(20,25),(21,11),(21,23),(21,25),(22,18),(22,26),(23,19),(23,26),(24,8),(25,26),(26,27),(27,8)],28) [3,1,2,4,7,5,6]=>[2,3,1,4,6,7,5]=>[2,1,3,4,6,5,7]=>([(0,1),(0,3),(0,4),(0,5),(1,9),(1,18),(2,6),(2,7),(2,15),(3,10),(3,13),(3,18),(4,2),(4,12),(4,13),(4,18),(5,9),(5,10),(5,12),(6,16),(6,17),(7,16),(7,17),(7,21),(9,20),(10,14),(10,20),(11,8),(12,7),(12,14),(12,20),(13,6),(13,14),(13,15),(14,16),(14,21),(15,17),(15,21),(16,11),(16,19),(17,11),(17,19),(18,15),(18,20),(19,8),(20,21),(21,19)],22) [3,1,2,5,6,4,7]=>[2,3,1,6,4,5,7]=>[2,3,4,1,6,5,7]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [3,1,2,5,6,7,4]=>[2,3,1,7,4,5,6]=>[2,3,4,1,7,5,6]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [3,1,2,6,4,5,7]=>[2,3,1,5,6,4,7]=>[2,3,1,5,6,4,7]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [3,1,2,7,4,5,6]=>[2,3,1,5,6,7,4]=>[2,1,3,5,6,4,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [3,1,2,7,6,5,4]=>[2,3,1,7,6,5,4]=>[7,6,2,1,5,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [3,1,4,2,5,6,7]=>[2,4,1,3,5,6,7]=>[2,4,5,6,7,1,3]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [3,1,4,5,2,6,7]=>[2,5,1,3,4,6,7]=>[2,3,5,6,7,1,4]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [3,1,4,5,6,2,7]=>[2,6,1,3,4,5,7]=>[2,3,4,6,7,1,5]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [3,1,4,5,6,7,2]=>[2,7,1,3,4,5,6]=>[2,3,4,5,7,1,6]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [3,1,4,5,7,2,6]=>[2,6,1,3,4,7,5]=>[2,1,3,6,7,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(2,14),(2,15),(2,16),(3,12),(3,13),(3,16),(4,6),(4,8),(4,13),(4,15),(5,6),(5,8),(5,12),(5,14),(6,17),(6,24),(8,18),(8,19),(8,24),(9,23),(9,26),(10,23),(10,26),(11,23),(11,26),(12,17),(12,18),(12,20),(13,17),(13,18),(13,21),(14,19),(14,20),(14,24),(15,19),(15,21),(15,24),(16,1),(16,20),(16,21),(17,25),(18,22),(18,25),(19,11),(19,22),(20,9),(20,22),(20,25),(21,10),(21,22),(21,25),(22,23),(22,26),(23,7),(24,11),(24,25),(25,26),(26,7)],27) [3,1,4,6,7,2,5]=>[2,6,1,3,7,4,5]=>[2,3,1,6,7,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [3,1,4,7,2,5,6]=>[2,5,1,3,6,7,4]=>[2,1,5,6,7,3,4]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [3,1,5,2,4,7,6]=>[2,4,1,5,3,7,6]=>[2,1,4,3,7,5,6]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [3,1,5,2,7,4,6]=>[2,4,1,6,3,7,5]=>[2,1,4,3,6,5,7]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,21),(2,9),(2,10),(2,21),(3,6),(3,7),(3,9),(3,21),(4,6),(4,8),(4,10),(4,21),(6,12),(6,13),(6,19),(7,12),(7,18),(8,12),(8,18),(8,19),(9,13),(9,14),(9,18),(10,13),(10,14),(10,19),(11,5),(12,20),(13,16),(13,20),(14,15),(14,16),(15,11),(15,17),(16,11),(16,17),(17,5),(18,15),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [3,1,5,7,4,6,2]=>[2,7,1,5,3,6,4]=>[2,1,7,5,6,3,4]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [3,1,7,2,4,5,6]=>[2,4,1,5,6,7,3]=>[2,1,4,5,6,3,7]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [3,1,7,2,6,5,4]=>[2,4,1,7,6,5,3]=>[7,6,2,1,4,3,5]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [3,1,7,6,5,2,4]=>[2,6,1,7,5,4,3]=>[6,5,2,1,4,3,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [3,1,7,6,5,4,2]=>[2,7,1,6,5,4,3]=>[7,6,5,2,4,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [3,2,1,4,5,6,7]=>[3,2,1,4,5,6,7]=>[3,4,5,6,7,2,1]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [3,2,1,4,5,7,6]=>[3,2,1,4,5,7,6]=>[3,2,4,5,7,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,12),(1,13),(2,10),(2,11),(2,16),(3,9),(3,11),(3,15),(4,9),(4,10),(4,14),(5,1),(5,14),(5,15),(5,16),(6,21),(6,22),(7,25),(9,17),(9,19),(10,17),(10,20),(11,17),(11,18),(12,7),(12,21),(12,23),(13,7),(13,22),(13,23),(14,6),(14,19),(14,20),(15,12),(15,18),(15,19),(16,13),(16,18),(16,20),(17,24),(18,23),(18,24),(19,21),(19,24),(20,22),(20,24),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,26),(25,8),(26,8)],27) [3,2,1,4,7,6,5]=>[3,2,1,4,7,6,5]=>[3,2,1,4,7,6,5]=>([(0,3),(0,4),(0,5),(1,10),(1,12),(2,9),(2,11),(3,13),(3,14),(4,2),(4,13),(4,15),(5,1),(5,14),(5,15),(6,19),(7,20),(9,6),(9,17),(10,6),(10,18),(11,7),(11,17),(12,7),(12,18),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8)],21) [3,2,1,5,4,7,6]=>[3,2,1,5,4,7,6]=>[3,2,5,4,7,6,1]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,11),(2,12),(2,18),(3,8),(3,10),(3,12),(3,18),(4,7),(4,10),(4,11),(4,18),(6,25),(7,14),(7,15),(7,21),(8,14),(8,16),(8,21),(9,15),(9,16),(9,21),(10,13),(10,14),(10,19),(11,13),(11,15),(11,20),(12,13),(12,16),(12,19),(12,20),(13,17),(13,24),(14,22),(14,24),(15,23),(15,24),(16,22),(16,23),(16,24),(17,25),(17,26),(18,19),(18,20),(18,21),(19,6),(19,17),(19,22),(20,6),(20,17),(20,23),(21,22),(21,23),(22,25),(22,26),(23,25),(23,26),(24,26),(25,5),(26,5)],27) [3,2,1,5,6,7,4]=>[3,2,1,7,4,5,6]=>[3,4,5,2,7,6,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [3,2,1,5,7,6,4]=>[3,2,1,7,4,6,5]=>[3,2,4,1,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [3,2,1,6,7,5,4]=>[3,2,1,7,6,4,5]=>[3,4,2,1,7,6,5]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [3,2,1,7,4,5,6]=>[3,2,1,5,6,7,4]=>[3,2,5,6,7,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [3,2,1,7,4,6,5]=>[3,2,1,5,7,6,4]=>[3,2,1,5,7,6,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [3,2,1,7,6,4,5]=>[3,2,1,6,7,5,4]=>[3,2,1,6,7,5,4]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [3,2,1,7,6,5,4]=>[3,2,1,7,6,5,4]=>[7,3,2,1,6,5,4]=>([(0,1),(0,2),(0,3),(1,13),(1,14),(2,5),(2,14),(2,15),(3,4),(3,13),(3,15),(4,6),(4,9),(4,11),(5,6),(5,10),(5,12),(6,21),(7,19),(7,20),(9,17),(9,21),(10,18),(10,21),(11,7),(11,17),(11,21),(12,7),(12,18),(12,21),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8),(21,20)],22) [3,2,4,1,5,6,7]=>[4,2,1,3,5,6,7]=>[2,4,5,6,7,3,1]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [3,2,4,1,7,6,5]=>[4,2,1,3,7,6,5]=>[4,2,1,3,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [3,2,4,5,1,6,7]=>[5,2,1,3,4,6,7]=>[2,3,5,6,7,4,1]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [3,2,4,5,6,1,7]=>[6,2,1,3,4,5,7]=>[2,3,4,6,7,5,1]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [3,2,4,5,6,7,1]=>[7,2,1,3,4,5,6]=>[2,3,4,5,7,6,1]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [3,2,4,5,7,6,1]=>[7,2,1,3,4,6,5]=>[2,1,3,4,7,6,5]=>([(0,4),(0,5),(0,6),(1,19),(2,10),(2,12),(3,9),(3,11),(4,13),(4,14),(5,2),(5,13),(5,15),(6,3),(6,14),(6,15),(8,19),(8,20),(9,17),(10,1),(10,18),(11,8),(11,17),(12,8),(12,18),(13,10),(13,16),(14,9),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [3,2,4,6,5,1,7]=>[6,2,1,3,5,4,7]=>[2,3,1,6,7,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [3,2,4,6,7,5,1]=>[7,2,1,3,6,4,5]=>[2,3,1,4,7,6,5]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [3,2,4,7,5,1,6]=>[6,2,1,3,5,7,4]=>[2,1,3,6,7,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [3,2,4,7,5,6,1]=>[7,2,1,3,5,6,4]=>[2,1,3,5,7,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [3,2,4,7,6,5,1]=>[7,2,1,3,6,5,4]=>[7,2,1,3,6,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [3,2,5,1,7,6,4]=>[4,2,1,7,3,6,5]=>[4,2,3,1,7,6,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,22),(2,7),(2,8),(2,19),(3,16),(3,17),(3,22),(4,15),(4,17),(4,22),(5,2),(5,11),(5,12),(5,13),(6,5),(6,14),(6,15),(6,16),(7,25),(7,26),(8,25),(8,26),(10,19),(10,21),(11,19),(11,24),(12,7),(12,20),(12,24),(13,8),(13,20),(13,24),(14,11),(14,23),(15,12),(15,18),(15,23),(16,13),(16,18),(16,23),(17,10),(17,18),(18,20),(18,21),(19,26),(20,25),(21,25),(21,26),(22,10),(22,23),(23,21),(23,24),(24,25),(24,26),(25,9),(26,9)],27) [3,2,5,4,1,7,6]=>[5,2,1,4,3,7,6]=>[2,1,5,4,7,6,3]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [3,2,5,4,7,6,1]=>[7,2,1,4,3,6,5]=>[2,1,4,3,7,6,5]=>([(0,3),(0,4),(0,5),(1,18),(2,8),(2,9),(2,20),(3,2),(3,11),(3,12),(4,10),(4,11),(4,13),(5,10),(5,12),(5,13),(7,1),(7,19),(8,14),(8,16),(9,14),(9,16),(9,19),(10,7),(10,20),(11,9),(11,15),(11,20),(12,8),(12,15),(12,20),(13,7),(13,15),(14,17),(14,18),(15,16),(15,19),(16,17),(17,6),(18,6),(19,17),(19,18),(20,14),(20,19)],21) [3,2,5,6,1,7,4]=>[5,2,1,7,3,4,6]=>[2,3,5,4,7,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [3,2,5,6,7,4,1]=>[7,2,1,6,3,4,5]=>[2,3,4,1,7,6,5]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [3,2,5,7,6,4,1]=>[7,2,1,6,3,5,4]=>[7,2,3,1,6,5,4]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [3,2,6,1,7,5,4]=>[4,2,1,7,6,3,5]=>[2,4,3,1,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [3,2,6,4,7,5,1]=>[7,2,1,4,6,3,5]=>[2,4,1,3,7,6,5]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [3,2,7,4,1,5,6]=>[5,2,1,4,6,7,3]=>[2,1,5,6,7,4,3]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [3,2,7,4,5,6,1]=>[7,2,1,4,5,6,3]=>[2,1,4,5,7,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [3,2,7,6,5,4,1]=>[7,2,1,6,5,4,3]=>[7,6,2,1,5,4,3]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [3,4,1,2,5,6,7]=>[3,4,1,2,5,6,7]=>[3,4,5,6,7,1,2]=>([(0,5),(0,6),(1,11),(2,3),(2,13),(3,4),(3,10),(4,9),(4,14),(5,1),(5,12),(6,2),(6,12),(7,14),(9,8),(10,9),(10,14),(11,7),(12,11),(12,13),(13,7),(13,10),(14,8)],15) [3,4,1,5,2,6,7]=>[3,5,1,2,4,6,7]=>[1,3,5,6,7,2,4]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [3,4,1,5,6,7,2]=>[3,7,1,2,4,5,6]=>[1,3,4,5,7,2,6]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [3,4,1,5,7,2,6]=>[3,6,1,2,4,7,5]=>[3,1,2,6,7,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [3,4,1,6,7,2,5]=>[3,6,1,2,7,4,5]=>[1,3,2,6,7,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(2,10),(2,11),(2,14),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(4,16),(5,10),(5,12),(5,15),(5,16),(6,21),(6,25),(6,27),(7,24),(7,26),(8,24),(8,26),(10,17),(10,20),(10,22),(11,17),(11,20),(11,23),(12,18),(12,19),(12,22),(13,18),(13,19),(13,23),(14,1),(14,22),(14,23),(15,6),(15,17),(15,18),(16,6),(16,19),(16,20),(17,27),(18,21),(18,27),(19,21),(19,25),(20,25),(20,27),(21,24),(21,26),(22,7),(22,25),(22,27),(23,8),(23,25),(23,27),(24,9),(25,24),(25,26),(26,9),(27,26)],28) [3,4,2,1,5,6,7]=>[4,3,1,2,5,6,7]=>[1,4,5,6,7,3,2]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [3,4,2,1,7,6,5]=>[4,3,1,2,7,6,5]=>[4,3,1,2,7,6,5]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [3,4,2,5,1,6,7]=>[5,3,1,2,4,6,7]=>[1,3,5,6,7,4,2]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [3,4,2,5,6,1,7]=>[6,3,1,2,4,5,7]=>[1,3,4,6,7,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [3,4,2,5,6,7,1]=>[7,3,1,2,4,5,6]=>[1,3,4,5,7,6,2]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [3,4,2,5,7,6,1]=>[7,3,1,2,4,6,5]=>[3,1,2,4,7,6,5]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [3,4,2,6,5,1,7]=>[6,3,1,2,5,4,7]=>[1,3,2,6,7,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [3,4,2,6,7,5,1]=>[7,3,1,2,6,4,5]=>[1,3,2,4,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,19),(2,12),(2,20),(3,13),(3,15),(3,20),(4,14),(4,15),(4,20),(5,7),(5,8),(5,9),(6,5),(6,12),(6,13),(6,14),(7,22),(8,17),(8,22),(9,17),(9,22),(9,23),(10,1),(10,23),(12,7),(12,21),(13,8),(13,16),(13,21),(14,9),(14,16),(14,21),(15,10),(15,16),(16,17),(16,23),(17,18),(17,19),(18,11),(19,11),(20,10),(20,21),(21,22),(21,23),(22,18),(23,18),(23,19)],24) [3,4,2,7,5,1,6]=>[6,3,1,2,5,7,4]=>[3,1,2,6,7,5,4]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [3,4,2,7,6,5,1]=>[7,3,1,2,6,5,4]=>[7,3,1,2,6,5,4]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [3,4,5,1,2,6,7]=>[4,5,1,2,3,6,7]=>[1,4,5,6,7,2,3]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [3,4,5,2,1,6,7]=>[5,4,1,2,3,6,7]=>[1,2,5,6,7,4,3]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [3,4,5,2,6,1,7]=>[6,4,1,2,3,5,7]=>[1,2,4,6,7,5,3]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [3,4,5,2,6,7,1]=>[7,4,1,2,3,5,6]=>[1,2,4,5,7,6,3]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [3,4,5,2,7,6,1]=>[7,4,1,2,3,6,5]=>[4,1,2,3,7,6,5]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [3,4,5,6,1,2,7]=>[5,6,1,2,3,4,7]=>[1,2,5,6,7,3,4]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [3,4,5,6,1,7,2]=>[5,7,1,2,3,4,6]=>[1,2,3,5,7,4,6]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [3,4,5,6,2,1,7]=>[6,5,1,2,3,4,7]=>[1,2,3,6,7,5,4]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [3,4,5,6,2,7,1]=>[7,5,1,2,3,4,6]=>[1,2,3,5,7,6,4]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [3,4,5,6,7,1,2]=>[6,7,1,2,3,4,5]=>[1,2,3,6,7,4,5]=>([(0,3),(0,4),(0,5),(1,2),(1,13),(1,14),(2,6),(2,7),(3,1),(3,11),(3,12),(4,9),(4,10),(4,12),(5,9),(5,10),(5,11),(6,17),(6,20),(7,17),(7,20),(9,18),(10,15),(10,18),(11,13),(11,15),(11,18),(12,14),(12,15),(12,18),(13,6),(13,16),(13,19),(14,7),(14,16),(14,19),(15,16),(15,19),(16,17),(16,20),(17,8),(18,19),(19,20),(20,8)],21) [3,4,5,6,7,2,1]=>[7,6,1,2,3,4,5]=>[1,2,3,4,7,6,5]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [3,4,5,7,1,6,2]=>[5,7,1,2,3,6,4]=>[7,1,2,5,6,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [3,4,5,7,2,1,6]=>[6,5,1,2,3,7,4]=>[6,1,2,3,7,5,4]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [3,4,5,7,2,6,1]=>[7,5,1,2,3,6,4]=>[5,1,2,3,7,6,4]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [3,4,5,7,6,2,1]=>[7,6,1,2,3,5,4]=>[7,1,2,3,6,5,4]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [3,4,6,1,2,5,7]=>[4,5,1,2,6,3,7]=>[4,5,1,6,7,2,3]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [3,4,6,1,5,7,2]=>[4,7,1,2,5,3,6]=>[1,7,4,5,6,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [3,4,6,2,7,5,1]=>[7,4,1,2,6,3,5]=>[1,4,2,3,7,6,5]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [3,4,6,7,5,2,1]=>[7,6,1,2,5,3,4]=>[1,7,2,3,6,5,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [3,4,7,1,2,5,6]=>[4,5,1,2,6,7,3]=>[4,1,5,6,7,2,3]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [3,4,7,1,5,6,2]=>[4,7,1,2,5,6,3]=>[7,1,4,5,6,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [3,4,7,1,6,5,2]=>[4,7,1,2,6,5,3]=>[7,6,1,4,5,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [3,4,7,5,2,6,1]=>[7,5,1,2,4,6,3]=>[7,1,2,5,6,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [3,4,7,6,5,2,1]=>[7,6,1,2,5,4,3]=>[7,6,1,2,5,4,3]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [3,5,1,2,4,6,7]=>[3,4,1,5,2,6,7]=>[3,4,5,1,6,2,7]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [3,5,1,4,6,2,7]=>[3,6,1,4,2,5,7]=>[3,4,6,5,7,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [3,5,1,4,6,7,2]=>[3,7,1,4,2,5,6]=>[3,4,7,5,6,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [3,5,2,1,4,6,7]=>[4,3,1,5,2,6,7]=>[4,5,6,1,7,3,2]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [3,5,2,1,7,6,4]=>[4,3,1,7,2,6,5]=>[4,1,3,2,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [3,5,2,4,7,6,1]=>[7,3,1,4,2,6,5]=>[3,1,4,2,7,6,5]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [3,5,2,6,7,4,1]=>[7,3,1,6,2,4,5]=>[1,3,4,2,7,6,5]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [3,5,2,7,6,4,1]=>[7,3,1,6,2,5,4]=>[7,1,3,2,6,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [3,5,4,1,2,6,7]=>[4,5,1,3,2,6,7]=>[4,5,6,3,7,1,2]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [3,5,6,1,2,4,7]=>[4,5,1,6,2,3,7]=>[4,5,6,1,7,2,3]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [3,5,6,2,1,7,4]=>[5,4,1,7,2,3,6]=>[1,2,5,4,7,6,3]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [3,5,6,2,7,4,1]=>[7,4,1,6,2,3,5]=>[1,2,4,3,7,6,5]=>([(0,4),(0,5),(0,6),(1,18),(2,8),(2,11),(3,7),(3,12),(3,19),(4,13),(4,14),(5,3),(5,13),(5,15),(6,2),(6,14),(6,15),(7,16),(8,1),(8,20),(9,17),(9,18),(11,9),(11,20),(12,9),(12,16),(12,20),(13,7),(13,19),(14,8),(14,19),(15,11),(15,12),(15,19),(16,17),(17,10),(18,10),(19,16),(19,20),(20,17),(20,18)],21) [3,5,6,4,2,1,7]=>[6,5,1,4,2,3,7]=>[1,2,6,5,7,4,3]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [3,5,6,4,2,7,1]=>[7,5,1,4,2,3,6]=>[1,2,7,5,6,4,3]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [3,5,6,7,1,4,2]=>[5,7,1,6,2,3,4]=>[1,2,7,5,6,3,4]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [3,5,6,7,4,2,1]=>[7,6,1,5,2,3,4]=>[1,2,7,3,6,5,4]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [3,5,7,6,4,2,1]=>[7,6,1,5,2,4,3]=>[7,1,6,2,5,4,3]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [3,6,1,2,4,7,5]=>[3,4,1,5,7,2,6]=>[3,4,1,2,7,5,6]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [3,6,1,2,7,4,5]=>[3,4,1,6,7,2,5]=>[3,4,1,2,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(2,10),(2,11),(2,14),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(4,16),(5,10),(5,12),(5,15),(5,16),(6,21),(6,25),(6,27),(7,24),(7,26),(8,24),(8,26),(10,17),(10,20),(10,22),(11,17),(11,20),(11,23),(12,18),(12,19),(12,22),(13,18),(13,19),(13,23),(14,1),(14,22),(14,23),(15,6),(15,17),(15,18),(16,6),(16,19),(16,20),(17,27),(18,21),(18,27),(19,21),(19,25),(20,25),(20,27),(21,24),(21,26),(22,7),(22,25),(22,27),(23,8),(23,25),(23,27),(24,9),(25,24),(25,26),(26,9),(27,26)],28) [3,6,1,4,2,5,7]=>[3,5,1,4,6,2,7]=>[3,5,4,6,7,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [3,6,1,4,5,7,2]=>[3,7,1,4,5,2,6]=>[3,7,4,5,6,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [3,6,1,5,7,4,2]=>[3,7,1,6,4,2,5]=>[3,7,6,4,5,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [3,6,2,1,7,5,4]=>[4,3,1,7,6,2,5]=>[1,4,3,2,7,6,5]=>([(0,3),(0,4),(0,5),(1,12),(1,17),(2,10),(2,11),(2,17),(3,9),(3,13),(4,2),(4,13),(4,14),(5,1),(5,9),(5,14),(6,18),(7,19),(9,15),(9,17),(10,7),(10,16),(11,6),(11,16),(11,20),(12,6),(12,20),(13,10),(13,15),(14,11),(14,12),(14,15),(15,16),(15,20),(16,18),(16,19),(17,7),(17,20),(18,8),(19,8),(20,18),(20,19)],21) [3,6,2,4,7,5,1]=>[7,3,1,4,6,2,5]=>[3,4,1,2,7,6,5]=>([(0,4),(0,5),(0,6),(1,23),(2,3),(2,15),(2,16),(3,8),(3,9),(4,2),(4,13),(4,14),(5,11),(5,12),(5,14),(6,11),(6,12),(6,13),(7,1),(7,21),(8,22),(8,23),(9,22),(9,23),(11,7),(11,17),(12,7),(12,18),(13,15),(13,17),(13,18),(14,16),(14,17),(14,18),(15,8),(15,19),(15,20),(16,9),(16,19),(16,20),(17,20),(17,21),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,10),(23,10)],24) [3,6,2,7,5,4,1]=>[7,3,1,6,5,2,4]=>[1,7,3,2,6,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [3,6,4,1,2,5,7]=>[4,5,1,3,6,2,7]=>[4,5,3,6,7,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [3,6,4,2,1,5,7]=>[5,4,1,3,6,2,7]=>[1,5,4,6,7,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [3,6,4,2,5,7,1]=>[7,4,1,3,5,2,6]=>[1,7,4,5,6,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [3,6,4,2,7,1,5]=>[6,4,1,3,7,2,5]=>[6,7,1,4,5,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [3,6,5,2,1,7,4]=>[5,4,1,7,3,2,6]=>[1,5,4,3,7,6,2]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [3,6,5,4,1,2,7]=>[5,6,1,4,3,2,7]=>[5,6,4,3,7,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [3,6,5,4,2,1,7]=>[6,5,1,4,3,2,7]=>[1,6,5,4,7,3,2]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [3,6,5,4,7,2,1]=>[7,6,1,4,3,2,5]=>[1,7,6,4,5,3,2]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [3,6,7,1,5,4,2]=>[4,7,1,6,5,2,3]=>[1,7,6,4,5,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [3,6,7,4,2,1,5]=>[6,5,1,4,7,2,3]=>[6,7,1,2,5,4,3]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [3,6,7,4,5,1,2]=>[6,7,1,4,5,2,3]=>[6,7,1,4,5,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [3,6,7,5,4,2,1]=>[7,6,1,5,4,2,3]=>[1,7,6,2,5,4,3]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [3,7,1,2,4,5,6]=>[3,4,1,5,6,7,2]=>[3,1,4,5,6,2,7]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [3,7,1,4,2,5,6]=>[3,5,1,4,6,7,2]=>[5,3,4,6,7,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [3,7,1,4,5,2,6]=>[3,6,1,4,5,7,2]=>[6,3,4,5,7,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [3,7,1,4,5,6,2]=>[3,7,1,4,5,6,2]=>[7,3,4,5,6,1,2]=>([(0,4),(0,5),(0,6),(1,8),(1,21),(2,9),(2,10),(3,1),(3,11),(3,12),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,13),(6,14),(8,19),(9,17),(10,17),(10,21),(11,18),(11,21),(12,8),(12,18),(12,21),(13,11),(13,16),(14,9),(14,16),(15,10),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20)],22) [3,7,1,4,6,5,2]=>[3,7,1,4,6,5,2]=>[7,6,3,4,5,1,2]=>([(0,4),(0,5),(0,6),(1,9),(1,22),(2,11),(2,22),(3,10),(3,12),(4,3),(4,13),(4,15),(5,1),(5,13),(5,14),(6,2),(6,14),(6,15),(8,19),(9,17),(10,18),(10,21),(11,8),(11,21),(12,8),(12,18),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,18),(16,21),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20),(22,17),(22,21)],23) [3,7,1,6,4,2,5]=>[3,6,1,5,7,4,2]=>[6,5,3,4,7,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [3,7,1,6,5,4,2]=>[3,7,1,6,5,4,2]=>[7,6,5,3,4,1,2]=>([(0,3),(0,4),(0,5),(1,2),(1,11),(1,16),(2,9),(2,17),(3,6),(3,12),(4,1),(4,10),(4,12),(5,6),(5,10),(5,12),(6,15),(8,7),(9,8),(9,13),(10,11),(10,15),(10,16),(11,9),(11,14),(11,17),(12,15),(12,16),(13,7),(14,13),(15,14),(16,14),(16,17),(17,8),(17,13)],18) [3,7,2,1,4,5,6]=>[4,3,1,5,6,7,2]=>[4,1,5,6,7,3,2]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [3,7,4,1,2,5,6]=>[4,5,1,3,6,7,2]=>[4,3,5,6,7,1,2]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [3,7,4,2,5,6,1]=>[7,4,1,3,5,6,2]=>[7,1,4,5,6,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [3,7,6,1,4,5,2]=>[4,7,1,5,6,3,2]=>[7,4,3,5,6,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [3,7,6,1,5,4,2]=>[4,7,1,6,5,3,2]=>[7,6,4,3,5,1,2]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [3,7,6,2,1,5,4]=>[5,4,1,7,6,3,2]=>[5,4,3,1,7,6,2]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [3,7,6,4,1,2,5]=>[5,6,1,4,7,3,2]=>[5,4,3,6,7,1,2]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [3,7,6,4,5,2,1]=>[7,6,1,4,5,3,2]=>[7,6,1,4,5,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [3,7,6,5,1,4,2]=>[5,7,1,6,4,3,2]=>[7,5,4,3,6,1,2]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [3,7,6,5,2,1,4]=>[6,5,1,7,4,3,2]=>[6,5,4,1,7,3,2]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [3,7,6,5,4,1,2]=>[6,7,1,5,4,3,2]=>[6,5,4,3,7,1,2]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [3,7,6,5,4,2,1]=>[7,6,1,5,4,3,2]=>[7,6,5,1,4,3,2]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [4,1,2,3,5,6,7]=>[2,3,4,1,5,6,7]=>[2,3,4,5,1,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [4,1,2,3,5,7,6]=>[2,3,4,1,5,7,6]=>[2,1,3,7,4,5,6]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [4,1,2,3,6,7,5]=>[2,3,4,1,7,5,6]=>[2,3,1,7,4,5,6]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [4,1,2,3,7,5,6]=>[2,3,4,1,6,7,5]=>[2,1,3,6,4,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [4,1,2,3,7,6,5]=>[2,3,4,1,7,6,5]=>[7,2,1,6,3,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [4,1,2,5,6,3,7]=>[2,3,6,1,4,5,7]=>[2,3,4,6,1,5,7]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [4,1,2,5,6,7,3]=>[2,3,7,1,4,5,6]=>[2,3,4,7,1,5,6]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [4,1,2,5,7,3,6]=>[2,3,6,1,4,7,5]=>[2,1,6,7,3,4,5]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [4,1,2,6,3,5,7]=>[2,3,5,1,6,4,7]=>[2,3,1,5,4,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [4,1,2,7,3,5,6]=>[2,3,5,1,6,7,4]=>[2,1,3,5,4,6,7]=>([(0,1),(0,3),(0,4),(0,5),(1,7),(1,17),(2,8),(2,9),(2,21),(3,10),(3,13),(3,17),(4,2),(4,12),(4,13),(4,17),(5,7),(5,10),(5,12),(7,19),(8,16),(8,20),(9,15),(9,16),(10,14),(10,19),(10,21),(11,6),(12,8),(12,14),(12,19),(13,9),(13,14),(13,21),(14,15),(14,16),(14,20),(15,11),(15,18),(16,11),(16,18),(17,19),(17,21),(18,6),(19,20),(20,18),(21,15),(21,20)],22) [4,1,3,5,6,2,7]=>[2,6,3,1,4,5,7]=>[2,3,4,6,5,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [4,1,3,5,7,6,2]=>[2,7,3,1,4,6,5]=>[2,1,3,7,6,4,5]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [4,1,3,6,5,2,7]=>[2,6,3,1,5,4,7]=>[2,3,1,6,5,4,7]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [4,1,3,6,7,5,2]=>[2,7,3,1,6,4,5]=>[2,3,1,7,6,4,5]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [4,1,3,7,5,2,6]=>[2,6,3,1,5,7,4]=>[2,1,3,6,5,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,17),(3,10),(3,11),(3,13),(4,10),(4,12),(4,14),(5,11),(5,12),(5,15),(6,2),(6,13),(6,14),(6,15),(8,21),(9,23),(10,16),(10,20),(11,18),(11,20),(12,1),(12,19),(12,20),(13,16),(13,17),(13,18),(14,16),(14,17),(14,19),(15,9),(15,18),(15,19),(16,24),(16,25),(17,23),(17,25),(18,23),(18,24),(19,23),(19,24),(19,25),(20,8),(20,24),(21,7),(22,7),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [4,1,3,7,6,5,2]=>[2,7,3,1,6,5,4]=>[7,2,1,6,5,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [4,1,5,6,2,3,7]=>[2,5,6,1,3,4,7]=>[2,5,6,7,1,3,4]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [4,1,5,6,7,3,2]=>[2,7,6,1,3,4,5]=>[2,3,4,7,6,1,5]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [4,1,5,7,2,3,6]=>[2,5,6,1,3,7,4]=>[2,1,5,6,3,4,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,22),(6,23),(8,22),(8,27),(8,29),(9,23),(9,27),(9,29),(10,19),(10,24),(11,20),(11,21),(11,24),(12,17),(12,20),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(14,21),(15,9),(15,18),(15,19),(15,21),(16,6),(16,17),(16,18),(17,22),(17,25),(17,29),(18,23),(18,25),(18,29),(19,29),(20,25),(20,27),(21,25),(21,27),(21,29),(22,26),(22,28),(23,26),(23,28),(24,27),(24,29),(25,26),(25,28),(26,7),(27,26),(27,28),(28,7),(29,28)],30) [4,1,5,7,3,2,6]=>[2,6,5,1,3,7,4]=>[2,1,6,7,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,13),(2,14),(2,15),(3,11),(3,14),(3,17),(4,11),(4,13),(4,16),(5,1),(5,15),(5,16),(5,17),(6,21),(6,22),(7,21),(7,23),(8,22),(8,23),(9,27),(9,28),(11,20),(11,25),(12,9),(12,24),(13,12),(13,18),(13,25),(14,12),(14,19),(14,25),(15,8),(15,18),(15,19),(16,6),(16,18),(16,20),(17,7),(17,19),(17,20),(18,22),(18,24),(18,26),(19,23),(19,24),(19,26),(20,21),(20,26),(21,27),(22,27),(22,28),(23,27),(23,28),(24,28),(25,9),(25,26),(26,27),(26,28),(27,10),(28,10)],29) [4,1,7,2,3,5,6]=>[2,4,5,1,6,7,3]=>[2,1,4,5,3,6,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [4,1,7,2,3,6,5]=>[2,4,5,1,7,6,3]=>[7,2,1,4,3,5,6]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [4,1,7,3,2,5,6]=>[2,5,4,1,6,7,3]=>[2,1,5,6,4,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [4,1,7,6,2,3,5]=>[2,5,6,1,7,4,3]=>[5,2,1,4,3,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [4,1,7,6,3,2,5]=>[2,6,5,1,7,4,3]=>[6,2,1,5,4,3,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [4,1,7,6,3,5,2]=>[2,7,5,1,6,4,3]=>[7,2,1,5,4,3,6]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [4,2,1,3,5,6,7]=>[3,2,4,1,5,6,7]=>[3,4,5,6,2,7,1]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [4,2,1,3,7,6,5]=>[3,2,4,1,7,6,5]=>[3,2,1,7,4,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [4,2,1,7,3,6,5]=>[3,2,5,1,7,6,4]=>[3,2,1,7,5,6,4]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,22),(2,7),(2,8),(2,19),(3,16),(3,17),(3,22),(4,15),(4,17),(4,22),(5,2),(5,11),(5,12),(5,13),(6,5),(6,14),(6,15),(6,16),(7,25),(7,26),(8,25),(8,26),(10,19),(10,21),(11,19),(11,24),(12,7),(12,20),(12,24),(13,8),(13,20),(13,24),(14,11),(14,23),(15,12),(15,18),(15,23),(16,13),(16,18),(16,23),(17,10),(17,18),(18,20),(18,21),(19,26),(20,25),(21,25),(21,26),(22,10),(22,23),(23,21),(23,24),(24,25),(24,26),(25,9),(26,9)],27) [4,2,1,7,6,3,5]=>[3,2,6,1,7,5,4]=>[3,2,1,6,5,7,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [4,2,3,5,6,1,7]=>[6,2,3,1,4,5,7]=>[2,3,4,6,5,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [4,2,3,5,6,7,1]=>[7,2,3,1,4,5,6]=>[2,3,4,7,5,6,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [4,2,3,5,7,6,1]=>[7,2,3,1,4,6,5]=>[2,1,3,7,4,6,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [4,2,5,1,3,6,7]=>[4,2,5,1,3,6,7]=>[4,5,6,7,2,3,1]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(2,19),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,17),(8,17),(8,18),(9,18),(11,1),(11,16),(12,7),(12,19),(13,8),(13,19),(14,12),(14,16),(15,13),(15,16),(16,9),(16,19),(17,10),(18,10),(19,17),(19,18)],20) [4,2,5,3,7,1,6]=>[6,2,4,1,3,7,5]=>[2,1,6,7,4,5,3]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [4,2,5,6,1,3,7]=>[5,2,6,1,3,4,7]=>[2,5,6,7,3,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [4,2,5,6,7,1,3]=>[6,2,7,1,3,4,5]=>[2,3,6,7,4,5,1]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [4,2,5,6,7,3,1]=>[7,2,6,1,3,4,5]=>[2,3,4,7,1,6,5]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [4,3,1,2,5,6,7]=>[3,4,2,1,5,6,7]=>[3,4,5,6,2,1,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [4,3,1,2,7,6,5]=>[3,4,2,1,7,6,5]=>[3,2,1,7,6,4,5]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [4,3,1,5,2,6,7]=>[3,5,2,1,4,6,7]=>[3,5,6,7,2,1,4]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [4,3,1,5,6,7,2]=>[3,7,2,1,4,5,6]=>[3,4,5,7,2,1,6]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [4,3,1,7,2,6,5]=>[3,5,2,1,7,6,4]=>[3,2,1,7,5,4,6]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [4,3,1,7,6,2,5]=>[3,6,2,1,7,5,4]=>[3,2,1,6,5,4,7]=>([(0,3),(0,4),(0,5),(1,12),(1,17),(2,10),(2,11),(2,17),(3,9),(3,13),(4,2),(4,13),(4,14),(5,1),(5,9),(5,14),(6,18),(7,19),(9,15),(9,17),(10,7),(10,16),(11,6),(11,16),(11,20),(12,6),(12,20),(13,10),(13,15),(14,11),(14,12),(14,15),(15,16),(15,20),(16,18),(16,19),(17,7),(17,20),(18,8),(19,8),(20,18),(20,19)],21) [4,3,2,1,5,6,7]=>[4,3,2,1,5,6,7]=>[4,5,6,7,3,2,1]=>([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16) [4,3,2,1,5,7,6]=>[4,3,2,1,5,7,6]=>[4,3,5,7,6,2,1]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,11),(2,14),(2,16),(3,11),(3,13),(3,15),(4,12),(4,15),(4,16),(5,1),(5,12),(5,13),(5,14),(7,22),(7,23),(8,21),(8,22),(9,21),(9,23),(10,24),(11,17),(11,18),(12,7),(12,19),(12,20),(13,8),(13,17),(13,19),(14,9),(14,17),(14,20),(15,10),(15,18),(15,19),(16,10),(16,18),(16,20),(17,21),(17,25),(18,24),(18,25),(19,22),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,6),(27,6)],28) [4,3,2,1,6,7,5]=>[4,3,2,1,7,5,6]=>[4,5,3,7,6,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [4,3,2,1,7,5,6]=>[4,3,2,1,6,7,5]=>[4,3,6,7,5,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [4,3,2,1,7,6,5]=>[4,3,2,1,7,6,5]=>[4,3,2,7,6,5,1]=>([(0,1),(0,2),(0,3),(1,13),(1,14),(2,5),(2,14),(2,15),(3,4),(3,13),(3,15),(4,6),(4,9),(4,11),(5,6),(5,10),(5,12),(6,21),(7,19),(7,20),(9,17),(9,21),(10,18),(10,21),(11,7),(11,17),(11,21),(12,7),(12,18),(12,21),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8),(21,20)],22) [4,3,2,5,1,6,7]=>[5,3,2,1,4,6,7]=>[3,5,6,7,4,2,1]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [4,3,2,5,6,1,7]=>[6,3,2,1,4,5,7]=>[3,4,6,7,5,2,1]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [4,3,2,5,6,7,1]=>[7,3,2,1,4,5,6]=>[3,4,5,7,6,2,1]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [4,3,2,5,7,6,1]=>[7,3,2,1,4,6,5]=>[3,2,4,7,6,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [4,3,2,6,1,7,5]=>[5,3,2,1,7,4,6]=>[3,5,4,7,6,2,1]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [4,3,2,6,7,5,1]=>[7,3,2,1,6,4,5]=>[3,4,2,7,6,5,1]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [4,3,2,7,5,1,6]=>[6,3,2,1,5,7,4]=>[3,2,6,7,5,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [4,3,2,7,6,5,1]=>[7,3,2,1,6,5,4]=>[3,2,1,7,6,5,4]=>([(0,5),(0,6),(1,14),(2,4),(2,13),(3,1),(3,11),(4,9),(4,14),(5,2),(5,12),(6,3),(6,12),(8,10),(8,15),(9,10),(9,15),(10,7),(11,8),(11,14),(12,11),(12,13),(13,8),(13,9),(14,15),(15,7)],16) [4,3,5,1,2,6,7]=>[4,5,2,1,3,6,7]=>[4,5,6,7,2,1,3]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [4,3,5,2,1,6,7]=>[5,4,2,1,3,6,7]=>[2,5,6,7,4,3,1]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [4,3,5,2,6,7,1]=>[7,4,2,1,3,5,6]=>[2,4,5,7,6,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [4,3,5,2,7,6,1]=>[7,4,2,1,3,6,5]=>[4,2,3,7,6,5,1]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [4,3,5,6,2,1,7]=>[6,5,2,1,3,4,7]=>[2,3,6,7,5,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [4,3,5,6,2,7,1]=>[7,5,2,1,3,4,6]=>[2,3,5,7,6,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [4,3,5,6,7,2,1]=>[7,6,2,1,3,4,5]=>[2,3,4,7,6,5,1]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [4,3,5,7,6,2,1]=>[7,6,2,1,3,5,4]=>[2,1,3,7,6,5,4]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,18),(8,18),(8,19),(9,19),(11,1),(11,17),(12,7),(12,16),(13,8),(13,16),(14,12),(14,17),(15,13),(15,17),(16,18),(16,19),(17,9),(17,16),(18,10),(19,10)],20) [4,3,6,2,7,5,1]=>[7,4,2,1,6,3,5]=>[2,4,3,7,6,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [4,3,6,7,5,2,1]=>[7,6,2,1,5,3,4]=>[2,3,1,7,6,5,4]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [4,3,7,2,6,5,1]=>[7,4,2,1,6,5,3]=>[4,2,1,7,6,5,3]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [4,3,7,5,2,1,6]=>[6,5,2,1,4,7,3]=>[2,1,6,7,5,4,3]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [4,3,7,5,2,6,1]=>[7,5,2,1,4,6,3]=>[2,1,5,7,6,4,3]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [4,3,7,5,6,2,1]=>[7,6,2,1,4,5,3]=>[2,1,4,7,6,5,3]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [4,3,7,6,2,1,5]=>[6,5,2,1,7,4,3]=>[6,2,1,7,5,4,3]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [4,3,7,6,2,5,1]=>[7,5,2,1,6,4,3]=>[5,2,1,7,6,4,3]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [4,3,7,6,5,2,1]=>[7,6,2,1,5,4,3]=>[7,2,1,6,5,4,3]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [4,5,1,2,3,6,7]=>[3,4,5,1,2,6,7]=>[3,4,5,6,1,2,7]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [4,5,1,2,6,3,7]=>[3,4,6,1,2,5,7]=>[3,4,6,7,1,2,5]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [4,5,1,2,6,7,3]=>[3,4,7,1,2,5,6]=>[3,4,5,7,1,2,6]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [4,5,1,3,2,6,7]=>[3,5,4,1,2,6,7]=>[3,5,6,7,4,1,2]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [4,5,1,3,6,2,7]=>[3,6,4,1,2,5,7]=>[3,4,6,7,5,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [4,5,1,3,6,7,2]=>[3,7,4,1,2,5,6]=>[3,4,5,7,6,1,2]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [4,5,1,6,2,3,7]=>[3,5,6,1,2,4,7]=>[3,5,6,7,1,2,4]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [4,5,2,1,3,6,7]=>[4,3,5,1,2,6,7]=>[4,5,6,7,1,3,2]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [4,5,2,6,1,3,7]=>[5,3,6,1,2,4,7]=>[1,5,6,7,3,4,2]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [4,5,3,1,2,6,7]=>[4,5,3,1,2,6,7]=>[4,5,6,7,3,1,2]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,18),(8,18),(8,19),(9,19),(11,1),(11,17),(12,7),(12,16),(13,8),(13,16),(14,12),(14,17),(15,13),(15,17),(16,18),(16,19),(17,9),(17,16),(18,10),(19,10)],20) [4,5,3,2,1,6,7]=>[5,4,3,1,2,6,7]=>[1,5,6,7,4,3,2]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [4,5,3,2,6,1,7]=>[6,4,3,1,2,5,7]=>[1,4,6,7,5,3,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [4,5,3,2,6,7,1]=>[7,4,3,1,2,5,6]=>[1,4,5,7,6,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [4,5,3,6,1,2,7]=>[5,6,3,1,2,4,7]=>[1,5,6,7,3,2,4]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [4,5,3,6,2,1,7]=>[6,5,3,1,2,4,7]=>[1,3,6,7,5,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [4,5,3,6,7,2,1]=>[7,6,3,1,2,4,5]=>[1,3,4,7,6,5,2]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [4,5,3,7,6,2,1]=>[7,6,3,1,2,5,4]=>[3,1,2,7,6,5,4]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [4,5,6,1,2,3,7]=>[4,5,6,1,2,3,7]=>[4,5,6,7,1,2,3]=>([(0,5),(0,6),(1,14),(2,4),(2,13),(3,1),(3,11),(4,9),(4,14),(5,2),(5,12),(6,3),(6,12),(8,10),(8,15),(9,10),(9,15),(10,7),(11,8),(11,14),(12,11),(12,13),(13,8),(13,9),(14,15),(15,7)],16) [4,5,6,1,3,7,2]=>[4,7,5,1,2,3,6]=>[1,4,5,7,6,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [4,5,6,2,1,3,7]=>[5,4,6,1,2,3,7]=>[1,5,6,7,2,4,3]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [4,5,6,2,7,1,3]=>[6,4,7,1,2,3,5]=>[1,2,6,7,4,5,3]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [4,5,6,3,1,2,7]=>[5,6,4,1,2,3,7]=>[1,5,6,7,4,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [4,5,6,3,2,1,7]=>[6,5,4,1,2,3,7]=>[1,2,6,7,5,4,3]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [4,5,6,3,2,7,1]=>[7,5,4,1,2,3,6]=>[1,2,5,7,6,4,3]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [4,5,6,3,7,2,1]=>[7,6,4,1,2,3,5]=>[1,2,4,7,6,5,3]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [4,5,6,7,1,2,3]=>[5,6,7,1,2,3,4]=>[1,5,6,7,2,3,4]=>([(0,1),(0,2),(0,3),(1,13),(1,14),(2,5),(2,14),(2,15),(3,4),(3,13),(3,15),(4,6),(4,9),(4,11),(5,6),(5,10),(5,12),(6,21),(7,19),(7,20),(9,17),(9,21),(10,18),(10,21),(11,7),(11,17),(11,21),(12,7),(12,18),(12,21),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8),(21,20)],22) [4,5,6,7,1,3,2]=>[5,7,6,1,2,3,4]=>[1,2,5,7,6,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [4,5,6,7,2,1,3]=>[6,5,7,1,2,3,4]=>[1,2,6,7,3,5,4]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [4,5,6,7,3,1,2]=>[6,7,5,1,2,3,4]=>[1,2,6,7,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,11),(2,14),(2,16),(3,11),(3,13),(3,15),(4,12),(4,15),(4,16),(5,1),(5,12),(5,13),(5,14),(7,22),(7,23),(8,21),(8,22),(9,21),(9,23),(10,24),(11,17),(11,18),(12,7),(12,19),(12,20),(13,8),(13,17),(13,19),(14,9),(14,17),(14,20),(15,10),(15,18),(15,19),(16,10),(16,18),(16,20),(17,21),(17,25),(18,24),(18,25),(19,22),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,6),(27,6)],28) [4,5,6,7,3,2,1]=>[7,6,5,1,2,3,4]=>[1,2,3,7,6,5,4]=>([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16) [4,5,7,1,2,6,3]=>[4,5,7,1,2,6,3]=>[7,4,5,6,1,2,3]=>([(0,3),(0,4),(0,5),(1,12),(1,17),(2,10),(2,11),(2,17),(3,9),(3,13),(4,2),(4,13),(4,14),(5,1),(5,9),(5,14),(6,18),(7,19),(9,15),(9,17),(10,7),(10,16),(11,6),(11,16),(11,20),(12,6),(12,20),(13,10),(13,15),(14,11),(14,12),(14,15),(15,16),(15,20),(16,18),(16,19),(17,7),(17,20),(18,8),(19,8),(20,18),(20,19)],21) [4,5,7,1,6,2,3]=>[4,6,7,1,2,5,3]=>[6,4,5,7,1,2,3]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [4,5,7,3,2,1,6]=>[6,5,4,1,2,7,3]=>[6,1,2,7,5,4,3]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [4,5,7,3,6,2,1]=>[7,6,4,1,2,5,3]=>[4,1,2,7,6,5,3]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [4,5,7,6,1,2,3]=>[5,6,7,1,2,4,3]=>[5,4,6,7,1,2,3]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [4,5,7,6,3,2,1]=>[7,6,5,1,2,4,3]=>[7,1,2,6,5,4,3]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [4,6,3,2,1,5,7]=>[5,4,3,1,6,2,7]=>[5,6,1,7,4,3,2]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [4,6,3,2,1,7,5]=>[5,4,3,1,7,2,6]=>[1,5,4,7,6,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [4,6,3,2,7,5,1]=>[7,4,3,1,6,2,5]=>[1,4,3,7,6,5,2]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [4,6,3,5,1,7,2]=>[5,7,3,1,4,2,6]=>[3,5,4,7,6,1,2]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [4,6,3,7,5,2,1]=>[7,6,3,1,5,2,4]=>[1,3,2,7,6,5,4]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(2,19),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,17),(8,17),(8,18),(9,18),(11,1),(11,16),(12,7),(12,19),(13,8),(13,19),(14,12),(14,16),(15,13),(15,16),(16,9),(16,19),(17,10),(18,10),(19,17),(19,18)],20) [4,6,5,3,1,2,7]=>[5,6,4,1,3,2,7]=>[5,6,4,7,3,1,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [4,6,5,3,2,1,7]=>[6,5,4,1,3,2,7]=>[1,6,5,7,4,3,2]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [4,6,5,3,2,7,1]=>[7,5,4,1,3,2,6]=>[1,7,5,6,4,3,2]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [4,6,7,1,2,5,3]=>[4,5,7,1,6,2,3]=>[4,7,5,6,1,2,3]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [4,6,7,1,5,2,3]=>[4,6,7,1,5,2,3]=>[4,6,5,7,1,2,3]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,22),(2,7),(2,8),(2,19),(3,16),(3,17),(3,22),(4,15),(4,17),(4,22),(5,2),(5,11),(5,12),(5,13),(6,5),(6,14),(6,15),(6,16),(7,25),(7,26),(8,25),(8,26),(10,19),(10,21),(11,19),(11,24),(12,7),(12,20),(12,24),(13,8),(13,20),(13,24),(14,11),(14,23),(15,12),(15,18),(15,23),(16,13),(16,18),(16,23),(17,10),(17,18),(18,20),(18,21),(19,26),(20,25),(21,25),(21,26),(22,10),(22,23),(23,21),(23,24),(24,25),(24,26),(25,9),(26,9)],27) [4,6,7,5,1,2,3]=>[5,6,7,1,4,2,3]=>[5,6,4,7,1,2,3]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [4,6,7,5,3,2,1]=>[7,6,5,1,4,2,3]=>[1,7,2,6,5,4,3]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [4,7,1,2,5,3,6]=>[3,4,6,1,5,7,2]=>[6,3,4,5,1,2,7]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [4,7,1,2,5,6,3]=>[3,4,7,1,5,6,2]=>[7,3,4,5,1,2,6]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [4,7,1,2,6,5,3]=>[3,4,7,1,6,5,2]=>[7,6,3,4,1,2,5]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [4,7,1,5,6,3,2]=>[3,7,6,1,4,5,2]=>[7,3,4,6,5,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [4,7,1,6,5,2,3]=>[3,6,7,1,5,4,2]=>[6,5,3,4,1,2,7]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [4,7,1,6,5,3,2]=>[3,7,6,1,5,4,2]=>[7,6,3,5,4,1,2]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [4,7,3,1,5,6,2]=>[4,7,3,1,5,6,2]=>[4,3,5,7,6,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,13),(2,14),(2,15),(3,11),(3,14),(3,17),(4,11),(4,13),(4,16),(5,1),(5,15),(5,16),(5,17),(6,21),(6,22),(7,21),(7,23),(8,22),(8,23),(9,27),(9,28),(11,20),(11,25),(12,9),(12,24),(13,12),(13,18),(13,25),(14,12),(14,19),(14,25),(15,8),(15,18),(15,19),(16,6),(16,18),(16,20),(17,7),(17,19),(17,20),(18,22),(18,24),(18,26),(19,23),(19,24),(19,26),(20,21),(20,26),(21,27),(22,27),(22,28),(23,27),(23,28),(24,28),(25,9),(25,26),(26,27),(26,28),(27,10),(28,10)],29) [4,7,3,1,6,5,2]=>[4,7,3,1,6,5,2]=>[7,4,3,6,5,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,22),(6,23),(8,22),(8,27),(8,29),(9,23),(9,27),(9,29),(10,19),(10,24),(11,20),(11,21),(11,24),(12,17),(12,20),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(14,21),(15,9),(15,18),(15,19),(15,21),(16,6),(16,17),(16,18),(17,22),(17,25),(17,29),(18,23),(18,25),(18,29),(19,29),(20,25),(20,27),(21,25),(21,27),(21,29),(22,26),(22,28),(23,26),(23,28),(24,27),(24,29),(25,26),(25,28),(26,7),(27,26),(27,28),(28,7),(29,28)],30) [4,7,3,2,1,5,6]=>[5,4,3,1,6,7,2]=>[5,1,6,7,4,3,2]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [4,7,3,2,6,5,1]=>[7,4,3,1,6,5,2]=>[4,3,1,7,6,5,2]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [4,7,5,1,2,3,6]=>[4,5,6,1,3,7,2]=>[4,3,5,6,1,2,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [4,7,5,1,3,6,2]=>[4,7,5,1,3,6,2]=>[7,4,5,6,3,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,17),(3,10),(3,11),(3,13),(4,10),(4,12),(4,14),(5,11),(5,12),(5,15),(6,2),(6,13),(6,14),(6,15),(8,21),(9,23),(10,16),(10,20),(11,18),(11,20),(12,1),(12,19),(12,20),(13,16),(13,17),(13,18),(14,16),(14,17),(14,19),(15,9),(15,18),(15,19),(16,24),(16,25),(17,23),(17,25),(18,23),(18,24),(19,23),(19,24),(19,25),(20,8),(20,24),(21,7),(22,7),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [4,7,5,2,1,3,6]=>[5,4,6,1,3,7,2]=>[5,4,6,7,1,3,2]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [4,7,5,2,3,6,1]=>[7,4,5,1,3,6,2]=>[7,4,5,6,1,3,2]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [4,7,5,3,1,2,6]=>[5,6,4,1,3,7,2]=>[5,4,6,7,3,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [4,7,5,3,2,6,1]=>[7,5,4,1,3,6,2]=>[7,1,5,6,4,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [4,7,6,1,5,3,2]=>[4,7,6,1,5,3,2]=>[7,6,4,5,3,1,2]=>([(0,1),(0,3),(0,4),(0,5),(1,7),(1,17),(2,8),(2,9),(2,21),(3,10),(3,13),(3,17),(4,2),(4,12),(4,13),(4,17),(5,7),(5,10),(5,12),(7,19),(8,16),(8,20),(9,15),(9,16),(10,14),(10,19),(10,21),(11,6),(12,8),(12,14),(12,19),(13,9),(13,14),(13,21),(14,15),(14,16),(14,20),(15,11),(15,18),(16,11),(16,18),(17,19),(17,21),(18,6),(19,20),(20,18),(21,15),(21,20)],22) [4,7,6,2,5,3,1]=>[7,4,6,1,5,3,2]=>[7,6,4,5,1,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [4,7,6,3,1,5,2]=>[5,7,4,1,6,3,2]=>[5,4,3,7,6,1,2]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [4,7,6,3,2,1,5]=>[6,5,4,1,7,3,2]=>[6,5,1,7,4,3,2]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [4,7,6,3,2,5,1]=>[7,5,4,1,6,3,2]=>[7,5,1,6,4,3,2]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [4,7,6,5,1,2,3]=>[5,6,7,1,4,3,2]=>[5,4,3,6,1,2,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [4,7,6,5,1,3,2]=>[5,7,6,1,4,3,2]=>[7,5,4,6,3,1,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [4,7,6,5,2,1,3]=>[6,5,7,1,4,3,2]=>[6,5,4,7,1,3,2]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [4,7,6,5,3,1,2]=>[6,7,5,1,4,3,2]=>[6,5,4,7,3,1,2]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [4,7,6,5,3,2,1]=>[7,6,5,1,4,3,2]=>[7,6,1,5,4,3,2]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [5,1,2,3,4,6,7]=>[2,3,4,5,1,6,7]=>[2,3,4,1,5,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [5,1,2,3,4,7,6]=>[2,3,4,5,1,7,6]=>[2,1,7,3,4,5,6]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [5,1,2,3,6,7,4]=>[2,3,4,7,1,5,6]=>[2,3,7,1,4,5,6]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [5,1,2,3,7,4,6]=>[2,3,4,6,1,7,5]=>[2,1,6,3,4,5,7]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [5,1,2,4,3,6,7]=>[2,3,5,4,1,6,7]=>[2,3,5,4,1,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [5,1,2,4,7,6,3]=>[2,3,7,4,1,6,5]=>[2,1,7,6,3,4,5]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [5,1,2,6,7,3,4]=>[2,3,6,7,1,4,5]=>[2,6,7,1,3,4,5]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [5,1,2,7,3,4,6]=>[2,3,5,6,1,7,4]=>[2,1,5,3,4,6,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [5,1,2,7,4,3,6]=>[2,3,6,5,1,7,4]=>[2,1,6,5,3,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [5,1,4,6,3,2,7]=>[2,6,5,3,1,4,7]=>[2,3,6,5,4,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [5,1,4,7,6,3,2]=>[2,7,6,3,1,5,4]=>[2,1,7,6,5,3,4]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [5,1,6,7,4,3,2]=>[2,7,6,5,1,3,4]=>[2,3,7,6,5,1,4]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [5,1,7,2,3,4,6]=>[2,4,5,6,1,7,3]=>[2,1,4,3,5,6,7]=>([(0,3),(0,4),(0,5),(1,2),(1,11),(1,16),(2,9),(2,17),(3,6),(3,12),(4,1),(4,10),(4,12),(5,6),(5,10),(5,12),(6,15),(8,7),(9,8),(9,13),(10,11),(10,15),(10,16),(11,9),(11,14),(11,17),(12,15),(12,16),(13,7),(14,13),(15,14),(16,14),(16,17),(17,8),(17,13)],18) [5,1,7,2,4,6,3]=>[2,4,7,5,1,6,3]=>[2,1,7,4,3,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [5,1,7,4,2,3,6]=>[2,5,6,4,1,7,3]=>[2,1,5,4,3,6,7]=>([(0,4),(0,5),(0,6),(1,9),(1,22),(2,11),(2,22),(3,10),(3,12),(4,3),(4,13),(4,15),(5,1),(5,13),(5,14),(6,2),(6,14),(6,15),(8,19),(9,17),(10,18),(10,21),(11,8),(11,21),(12,8),(12,18),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,18),(16,21),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20),(22,17),(22,21)],23) [5,1,7,4,3,2,6]=>[2,6,5,4,1,7,3]=>[2,1,6,5,4,3,7]=>([(0,4),(0,5),(0,6),(1,8),(1,21),(2,9),(2,10),(3,1),(3,11),(3,12),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,13),(6,14),(8,19),(9,17),(10,17),(10,21),(11,18),(11,21),(12,8),(12,18),(12,21),(13,11),(13,16),(14,9),(14,16),(15,10),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20)],22) [5,1,7,4,3,6,2]=>[2,7,5,4,1,6,3]=>[2,1,7,5,4,3,6]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [5,1,7,4,6,3,2]=>[2,7,6,4,1,5,3]=>[2,1,7,6,4,3,5]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [5,1,7,6,4,3,2]=>[2,7,6,5,1,4,3]=>[7,2,6,5,4,1,3]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [5,2,1,3,4,6,7]=>[3,2,4,5,1,6,7]=>[3,4,5,2,6,7,1]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [5,2,1,4,3,7,6]=>[3,2,5,4,1,7,6]=>[3,2,5,4,1,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [5,2,1,4,6,7,3]=>[3,2,7,4,1,5,6]=>[3,4,5,2,1,7,6]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [5,2,1,7,3,4,6]=>[3,2,5,6,1,7,4]=>[3,2,5,4,6,7,1]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [5,2,3,4,1,6,7]=>[5,2,3,4,1,6,7]=>[2,3,5,4,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [5,2,3,4,6,7,1]=>[7,2,3,4,1,5,6]=>[2,3,7,4,5,6,1]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [5,2,3,4,7,6,1]=>[7,2,3,4,1,6,5]=>[2,1,7,3,4,6,5]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [5,2,3,6,7,1,4]=>[6,2,3,7,1,4,5]=>[2,6,7,3,4,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [5,2,4,6,1,7,3]=>[5,2,7,3,1,4,6]=>[2,3,5,4,1,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [5,2,4,6,3,1,7]=>[6,2,5,3,1,4,7]=>[2,3,6,5,4,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [5,2,4,6,7,3,1]=>[7,2,6,3,1,4,5]=>[2,3,7,6,4,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [5,2,4,7,6,3,1]=>[7,2,6,3,1,5,4]=>[2,1,7,6,3,5,4]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [5,2,6,1,3,4,7]=>[4,2,5,6,1,3,7]=>[4,5,6,2,3,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [5,2,6,4,1,3,7]=>[5,2,6,4,1,3,7]=>[5,6,7,2,1,4,3]=>([(0,4),(0,5),(0,6),(1,23),(2,3),(2,15),(2,16),(3,8),(3,9),(4,2),(4,13),(4,14),(5,11),(5,12),(5,14),(6,11),(6,12),(6,13),(7,1),(7,21),(8,22),(8,23),(9,22),(9,23),(11,7),(11,17),(12,7),(12,18),(13,15),(13,17),(13,18),(14,16),(14,17),(14,18),(15,8),(15,19),(15,20),(16,9),(16,19),(16,20),(17,20),(17,21),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,10),(23,10)],24) [5,2,6,7,1,3,4]=>[5,2,6,7,1,3,4]=>[5,6,7,2,3,4,1]=>([(0,3),(0,4),(0,5),(1,12),(1,17),(2,10),(2,11),(2,17),(3,9),(3,13),(4,2),(4,13),(4,14),(5,1),(5,9),(5,14),(6,18),(7,19),(9,15),(9,17),(10,7),(10,16),(11,6),(11,16),(11,20),(12,6),(12,20),(13,10),(13,15),(14,11),(14,12),(14,15),(15,16),(15,20),(16,18),(16,19),(17,7),(17,20),(18,8),(19,8),(20,18),(20,19)],21) [5,2,7,3,1,4,6]=>[5,2,4,6,1,7,3]=>[2,1,5,4,6,7,3]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [5,2,7,4,3,1,6]=>[6,2,5,4,1,7,3]=>[2,1,6,5,4,7,3]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [5,2,7,4,6,3,1]=>[7,2,6,4,1,5,3]=>[2,1,7,6,4,5,3]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [5,2,7,6,1,4,3]=>[5,2,7,6,1,4,3]=>[7,5,6,2,1,4,3]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(2,10),(2,11),(2,14),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(4,16),(5,10),(5,12),(5,15),(5,16),(6,21),(6,25),(6,27),(7,24),(7,26),(8,24),(8,26),(10,17),(10,20),(10,22),(11,17),(11,20),(11,23),(12,18),(12,19),(12,22),(13,18),(13,19),(13,23),(14,1),(14,22),(14,23),(15,6),(15,17),(15,18),(16,6),(16,19),(16,20),(17,27),(18,21),(18,27),(19,21),(19,25),(20,25),(20,27),(21,24),(21,26),(22,7),(22,25),(22,27),(23,8),(23,25),(23,27),(24,9),(25,24),(25,26),(26,9),(27,26)],28) [5,2,7,6,4,1,3]=>[6,2,7,5,1,4,3]=>[6,5,7,2,1,4,3]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [5,3,1,2,4,6,7]=>[3,4,2,5,1,6,7]=>[3,4,5,2,6,1,7]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [5,3,2,1,4,6,7]=>[4,3,2,5,1,6,7]=>[4,5,6,3,7,2,1]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [5,3,2,1,7,4,6]=>[4,3,2,6,1,7,5]=>[4,3,6,5,7,2,1]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [5,3,2,4,6,1,7]=>[6,3,2,4,1,5,7]=>[3,4,6,5,7,2,1]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [5,3,2,4,6,7,1]=>[7,3,2,4,1,5,6]=>[3,4,7,5,6,2,1]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [5,3,2,6,1,4,7]=>[5,3,2,6,1,4,7]=>[5,6,7,3,4,2,1]=>([(0,4),(0,5),(0,6),(1,18),(2,8),(2,11),(3,7),(3,12),(3,19),(4,13),(4,14),(5,3),(5,13),(5,15),(6,2),(6,14),(6,15),(7,16),(8,1),(8,20),(9,17),(9,18),(11,9),(11,20),(12,9),(12,16),(12,20),(13,7),(13,19),(14,8),(14,19),(15,11),(15,12),(15,19),(16,17),(17,10),(18,10),(19,16),(19,20),(20,17),(20,18)],21) [5,3,2,6,7,1,4]=>[6,3,2,7,1,4,5]=>[3,6,7,4,5,2,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [5,3,2,7,6,4,1]=>[7,3,2,6,1,5,4]=>[3,2,7,1,6,5,4]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [5,3,4,7,6,2,1]=>[7,6,2,3,1,5,4]=>[2,1,7,3,6,5,4]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [5,3,6,1,2,4,7]=>[4,5,2,6,1,3,7]=>[4,5,6,2,3,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [5,3,6,2,1,4,7]=>[5,4,2,6,1,3,7]=>[5,6,7,2,4,3,1]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [5,3,6,4,1,2,7]=>[5,6,2,4,1,3,7]=>[5,6,7,2,4,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [5,3,6,7,1,2,4]=>[5,6,2,7,1,3,4]=>[5,6,7,2,3,1,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [5,3,6,7,4,2,1]=>[7,6,2,5,1,3,4]=>[2,3,7,1,6,5,4]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [5,3,7,4,2,1,6]=>[6,5,2,4,1,7,3]=>[2,1,6,5,7,4,3]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [5,3,7,4,2,6,1]=>[7,5,2,4,1,6,3]=>[2,1,7,5,6,4,3]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [5,3,7,6,4,2,1]=>[7,6,2,5,1,4,3]=>[7,2,6,1,5,4,3]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [5,4,1,2,3,6,7]=>[3,4,5,2,1,6,7]=>[3,4,5,2,1,6,7]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [5,4,1,3,6,2,7]=>[3,6,4,2,1,5,7]=>[3,4,6,5,2,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [5,4,1,7,2,3,6]=>[3,5,6,2,1,7,4]=>[3,2,5,4,1,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [5,4,1,7,3,2,6]=>[3,6,5,2,1,7,4]=>[3,2,6,5,4,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [5,4,1,7,6,3,2]=>[3,7,6,2,1,5,4]=>[3,2,7,6,5,1,4]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [5,4,2,1,3,6,7]=>[4,3,5,2,1,6,7]=>[4,5,6,3,2,7,1]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [5,4,2,6,1,3,7]=>[5,3,6,2,1,4,7]=>[5,6,7,3,2,4,1]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [5,4,2,7,3,1,6]=>[6,3,5,2,1,7,4]=>[3,2,6,5,4,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [5,4,2,7,6,3,1]=>[7,3,6,2,1,5,4]=>[3,2,7,6,1,5,4]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [5,4,3,1,2,6,7]=>[4,5,3,2,1,6,7]=>[4,5,6,3,2,1,7]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [5,4,3,1,6,2,7]=>[4,6,3,2,1,5,7]=>[4,6,7,3,2,1,5]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [5,4,3,1,6,7,2]=>[4,7,3,2,1,5,6]=>[4,5,7,3,2,1,6]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [5,4,3,1,7,2,6]=>[4,6,3,2,1,7,5]=>[4,3,6,5,2,1,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [5,4,3,2,1,6,7]=>[5,4,3,2,1,6,7]=>[5,6,7,4,3,2,1]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [5,4,3,2,1,7,6]=>[5,4,3,2,1,7,6]=>[5,4,7,6,3,2,1]=>([(0,3),(0,4),(0,5),(1,2),(1,13),(1,14),(2,6),(2,7),(3,1),(3,11),(3,12),(4,9),(4,10),(4,12),(5,9),(5,10),(5,11),(6,17),(6,20),(7,17),(7,20),(9,18),(10,15),(10,18),(11,13),(11,15),(11,18),(12,14),(12,15),(12,18),(13,6),(13,16),(13,19),(14,7),(14,16),(14,19),(15,16),(15,19),(16,17),(16,20),(17,8),(18,19),(19,20),(20,8)],21) [5,4,3,2,6,1,7]=>[6,4,3,2,1,5,7]=>[4,6,7,5,3,2,1]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [5,4,3,2,6,7,1]=>[7,4,3,2,1,5,6]=>[4,5,7,6,3,2,1]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [5,4,3,2,7,1,6]=>[6,4,3,2,1,7,5]=>[6,4,7,5,3,2,1]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [5,4,3,2,7,6,1]=>[7,4,3,2,1,6,5]=>[4,3,7,6,5,2,1]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [5,4,3,6,1,2,7]=>[5,6,3,2,1,4,7]=>[5,6,7,3,2,1,4]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [5,4,3,6,2,1,7]=>[6,5,3,2,1,4,7]=>[3,6,7,5,4,2,1]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [5,4,3,6,2,7,1]=>[7,5,3,2,1,4,6]=>[3,5,7,6,4,2,1]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [5,4,3,6,7,2,1]=>[7,6,3,2,1,4,5]=>[3,4,7,6,5,2,1]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [5,4,3,7,6,2,1]=>[7,6,3,2,1,5,4]=>[3,2,7,6,5,4,1]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [5,4,6,1,2,3,7]=>[4,5,6,2,1,3,7]=>[4,5,6,2,1,3,7]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [5,4,6,1,3,7,2]=>[4,7,5,2,1,3,6]=>[4,5,7,6,2,1,3]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [5,4,6,2,1,3,7]=>[5,4,6,2,1,3,7]=>[5,6,7,4,2,3,1]=>([(0,2),(0,3),(0,4),(0,6),(1,19),(2,12),(2,20),(3,13),(3,15),(3,20),(4,14),(4,15),(4,20),(5,7),(5,8),(5,9),(6,5),(6,12),(6,13),(6,14),(7,22),(8,17),(8,22),(9,17),(9,22),(9,23),(10,1),(10,23),(12,7),(12,21),(13,8),(13,16),(13,21),(14,9),(14,16),(14,21),(15,10),(15,16),(16,17),(16,23),(17,18),(17,19),(18,11),(19,11),(20,10),(20,21),(21,22),(21,23),(22,18),(23,18),(23,19)],24) [5,4,6,2,3,7,1]=>[7,4,5,2,1,3,6]=>[4,5,7,6,2,3,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [5,4,6,3,1,2,7]=>[5,6,4,2,1,3,7]=>[5,6,7,4,2,1,3]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [5,4,6,3,2,1,7]=>[6,5,4,2,1,3,7]=>[2,6,7,5,4,3,1]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [5,4,6,3,2,7,1]=>[7,5,4,2,1,3,6]=>[2,5,7,6,4,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [5,4,6,3,7,2,1]=>[7,6,4,2,1,3,5]=>[2,4,7,6,5,3,1]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [5,4,6,7,1,2,3]=>[5,6,7,2,1,3,4]=>[5,6,7,2,1,3,4]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [5,4,6,7,3,2,1]=>[7,6,5,2,1,3,4]=>[2,3,7,6,5,4,1]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [5,4,7,2,1,6,3]=>[5,4,7,2,1,6,3]=>[5,4,7,6,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(2,10),(2,11),(2,14),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(4,16),(5,10),(5,12),(5,15),(5,16),(6,21),(6,25),(6,27),(7,24),(7,26),(8,24),(8,26),(10,17),(10,20),(10,22),(11,17),(11,20),(11,23),(12,18),(12,19),(12,22),(13,18),(13,19),(13,23),(14,1),(14,22),(14,23),(15,6),(15,17),(15,18),(16,6),(16,19),(16,20),(17,27),(18,21),(18,27),(19,21),(19,25),(20,25),(20,27),(21,24),(21,26),(22,7),(22,25),(22,27),(23,8),(23,25),(23,27),(24,9),(25,24),(25,26),(26,9),(27,26)],28) [5,4,7,3,1,6,2]=>[5,7,4,2,1,6,3]=>[5,4,7,6,2,1,3]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [5,4,7,3,2,1,6]=>[6,5,4,2,1,7,3]=>[6,2,7,5,4,3,1]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [5,4,7,3,6,2,1]=>[7,6,4,2,1,5,3]=>[4,2,7,6,5,3,1]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [5,4,7,6,3,2,1]=>[7,6,5,2,1,4,3]=>[2,1,7,6,5,4,3]=>([(0,5),(0,6),(1,11),(2,3),(2,13),(3,4),(3,10),(4,9),(4,14),(5,1),(5,12),(6,2),(6,12),(7,14),(9,8),(10,9),(10,14),(11,7),(12,11),(12,13),(13,7),(13,10),(14,8)],15) [5,6,1,2,3,4,7]=>[3,4,5,6,1,2,7]=>[3,4,5,1,2,6,7]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [5,6,1,4,3,2,7]=>[3,6,5,4,1,2,7]=>[3,6,7,5,4,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [5,6,1,4,7,3,2]=>[3,7,6,4,1,2,5]=>[3,4,7,6,5,1,2]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [5,6,2,4,1,3,7]=>[5,3,6,4,1,2,7]=>[5,6,7,3,1,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [5,6,2,7,1,3,4]=>[5,3,6,7,1,2,4]=>[5,6,7,1,3,4,2]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [5,6,3,1,2,4,7]=>[4,5,3,6,1,2,7]=>[4,5,6,1,3,2,7]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [5,6,3,2,1,4,7]=>[5,4,3,6,1,2,7]=>[5,6,7,1,4,3,2]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [5,6,3,2,7,1,4]=>[6,4,3,7,1,2,5]=>[1,6,7,4,5,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [5,6,3,4,1,2,7]=>[5,6,3,4,1,2,7]=>[5,6,7,3,4,1,2]=>([(0,3),(0,4),(0,5),(1,18),(2,8),(2,9),(2,20),(3,2),(3,11),(3,12),(4,10),(4,11),(4,13),(5,10),(5,12),(5,13),(7,1),(7,19),(8,14),(8,16),(9,14),(9,16),(9,19),(10,7),(10,20),(11,9),(11,15),(11,20),(12,8),(12,15),(12,20),(13,7),(13,15),(14,17),(14,18),(15,16),(15,19),(16,17),(17,6),(18,6),(19,17),(19,18),(20,14),(20,19)],21) [5,6,3,4,7,1,2]=>[6,7,3,4,1,2,5]=>[3,6,7,4,5,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [5,6,3,7,1,2,4]=>[5,6,3,7,1,2,4]=>[5,6,7,1,3,2,4]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,22),(2,7),(2,8),(2,19),(3,16),(3,17),(3,22),(4,15),(4,17),(4,22),(5,2),(5,11),(5,12),(5,13),(6,5),(6,14),(6,15),(6,16),(7,25),(7,26),(8,25),(8,26),(10,19),(10,21),(11,19),(11,24),(12,7),(12,20),(12,24),(13,8),(13,20),(13,24),(14,11),(14,23),(15,12),(15,18),(15,23),(16,13),(16,18),(16,23),(17,10),(17,18),(18,20),(18,21),(19,26),(20,25),(21,25),(21,26),(22,10),(22,23),(23,21),(23,24),(24,25),(24,26),(25,9),(26,9)],27) [5,6,4,1,2,3,7]=>[4,5,6,3,1,2,7]=>[4,5,6,3,1,2,7]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [5,6,4,1,3,2,7]=>[4,6,5,3,1,2,7]=>[4,6,7,5,3,1,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [5,6,4,1,3,7,2]=>[4,7,5,3,1,2,6]=>[4,5,7,6,3,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [5,6,4,2,1,3,7]=>[5,4,6,3,1,2,7]=>[5,6,7,4,1,3,2]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [5,6,4,2,3,7,1]=>[7,4,5,3,1,2,6]=>[4,5,7,6,1,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [5,6,4,3,1,2,7]=>[5,6,4,3,1,2,7]=>[5,6,7,4,3,1,2]=>([(0,4),(0,5),(0,6),(1,19),(2,10),(2,12),(3,9),(3,11),(4,13),(4,14),(5,2),(5,13),(5,15),(6,3),(6,14),(6,15),(8,19),(8,20),(9,17),(10,1),(10,18),(11,8),(11,17),(12,8),(12,18),(13,10),(13,16),(14,9),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [5,6,4,3,2,1,7]=>[6,5,4,3,1,2,7]=>[1,6,7,5,4,3,2]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [5,6,4,3,2,7,1]=>[7,5,4,3,1,2,6]=>[1,5,7,6,4,3,2]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [5,6,4,3,7,2,1]=>[7,6,4,3,1,2,5]=>[1,4,7,6,5,3,2]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [5,6,4,7,1,2,3]=>[5,6,7,3,1,2,4]=>[5,6,7,3,1,2,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [5,6,4,7,3,2,1]=>[7,6,5,3,1,2,4]=>[1,3,7,6,5,4,2]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [5,6,7,1,2,3,4]=>[4,5,6,7,1,2,3]=>[4,5,6,1,2,3,7]=>([(0,1),(0,2),(0,3),(1,13),(1,14),(2,5),(2,14),(2,15),(3,4),(3,13),(3,15),(4,6),(4,9),(4,11),(5,6),(5,10),(5,12),(6,21),(7,19),(7,20),(9,17),(9,21),(10,18),(10,21),(11,7),(11,17),(11,21),(12,7),(12,18),(12,21),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8),(21,20)],22) [5,6,7,1,2,4,3]=>[4,5,7,6,1,2,3]=>[4,5,7,6,1,2,3]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [5,6,7,1,4,2,3]=>[4,6,7,5,1,2,3]=>[4,6,7,5,1,2,3]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [5,6,7,1,4,3,2]=>[4,7,6,5,1,2,3]=>[1,4,7,6,5,2,3]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [5,6,7,2,1,3,4]=>[5,4,6,7,1,2,3]=>[5,6,7,1,2,4,3]=>([(0,4),(0,5),(0,6),(1,8),(1,18),(2,11),(2,12),(3,1),(3,10),(3,15),(4,3),(4,14),(4,16),(5,2),(5,13),(5,16),(6,13),(6,14),(7,21),(8,21),(8,22),(10,18),(10,20),(11,18),(11,19),(12,7),(12,19),(13,11),(13,17),(14,10),(14,17),(15,7),(15,8),(15,20),(16,12),(16,15),(16,17),(17,19),(17,20),(18,22),(19,21),(19,22),(20,21),(20,22),(21,9),(22,9)],23) [5,6,7,3,1,2,4]=>[5,6,4,7,1,2,3]=>[5,6,7,1,4,2,3]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [5,6,7,3,2,1,4]=>[6,5,4,7,1,2,3]=>[1,6,7,2,5,4,3]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [5,6,7,3,4,1,2]=>[6,7,4,5,1,2,3]=>[1,6,7,4,5,2,3]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,11),(2,12),(2,18),(3,8),(3,10),(3,12),(3,18),(4,7),(4,10),(4,11),(4,18),(6,25),(7,14),(7,15),(7,21),(8,14),(8,16),(8,21),(9,15),(9,16),(9,21),(10,13),(10,14),(10,19),(11,13),(11,15),(11,20),(12,13),(12,16),(12,19),(12,20),(13,17),(13,24),(14,22),(14,24),(15,23),(15,24),(16,22),(16,23),(16,24),(17,25),(17,26),(18,19),(18,20),(18,21),(19,6),(19,17),(19,22),(20,6),(20,17),(20,23),(21,22),(21,23),(22,25),(22,26),(23,25),(23,26),(24,26),(25,5),(26,5)],27) [5,6,7,4,1,2,3]=>[5,6,7,4,1,2,3]=>[5,6,7,4,1,2,3]=>([(0,3),(0,4),(0,5),(1,10),(1,12),(2,9),(2,11),(3,13),(3,14),(4,2),(4,13),(4,15),(5,1),(5,14),(5,15),(6,19),(7,20),(9,6),(9,17),(10,6),(10,18),(11,7),(11,17),(12,7),(12,18),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8)],21) [5,6,7,4,3,1,2]=>[6,7,5,4,1,2,3]=>[1,6,7,5,4,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,12),(1,13),(2,10),(2,11),(2,16),(3,9),(3,11),(3,15),(4,9),(4,10),(4,14),(5,1),(5,14),(5,15),(5,16),(6,21),(6,22),(7,25),(9,17),(9,19),(10,17),(10,20),(11,17),(11,18),(12,7),(12,21),(12,23),(13,7),(13,22),(13,23),(14,6),(14,19),(14,20),(15,12),(15,18),(15,19),(16,13),(16,18),(16,20),(17,24),(18,23),(18,24),(19,21),(19,24),(20,22),(20,24),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,26),(25,8),(26,8)],27) [5,6,7,4,3,2,1]=>[7,6,5,4,1,2,3]=>[1,2,7,6,5,4,3]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [5,7,1,2,3,4,6]=>[3,4,5,6,1,7,2]=>[3,1,4,2,5,6,7]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [5,7,1,2,3,6,4]=>[3,4,5,7,1,6,2]=>[7,3,4,1,2,5,6]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [5,7,1,6,2,3,4]=>[3,5,6,7,1,4,2]=>[5,3,4,1,2,6,7]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [5,7,1,6,4,3,2]=>[3,7,6,5,1,4,2]=>[7,3,6,5,4,1,2]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [5,7,3,1,4,2,6]=>[4,6,3,5,1,7,2]=>[4,3,6,5,7,1,2]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [5,7,3,6,1,4,2]=>[5,7,3,6,1,4,2]=>[7,5,6,3,4,1,2]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,21),(2,9),(2,10),(2,21),(3,6),(3,7),(3,9),(3,21),(4,6),(4,8),(4,10),(4,21),(6,12),(6,13),(6,19),(7,12),(7,18),(8,12),(8,18),(8,19),(9,13),(9,14),(9,18),(10,13),(10,14),(10,19),(11,5),(12,20),(13,16),(13,20),(14,15),(14,16),(15,11),(15,17),(16,11),(16,17),(17,5),(18,15),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [5,7,3,6,4,1,2]=>[6,7,3,5,1,4,2]=>[6,5,7,3,4,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [5,7,4,1,6,3,2]=>[4,7,6,3,1,5,2]=>[4,3,7,6,5,1,2]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [5,7,4,2,1,6,3]=>[5,4,7,3,1,6,2]=>[5,4,7,6,1,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [5,7,4,3,1,6,2]=>[5,7,4,3,1,6,2]=>[5,4,7,6,3,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(2,14),(2,15),(2,16),(3,12),(3,13),(3,16),(4,6),(4,8),(4,13),(4,15),(5,6),(5,8),(5,12),(5,14),(6,17),(6,24),(8,18),(8,19),(8,24),(9,23),(9,26),(10,23),(10,26),(11,23),(11,26),(12,17),(12,18),(12,20),(13,17),(13,18),(13,21),(14,19),(14,20),(14,24),(15,19),(15,21),(15,24),(16,1),(16,20),(16,21),(17,25),(18,22),(18,25),(19,11),(19,22),(20,9),(20,22),(20,25),(21,10),(21,22),(21,25),(22,23),(22,26),(23,7),(24,11),(24,25),(25,26),(26,7)],27) [5,7,4,3,2,1,6]=>[6,5,4,3,1,7,2]=>[6,1,7,5,4,3,2]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [5,7,4,3,2,6,1]=>[7,5,4,3,1,6,2]=>[5,1,7,6,4,3,2]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [5,7,4,3,6,2,1]=>[7,6,4,3,1,5,2]=>[4,1,7,6,5,3,2]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [5,7,4,6,3,2,1]=>[7,6,5,3,1,4,2]=>[3,1,7,6,5,4,2]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [5,7,6,1,2,3,4]=>[4,5,6,7,1,3,2]=>[4,3,5,1,2,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [5,7,6,1,4,3,2]=>[4,7,6,5,1,3,2]=>[7,4,6,5,3,1,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [5,7,6,2,4,3,1]=>[7,4,6,5,1,3,2]=>[7,4,6,5,1,3,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [5,7,6,3,2,1,4]=>[6,5,4,7,1,3,2]=>[6,5,7,1,4,3,2]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [5,7,6,3,2,4,1]=>[7,5,4,6,1,3,2]=>[7,5,6,1,4,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [5,7,6,4,1,3,2]=>[5,7,6,4,1,3,2]=>[7,5,6,4,3,1,2]=>([(0,1),(0,3),(0,4),(0,5),(1,9),(1,18),(2,6),(2,7),(2,15),(3,10),(3,13),(3,18),(4,2),(4,12),(4,13),(4,18),(5,9),(5,10),(5,12),(6,16),(6,17),(7,16),(7,17),(7,21),(9,20),(10,14),(10,20),(11,8),(12,7),(12,14),(12,20),(13,6),(13,14),(13,15),(14,16),(14,21),(15,17),(15,21),(16,11),(16,19),(17,11),(17,19),(18,15),(18,20),(19,8),(20,21),(21,19)],22) [5,7,6,4,2,1,3]=>[6,5,7,4,1,3,2]=>[6,5,7,4,1,3,2]=>([(0,3),(0,4),(0,5),(0,6),(0,7),(1,24),(1,27),(2,24),(2,27),(3,12),(3,14),(3,20),(4,13),(4,14),(4,21),(5,15),(5,16),(5,20),(5,21),(6,9),(6,13),(6,15),(6,20),(7,9),(7,12),(7,16),(7,21),(9,17),(9,22),(9,23),(10,2),(10,18),(10,26),(11,1),(11,19),(11,26),(12,22),(12,25),(13,23),(13,25),(14,25),(15,10),(15,17),(15,23),(16,11),(16,17),(16,22),(17,18),(17,19),(18,24),(18,27),(19,24),(19,27),(20,10),(20,22),(20,25),(21,11),(21,23),(21,25),(22,18),(22,26),(23,19),(23,26),(24,8),(25,26),(26,27),(27,8)],28) [5,7,6,4,2,3,1]=>[7,5,6,4,1,3,2]=>[7,5,6,4,1,3,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [5,7,6,4,3,1,2]=>[6,7,5,4,1,3,2]=>[6,5,7,4,3,1,2]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [5,7,6,4,3,2,1]=>[7,6,5,4,1,3,2]=>[7,1,6,5,4,3,2]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [6,1,2,3,4,5,7]=>[2,3,4,5,6,1,7]=>[2,3,1,4,5,6,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [6,1,2,3,4,7,5]=>[2,3,4,5,7,1,6]=>[2,7,1,3,4,5,6]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [6,1,2,3,7,4,5]=>[2,3,4,6,7,1,5]=>[2,6,1,3,4,5,7]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [6,1,2,3,7,5,4]=>[2,3,4,7,6,1,5]=>[2,7,6,1,3,4,5]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [6,1,2,4,7,3,5]=>[2,3,6,4,7,1,5]=>[6,7,2,3,1,4,5]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [6,1,2,5,7,3,4]=>[2,3,6,7,4,1,5]=>[6,7,2,1,3,4,5]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [6,1,2,7,5,4,3]=>[2,3,7,6,5,1,4]=>[2,7,6,5,1,3,4]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [6,1,3,4,7,2,5]=>[2,6,3,4,7,1,5]=>[6,7,2,3,4,1,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [6,1,3,7,2,4,5]=>[2,5,3,6,7,1,4]=>[5,6,2,3,4,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [6,1,5,2,3,4,7]=>[2,4,5,6,3,1,7]=>[2,4,3,1,5,6,7]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [6,1,5,4,2,3,7]=>[2,5,6,4,3,1,7]=>[2,5,4,3,1,6,7]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [6,1,5,4,3,2,7]=>[2,6,5,4,3,1,7]=>[2,6,5,4,3,1,7]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [6,1,5,7,2,3,4]=>[2,5,6,7,3,1,4]=>[5,6,2,1,3,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [6,1,5,7,2,4,3]=>[2,5,7,6,3,1,4]=>[5,7,6,2,1,3,4]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [6,1,5,7,4,2,3]=>[2,6,7,5,3,1,4]=>[6,7,5,2,1,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [6,1,7,2,3,4,5]=>[2,4,5,6,7,1,3]=>[2,4,1,3,5,6,7]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [6,1,7,3,5,2,4]=>[2,6,4,7,5,1,3]=>[6,7,2,1,4,3,5]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [6,1,7,5,4,3,2]=>[2,7,6,5,4,1,3]=>[2,7,6,5,4,1,3]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [6,2,1,3,4,5,7]=>[3,2,4,5,6,1,7]=>[3,4,2,5,6,7,1]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [6,2,1,3,5,4,7]=>[3,2,4,6,5,1,7]=>[3,4,2,1,6,7,5]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [6,2,1,3,5,7,4]=>[3,2,4,7,5,1,6]=>[3,4,2,1,5,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(2,9),(2,10),(3,13),(3,15),(3,16),(4,12),(4,13),(4,14),(5,12),(5,15),(5,17),(6,1),(6,14),(6,16),(6,17),(8,23),(9,25),(10,25),(10,26),(11,25),(11,26),(12,18),(12,20),(13,19),(13,20),(14,18),(14,19),(14,22),(15,2),(15,20),(15,21),(16,19),(16,21),(16,22),(17,8),(17,18),(17,21),(18,23),(18,24),(19,11),(19,24),(20,9),(20,24),(21,10),(21,23),(21,24),(22,11),(22,23),(23,26),(24,25),(24,26),(25,7),(26,7)],27) [6,2,3,1,4,5,7]=>[4,2,3,5,6,1,7]=>[2,4,3,5,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [6,2,3,4,5,7,1]=>[7,2,3,4,5,1,6]=>[2,7,3,4,5,6,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [6,2,3,4,7,1,5]=>[6,2,3,4,7,1,5]=>[6,7,2,3,4,5,1]=>([(0,4),(0,5),(0,6),(1,8),(1,21),(2,9),(2,10),(3,1),(3,11),(3,12),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,13),(6,14),(8,19),(9,17),(10,17),(10,21),(11,18),(11,21),(12,8),(12,18),(12,21),(13,11),(13,16),(14,9),(14,16),(15,10),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20)],22) [6,2,3,5,7,4,1]=>[7,2,3,6,4,1,5]=>[2,7,6,3,4,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [6,2,3,7,1,4,5]=>[5,2,3,6,7,1,4]=>[5,6,2,3,4,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,24),(2,8),(2,9),(2,11),(2,24),(3,12),(3,13),(3,14),(4,12),(4,15),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,22),(8,23),(8,29),(9,22),(9,29),(10,28),(11,23),(11,28),(11,29),(12,19),(12,20),(13,18),(13,20),(13,24),(14,9),(14,18),(14,19),(15,11),(15,19),(15,21),(16,10),(16,20),(16,21),(17,8),(17,18),(17,21),(17,24),(18,22),(18,25),(18,29),(19,25),(19,29),(20,25),(20,28),(21,23),(21,25),(21,28),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [6,2,3,7,5,1,4]=>[6,2,3,7,5,1,4]=>[6,7,2,1,3,5,4]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,13),(2,14),(2,15),(3,11),(3,14),(3,17),(4,11),(4,13),(4,16),(5,1),(5,15),(5,16),(5,17),(6,21),(6,22),(7,21),(7,23),(8,22),(8,23),(9,27),(9,28),(11,20),(11,25),(12,9),(12,24),(13,12),(13,18),(13,25),(14,12),(14,19),(14,25),(15,8),(15,18),(15,19),(16,6),(16,18),(16,20),(17,7),(17,19),(17,20),(18,22),(18,24),(18,26),(19,23),(19,24),(19,26),(20,21),(20,26),(21,27),(22,27),(22,28),(23,27),(23,28),(24,28),(25,9),(25,26),(26,27),(26,28),(27,10),(28,10)],29) [6,2,4,1,3,7,5]=>[4,2,5,3,7,1,6]=>[4,5,2,3,1,7,6]=>([(0,1),(0,2),(0,4),(0,5),(1,11),(1,14),(1,22),(2,13),(2,15),(2,22),(3,8),(3,9),(3,10),(4,11),(4,15),(4,16),(4,22),(5,3),(5,13),(5,14),(5,16),(6,27),(6,28),(8,19),(8,24),(9,21),(9,24),(10,19),(10,21),(10,24),(11,17),(11,23),(12,6),(12,20),(13,9),(13,18),(13,26),(14,8),(14,17),(14,26),(15,12),(15,18),(15,23),(16,10),(16,17),(16,18),(16,26),(17,19),(17,25),(18,20),(18,21),(18,25),(19,27),(20,28),(21,27),(21,28),(22,12),(22,23),(22,26),(23,6),(23,25),(24,27),(24,28),(25,27),(25,28),(26,20),(26,24),(26,25),(27,7),(28,7)],29) [6,2,5,3,1,4,7]=>[5,2,4,6,3,1,7]=>[2,5,4,3,6,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [6,2,5,4,1,7,3]=>[5,2,7,4,3,1,6]=>[2,5,4,3,1,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [6,2,5,4,3,1,7]=>[6,2,5,4,3,1,7]=>[2,6,5,4,3,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [6,2,5,7,3,1,4]=>[6,2,5,7,3,1,4]=>[6,7,5,2,3,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,17),(3,10),(3,11),(3,13),(4,10),(4,12),(4,14),(5,11),(5,12),(5,15),(6,2),(6,13),(6,14),(6,15),(8,21),(9,23),(10,16),(10,20),(11,18),(11,20),(12,1),(12,19),(12,20),(13,16),(13,17),(13,18),(14,16),(14,17),(14,19),(15,9),(15,18),(15,19),(16,24),(16,25),(17,23),(17,25),(18,23),(18,24),(19,23),(19,24),(19,25),(20,8),(20,24),(21,7),(22,7),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [6,2,5,7,3,4,1]=>[7,2,5,6,3,1,4]=>[5,7,6,2,3,4,1]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [6,2,5,7,4,3,1]=>[7,2,6,5,3,1,4]=>[2,7,6,5,3,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [6,2,7,1,3,4,5]=>[4,2,5,6,7,1,3]=>[4,5,2,3,6,7,1]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,12),(4,14),(5,10),(5,11),(5,13),(5,15),(7,23),(7,29),(8,22),(8,29),(9,22),(9,23),(9,29),(10,18),(10,24),(11,17),(11,19),(11,24),(12,18),(12,19),(12,20),(13,18),(13,19),(13,21),(14,9),(14,17),(14,20),(14,24),(15,8),(15,17),(15,21),(15,24),(16,7),(16,20),(16,21),(17,22),(17,25),(17,29),(18,28),(19,25),(19,28),(20,23),(20,25),(20,28),(21,25),(21,28),(21,29),(22,26),(23,26),(23,27),(24,28),(24,29),(25,26),(25,27),(26,6),(27,6),(28,27),(29,26),(29,27)],30) [6,2,7,5,1,4,3]=>[5,2,7,6,4,1,3]=>[5,7,6,2,1,4,3]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [6,2,7,5,4,1,3]=>[6,2,7,5,4,1,3]=>[6,7,5,2,1,4,3]=>([(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(2,14),(2,15),(2,16),(3,12),(3,13),(3,16),(4,6),(4,8),(4,13),(4,15),(5,6),(5,8),(5,12),(5,14),(6,17),(6,24),(8,18),(8,19),(8,24),(9,23),(9,26),(10,23),(10,26),(11,23),(11,26),(12,17),(12,18),(12,20),(13,17),(13,18),(13,21),(14,19),(14,20),(14,24),(15,19),(15,21),(15,24),(16,1),(16,20),(16,21),(17,25),(18,22),(18,25),(19,11),(19,22),(20,9),(20,22),(20,25),(21,10),(21,22),(21,25),(22,23),(22,26),(23,7),(24,11),(24,25),(25,26),(26,7)],27) [6,2,7,5,4,3,1]=>[7,2,6,5,4,1,3]=>[2,7,6,5,1,4,3]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [6,3,1,2,4,5,7]=>[3,4,2,5,6,1,7]=>[3,4,2,5,6,1,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [6,3,1,2,5,4,7]=>[3,4,2,6,5,1,7]=>[3,4,2,1,6,5,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [6,3,1,2,5,7,4]=>[3,4,2,7,5,1,6]=>[3,4,2,1,7,5,6]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(1,28),(2,11),(2,12),(3,8),(3,9),(3,10),(4,15),(4,16),(4,19),(5,14),(5,15),(5,17),(6,14),(6,16),(6,18),(7,3),(7,17),(7,18),(7,19),(8,26),(9,22),(9,26),(10,1),(10,22),(10,26),(11,27),(12,27),(12,28),(14,2),(14,23),(14,24),(15,20),(15,23),(16,21),(16,23),(17,9),(17,20),(17,24),(18,8),(18,21),(18,24),(19,10),(19,20),(19,21),(20,22),(20,25),(21,25),(21,26),(22,27),(22,28),(23,11),(23,25),(24,12),(24,25),(24,26),(25,27),(25,28),(26,28),(27,13),(28,13)],29) [6,3,2,1,4,5,7]=>[4,3,2,5,6,1,7]=>[4,5,3,6,7,2,1]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [6,3,2,1,5,7,4]=>[4,3,2,7,5,1,6]=>[4,5,3,2,7,6,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,20),(14,21),(15,8),(15,18),(15,19),(16,9),(16,19),(16,21),(17,7),(17,18),(17,21),(17,22),(18,23),(18,25),(18,29),(19,24),(19,25),(20,25),(20,28),(21,25),(21,28),(21,29),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [6,3,2,4,1,5,7]=>[5,3,2,4,6,1,7]=>[3,5,4,6,7,2,1]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [6,3,2,4,5,7,1]=>[7,3,2,4,5,1,6]=>[3,7,4,5,6,2,1]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [6,3,2,4,7,1,5]=>[6,3,2,4,7,1,5]=>[6,7,3,4,5,2,1]=>([(0,4),(0,5),(0,6),(1,9),(1,22),(2,11),(2,22),(3,10),(3,12),(4,3),(4,13),(4,15),(5,1),(5,13),(5,14),(6,2),(6,14),(6,15),(8,19),(9,17),(10,18),(10,21),(11,8),(11,21),(12,8),(12,18),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,18),(16,21),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20),(22,17),(22,21)],23) [6,3,2,7,1,4,5]=>[5,3,2,6,7,1,4]=>[5,6,3,4,7,2,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [6,3,2,7,5,1,4]=>[6,3,2,7,5,1,4]=>[6,7,3,2,5,4,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,22),(6,23),(8,22),(8,27),(8,29),(9,23),(9,27),(9,29),(10,19),(10,24),(11,20),(11,21),(11,24),(12,17),(12,20),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(14,21),(15,9),(15,18),(15,19),(15,21),(16,6),(16,17),(16,18),(17,22),(17,25),(17,29),(18,23),(18,25),(18,29),(19,29),(20,25),(20,27),(21,25),(21,27),(21,29),(22,26),(22,28),(23,26),(23,28),(24,27),(24,29),(25,26),(25,28),(26,7),(27,26),(27,28),(28,7),(29,28)],30) [6,3,2,7,5,4,1]=>[7,3,2,6,5,1,4]=>[3,7,2,1,6,5,4]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [6,3,4,7,2,1,5]=>[6,5,2,3,7,1,4]=>[6,7,2,3,5,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [6,3,5,2,1,7,4]=>[5,4,2,7,3,1,6]=>[2,5,4,3,7,6,1]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,10),(1,24),(2,9),(2,11),(2,24),(3,12),(3,13),(3,16),(4,12),(4,14),(4,15),(5,1),(5,13),(5,14),(5,17),(6,2),(6,15),(6,16),(6,17),(8,22),(8,23),(9,28),(10,22),(10,29),(11,28),(11,29),(12,19),(12,21),(13,18),(13,19),(13,24),(14,10),(14,19),(14,20),(15,11),(15,20),(15,21),(16,9),(16,18),(16,21),(17,8),(17,18),(17,20),(17,24),(18,23),(18,25),(18,28),(19,25),(19,29),(20,22),(20,25),(20,29),(21,25),(21,28),(22,26),(23,26),(23,27),(24,23),(24,28),(24,29),(25,26),(25,27),(26,7),(27,7),(28,27),(29,26),(29,27)],30) [6,3,7,5,2,1,4]=>[6,5,2,7,4,1,3]=>[6,7,2,1,5,4,3]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [6,3,7,5,4,2,1]=>[7,6,2,5,4,1,3]=>[2,7,6,1,5,4,3]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [6,4,1,2,3,5,7]=>[3,4,5,2,6,1,7]=>[3,4,2,5,1,6,7]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [6,4,1,3,7,2,5]=>[3,6,4,2,7,1,5]=>[6,7,3,4,2,1,5]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [6,4,3,1,2,5,7]=>[4,5,3,2,6,1,7]=>[4,5,3,6,2,1,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [6,4,3,2,1,5,7]=>[5,4,3,2,6,1,7]=>[5,6,4,7,3,2,1]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [6,4,3,2,1,7,5]=>[5,4,3,2,7,1,6]=>[5,7,4,6,3,2,1]=>([(0,1),(0,2),(0,3),(0,4),(0,7),(1,19),(1,25),(2,17),(2,19),(2,25),(3,16),(3,19),(3,25),(4,15),(4,19),(4,25),(5,8),(5,9),(5,10),(5,24),(6,5),(6,12),(6,13),(6,14),(6,20),(7,6),(7,15),(7,16),(7,17),(7,25),(8,18),(8,22),(9,18),(9,22),(10,18),(10,22),(12,8),(12,23),(12,24),(13,9),(13,23),(13,24),(14,10),(14,23),(14,24),(15,12),(15,20),(15,21),(16,13),(16,20),(16,21),(17,14),(17,20),(17,21),(18,11),(19,21),(20,23),(20,24),(21,23),(22,11),(23,22),(24,18),(24,22),(25,20),(25,21)],26) [6,4,3,2,5,1,7]=>[6,4,3,2,5,1,7]=>[4,6,5,7,3,2,1]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [6,4,3,2,5,7,1]=>[7,4,3,2,5,1,6]=>[4,7,5,6,3,2,1]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [6,4,3,2,7,1,5]=>[6,4,3,2,7,1,5]=>[6,7,4,5,3,2,1]=>([(0,3),(0,4),(0,5),(1,2),(1,11),(1,16),(2,9),(2,17),(3,6),(3,12),(4,1),(4,10),(4,12),(5,6),(5,10),(5,12),(6,15),(8,7),(9,8),(9,13),(10,11),(10,15),(10,16),(11,9),(11,14),(11,17),(12,15),(12,16),(13,7),(14,13),(15,14),(16,14),(16,17),(17,8),(17,13)],18) [6,4,3,7,1,2,5]=>[5,6,3,2,7,1,4]=>[5,6,3,4,2,1,7]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [6,4,3,7,2,1,5]=>[6,5,3,2,7,1,4]=>[6,7,3,5,4,2,1]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [6,4,7,1,2,3,5]=>[4,5,6,2,7,1,3]=>[4,5,2,3,1,6,7]=>([(0,1),(0,2),(0,4),(0,5),(1,13),(1,14),(1,21),(2,11),(2,12),(2,21),(3,6),(3,9),(3,10),(4,11),(4,14),(4,15),(4,21),(5,3),(5,12),(5,13),(5,15),(6,19),(6,20),(6,23),(8,24),(9,20),(9,23),(10,19),(10,23),(11,16),(11,18),(12,10),(12,18),(12,22),(13,9),(13,17),(13,22),(14,8),(14,16),(14,17),(15,6),(15,17),(15,18),(15,22),(16,24),(16,25),(17,20),(17,24),(17,25),(18,19),(18,25),(19,27),(20,26),(20,27),(21,8),(21,16),(21,22),(22,23),(22,24),(22,25),(23,26),(23,27),(24,26),(25,26),(25,27),(26,7),(27,7)],28) [6,4,7,2,5,1,3]=>[6,4,7,2,5,1,3]=>[6,7,4,5,2,3,1]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,21),(2,9),(2,10),(2,21),(3,6),(3,7),(3,9),(3,21),(4,6),(4,8),(4,10),(4,21),(6,12),(6,13),(6,19),(7,12),(7,18),(8,12),(8,18),(8,19),(9,13),(9,14),(9,18),(10,13),(10,14),(10,19),(11,5),(12,20),(13,16),(13,20),(14,15),(14,16),(15,11),(15,17),(16,11),(16,17),(17,5),(18,15),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [6,4,7,3,2,1,5]=>[6,5,4,2,7,1,3]=>[6,7,2,5,4,3,1]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [6,4,7,3,5,1,2]=>[6,7,4,2,5,1,3]=>[6,7,4,5,2,1,3]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [6,4,7,5,3,2,1]=>[7,6,5,2,4,1,3]=>[2,7,1,6,5,4,3]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [6,5,1,2,3,4,7]=>[3,4,5,6,2,1,7]=>[3,4,2,1,5,6,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [6,5,1,2,3,7,4]=>[3,4,5,7,2,1,6]=>[3,7,2,1,4,5,6]=>([(0,3),(0,4),(0,5),(0,7),(1,16),(1,21),(1,26),(2,13),(2,20),(3,14),(3,19),(4,11),(4,15),(4,19),(5,1),(5,11),(5,17),(5,19),(6,2),(6,10),(6,12),(6,18),(7,6),(7,14),(7,15),(7,17),(8,27),(8,28),(10,20),(10,24),(11,21),(11,26),(12,20),(12,23),(12,24),(13,27),(13,28),(14,10),(14,22),(15,12),(15,22),(15,26),(16,8),(16,23),(16,25),(17,16),(17,18),(17,22),(17,26),(18,8),(18,13),(18,23),(18,24),(19,21),(19,22),(20,28),(21,25),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,27),(26,23),(26,25),(27,9),(28,9)],29) [6,5,1,4,2,3,7]=>[3,5,6,4,2,1,7]=>[3,5,4,2,1,6,7]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [6,5,1,4,3,2,7]=>[3,6,5,4,2,1,7]=>[3,6,5,4,2,1,7]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [6,5,1,4,7,2,3]=>[3,6,7,4,2,1,5]=>[6,7,3,2,1,4,5]=>([(0,4),(0,5),(0,6),(1,10),(1,12),(2,11),(2,13),(3,14),(3,15),(4,3),(4,17),(4,18),(5,1),(5,16),(5,17),(6,2),(6,16),(6,18),(7,23),(8,23),(8,24),(10,22),(11,20),(11,22),(12,8),(12,22),(13,7),(13,20),(14,7),(14,21),(15,8),(15,21),(16,10),(16,11),(16,19),(17,12),(17,15),(17,19),(18,13),(18,14),(18,19),(19,20),(19,21),(19,22),(20,23),(20,24),(21,23),(21,24),(22,24),(23,9),(24,9)],25) [6,5,1,7,4,3,2]=>[3,7,6,5,2,1,4]=>[3,7,6,5,2,1,4]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [6,5,2,1,3,4,7]=>[4,3,5,6,2,1,7]=>[4,5,3,2,6,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [6,5,2,1,4,7,3]=>[4,3,7,5,2,1,6]=>[4,5,3,2,1,7,6]=>([(0,4),(0,5),(0,6),(1,11),(1,14),(2,3),(2,15),(2,17),(3,8),(3,9),(4,12),(4,13),(5,1),(5,13),(5,16),(6,2),(6,12),(6,16),(7,21),(7,22),(8,21),(8,22),(9,21),(11,19),(12,15),(12,18),(13,11),(13,18),(14,7),(14,19),(15,8),(15,20),(16,14),(16,17),(16,18),(17,7),(17,9),(17,20),(18,19),(18,20),(19,22),(20,21),(20,22),(21,10),(22,10)],23) [6,5,2,1,7,4,3]=>[4,3,7,6,2,1,5]=>[4,7,3,2,1,6,5]=>([(0,3),(0,5),(0,6),(0,7),(1,23),(1,27),(2,14),(2,19),(3,11),(3,21),(4,1),(4,8),(4,13),(4,17),(5,12),(5,15),(5,21),(6,4),(6,15),(6,16),(6,21),(7,2),(7,11),(7,12),(7,16),(8,20),(8,23),(8,27),(9,25),(9,26),(11,19),(11,22),(12,18),(12,19),(12,22),(13,9),(13,20),(13,23),(13,24),(14,9),(14,27),(15,8),(15,17),(15,18),(16,13),(16,14),(16,18),(16,22),(17,23),(17,24),(18,20),(18,24),(18,27),(19,27),(20,25),(20,26),(21,17),(21,22),(22,24),(22,27),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,26)],28) [6,5,2,3,7,1,4]=>[6,3,4,7,2,1,5]=>[6,7,3,2,4,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,23),(7,29),(8,23),(8,24),(9,24),(9,28),(9,29),(10,28),(12,18),(12,19),(13,18),(13,20),(13,22),(14,18),(14,21),(14,22),(15,7),(15,19),(15,20),(16,8),(16,19),(16,21),(17,9),(17,10),(17,20),(17,21),(18,25),(18,29),(19,23),(19,25),(20,25),(20,28),(20,29),(21,24),(21,25),(21,28),(22,28),(22,29),(23,26),(24,26),(24,27),(25,26),(25,27),(26,11),(27,11),(28,27),(29,26),(29,27)],30) [6,5,2,4,1,7,3]=>[5,3,7,4,2,1,6]=>[3,5,4,2,1,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,7),(2,9),(2,17),(3,14),(3,15),(3,21),(4,2),(4,15),(4,16),(4,21),(5,10),(5,11),(5,12),(6,5),(6,13),(6,14),(6,16),(7,19),(7,24),(9,19),(9,24),(9,25),(10,20),(10,23),(11,20),(11,23),(11,24),(12,23),(13,12),(13,22),(14,10),(14,18),(14,22),(15,7),(15,17),(15,18),(16,9),(16,11),(16,18),(16,22),(17,24),(17,25),(18,19),(18,20),(18,25),(19,27),(20,26),(20,27),(21,17),(21,22),(22,23),(22,25),(23,26),(24,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [6,5,2,7,4,1,3]=>[6,3,7,5,2,1,4]=>[6,7,3,2,1,5,4]=>([(0,4),(0,5),(0,6),(1,7),(1,21),(2,11),(2,13),(3,12),(3,14),(3,21),(4,3),(4,15),(4,17),(5,2),(5,16),(5,17),(6,1),(6,15),(6,16),(7,23),(8,22),(8,24),(9,22),(9,24),(11,20),(11,23),(12,9),(12,19),(13,8),(13,20),(14,8),(14,19),(14,23),(15,12),(15,18),(15,21),(16,7),(16,11),(16,18),(17,13),(17,14),(17,18),(18,19),(18,20),(18,23),(19,22),(19,24),(20,22),(20,24),(21,9),(21,23),(22,10),(23,24),(24,10)],25) [6,5,2,7,4,3,1]=>[7,3,6,5,2,1,4]=>[3,7,6,5,2,4,1]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [6,5,3,1,2,4,7]=>[4,5,3,6,2,1,7]=>[4,5,3,2,6,1,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [6,5,3,2,1,4,7]=>[5,4,3,6,2,1,7]=>[5,6,4,3,7,2,1]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [6,5,3,2,7,1,4]=>[6,4,3,7,2,1,5]=>[6,7,4,3,5,2,1]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [6,5,3,4,2,1,7]=>[6,5,3,4,2,1,7]=>[3,6,5,4,7,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [6,5,3,4,7,2,1]=>[7,6,3,4,2,1,5]=>[3,7,6,4,5,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [6,5,3,7,2,1,4]=>[6,5,3,7,2,1,4]=>[6,7,5,3,4,2,1]=>([(0,1),(0,3),(0,4),(0,5),(1,7),(1,17),(2,8),(2,9),(2,21),(3,10),(3,13),(3,17),(4,2),(4,12),(4,13),(4,17),(5,7),(5,10),(5,12),(7,19),(8,16),(8,20),(9,15),(9,16),(10,14),(10,19),(10,21),(11,6),(12,8),(12,14),(12,19),(13,9),(13,14),(13,21),(14,15),(14,16),(14,20),(15,11),(15,18),(16,11),(16,18),(17,19),(17,21),(18,6),(19,20),(20,18),(21,15),(21,20)],22) [6,5,3,7,2,4,1]=>[7,5,3,6,2,1,4]=>[5,7,6,3,4,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [6,5,4,1,2,3,7]=>[4,5,6,3,2,1,7]=>[4,5,3,2,1,6,7]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [6,5,4,1,2,7,3]=>[4,5,7,3,2,1,6]=>[4,7,3,2,1,5,6]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,21),(1,26),(2,15),(2,22),(3,9),(3,18),(4,1),(4,8),(4,16),(4,20),(5,12),(5,14),(5,18),(6,4),(6,14),(6,17),(6,18),(7,2),(7,9),(7,12),(7,17),(8,21),(8,26),(9,22),(9,23),(10,27),(10,28),(12,19),(12,22),(12,23),(13,27),(13,28),(14,8),(14,19),(14,20),(15,10),(15,24),(16,10),(16,13),(16,25),(16,26),(17,15),(17,16),(17,19),(17,23),(18,20),(18,23),(19,24),(19,25),(19,26),(20,21),(20,25),(21,27),(22,24),(23,24),(23,25),(24,28),(25,27),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [6,5,4,1,3,2,7]=>[4,6,5,3,2,1,7]=>[4,6,5,3,2,1,7]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [6,5,4,1,7,3,2]=>[4,7,6,3,2,1,5]=>[4,7,6,3,2,1,5]=>([(0,4),(0,5),(0,6),(0,7),(1,21),(1,28),(2,18),(2,27),(3,1),(3,8),(3,10),(3,11),(4,2),(4,13),(4,14),(4,17),(5,12),(5,14),(5,15),(6,12),(6,13),(6,16),(7,3),(7,15),(7,16),(7,17),(8,22),(8,28),(10,21),(10,22),(10,23),(10,24),(11,21),(11,23),(11,28),(12,27),(13,19),(13,27),(14,18),(14,20),(14,27),(15,8),(15,20),(15,27),(16,11),(16,19),(16,27),(17,10),(17,18),(17,19),(17,20),(18,24),(18,28),(19,23),(19,28),(20,22),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,9),(26,9),(27,28),(28,26)],29) [6,5,4,2,1,3,7]=>[5,4,6,3,2,1,7]=>[5,6,4,3,2,7,1]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [6,5,4,2,1,7,3]=>[5,4,7,3,2,1,6]=>[5,7,4,3,2,6,1]=>([(0,1),(0,3),(0,5),(0,6),(0,7),(1,20),(1,21),(2,9),(2,26),(2,29),(3,11),(3,20),(3,22),(4,2),(4,10),(4,13),(4,17),(4,18),(5,12),(5,15),(5,20),(5,22),(6,4),(6,14),(6,15),(6,21),(6,22),(7,11),(7,12),(7,14),(7,21),(9,25),(9,27),(10,19),(10,26),(10,29),(11,23),(11,28),(12,16),(12,23),(12,28),(13,9),(13,19),(13,24),(13,26),(14,13),(14,16),(14,18),(14,23),(15,10),(15,16),(15,17),(15,28),(16,19),(16,24),(16,29),(17,24),(17,26),(17,29),(18,26),(18,29),(19,25),(19,27),(20,28),(21,18),(21,28),(22,17),(22,23),(22,28),(23,24),(23,29),(24,25),(24,27),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [6,5,4,2,7,1,3]=>[6,4,7,3,2,1,5]=>[6,7,4,3,2,5,1]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [6,5,4,3,1,2,7]=>[5,6,4,3,2,1,7]=>[5,6,4,3,2,1,7]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [6,5,4,3,1,7,2]=>[5,7,4,3,2,1,6]=>[5,7,4,3,2,1,6]=>([(0,2),(0,3),(0,4),(0,7),(1,20),(1,22),(2,10),(2,15),(3,15),(3,16),(4,9),(4,15),(4,16),(5,6),(5,13),(5,14),(5,17),(6,1),(6,11),(6,12),(6,18),(7,5),(7,9),(7,10),(7,16),(9,14),(9,17),(9,19),(10,13),(10,19),(11,20),(11,22),(12,20),(12,22),(13,12),(13,21),(14,11),(14,18),(14,21),(15,19),(16,17),(16,19),(17,18),(17,21),(18,20),(18,22),(19,21),(20,8),(21,22),(22,8)],23) [6,5,4,3,2,1,7]=>[6,5,4,3,2,1,7]=>[6,7,5,4,3,2,1]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [6,5,4,3,2,7,1]=>[7,5,4,3,2,1,6]=>[5,7,6,4,3,2,1]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [6,5,4,3,7,1,2]=>[6,7,4,3,2,1,5]=>[6,7,4,3,2,1,5]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [6,5,4,3,7,2,1]=>[7,6,4,3,2,1,5]=>[4,7,6,5,3,2,1]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [6,5,4,7,1,2,3]=>[5,6,7,3,2,1,4]=>[5,6,3,2,1,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [6,5,4,7,1,3,2]=>[5,7,6,3,2,1,4]=>[5,7,6,3,2,1,4]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [6,5,4,7,2,1,3]=>[6,5,7,3,2,1,4]=>[6,7,5,3,2,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [6,5,4,7,3,1,2]=>[6,7,5,3,2,1,4]=>[6,7,5,3,2,1,4]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [6,5,4,7,3,2,1]=>[7,6,5,3,2,1,4]=>[3,7,6,5,4,2,1]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [6,5,7,1,2,3,4]=>[4,5,6,7,2,1,3]=>[4,5,2,1,3,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [6,5,7,1,4,3,2]=>[4,7,6,5,2,1,3]=>[4,7,6,5,2,1,3]=>([(0,4),(0,5),(0,6),(0,7),(1,23),(1,25),(2,9),(2,26),(3,8),(3,11),(3,12),(4,13),(4,14),(4,16),(5,13),(5,15),(5,18),(6,14),(6,15),(6,17),(7,3),(7,16),(7,17),(7,18),(8,1),(8,21),(8,26),(9,23),(9,25),(11,20),(11,21),(12,20),(12,26),(13,24),(14,2),(14,22),(14,24),(15,19),(15,24),(16,12),(16,22),(16,24),(17,11),(17,19),(17,22),(18,8),(18,19),(18,24),(19,21),(19,26),(20,23),(20,25),(21,23),(21,25),(22,9),(22,20),(22,26),(23,10),(24,26),(25,10),(26,25)],27) [6,5,7,2,4,3,1]=>[7,4,6,5,2,1,3]=>[4,7,6,5,2,3,1]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [6,5,7,3,2,1,4]=>[6,5,4,7,2,1,3]=>[6,7,5,2,4,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [6,5,7,3,2,4,1]=>[7,5,4,6,2,1,3]=>[5,7,6,2,4,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [6,5,7,4,1,3,2]=>[5,7,6,4,2,1,3]=>[5,7,6,4,2,1,3]=>([(0,3),(0,4),(0,5),(0,6),(0,7),(1,24),(1,27),(2,24),(2,27),(3,12),(3,14),(3,20),(4,13),(4,14),(4,21),(5,15),(5,16),(5,20),(5,21),(6,9),(6,13),(6,15),(6,20),(7,9),(7,12),(7,16),(7,21),(9,17),(9,22),(9,23),(10,2),(10,18),(10,26),(11,1),(11,19),(11,26),(12,22),(12,25),(13,23),(13,25),(14,25),(15,10),(15,17),(15,23),(16,11),(16,17),(16,22),(17,18),(17,19),(18,24),(18,27),(19,24),(19,27),(20,10),(20,22),(20,25),(21,11),(21,23),(21,25),(22,18),(22,26),(23,19),(23,26),(24,8),(25,26),(26,27),(27,8)],28) [6,5,7,4,2,1,3]=>[6,5,7,4,2,1,3]=>[6,7,5,4,2,3,1]=>([(0,1),(0,3),(0,4),(0,5),(1,9),(1,18),(2,6),(2,7),(2,15),(3,10),(3,13),(3,18),(4,2),(4,12),(4,13),(4,18),(5,9),(5,10),(5,12),(6,16),(6,17),(7,16),(7,17),(7,21),(9,20),(10,14),(10,20),(11,8),(12,7),(12,14),(12,20),(13,6),(13,14),(13,15),(14,16),(14,21),(15,17),(15,21),(16,11),(16,19),(17,11),(17,19),(18,15),(18,20),(19,8),(20,21),(21,19)],22) [6,5,7,4,2,3,1]=>[7,5,6,4,2,1,3]=>[5,7,6,4,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [6,5,7,4,3,1,2]=>[6,7,5,4,2,1,3]=>[6,7,5,4,2,1,3]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [6,5,7,4,3,2,1]=>[7,6,5,4,2,1,3]=>[2,7,6,5,4,3,1]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [6,7,1,2,3,4,5]=>[3,4,5,6,7,1,2]=>[3,4,1,2,5,6,7]=>([(0,3),(0,4),(0,5),(1,2),(1,13),(1,14),(2,6),(2,7),(3,1),(3,11),(3,12),(4,9),(4,10),(4,12),(5,9),(5,10),(5,11),(6,17),(6,20),(7,17),(7,20),(9,18),(10,15),(10,18),(11,13),(11,15),(11,18),(12,14),(12,15),(12,18),(13,6),(13,16),(13,19),(14,7),(14,16),(14,19),(15,16),(15,19),(16,17),(16,20),(17,8),(18,19),(19,20),(20,8)],21) [6,7,1,4,5,2,3]=>[3,6,7,4,5,1,2]=>[6,7,3,4,1,2,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [6,7,1,5,4,3,2]=>[3,7,6,5,4,1,2]=>[3,7,6,5,4,1,2]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [6,7,2,5,4,3,1]=>[7,3,6,5,4,1,2]=>[3,7,6,5,1,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [6,7,3,4,1,2,5]=>[5,6,3,4,7,1,2]=>[5,6,3,4,7,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [6,7,3,4,5,1,2]=>[6,7,3,4,5,1,2]=>[6,7,3,4,5,1,2]=>([(0,4),(0,5),(0,6),(1,12),(1,22),(2,11),(2,22),(3,9),(3,10),(3,22),(4,3),(4,13),(4,14),(5,2),(5,13),(5,15),(6,1),(6,14),(6,15),(8,18),(9,17),(9,20),(10,17),(10,21),(11,8),(11,20),(12,8),(12,21),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,20),(16,21),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18),(21,19),(22,20),(22,21)],23) [6,7,3,5,1,4,2]=>[5,7,3,6,4,1,2]=>[5,7,6,3,4,1,2]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [6,7,3,5,4,1,2]=>[6,7,3,5,4,1,2]=>[6,7,5,3,4,1,2]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,7),(2,10),(2,19),(3,9),(3,11),(3,19),(4,8),(4,10),(4,11),(4,19),(5,6),(7,13),(7,21),(8,13),(8,18),(8,21),(9,17),(9,18),(9,21),(10,13),(10,16),(11,16),(11,17),(11,18),(12,6),(13,20),(14,5),(14,12),(15,5),(15,12),(16,14),(16,20),(17,14),(17,15),(18,14),(18,15),(18,20),(19,16),(19,17),(19,21),(20,12),(21,15),(21,20)],22) [6,7,4,2,5,1,3]=>[6,4,7,3,5,1,2]=>[6,7,4,5,1,3,2]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [6,7,4,3,2,1,5]=>[6,5,4,3,7,1,2]=>[6,7,1,5,4,3,2]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [6,7,4,3,2,5,1]=>[7,5,4,3,6,1,2]=>[5,7,1,6,4,3,2]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [6,7,4,3,5,1,2]=>[6,7,4,3,5,1,2]=>[6,7,4,5,3,1,2]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,7),(2,10),(2,19),(3,9),(3,11),(3,19),(4,8),(4,10),(4,11),(4,19),(5,6),(7,13),(7,21),(8,13),(8,18),(8,21),(9,17),(9,18),(9,21),(10,13),(10,16),(11,16),(11,17),(11,18),(12,6),(13,20),(14,5),(14,12),(15,5),(15,12),(16,14),(16,20),(17,14),(17,15),(18,14),(18,15),(18,20),(19,16),(19,17),(19,21),(20,12),(21,15),(21,20)],22) [6,7,4,5,1,2,3]=>[5,6,7,3,4,1,2]=>[5,6,3,4,1,2,7]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,11),(2,12),(2,18),(3,8),(3,10),(3,12),(3,18),(4,7),(4,10),(4,11),(4,18),(6,25),(7,14),(7,15),(7,21),(8,14),(8,16),(8,21),(9,15),(9,16),(9,21),(10,13),(10,14),(10,19),(11,13),(11,15),(11,20),(12,13),(12,16),(12,19),(12,20),(13,17),(13,24),(14,22),(14,24),(15,23),(15,24),(16,22),(16,23),(16,24),(17,25),(17,26),(18,19),(18,20),(18,21),(19,6),(19,17),(19,22),(20,6),(20,17),(20,23),(21,22),(21,23),(22,25),(22,26),(23,25),(23,26),(24,26),(25,5),(26,5)],27) [6,7,4,5,3,1,2]=>[6,7,5,3,4,1,2]=>[6,7,3,5,4,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(1,25),(2,14),(2,20),(2,25),(3,9),(3,10),(3,11),(4,9),(4,12),(4,13),(5,2),(5,10),(5,12),(5,16),(6,1),(6,11),(6,13),(6,16),(8,19),(8,24),(9,20),(9,21),(9,25),(10,17),(10,20),(11,17),(11,21),(12,18),(12,20),(12,25),(13,18),(13,21),(13,25),(14,8),(14,22),(14,26),(15,8),(15,23),(15,26),(16,14),(16,15),(16,17),(16,18),(17,26),(18,22),(18,23),(18,26),(19,7),(20,23),(20,26),(21,22),(21,26),(22,19),(22,24),(23,19),(23,24),(24,7),(25,22),(25,23),(26,24)],27) [6,7,4,5,3,2,1]=>[7,6,5,3,4,1,2]=>[3,7,1,6,5,4,2]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,23),(1,24),(2,8),(2,16),(2,21),(3,8),(3,15),(3,21),(4,9),(4,10),(4,15),(4,21),(5,9),(5,11),(5,16),(5,21),(6,1),(6,13),(6,14),(6,18),(6,19),(7,6),(7,10),(7,11),(7,15),(7,16),(8,26),(9,20),(9,29),(10,13),(10,18),(10,20),(10,29),(11,14),(11,19),(11,20),(11,29),(13,17),(13,23),(13,24),(13,28),(14,17),(14,23),(14,24),(14,28),(15,18),(15,26),(15,29),(16,19),(16,26),(16,29),(17,25),(17,27),(18,22),(18,23),(18,28),(19,22),(19,24),(19,28),(20,17),(20,28),(21,26),(21,29),(22,27),(23,25),(23,27),(24,25),(24,27),(25,12),(26,22),(27,12),(28,25),(28,27),(29,22),(29,28)],30) [6,7,5,1,2,3,4]=>[4,5,6,7,3,1,2]=>[4,5,3,1,2,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,11),(2,14),(2,16),(3,11),(3,13),(3,15),(4,12),(4,15),(4,16),(5,1),(5,12),(5,13),(5,14),(7,22),(7,23),(8,21),(8,22),(9,21),(9,23),(10,24),(11,17),(11,18),(12,7),(12,19),(12,20),(13,8),(13,17),(13,19),(14,9),(14,17),(14,20),(15,10),(15,18),(15,19),(16,10),(16,18),(16,20),(17,21),(17,25),(18,24),(18,25),(19,22),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,6),(27,6)],28) [6,7,5,1,4,3,2]=>[4,7,6,5,3,1,2]=>[4,7,6,5,3,1,2]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [6,7,5,2,4,3,1]=>[7,4,6,5,3,1,2]=>[4,7,6,5,1,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [6,7,5,3,2,1,4]=>[6,5,4,7,3,1,2]=>[6,7,5,1,4,3,2]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [6,7,5,3,2,4,1]=>[7,5,4,6,3,1,2]=>[5,7,6,1,4,3,2]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [6,7,5,3,4,1,2]=>[6,7,4,5,3,1,2]=>[6,7,4,3,5,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(1,25),(2,14),(2,20),(2,25),(3,9),(3,10),(3,11),(4,9),(4,12),(4,13),(5,2),(5,10),(5,12),(5,16),(6,1),(6,11),(6,13),(6,16),(8,19),(8,24),(9,20),(9,21),(9,25),(10,17),(10,20),(11,17),(11,21),(12,18),(12,20),(12,25),(13,18),(13,21),(13,25),(14,8),(14,22),(14,26),(15,8),(15,23),(15,26),(16,14),(16,15),(16,17),(16,18),(17,26),(18,22),(18,23),(18,26),(19,7),(20,23),(20,26),(21,22),(21,26),(22,19),(22,24),(23,19),(23,24),(24,7),(25,22),(25,23),(26,24)],27) [6,7,5,4,1,2,3]=>[5,6,7,4,3,1,2]=>[5,6,4,3,1,2,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,12),(1,13),(2,10),(2,11),(2,16),(3,9),(3,11),(3,15),(4,9),(4,10),(4,14),(5,1),(5,14),(5,15),(5,16),(6,21),(6,22),(7,25),(9,17),(9,19),(10,17),(10,20),(11,17),(11,18),(12,7),(12,21),(12,23),(13,7),(13,22),(13,23),(14,6),(14,19),(14,20),(15,12),(15,18),(15,19),(16,13),(16,18),(16,20),(17,24),(18,23),(18,24),(19,21),(19,24),(20,22),(20,24),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,26),(25,8),(26,8)],27) [6,7,5,4,1,3,2]=>[5,7,6,4,3,1,2]=>[5,7,6,4,3,1,2]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [6,7,5,4,2,1,3]=>[6,5,7,4,3,1,2]=>[6,7,5,4,1,3,2]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [6,7,5,4,2,3,1]=>[7,5,6,4,3,1,2]=>[5,7,6,4,1,3,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,14),(1,15),(1,19),(1,20),(2,10),(2,11),(2,20),(3,9),(3,11),(3,19),(4,8),(4,9),(4,14),(4,20),(5,8),(5,10),(5,15),(5,19),(7,21),(7,24),(8,16),(8,22),(8,23),(9,22),(9,25),(10,23),(10,25),(11,25),(12,7),(12,17),(12,26),(13,7),(13,18),(13,26),(14,13),(14,16),(14,22),(15,12),(15,16),(15,23),(16,17),(16,18),(17,21),(17,24),(18,21),(18,24),(19,12),(19,22),(19,25),(20,13),(20,23),(20,25),(21,6),(22,17),(22,26),(23,18),(23,26),(24,6),(25,26),(26,24)],27) [6,7,5,4,3,1,2]=>[6,7,5,4,3,1,2]=>[6,7,5,4,3,1,2]=>([(0,3),(0,4),(0,5),(1,11),(1,12),(2,1),(2,9),(2,10),(3,7),(3,14),(4,7),(4,13),(5,2),(5,13),(5,14),(7,15),(8,6),(9,11),(9,17),(10,12),(10,17),(11,8),(11,16),(12,8),(12,16),(13,9),(13,15),(14,10),(14,15),(15,17),(16,6),(17,16)],18) [6,7,5,4,3,2,1]=>[7,6,5,4,3,1,2]=>[1,7,6,5,4,3,2]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [7,1,2,3,4,5,6]=>[2,3,4,5,6,7,1]=>[2,1,3,4,5,6,7]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [7,1,2,3,4,6,5]=>[2,3,4,5,7,6,1]=>[7,2,1,3,4,5,6]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [7,1,2,3,5,6,4]=>[2,3,4,7,5,6,1]=>[7,2,3,1,4,5,6]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [7,1,2,3,6,4,5]=>[2,3,4,6,7,5,1]=>[6,2,1,3,4,5,7]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [7,1,2,3,6,5,4]=>[2,3,4,7,6,5,1]=>[7,6,2,1,3,4,5]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [7,1,2,4,3,5,6]=>[2,3,5,4,6,7,1]=>[5,2,3,4,1,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [7,1,2,4,5,6,3]=>[2,3,7,4,5,6,1]=>[7,2,3,4,1,5,6]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [7,1,2,4,6,5,3]=>[2,3,7,4,6,5,1]=>[7,6,2,3,1,4,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [7,1,2,6,3,4,5]=>[2,3,5,6,7,4,1]=>[5,2,1,3,4,6,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [7,1,2,6,3,5,4]=>[2,3,5,7,6,4,1]=>[7,5,2,1,3,4,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [7,1,2,6,5,3,4]=>[2,3,6,7,5,4,1]=>[6,5,2,1,3,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [7,1,2,6,5,4,3]=>[2,3,7,6,5,4,1]=>[7,6,5,2,1,3,4]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [7,1,3,4,5,2,6]=>[2,6,3,4,5,7,1]=>[6,2,3,4,5,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [7,1,3,4,5,6,2]=>[2,7,3,4,5,6,1]=>[7,2,3,4,5,1,6]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [7,1,3,4,6,5,2]=>[2,7,3,4,6,5,1]=>[7,6,2,3,4,1,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [7,1,3,6,4,2,5]=>[2,6,3,5,7,4,1]=>[6,5,2,3,4,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [7,1,3,6,5,4,2]=>[2,7,3,6,5,4,1]=>[7,6,5,2,3,1,4]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [7,1,5,2,3,4,6]=>[2,4,5,6,3,7,1]=>[4,2,3,1,5,6,7]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [7,1,5,6,2,4,3]=>[2,5,7,6,3,4,1]=>[7,5,6,2,1,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [7,1,5,6,4,2,3]=>[2,6,7,5,3,4,1]=>[6,5,7,2,1,3,4]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [7,1,6,2,3,4,5]=>[2,4,5,6,7,3,1]=>[4,2,1,3,5,6,7]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [7,1,6,2,3,5,4]=>[2,4,5,7,6,3,1]=>[7,4,2,1,3,5,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [7,1,6,2,5,4,3]=>[2,4,7,6,5,3,1]=>[7,6,4,2,1,3,5]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [7,1,6,4,2,3,5]=>[2,5,6,4,7,3,1]=>[5,4,2,3,1,6,7]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [7,1,6,5,2,3,4]=>[2,5,6,7,4,3,1]=>[5,4,2,1,3,6,7]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [7,1,6,5,2,4,3]=>[2,5,7,6,4,3,1]=>[7,5,4,2,1,3,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [7,1,6,5,3,2,4]=>[2,6,5,7,4,3,1]=>[6,5,4,2,3,1,7]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [7,1,6,5,4,2,3]=>[2,6,7,5,4,3,1]=>[6,5,4,2,1,3,7]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [7,1,6,5,4,3,2]=>[2,7,6,5,4,3,1]=>[7,6,5,4,2,1,3]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [7,2,1,3,4,5,6]=>[3,2,4,5,6,7,1]=>[3,2,4,5,6,7,1]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [7,2,1,3,4,6,5]=>[3,2,4,5,7,6,1]=>[3,2,1,4,5,7,6]=>([(0,4),(0,5),(0,6),(1,19),(2,10),(2,12),(3,9),(3,11),(4,13),(4,14),(5,2),(5,13),(5,15),(6,3),(6,14),(6,15),(8,19),(8,20),(9,17),(10,1),(10,18),(11,8),(11,17),(12,8),(12,18),(13,10),(13,16),(14,9),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [7,2,1,3,5,6,4]=>[3,2,4,7,5,6,1]=>[3,2,4,1,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [7,2,1,3,6,4,5]=>[3,2,4,6,7,5,1]=>[3,2,1,4,6,7,5]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [7,2,1,3,6,5,4]=>[3,2,4,7,6,5,1]=>[7,3,2,1,4,6,5]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [7,2,1,4,3,6,5]=>[3,2,5,4,7,6,1]=>[3,2,1,5,4,7,6]=>([(0,3),(0,4),(0,5),(1,18),(2,8),(2,9),(2,20),(3,2),(3,11),(3,12),(4,10),(4,11),(4,13),(5,10),(5,12),(5,13),(7,1),(7,19),(8,14),(8,16),(9,14),(9,16),(9,19),(10,7),(10,20),(11,9),(11,15),(11,20),(12,8),(12,15),(12,20),(13,7),(13,15),(14,17),(14,18),(15,16),(15,19),(16,17),(17,6),(18,6),(19,17),(19,18),(20,14),(20,19)],21) [7,2,1,4,5,6,3]=>[3,2,7,4,5,6,1]=>[3,2,4,5,1,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [7,2,1,4,6,3,5]=>[3,2,6,4,7,5,1]=>[3,2,1,6,4,7,5]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [7,2,1,6,3,4,5]=>[3,2,5,6,7,4,1]=>[3,2,1,5,6,7,4]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [7,2,1,6,3,5,4]=>[3,2,5,7,6,4,1]=>[7,3,2,1,5,6,4]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [7,2,1,6,5,4,3]=>[3,2,7,6,5,4,1]=>[7,6,3,2,1,5,4]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [7,2,3,1,4,5,6]=>[4,2,3,5,6,7,1]=>[4,2,3,5,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [7,2,3,1,4,6,5]=>[4,2,3,5,7,6,1]=>[4,2,1,3,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [7,2,3,4,1,5,6]=>[5,2,3,4,6,7,1]=>[5,2,3,4,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [7,2,3,4,1,6,5]=>[5,2,3,4,7,6,1]=>[5,2,1,3,4,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [7,2,3,4,5,1,6]=>[6,2,3,4,5,7,1]=>[6,2,3,4,5,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [7,2,3,4,5,6,1]=>[7,2,3,4,5,6,1]=>[7,2,3,4,5,6,1]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [7,2,3,4,6,5,1]=>[7,2,3,4,6,5,1]=>[7,6,2,3,4,5,1]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [7,2,3,6,4,1,5]=>[6,2,3,5,7,4,1]=>[6,5,2,3,4,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [7,2,3,6,5,4,1]=>[7,2,3,6,5,4,1]=>[7,6,5,2,3,4,1]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [7,2,5,6,3,1,4]=>[6,2,5,7,3,4,1]=>[6,5,7,2,3,4,1]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [7,2,5,6,3,4,1]=>[7,2,5,6,3,4,1]=>[7,5,6,2,3,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,23),(2,7),(2,8),(2,25),(3,11),(3,12),(3,13),(4,13),(4,14),(4,16),(5,12),(5,14),(5,15),(6,2),(6,11),(6,15),(6,16),(7,22),(8,22),(8,23),(9,19),(11,17),(11,18),(11,25),(12,18),(12,20),(13,17),(13,20),(14,1),(14,20),(14,25),(15,7),(15,18),(15,25),(16,8),(16,17),(16,25),(17,23),(17,24),(18,22),(18,24),(19,10),(20,9),(20,24),(21,10),(22,21),(23,19),(23,21),(24,19),(24,21),(25,22),(25,23),(25,24)],26) [7,2,6,1,3,4,5]=>[4,2,5,6,7,3,1]=>[4,2,1,5,6,7,3]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [7,2,6,3,1,4,5]=>[5,2,4,6,7,3,1]=>[5,4,2,3,6,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [7,2,6,3,1,5,4]=>[5,2,4,7,6,3,1]=>[5,4,2,1,3,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [7,2,6,4,1,5,3]=>[5,2,7,4,6,3,1]=>[5,4,2,3,1,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [7,2,6,5,3,1,4]=>[6,2,5,7,4,3,1]=>[6,5,4,2,3,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [7,2,6,5,4,1,3]=>[6,2,7,5,4,3,1]=>[6,5,4,2,1,7,3]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [7,2,6,5,4,3,1]=>[7,2,6,5,4,3,1]=>[7,6,5,4,2,3,1]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [7,3,1,2,4,5,6]=>[3,4,2,5,6,7,1]=>[3,2,4,5,6,1,7]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [7,3,1,2,4,6,5]=>[3,4,2,5,7,6,1]=>[3,2,1,4,7,5,6]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [7,3,1,2,6,4,5]=>[3,4,2,6,7,5,1]=>[3,2,1,4,6,5,7]=>([(0,2),(0,3),(0,4),(0,6),(1,19),(2,12),(2,20),(3,13),(3,15),(3,20),(4,14),(4,15),(4,20),(5,7),(5,8),(5,9),(6,5),(6,12),(6,13),(6,14),(7,22),(8,17),(8,22),(9,17),(9,22),(9,23),(10,1),(10,23),(12,7),(12,21),(13,8),(13,16),(13,21),(14,9),(14,16),(14,21),(15,10),(15,16),(16,17),(16,23),(17,18),(17,19),(18,11),(19,11),(20,10),(20,21),(21,22),(21,23),(22,18),(23,18),(23,19)],24) [7,3,1,2,6,5,4]=>[3,4,2,7,6,5,1]=>[7,3,2,1,6,4,5]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [7,3,1,4,2,6,5]=>[3,5,2,4,7,6,1]=>[3,2,1,5,7,4,6]=>([(0,2),(0,3),(0,4),(0,5),(0,8),(1,27),(2,17),(2,21),(2,22),(3,18),(3,21),(3,22),(4,20),(4,21),(4,22),(5,19),(5,21),(5,22),(6,10),(6,11),(6,24),(6,29),(7,6),(7,12),(7,13),(7,15),(7,16),(8,7),(8,17),(8,18),(8,19),(8,20),(10,27),(10,28),(11,27),(11,28),(12,23),(12,29),(13,23),(13,24),(13,29),(14,1),(14,24),(15,10),(15,23),(15,29),(16,11),(16,23),(16,29),(17,13),(17,25),(17,26),(18,12),(18,25),(18,26),(19,15),(19,25),(19,26),(20,16),(20,25),(20,26),(21,14),(21,26),(22,14),(22,25),(23,28),(24,27),(24,28),(25,24),(25,29),(26,23),(26,24),(27,9),(28,9),(29,27),(29,28)],30) [7,3,1,4,6,2,5]=>[3,6,2,4,7,5,1]=>[3,2,1,6,7,4,5]=>([(0,4),(0,5),(0,6),(1,23),(2,3),(2,15),(2,16),(3,8),(3,9),(4,2),(4,13),(4,14),(5,11),(5,12),(5,14),(6,11),(6,12),(6,13),(7,1),(7,21),(8,22),(8,23),(9,22),(9,23),(11,7),(11,17),(12,7),(12,18),(13,15),(13,17),(13,18),(14,16),(14,17),(14,18),(15,8),(15,19),(15,20),(16,9),(16,19),(16,20),(17,20),(17,21),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,10),(23,10)],24) [7,3,1,6,2,4,5]=>[3,5,2,6,7,4,1]=>[3,2,1,5,6,4,7]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [7,3,1,6,2,5,4]=>[3,5,2,7,6,4,1]=>[7,3,2,1,5,4,6]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [7,3,1,6,5,2,4]=>[3,6,2,7,5,4,1]=>[6,3,2,1,5,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [7,3,2,1,4,5,6]=>[4,3,2,5,6,7,1]=>[4,3,5,6,7,2,1]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [7,3,2,1,4,6,5]=>[4,3,2,5,7,6,1]=>[4,3,2,5,7,6,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,11),(4,13),(4,16),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,24),(11,17),(11,19),(12,18),(12,19),(13,1),(13,19),(13,20),(14,8),(14,17),(14,18),(15,9),(15,18),(15,20),(16,10),(16,17),(16,20),(17,22),(17,25),(18,21),(18,25),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,7),(27,7)],28) [7,3,2,1,6,4,5]=>[4,3,2,6,7,5,1]=>[4,3,2,6,7,5,1]=>([(0,4),(0,5),(0,6),(0,7),(1,28),(2,27),(2,28),(3,2),(3,8),(3,9),(3,10),(4,13),(4,14),(4,16),(5,12),(5,14),(5,17),(6,12),(6,13),(6,15),(7,3),(7,15),(7,16),(7,17),(8,23),(8,27),(8,28),(9,22),(9,27),(10,22),(10,23),(10,27),(12,18),(12,19),(13,18),(13,20),(14,1),(14,18),(14,21),(15,10),(15,19),(15,20),(16,9),(16,20),(16,21),(17,8),(17,19),(17,21),(18,24),(18,28),(19,23),(19,24),(20,22),(20,24),(21,24),(21,27),(21,28),(22,26),(23,25),(23,26),(24,25),(24,26),(25,11),(26,11),(27,25),(27,26),(28,25)],29) [7,3,2,1,6,5,4]=>[4,3,2,7,6,5,1]=>[4,3,2,1,7,6,5]=>([(0,5),(0,6),(1,14),(2,4),(2,13),(3,1),(3,11),(4,9),(4,14),(5,2),(5,12),(6,3),(6,12),(8,10),(8,15),(9,10),(9,15),(10,7),(11,8),(11,14),(12,11),(12,13),(13,8),(13,9),(14,15),(15,7)],16) [7,3,2,4,1,5,6]=>[5,3,2,4,6,7,1]=>[5,3,4,6,7,2,1]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [7,3,2,4,5,1,6]=>[6,3,2,4,5,7,1]=>[6,3,4,5,7,2,1]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [7,3,2,4,5,6,1]=>[7,3,2,4,5,6,1]=>[7,3,4,5,6,2,1]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [7,3,2,6,1,5,4]=>[5,3,2,7,6,4,1]=>[5,3,2,1,7,6,4]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [7,3,2,6,5,1,4]=>[6,3,2,7,5,4,1]=>[6,3,2,1,7,5,4]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [7,3,2,6,5,4,1]=>[7,3,2,6,5,4,1]=>[7,6,3,2,5,4,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,9),(4,11),(4,13),(4,15),(5,9),(5,11),(5,12),(5,14),(6,22),(6,23),(7,21),(7,22),(7,28),(8,21),(8,23),(8,28),(9,27),(11,17),(11,20),(11,27),(12,17),(12,18),(12,27),(13,17),(13,19),(13,27),(14,7),(14,18),(14,20),(14,27),(15,8),(15,19),(15,20),(15,27),(16,6),(16,18),(16,19),(17,24),(17,28),(18,22),(18,24),(18,28),(19,23),(19,24),(19,28),(20,21),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [7,3,4,5,6,2,1]=>[7,6,2,3,4,5,1]=>[7,2,3,4,6,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,1),(2,8),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,13),(4,15),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,23),(8,24),(9,22),(9,23),(9,24),(10,21),(10,22),(10,24),(11,17),(11,20),(12,17),(12,18),(13,17),(13,19),(14,8),(14,18),(14,20),(15,9),(15,19),(15,20),(16,10),(16,18),(16,19),(17,25),(18,21),(18,25),(19,22),(19,25),(20,23),(20,25),(21,26),(21,27),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(26,7),(27,7)],28) [7,3,4,6,5,2,1]=>[7,6,2,3,5,4,1]=>[7,6,2,3,5,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [7,3,6,2,1,5,4]=>[5,4,2,7,6,3,1]=>[5,4,2,1,7,6,3]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [7,3,6,5,2,1,4]=>[6,5,2,7,4,3,1]=>[6,5,4,2,7,3,1]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [7,3,6,5,4,1,2]=>[6,7,2,5,4,3,1]=>[6,5,4,2,7,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [7,3,6,5,4,2,1]=>[7,6,2,5,4,3,1]=>[7,6,5,2,4,3,1]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [7,4,1,2,3,5,6]=>[3,4,5,2,6,7,1]=>[3,2,4,5,1,6,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [7,4,1,2,3,6,5]=>[3,4,5,2,7,6,1]=>[3,2,1,7,4,5,6]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [7,4,1,2,6,3,5]=>[3,4,6,2,7,5,1]=>[3,2,1,6,4,5,7]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [7,4,1,3,5,2,6]=>[3,6,4,2,5,7,1]=>[6,3,4,5,2,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [7,4,1,3,5,6,2]=>[3,7,4,2,5,6,1]=>[7,3,4,5,2,1,6]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [7,4,1,6,2,3,5]=>[3,5,6,2,7,4,1]=>[3,2,1,5,4,6,7]=>([(0,4),(0,5),(0,6),(1,18),(2,8),(2,11),(3,7),(3,12),(3,19),(4,13),(4,14),(5,3),(5,13),(5,15),(6,2),(6,14),(6,15),(7,16),(8,1),(8,20),(9,17),(9,18),(11,9),(11,20),(12,9),(12,16),(12,20),(13,7),(13,19),(14,8),(14,19),(15,11),(15,12),(15,19),(16,17),(17,10),(18,10),(19,16),(19,20),(20,17),(20,18)],21) [7,4,2,1,3,5,6]=>[4,3,5,2,6,7,1]=>[4,3,5,6,2,7,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [7,4,2,1,3,6,5]=>[4,3,5,2,7,6,1]=>[4,3,2,7,5,6,1]=>([(0,4),(0,5),(0,6),(0,7),(1,27),(2,8),(2,25),(2,27),(3,2),(3,10),(3,11),(3,15),(4,12),(4,14),(4,16),(5,13),(5,14),(5,17),(6,12),(6,13),(6,18),(7,3),(7,16),(7,17),(7,18),(8,28),(8,29),(10,23),(10,25),(11,24),(11,25),(11,27),(12,19),(12,20),(13,19),(13,21),(14,1),(14,19),(14,22),(15,8),(15,23),(15,24),(16,11),(16,20),(16,22),(17,10),(17,21),(17,22),(18,15),(18,20),(18,21),(19,26),(19,27),(20,24),(20,26),(21,23),(21,26),(22,25),(22,26),(22,27),(23,28),(24,28),(24,29),(25,28),(25,29),(26,28),(26,29),(27,29),(28,9),(29,9)],30) [7,4,2,1,6,3,5]=>[4,3,6,2,7,5,1]=>[4,3,2,6,5,7,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(2,23),(3,12),(3,13),(3,16),(4,11),(4,13),(4,14),(5,11),(5,12),(5,15),(6,2),(6,14),(6,15),(6,16),(8,21),(8,22),(8,27),(9,20),(9,22),(9,24),(10,20),(10,21),(11,1),(11,17),(11,23),(12,17),(12,18),(13,17),(13,19),(14,10),(14,19),(14,23),(15,9),(15,18),(15,23),(16,8),(16,18),(16,19),(17,24),(17,27),(18,22),(18,27),(19,21),(19,27),(20,25),(20,26),(21,26),(22,25),(22,26),(23,20),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [7,4,2,1,6,5,3]=>[4,3,7,2,6,5,1]=>[4,3,2,7,1,6,5]=>([(0,2),(0,3),(0,6),(0,7),(1,9),(1,19),(1,24),(2,13),(2,20),(3,14),(3,20),(4,11),(4,15),(4,21),(5,1),(5,12),(5,17),(5,22),(6,4),(6,14),(6,16),(6,20),(7,5),(7,13),(7,16),(7,20),(8,23),(8,25),(9,23),(9,25),(11,24),(12,19),(12,24),(13,12),(13,22),(14,11),(14,21),(15,8),(15,18),(15,24),(16,15),(16,17),(16,21),(16,22),(17,8),(17,9),(17,18),(17,19),(18,23),(18,25),(19,23),(19,25),(20,21),(20,22),(21,18),(21,24),(22,18),(22,19),(23,10),(24,25),(25,10)],26) [7,4,3,1,2,5,6]=>[4,5,3,2,6,7,1]=>[4,3,5,6,2,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,21),(2,8),(2,20),(3,10),(3,12),(3,14),(4,10),(4,11),(4,15),(5,2),(5,11),(5,13),(5,14),(6,1),(6,12),(6,13),(6,15),(8,24),(9,25),(10,16),(10,17),(11,16),(11,19),(11,20),(12,17),(12,18),(12,21),(13,18),(13,19),(13,20),(13,21),(14,8),(14,16),(14,18),(15,9),(15,17),(15,19),(16,24),(16,26),(17,25),(17,26),(18,24),(18,26),(18,27),(19,25),(19,26),(19,27),(20,24),(20,27),(21,25),(21,27),(22,7),(23,7),(24,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [7,4,3,1,6,2,5]=>[4,6,3,2,7,5,1]=>[4,3,2,6,5,1,7]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,27),(2,7),(2,8),(2,9),(2,27),(3,12),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,13),(6,14),(6,17),(7,21),(7,23),(7,28),(8,21),(8,22),(8,28),(9,22),(9,23),(9,24),(10,24),(12,20),(12,27),(13,18),(13,27),(14,10),(14,19),(14,27),(15,8),(15,18),(15,20),(16,9),(16,19),(16,20),(17,7),(17,18),(17,19),(17,27),(18,21),(18,28),(19,23),(19,24),(19,28),(20,22),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,11),(26,11),(27,24),(27,28),(28,25),(28,26)],29) [7,4,3,1,6,5,2]=>[4,7,3,2,6,5,1]=>[4,3,2,7,6,1,5]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [7,4,3,2,1,5,6]=>[5,4,3,2,6,7,1]=>[5,4,6,7,3,2,1]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [7,4,3,2,1,6,5]=>[5,4,3,2,7,6,1]=>[5,4,3,7,6,2,1]=>([(0,4),(0,5),(0,6),(1,20),(2,10),(2,11),(3,9),(3,12),(3,20),(4,3),(4,14),(4,15),(5,2),(5,13),(5,15),(6,1),(6,13),(6,14),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,18),(12,8),(12,17),(12,22),(13,10),(13,16),(13,20),(14,9),(14,16),(14,20),(15,11),(15,12),(15,16),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,22),(21,7),(22,21)],23) [7,4,3,2,5,1,6]=>[6,4,3,2,5,7,1]=>[6,4,5,7,3,2,1]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [7,4,3,2,5,6,1]=>[7,4,3,2,5,6,1]=>[7,4,5,6,3,2,1]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [7,4,3,2,6,5,1]=>[7,4,3,2,6,5,1]=>[7,4,3,6,5,2,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,9),(4,11),(4,13),(4,15),(5,9),(5,11),(5,12),(5,14),(6,22),(6,23),(7,21),(7,22),(7,28),(8,21),(8,23),(8,28),(9,27),(11,17),(11,20),(11,27),(12,17),(12,18),(12,27),(13,17),(13,19),(13,27),(14,7),(14,18),(14,20),(14,27),(15,8),(15,19),(15,20),(15,27),(16,6),(16,18),(16,19),(17,24),(17,28),(18,22),(18,24),(18,28),(19,23),(19,24),(19,28),(20,21),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [7,4,3,5,6,2,1]=>[7,6,3,2,4,5,1]=>[7,3,4,6,5,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [7,4,3,6,5,2,1]=>[7,6,3,2,5,4,1]=>[7,3,2,6,5,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,26),(2,8),(2,9),(2,10),(2,26),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(8,28),(9,21),(9,23),(9,28),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,26),(13,18),(13,20),(13,26),(14,9),(14,17),(14,19),(15,10),(15,17),(15,20),(16,8),(16,19),(16,20),(16,26),(17,23),(17,24),(18,24),(18,28),(19,21),(19,24),(19,28),(20,22),(20,24),(20,28),(21,25),(21,27),(22,25),(22,27),(23,25),(23,27),(24,25),(24,27),(25,7),(26,28),(27,7),(28,27)],29) [7,4,5,1,3,6,2]=>[4,7,5,2,3,6,1]=>[7,4,5,6,2,1,3]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [7,4,5,2,1,3,6]=>[5,4,6,2,3,7,1]=>[5,4,6,7,2,3,1]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,11),(2,7),(2,8),(2,9),(3,14),(3,15),(3,18),(4,13),(4,14),(4,16),(5,13),(5,15),(5,17),(6,2),(6,16),(6,17),(6,18),(7,21),(7,26),(7,27),(8,26),(9,21),(9,26),(10,24),(11,24),(11,25),(13,1),(13,22),(13,23),(14,19),(14,22),(15,20),(15,22),(16,9),(16,19),(16,23),(17,8),(17,20),(17,23),(18,7),(18,19),(18,20),(19,21),(19,27),(20,26),(20,27),(21,24),(21,25),(22,10),(22,27),(23,11),(23,26),(23,27),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [7,4,5,2,3,6,1]=>[7,4,5,2,3,6,1]=>[7,4,5,6,2,3,1]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,23),(2,7),(2,8),(2,25),(3,11),(3,12),(3,13),(4,13),(4,14),(4,16),(5,12),(5,14),(5,15),(6,2),(6,11),(6,15),(6,16),(7,22),(8,22),(8,23),(9,19),(11,17),(11,18),(11,25),(12,18),(12,20),(13,17),(13,20),(14,1),(14,20),(14,25),(15,7),(15,18),(15,25),(16,8),(16,17),(16,25),(17,23),(17,24),(18,22),(18,24),(19,10),(20,9),(20,24),(21,10),(22,21),(23,19),(23,21),(24,19),(24,21),(25,22),(25,23),(25,24)],26) [7,4,5,3,1,2,6]=>[5,6,4,2,3,7,1]=>[5,4,6,7,2,1,3]=>([(0,3),(0,4),(0,5),(0,6),(1,10),(1,22),(2,7),(2,8),(2,9),(3,12),(3,14),(3,15),(4,13),(4,14),(4,16),(5,12),(5,13),(5,17),(6,2),(6,15),(6,16),(6,17),(7,27),(8,21),(8,27),(9,21),(9,22),(9,27),(10,25),(12,20),(12,23),(13,18),(13,23),(14,1),(14,19),(14,23),(15,7),(15,19),(15,20),(16,8),(16,18),(16,19),(17,9),(17,18),(17,20),(18,21),(18,24),(19,22),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,10),(23,24),(24,25),(24,26),(25,11),(26,11),(27,26)],28) [7,4,5,6,3,2,1]=>[7,6,5,2,3,4,1]=>[7,2,3,6,5,4,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [7,4,6,1,5,3,2]=>[4,7,6,2,5,3,1]=>[7,6,4,5,2,1,3]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [7,4,6,2,5,3,1]=>[7,4,6,2,5,3,1]=>[7,6,4,5,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,19),(2,10),(2,13),(2,21),(3,9),(3,10),(3,21),(4,9),(4,12),(4,21),(5,1),(5,12),(5,13),(5,21),(7,15),(7,16),(8,15),(8,20),(9,18),(10,14),(10,18),(11,6),(12,8),(12,18),(12,19),(13,7),(13,14),(13,19),(14,16),(14,20),(15,11),(15,17),(16,11),(16,17),(17,6),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [7,4,6,5,1,3,2]=>[5,7,6,2,4,3,1]=>[7,5,4,6,2,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [7,4,6,5,2,1,3]=>[6,5,7,2,4,3,1]=>[6,5,4,7,2,3,1]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [7,4,6,5,2,3,1]=>[7,5,6,2,4,3,1]=>[7,5,4,6,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [7,4,6,5,3,1,2]=>[6,7,5,2,4,3,1]=>[6,5,4,7,2,1,3]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [7,4,6,5,3,2,1]=>[7,6,5,2,4,3,1]=>[7,6,2,5,4,3,1]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [7,5,1,2,3,4,6]=>[3,4,5,6,2,7,1]=>[3,2,4,1,5,6,7]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [7,5,1,2,3,6,4]=>[3,4,5,7,2,6,1]=>[3,2,7,1,4,5,6]=>([(0,2),(0,4),(0,5),(0,7),(1,19),(1,20),(2,15),(2,23),(3,9),(3,10),(3,26),(4,12),(4,16),(4,23),(5,1),(5,12),(5,17),(5,23),(6,3),(6,8),(6,13),(6,14),(7,6),(7,15),(7,16),(7,17),(8,21),(8,26),(9,27),(10,27),(10,28),(12,18),(12,19),(12,20),(13,9),(13,26),(14,10),(14,21),(14,22),(14,26),(15,13),(15,24),(16,8),(16,18),(16,24),(17,14),(17,18),(17,19),(17,24),(18,21),(18,22),(18,25),(19,22),(19,25),(20,25),(21,27),(21,28),(22,27),(22,28),(23,20),(23,24),(24,25),(24,26),(25,28),(26,27),(26,28),(27,11),(28,11)],29) [7,5,1,2,4,6,3]=>[3,4,7,5,2,6,1]=>[7,3,4,2,1,5,6]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,22),(2,8),(2,9),(2,10),(3,12),(3,13),(3,15),(4,12),(4,14),(4,16),(5,2),(5,14),(5,15),(5,17),(6,1),(6,13),(6,16),(6,17),(8,23),(8,24),(8,29),(9,29),(10,23),(10,29),(11,25),(12,19),(12,20),(13,18),(13,20),(13,22),(14,10),(14,19),(14,21),(15,9),(15,18),(15,19),(16,11),(16,20),(16,21),(17,8),(17,18),(17,21),(17,22),(18,24),(18,26),(18,29),(19,26),(19,29),(20,25),(20,26),(21,23),(21,25),(21,26),(22,24),(22,25),(23,27),(23,28),(24,27),(24,28),(25,28),(26,27),(26,28),(27,7),(28,7),(29,27)],30) [7,5,1,4,2,3,6]=>[3,5,6,4,2,7,1]=>[5,3,4,2,1,6,7]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,7),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,10),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(7,24),(9,26),(9,27),(10,23),(11,20),(11,23),(12,9),(12,24),(12,25),(13,9),(13,20),(13,23),(14,10),(14,22),(15,11),(15,19),(15,22),(16,7),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,25),(19,20),(19,24),(19,25),(20,26),(20,27),(21,18),(21,22),(22,23),(22,25),(23,26),(24,27),(25,26),(25,27),(26,8),(27,8)],28) [7,5,2,1,3,4,6]=>[4,3,5,6,2,7,1]=>[4,3,5,2,6,7,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,7),(1,9),(1,29),(2,13),(2,14),(2,27),(3,12),(3,16),(3,27),(4,11),(4,14),(4,15),(4,27),(5,1),(5,10),(5,15),(5,16),(5,27),(6,10),(6,11),(6,12),(6,13),(7,23),(9,23),(9,24),(10,18),(10,20),(10,28),(10,29),(11,17),(11,20),(11,28),(12,18),(12,28),(13,17),(13,28),(14,17),(14,19),(15,9),(15,19),(15,20),(15,29),(16,7),(16,18),(16,29),(17,26),(18,23),(18,25),(19,24),(19,26),(20,24),(20,25),(20,26),(21,8),(22,8),(23,22),(24,21),(24,22),(25,21),(25,22),(26,21),(27,19),(27,28),(27,29),(28,25),(28,26),(29,23),(29,24),(29,25)],30) [7,5,2,1,4,6,3]=>[4,3,7,5,2,6,1]=>[4,3,5,2,1,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,13),(1,21),(2,11),(2,14),(2,22),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,10),(5,12),(6,5),(6,13),(6,15),(6,17),(8,25),(8,26),(9,24),(10,20),(10,24),(11,19),(11,27),(12,20),(12,24),(12,27),(13,9),(13,23),(14,8),(14,19),(15,10),(15,18),(15,23),(16,14),(16,18),(16,22),(17,11),(17,12),(17,18),(17,23),(18,19),(18,20),(18,27),(19,26),(20,25),(20,26),(21,22),(21,23),(22,8),(22,27),(23,24),(23,27),(24,25),(25,7),(26,7),(27,25),(27,26)],28) [7,5,2,1,6,4,3]=>[4,3,7,6,2,5,1]=>[4,3,7,2,1,6,5]=>([(0,2),(0,4),(0,5),(0,7),(1,10),(1,26),(2,15),(2,22),(3,11),(3,14),(3,26),(4,3),(4,17),(4,18),(4,22),(5,1),(5,16),(5,18),(5,22),(6,9),(6,12),(6,13),(7,6),(7,15),(7,16),(7,17),(9,29),(10,24),(10,29),(11,21),(11,27),(11,29),(12,20),(12,27),(12,29),(13,20),(13,29),(14,21),(14,24),(14,29),(15,9),(15,23),(16,12),(16,19),(16,23),(16,26),(17,11),(17,13),(17,19),(17,23),(18,10),(18,14),(18,19),(18,26),(19,20),(19,21),(19,24),(19,27),(20,25),(20,28),(21,25),(21,28),(22,23),(22,26),(23,27),(23,29),(24,25),(24,28),(25,8),(26,24),(26,27),(27,25),(27,28),(28,8),(29,28)],30) [7,5,2,4,1,6,3]=>[5,3,7,4,2,6,1]=>[5,3,4,2,1,7,6]=>([(0,1),(0,3),(0,4),(0,6),(1,15),(1,23),(2,12),(2,13),(2,19),(3,16),(3,17),(3,23),(4,2),(4,17),(4,18),(4,23),(5,7),(5,8),(5,14),(6,5),(6,15),(6,16),(6,18),(7,25),(8,22),(8,25),(9,27),(9,28),(11,27),(11,28),(12,11),(12,21),(13,9),(13,21),(13,26),(14,9),(14,22),(14,25),(15,7),(15,24),(16,8),(16,20),(16,24),(17,12),(17,19),(17,20),(18,13),(18,14),(18,20),(18,24),(19,11),(19,26),(20,21),(20,22),(20,26),(21,28),(22,27),(22,28),(23,19),(23,24),(24,25),(24,26),(25,27),(26,27),(26,28),(27,10),(28,10)],29) [7,5,3,2,1,4,6]=>[5,4,3,6,2,7,1]=>[5,4,6,3,7,2,1]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [7,5,3,6,2,1,4]=>[6,5,3,7,2,4,1]=>[6,5,7,3,4,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [7,5,3,6,2,4,1]=>[7,5,3,6,2,4,1]=>[7,5,6,3,4,2,1]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,19),(2,10),(2,13),(2,21),(3,9),(3,10),(3,21),(4,9),(4,12),(4,21),(5,1),(5,12),(5,13),(5,21),(7,15),(7,16),(8,15),(8,20),(9,18),(10,14),(10,18),(11,6),(12,8),(12,18),(12,19),(13,7),(13,14),(13,19),(14,16),(14,20),(15,11),(15,17),(16,11),(16,17),(17,6),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [7,5,4,1,2,3,6]=>[4,5,6,3,2,7,1]=>[4,3,5,2,1,6,7]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [7,5,4,1,3,2,6]=>[4,6,5,3,2,7,1]=>[6,4,5,3,2,1,7]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [7,5,4,1,3,6,2]=>[4,7,5,3,2,6,1]=>[7,4,5,3,2,1,6]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [7,5,4,1,6,3,2]=>[4,7,6,3,2,5,1]=>[7,4,6,3,2,1,5]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,17),(2,22),(2,24),(3,13),(3,22),(3,24),(4,12),(4,15),(4,22),(5,1),(5,10),(5,11),(5,14),(5,23),(6,12),(6,13),(6,16),(6,24),(7,5),(7,15),(7,16),(7,17),(7,24),(9,25),(9,27),(10,20),(10,26),(10,29),(11,26),(11,29),(12,18),(12,28),(13,19),(13,28),(14,9),(14,20),(14,21),(14,26),(15,10),(15,18),(15,28),(16,14),(16,18),(16,19),(16,23),(17,11),(17,23),(17,28),(18,20),(18,29),(19,21),(19,29),(20,25),(20,27),(21,25),(21,27),(22,28),(23,21),(23,26),(23,29),(24,19),(24,23),(24,28),(25,8),(26,25),(26,27),(27,8),(28,29),(29,27)],30) [7,5,4,2,1,3,6]=>[5,4,6,3,2,7,1]=>[5,4,6,3,2,7,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,28),(2,12),(2,13),(2,19),(3,11),(3,13),(3,18),(4,1),(4,14),(4,15),(4,18),(4,19),(5,10),(5,11),(5,14),(5,19),(6,10),(6,12),(6,15),(6,18),(8,17),(8,25),(9,17),(9,26),(10,16),(10,22),(10,23),(11,22),(11,27),(12,23),(12,27),(13,27),(14,8),(14,16),(14,22),(14,28),(15,9),(15,16),(15,23),(15,28),(16,17),(16,25),(16,26),(17,20),(18,22),(18,27),(18,28),(19,23),(19,27),(19,28),(20,7),(21,7),(22,24),(22,25),(23,24),(23,26),(24,21),(25,20),(25,21),(26,20),(26,21),(27,24),(28,24),(28,25),(28,26)],29) [7,5,4,3,1,2,6]=>[5,6,4,3,2,7,1]=>[5,4,6,3,2,1,7]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [7,5,4,3,1,6,2]=>[5,7,4,3,2,6,1]=>[5,4,7,3,2,1,6]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [7,5,4,3,2,1,6]=>[6,5,4,3,2,7,1]=>[6,5,7,4,3,2,1]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [7,5,4,3,2,6,1]=>[7,5,4,3,2,6,1]=>[7,5,6,4,3,2,1]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [7,5,4,3,6,1,2]=>[6,7,4,3,2,5,1]=>[6,4,7,3,2,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,11),(1,22),(1,26),(1,27),(2,15),(2,19),(2,23),(3,13),(3,17),(3,19),(3,23),(4,12),(4,13),(4,23),(5,12),(5,16),(5,19),(6,1),(6,9),(6,10),(6,14),(6,21),(7,6),(7,15),(7,16),(7,17),(7,23),(9,22),(9,26),(10,26),(10,27),(10,28),(11,24),(11,29),(12,25),(13,18),(13,25),(14,11),(14,22),(14,26),(14,27),(15,9),(15,20),(15,21),(16,10),(16,20),(16,25),(17,14),(17,18),(17,20),(17,21),(18,27),(18,28),(19,20),(19,25),(20,26),(20,28),(21,22),(21,27),(21,28),(22,24),(22,29),(23,18),(23,21),(23,25),(24,8),(25,28),(26,24),(26,29),(27,24),(27,29),(28,29),(29,8)],30) [7,5,4,3,6,2,1]=>[7,6,4,3,2,5,1]=>[7,4,6,5,3,2,1]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [7,5,4,6,1,3,2]=>[5,7,6,3,2,4,1]=>[7,5,6,3,2,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [7,5,4,6,2,1,3]=>[6,5,7,3,2,4,1]=>[6,5,7,3,2,4,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [7,5,4,6,2,3,1]=>[7,5,6,3,2,4,1]=>[7,5,6,3,2,4,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [7,5,4,6,3,1,2]=>[6,7,5,3,2,4,1]=>[6,5,7,3,2,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [7,5,4,6,3,2,1]=>[7,6,5,3,2,4,1]=>[7,3,6,5,4,2,1]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [7,5,6,2,4,3,1]=>[7,4,6,5,2,3,1]=>[7,4,6,5,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [7,5,6,3,2,4,1]=>[7,5,4,6,2,3,1]=>[7,5,6,2,4,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [7,5,6,4,1,3,2]=>[5,7,6,4,2,3,1]=>[7,5,6,4,2,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [7,5,6,4,2,1,3]=>[6,5,7,4,2,3,1]=>[6,5,7,4,2,3,1]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [7,5,6,4,2,3,1]=>[7,5,6,4,2,3,1]=>[7,5,6,4,2,3,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,17),(1,18),(2,11),(2,12),(2,18),(3,10),(3,12),(3,17),(4,7),(4,8),(4,10),(4,18),(5,7),(5,9),(5,11),(5,17),(7,14),(7,21),(7,22),(8,14),(8,21),(8,23),(9,14),(9,22),(9,23),(10,21),(10,24),(11,22),(11,24),(12,24),(13,6),(14,15),(14,16),(15,13),(15,19),(16,13),(16,19),(17,21),(17,23),(17,24),(18,22),(18,23),(18,24),(19,6),(20,19),(21,15),(21,20),(22,16),(22,20),(23,15),(23,16),(23,20),(24,20)],25) [7,5,6,4,3,1,2]=>[6,7,5,4,2,3,1]=>[6,5,7,4,2,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,14),(1,15),(1,19),(1,20),(2,10),(2,11),(2,20),(3,9),(3,11),(3,19),(4,8),(4,9),(4,14),(4,20),(5,8),(5,10),(5,15),(5,19),(7,21),(7,24),(8,16),(8,22),(8,23),(9,22),(9,25),(10,23),(10,25),(11,25),(12,7),(12,17),(12,26),(13,7),(13,18),(13,26),(14,13),(14,16),(14,22),(15,12),(15,16),(15,23),(16,17),(16,18),(17,21),(17,24),(18,21),(18,24),(19,12),(19,22),(19,25),(20,13),(20,23),(20,25),(21,6),(22,17),(22,26),(23,18),(23,26),(24,6),(25,26),(26,24)],27) [7,5,6,4,3,2,1]=>[7,6,5,4,2,3,1]=>[7,2,6,5,4,3,1]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [7,6,1,2,3,4,5]=>[3,4,5,6,7,2,1]=>[3,2,1,4,5,6,7]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [7,6,1,2,3,5,4]=>[3,4,5,7,6,2,1]=>[7,3,2,1,4,5,6]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [7,6,1,2,5,3,4]=>[3,4,6,7,5,2,1]=>[6,3,2,1,4,5,7]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [7,6,1,2,5,4,3]=>[3,4,7,6,5,2,1]=>[7,6,3,2,1,4,5]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [7,6,1,4,3,2,5]=>[3,6,5,4,7,2,1]=>[6,5,3,4,2,1,7]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [7,6,1,4,5,3,2]=>[3,7,6,4,5,2,1]=>[7,6,3,4,2,1,5]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [7,6,1,5,2,3,4]=>[3,5,6,7,4,2,1]=>[5,3,2,1,4,6,7]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [7,6,1,5,2,4,3]=>[3,5,7,6,4,2,1]=>[7,5,3,2,1,4,6]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [7,6,1,5,4,2,3]=>[3,6,7,5,4,2,1]=>[6,5,3,2,1,4,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [7,6,1,5,4,3,2]=>[3,7,6,5,4,2,1]=>[7,6,5,3,2,1,4]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [7,6,2,1,3,4,5]=>[4,3,5,6,7,2,1]=>[4,3,2,5,6,7,1]=>([(0,4),(0,5),(0,6),(1,17),(2,7),(2,11),(3,1),(3,10),(3,12),(4,13),(4,14),(5,3),(5,14),(5,15),(6,2),(6,13),(6,15),(7,19),(9,20),(9,21),(10,17),(10,18),(11,9),(11,19),(12,9),(12,17),(12,18),(13,7),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,18),(16,19),(17,21),(18,20),(18,21),(19,20),(20,8),(21,8)],22) [7,6,2,1,3,5,4]=>[4,3,5,7,6,2,1]=>[4,3,2,1,5,7,6]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,18),(8,18),(8,19),(9,19),(11,1),(11,17),(12,7),(12,16),(13,8),(13,16),(14,12),(14,17),(15,13),(15,17),(16,18),(16,19),(17,9),(17,16),(18,10),(19,10)],20) [7,6,2,1,4,5,3]=>[4,3,7,5,6,2,1]=>[4,3,2,5,1,7,6]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [7,6,2,1,5,3,4]=>[4,3,6,7,5,2,1]=>[4,3,2,1,6,7,5]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [7,6,2,1,5,4,3]=>[4,3,7,6,5,2,1]=>[7,4,3,2,1,6,5]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [7,6,2,3,1,5,4]=>[5,3,4,7,6,2,1]=>[5,3,2,1,4,7,6]=>([(0,1),(0,4),(0,5),(0,6),(1,12),(1,19),(2,14),(2,15),(2,22),(3,11),(3,16),(3,26),(4,10),(4,13),(4,19),(5,2),(5,13),(5,17),(5,19),(6,3),(6,10),(6,12),(6,17),(7,23),(7,24),(8,23),(8,24),(10,20),(10,26),(11,18),(12,11),(12,26),(13,14),(13,20),(13,22),(14,8),(14,21),(15,7),(15,21),(15,25),(16,7),(16,18),(16,25),(17,15),(17,16),(17,20),(17,26),(18,24),(19,22),(19,26),(20,21),(20,25),(21,23),(22,8),(22,25),(23,9),(24,9),(25,23),(25,24),(26,18),(26,25)],27) [7,6,2,3,4,5,1]=>[7,3,4,5,6,2,1]=>[7,3,2,4,5,6,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,1),(2,8),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,13),(4,15),(5,11),(5,12),(5,14),(6,2),(6,14),(6,15),(6,16),(8,21),(8,23),(8,24),(9,22),(9,23),(9,24),(10,21),(10,22),(10,24),(11,17),(11,20),(12,17),(12,18),(13,17),(13,19),(14,8),(14,18),(14,20),(15,9),(15,19),(15,20),(16,10),(16,18),(16,19),(17,25),(18,21),(18,25),(19,22),(19,25),(20,23),(20,25),(21,26),(21,27),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(26,7),(27,7)],28) [7,6,2,3,5,4,1]=>[7,3,4,6,5,2,1]=>[7,6,3,2,4,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [7,6,2,5,1,3,4]=>[5,3,6,7,4,2,1]=>[5,3,2,1,6,7,4]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [7,6,2,5,1,4,3]=>[5,3,7,6,4,2,1]=>[7,5,3,2,1,6,4]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [7,6,2,5,4,1,3]=>[6,3,7,5,4,2,1]=>[6,5,3,2,1,7,4]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [7,6,2,5,4,3,1]=>[7,3,6,5,4,2,1]=>[7,6,5,3,2,4,1]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [7,6,3,1,2,4,5]=>[4,5,3,6,7,2,1]=>[4,3,2,5,6,1,7]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,25),(2,12),(2,17),(3,13),(3,15),(3,17),(4,1),(4,13),(4,14),(4,17),(5,8),(5,9),(5,10),(6,5),(6,12),(6,14),(6,15),(8,19),(8,22),(9,22),(10,19),(10,22),(10,24),(11,18),(12,9),(12,23),(13,11),(13,16),(13,25),(14,10),(14,16),(14,23),(14,25),(15,8),(15,16),(15,23),(16,18),(16,19),(16,24),(17,23),(17,25),(18,21),(19,20),(19,21),(20,7),(21,7),(22,20),(23,22),(23,24),(24,20),(24,21),(25,18),(25,24)],26) [7,6,3,1,2,5,4]=>[4,5,3,7,6,2,1]=>[4,3,2,1,7,5,6]=>([(0,5),(0,6),(0,7),(1,19),(1,20),(2,9),(3,1),(3,8),(3,10),(4,3),(4,13),(4,14),(5,12),(5,15),(6,12),(6,16),(7,4),(7,15),(7,16),(8,19),(9,20),(10,19),(10,20),(12,2),(12,18),(13,8),(13,17),(14,10),(14,17),(15,13),(15,18),(16,14),(16,18),(17,19),(17,20),(18,9),(18,17),(19,11),(20,11)],21) [7,6,3,1,5,2,4]=>[4,6,3,7,5,2,1]=>[4,3,2,1,6,5,7]=>([(0,4),(0,5),(0,6),(1,9),(2,7),(2,8),(2,19),(3,2),(3,12),(3,13),(4,11),(4,14),(5,11),(5,15),(6,3),(6,14),(6,15),(7,17),(8,17),(8,18),(9,18),(11,1),(11,16),(12,7),(12,19),(13,8),(13,19),(14,12),(14,16),(15,13),(15,16),(16,9),(16,19),(17,10),(18,10),(19,17),(19,18)],20) [7,6,3,2,1,4,5]=>[5,4,3,6,7,2,1]=>[5,4,3,6,7,2,1]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [7,6,3,2,1,5,4]=>[5,4,3,7,6,2,1]=>[5,4,3,2,7,6,1]=>([(0,4),(0,5),(0,6),(1,16),(2,7),(2,9),(2,19),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(7,18),(7,20),(9,18),(9,20),(10,15),(10,16),(11,9),(11,17),(12,7),(12,17),(12,19),(13,11),(13,15),(14,12),(14,15),(14,16),(15,17),(15,19),(16,19),(17,18),(17,20),(18,8),(19,20),(20,8)],21) [7,6,3,2,4,5,1]=>[7,4,3,5,6,2,1]=>[7,4,3,5,6,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [7,6,3,2,5,4,1]=>[7,4,3,6,5,2,1]=>[7,4,3,2,6,5,1]=>([(0,3),(0,4),(0,5),(0,6),(1,26),(2,8),(2,9),(2,10),(2,26),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(8,28),(9,21),(9,23),(9,28),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,26),(13,18),(13,20),(13,26),(14,9),(14,17),(14,19),(15,10),(15,17),(15,20),(16,8),(16,19),(16,20),(16,26),(17,23),(17,24),(18,24),(18,28),(19,21),(19,24),(19,28),(20,22),(20,24),(20,28),(21,25),(21,27),(22,25),(22,27),(23,25),(23,27),(24,25),(24,27),(25,7),(26,28),(27,7),(28,27)],29) [7,6,3,4,2,1,5]=>[6,5,3,4,7,2,1]=>[6,5,3,4,7,2,1]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [7,6,3,4,5,2,1]=>[7,6,3,4,5,2,1]=>[7,6,3,4,5,2,1]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [7,6,3,5,4,2,1]=>[7,6,3,5,4,2,1]=>[7,6,5,3,4,2,1]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [7,6,4,1,2,3,5]=>[4,5,6,3,7,2,1]=>[4,3,2,5,1,6,7]=>([(0,1),(0,2),(0,5),(0,6),(1,12),(1,21),(2,11),(2,21),(3,9),(3,13),(3,22),(4,10),(4,14),(4,23),(5,3),(5,11),(5,15),(5,21),(6,4),(6,12),(6,15),(6,21),(7,18),(7,19),(9,16),(10,17),(11,9),(11,22),(12,10),(12,23),(13,7),(13,16),(13,20),(14,7),(14,17),(14,20),(15,13),(15,14),(15,22),(15,23),(16,18),(17,19),(18,8),(19,8),(20,18),(20,19),(21,22),(21,23),(22,16),(22,20),(23,17),(23,20)],24) [7,6,4,1,2,5,3]=>[4,5,7,3,6,2,1]=>[4,3,2,7,1,5,6]=>([(0,2),(0,5),(0,6),(0,7),(1,20),(1,21),(2,13),(2,19),(3,11),(3,15),(3,26),(4,1),(4,12),(4,16),(4,24),(5,10),(5,14),(5,19),(6,4),(6,14),(6,17),(6,19),(7,3),(7,10),(7,13),(7,17),(8,27),(8,28),(10,22),(10,26),(11,18),(12,20),(12,21),(12,23),(13,11),(13,26),(14,12),(14,22),(14,24),(15,8),(15,18),(15,25),(16,8),(16,21),(16,23),(16,25),(17,15),(17,16),(17,22),(17,26),(18,27),(19,24),(19,26),(20,28),(21,27),(21,28),(22,23),(22,25),(23,27),(23,28),(24,20),(24,25),(25,27),(25,28),(26,18),(26,25),(27,9),(28,9)],29) [7,6,4,2,1,3,5]=>[5,4,6,3,7,2,1]=>[5,4,3,6,2,7,1]=>([(0,1),(0,2),(0,3),(0,5),(0,6),(1,12),(1,16),(1,27),(2,11),(2,13),(2,27),(3,13),(3,15),(3,27),(4,8),(4,9),(4,10),(4,26),(5,11),(5,12),(5,14),(5,27),(6,4),(6,14),(6,15),(6,16),(6,27),(8,18),(8,23),(9,18),(9,23),(9,25),(10,23),(10,24),(11,21),(11,22),(12,17),(12,21),(13,22),(14,9),(14,17),(14,21),(14,26),(15,10),(15,22),(15,26),(16,8),(16,17),(16,26),(17,18),(17,25),(18,19),(19,7),(20,7),(21,24),(21,25),(22,24),(23,19),(23,20),(24,20),(25,19),(25,20),(26,23),(26,24),(26,25),(27,21),(27,22),(27,26)],28) [7,6,4,2,1,5,3]=>[5,4,7,3,6,2,1]=>[5,4,3,7,2,6,1]=>([(0,2),(0,3),(0,4),(0,6),(0,7),(1,9),(1,26),(1,29),(2,13),(2,18),(2,27),(3,14),(3,17),(3,27),(4,12),(4,14),(4,27),(5,1),(5,10),(5,11),(5,15),(5,25),(6,12),(6,13),(6,16),(6,27),(7,5),(7,16),(7,17),(7,18),(7,27),(9,24),(9,28),(10,20),(10,26),(10,29),(11,26),(11,29),(12,21),(12,22),(13,19),(13,21),(14,22),(15,9),(15,20),(15,23),(15,26),(16,15),(16,19),(16,21),(16,25),(17,11),(17,22),(17,25),(18,10),(18,19),(18,25),(19,20),(19,23),(20,24),(20,28),(21,23),(21,29),(22,29),(23,24),(23,28),(24,8),(25,23),(25,26),(25,29),(26,24),(26,28),(27,21),(27,22),(27,25),(28,8),(29,28)],30) [7,6,4,3,1,2,5]=>[5,6,4,3,7,2,1]=>[5,4,3,6,2,1,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [7,6,4,3,1,5,2]=>[5,7,4,3,6,2,1]=>[5,4,3,7,2,1,6]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(1,25),(2,15),(2,23),(3,11),(3,19),(4,1),(4,10),(4,16),(4,23),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,11),(7,12),(7,14),(9,22),(9,26),(10,20),(10,25),(11,21),(12,18),(12,21),(12,23),(13,22),(13,26),(14,10),(14,18),(14,21),(15,9),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,23),(18,20),(18,24),(18,25),(19,21),(19,23),(20,22),(20,26),(21,25),(22,8),(23,24),(23,25),(24,22),(24,26),(25,26),(26,8)],27) [7,6,4,3,2,1,5]=>[6,5,4,3,7,2,1]=>[6,5,4,7,3,2,1]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [7,6,4,3,2,5,1]=>[7,5,4,3,6,2,1]=>[7,5,4,6,3,2,1]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [7,6,4,3,5,2,1]=>[7,6,4,3,5,2,1]=>[7,6,4,5,3,2,1]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [7,6,4,5,3,2,1]=>[7,6,5,3,4,2,1]=>[7,6,3,5,4,2,1]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [7,6,5,1,2,3,4]=>[4,5,6,7,3,2,1]=>[4,3,2,1,5,6,7]=>([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16) [7,6,5,1,2,4,3]=>[4,5,7,6,3,2,1]=>[7,4,3,2,1,5,6]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [7,6,5,1,4,2,3]=>[4,6,7,5,3,2,1]=>[6,4,3,2,1,5,7]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [7,6,5,1,4,3,2]=>[4,7,6,5,3,2,1]=>[7,6,4,3,2,1,5]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [7,6,5,2,1,3,4]=>[5,4,6,7,3,2,1]=>[5,4,3,2,6,7,1]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [7,6,5,2,1,4,3]=>[5,4,7,6,3,2,1]=>[5,4,3,2,1,7,6]=>([(0,5),(0,6),(1,11),(2,3),(2,13),(3,4),(3,10),(4,9),(4,14),(5,1),(5,12),(6,2),(6,12),(7,14),(9,8),(10,9),(10,14),(11,7),(12,11),(12,13),(13,7),(13,10),(14,8)],15) [7,6,5,2,3,4,1]=>[7,4,5,6,3,2,1]=>[7,4,3,2,5,6,1]=>([(0,3),(0,4),(0,5),(0,6),(1,24),(2,8),(2,9),(2,10),(3,11),(3,13),(3,15),(4,11),(4,12),(4,14),(5,2),(5,14),(5,15),(5,16),(6,1),(6,12),(6,13),(6,16),(8,21),(8,22),(9,21),(9,23),(10,22),(10,23),(10,28),(11,17),(11,18),(12,18),(12,19),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(15,9),(15,17),(15,20),(16,10),(16,19),(16,20),(16,24),(17,21),(17,25),(18,25),(18,28),(19,22),(19,25),(19,28),(20,23),(20,25),(20,28),(21,26),(22,26),(22,27),(23,26),(23,27),(24,28),(25,26),(25,27),(26,7),(27,7),(28,27)],29) [7,6,5,2,4,1,3]=>[6,4,7,5,3,2,1]=>[6,4,3,2,1,7,5]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [7,6,5,2,4,3,1]=>[7,4,6,5,3,2,1]=>[7,6,4,3,2,5,1]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [7,6,5,3,1,2,4]=>[5,6,4,7,3,2,1]=>[5,4,3,2,6,1,7]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [7,6,5,3,1,4,2]=>[5,7,4,6,3,2,1]=>[5,4,3,2,7,1,6]=>([(0,2),(0,3),(0,6),(0,7),(1,21),(1,22),(2,11),(2,19),(3,12),(3,19),(4,5),(4,14),(4,15),(4,20),(5,1),(5,8),(5,9),(5,18),(6,11),(6,13),(6,19),(7,4),(7,12),(7,13),(7,19),(8,21),(8,22),(9,21),(9,22),(11,16),(12,15),(12,20),(13,14),(13,16),(13,20),(14,9),(14,17),(14,18),(15,8),(15,18),(16,17),(17,22),(18,21),(18,22),(19,16),(19,20),(20,17),(20,18),(21,10),(22,10)],23) [7,6,5,3,2,1,4]=>[6,5,4,7,3,2,1]=>[6,5,4,3,7,2,1]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [7,6,5,3,2,4,1]=>[7,5,4,6,3,2,1]=>[7,5,4,3,6,2,1]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [7,6,5,3,4,1,2]=>[6,7,4,5,3,2,1]=>[6,4,3,2,7,1,5]=>([(0,2),(0,3),(0,4),(0,5),(0,7),(1,23),(1,24),(2,8),(2,16),(2,21),(3,8),(3,15),(3,21),(4,9),(4,10),(4,15),(4,21),(5,9),(5,11),(5,16),(5,21),(6,1),(6,13),(6,14),(6,18),(6,19),(7,6),(7,10),(7,11),(7,15),(7,16),(8,26),(9,20),(9,29),(10,13),(10,18),(10,20),(10,29),(11,14),(11,19),(11,20),(11,29),(13,17),(13,23),(13,24),(13,28),(14,17),(14,23),(14,24),(14,28),(15,18),(15,26),(15,29),(16,19),(16,26),(16,29),(17,25),(17,27),(18,22),(18,23),(18,28),(19,22),(19,24),(19,28),(20,17),(20,28),(21,26),(21,29),(22,27),(23,25),(23,27),(24,25),(24,27),(25,12),(26,22),(27,12),(28,25),(28,27),(29,22),(29,28)],30) [7,6,5,3,4,2,1]=>[7,6,4,5,3,2,1]=>[7,6,4,3,5,2,1]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [7,6,5,4,1,2,3]=>[5,6,7,4,3,2,1]=>[5,4,3,2,1,6,7]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [7,6,5,4,1,3,2]=>[5,7,6,4,3,2,1]=>[7,5,4,3,2,1,6]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [7,6,5,4,2,1,3]=>[6,5,7,4,3,2,1]=>[6,5,4,3,2,7,1]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [7,6,5,4,2,3,1]=>[7,5,6,4,3,2,1]=>[7,5,4,3,2,6,1]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [7,6,5,4,3,1,2]=>[6,7,5,4,3,2,1]=>[6,5,4,3,2,1,7]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [7,6,5,4,3,2,1]=>[7,6,5,4,3,2,1]=>[7,6,5,4,3,2,1]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
Map
inverse
Description
Sends a permutation to its inverse.
Map
cactus evacuation
Description
The cactus evacuation of a permutation.
This is the involution obtained by applying evacuation to the recording tableau, while preserving the insertion tableau.
Map
pattern poset
Description
The pattern poset of a permutation.
This is the poset of all non-empty permutations that occur in the given permutation as a pattern, ordered by pattern containment.