Identifier
Mp00025: to 132-avoiding permutationPermutations
Mp00086: Permutations first fundamental transformationPermutations
Mp00209: Permutations pattern poset
Images
=>
Cc0005;cc-rep-0Cc0014;cc-rep-3
[1,0]=>[1]=>[1]=>([],1) [1,0,1,0]=>[2,1]=>[2,1]=>([(0,1)],2) [1,1,0,0]=>[1,2]=>[1,2]=>([(0,1)],2) [1,0,1,0,1,0]=>[3,2,1]=>[3,1,2]=>([(0,1),(0,2),(1,3),(2,3)],4) [1,0,1,1,0,0]=>[2,3,1]=>[3,2,1]=>([(0,2),(2,1)],3) [1,1,0,0,1,0]=>[3,1,2]=>[2,3,1]=>([(0,1),(0,2),(1,3),(2,3)],4) [1,1,0,1,0,0]=>[2,1,3]=>[2,1,3]=>([(0,1),(0,2),(1,3),(2,3)],4) [1,1,1,0,0,0]=>[1,2,3]=>[1,2,3]=>([(0,2),(2,1)],3) [1,0,1,0,1,0,1,0]=>[4,3,2,1]=>[4,1,2,3]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,0,1,0,1,1,0,0]=>[3,4,2,1]=>[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) [1,0,1,1,0,0,1,0]=>[4,2,3,1]=>[4,3,1,2]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,0,1,1,0,1,0,0]=>[3,2,4,1]=>[4,3,2,1]=>([(0,3),(2,1),(3,2)],4) [1,0,1,1,1,0,0,0]=>[2,3,4,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) [1,1,0,0,1,0,1,0]=>[4,3,1,2]=>[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) [1,1,0,0,1,1,0,0]=>[3,4,1,2]=>[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) [1,1,0,1,0,0,1,0]=>[4,2,1,3]=>[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) [1,1,0,1,0,1,0,0]=>[3,2,1,4]=>[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,1,0,1,1,0,0,0]=>[2,3,1,4]=>[3,2,1,4]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,1,1,0,0,0,1,0]=>[4,1,2,3]=>[2,3,4,1]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,1,1,0,0,1,0,0]=>[3,1,2,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) [1,1,1,0,1,0,0,0]=>[2,1,3,4]=>[2,1,3,4]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,1,1,1,0,0,0,0]=>[1,2,3,4]=>[1,2,3,4]=>([(0,3),(2,1),(3,2)],4) [1,0,1,0,1,0,1,0,1,0]=>[5,4,3,2,1]=>[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,0,1,0,1,0,1,1,0,0]=>[4,5,3,2,1]=>[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) [1,0,1,0,1,1,0,0,1,0]=>[5,3,4,2,1]=>[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,0,1,0,1,1,0,1,0,0]=>[4,3,5,2,1]=>[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) [1,0,1,0,1,1,1,0,0,0]=>[3,4,5,2,1]=>[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) [1,0,1,1,0,0,1,0,1,0]=>[5,4,2,3,1]=>[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,0,1,1,0,0,1,1,0,0]=>[4,5,2,3,1]=>[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) [1,0,1,1,0,1,0,0,1,0]=>[5,3,2,4,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) [1,0,1,1,0,1,0,1,0,0]=>[4,3,2,5,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) [1,0,1,1,0,1,1,0,0,0]=>[3,4,2,5,1]=>[5,4,3,2,1]=>([(0,4),(2,3),(3,1),(4,2)],5) [1,0,1,1,1,0,0,0,1,0]=>[5,2,3,4,1]=>[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) [1,0,1,1,1,0,0,1,0,0]=>[4,2,3,5,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) [1,0,1,1,1,0,1,0,0,0]=>[3,2,4,5,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) [1,0,1,1,1,1,0,0,0,0]=>[2,3,4,5,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) [1,1,0,0,1,0,1,0,1,0]=>[5,4,3,1,2]=>[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) [1,1,0,0,1,0,1,1,0,0]=>[4,5,3,1,2]=>[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) [1,1,0,0,1,1,0,0,1,0]=>[5,3,4,1,2]=>[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) [1,1,0,0,1,1,0,1,0,0]=>[4,3,5,1,2]=>[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) [1,1,0,0,1,1,1,0,0,0]=>[3,4,5,1,2]=>[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) [1,1,0,1,0,0,1,0,1,0]=>[5,4,2,1,3]=>[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,1,0,1,0,0,1,1,0,0]=>[4,5,2,1,3]=>[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) [1,1,0,1,0,1,0,0,1,0]=>[5,3,2,1,4]=>[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) [1,1,0,1,0,1,0,1,0,0]=>[4,3,2,1,5]=>[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,1,0,1,0,1,1,0,0,0]=>[3,4,2,1,5]=>[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,1,0,1,1,0,0,0,1,0]=>[5,2,3,1,4]=>[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) [1,1,0,1,1,0,0,1,0,0]=>[4,2,3,1,5]=>[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,1,0,1,1,0,1,0,0,0]=>[3,2,4,1,5]=>[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) [1,1,0,1,1,1,0,0,0,0]=>[2,3,4,1,5]=>[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) [1,1,1,0,0,0,1,0,1,0]=>[5,4,1,2,3]=>[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) [1,1,1,0,0,0,1,1,0,0]=>[4,5,1,2,3]=>[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) [1,1,1,0,0,1,0,0,1,0]=>[5,3,1,2,4]=>[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) [1,1,1,0,0,1,0,1,0,0]=>[4,3,1,2,5]=>[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) [1,1,1,0,0,1,1,0,0,0]=>[3,4,1,2,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) [1,1,1,0,1,0,0,0,1,0]=>[5,2,1,3,4]=>[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) [1,1,1,0,1,0,0,1,0,0]=>[4,2,1,3,5]=>[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) [1,1,1,0,1,0,1,0,0,0]=>[3,2,1,4,5]=>[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,1,1,0,1,1,0,0,0,0]=>[2,3,1,4,5]=>[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) [1,1,1,1,0,0,0,0,1,0]=>[5,1,2,3,4]=>[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) [1,1,1,1,0,0,0,1,0,0]=>[4,1,2,3,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) [1,1,1,1,0,0,1,0,0,0]=>[3,1,2,4,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) [1,1,1,1,0,1,0,0,0,0]=>[2,1,3,4,5]=>[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) [1,1,1,1,1,0,0,0,0,0]=>[1,2,3,4,5]=>[1,2,3,4,5]=>([(0,4),(2,3),(3,1),(4,2)],5) [1,0,1,0,1,0,1,0,1,0,1,0]=>[6,5,4,3,2,1]=>[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,0,1,0,1,0,1,0,1,1,0,0]=>[5,6,4,3,2,1]=>[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) [1,0,1,0,1,0,1,1,0,0,1,0]=>[6,4,5,3,2,1]=>[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,0,1,0,1,0,1,1,0,1,0,0]=>[5,4,6,3,2,1]=>[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) [1,0,1,0,1,0,1,1,1,0,0,0]=>[4,5,6,3,2,1]=>[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) [1,0,1,0,1,1,0,0,1,0,1,0]=>[6,5,3,4,2,1]=>[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,0,1,0,1,1,0,0,1,1,0,0]=>[5,6,3,4,2,1]=>[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) [1,0,1,0,1,1,0,1,0,0,1,0]=>[6,4,3,5,2,1]=>[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,0,1,0,1,1,0,1,0,1,0,0]=>[5,4,3,6,2,1]=>[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) [1,0,1,0,1,1,0,1,1,0,0,0]=>[4,5,3,6,2,1]=>[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) [1,0,1,0,1,1,1,0,0,0,1,0]=>[6,3,4,5,2,1]=>[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) [1,0,1,0,1,1,1,0,0,1,0,0]=>[5,3,4,6,2,1]=>[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) [1,0,1,0,1,1,1,0,1,0,0,0]=>[4,3,5,6,2,1]=>[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) [1,0,1,0,1,1,1,1,0,0,0,0]=>[3,4,5,6,2,1]=>[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) [1,0,1,1,0,0,1,0,1,0,1,0]=>[6,5,4,2,3,1]=>[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,0,1,1,0,0,1,0,1,1,0,0]=>[5,6,4,2,3,1]=>[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) [1,0,1,1,0,0,1,1,0,0,1,0]=>[6,4,5,2,3,1]=>[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,0,1,1,0,0,1,1,0,1,0,0]=>[5,4,6,2,3,1]=>[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) [1,0,1,1,0,0,1,1,1,0,0,0]=>[4,5,6,2,3,1]=>[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) [1,0,1,1,0,1,0,0,1,0,1,0]=>[6,5,3,2,4,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) [1,0,1,1,0,1,0,0,1,1,0,0]=>[5,6,3,2,4,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) [1,0,1,1,0,1,0,1,0,0,1,0]=>[6,4,3,2,5,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) [1,0,1,1,0,1,0,1,0,1,0,0]=>[5,4,3,2,6,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) [1,0,1,1,0,1,0,1,1,0,0,0]=>[4,5,3,2,6,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) [1,0,1,1,0,1,1,0,0,0,1,0]=>[6,3,4,2,5,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) [1,0,1,1,0,1,1,0,0,1,0,0]=>[5,3,4,2,6,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) [1,0,1,1,0,1,1,0,1,0,0,0]=>[4,3,5,2,6,1]=>[6,5,4,3,2,1]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6) [1,0,1,1,0,1,1,1,0,0,0,0]=>[3,4,5,2,6,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) [1,0,1,1,1,0,0,0,1,0,1,0]=>[6,5,2,3,4,1]=>[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) [1,0,1,1,1,0,0,0,1,1,0,0]=>[5,6,2,3,4,1]=>[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) [1,0,1,1,1,0,0,1,0,0,1,0]=>[6,4,2,3,5,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) [1,0,1,1,1,0,0,1,0,1,0,0]=>[5,4,2,3,6,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) [1,0,1,1,1,0,0,1,1,0,0,0]=>[4,5,2,3,6,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) [1,0,1,1,1,0,1,0,0,0,1,0]=>[6,3,2,4,5,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) [1,0,1,1,1,0,1,0,0,1,0,0]=>[5,3,2,4,6,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) [1,0,1,1,1,0,1,0,1,0,0,0]=>[4,3,2,5,6,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) [1,0,1,1,1,0,1,1,0,0,0,0]=>[3,4,2,5,6,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) [1,0,1,1,1,1,0,0,0,0,1,0]=>[6,2,3,4,5,1]=>[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) [1,0,1,1,1,1,0,0,0,1,0,0]=>[5,2,3,4,6,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) [1,0,1,1,1,1,0,0,1,0,0,0]=>[4,2,3,5,6,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) [1,0,1,1,1,1,0,1,0,0,0,0]=>[3,2,4,5,6,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) [1,0,1,1,1,1,1,0,0,0,0,0]=>[2,3,4,5,6,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) [1,1,0,0,1,0,1,0,1,0,1,0]=>[6,5,4,3,1,2]=>[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) [1,1,0,0,1,0,1,0,1,1,0,0]=>[5,6,4,3,1,2]=>[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) [1,1,0,0,1,0,1,1,0,0,1,0]=>[6,4,5,3,1,2]=>[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) [1,1,0,0,1,0,1,1,0,1,0,0]=>[5,4,6,3,1,2]=>[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) [1,1,0,0,1,0,1,1,1,0,0,0]=>[4,5,6,3,1,2]=>[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) [1,1,0,0,1,1,0,0,1,0,1,0]=>[6,5,3,4,1,2]=>[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) [1,1,0,0,1,1,0,0,1,1,0,0]=>[5,6,3,4,1,2]=>[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) [1,1,0,0,1,1,0,1,0,0,1,0]=>[6,4,3,5,1,2]=>[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) [1,1,0,0,1,1,0,1,0,1,0,0]=>[5,4,3,6,1,2]=>[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) [1,1,0,0,1,1,0,1,1,0,0,0]=>[4,5,3,6,1,2]=>[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) [1,1,0,0,1,1,1,0,0,0,1,0]=>[6,3,4,5,1,2]=>[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) [1,1,0,0,1,1,1,0,0,1,0,0]=>[5,3,4,6,1,2]=>[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) [1,1,0,0,1,1,1,0,1,0,0,0]=>[4,3,5,6,1,2]=>[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) [1,1,0,0,1,1,1,1,0,0,0,0]=>[3,4,5,6,1,2]=>[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) [1,1,0,1,0,0,1,0,1,0,1,0]=>[6,5,4,2,1,3]=>[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,1,0,1,0,0,1,0,1,1,0,0]=>[5,6,4,2,1,3]=>[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) [1,1,0,1,0,0,1,1,0,0,1,0]=>[6,4,5,2,1,3]=>[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,1,0,1,0,0,1,1,0,1,0,0]=>[5,4,6,2,1,3]=>[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) [1,1,0,1,0,0,1,1,1,0,0,0]=>[4,5,6,2,1,3]=>[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) [1,1,0,1,0,1,0,0,1,0,1,0]=>[6,5,3,2,1,4]=>[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,1,0,1,0,1,0,0,1,1,0,0]=>[5,6,3,2,1,4]=>[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) [1,1,0,1,0,1,0,1,0,0,1,0]=>[6,4,3,2,1,5]=>[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) [1,1,0,1,0,1,0,1,0,1,0,0]=>[5,4,3,2,1,6]=>[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,1,0,1,0,1,0,1,1,0,0,0]=>[4,5,3,2,1,6]=>[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,1,0,1,0,1,1,0,0,0,1,0]=>[6,3,4,2,1,5]=>[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) [1,1,0,1,0,1,1,0,0,1,0,0]=>[5,3,4,2,1,6]=>[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,1,0,1,0,1,1,0,1,0,0,0]=>[4,3,5,2,1,6]=>[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,1,0,1,0,1,1,1,0,0,0,0]=>[3,4,5,2,1,6]=>[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,1,0,1,1,0,0,0,1,0,1,0]=>[6,5,2,3,1,4]=>[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,1,0,1,1,0,0,0,1,1,0,0]=>[5,6,2,3,1,4]=>[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) [1,1,0,1,1,0,0,1,0,0,1,0]=>[6,4,2,3,1,5]=>[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) [1,1,0,1,1,0,0,1,0,1,0,0]=>[5,4,2,3,1,6]=>[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,1,0,1,1,0,0,1,1,0,0,0]=>[4,5,2,3,1,6]=>[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) [1,1,0,1,1,0,1,0,0,0,1,0]=>[6,3,2,4,1,5]=>[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) [1,1,0,1,1,0,1,0,0,1,0,0]=>[5,3,2,4,1,6]=>[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) [1,1,0,1,1,0,1,0,1,0,0,0]=>[4,3,2,5,1,6]=>[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) [1,1,0,1,1,0,1,1,0,0,0,0]=>[3,4,2,5,1,6]=>[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) [1,1,0,1,1,1,0,0,0,0,1,0]=>[6,2,3,4,1,5]=>[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) [1,1,0,1,1,1,0,0,0,1,0,0]=>[5,2,3,4,1,6]=>[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) [1,1,0,1,1,1,0,0,1,0,0,0]=>[4,2,3,5,1,6]=>[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) [1,1,0,1,1,1,0,1,0,0,0,0]=>[3,2,4,5,1,6]=>[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) [1,1,0,1,1,1,1,0,0,0,0,0]=>[2,3,4,5,1,6]=>[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) [1,1,1,0,0,0,1,0,1,0,1,0]=>[6,5,4,1,2,3]=>[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) [1,1,1,0,0,0,1,0,1,1,0,0]=>[5,6,4,1,2,3]=>[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) [1,1,1,0,0,0,1,1,0,0,1,0]=>[6,4,5,1,2,3]=>[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) [1,1,1,0,0,0,1,1,0,1,0,0]=>[5,4,6,1,2,3]=>[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) [1,1,1,0,0,0,1,1,1,0,0,0]=>[4,5,6,1,2,3]=>[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) [1,1,1,0,0,1,0,0,1,0,1,0]=>[6,5,3,1,2,4]=>[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) [1,1,1,0,0,1,0,0,1,1,0,0]=>[5,6,3,1,2,4]=>[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) [1,1,1,0,0,1,0,1,0,0,1,0]=>[6,4,3,1,2,5]=>[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) [1,1,1,0,0,1,0,1,0,1,0,0]=>[5,4,3,1,2,6]=>[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) [1,1,1,0,0,1,0,1,1,0,0,0]=>[4,5,3,1,2,6]=>[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) [1,1,1,0,0,1,1,0,0,0,1,0]=>[6,3,4,1,2,5]=>[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) [1,1,1,0,0,1,1,0,0,1,0,0]=>[5,3,4,1,2,6]=>[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) [1,1,1,0,0,1,1,0,1,0,0,0]=>[4,3,5,1,2,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) [1,1,1,0,0,1,1,1,0,0,0,0]=>[3,4,5,1,2,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) [1,1,1,0,1,0,0,0,1,0,1,0]=>[6,5,2,1,3,4]=>[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) [1,1,1,0,1,0,0,0,1,1,0,0]=>[5,6,2,1,3,4]=>[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) [1,1,1,0,1,0,0,1,0,0,1,0]=>[6,4,2,1,3,5]=>[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) [1,1,1,0,1,0,0,1,0,1,0,0]=>[5,4,2,1,3,6]=>[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,1,1,0,1,0,0,1,1,0,0,0]=>[4,5,2,1,3,6]=>[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) [1,1,1,0,1,0,1,0,0,0,1,0]=>[6,3,2,1,4,5]=>[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) [1,1,1,0,1,0,1,0,0,1,0,0]=>[5,3,2,1,4,6]=>[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,1,1,0,1,0,1,0,1,0,0,0]=>[4,3,2,1,5,6]=>[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,1,1,0,1,0,1,1,0,0,0,0]=>[3,4,2,1,5,6]=>[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,1,1,0,1,1,0,0,0,0,1,0]=>[6,2,3,1,4,5]=>[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) [1,1,1,0,1,1,0,0,0,1,0,0]=>[5,2,3,1,4,6]=>[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) [1,1,1,0,1,1,0,0,1,0,0,0]=>[4,2,3,1,5,6]=>[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,1,1,0,1,1,0,1,0,0,0,0]=>[3,2,4,1,5,6]=>[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) [1,1,1,0,1,1,1,0,0,0,0,0]=>[2,3,4,1,5,6]=>[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) [1,1,1,1,0,0,0,0,1,0,1,0]=>[6,5,1,2,3,4]=>[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) [1,1,1,1,0,0,0,0,1,1,0,0]=>[5,6,1,2,3,4]=>[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) [1,1,1,1,0,0,0,1,0,0,1,0]=>[6,4,1,2,3,5]=>[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) [1,1,1,1,0,0,0,1,0,1,0,0]=>[5,4,1,2,3,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) [1,1,1,1,0,0,0,1,1,0,0,0]=>[4,5,1,2,3,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) [1,1,1,1,0,0,1,0,0,0,1,0]=>[6,3,1,2,4,5]=>[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) [1,1,1,1,0,0,1,0,0,1,0,0]=>[5,3,1,2,4,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) [1,1,1,1,0,0,1,0,1,0,0,0]=>[4,3,1,2,5,6]=>[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) [1,1,1,1,0,0,1,1,0,0,0,0]=>[3,4,1,2,5,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) [1,1,1,1,0,1,0,0,0,0,1,0]=>[6,2,1,3,4,5]=>[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) [1,1,1,1,0,1,0,0,0,1,0,0]=>[5,2,1,3,4,6]=>[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) [1,1,1,1,0,1,0,0,1,0,0,0]=>[4,2,1,3,5,6]=>[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) [1,1,1,1,0,1,0,1,0,0,0,0]=>[3,2,1,4,5,6]=>[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,1,1,1,0,1,1,0,0,0,0,0]=>[2,3,1,4,5,6]=>[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) [1,1,1,1,1,0,0,0,0,0,1,0]=>[6,1,2,3,4,5]=>[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) [1,1,1,1,1,0,0,0,0,1,0,0]=>[5,1,2,3,4,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) [1,1,1,1,1,0,0,0,1,0,0,0]=>[4,1,2,3,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) [1,1,1,1,1,0,0,1,0,0,0,0]=>[3,1,2,4,5,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) [1,1,1,1,1,0,1,0,0,0,0,0]=>[2,1,3,4,5,6]=>[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) [1,1,1,1,1,1,0,0,0,0,0,0]=>[1,2,3,4,5,6]=>[1,2,3,4,5,6]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6) [1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>[7,6,5,4,3,2,1]=>[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,0,1,0,1,0,1,0,1,0,1,1,0,0]=>[6,7,5,4,3,2,1]=>[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) [1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>[7,5,6,4,3,2,1]=>[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,0,1,0,1,0,1,0,1,1,0,1,0,0]=>[6,5,7,4,3,2,1]=>[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) [1,0,1,0,1,0,1,0,1,1,1,0,0,0]=>[5,6,7,4,3,2,1]=>[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) [1,0,1,0,1,0,1,1,0,1,1,0,0,0]=>[5,6,4,7,3,2,1]=>[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) [1,0,1,0,1,0,1,1,1,0,0,0,1,0]=>[7,4,5,6,3,2,1]=>[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) [1,0,1,0,1,0,1,1,1,0,0,1,0,0]=>[6,4,5,7,3,2,1]=>[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) [1,0,1,0,1,0,1,1,1,1,0,0,0,0]=>[4,5,6,7,3,2,1]=>[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) [1,0,1,0,1,1,0,1,1,0,1,0,0,0]=>[5,4,6,3,7,2,1]=>[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) [1,0,1,0,1,1,1,1,0,0,0,0,1,0]=>[7,3,4,5,6,2,1]=>[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) [1,0,1,0,1,1,1,1,0,0,0,1,0,0]=>[6,3,4,5,7,2,1]=>[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) [1,0,1,0,1,1,1,1,1,0,0,0,0,0]=>[3,4,5,6,7,2,1]=>[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) [1,0,1,1,0,0,1,0,1,0,1,0,1,0]=>[7,6,5,4,2,3,1]=>[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,0,1,1,0,0,1,0,1,1,0,1,0,0]=>[6,5,7,4,2,3,1]=>[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) [1,0,1,1,0,1,0,0,1,0,1,0,1,0]=>[7,6,5,3,2,4,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) [1,0,1,1,0,1,0,1,0,1,0,0,1,0]=>[7,5,4,3,2,6,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) [1,0,1,1,0,1,0,1,0,1,0,1,0,0]=>[6,5,4,3,2,7,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) [1,0,1,1,0,1,0,1,0,1,1,0,0,0]=>[5,6,4,3,2,7,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) [1,0,1,1,0,1,0,1,1,0,1,0,0,0]=>[5,4,6,3,2,7,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) [1,0,1,1,0,1,1,0,0,0,1,0,1,0]=>[7,6,3,4,2,5,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) [1,0,1,1,0,1,1,0,1,0,0,0,1,0]=>[7,4,3,5,2,6,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) [1,0,1,1,0,1,1,0,1,0,0,1,0,0]=>[6,4,3,5,2,7,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) [1,0,1,1,0,1,1,0,1,0,1,0,0,0]=>[5,4,3,6,2,7,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) [1,0,1,1,0,1,1,0,1,1,0,0,0,0]=>[4,5,3,6,2,7,1]=>[7,6,5,4,3,2,1]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7) [1,0,1,1,0,1,1,1,0,0,0,0,1,0]=>[7,3,4,5,2,6,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) [1,0,1,1,0,1,1,1,0,0,0,1,0,0]=>[6,3,4,5,2,7,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) [1,0,1,1,0,1,1,1,0,0,1,0,0,0]=>[5,3,4,6,2,7,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) [1,0,1,1,0,1,1,1,0,1,0,0,0,0]=>[4,3,5,6,2,7,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) [1,0,1,1,0,1,1,1,1,0,0,0,0,0]=>[3,4,5,6,2,7,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) [1,0,1,1,1,0,0,0,1,0,1,0,1,0]=>[7,6,5,2,3,4,1]=>[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) [1,0,1,1,1,0,0,1,1,0,1,0,0,0]=>[5,4,6,2,3,7,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) [1,0,1,1,1,0,1,1,0,1,0,0,0,0]=>[4,3,5,2,6,7,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) [1,0,1,1,1,1,0,0,0,0,1,0,1,0]=>[7,6,2,3,4,5,1]=>[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) [1,0,1,1,1,1,0,0,0,1,1,0,0,0]=>[5,6,2,3,4,7,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) [1,0,1,1,1,1,0,1,1,0,0,0,0,0]=>[3,4,2,5,6,7,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) [1,0,1,1,1,1,1,0,0,0,0,0,1,0]=>[7,2,3,4,5,6,1]=>[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) [1,0,1,1,1,1,1,0,0,0,0,1,0,0]=>[6,2,3,4,5,7,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) [1,0,1,1,1,1,1,0,1,0,0,0,0,0]=>[3,2,4,5,6,7,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) [1,0,1,1,1,1,1,1,0,0,0,0,0,0]=>[2,3,4,5,6,7,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) [1,1,0,0,1,0,1,0,1,0,1,0,1,0]=>[7,6,5,4,3,1,2]=>[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) [1,1,0,0,1,0,1,1,0,1,1,0,0,0]=>[5,6,4,7,3,1,2]=>[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) [1,1,0,0,1,1,0,1,0,1,0,1,0,0]=>[6,5,4,3,7,1,2]=>[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) [1,1,0,0,1,1,0,1,1,0,0,1,0,0]=>[6,4,5,3,7,1,2]=>[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) [1,1,0,0,1,1,0,1,1,0,1,0,0,0]=>[5,4,6,3,7,1,2]=>[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) [1,1,0,0,1,1,1,1,1,0,0,0,0,0]=>[3,4,5,6,7,1,2]=>[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) [1,1,0,1,0,0,1,0,1,0,1,0,1,0]=>[7,6,5,4,2,1,3]=>[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,1,0,1,0,0,1,1,0,1,1,0,0,0]=>[5,6,4,7,2,1,3]=>[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) [1,1,0,1,0,1,0,0,1,1,0,1,0,0]=>[6,5,7,3,2,1,4]=>[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) [1,1,0,1,0,1,0,1,0,0,1,0,1,0]=>[7,6,4,3,2,1,5]=>[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,1,0,1,0,1,0,1,0,0,1,1,0,0]=>[6,7,4,3,2,1,5]=>[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) [1,1,0,1,0,1,0,1,0,1,0,0,1,0]=>[7,5,4,3,2,1,6]=>[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) [1,1,0,1,0,1,0,1,0,1,0,1,0,0]=>[6,5,4,3,2,1,7]=>[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,1,0,1,0,1,0,1,0,1,1,0,0,0]=>[5,6,4,3,2,1,7]=>[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,1,0,1,0,1,0,1,1,0,1,0,0,0]=>[5,4,6,3,2,1,7]=>[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,1,0,1,0,1,1,0,1,1,0,0,0,0]=>[4,5,3,6,2,1,7]=>[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,1,0,1,1,0,0,0,1,1,0,1,0,0]=>[6,5,7,2,3,1,4]=>[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) [1,1,0,1,1,0,0,1,0,1,0,1,0,0]=>[6,5,4,2,3,1,7]=>[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,1,0,1,1,0,1,0,0,0,1,1,0,0]=>[6,7,3,2,4,1,5]=>[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) [1,1,0,1,1,0,1,0,1,0,1,0,0,0]=>[5,4,3,2,6,1,7]=>[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) [1,1,0,1,1,0,1,1,0,0,0,0,1,0]=>[7,3,4,2,5,1,6]=>[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) [1,1,0,1,1,0,1,1,0,0,0,1,0,0]=>[6,3,4,2,5,1,7]=>[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) [1,1,0,1,1,0,1,1,0,0,1,0,0,0]=>[5,3,4,2,6,1,7]=>[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) [1,1,0,1,1,0,1,1,0,1,0,0,0,0]=>[4,3,5,2,6,1,7]=>[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) [1,1,0,1,1,0,1,1,1,0,0,0,0,0]=>[3,4,5,2,6,1,7]=>[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) [1,1,0,1,1,1,1,0,0,0,0,1,0,0]=>[6,2,3,4,5,1,7]=>[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) [1,1,0,1,1,1,1,0,0,0,1,0,0,0]=>[5,2,3,4,6,1,7]=>[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) [1,1,0,1,1,1,1,1,0,0,0,0,0,0]=>[2,3,4,5,6,1,7]=>[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) [1,1,1,0,0,0,1,0,1,0,1,0,1,0]=>[7,6,5,4,1,2,3]=>[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) [1,1,1,0,0,0,1,0,1,1,0,1,0,0]=>[6,5,7,4,1,2,3]=>[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) [1,1,1,0,0,0,1,1,0,1,0,1,0,0]=>[6,5,4,7,1,2,3]=>[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) [1,1,1,0,0,0,1,1,0,1,1,0,0,0]=>[5,6,4,7,1,2,3]=>[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) [1,1,1,0,0,0,1,1,1,1,0,0,0,0]=>[4,5,6,7,1,2,3]=>[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) [1,1,1,0,0,1,0,1,0,1,0,1,0,0]=>[6,5,4,3,1,2,7]=>[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) [1,1,1,0,0,1,1,0,1,1,0,0,0,0]=>[4,5,3,6,1,2,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) [1,1,1,0,1,0,1,0,1,0,0,0,1,0]=>[7,4,3,2,1,5,6]=>[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) [1,1,1,0,1,0,1,0,1,0,0,1,0,0]=>[6,4,3,2,1,5,7]=>[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,1,1,0,1,0,1,0,1,0,1,0,0,0]=>[5,4,3,2,1,6,7]=>[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,1,1,0,1,0,1,0,1,1,0,0,0,0]=>[4,5,3,2,1,6,7]=>[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,1,1,0,1,0,1,1,0,1,0,0,0,0]=>[4,3,5,2,1,6,7]=>[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,1,1,0,1,1,0,0,1,0,1,0,0,0]=>[5,4,2,3,1,6,7]=>[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,1,1,0,1,1,0,1,0,0,1,0,0,0]=>[5,3,2,4,1,6,7]=>[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) [1,1,1,0,1,1,0,1,0,1,0,0,0,0]=>[4,3,2,5,1,6,7]=>[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) [1,1,1,0,1,1,0,1,1,0,0,0,0,0]=>[3,4,2,5,1,6,7]=>[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) [1,1,1,0,1,1,1,0,0,0,1,0,0,0]=>[5,2,3,4,1,6,7]=>[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) [1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>[4,2,3,5,1,6,7]=>[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) [1,1,1,0,1,1,1,1,0,0,0,0,0,0]=>[2,3,4,5,1,6,7]=>[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) [1,1,1,1,0,0,0,0,1,0,1,0,1,0]=>[7,6,5,1,2,3,4]=>[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) [1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>[6,7,5,1,2,3,4]=>[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) [1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>[7,5,6,1,2,3,4]=>[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) [1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>[6,5,7,1,2,3,4]=>[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) [1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>[5,6,7,1,2,3,4]=>[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) [1,1,1,1,0,0,0,1,1,0,1,0,0,0]=>[5,4,6,1,2,3,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) [1,1,1,1,0,0,1,1,0,1,0,0,0,0]=>[4,3,5,1,2,6,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) [1,1,1,1,0,1,0,1,0,0,0,0,1,0]=>[7,3,2,1,4,5,6]=>[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) [1,1,1,1,0,1,0,1,0,1,0,0,0,0]=>[4,3,2,1,5,6,7]=>[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,1,1,1,0,1,0,1,1,0,0,0,0,0]=>[3,4,2,1,5,6,7]=>[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,1,1,1,0,1,1,0,0,0,0,0,1,0]=>[7,2,3,1,4,5,6]=>[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) [1,1,1,1,0,1,1,0,0,1,0,0,0,0]=>[4,2,3,1,5,6,7]=>[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,1,1,1,0,1,1,0,1,0,0,0,0,0]=>[3,2,4,1,5,6,7]=>[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) [1,1,1,1,0,1,1,1,0,0,0,0,0,0]=>[2,3,4,1,5,6,7]=>[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) [1,1,1,1,1,0,0,0,0,0,1,0,1,0]=>[7,6,1,2,3,4,5]=>[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) [1,1,1,1,1,0,0,0,0,0,1,1,0,0]=>[6,7,1,2,3,4,5]=>[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) [1,1,1,1,1,0,0,0,0,1,0,0,1,0]=>[7,5,1,2,3,4,6]=>[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) [1,1,1,1,1,0,0,0,0,1,0,1,0,0]=>[6,5,1,2,3,4,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) [1,1,1,1,1,0,0,0,0,1,1,0,0,0]=>[5,6,1,2,3,4,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) [1,1,1,1,1,0,0,0,1,1,0,0,0,0]=>[4,5,1,2,3,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) [1,1,1,1,1,0,0,1,0,0,0,0,1,0]=>[7,3,1,2,4,5,6]=>[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) [1,1,1,1,1,0,0,1,0,1,0,0,0,0]=>[4,3,1,2,5,6,7]=>[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) [1,1,1,1,1,0,0,1,1,0,0,0,0,0]=>[3,4,1,2,5,6,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) [1,1,1,1,1,0,1,0,0,0,0,0,1,0]=>[7,2,1,3,4,5,6]=>[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) [1,1,1,1,1,0,1,0,0,0,0,1,0,0]=>[6,2,1,3,4,5,7]=>[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) [1,1,1,1,1,0,1,0,0,1,0,0,0,0]=>[4,2,1,3,5,6,7]=>[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) [1,1,1,1,1,0,1,0,1,0,0,0,0,0]=>[3,2,1,4,5,6,7]=>[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,1,1,1,1,0,1,1,0,0,0,0,0,0]=>[2,3,1,4,5,6,7]=>[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) [1,1,1,1,1,1,0,0,0,0,0,0,1,0]=>[7,1,2,3,4,5,6]=>[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) [1,1,1,1,1,1,0,0,0,0,0,1,0,0]=>[6,1,2,3,4,5,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) [1,1,1,1,1,1,0,0,0,0,1,0,0,0]=>[5,1,2,3,4,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) [1,1,1,1,1,1,0,0,0,1,0,0,0,0]=>[4,1,2,3,5,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) [1,1,1,1,1,1,0,0,1,0,0,0,0,0]=>[3,1,2,4,5,6,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) [1,1,1,1,1,1,0,1,0,0,0,0,0,0]=>[2,1,3,4,5,6,7]=>[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) [1,1,1,1,1,1,1,0,0,0,0,0,0,0]=>[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,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>[8,7,6,5,4,3,2,1]=>[8,1,2,3,4,5,6,7]=>([(0,2),(0,7),(1,9),(2,8),(3,4),(3,11),(4,6),(4,10),(5,3),(5,13),(6,1),(6,12),(7,5),(7,8),(8,13),(10,12),(11,10),(12,9),(13,11)],14) [1,0,1,1,0,1,1,0,1,1,0,1,0,0,0,0]=>[5,4,6,3,7,2,8,1]=>[8,7,6,5,4,3,2,1]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8) [1,1,0,1,1,0,1,1,0,1,1,0,0,0,0,0]=>[4,5,3,6,2,7,1,8]=>[7,6,5,4,3,2,1,8]=>([(0,2),(0,7),(1,9),(2,8),(3,4),(3,11),(4,6),(4,10),(5,3),(5,13),(6,1),(6,12),(7,5),(7,8),(8,13),(10,12),(11,10),(12,9),(13,11)],14) [1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0]=>[8,1,2,3,4,5,6,7]=>[2,3,4,5,6,7,8,1]=>([(0,2),(0,7),(1,9),(2,8),(3,4),(3,11),(4,6),(4,10),(5,3),(5,13),(6,1),(6,12),(7,5),(7,8),(8,13),(10,12),(11,10),(12,9),(13,11)],14)
Map
to 132-avoiding permutation
Description
Sends a Dyck path to a 132-avoiding permutation.
This bijection is defined in [1, Section 2].
Map
first fundamental transformation
Description
Return the permutation whose cycles are the subsequences between successive left to right maxima.
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.