Identifier
Mp00129: to 321-avoiding permutation (Billey-Jockusch-Stanley)Permutations
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]=>[2,3,1]=>[3,2,1]=>([(0,2),(2,1)],3) [1,0,1,1,0,0]=>[2,1,3]=>[2,1,3]=>([(0,1),(0,2),(1,3),(2,3)],4) [1,1,0,0,1,0]=>[1,3,2]=>[1,3,2]=>([(0,1),(0,2),(1,3),(2,3)],4) [1,1,0,1,0,0]=>[3,1,2]=>[2,3,1]=>([(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]=>[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,0,1,0,1,1,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,0,1,1,0,0,1,0]=>[2,1,4,3]=>[2,1,4,3]=>([(0,1),(0,2),(1,4),(1,5),(2,4),(2,5),(4,3),(5,3)],6) [1,0,1,1,0,1,0,0]=>[2,4,1,3]=>[3,2,4,1]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [1,0,1,1,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,0,0,1,0,1,0]=>[1,3,4,2]=>[1,4,3,2]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,1,0,0,1,1,0,0]=>[1,3,2,4]=>[1,3,2,4]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [1,1,0,1,0,0,1,0]=>[3,1,4,2]=>[3,4,1,2]=>([(0,1),(0,2),(1,4),(1,5),(2,4),(2,5),(4,3),(5,3)],6) [1,1,0,1,0,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,1,0,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,0,0,1,0]=>[1,2,4,3]=>[1,2,4,3]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6) [1,1,1,0,0,1,0,0]=>[1,4,2,3]=>[1,3,4,2]=>([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7) [1,1,1,0,1,0,0,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,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]=>[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,0,1,0,1,0,1,1,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,0,1,0,1,1,0,0,1,0]=>[2,3,1,5,4]=>[3,2,1,5,4]=>([(0,3),(0,4),(1,8),(2,7),(2,8),(3,1),(3,5),(4,2),(4,5),(5,7),(5,8),(7,6),(8,6)],9) [1,0,1,0,1,1,0,1,0,0]=>[2,3,5,1,4]=>[4,2,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [1,0,1,0,1,1,1,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,0,1,1,0,0,1,0,1,0]=>[2,1,4,5,3]=>[2,1,5,4,3]=>([(0,3),(0,4),(1,8),(2,7),(2,8),(3,1),(3,5),(4,2),(4,5),(5,7),(5,8),(7,6),(8,6)],9) [1,0,1,1,0,0,1,1,0,0]=>[2,1,4,3,5]=>[2,1,4,3,5]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(3,8),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [1,0,1,1,0,1,0,0,1,0]=>[2,4,1,5,3]=>[4,2,5,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(2,6),(2,9),(2,11),(3,6),(3,9),(3,10),(4,7),(4,9),(4,10),(4,11),(5,7),(5,9),(5,10),(5,11),(6,13),(7,12),(7,13),(9,12),(9,13),(10,12),(10,13),(11,12),(11,13),(12,8),(13,8)],14) [1,0,1,1,0,1,0,1,0,0]=>[2,4,5,1,3]=>[3,2,5,4,1]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11) [1,0,1,1,0,1,1,0,0,0]=>[2,4,1,3,5]=>[3,2,4,1,5]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [1,0,1,1,1,0,0,0,1,0]=>[2,1,3,5,4]=>[2,1,3,5,4]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [1,0,1,1,1,0,0,1,0,0]=>[2,1,5,3,4]=>[2,1,4,5,3]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,0,1,1,1,0,1,0,0,0]=>[2,5,1,3,4]=>[3,2,4,5,1]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,0,1,1,1,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,0,0,1,0,1,0,1,0]=>[1,3,4,5,2]=>[1,5,3,4,2]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [1,1,0,0,1,0,1,1,0,0]=>[1,3,4,2,5]=>[1,4,3,2,5]=>([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,1,0,0,1,1,0,0,1,0]=>[1,3,2,5,4]=>[1,3,2,5,4]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(3,8),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [1,1,0,0,1,1,0,1,0,0]=>[1,3,5,2,4]=>[1,4,3,5,2]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [1,1,0,0,1,1,1,0,0,0]=>[1,3,2,4,5]=>[1,3,2,4,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,1,0,1,0,0,1,0,1,0]=>[3,1,4,5,2]=>[3,5,1,4,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(2,6),(2,9),(2,11),(3,6),(3,9),(3,10),(4,7),(4,9),(4,10),(4,11),(5,7),(5,9),(5,10),(5,11),(6,13),(7,12),(7,13),(9,12),(9,13),(10,12),(10,13),(11,12),(11,13),(12,8),(13,8)],14) [1,1,0,1,0,0,1,1,0,0]=>[3,1,4,2,5]=>[3,4,1,2,5]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11) [1,1,0,1,0,1,0,0,1,0]=>[3,4,1,5,2]=>[4,5,3,1,2]=>([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10) [1,1,0,1,0,1,0,1,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,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,0,1,1,0,0,0,1,0]=>[3,1,2,5,4]=>[2,3,1,5,4]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,1,0,1,1,0,0,1,0,0]=>[3,1,5,2,4]=>[3,4,1,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [1,1,0,1,1,0,1,0,0,0]=>[3,5,1,2,4]=>[2,4,3,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13) [1,1,0,1,1,1,0,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,0,0,0,1,0,1,0]=>[1,2,4,5,3]=>[1,2,5,4,3]=>([(0,3),(0,4),(1,7),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6),(5,7),(6,8),(7,8)],9) [1,1,1,0,0,0,1,1,0,0]=>[1,2,4,3,5]=>[1,2,4,3,5]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,1,1,0,0,1,0,0,1,0]=>[1,4,2,5,3]=>[1,4,5,2,3]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11) [1,1,1,0,0,1,0,1,0,0]=>[1,4,5,2,3]=>[1,3,5,4,2]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12) [1,1,1,0,0,1,1,0,0,0]=>[1,4,2,3,5]=>[1,3,4,2,5]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,10),(4,5),(4,6),(4,10),(5,9),(5,11),(6,9),(6,11),(7,9),(7,11),(9,8),(10,11),(11,8)],12) [1,1,1,0,1,0,0,0,1,0]=>[4,1,2,5,3]=>[2,4,5,1,3]=>([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13) [1,1,1,0,1,0,0,1,0,0]=>[4,1,5,2,3]=>[4,3,5,1,2]=>([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11) [1,1,1,0,1,0,1,0,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,1,1,0,0,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,0,0,1,0]=>[1,2,3,5,4]=>[1,2,3,5,4]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8) [1,1,1,1,0,0,0,1,0,0]=>[1,2,5,3,4]=>[1,2,4,5,3]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,1,1,1,0,0,1,0,0,0]=>[1,5,2,3,4]=>[1,3,4,5,2]=>([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10) [1,1,1,1,0,1,0,0,0,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,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]=>[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,0,1,0,1,0,1,0,1,1,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,0,1,0,1,0,1,1,0,0,1,0]=>[2,3,4,1,6,5]=>[4,2,3,1,6,5]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,16),(2,13),(2,14),(2,16),(3,12),(3,14),(3,16),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(6,18),(6,19),(7,18),(8,18),(8,19),(9,18),(9,19),(11,7),(11,17),(12,8),(12,15),(12,17),(13,9),(13,15),(13,17),(14,6),(14,15),(15,19),(16,6),(16,17),(17,18),(17,19),(18,10),(19,10)],20) [1,0,1,0,1,0,1,1,0,1,0,0]=>[2,3,4,6,1,5]=>[5,2,3,4,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,0,1,0,1,0,1,1,1,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,0,1,0,1,1,0,0,1,0,1,0]=>[2,3,1,5,6,4]=>[3,2,1,6,5,4]=>([(0,1),(0,2),(1,4),(1,10),(2,3),(2,10),(3,5),(3,8),(4,5),(4,9),(5,11),(7,6),(8,7),(8,11),(9,7),(9,11),(10,8),(10,9),(11,6)],12) [1,0,1,0,1,1,0,0,1,1,0,0]=>[2,3,1,5,4,6]=>[3,2,1,5,4,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,7),(2,14),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,12),(7,12),(7,13),(9,1),(9,14),(10,6),(10,14),(11,7),(11,14),(12,8),(13,8),(14,12),(14,13)],15) [1,0,1,0,1,1,0,1,0,0,1,0]=>[2,3,5,1,6,4]=>[5,2,3,6,1,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,24),(1,25),(2,9),(2,11),(2,13),(2,15),(3,8),(3,10),(3,13),(3,14),(4,8),(4,11),(4,12),(4,16),(5,9),(5,10),(5,12),(5,17),(6,1),(6,14),(6,15),(6,16),(6,17),(8,20),(8,24),(9,20),(9,25),(10,20),(10,23),(10,25),(11,20),(11,23),(11,24),(12,19),(12,20),(13,18),(13,24),(13,25),(14,18),(14,23),(14,24),(15,18),(15,23),(15,25),(16,19),(16,23),(16,24),(16,25),(17,19),(17,23),(17,24),(17,25),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [1,0,1,0,1,1,0,1,0,1,0,0]=>[2,3,5,6,1,4]=>[4,2,3,6,5,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [1,0,1,0,1,1,0,1,1,0,0,0]=>[2,3,5,1,4,6]=>[4,2,3,5,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,0,1,0,1,1,1,0,0,0,1,0]=>[2,3,1,4,6,5]=>[3,2,1,4,6,5]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,7),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,13),(7,14),(9,1),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(12,14),(13,8),(14,8)],15) [1,0,1,0,1,1,1,0,0,1,0,0]=>[2,3,1,6,4,5]=>[3,2,1,5,6,4]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [1,0,1,0,1,1,1,0,1,0,0,0]=>[2,3,6,1,4,5]=>[4,2,3,5,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,0,1,0,1,1,1,1,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,0,1,1,0,0,1,0,1,0,1,0]=>[2,1,4,5,6,3]=>[2,1,6,4,5,3]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,16),(2,13),(2,14),(2,16),(3,12),(3,14),(3,16),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(6,18),(6,19),(7,18),(8,18),(8,19),(9,18),(9,19),(11,7),(11,17),(12,8),(12,15),(12,17),(13,9),(13,15),(13,17),(14,6),(14,15),(15,19),(16,6),(16,17),(17,18),(17,19),(18,10),(19,10)],20) [1,0,1,1,0,0,1,0,1,1,0,0]=>[2,1,4,5,3,6]=>[2,1,5,4,3,6]=>([(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,15),(3,9),(3,10),(4,1),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,14),(9,12),(9,15),(10,7),(10,12),(11,6),(11,12),(11,15),(12,13),(12,14),(13,8),(14,8),(15,13),(15,14)],16) [1,0,1,1,0,0,1,1,0,0,1,0]=>[2,1,4,3,6,5]=>[2,1,4,3,6,5]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(1,12),(2,6),(2,7),(2,12),(3,5),(3,7),(3,12),(5,9),(5,10),(6,9),(6,11),(7,9),(7,10),(7,11),(8,4),(9,13),(10,8),(10,13),(11,8),(11,13),(12,10),(12,11),(13,4)],14) [1,0,1,1,0,0,1,1,0,1,0,0]=>[2,1,4,6,3,5]=>[2,1,5,4,6,3]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [1,0,1,1,0,0,1,1,1,0,0,0]=>[2,1,4,3,5,6]=>[2,1,4,3,5,6]=>([(0,2),(0,3),(0,4),(1,7),(1,13),(2,6),(2,12),(3,1),(3,9),(3,12),(4,6),(4,9),(4,12),(6,10),(7,8),(7,11),(8,5),(9,7),(9,10),(9,13),(10,11),(11,5),(12,10),(12,13),(13,8),(13,11)],14) [1,0,1,1,0,1,0,0,1,0,1,0]=>[2,4,1,5,6,3]=>[4,2,6,1,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,13),(1,16),(1,17),(2,9),(2,13),(2,15),(2,17),(3,12),(3,14),(3,15),(3,17),(4,11),(4,14),(4,16),(4,17),(5,8),(5,11),(5,12),(5,15),(5,16),(6,8),(6,9),(6,10),(6,15),(6,16),(8,19),(8,20),(9,19),(9,22),(9,23),(10,20),(10,22),(10,23),(11,19),(11,22),(11,24),(12,20),(12,22),(12,24),(13,22),(13,23),(14,22),(14,24),(15,19),(15,20),(15,23),(15,24),(16,19),(16,20),(16,23),(16,24),(17,23),(17,24),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21),(23,18),(23,21),(24,18),(24,21)],25) [1,0,1,1,0,1,0,0,1,1,0,0]=>[2,4,1,5,3,6]=>[4,2,5,1,3,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,19),(2,10),(2,13),(2,19),(2,20),(3,9),(3,13),(3,18),(3,20),(4,12),(4,14),(4,18),(4,19),(4,20),(5,11),(5,14),(5,18),(5,19),(5,20),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,15),(9,21),(9,25),(10,15),(10,22),(10,25),(11,16),(11,21),(11,22),(11,25),(12,16),(12,21),(12,22),(12,25),(13,15),(13,25),(14,16),(14,17),(14,25),(15,24),(16,23),(16,24),(17,23),(18,17),(18,21),(18,25),(19,17),(19,22),(19,25),(20,17),(20,25),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [1,0,1,1,0,1,0,1,0,0,1,0]=>[2,4,5,1,6,3]=>[5,2,6,4,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,15),(1,16),(2,8),(2,11),(2,16),(2,18),(3,8),(3,10),(3,15),(3,17),(4,9),(4,13),(4,14),(4,17),(4,18),(5,10),(5,12),(5,13),(5,16),(5,18),(6,11),(6,12),(6,14),(6,15),(6,17),(8,21),(8,25),(9,23),(9,24),(10,21),(10,23),(10,25),(11,21),(11,24),(11,25),(12,23),(12,24),(12,25),(13,19),(13,23),(13,25),(14,19),(14,24),(14,25),(15,24),(15,25),(16,23),(16,25),(17,19),(17,21),(17,23),(17,24),(18,19),(18,21),(18,23),(18,24),(19,20),(19,22),(20,7),(21,20),(21,22),(22,7),(23,20),(23,22),(24,20),(24,22),(25,22)],26) [1,0,1,1,0,1,0,1,0,1,0,0]=>[2,4,5,6,1,3]=>[3,2,6,4,5,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [1,0,1,1,0,1,0,1,1,0,0,0]=>[2,4,5,1,3,6]=>[3,2,5,4,1,6]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [1,0,1,1,0,1,1,0,0,0,1,0]=>[2,4,1,3,6,5]=>[3,2,4,1,6,5]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [1,0,1,1,0,1,1,0,0,1,0,0]=>[2,4,1,6,3,5]=>[4,2,5,1,6,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [1,0,1,1,0,1,1,0,1,0,0,0]=>[2,4,6,1,3,5]=>[3,2,5,4,6,1]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [1,0,1,1,0,1,1,1,0,0,0,0]=>[2,4,1,3,5,6]=>[3,2,4,1,5,6]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [1,0,1,1,1,0,0,0,1,0,1,0]=>[2,1,3,5,6,4]=>[2,1,3,6,5,4]=>([(0,3),(0,4),(0,5),(1,14),(2,6),(2,7),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,13),(7,14),(9,1),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(12,14),(13,8),(14,8)],15) [1,0,1,1,1,0,0,0,1,1,0,0]=>[2,1,3,5,4,6]=>[2,1,3,5,4,6]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,13),(2,8),(2,9),(2,13),(3,7),(3,9),(3,13),(4,6),(4,7),(4,8),(6,15),(7,12),(7,15),(8,11),(8,12),(8,15),(9,11),(9,12),(10,5),(11,10),(11,14),(12,10),(12,14),(13,11),(13,15),(14,5),(15,14)],16) [1,0,1,1,1,0,0,1,0,0,1,0]=>[2,1,5,3,6,4]=>[2,1,5,6,3,4]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,1),(2,11),(2,12),(3,9),(3,10),(3,12),(4,9),(4,10),(4,11),(5,15),(5,16),(7,15),(7,16),(8,15),(8,16),(9,5),(9,13),(10,5),(10,14),(11,7),(11,13),(11,14),(12,8),(12,13),(12,14),(13,16),(14,15),(14,16),(15,6),(16,6)],17) [1,0,1,1,1,0,0,1,0,1,0,0]=>[2,1,5,6,3,4]=>[2,1,4,6,5,3]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,15),(2,6),(2,8),(2,18),(3,12),(3,13),(3,15),(4,10),(4,13),(4,15),(5,2),(5,10),(5,11),(5,12),(6,16),(6,17),(7,16),(7,17),(8,16),(10,14),(10,18),(11,8),(11,18),(12,6),(12,14),(12,18),(13,7),(13,14),(14,17),(15,7),(15,18),(16,9),(17,9),(18,16),(18,17)],19) [1,0,1,1,1,0,0,1,1,0,0,0]=>[2,1,5,3,4,6]=>[2,1,4,5,3,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [1,0,1,1,1,0,1,0,0,0,1,0]=>[2,5,1,3,6,4]=>[3,2,5,6,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [1,0,1,1,1,0,1,0,0,1,0,0]=>[2,5,1,6,3,4]=>[5,2,4,6,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,17),(1,20),(2,13),(2,15),(2,17),(2,18),(2,20),(3,12),(3,14),(3,17),(3,18),(4,8),(4,10),(4,12),(4,20),(5,8),(5,11),(5,14),(5,15),(5,20),(6,9),(6,10),(6,11),(6,13),(6,18),(8,16),(8,22),(8,26),(9,21),(9,26),(10,21),(10,25),(10,26),(11,19),(11,21),(11,26),(12,16),(12,25),(13,21),(13,22),(13,26),(14,16),(14,19),(14,25),(15,19),(15,22),(15,25),(15,26),(16,23),(17,25),(17,26),(18,19),(18,22),(18,25),(18,26),(19,23),(19,24),(20,21),(20,22),(20,25),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [1,0,1,1,1,0,1,0,1,0,0,0]=>[2,5,6,1,3,4]=>[3,2,4,6,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,10),(2,12),(3,8),(3,10),(3,11),(4,7),(4,11),(4,12),(5,17),(7,14),(7,15),(8,13),(8,14),(9,13),(9,15),(10,13),(10,16),(11,5),(11,14),(11,16),(12,5),(12,15),(12,16),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,0,1,1,1,0,1,1,0,0,0,0]=>[2,5,1,3,4,6]=>[3,2,4,5,1,6]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [1,0,1,1,1,1,0,0,0,0,1,0]=>[2,1,3,4,6,5]=>[2,1,3,4,6,5]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,6),(2,11),(3,6),(3,10),(4,1),(4,10),(4,11),(6,12),(7,9),(7,13),(8,9),(8,13),(9,5),(10,7),(10,12),(11,8),(11,12),(12,13),(13,5)],14) [1,0,1,1,1,1,0,0,0,1,0,0]=>[2,1,3,6,4,5]=>[2,1,3,5,6,4]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [1,0,1,1,1,1,0,0,1,0,0,0]=>[2,1,6,3,4,5]=>[2,1,4,5,6,3]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [1,0,1,1,1,1,0,1,0,0,0,0]=>[2,6,1,3,4,5]=>[3,2,4,5,6,1]=>([(0,3),(0,4),(0,5),(1,14),(2,1),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(6,14),(7,13),(7,14),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8),(14,8)],15) [1,0,1,1,1,1,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,0,0,1,0,1,0,1,0,1,0]=>[1,3,4,5,6,2]=>[1,6,3,4,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [1,1,0,0,1,0,1,0,1,1,0,0]=>[1,3,4,5,2,6]=>[1,5,3,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,12),(2,13),(2,14),(2,18),(3,10),(3,11),(3,14),(3,18),(4,8),(4,9),(4,11),(4,13),(5,7),(5,9),(5,10),(5,12),(7,15),(7,19),(8,15),(8,20),(9,15),(9,16),(9,17),(10,16),(10,19),(10,23),(11,16),(11,20),(11,23),(12,17),(12,19),(12,23),(13,17),(13,20),(13,23),(14,23),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,6),(22,6),(23,21)],24) [1,1,0,0,1,0,1,1,0,0,1,0]=>[1,3,4,2,6,5]=>[1,4,3,2,6,5]=>([(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,15),(3,9),(3,10),(4,1),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,14),(9,12),(9,15),(10,7),(10,12),(11,6),(11,12),(11,15),(12,13),(12,14),(13,8),(14,8),(15,13),(15,14)],16) [1,1,0,0,1,0,1,1,0,1,0,0]=>[1,3,4,6,2,5]=>[1,5,3,4,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,18),(2,11),(2,13),(2,14),(2,18),(3,10),(3,12),(3,14),(3,18),(4,8),(4,9),(4,12),(4,13),(5,6),(5,9),(5,10),(5,11),(6,23),(8,19),(8,23),(9,16),(9,17),(9,23),(10,16),(10,20),(10,23),(11,17),(11,20),(11,23),(12,15),(12,16),(12,19),(13,15),(13,17),(13,19),(14,15),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,19),(18,20),(18,23),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7),(23,21)],24) [1,1,0,0,1,0,1,1,1,0,0,0]=>[1,3,4,2,5,6]=>[1,4,3,2,5,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,1,0,0,1,1,0,0,1,0,1,0]=>[1,3,2,5,6,4]=>[1,3,2,6,5,4]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,7),(2,14),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,12),(7,12),(7,13),(9,1),(9,14),(10,6),(10,14),(11,7),(11,14),(12,8),(13,8),(14,12),(14,13)],15) [1,1,0,0,1,1,0,0,1,1,0,0]=>[1,3,2,5,4,6]=>[1,3,2,5,4,6]=>([(0,1),(0,2),(0,3),(0,4),(1,8),(1,9),(1,15),(2,7),(2,9),(2,15),(3,6),(3,7),(3,15),(4,6),(4,8),(4,15),(6,14),(7,11),(7,14),(8,12),(8,14),(9,11),(9,12),(10,5),(11,10),(11,13),(12,10),(12,13),(13,5),(14,13),(15,11),(15,12),(15,14)],16) [1,1,0,0,1,1,0,1,0,0,1,0]=>[1,3,5,2,6,4]=>[1,5,3,6,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,17),(1,18),(2,12),(2,14),(2,18),(2,19),(3,11),(3,14),(3,17),(3,19),(4,10),(4,13),(4,17),(4,18),(4,19),(5,9),(5,13),(5,17),(5,18),(5,19),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,20),(9,21),(9,22),(9,25),(10,20),(10,21),(10,22),(10,25),(11,15),(11,20),(11,21),(12,15),(12,20),(12,22),(13,16),(13,25),(14,15),(14,25),(15,24),(16,23),(17,16),(17,21),(17,25),(18,16),(18,22),(18,25),(19,16),(19,20),(19,25),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [1,1,0,0,1,1,0,1,0,1,0,0]=>[1,3,5,6,2,4]=>[1,4,3,6,5,2]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,6),(3,7),(3,9),(3,11),(4,6),(4,7),(4,8),(4,10),(6,14),(6,19),(7,13),(7,15),(7,19),(8,13),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,15),(11,16),(12,16),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,5),(18,5),(19,17),(19,18)],20) [1,1,0,0,1,1,0,1,1,0,0,0]=>[1,3,5,2,4,6]=>[1,4,3,5,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,1,0,0,1,1,1,0,0,0,1,0]=>[1,3,2,4,6,5]=>[1,3,2,4,6,5]=>([(0,1),(0,2),(0,3),(0,4),(1,6),(1,13),(2,8),(2,9),(2,13),(3,7),(3,9),(3,13),(4,6),(4,7),(4,8),(6,15),(7,12),(7,15),(8,11),(8,12),(8,15),(9,11),(9,12),(10,5),(11,10),(11,14),(12,10),(12,14),(13,11),(13,15),(14,5),(15,14)],16) [1,1,0,0,1,1,1,0,0,1,0,0]=>[1,3,2,6,4,5]=>[1,3,2,5,6,4]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [1,1,0,0,1,1,1,0,1,0,0,0]=>[1,3,6,2,4,5]=>[1,4,3,5,6,2]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,16),(2,8),(2,10),(2,12),(3,8),(3,9),(3,11),(4,9),(4,10),(4,13),(5,1),(5,11),(5,12),(5,13),(6,17),(8,19),(9,14),(9,19),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(12,19),(13,6),(13,14),(13,15),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7),(19,18)],20) [1,1,0,0,1,1,1,1,0,0,0,0]=>[1,3,2,4,5,6]=>[1,3,2,4,5,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,1,0,1,0,0,1,0,1,0,1,0]=>[3,1,4,5,6,2]=>[3,6,1,4,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,24),(1,25),(2,9),(2,11),(2,13),(2,15),(3,8),(3,10),(3,13),(3,14),(4,8),(4,11),(4,12),(4,16),(5,9),(5,10),(5,12),(5,17),(6,1),(6,14),(6,15),(6,16),(6,17),(8,20),(8,24),(9,20),(9,25),(10,20),(10,23),(10,25),(11,20),(11,23),(11,24),(12,19),(12,20),(13,18),(13,24),(13,25),(14,18),(14,23),(14,24),(15,18),(15,23),(15,25),(16,19),(16,23),(16,24),(16,25),(17,19),(17,23),(17,24),(17,25),(18,22),(19,21),(19,22),(20,21),(21,7),(22,7),(23,21),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [1,1,0,1,0,0,1,0,1,1,0,0]=>[3,1,4,5,2,6]=>[3,5,1,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,17),(1,18),(2,12),(2,14),(2,18),(2,19),(3,11),(3,14),(3,17),(3,19),(4,10),(4,13),(4,17),(4,18),(4,19),(5,9),(5,13),(5,17),(5,18),(5,19),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,20),(9,21),(9,22),(9,25),(10,20),(10,21),(10,22),(10,25),(11,15),(11,20),(11,21),(12,15),(12,20),(12,22),(13,16),(13,25),(14,15),(14,25),(15,24),(16,23),(17,16),(17,21),(17,25),(18,16),(18,22),(18,25),(19,16),(19,20),(19,25),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [1,1,0,1,0,0,1,1,0,0,1,0]=>[3,1,4,2,6,5]=>[3,4,1,2,6,5]=>([(0,2),(0,3),(0,4),(1,7),(1,8),(2,1),(2,11),(2,12),(3,9),(3,10),(3,12),(4,9),(4,10),(4,11),(5,15),(5,16),(7,15),(7,16),(8,15),(8,16),(9,5),(9,13),(10,5),(10,14),(11,7),(11,13),(11,14),(12,8),(12,13),(12,14),(13,16),(14,15),(14,16),(15,6),(16,6)],17) [1,1,0,1,0,0,1,1,0,1,0,0]=>[3,1,4,6,2,5]=>[3,5,1,4,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [1,1,0,1,0,0,1,1,1,0,0,0]=>[3,1,4,2,5,6]=>[3,4,1,2,5,6]=>([(0,2),(0,3),(0,4),(1,8),(1,9),(2,1),(2,10),(2,11),(3,6),(3,7),(3,11),(4,6),(4,7),(4,10),(6,14),(7,12),(7,14),(8,13),(8,15),(9,13),(9,15),(10,8),(10,12),(10,14),(11,9),(11,12),(11,14),(12,13),(12,15),(13,5),(14,15),(15,5)],16) [1,1,0,1,0,1,0,0,1,0,1,0]=>[3,4,1,5,6,2]=>[4,6,3,1,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,9),(1,15),(1,16),(2,8),(2,11),(2,16),(2,18),(3,8),(3,10),(3,15),(3,17),(4,9),(4,13),(4,14),(4,17),(4,18),(5,10),(5,12),(5,13),(5,16),(5,18),(6,11),(6,12),(6,14),(6,15),(6,17),(8,21),(8,25),(9,23),(9,24),(10,21),(10,23),(10,25),(11,21),(11,24),(11,25),(12,23),(12,24),(12,25),(13,19),(13,23),(13,25),(14,19),(14,24),(14,25),(15,24),(15,25),(16,23),(16,25),(17,19),(17,21),(17,23),(17,24),(18,19),(18,21),(18,23),(18,24),(19,20),(19,22),(20,7),(21,20),(21,22),(22,7),(23,20),(23,22),(24,20),(24,22),(25,22)],26) [1,1,0,1,0,1,0,0,1,1,0,0]=>[3,4,1,5,2,6]=>[4,5,3,1,2,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,10),(2,12),(3,8),(3,10),(3,11),(4,7),(4,11),(4,12),(5,17),(7,14),(7,15),(8,13),(8,14),(9,13),(9,15),(10,13),(10,16),(11,5),(11,14),(11,16),(12,5),(12,15),(12,16),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,1,0,1,0,1,0,1,0,0,1,0]=>[3,4,5,1,6,2]=>[5,6,3,4,1,2]=>([(0,1),(0,2),(0,3),(1,5),(1,6),(1,12),(2,6),(2,7),(2,12),(3,5),(3,7),(3,12),(5,9),(5,10),(6,9),(6,11),(7,9),(7,10),(7,11),(8,4),(9,13),(10,8),(10,13),(11,8),(11,13),(12,10),(12,11),(13,4)],14) [1,1,0,1,0,1,0,1,0,1,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,1,0,1,1,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,0,1,0,1,1,0,0,0,1,0]=>[3,4,1,2,6,5]=>[2,4,3,1,6,5]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [1,1,0,1,0,1,1,0,0,1,0,0]=>[3,4,1,6,2,5]=>[4,5,3,1,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [1,1,0,1,0,1,1,0,1,0,0,0]=>[3,4,6,1,2,5]=>[2,5,3,4,6,1]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(1,19),(2,10),(2,12),(2,13),(2,19),(3,9),(3,11),(3,13),(3,19),(4,8),(4,11),(4,12),(4,19),(5,6),(5,8),(5,9),(5,10),(6,20),(8,15),(8,16),(8,20),(9,15),(9,17),(9,20),(10,16),(10,17),(10,20),(11,14),(11,15),(11,18),(12,14),(12,16),(12,18),(13,14),(13,17),(13,18),(14,22),(15,21),(15,22),(16,21),(16,22),(17,21),(17,22),(18,21),(18,22),(19,18),(19,20),(20,21),(21,7),(22,7)],23) [1,1,0,1,0,1,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,0,1,1,0,0,0,1,0,1,0]=>[3,1,2,5,6,4]=>[2,3,1,6,5,4]=>([(0,3),(0,4),(0,6),(1,14),(2,14),(2,15),(3,8),(3,12),(4,9),(4,12),(5,2),(5,10),(5,11),(6,5),(6,8),(6,9),(8,11),(8,13),(9,10),(9,13),(10,15),(11,14),(11,15),(12,1),(12,13),(13,14),(13,15),(14,7),(15,7)],16) [1,1,0,1,1,0,0,0,1,1,0,0]=>[3,1,2,5,4,6]=>[2,3,1,5,4,6]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,16),(2,7),(2,8),(2,9),(3,7),(3,10),(3,12),(4,8),(4,11),(4,12),(5,9),(5,10),(5,11),(7,17),(8,15),(8,17),(9,1),(9,15),(9,17),(10,13),(10,17),(11,13),(11,15),(12,13),(12,15),(12,17),(13,14),(13,16),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [1,1,0,1,1,0,0,1,0,0,1,0]=>[3,1,5,2,6,4]=>[3,5,1,6,2,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,10),(1,13),(1,16),(1,17),(2,9),(2,13),(2,15),(2,17),(3,12),(3,14),(3,15),(3,17),(4,11),(4,14),(4,16),(4,17),(5,8),(5,11),(5,12),(5,15),(5,16),(6,8),(6,9),(6,10),(6,15),(6,16),(8,19),(8,20),(9,19),(9,22),(9,23),(10,20),(10,22),(10,23),(11,19),(11,22),(11,24),(12,20),(12,22),(12,24),(13,22),(13,23),(14,22),(14,24),(15,19),(15,20),(15,23),(15,24),(16,19),(16,20),(16,23),(16,24),(17,23),(17,24),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21),(23,18),(23,21),(24,18),(24,21)],25) [1,1,0,1,1,0,0,1,0,1,0,0]=>[3,1,5,6,2,4]=>[3,4,1,6,5,2]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,18),(2,8),(2,19),(3,10),(3,11),(3,13),(4,11),(4,12),(4,14),(5,2),(5,12),(5,13),(5,15),(6,1),(6,10),(6,14),(6,15),(8,20),(8,21),(9,20),(10,17),(10,18),(11,16),(11,18),(12,16),(12,19),(13,16),(13,17),(13,19),(14,9),(14,18),(14,19),(15,8),(15,17),(15,18),(15,19),(16,21),(17,20),(17,21),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7)],22) [1,1,0,1,1,0,0,1,1,0,0,0]=>[3,1,5,2,4,6]=>[3,4,1,5,2,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [1,1,0,1,1,0,1,0,0,0,1,0]=>[3,5,1,2,6,4]=>[2,5,3,6,1,4]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,14),(1,17),(1,19),(1,20),(2,15),(2,16),(2,19),(2,20),(3,9),(3,12),(3,13),(3,19),(4,8),(4,11),(4,13),(4,15),(4,20),(5,7),(5,11),(5,12),(5,14),(5,20),(6,7),(6,8),(6,9),(6,16),(6,17),(7,21),(7,25),(7,26),(7,27),(8,21),(8,24),(8,26),(9,24),(9,25),(9,26),(11,18),(11,21),(11,25),(12,18),(12,25),(12,27),(13,18),(13,26),(13,27),(14,21),(14,27),(15,24),(15,25),(15,27),(16,24),(16,26),(17,24),(17,26),(17,27),(18,23),(19,24),(19,27),(20,21),(20,25),(20,26),(20,27),(21,22),(21,23),(22,10),(23,10),(24,22),(25,22),(25,23),(26,22),(26,23),(27,22),(27,23)],28) [1,1,0,1,1,0,1,0,0,1,0,0]=>[3,5,1,6,2,4]=>[5,4,3,6,1,2]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [1,1,0,1,1,0,1,0,1,0,0,0]=>[3,5,6,1,2,4]=>[2,4,3,6,5,1]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,15),(2,8),(2,11),(2,15),(3,7),(3,8),(3,9),(4,7),(4,10),(4,11),(4,15),(5,17),(7,12),(7,13),(7,16),(8,13),(8,16),(9,12),(9,16),(10,12),(10,14),(11,5),(11,13),(11,14),(12,18),(13,17),(13,18),(14,17),(14,18),(15,5),(15,14),(15,16),(16,17),(16,18),(17,6),(18,6)],19) [1,1,0,1,1,0,1,1,0,0,0,0]=>[3,5,1,2,4,6]=>[2,4,3,5,1,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,1,0,1,1,1,0,0,0,0,1,0]=>[3,1,2,4,6,5]=>[2,3,1,4,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,13),(1,16),(2,6),(2,14),(3,10),(3,11),(3,14),(4,9),(4,11),(4,14),(5,6),(5,9),(5,10),(6,15),(7,13),(7,16),(9,12),(9,15),(10,1),(10,12),(10,15),(11,7),(11,12),(12,13),(12,16),(13,8),(14,7),(14,15),(15,16),(16,8)],17) [1,1,0,1,1,1,0,0,0,1,0,0]=>[3,1,2,6,4,5]=>[2,3,1,5,6,4]=>([(0,1),(0,2),(0,3),(0,4),(1,9),(1,10),(1,12),(2,8),(2,10),(2,11),(3,7),(3,8),(3,12),(4,7),(4,9),(4,11),(5,15),(5,16),(7,17),(8,13),(8,17),(9,14),(9,17),(10,13),(10,14),(11,5),(11,14),(11,17),(12,5),(12,13),(12,17),(13,15),(13,16),(14,15),(14,16),(15,6),(16,6),(17,16)],18) [1,1,0,1,1,1,0,0,1,0,0,0]=>[3,1,6,2,4,5]=>[3,4,1,5,6,2]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [1,1,0,1,1,1,0,1,0,0,0,0]=>[3,6,1,2,4,5]=>[2,4,3,5,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,1,0,1,1,1,1,0,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,0,0,0,1,0,1,0,1,0]=>[1,2,4,5,6,3]=>[1,2,6,4,5,3]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,1,1,0,0,0,1,0,1,1,0,0]=>[1,2,4,5,3,6]=>[1,2,5,4,3,6]=>([(0,3),(0,4),(0,5),(1,13),(2,6),(2,8),(3,9),(3,10),(4,2),(4,10),(4,11),(5,1),(5,9),(5,11),(6,14),(6,15),(8,14),(9,12),(9,13),(10,8),(10,12),(11,6),(11,12),(11,13),(12,14),(12,15),(13,15),(14,7),(15,7)],16) [1,1,1,0,0,0,1,1,0,0,1,0]=>[1,2,4,3,6,5]=>[1,2,4,3,6,5]=>([(0,2),(0,3),(0,4),(1,7),(1,13),(2,6),(2,12),(3,1),(3,9),(3,12),(4,6),(4,9),(4,12),(6,10),(7,8),(7,11),(8,5),(9,7),(9,10),(9,13),(10,11),(11,5),(12,10),(12,13),(13,8),(13,11)],14) [1,1,1,0,0,0,1,1,0,1,0,0]=>[1,2,4,6,3,5]=>[1,2,5,4,6,3]=>([(0,1),(0,2),(0,3),(0,5),(1,11),(1,14),(2,10),(2,13),(2,14),(3,10),(3,12),(3,14),(4,7),(4,8),(4,9),(5,4),(5,11),(5,12),(5,13),(7,17),(8,17),(8,18),(9,17),(9,18),(10,15),(11,7),(11,16),(12,8),(12,15),(12,16),(13,9),(13,15),(13,16),(14,15),(14,16),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,1,1,0,0,0,1,1,1,0,0,0]=>[1,2,4,3,5,6]=>[1,2,4,3,5,6]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [1,1,1,0,0,1,0,0,1,0,1,0]=>[1,4,2,5,6,3]=>[1,4,6,2,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,19),(2,10),(2,13),(2,19),(2,20),(3,9),(3,13),(3,18),(3,20),(4,12),(4,14),(4,18),(4,19),(4,20),(5,11),(5,14),(5,18),(5,19),(5,20),(6,8),(6,9),(6,10),(6,11),(6,12),(8,21),(8,22),(9,15),(9,21),(9,25),(10,15),(10,22),(10,25),(11,16),(11,21),(11,22),(11,25),(12,16),(12,21),(12,22),(12,25),(13,15),(13,25),(14,16),(14,17),(14,25),(15,24),(16,23),(16,24),(17,23),(18,17),(18,21),(18,25),(19,17),(19,22),(19,25),(20,17),(20,25),(21,23),(21,24),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [1,1,1,0,0,1,0,0,1,1,0,0]=>[1,4,2,5,3,6]=>[1,4,5,2,3,6]=>([(0,1),(0,2),(0,3),(0,4),(1,10),(1,11),(1,12),(2,8),(2,9),(2,12),(3,5),(3,7),(3,9),(3,11),(4,5),(4,7),(4,8),(4,10),(5,19),(7,13),(7,14),(7,19),(8,13),(8,15),(8,19),(9,13),(9,16),(9,19),(10,14),(10,15),(10,19),(11,14),(11,16),(11,19),(12,15),(12,16),(13,17),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,18)],20) [1,1,1,0,0,1,0,1,0,0,1,0]=>[1,4,5,2,6,3]=>[1,5,6,4,2,3]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,10),(2,12),(3,8),(3,10),(3,11),(4,7),(4,11),(4,12),(5,17),(7,14),(7,15),(8,13),(8,14),(9,13),(9,15),(10,13),(10,16),(11,5),(11,14),(11,16),(12,5),(12,15),(12,16),(13,18),(14,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6)],19) [1,1,1,0,0,1,0,1,0,1,0,0]=>[1,4,5,6,2,3]=>[1,3,6,4,5,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,1,1,0,0,1,0,1,1,0,0,0]=>[1,4,5,2,3,6]=>[1,3,5,4,2,6]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,17),(2,10),(2,11),(2,17),(3,8),(3,9),(3,13),(3,17),(4,7),(4,9),(4,10),(4,17),(5,7),(5,8),(5,11),(5,12),(7,15),(7,20),(7,21),(8,14),(8,15),(8,20),(9,15),(9,16),(9,21),(10,21),(11,20),(11,21),(12,14),(12,20),(13,14),(13,16),(14,19),(15,18),(15,19),(16,18),(16,19),(17,16),(17,20),(17,21),(18,6),(19,6),(20,18),(20,19),(21,18)],22) [1,1,1,0,0,1,1,0,0,0,1,0]=>[1,4,2,3,6,5]=>[1,3,4,2,6,5]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,15),(1,17),(2,7),(2,13),(3,8),(3,9),(3,13),(4,8),(4,11),(4,13),(5,1),(5,7),(5,9),(5,11),(7,17),(8,12),(8,15),(9,12),(9,15),(9,17),(10,14),(10,16),(11,10),(11,12),(11,17),(12,14),(12,16),(13,15),(13,17),(14,6),(15,14),(15,16),(16,6),(17,16)],18) [1,1,1,0,0,1,1,0,0,1,0,0]=>[1,4,2,6,3,5]=>[1,4,5,2,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [1,1,1,0,0,1,1,0,1,0,0,0]=>[1,4,6,2,3,5]=>[1,3,5,4,6,2]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,12),(1,15),(2,10),(2,12),(2,16),(3,11),(3,13),(3,15),(3,16),(4,8),(4,10),(4,11),(4,15),(5,8),(5,9),(5,13),(5,16),(6,18),(6,19),(8,14),(8,17),(8,20),(9,17),(9,21),(10,20),(10,21),(11,14),(11,20),(12,21),(13,6),(13,14),(13,17),(14,19),(15,17),(15,20),(15,21),(16,6),(16,20),(16,21),(17,18),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18)],22) [1,1,1,0,0,1,1,1,0,0,0,0]=>[1,4,2,3,5,6]=>[1,3,4,2,5,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,1,1,0,1,0,0,0,1,0,1,0]=>[4,1,2,5,6,3]=>[2,4,6,1,5,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,9),(1,18),(1,22),(2,11),(2,14),(2,16),(2,18),(3,9),(3,14),(3,15),(3,22),(4,12),(4,13),(4,16),(4,22),(5,10),(5,13),(5,15),(5,18),(5,22),(6,8),(6,10),(6,11),(6,12),(6,22),(8,20),(8,25),(9,19),(9,25),(10,20),(10,21),(10,25),(10,26),(11,17),(11,25),(11,26),(12,17),(12,20),(12,26),(13,21),(13,26),(14,19),(14,26),(15,19),(15,21),(15,25),(16,17),(16,26),(17,24),(18,19),(18,25),(18,26),(19,23),(20,23),(20,24),(21,23),(21,24),(22,20),(22,21),(22,25),(22,26),(23,7),(24,7),(25,23),(25,24),(26,23),(26,24)],27) [1,1,1,0,1,0,0,0,1,1,0,0]=>[4,1,2,5,3,6]=>[2,4,5,1,3,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,22),(2,13),(2,14),(2,17),(3,11),(3,12),(3,17),(4,8),(4,9),(4,11),(4,17),(5,1),(5,8),(5,10),(5,14),(5,17),(6,9),(6,10),(6,12),(6,13),(8,15),(8,20),(8,22),(9,15),(9,19),(9,22),(10,15),(10,16),(10,19),(10,20),(11,22),(12,19),(12,22),(13,16),(13,19),(14,16),(14,20),(14,22),(15,18),(15,21),(16,18),(16,21),(17,19),(17,20),(17,22),(18,7),(19,18),(19,21),(20,18),(20,21),(21,7),(22,21)],23) [1,1,1,0,1,0,0,1,0,0,1,0]=>[4,1,5,2,6,3]=>[4,5,6,1,2,3]=>([(0,1),(0,2),(1,4),(1,10),(2,3),(2,10),(3,5),(3,8),(4,5),(4,9),(5,11),(7,6),(8,7),(8,11),(9,7),(9,11),(10,8),(10,9),(11,6)],12) [1,1,1,0,1,0,0,1,0,1,0,0]=>[4,1,5,6,2,3]=>[4,3,6,1,5,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,21),(2,11),(2,13),(2,15),(3,12),(3,14),(3,15),(4,8),(4,10),(4,12),(4,15),(5,9),(5,10),(5,13),(5,15),(6,1),(6,8),(6,9),(6,11),(6,14),(8,17),(8,18),(8,19),(8,20),(9,17),(9,18),(9,19),(9,20),(10,20),(10,21),(11,17),(11,19),(12,18),(12,20),(13,17),(13,21),(14,18),(14,19),(14,21),(15,19),(15,20),(15,21),(16,7),(17,16),(17,22),(18,16),(18,22),(19,16),(19,22),(20,16),(20,22),(21,22),(22,7)],23) [1,1,1,0,1,0,0,1,1,0,0,0]=>[4,1,5,2,3,6]=>[4,3,5,1,2,6]=>([(0,2),(0,3),(0,4),(0,5),(1,14),(1,19),(2,9),(2,11),(2,12),(3,8),(3,9),(3,10),(4,7),(4,8),(4,11),(5,1),(5,7),(5,10),(5,12),(7,13),(7,19),(8,13),(8,16),(9,15),(9,16),(10,13),(10,15),(10,19),(11,14),(11,16),(11,19),(12,14),(12,15),(12,19),(13,17),(14,18),(15,17),(15,18),(16,17),(16,18),(17,6),(18,6),(19,17),(19,18)],20) [1,1,1,0,1,0,1,0,0,0,1,0]=>[4,5,1,2,6,3]=>[2,5,6,4,1,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,20),(1,21),(2,9),(2,16),(2,17),(3,12),(3,13),(3,16),(4,11),(4,14),(4,16),(4,17),(5,10),(5,12),(5,14),(5,17),(6,9),(6,10),(6,11),(6,13),(7,20),(9,18),(9,19),(10,1),(10,15),(10,19),(10,22),(11,18),(11,19),(11,22),(12,15),(12,22),(13,15),(13,18),(14,7),(14,22),(15,20),(15,21),(16,18),(16,22),(17,7),(17,19),(17,22),(18,21),(19,20),(19,21),(20,8),(21,8),(22,20),(22,21)],23) [1,1,1,0,1,0,1,0,0,1,0,0]=>[4,5,1,6,2,3]=>[5,3,6,4,1,2]=>([(0,1),(0,2),(0,3),(0,4),(0,6),(1,10),(1,15),(1,16),(2,11),(2,15),(2,16),(3,13),(3,15),(3,16),(4,12),(4,15),(4,16),(5,8),(5,9),(5,14),(5,20),(6,5),(6,10),(6,11),(6,12),(6,13),(8,17),(8,19),(9,17),(9,19),(10,18),(10,20),(11,14),(11,18),(11,20),(12,8),(12,18),(12,20),(13,9),(13,18),(13,20),(14,17),(14,19),(15,14),(15,20),(16,14),(16,18),(17,7),(18,19),(19,7),(20,17),(20,19)],21) [1,1,1,0,1,0,1,0,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,1,0,1,1,0,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,0,1,1,0,0,0,0,1,0]=>[4,1,2,3,6,5]=>[2,3,4,1,6,5]=>([(0,3),(0,4),(0,5),(1,8),(1,14),(2,6),(2,7),(3,10),(3,11),(4,2),(4,11),(4,12),(5,1),(5,10),(5,12),(6,13),(6,15),(7,13),(7,15),(8,13),(8,15),(10,14),(11,7),(11,14),(12,6),(12,8),(12,14),(13,9),(14,15),(15,9)],16) [1,1,1,0,1,1,0,0,0,1,0,0]=>[4,1,2,6,3,5]=>[2,4,5,1,6,3]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,19),(2,7),(2,13),(2,15),(3,7),(3,12),(3,15),(4,8),(4,9),(4,12),(4,15),(5,8),(5,10),(5,13),(5,15),(6,1),(6,9),(6,10),(6,12),(6,13),(7,17),(8,14),(8,21),(9,14),(9,18),(9,19),(9,21),(10,14),(10,18),(10,19),(10,21),(12,17),(12,18),(12,21),(13,17),(13,19),(13,21),(14,16),(14,20),(15,17),(15,21),(16,11),(17,20),(18,16),(18,20),(19,16),(19,20),(20,11),(21,16),(21,20)],22) [1,1,1,0,1,1,0,0,1,0,0,0]=>[4,1,6,2,3,5]=>[4,3,5,1,6,2]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,21),(1,22),(2,11),(2,13),(2,18),(3,12),(3,14),(3,18),(4,8),(4,9),(4,13),(4,18),(5,8),(5,10),(5,14),(5,18),(6,9),(6,10),(6,11),(6,12),(8,17),(8,19),(9,15),(9,19),(9,20),(10,1),(10,16),(10,19),(10,20),(11,15),(11,20),(12,16),(12,20),(13,15),(13,19),(14,16),(14,17),(15,21),(16,21),(16,22),(17,22),(18,17),(18,19),(18,20),(19,21),(19,22),(20,21),(20,22),(21,7),(22,7)],23) [1,1,1,0,1,1,0,1,0,0,0,0]=>[4,6,1,2,3,5]=>[2,3,5,4,6,1]=>([(0,1),(0,3),(0,4),(0,5),(1,6),(1,15),(2,7),(2,8),(2,13),(3,10),(3,12),(3,15),(4,2),(4,11),(4,12),(4,15),(5,6),(5,10),(5,11),(6,16),(7,17),(8,17),(8,18),(10,14),(10,16),(11,8),(11,14),(11,16),(12,7),(12,13),(12,14),(13,17),(13,18),(14,17),(14,18),(15,13),(15,16),(16,18),(17,9),(18,9)],19) [1,1,1,0,1,1,1,0,0,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,0,0,0,0,1,0,1,0]=>[1,2,3,5,6,4]=>[1,2,3,6,5,4]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12) [1,1,1,1,0,0,0,0,1,1,0,0]=>[1,2,3,5,4,6]=>[1,2,3,5,4,6]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,1,1,1,0,0,0,1,0,0,1,0]=>[1,2,5,3,6,4]=>[1,2,5,6,3,4]=>([(0,2),(0,3),(0,4),(1,8),(1,9),(2,1),(2,10),(2,11),(3,6),(3,7),(3,11),(4,6),(4,7),(4,10),(6,14),(7,12),(7,14),(8,13),(8,15),(9,13),(9,15),(10,8),(10,12),(10,14),(11,9),(11,12),(11,14),(12,13),(12,15),(13,5),(14,15),(15,5)],16) [1,1,1,1,0,0,0,1,0,1,0,0]=>[1,2,5,6,3,4]=>[1,2,4,6,5,3]=>([(0,1),(0,2),(0,4),(0,5),(1,9),(1,16),(2,10),(2,16),(3,6),(3,7),(3,15),(4,9),(4,11),(4,16),(5,3),(5,10),(5,11),(5,16),(6,13),(7,13),(7,14),(9,12),(10,6),(10,15),(11,7),(11,12),(11,15),(12,14),(13,8),(14,8),(15,13),(15,14),(16,12),(16,15)],17) [1,1,1,1,0,0,0,1,1,0,0,0]=>[1,2,5,3,4,6]=>[1,2,4,5,3,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,1,1,1,0,0,1,0,0,0,1,0]=>[1,5,2,3,6,4]=>[1,3,5,6,2,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,18),(1,21),(2,11),(2,12),(2,19),(3,9),(3,13),(3,19),(4,10),(4,13),(4,19),(5,10),(5,12),(5,14),(5,19),(6,1),(6,9),(6,11),(6,14),(6,19),(8,17),(8,20),(9,18),(9,21),(10,16),(10,21),(11,15),(11,18),(11,21),(12,15),(12,16),(13,21),(14,8),(14,15),(14,16),(14,18),(15,17),(15,20),(16,17),(16,20),(17,7),(18,17),(18,20),(19,16),(19,18),(19,21),(20,7),(21,20)],22) [1,1,1,1,0,0,1,0,0,1,0,0]=>[1,5,2,6,3,4]=>[1,5,4,6,2,3]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,15),(1,18),(2,10),(2,11),(2,12),(3,8),(3,9),(3,12),(4,9),(4,10),(4,13),(5,1),(5,8),(5,11),(5,13),(6,19),(6,20),(8,14),(8,18),(9,14),(9,16),(10,16),(10,17),(11,15),(11,17),(11,18),(12,15),(12,16),(12,18),(13,6),(13,14),(13,17),(14,19),(15,20),(16,19),(16,20),(17,19),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [1,1,1,1,0,0,1,0,1,0,0,0]=>[1,5,6,2,3,4]=>[1,3,4,6,5,2]=>([(0,2),(0,3),(0,4),(0,5),(1,10),(1,17),(2,7),(2,13),(3,9),(3,11),(3,13),(4,1),(4,8),(4,11),(4,13),(5,7),(5,8),(5,9),(7,16),(8,12),(8,16),(8,17),(9,12),(9,16),(10,14),(11,10),(11,12),(11,17),(12,14),(12,15),(13,16),(13,17),(14,6),(15,6),(16,15),(17,14),(17,15)],18) [1,1,1,1,0,0,1,1,0,0,0,0]=>[1,5,2,3,4,6]=>[1,3,4,5,2,6]=>([(0,1),(0,3),(0,4),(0,5),(1,14),(2,7),(2,8),(2,16),(3,9),(3,11),(3,14),(4,9),(4,10),(4,14),(5,2),(5,10),(5,11),(5,14),(7,13),(7,15),(8,13),(8,15),(9,12),(9,16),(10,7),(10,12),(10,16),(11,8),(11,12),(11,16),(12,13),(12,15),(13,6),(14,16),(15,6),(16,15)],17) [1,1,1,1,0,1,0,0,0,0,1,0]=>[5,1,2,3,6,4]=>[2,3,5,6,1,4]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,18),(2,12),(2,17),(2,18),(3,7),(3,14),(4,1),(4,10),(4,13),(4,14),(5,2),(5,9),(5,13),(5,14),(6,7),(6,9),(6,10),(7,17),(9,15),(9,17),(10,15),(10,17),(10,18),(11,16),(11,19),(12,16),(12,19),(13,11),(13,12),(13,15),(13,18),(14,17),(14,18),(15,16),(15,19),(16,8),(17,19),(18,16),(18,19),(19,8)],20) [1,1,1,1,0,1,0,0,0,1,0,0]=>[5,1,2,6,3,4]=>[2,5,4,6,1,3]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,18),(2,11),(2,12),(2,14),(2,18),(3,10),(3,13),(3,14),(3,18),(4,7),(4,9),(4,12),(4,13),(5,8),(5,9),(5,10),(5,11),(7,16),(7,23),(8,16),(8,19),(9,16),(9,17),(9,20),(9,23),(10,19),(10,20),(11,19),(11,20),(11,23),(12,15),(12,23),(13,15),(13,20),(13,23),(14,15),(14,17),(14,20),(15,22),(16,21),(16,22),(17,21),(17,22),(18,17),(18,19),(18,23),(19,21),(20,21),(20,22),(21,6),(22,6),(23,21),(23,22)],24) [1,1,1,1,0,1,0,0,1,0,0,0]=>[5,1,6,2,3,4]=>[5,3,4,6,1,2]=>([(0,1),(0,3),(0,4),(0,5),(1,11),(1,14),(2,6),(2,8),(2,15),(3,10),(3,12),(3,14),(4,9),(4,10),(4,14),(5,2),(5,9),(5,11),(5,12),(6,17),(6,18),(8,17),(9,13),(9,15),(9,16),(10,13),(10,15),(11,8),(11,16),(12,6),(12,13),(12,16),(13,18),(14,15),(14,16),(15,17),(15,18),(16,17),(16,18),(17,7),(18,7)],19) [1,1,1,1,0,1,0,1,0,0,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,1,1,0,0,0,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,0,0,1,0]=>[1,2,3,4,6,5]=>[1,2,3,4,6,5]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10) [1,1,1,1,1,0,0,0,0,1,0,0]=>[1,2,3,6,4,5]=>[1,2,3,5,6,4]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,1,1,1,1,0,0,0,1,0,0,0]=>[1,2,6,3,4,5]=>[1,2,4,5,6,3]=>([(0,3),(0,4),(0,5),(1,9),(1,13),(2,8),(2,13),(3,11),(4,2),(4,6),(4,11),(5,1),(5,6),(5,11),(6,8),(6,9),(6,13),(8,10),(8,12),(9,10),(9,12),(10,7),(11,13),(12,7),(13,12)],14) [1,1,1,1,1,0,0,1,0,0,0,0]=>[1,6,2,3,4,5]=>[1,3,4,5,6,2]=>([(0,2),(0,3),(0,5),(1,8),(1,12),(2,10),(3,6),(3,10),(4,1),(4,9),(4,11),(5,4),(5,6),(5,10),(6,9),(6,11),(8,7),(9,8),(9,12),(10,11),(11,12),(12,7)],13) [1,1,1,1,1,0,1,0,0,0,0,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,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]=>[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,0,1,0,1,0,1,0,1,0,1,1,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,0,1,0,1,0,1,0,1,1,0,1,0,0]=>[2,3,4,5,7,1,6]=>[6,2,3,4,5,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,0,1,0,1,0,1,0,1,1,1,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,0,1,0,1,0,1,1,0,0,1,0,1,0]=>[2,3,4,1,6,7,5]=>[4,2,3,1,7,6,5]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,22),(2,7),(2,8),(2,19),(3,16),(3,17),(3,22),(4,15),(4,17),(4,22),(5,2),(5,11),(5,12),(5,13),(6,5),(6,14),(6,15),(6,16),(7,25),(7,26),(8,25),(8,26),(10,19),(10,21),(11,19),(11,24),(12,7),(12,20),(12,24),(13,8),(13,20),(13,24),(14,11),(14,23),(15,12),(15,18),(15,23),(16,13),(16,18),(16,23),(17,10),(17,18),(18,20),(18,21),(19,26),(20,25),(21,25),(21,26),(22,10),(22,23),(23,21),(23,24),(24,25),(24,26),(25,9),(26,9)],27) [1,0,1,0,1,0,1,1,1,0,1,0,0,0]=>[2,3,4,7,1,5,6]=>[5,2,3,4,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [1,0,1,0,1,0,1,1,1,1,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,0,1,0,1,1,0,0,1,0,1,0,1,0]=>[2,3,1,5,6,7,4]=>[3,2,1,7,5,6,4]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,22),(2,7),(2,8),(2,19),(3,16),(3,17),(3,22),(4,15),(4,17),(4,22),(5,2),(5,11),(5,12),(5,13),(6,5),(6,14),(6,15),(6,16),(7,25),(7,26),(8,25),(8,26),(10,19),(10,21),(11,19),(11,24),(12,7),(12,20),(12,24),(13,8),(13,20),(13,24),(14,11),(14,23),(15,12),(15,18),(15,23),(16,13),(16,18),(16,23),(17,10),(17,18),(18,20),(18,21),(19,26),(20,25),(21,25),(21,26),(22,10),(22,23),(23,21),(23,24),(24,25),(24,26),(25,9),(26,9)],27) [1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>[2,3,1,5,6,4,7]=>[3,2,1,6,5,4,7]=>([(0,3),(0,4),(0,5),(1,12),(1,17),(2,10),(2,11),(2,17),(3,9),(3,13),(4,2),(4,13),(4,14),(5,1),(5,9),(5,14),(6,18),(7,19),(9,15),(9,17),(10,7),(10,16),(11,6),(11,16),(11,20),(12,6),(12,20),(13,10),(13,15),(14,11),(14,12),(14,15),(15,16),(15,20),(16,18),(16,19),(17,7),(17,20),(18,8),(19,8),(20,18),(20,19)],21) [1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>[2,3,1,5,4,7,6]=>[3,2,1,5,4,7,6]=>([(0,3),(0,4),(0,5),(1,18),(2,8),(2,9),(2,20),(3,2),(3,11),(3,12),(4,10),(4,11),(4,13),(5,10),(5,12),(5,13),(7,1),(7,19),(8,14),(8,16),(9,14),(9,16),(9,19),(10,7),(10,20),(11,9),(11,15),(11,20),(12,8),(12,15),(12,20),(13,7),(13,15),(14,17),(14,18),(15,16),(15,19),(16,17),(17,6),(18,6),(19,17),(19,18),(20,14),(20,19)],21) [1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>[2,3,1,5,7,4,6]=>[3,2,1,6,5,7,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [1,0,1,0,1,1,0,0,1,1,1,0,0,0]=>[2,3,1,5,4,6,7]=>[3,2,1,5,4,6,7]=>([(0,4),(0,5),(0,6),(1,18),(2,8),(2,11),(3,7),(3,12),(3,19),(4,13),(4,14),(5,3),(5,13),(5,15),(6,2),(6,14),(6,15),(7,16),(8,1),(8,20),(9,17),(9,18),(11,9),(11,20),(12,9),(12,16),(12,20),(13,7),(13,19),(14,8),(14,19),(15,11),(15,12),(15,19),(16,17),(17,10),(18,10),(19,16),(19,20),(20,17),(20,18)],21) [1,0,1,0,1,1,1,0,0,0,1,0,1,0]=>[2,3,1,4,6,7,5]=>[3,2,1,4,7,6,5]=>([(0,3),(0,4),(0,5),(1,10),(1,12),(2,9),(2,11),(3,13),(3,14),(4,2),(4,13),(4,15),(5,1),(5,14),(5,15),(6,19),(7,20),(9,6),(9,17),(10,6),(10,18),(11,7),(11,17),(12,7),(12,18),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8)],21) [1,0,1,0,1,1,1,0,0,0,1,1,0,0]=>[2,3,1,4,6,5,7]=>[3,2,1,4,6,5,7]=>([(0,2),(0,3),(0,4),(0,6),(1,19),(2,12),(2,20),(3,13),(3,15),(3,20),(4,14),(4,15),(4,20),(5,7),(5,8),(5,9),(6,5),(6,12),(6,13),(6,14),(7,22),(8,17),(8,22),(9,17),(9,22),(9,23),(10,1),(10,23),(12,7),(12,21),(13,8),(13,16),(13,21),(14,9),(14,16),(14,21),(15,10),(15,16),(16,17),(16,23),(17,18),(17,19),(18,11),(19,11),(20,10),(20,21),(21,22),(21,23),(22,18),(23,18),(23,19)],24) [1,0,1,0,1,1,1,0,0,1,0,0,1,0]=>[2,3,1,6,4,7,5]=>[3,2,1,6,7,4,5]=>([(0,4),(0,5),(0,6),(1,23),(2,3),(2,15),(2,16),(3,8),(3,9),(4,2),(4,13),(4,14),(5,11),(5,12),(5,14),(6,11),(6,12),(6,13),(7,1),(7,21),(8,22),(8,23),(9,22),(9,23),(11,7),(11,17),(12,7),(12,18),(13,15),(13,17),(13,18),(14,16),(14,17),(14,18),(15,8),(15,19),(15,20),(16,9),(16,19),(16,20),(17,20),(17,21),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,10),(23,10)],24) [1,0,1,0,1,1,1,0,0,1,0,1,0,0]=>[2,3,1,6,7,4,5]=>[3,2,1,5,7,6,4]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [1,0,1,0,1,1,1,0,0,1,1,0,0,0]=>[2,3,1,6,4,5,7]=>[3,2,1,5,6,4,7]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [1,0,1,0,1,1,1,1,0,0,0,0,1,0]=>[2,3,1,4,5,7,6]=>[3,2,1,4,5,7,6]=>([(0,4),(0,5),(0,6),(1,19),(2,10),(2,12),(3,9),(3,11),(4,13),(4,14),(5,2),(5,13),(5,15),(6,3),(6,14),(6,15),(8,19),(8,20),(9,17),(10,1),(10,18),(11,8),(11,17),(12,8),(12,18),(13,10),(13,16),(14,9),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [1,0,1,0,1,1,1,1,0,0,0,1,0,0]=>[2,3,1,4,7,5,6]=>[3,2,1,4,6,7,5]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [1,0,1,0,1,1,1,1,0,0,1,0,0,0]=>[2,3,1,7,4,5,6]=>[3,2,1,5,6,7,4]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [1,0,1,0,1,1,1,1,0,1,0,0,0,0]=>[2,3,7,1,4,5,6]=>[4,2,3,5,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,0,1,0,1,1,1,1,1,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,0,1,1,0,0,1,0,1,1,0,0,1,0]=>[2,1,4,5,3,7,6]=>[2,1,5,4,3,7,6]=>([(0,4),(0,5),(0,6),(1,12),(1,22),(2,11),(2,22),(3,9),(3,10),(3,22),(4,3),(4,13),(4,14),(5,2),(5,13),(5,15),(6,1),(6,14),(6,15),(8,18),(9,17),(9,20),(10,17),(10,21),(11,8),(11,20),(12,8),(12,21),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,20),(16,21),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18),(21,19),(22,20),(22,21)],23) [1,0,1,1,0,0,1,0,1,1,1,0,0,0]=>[2,1,4,5,3,6,7]=>[2,1,5,4,3,6,7]=>([(0,4),(0,5),(0,6),(1,9),(1,22),(2,11),(2,22),(3,10),(3,12),(4,3),(4,13),(4,15),(5,1),(5,13),(5,14),(6,2),(6,14),(6,15),(8,19),(9,17),(10,18),(10,21),(11,8),(11,21),(12,8),(12,18),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,18),(16,21),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20),(22,17),(22,21)],23) [1,0,1,1,0,0,1,1,0,0,1,0,1,0]=>[2,1,4,3,6,7,5]=>[2,1,4,3,7,6,5]=>([(0,3),(0,4),(0,5),(1,18),(2,8),(2,9),(2,20),(3,2),(3,11),(3,12),(4,10),(4,11),(4,13),(5,10),(5,12),(5,13),(7,1),(7,19),(8,14),(8,16),(9,14),(9,16),(9,19),(10,7),(10,20),(11,9),(11,15),(11,20),(12,8),(12,15),(12,20),(13,7),(13,15),(14,17),(14,18),(15,16),(15,19),(16,17),(17,6),(18,6),(19,17),(19,18),(20,14),(20,19)],21) [1,0,1,1,0,0,1,1,0,0,1,1,0,0]=>[2,1,4,3,6,5,7]=>[2,1,4,3,6,5,7]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,21),(2,9),(2,10),(2,21),(3,6),(3,7),(3,9),(3,21),(4,6),(4,8),(4,10),(4,21),(6,12),(6,13),(6,19),(7,12),(7,18),(8,12),(8,18),(8,19),(9,13),(9,14),(9,18),(10,13),(10,14),(10,19),(11,5),(12,20),(13,16),(13,20),(14,15),(14,16),(15,11),(15,17),(16,11),(16,17),(17,5),(18,15),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [1,0,1,1,0,0,1,1,0,1,0,1,0,0]=>[2,1,4,6,7,3,5]=>[2,1,5,4,7,6,3]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [1,0,1,1,0,0,1,1,1,0,0,0,1,0]=>[2,1,4,3,5,7,6]=>[2,1,4,3,5,7,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,7),(2,10),(2,19),(3,9),(3,11),(3,19),(4,8),(4,10),(4,11),(4,19),(5,6),(7,13),(7,21),(8,13),(8,18),(8,21),(9,17),(9,18),(9,21),(10,13),(10,16),(11,16),(11,17),(11,18),(12,6),(13,20),(14,5),(14,12),(15,5),(15,12),(16,14),(16,20),(17,14),(17,15),(18,14),(18,15),(18,20),(19,16),(19,17),(19,21),(20,12),(21,15),(21,20)],22) [1,0,1,1,0,0,1,1,1,0,0,1,0,0]=>[2,1,4,3,7,5,6]=>[2,1,4,3,6,7,5]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [1,0,1,1,0,0,1,1,1,0,1,0,0,0]=>[2,1,4,7,3,5,6]=>[2,1,5,4,6,7,3]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [1,0,1,1,0,0,1,1,1,1,0,0,0,0]=>[2,1,4,3,5,6,7]=>[2,1,4,3,5,6,7]=>([(0,3),(0,4),(0,5),(1,2),(1,11),(1,16),(2,9),(2,17),(3,6),(3,12),(4,1),(4,10),(4,12),(5,6),(5,10),(5,12),(6,15),(8,7),(9,8),(9,13),(10,11),(10,15),(10,16),(11,9),(11,14),(11,17),(12,15),(12,16),(13,7),(14,13),(15,14),(16,14),(16,17),(17,8),(17,13)],18) [1,0,1,1,0,1,0,1,1,0,0,0,1,0]=>[2,4,5,1,3,7,6]=>[3,2,5,4,1,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,27),(2,11),(2,12),(2,13),(3,1),(3,13),(3,14),(3,15),(4,9),(4,10),(4,12),(4,14),(5,9),(5,10),(5,11),(5,15),(7,21),(7,22),(7,28),(8,21),(8,22),(8,23),(9,18),(9,27),(10,17),(10,19),(10,27),(11,19),(11,20),(11,27),(12,16),(12,19),(12,27),(13,16),(13,20),(13,27),(14,7),(14,16),(14,17),(14,18),(15,8),(15,17),(15,18),(15,20),(16,24),(16,28),(17,22),(17,24),(17,28),(18,21),(18,28),(19,23),(19,24),(20,23),(20,24),(20,28),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(25,6),(26,6),(27,23),(27,28),(28,25),(28,26)],29) [1,0,1,1,0,1,0,1,1,1,0,0,0,0]=>[2,4,5,1,3,6,7]=>[3,2,5,4,1,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [1,0,1,1,0,1,1,0,0,0,1,0,1,0]=>[2,4,1,3,6,7,5]=>[3,2,4,1,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [1,0,1,1,0,1,1,0,1,0,1,0,0,0]=>[2,4,6,7,1,3,5]=>[3,2,5,4,7,6,1]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,11),(2,12),(2,18),(3,8),(3,10),(3,12),(3,18),(4,7),(4,10),(4,11),(4,18),(6,25),(7,14),(7,15),(7,21),(8,14),(8,16),(8,21),(9,15),(9,16),(9,21),(10,13),(10,14),(10,19),(11,13),(11,15),(11,20),(12,13),(12,16),(12,19),(12,20),(13,17),(13,24),(14,22),(14,24),(15,23),(15,24),(16,22),(16,23),(16,24),(17,25),(17,26),(18,19),(18,20),(18,21),(19,6),(19,17),(19,22),(20,6),(20,17),(20,23),(21,22),(21,23),(22,25),(22,26),(23,25),(23,26),(24,26),(25,5),(26,5)],27) [1,0,1,1,0,1,1,1,0,0,0,0,1,0]=>[2,4,1,3,5,7,6]=>[3,2,4,1,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [1,0,1,1,0,1,1,1,0,1,0,0,0,0]=>[2,4,7,1,3,5,6]=>[3,2,5,4,6,7,1]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [1,0,1,1,0,1,1,1,1,0,0,0,0,0]=>[2,4,1,3,5,6,7]=>[3,2,4,1,5,6,7]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [1,0,1,1,1,0,0,0,1,0,1,1,0,0]=>[2,1,3,5,6,4,7]=>[2,1,3,6,5,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,17),(3,10),(3,11),(3,13),(4,10),(4,12),(4,14),(5,11),(5,12),(5,15),(6,2),(6,13),(6,14),(6,15),(8,21),(9,23),(10,16),(10,20),(11,18),(11,20),(12,1),(12,19),(12,20),(13,16),(13,17),(13,18),(14,16),(14,17),(14,19),(15,9),(15,18),(15,19),(16,24),(16,25),(17,23),(17,25),(18,23),(18,24),(19,23),(19,24),(19,25),(20,8),(20,24),(21,7),(22,7),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [1,0,1,1,1,0,0,0,1,1,0,0,1,0]=>[2,1,3,5,4,7,6]=>[2,1,3,5,4,7,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,7),(2,10),(2,19),(3,9),(3,11),(3,19),(4,8),(4,10),(4,11),(4,19),(5,6),(7,13),(7,21),(8,13),(8,18),(8,21),(9,17),(9,18),(9,21),(10,13),(10,16),(11,16),(11,17),(11,18),(12,6),(13,20),(14,5),(14,12),(15,5),(15,12),(16,14),(16,20),(17,14),(17,15),(18,14),(18,15),(18,20),(19,16),(19,17),(19,21),(20,12),(21,15),(21,20)],22) [1,0,1,1,1,0,0,0,1,1,1,0,0,0]=>[2,1,3,5,4,6,7]=>[2,1,3,5,4,6,7]=>([(0,1),(0,3),(0,4),(0,5),(1,7),(1,17),(2,8),(2,9),(2,21),(3,10),(3,13),(3,17),(4,2),(4,12),(4,13),(4,17),(5,7),(5,10),(5,12),(7,19),(8,16),(8,20),(9,15),(9,16),(10,14),(10,19),(10,21),(11,6),(12,8),(12,14),(12,19),(13,9),(13,14),(13,21),(14,15),(14,16),(14,20),(15,11),(15,18),(16,11),(16,18),(17,19),(17,21),(18,6),(19,20),(20,18),(21,15),(21,20)],22) [1,0,1,1,1,0,0,1,0,0,1,1,0,0]=>[2,1,5,3,6,4,7]=>[2,1,5,6,3,4,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,22),(6,23),(8,22),(8,27),(8,29),(9,23),(9,27),(9,29),(10,19),(10,24),(11,20),(11,21),(11,24),(12,17),(12,20),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(14,21),(15,9),(15,18),(15,19),(15,21),(16,6),(16,17),(16,18),(17,22),(17,25),(17,29),(18,23),(18,25),(18,29),(19,29),(20,25),(20,27),(21,25),(21,27),(21,29),(22,26),(22,28),(23,26),(23,28),(24,27),(24,29),(25,26),(25,28),(26,7),(27,26),(27,28),(28,7),(29,28)],30) [1,0,1,1,1,0,0,1,0,1,0,0,1,0]=>[2,1,5,6,3,7,4]=>[2,1,6,7,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,13),(2,14),(2,15),(3,11),(3,14),(3,17),(4,11),(4,13),(4,16),(5,1),(5,15),(5,16),(5,17),(6,21),(6,22),(7,21),(7,23),(8,22),(8,23),(9,27),(9,28),(11,20),(11,25),(12,9),(12,24),(13,12),(13,18),(13,25),(14,12),(14,19),(14,25),(15,8),(15,18),(15,19),(16,6),(16,18),(16,20),(17,7),(17,19),(17,20),(18,22),(18,24),(18,26),(19,23),(19,24),(19,26),(20,21),(20,26),(21,27),(22,27),(22,28),(23,27),(23,28),(24,28),(25,9),(25,26),(26,27),(26,28),(27,10),(28,10)],29) [1,0,1,1,1,0,0,1,1,0,0,0,1,0]=>[2,1,5,3,4,7,6]=>[2,1,4,5,3,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(1,25),(2,14),(2,20),(2,25),(3,9),(3,10),(3,11),(4,9),(4,12),(4,13),(5,2),(5,10),(5,12),(5,16),(6,1),(6,11),(6,13),(6,16),(8,19),(8,24),(9,20),(9,21),(9,25),(10,17),(10,20),(11,17),(11,21),(12,18),(12,20),(12,25),(13,18),(13,21),(13,25),(14,8),(14,22),(14,26),(15,8),(15,23),(15,26),(16,14),(16,15),(16,17),(16,18),(17,26),(18,22),(18,23),(18,26),(19,7),(20,23),(20,26),(21,22),(21,26),(22,19),(22,24),(23,19),(23,24),(24,7),(25,22),(25,23),(26,24)],27) [1,0,1,1,1,0,0,1,1,1,0,0,0,0]=>[2,1,5,3,4,6,7]=>[2,1,4,5,3,6,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [1,0,1,1,1,0,1,1,0,0,0,0,1,0]=>[2,5,1,3,4,7,6]=>[3,2,4,5,1,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [1,0,1,1,1,0,1,1,1,0,0,0,0,0]=>[2,5,1,3,4,6,7]=>[3,2,4,5,1,6,7]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [1,0,1,1,1,1,0,0,0,0,1,0,1,0]=>[2,1,3,4,6,7,5]=>[2,1,3,4,7,6,5]=>([(0,4),(0,5),(0,6),(1,19),(2,10),(2,12),(3,9),(3,11),(4,13),(4,14),(5,2),(5,13),(5,15),(6,3),(6,14),(6,15),(8,19),(8,20),(9,17),(10,1),(10,18),(11,8),(11,17),(12,8),(12,18),(13,10),(13,16),(14,9),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,20),(18,19),(18,20),(19,7),(20,7)],21) [1,0,1,1,1,1,0,0,0,0,1,1,0,0]=>[2,1,3,4,6,5,7]=>[2,1,3,4,6,5,7]=>([(0,1),(0,3),(0,4),(0,5),(1,9),(1,18),(2,6),(2,7),(2,15),(3,10),(3,13),(3,18),(4,2),(4,12),(4,13),(4,18),(5,9),(5,10),(5,12),(6,16),(6,17),(7,16),(7,17),(7,21),(9,20),(10,14),(10,20),(11,8),(12,7),(12,14),(12,20),(13,6),(13,14),(13,15),(14,16),(14,21),(15,17),(15,21),(16,11),(16,19),(17,11),(17,19),(18,15),(18,20),(19,8),(20,21),(21,19)],22) [1,0,1,1,1,1,0,0,0,1,0,0,1,0]=>[2,1,3,6,4,7,5]=>[2,1,3,6,7,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(2,14),(2,15),(2,16),(3,12),(3,13),(3,16),(4,6),(4,8),(4,13),(4,15),(5,6),(5,8),(5,12),(5,14),(6,17),(6,24),(8,18),(8,19),(8,24),(9,23),(9,26),(10,23),(10,26),(11,23),(11,26),(12,17),(12,18),(12,20),(13,17),(13,18),(13,21),(14,19),(14,20),(14,24),(15,19),(15,21),(15,24),(16,1),(16,20),(16,21),(17,25),(18,22),(18,25),(19,11),(19,22),(20,9),(20,22),(20,25),(21,10),(21,22),(21,25),(22,23),(22,26),(23,7),(24,11),(24,25),(25,26),(26,7)],27) [1,0,1,1,1,1,0,0,0,1,0,1,0,0]=>[2,1,3,6,7,4,5]=>[2,1,3,5,7,6,4]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,11),(1,12),(1,28),(2,16),(2,17),(2,24),(3,14),(3,15),(3,24),(4,9),(4,10),(4,17),(4,24),(5,8),(5,10),(5,15),(5,24),(6,8),(6,9),(6,14),(6,16),(8,18),(8,21),(8,27),(9,1),(9,19),(9,21),(9,27),(10,20),(10,21),(10,22),(11,25),(12,25),(12,26),(13,25),(13,26),(14,18),(14,27),(15,18),(15,22),(16,19),(16,27),(17,19),(17,20),(18,23),(19,11),(19,28),(20,13),(20,28),(21,12),(21,23),(21,28),(22,13),(22,23),(23,26),(24,20),(24,22),(24,27),(25,7),(26,7),(27,23),(27,28),(28,25),(28,26)],29) [1,0,1,1,1,1,0,0,0,1,1,0,0,0]=>[2,1,3,6,4,5,7]=>[2,1,3,5,6,4,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [1,0,1,1,1,1,0,0,1,0,1,0,0,0]=>[2,1,6,7,3,4,5]=>[2,1,4,5,7,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,16),(1,23),(2,7),(2,15),(2,24),(3,11),(3,12),(3,13),(4,13),(4,14),(4,17),(5,2),(5,12),(5,17),(5,18),(6,1),(6,11),(6,14),(6,18),(7,21),(7,28),(8,25),(9,25),(9,26),(11,22),(11,23),(11,24),(12,19),(12,24),(13,19),(13,22),(14,20),(14,22),(14,23),(15,8),(15,21),(15,27),(16,8),(16,27),(17,7),(17,19),(17,20),(18,15),(18,16),(18,20),(18,24),(19,28),(20,21),(20,27),(20,28),(21,25),(21,26),(22,9),(22,28),(23,9),(23,27),(24,27),(24,28),(25,10),(26,10),(27,25),(27,26),(28,26)],29) [1,0,1,1,1,1,0,0,1,1,0,0,0,0]=>[2,1,6,3,4,5,7]=>[2,1,4,5,6,3,7]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [1,0,1,1,1,1,0,1,0,1,0,0,0,0]=>[2,6,7,1,3,4,5]=>[3,2,4,5,7,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,12),(1,13),(2,10),(2,11),(2,16),(3,9),(3,11),(3,15),(4,9),(4,10),(4,14),(5,1),(5,14),(5,15),(5,16),(6,21),(6,22),(7,25),(9,17),(9,19),(10,17),(10,20),(11,17),(11,18),(12,7),(12,21),(12,23),(13,7),(13,22),(13,23),(14,6),(14,19),(14,20),(15,12),(15,18),(15,19),(16,13),(16,18),(16,20),(17,24),(18,23),(18,24),(19,21),(19,24),(20,22),(20,24),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,26),(25,8),(26,8)],27) [1,0,1,1,1,1,0,1,1,0,0,0,0,0]=>[2,6,1,3,4,5,7]=>[3,2,4,5,6,1,7]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [1,0,1,1,1,1,1,0,0,0,0,0,1,0]=>[2,1,3,4,5,7,6]=>[2,1,3,4,5,7,6]=>([(0,3),(0,4),(0,5),(1,11),(1,12),(2,1),(2,9),(2,10),(3,7),(3,14),(4,7),(4,13),(5,2),(5,13),(5,14),(7,15),(8,6),(9,11),(9,17),(10,12),(10,17),(11,8),(11,16),(12,8),(12,16),(13,9),(13,15),(14,10),(14,15),(15,17),(16,6),(17,16)],18) [1,0,1,1,1,1,1,0,0,0,0,1,0,0]=>[2,1,3,4,7,5,6]=>[2,1,3,4,6,7,5]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [1,0,1,1,1,1,1,0,0,0,1,0,0,0]=>[2,1,3,7,4,5,6]=>[2,1,3,5,6,7,4]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [1,0,1,1,1,1,1,0,0,1,0,0,0,0]=>[2,1,7,3,4,5,6]=>[2,1,4,5,6,7,3]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [1,0,1,1,1,1,1,0,1,0,0,0,0,0]=>[2,7,1,3,4,5,6]=>[3,2,4,5,6,7,1]=>([(0,4),(0,5),(0,6),(1,18),(2,1),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,14),(5,10),(5,13),(6,3),(6,13),(6,14),(8,17),(8,18),(9,17),(9,18),(10,15),(11,8),(11,16),(12,9),(12,16),(13,11),(13,15),(14,12),(14,15),(15,16),(16,17),(17,7),(18,7)],19) [1,0,1,1,1,1,1,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,0,0,1,0,1,0,1,0,1,0,1,0]=>[1,3,4,5,6,7,2]=>[1,7,3,4,5,6,2]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [1,1,0,0,1,0,1,1,0,0,1,0,1,0]=>[1,3,4,2,6,7,5]=>[1,4,3,2,7,6,5]=>([(0,3),(0,4),(0,5),(1,12),(1,17),(2,10),(2,11),(2,17),(3,9),(3,13),(4,2),(4,13),(4,14),(5,1),(5,9),(5,14),(6,18),(7,19),(9,15),(9,17),(10,7),(10,16),(11,6),(11,16),(11,20),(12,6),(12,20),(13,10),(13,15),(14,11),(14,12),(14,15),(15,16),(15,20),(16,18),(16,19),(17,7),(17,20),(18,8),(19,8),(20,18),(20,19)],21) [1,1,0,0,1,0,1,1,0,0,1,1,0,0]=>[1,3,4,2,6,5,7]=>[1,4,3,2,6,5,7]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,23),(2,7),(2,8),(2,25),(3,11),(3,12),(3,13),(4,13),(4,14),(4,16),(5,12),(5,14),(5,15),(6,2),(6,11),(6,15),(6,16),(7,22),(8,22),(8,23),(9,19),(11,17),(11,18),(11,25),(12,18),(12,20),(13,17),(13,20),(14,1),(14,20),(14,25),(15,7),(15,18),(15,25),(16,8),(16,17),(16,25),(17,23),(17,24),(18,22),(18,24),(19,10),(20,9),(20,24),(21,10),(22,21),(23,19),(23,21),(24,19),(24,21),(25,22),(25,23),(25,24)],26) [1,1,0,0,1,0,1,1,1,0,0,0,1,0]=>[1,3,4,2,5,7,6]=>[1,4,3,2,5,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,17),(3,10),(3,11),(3,13),(4,10),(4,12),(4,14),(5,11),(5,12),(5,15),(6,2),(6,13),(6,14),(6,15),(8,21),(9,23),(10,16),(10,20),(11,18),(11,20),(12,1),(12,19),(12,20),(13,16),(13,17),(13,18),(14,16),(14,17),(14,19),(15,9),(15,18),(15,19),(16,24),(16,25),(17,23),(17,25),(18,23),(18,24),(19,23),(19,24),(19,25),(20,8),(20,24),(21,7),(22,7),(23,22),(24,21),(24,22),(25,21),(25,22)],26) [1,1,0,0,1,0,1,1,1,0,0,1,0,0]=>[1,3,4,2,7,5,6]=>[1,4,3,2,6,7,5]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [1,1,0,0,1,0,1,1,1,1,0,0,0,0]=>[1,3,4,2,5,6,7]=>[1,4,3,2,5,6,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,1,0,0,1,1,0,0,1,0,1,1,0,0]=>[1,3,2,5,6,4,7]=>[1,3,2,6,5,4,7]=>([(0,3),(0,4),(0,5),(0,6),(1,9),(1,23),(2,7),(2,8),(2,25),(3,11),(3,12),(3,13),(4,13),(4,14),(4,16),(5,12),(5,14),(5,15),(6,2),(6,11),(6,15),(6,16),(7,22),(8,22),(8,23),(9,19),(11,17),(11,18),(11,25),(12,18),(12,20),(13,17),(13,20),(14,1),(14,20),(14,25),(15,7),(15,18),(15,25),(16,8),(16,17),(16,25),(17,23),(17,24),(18,22),(18,24),(19,10),(20,9),(20,24),(21,10),(22,21),(23,19),(23,21),(24,19),(24,21),(25,22),(25,23),(25,24)],26) [1,1,0,0,1,1,0,0,1,1,0,0,1,0]=>[1,3,2,5,4,7,6]=>[1,3,2,5,4,7,6]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,21),(2,9),(2,10),(2,21),(3,6),(3,7),(3,9),(3,21),(4,6),(4,8),(4,10),(4,21),(6,12),(6,13),(6,19),(7,12),(7,18),(8,12),(8,18),(8,19),(9,13),(9,14),(9,18),(10,13),(10,14),(10,19),(11,5),(12,20),(13,16),(13,20),(14,15),(14,16),(15,11),(15,17),(16,11),(16,17),(17,5),(18,15),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [1,1,0,0,1,1,0,0,1,1,1,0,0,0]=>[1,3,2,5,4,6,7]=>[1,3,2,5,4,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,19),(2,10),(2,13),(2,21),(3,9),(3,10),(3,21),(4,9),(4,12),(4,21),(5,1),(5,12),(5,13),(5,21),(7,15),(7,16),(8,15),(8,20),(9,18),(10,14),(10,18),(11,6),(12,8),(12,18),(12,19),(13,7),(13,14),(13,19),(14,16),(14,20),(15,11),(15,17),(16,11),(16,17),(17,6),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [1,1,0,0,1,1,1,0,0,0,1,0,1,0]=>[1,3,2,4,6,7,5]=>[1,3,2,4,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,19),(2,12),(2,20),(3,13),(3,15),(3,20),(4,14),(4,15),(4,20),(5,7),(5,8),(5,9),(6,5),(6,12),(6,13),(6,14),(7,22),(8,17),(8,22),(9,17),(9,22),(9,23),(10,1),(10,23),(12,7),(12,21),(13,8),(13,16),(13,21),(14,9),(14,16),(14,21),(15,10),(15,16),(16,17),(16,23),(17,18),(17,19),(18,11),(19,11),(20,10),(20,21),(21,22),(21,23),(22,18),(23,18),(23,19)],24) [1,1,0,0,1,1,1,0,0,0,1,1,0,0]=>[1,3,2,4,6,5,7]=>[1,3,2,4,6,5,7]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,17),(1,18),(2,11),(2,12),(2,18),(3,10),(3,12),(3,17),(4,7),(4,8),(4,10),(4,18),(5,7),(5,9),(5,11),(5,17),(7,14),(7,21),(7,22),(8,14),(8,21),(8,23),(9,14),(9,22),(9,23),(10,21),(10,24),(11,22),(11,24),(12,24),(13,6),(14,15),(14,16),(15,13),(15,19),(16,13),(16,19),(17,21),(17,23),(17,24),(18,22),(18,23),(18,24),(19,6),(20,19),(21,15),(21,20),(22,16),(22,20),(23,15),(23,16),(23,20),(24,20)],25) [1,1,0,0,1,1,1,0,0,1,0,0,1,0]=>[1,3,2,6,4,7,5]=>[1,3,2,6,7,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(2,10),(2,11),(2,14),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(4,16),(5,10),(5,12),(5,15),(5,16),(6,21),(6,25),(6,27),(7,24),(7,26),(8,24),(8,26),(10,17),(10,20),(10,22),(11,17),(11,20),(11,23),(12,18),(12,19),(12,22),(13,18),(13,19),(13,23),(14,1),(14,22),(14,23),(15,6),(15,17),(15,18),(16,6),(16,19),(16,20),(17,27),(18,21),(18,27),(19,21),(19,25),(20,25),(20,27),(21,24),(21,26),(22,7),(22,25),(22,27),(23,8),(23,25),(23,27),(24,9),(25,24),(25,26),(26,9),(27,26)],28) [1,1,0,0,1,1,1,0,0,1,1,0,0,0]=>[1,3,2,6,4,5,7]=>[1,3,2,5,6,4,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [1,1,0,0,1,1,1,1,0,0,0,0,1,0]=>[1,3,2,4,5,7,6]=>[1,3,2,4,5,7,6]=>([(0,1),(0,3),(0,4),(0,5),(1,9),(1,18),(2,6),(2,7),(2,15),(3,10),(3,13),(3,18),(4,2),(4,12),(4,13),(4,18),(5,9),(5,10),(5,12),(6,16),(6,17),(7,16),(7,17),(7,21),(9,20),(10,14),(10,20),(11,8),(12,7),(12,14),(12,20),(13,6),(13,14),(13,15),(14,16),(14,21),(15,17),(15,21),(16,11),(16,19),(17,11),(17,19),(18,15),(18,20),(19,8),(20,21),(21,19)],22) [1,1,0,0,1,1,1,1,0,0,0,1,0,0]=>[1,3,2,4,7,5,6]=>[1,3,2,4,6,7,5]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [1,1,0,0,1,1,1,1,0,0,1,0,0,0]=>[1,3,2,7,4,5,6]=>[1,3,2,5,6,7,4]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [1,1,0,0,1,1,1,1,0,1,0,0,0,0]=>[1,3,7,2,4,5,6]=>[1,4,3,5,6,7,2]=>([(0,3),(0,4),(0,5),(0,6),(1,7),(1,20),(2,1),(2,9),(2,10),(2,14),(3,12),(3,13),(3,17),(4,11),(4,13),(4,16),(5,11),(5,12),(5,15),(6,2),(6,15),(6,16),(6,17),(7,23),(9,20),(9,21),(9,26),(10,20),(10,22),(10,26),(11,25),(12,18),(12,25),(13,19),(13,25),(14,7),(14,21),(14,22),(15,9),(15,18),(15,25),(16,10),(16,19),(16,25),(17,14),(17,18),(17,19),(18,21),(18,26),(19,22),(19,26),(20,23),(20,24),(21,23),(21,24),(22,23),(22,24),(23,8),(24,8),(25,26),(26,24)],27) [1,1,0,0,1,1,1,1,1,0,0,0,0,0]=>[1,3,2,4,5,6,7]=>[1,3,2,4,5,6,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,1,0,1,0,0,1,1,0,0,1,0,1,0]=>[3,1,4,2,6,7,5]=>[3,4,1,2,7,6,5]=>([(0,4),(0,5),(0,6),(1,23),(2,3),(2,15),(2,16),(3,8),(3,9),(4,2),(4,13),(4,14),(5,11),(5,12),(5,14),(6,11),(6,12),(6,13),(7,1),(7,21),(8,22),(8,23),(9,22),(9,23),(11,7),(11,17),(12,7),(12,18),(13,15),(13,17),(13,18),(14,16),(14,17),(14,18),(15,8),(15,19),(15,20),(16,9),(16,19),(16,20),(17,20),(17,21),(18,19),(18,21),(19,22),(20,22),(20,23),(21,22),(21,23),(22,10),(23,10)],24) [1,1,0,1,0,0,1,1,0,0,1,1,0,0]=>[3,1,4,2,6,5,7]=>[3,4,1,2,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(2,10),(2,11),(2,14),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(4,16),(5,10),(5,12),(5,15),(5,16),(6,21),(6,25),(6,27),(7,24),(7,26),(8,24),(8,26),(10,17),(10,20),(10,22),(11,17),(11,20),(11,23),(12,18),(12,19),(12,22),(13,18),(13,19),(13,23),(14,1),(14,22),(14,23),(15,6),(15,17),(15,18),(16,6),(16,19),(16,20),(17,27),(18,21),(18,27),(19,21),(19,25),(20,25),(20,27),(21,24),(21,26),(22,7),(22,25),(22,27),(23,8),(23,25),(23,27),(24,9),(25,24),(25,26),(26,9),(27,26)],28) [1,1,0,1,0,0,1,1,1,0,0,0,1,0]=>[3,1,4,2,5,7,6]=>[3,4,1,2,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(2,14),(2,15),(2,16),(3,12),(3,13),(3,16),(4,6),(4,8),(4,13),(4,15),(5,6),(5,8),(5,12),(5,14),(6,17),(6,24),(8,18),(8,19),(8,24),(9,23),(9,26),(10,23),(10,26),(11,23),(11,26),(12,17),(12,18),(12,20),(13,17),(13,18),(13,21),(14,19),(14,20),(14,24),(15,19),(15,21),(15,24),(16,1),(16,20),(16,21),(17,25),(18,22),(18,25),(19,11),(19,22),(20,9),(20,22),(20,25),(21,10),(21,22),(21,25),(22,23),(22,26),(23,7),(24,11),(24,25),(25,26),(26,7)],27) [1,1,0,1,0,0,1,1,1,0,0,1,0,0]=>[3,1,4,2,7,5,6]=>[3,4,1,2,6,7,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [1,1,0,1,0,0,1,1,1,1,0,0,0,0]=>[3,1,4,2,5,6,7]=>[3,4,1,2,5,6,7]=>([(0,3),(0,4),(0,5),(1,2),(1,13),(1,14),(2,6),(2,7),(3,1),(3,11),(3,12),(4,9),(4,10),(4,12),(5,9),(5,10),(5,11),(6,17),(6,20),(7,17),(7,20),(9,18),(10,15),(10,18),(11,13),(11,15),(11,18),(12,14),(12,15),(12,18),(13,6),(13,16),(13,19),(14,7),(14,16),(14,19),(15,16),(15,19),(16,17),(16,20),(17,8),(18,19),(19,20),(20,8)],21) [1,1,0,1,0,1,0,0,1,1,0,0,1,0]=>[3,4,1,5,2,7,6]=>[4,5,3,1,2,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,13),(2,14),(2,15),(3,11),(3,14),(3,17),(4,11),(4,13),(4,16),(5,1),(5,15),(5,16),(5,17),(6,21),(6,22),(7,21),(7,23),(8,22),(8,23),(9,27),(9,28),(11,20),(11,25),(12,9),(12,24),(13,12),(13,18),(13,25),(14,12),(14,19),(14,25),(15,8),(15,18),(15,19),(16,6),(16,18),(16,20),(17,7),(17,19),(17,20),(18,22),(18,24),(18,26),(19,23),(19,24),(19,26),(20,21),(20,26),(21,27),(22,27),(22,28),(23,27),(23,28),(24,28),(25,9),(25,26),(26,27),(26,28),(27,10),(28,10)],29) [1,1,0,1,0,1,0,0,1,1,1,0,0,0]=>[3,4,1,5,2,6,7]=>[4,5,3,1,2,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,11),(2,14),(2,16),(3,11),(3,13),(3,15),(4,12),(4,15),(4,16),(5,1),(5,12),(5,13),(5,14),(7,22),(7,23),(8,21),(8,22),(9,21),(9,23),(10,24),(11,17),(11,18),(12,7),(12,19),(12,20),(13,8),(13,17),(13,19),(14,9),(14,17),(14,20),(15,10),(15,18),(15,19),(16,10),(16,18),(16,20),(17,21),(17,25),(18,24),(18,25),(19,22),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,6),(27,6)],28) [1,1,0,1,0,1,0,1,0,0,1,1,0,0]=>[3,4,5,1,6,2,7]=>[5,6,3,4,1,2,7]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,11),(2,12),(2,18),(3,8),(3,10),(3,12),(3,18),(4,7),(4,10),(4,11),(4,18),(6,25),(7,14),(7,15),(7,21),(8,14),(8,16),(8,21),(9,15),(9,16),(9,21),(10,13),(10,14),(10,19),(11,13),(11,15),(11,20),(12,13),(12,16),(12,19),(12,20),(13,17),(13,24),(14,22),(14,24),(15,23),(15,24),(16,22),(16,23),(16,24),(17,25),(17,26),(18,19),(18,20),(18,21),(19,6),(19,17),(19,22),(20,6),(20,17),(20,23),(21,22),(21,23),(22,25),(22,26),(23,25),(23,26),(24,26),(25,5),(26,5)],27) [1,1,0,1,0,1,0,1,0,1,0,0,1,0]=>[3,4,5,6,1,7,2]=>[6,7,3,4,5,1,2]=>([(0,4),(0,5),(0,6),(1,12),(1,22),(2,11),(2,22),(3,9),(3,10),(3,22),(4,3),(4,13),(4,14),(5,2),(5,13),(5,15),(6,1),(6,14),(6,15),(8,18),(9,17),(9,20),(10,17),(10,21),(11,8),(11,20),(12,8),(12,21),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,20),(16,21),(17,19),(18,7),(19,7),(20,18),(20,19),(21,18),(21,19),(22,20),(22,21)],23) [1,1,0,1,0,1,0,1,0,1,0,1,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,1,1,0,0,0,1,0,1,0]=>[3,4,1,2,6,7,5]=>[2,4,3,1,7,6,5]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,19),(1,25),(2,13),(2,20),(3,14),(3,15),(3,20),(4,14),(4,16),(4,20),(5,1),(5,8),(5,10),(5,12),(6,5),(6,13),(6,15),(6,16),(8,19),(8,22),(9,19),(9,25),(10,18),(10,22),(10,25),(11,23),(11,24),(12,11),(12,18),(12,22),(13,8),(13,21),(14,9),(14,17),(15,10),(15,17),(15,21),(16,12),(16,17),(16,21),(17,18),(17,25),(18,23),(19,24),(20,9),(20,21),(21,22),(21,25),(22,23),(22,24),(23,7),(24,7),(25,23),(25,24)],26) [1,1,0,1,0,1,1,0,1,0,0,1,0,0]=>[3,4,6,1,7,2,5]=>[6,5,3,4,7,1,2]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [1,1,0,1,0,1,1,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,0,1,1,0,0,0,1,0,1,1,0,0]=>[3,1,2,5,6,4,7]=>[2,3,1,6,5,4,7]=>([(0,4),(0,5),(0,6),(0,7),(1,24),(1,25),(2,11),(2,27),(3,8),(3,9),(3,10),(4,13),(4,15),(4,16),(5,14),(5,15),(5,17),(6,13),(6,14),(6,18),(7,3),(7,16),(7,17),(7,18),(8,26),(9,26),(9,27),(10,1),(10,26),(10,27),(11,24),(13,21),(13,22),(14,19),(14,22),(15,2),(15,20),(15,22),(16,8),(16,20),(16,21),(17,9),(17,19),(17,20),(18,10),(18,19),(18,21),(19,23),(19,27),(20,23),(20,26),(20,27),(21,23),(21,26),(22,11),(22,23),(23,24),(23,25),(24,12),(25,12),(26,25),(27,24),(27,25)],28) [1,1,0,1,1,0,0,0,1,1,0,0,1,0]=>[3,1,2,5,4,7,6]=>[2,3,1,5,4,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,19),(1,22),(2,9),(2,11),(2,12),(3,8),(3,10),(3,12),(4,8),(4,9),(4,13),(4,14),(5,10),(5,11),(5,13),(5,14),(7,1),(7,21),(7,24),(8,15),(8,23),(9,16),(9,20),(9,23),(10,15),(10,17),(10,23),(11,16),(11,17),(11,20),(12,17),(12,20),(12,23),(13,7),(13,20),(13,23),(14,7),(14,15),(14,16),(15,24),(16,21),(16,24),(17,18),(17,21),(17,24),(18,19),(18,22),(19,6),(20,18),(20,21),(21,19),(21,22),(22,6),(23,18),(23,24),(24,22)],25) [1,1,0,1,1,0,0,0,1,1,1,0,0,0]=>[3,1,2,5,4,6,7]=>[2,3,1,5,4,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [1,1,0,1,1,0,1,0,0,1,1,0,0,0]=>[3,5,1,6,2,4,7]=>[5,4,3,6,1,2,7]=>([(0,3),(0,4),(0,5),(0,6),(1,11),(1,27),(2,7),(2,9),(2,10),(3,13),(3,14),(3,16),(4,12),(4,13),(4,15),(5,2),(5,15),(5,16),(5,17),(6,1),(6,12),(6,14),(6,17),(7,22),(7,23),(9,18),(9,22),(9,28),(10,18),(10,23),(10,28),(11,18),(11,28),(12,19),(12,27),(13,19),(13,21),(14,19),(14,20),(14,27),(15,10),(15,21),(15,27),(16,7),(16,20),(16,21),(17,9),(17,11),(17,20),(17,27),(18,26),(19,24),(20,22),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(25,8),(26,8),(27,24),(27,28),(28,25),(28,26)],29) [1,1,0,1,1,1,0,0,0,0,1,0,1,0]=>[3,1,2,4,6,7,5]=>[2,3,1,4,7,6,5]=>([(0,3),(0,4),(0,5),(0,7),(1,24),(2,23),(2,24),(3,16),(3,20),(4,13),(4,15),(4,20),(5,14),(5,15),(5,20),(6,9),(6,10),(6,12),(7,6),(7,13),(7,14),(7,16),(9,21),(10,18),(10,21),(11,1),(11,19),(12,2),(12,18),(12,21),(13,12),(13,17),(13,22),(14,10),(14,17),(14,22),(15,11),(15,17),(16,9),(16,22),(17,18),(17,19),(18,23),(18,24),(19,23),(19,24),(20,11),(20,22),(21,23),(22,19),(22,21),(23,8),(24,8)],25) [1,1,0,1,1,1,0,0,0,0,1,1,0,0]=>[3,1,2,4,6,5,7]=>[2,3,1,4,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,18),(1,24),(2,12),(2,13),(2,19),(3,11),(3,13),(3,20),(4,14),(4,15),(4,19),(4,20),(5,8),(5,11),(5,14),(5,19),(6,8),(6,12),(6,15),(6,20),(8,16),(8,22),(8,23),(9,17),(9,21),(9,25),(10,1),(10,21),(10,25),(11,22),(11,26),(12,23),(12,26),(13,26),(14,10),(14,16),(14,22),(15,9),(15,16),(15,23),(16,17),(16,21),(17,18),(17,24),(18,7),(19,10),(19,23),(19,26),(20,9),(20,22),(20,26),(21,18),(21,24),(22,17),(22,25),(23,21),(23,25),(24,7),(25,24),(26,25)],27) [1,1,0,1,1,1,0,0,0,1,0,0,1,0]=>[3,1,2,6,4,7,5]=>[2,3,1,6,7,4,5]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,21),(2,9),(2,11),(2,13),(3,10),(3,12),(3,13),(4,9),(4,10),(4,14),(4,15),(5,11),(5,12),(5,14),(5,15),(6,21),(6,22),(6,27),(7,25),(7,26),(9,17),(9,18),(9,23),(10,16),(10,20),(10,23),(11,17),(11,18),(11,19),(12,16),(12,19),(12,20),(13,1),(13,19),(13,23),(14,6),(14,18),(14,20),(15,6),(15,16),(15,17),(16,27),(17,22),(17,27),(18,22),(18,24),(19,21),(19,24),(19,27),(20,24),(20,27),(21,25),(21,26),(22,25),(22,26),(23,7),(23,24),(23,27),(24,25),(24,26),(25,8),(26,8),(27,26)],28) [1,1,0,1,1,1,0,0,0,1,1,0,0,0]=>[3,1,2,6,4,5,7]=>[2,3,1,5,6,4,7]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [1,1,0,1,1,1,1,0,0,0,0,0,1,0]=>[3,1,2,4,5,7,6]=>[2,3,1,4,5,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,19),(1,22),(2,10),(2,17),(3,9),(3,12),(3,18),(4,11),(4,14),(4,17),(5,3),(5,13),(5,14),(5,17),(6,10),(6,11),(6,13),(8,19),(8,22),(9,1),(9,16),(9,21),(10,20),(11,15),(11,20),(12,8),(12,16),(13,9),(13,15),(13,20),(14,12),(14,15),(14,18),(15,16),(15,21),(16,19),(16,22),(17,18),(17,20),(18,8),(18,21),(19,7),(20,21),(21,22),(22,7)],23) [1,1,0,1,1,1,1,0,0,0,0,1,0,0]=>[3,1,2,4,7,5,6]=>[2,3,1,4,6,7,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,14),(1,15),(1,19),(1,20),(2,10),(2,11),(2,20),(3,9),(3,11),(3,19),(4,8),(4,9),(4,14),(4,20),(5,8),(5,10),(5,15),(5,19),(7,21),(7,24),(8,16),(8,22),(8,23),(9,22),(9,25),(10,23),(10,25),(11,25),(12,7),(12,17),(12,26),(13,7),(13,18),(13,26),(14,13),(14,16),(14,22),(15,12),(15,16),(15,23),(16,17),(16,18),(17,21),(17,24),(18,21),(18,24),(19,12),(19,22),(19,25),(20,13),(20,23),(20,25),(21,6),(22,17),(22,26),(23,18),(23,26),(24,6),(25,26),(26,24)],27) [1,1,0,1,1,1,1,0,0,0,1,0,0,0]=>[3,1,2,7,4,5,6]=>[2,3,1,5,6,7,4]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [1,1,0,1,1,1,1,0,0,1,0,0,0,0]=>[3,1,7,2,4,5,6]=>[3,4,1,5,6,7,2]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [1,1,0,1,1,1,1,0,1,0,0,0,0,0]=>[3,7,1,2,4,5,6]=>[2,4,3,5,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,1,0,1,1,1,1,1,0,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,0,0,0,1,0,1,0,1,0,1,0]=>[1,2,4,5,6,7,3]=>[1,2,7,4,5,6,3]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,1,1,0,0,0,1,0,1,1,0,0,1,0]=>[1,2,4,5,3,7,6]=>[1,2,5,4,3,7,6]=>([(0,4),(0,5),(0,6),(1,9),(1,22),(2,11),(2,22),(3,10),(3,12),(4,3),(4,13),(4,15),(5,1),(5,13),(5,14),(6,2),(6,14),(6,15),(8,19),(9,17),(10,18),(10,21),(11,8),(11,21),(12,8),(12,18),(13,10),(13,16),(13,22),(14,9),(14,16),(14,22),(15,11),(15,12),(15,16),(16,17),(16,18),(16,21),(17,20),(18,19),(18,20),(19,7),(20,7),(21,19),(21,20),(22,17),(22,21)],23) [1,1,1,0,0,0,1,0,1,1,1,0,0,0]=>[1,2,4,5,3,6,7]=>[1,2,5,4,3,6,7]=>([(0,4),(0,5),(0,6),(1,17),(2,10),(2,12),(3,9),(3,11),(4,3),(4,13),(4,15),(5,2),(5,14),(5,15),(6,1),(6,13),(6,14),(8,20),(9,18),(9,22),(10,19),(10,22),(11,8),(11,18),(12,8),(12,19),(13,9),(13,16),(13,17),(14,10),(14,16),(14,17),(15,11),(15,12),(15,16),(16,18),(16,19),(16,22),(17,22),(18,20),(18,21),(19,20),(19,21),(20,7),(21,7),(22,21)],23) [1,1,1,0,0,0,1,1,0,0,1,0,1,0]=>[1,2,4,3,6,7,5]=>[1,2,4,3,7,6,5]=>([(0,4),(0,5),(0,6),(1,18),(2,8),(2,11),(3,7),(3,12),(3,19),(4,13),(4,14),(5,3),(5,13),(5,15),(6,2),(6,14),(6,15),(7,16),(8,1),(8,20),(9,17),(9,18),(11,9),(11,20),(12,9),(12,16),(12,20),(13,7),(13,19),(14,8),(14,19),(15,11),(15,12),(15,19),(16,17),(17,10),(18,10),(19,16),(19,20),(20,17),(20,18)],21) [1,1,1,0,0,0,1,1,0,0,1,1,0,0]=>[1,2,4,3,6,5,7]=>[1,2,4,3,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,19),(2,10),(2,13),(2,21),(3,9),(3,10),(3,21),(4,9),(4,12),(4,21),(5,1),(5,12),(5,13),(5,21),(7,15),(7,16),(8,15),(8,20),(9,18),(10,14),(10,18),(11,6),(12,8),(12,18),(12,19),(13,7),(13,14),(13,19),(14,16),(14,20),(15,11),(15,17),(16,11),(16,17),(17,6),(18,20),(19,15),(19,16),(19,20),(20,17),(21,14),(21,18),(21,19)],22) [1,1,1,0,0,0,1,1,0,1,0,1,0,0]=>[1,2,4,6,7,3,5]=>[1,2,5,4,7,6,3]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,21),(6,22),(6,23),(7,22),(7,28),(8,21),(8,23),(8,28),(10,19),(10,27),(11,18),(11,20),(11,27),(12,18),(12,27),(13,17),(13,18),(13,27),(14,8),(14,19),(14,20),(14,27),(15,6),(15,17),(15,19),(15,20),(16,7),(16,17),(16,27),(17,22),(17,24),(17,28),(18,24),(19,21),(19,28),(20,23),(20,24),(20,28),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,9),(26,9),(27,24),(27,28),(28,25),(28,26)],29) [1,1,1,0,0,0,1,1,1,0,0,0,1,0]=>[1,2,4,3,5,7,6]=>[1,2,4,3,5,7,6]=>([(0,1),(0,3),(0,4),(0,5),(1,7),(1,17),(2,8),(2,9),(2,21),(3,10),(3,13),(3,17),(4,2),(4,12),(4,13),(4,17),(5,7),(5,10),(5,12),(7,19),(8,16),(8,20),(9,15),(9,16),(10,14),(10,19),(10,21),(11,6),(12,8),(12,14),(12,19),(13,9),(13,14),(13,21),(14,15),(14,16),(14,20),(15,11),(15,18),(16,11),(16,18),(17,19),(17,21),(18,6),(19,20),(20,18),(21,15),(21,20)],22) [1,1,1,0,0,0,1,1,1,0,0,1,0,0]=>[1,2,4,3,7,5,6]=>[1,2,4,3,6,7,5]=>([(0,3),(0,4),(0,5),(0,6),(1,19),(1,22),(2,7),(2,9),(2,10),(3,12),(3,13),(3,16),(4,11),(4,12),(4,14),(5,11),(5,13),(5,15),(6,2),(6,14),(6,15),(6,16),(7,18),(7,21),(9,18),(9,24),(10,1),(10,21),(10,24),(11,23),(12,20),(12,23),(13,17),(13,20),(13,23),(14,10),(14,20),(14,23),(15,9),(15,17),(15,23),(16,7),(16,17),(16,20),(17,18),(17,21),(17,24),(18,19),(18,22),(19,8),(20,21),(20,24),(21,19),(21,22),(22,8),(23,24),(24,22)],25) [1,1,1,0,0,0,1,1,1,0,1,0,0,0]=>[1,2,4,7,3,5,6]=>[1,2,5,4,6,7,3]=>([(0,3),(0,4),(0,5),(0,6),(1,15),(1,21),(2,7),(2,8),(2,14),(3,11),(3,13),(3,17),(4,11),(4,12),(4,16),(5,2),(5,16),(5,17),(5,18),(6,1),(6,12),(6,13),(6,18),(7,22),(7,28),(8,23),(8,28),(9,25),(11,27),(12,19),(12,21),(12,27),(13,20),(13,21),(13,27),(14,9),(14,22),(14,23),(15,9),(15,24),(16,7),(16,19),(16,27),(17,8),(17,20),(17,27),(18,14),(18,15),(18,19),(18,20),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,24),(21,28),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,1,1,0,0,0,1,1,1,1,0,0,0,0]=>[1,2,4,3,5,6,7]=>[1,2,4,3,5,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,1,1,0,0,1,0,0,1,1,0,0,1,0]=>[1,4,2,5,3,7,6]=>[1,4,5,2,3,7,6]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,8),(1,9),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,10),(4,11),(4,13),(4,15),(5,10),(5,11),(5,12),(5,14),(6,22),(6,23),(8,22),(8,27),(8,29),(9,23),(9,27),(9,29),(10,19),(10,24),(11,20),(11,21),(11,24),(12,17),(12,20),(12,24),(13,18),(13,20),(13,24),(14,8),(14,17),(14,19),(14,21),(15,9),(15,18),(15,19),(15,21),(16,6),(16,17),(16,18),(17,22),(17,25),(17,29),(18,23),(18,25),(18,29),(19,29),(20,25),(20,27),(21,25),(21,27),(21,29),(22,26),(22,28),(23,26),(23,28),(24,27),(24,29),(25,26),(25,28),(26,7),(27,26),(27,28),(28,7),(29,28)],30) [1,1,1,0,0,1,0,0,1,1,1,0,0,0]=>[1,4,2,5,3,6,7]=>[1,4,5,2,3,6,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,9),(4,11),(4,13),(4,15),(5,9),(5,11),(5,12),(5,14),(6,22),(6,23),(7,21),(7,22),(7,28),(8,21),(8,23),(8,28),(9,27),(11,17),(11,20),(11,27),(12,17),(12,18),(12,27),(13,17),(13,19),(13,27),(14,7),(14,18),(14,20),(14,27),(15,8),(15,19),(15,20),(15,27),(16,6),(16,18),(16,19),(17,24),(17,28),(18,22),(18,24),(18,28),(19,23),(19,24),(19,28),(20,21),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,1,1,0,0,1,0,1,0,1,0,0,1,0]=>[1,4,5,6,2,7,3]=>[1,6,7,4,5,2,3]=>([(0,1),(0,2),(0,3),(0,4),(1,7),(1,8),(1,9),(2,9),(2,11),(2,12),(2,18),(3,8),(3,10),(3,12),(3,18),(4,7),(4,10),(4,11),(4,18),(6,25),(7,14),(7,15),(7,21),(8,14),(8,16),(8,21),(9,15),(9,16),(9,21),(10,13),(10,14),(10,19),(11,13),(11,15),(11,20),(12,13),(12,16),(12,19),(12,20),(13,17),(13,24),(14,22),(14,24),(15,23),(15,24),(16,22),(16,23),(16,24),(17,25),(17,26),(18,19),(18,20),(18,21),(19,6),(19,17),(19,22),(20,6),(20,17),(20,23),(21,22),(21,23),(22,25),(22,26),(23,25),(23,26),(24,26),(25,5),(26,5)],27) [1,1,1,0,0,1,1,0,0,0,1,0,1,0]=>[1,4,2,3,6,7,5]=>[1,3,4,2,7,6,5]=>([(0,3),(0,4),(0,5),(0,7),(1,22),(2,12),(2,24),(2,25),(3,13),(3,20),(4,15),(4,17),(4,20),(5,16),(5,17),(5,20),(6,2),(6,9),(6,10),(6,14),(7,6),(7,13),(7,15),(7,16),(8,1),(8,25),(9,24),(10,19),(10,24),(10,25),(12,22),(12,23),(13,9),(13,21),(14,12),(14,19),(14,24),(15,10),(15,18),(15,21),(16,14),(16,18),(16,21),(17,8),(17,18),(18,19),(18,25),(19,22),(19,23),(20,8),(20,21),(21,24),(21,25),(22,11),(23,11),(24,23),(25,22),(25,23)],26) [1,1,1,0,0,1,1,0,0,0,1,1,0,0]=>[1,4,2,3,6,5,7]=>[1,3,4,2,6,5,7]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,23),(1,28),(2,9),(2,11),(2,19),(3,13),(3,15),(3,16),(3,19),(4,12),(4,14),(4,16),(4,19),(5,10),(5,11),(5,14),(5,15),(6,9),(6,10),(6,12),(6,13),(8,20),(8,25),(9,27),(10,1),(10,21),(10,26),(10,27),(11,22),(11,27),(12,18),(12,21),(12,27),(13,18),(13,26),(13,27),(14,17),(14,21),(14,22),(15,17),(15,22),(15,26),(16,17),(16,18),(16,26),(17,23),(17,24),(18,24),(18,28),(19,22),(19,26),(19,27),(20,7),(21,8),(21,24),(21,28),(22,23),(22,28),(23,20),(23,25),(24,20),(24,25),(25,7),(26,23),(26,24),(26,28),(27,28),(28,25)],29) [1,1,1,0,0,1,1,1,0,0,0,0,1,0]=>[1,4,2,3,5,7,6]=>[1,3,4,2,5,7,6]=>([(0,2),(0,3),(0,4),(0,5),(0,6),(1,8),(1,22),(1,27),(2,9),(2,24),(3,11),(3,13),(3,14),(3,24),(4,12),(4,14),(4,15),(4,24),(5,10),(5,13),(5,15),(5,24),(6,9),(6,10),(6,11),(6,12),(8,19),(8,25),(9,26),(10,18),(10,20),(10,26),(11,1),(11,17),(11,20),(11,26),(12,17),(12,18),(12,26),(13,16),(13,20),(13,21),(14,16),(14,17),(14,21),(15,16),(15,18),(15,21),(16,22),(16,23),(17,22),(17,23),(17,27),(18,23),(18,27),(19,7),(20,8),(20,23),(20,27),(21,22),(21,27),(22,19),(22,25),(23,19),(23,25),(24,21),(24,26),(25,7),(26,27),(27,25)],28) [1,1,1,0,0,1,1,1,0,0,0,1,0,0]=>[1,4,2,3,7,5,6]=>[1,3,4,2,6,7,5]=>([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(1,19),(2,13),(2,14),(2,15),(2,19),(3,11),(3,12),(3,15),(3,19),(4,9),(4,10),(4,12),(4,14),(5,8),(5,10),(5,11),(5,13),(7,20),(7,26),(8,27),(9,23),(9,27),(10,16),(10,21),(10,22),(10,27),(11,18),(11,22),(11,27),(12,17),(12,22),(12,23),(13,16),(13,18),(13,27),(14,16),(14,17),(14,23),(15,17),(15,18),(15,21),(16,24),(16,25),(16,28),(17,24),(17,25),(18,25),(18,28),(19,21),(19,23),(19,27),(20,6),(21,7),(21,24),(21,28),(22,7),(22,25),(22,28),(23,24),(23,28),(24,20),(24,26),(25,20),(25,26),(26,6),(27,28),(28,26)],29) [1,1,1,0,0,1,1,1,1,0,0,0,0,0]=>[1,4,2,3,5,6,7]=>[1,3,4,2,5,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,1,1,0,1,0,0,1,0,0,1,1,0,0]=>[4,1,5,2,6,3,7]=>[4,5,6,1,2,3,7]=>([(0,1),(0,2),(0,3),(1,13),(1,14),(2,5),(2,14),(2,15),(3,4),(3,13),(3,15),(4,6),(4,9),(4,11),(5,6),(5,10),(5,12),(6,21),(7,19),(7,20),(9,17),(9,21),(10,18),(10,21),(11,7),(11,17),(11,21),(12,7),(12,18),(12,21),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8),(21,20)],22) [1,1,1,0,1,0,0,1,1,0,0,1,0,0]=>[4,1,5,2,7,3,6]=>[4,5,6,1,2,7,3]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [1,1,1,0,1,0,0,1,1,1,0,0,0,0]=>[4,1,5,2,3,6,7]=>[4,3,5,1,2,6,7]=>([(0,3),(0,4),(0,5),(0,6),(1,20),(1,27),(2,7),(2,8),(2,9),(3,11),(3,12),(3,14),(4,12),(4,13),(4,15),(5,2),(5,14),(5,15),(5,16),(6,1),(6,11),(6,13),(6,16),(7,21),(7,23),(7,28),(8,21),(8,22),(9,22),(9,23),(11,17),(11,27),(12,19),(12,20),(12,27),(13,18),(13,20),(13,27),(14,8),(14,17),(14,19),(15,9),(15,18),(15,19),(16,7),(16,17),(16,18),(16,27),(17,21),(17,28),(18,23),(18,24),(18,28),(19,22),(19,24),(19,28),(20,24),(21,25),(22,25),(22,26),(23,25),(23,26),(24,26),(25,10),(26,10),(27,24),(27,28),(28,25),(28,26)],29) [1,1,1,0,1,0,1,0,0,1,0,0,1,0]=>[4,5,1,6,2,7,3]=>[5,6,7,4,1,2,3]=>([(0,3),(0,4),(0,5),(1,10),(1,12),(2,9),(2,11),(3,13),(3,14),(4,2),(4,13),(4,15),(5,1),(5,14),(5,15),(6,19),(7,20),(9,6),(9,17),(10,6),(10,18),(11,7),(11,17),(12,7),(12,18),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8)],21) [1,1,1,0,1,0,1,0,1,0,1,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,1,0,1,1,0,0,0,0,1,0]=>[4,5,1,2,3,7,6]=>[2,3,5,4,1,7,6]=>([(0,3),(0,4),(0,5),(0,6),(1,14),(1,21),(2,9),(2,15),(2,27),(3,10),(3,12),(3,13),(4,10),(4,11),(4,16),(5,2),(5,12),(5,16),(5,17),(6,1),(6,11),(6,13),(6,17),(8,25),(9,22),(9,28),(10,18),(10,27),(11,19),(11,21),(11,27),(12,18),(12,20),(12,27),(13,20),(13,21),(13,27),(14,8),(14,24),(15,8),(15,22),(15,23),(16,9),(16,18),(16,19),(17,14),(17,15),(17,19),(17,20),(18,28),(19,22),(19,24),(19,28),(20,23),(20,24),(20,28),(21,23),(21,24),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,7),(26,7),(27,23),(27,28),(28,26)],29) [1,1,1,0,1,0,1,1,1,0,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,0,1,1,0,0,0,0,1,0,1,0]=>[4,1,2,3,6,7,5]=>[2,3,4,1,7,6,5]=>([(0,5),(0,6),(0,7),(1,22),(2,11),(2,20),(3,9),(3,13),(4,2),(4,8),(4,16),(5,4),(5,14),(5,17),(6,3),(6,15),(6,17),(7,14),(7,15),(8,20),(9,1),(9,19),(10,21),(10,22),(11,21),(11,22),(13,10),(13,19),(14,8),(14,18),(15,9),(15,18),(16,10),(16,11),(16,20),(17,13),(17,16),(17,18),(18,19),(18,20),(19,21),(19,22),(20,21),(21,12),(22,12)],23) [1,1,1,0,1,1,0,0,0,0,1,1,0,0]=>[4,1,2,3,6,5,7]=>[2,3,4,1,6,5,7]=>([(0,3),(0,4),(0,5),(0,6),(1,8),(1,25),(2,9),(2,10),(2,11),(3,12),(3,13),(3,15),(4,12),(4,14),(4,17),(5,13),(5,14),(5,16),(6,2),(6,15),(6,16),(6,17),(8,21),(8,23),(9,19),(9,22),(10,22),(10,25),(11,19),(11,22),(11,25),(12,24),(13,1),(13,20),(13,24),(14,18),(14,24),(15,10),(15,20),(15,24),(16,9),(16,18),(16,20),(17,11),(17,18),(17,24),(18,19),(18,25),(19,21),(19,23),(20,8),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [1,1,1,0,1,1,0,1,0,1,0,0,0,0]=>[4,6,7,1,2,3,5]=>[2,3,5,4,7,6,1]=>([(0,2),(0,3),(0,4),(0,5),(1,8),(1,12),(1,21),(2,10),(2,11),(2,20),(3,1),(3,13),(3,14),(3,20),(4,9),(4,11),(4,14),(4,20),(5,9),(5,10),(5,13),(7,25),(8,18),(8,23),(9,16),(9,17),(9,22),(10,16),(10,22),(11,15),(11,16),(12,7),(12,18),(12,19),(13,8),(13,17),(13,22),(14,12),(14,15),(14,17),(14,21),(15,19),(15,24),(16,24),(17,18),(17,23),(17,24),(18,25),(18,26),(19,25),(19,26),(20,15),(20,21),(20,22),(21,7),(21,19),(21,23),(22,23),(22,24),(23,25),(23,26),(24,26),(25,6),(26,6)],27) [1,1,1,0,1,1,1,0,0,0,0,0,1,0]=>[4,1,2,3,5,7,6]=>[2,3,4,1,5,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,11),(1,23),(2,8),(2,17),(3,7),(3,13),(3,19),(4,12),(4,15),(4,17),(5,3),(5,14),(5,15),(5,17),(6,8),(6,12),(6,14),(7,16),(7,23),(8,21),(10,18),(10,22),(11,18),(11,22),(12,1),(12,20),(12,21),(13,10),(13,16),(14,7),(14,20),(14,21),(15,13),(15,19),(15,20),(16,18),(16,22),(17,19),(17,21),(18,9),(19,10),(19,23),(20,11),(20,16),(20,23),(21,23),(22,9),(23,22)],24) [1,1,1,0,1,1,1,0,0,0,0,1,0,0]=>[4,1,2,3,7,5,6]=>[2,3,4,1,6,7,5]=>([(0,3),(0,4),(0,5),(0,6),(1,21),(1,25),(2,8),(2,9),(2,10),(3,12),(3,13),(3,14),(4,11),(4,13),(4,15),(5,11),(5,12),(5,16),(6,2),(6,14),(6,15),(6,16),(8,19),(8,25),(9,19),(9,20),(10,20),(10,21),(10,25),(11,24),(12,17),(12,24),(13,1),(13,18),(13,24),(14,9),(14,17),(14,18),(15,8),(15,18),(15,24),(16,10),(16,17),(16,24),(17,20),(17,25),(18,19),(18,21),(18,25),(19,22),(19,23),(20,22),(20,23),(21,22),(21,23),(22,7),(23,7),(24,25),(25,23)],26) [1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>[4,7,1,2,3,5,6]=>[2,3,5,4,6,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,9),(1,19),(2,11),(2,15),(2,23),(3,10),(3,14),(3,23),(4,3),(4,12),(4,16),(4,19),(5,2),(5,13),(5,16),(5,19),(6,9),(6,12),(6,13),(7,24),(9,22),(10,20),(10,26),(11,21),(11,26),(12,10),(12,18),(12,22),(13,11),(13,18),(13,22),(14,7),(14,17),(14,20),(15,7),(15,17),(15,21),(16,14),(16,15),(16,18),(16,23),(17,24),(17,25),(18,20),(18,21),(18,26),(19,22),(19,23),(20,24),(20,25),(21,24),(21,25),(22,26),(23,17),(23,26),(24,8),(25,8),(26,25)],27) [1,1,1,0,1,1,1,1,0,0,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,0,0,0,0,1,0,1,0,1,0]=>[1,2,3,5,6,7,4]=>[1,2,3,7,5,6,4]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [1,1,1,1,0,0,0,0,1,0,1,1,0,0]=>[1,2,3,5,6,4,7]=>[1,2,3,6,5,4,7]=>([(0,4),(0,5),(0,6),(1,16),(2,8),(2,9),(3,2),(3,11),(3,12),(4,10),(4,13),(5,3),(5,13),(5,14),(6,1),(6,10),(6,14),(8,19),(9,19),(9,20),(10,15),(10,16),(11,9),(11,17),(11,18),(12,8),(12,17),(13,12),(13,15),(14,11),(14,15),(14,16),(15,17),(15,18),(16,18),(17,19),(17,20),(18,20),(19,7),(20,7)],21) [1,1,1,1,0,0,0,0,1,1,0,0,1,0]=>[1,2,3,5,4,7,6]=>[1,2,3,5,4,7,6]=>([(0,3),(0,4),(0,5),(1,2),(1,11),(1,16),(2,9),(2,17),(3,6),(3,12),(4,1),(4,10),(4,12),(5,6),(5,10),(5,12),(6,15),(8,7),(9,8),(9,13),(10,11),(10,15),(10,16),(11,9),(11,14),(11,17),(12,15),(12,16),(13,7),(14,13),(15,14),(16,14),(16,17),(17,8),(17,13)],18) [1,1,1,1,0,0,0,0,1,1,0,1,0,0]=>[1,2,3,5,7,4,6]=>[1,2,3,6,5,7,4]=>([(0,1),(0,2),(0,3),(0,6),(1,14),(1,18),(2,10),(2,13),(2,18),(3,10),(3,12),(3,18),(4,5),(4,15),(4,16),(4,17),(5,7),(5,8),(5,9),(6,4),(6,12),(6,13),(6,14),(7,21),(8,21),(8,22),(9,21),(9,22),(10,23),(12,16),(12,23),(12,24),(13,17),(13,23),(13,24),(14,15),(14,24),(15,7),(15,19),(16,8),(16,19),(16,20),(17,9),(17,19),(17,20),(18,23),(18,24),(19,21),(19,22),(20,22),(21,11),(22,11),(23,20),(24,19),(24,20)],25) [1,1,1,1,0,0,0,0,1,1,1,0,0,0]=>[1,2,3,5,4,6,7]=>[1,2,3,5,4,6,7]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,1,1,1,0,0,0,1,0,0,1,1,0,0]=>[1,2,5,3,6,4,7]=>[1,2,5,6,3,4,7]=>([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(1,8),(2,12),(2,13),(2,16),(3,1),(3,14),(3,15),(3,16),(4,9),(4,11),(4,13),(4,15),(5,9),(5,11),(5,12),(5,14),(6,22),(6,23),(7,21),(7,22),(7,28),(8,21),(8,23),(8,28),(9,27),(11,17),(11,20),(11,27),(12,17),(12,18),(12,27),(13,17),(13,19),(13,27),(14,7),(14,18),(14,20),(14,27),(15,8),(15,19),(15,20),(15,27),(16,6),(16,18),(16,19),(17,24),(17,28),(18,22),(18,24),(18,28),(19,23),(19,24),(19,28),(20,21),(20,24),(20,28),(21,25),(21,26),(22,25),(22,26),(23,25),(23,26),(24,25),(24,26),(25,10),(26,10),(27,28),(28,26)],29) [1,1,1,1,0,0,0,1,0,1,0,0,1,0]=>[1,2,5,6,3,7,4]=>[1,2,6,7,5,3,4]=>([(0,2),(0,3),(0,4),(0,5),(1,7),(1,8),(1,9),(2,11),(2,14),(2,16),(3,11),(3,13),(3,15),(4,12),(4,15),(4,16),(5,1),(5,12),(5,13),(5,14),(7,22),(7,23),(8,21),(8,22),(9,21),(9,23),(10,24),(11,17),(11,18),(12,7),(12,19),(12,20),(13,8),(13,17),(13,19),(14,9),(14,17),(14,20),(15,10),(15,18),(15,19),(16,10),(16,18),(16,20),(17,21),(17,25),(18,24),(18,25),(19,22),(19,24),(19,25),(20,23),(20,24),(20,25),(21,26),(22,26),(22,27),(23,26),(23,27),(24,27),(25,26),(25,27),(26,6),(27,6)],28) [1,1,1,1,0,0,0,1,1,0,0,0,1,0]=>[1,2,5,3,4,7,6]=>[1,2,4,5,3,7,6]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,22),(1,23),(2,9),(2,18),(3,10),(3,12),(3,23),(4,11),(4,14),(4,18),(5,3),(5,14),(5,15),(5,18),(6,1),(6,9),(6,11),(6,15),(8,19),(8,21),(9,22),(10,17),(10,20),(11,16),(11,22),(11,23),(12,8),(12,17),(12,24),(13,8),(13,20),(13,24),(14,10),(14,16),(14,23),(15,12),(15,13),(15,16),(15,22),(16,17),(16,20),(16,24),(17,19),(17,21),(18,22),(18,23),(19,7),(20,19),(20,21),(21,7),(22,24),(23,20),(23,24),(24,21)],25) [1,1,1,1,0,0,0,1,1,1,0,0,0,0]=>[1,2,5,3,4,6,7]=>[1,2,4,5,3,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>[1,5,2,6,3,7,4]=>[1,5,6,7,2,3,4]=>([(0,1),(0,2),(0,3),(1,13),(1,14),(2,5),(2,14),(2,15),(3,4),(3,13),(3,15),(4,6),(4,9),(4,11),(5,6),(5,10),(5,12),(6,21),(7,19),(7,20),(9,17),(9,21),(10,18),(10,21),(11,7),(11,17),(11,21),(12,7),(12,18),(12,21),(13,9),(13,16),(14,10),(14,16),(15,11),(15,12),(15,16),(16,17),(16,18),(17,19),(17,20),(18,19),(18,20),(19,8),(20,8),(21,20)],22) [1,1,1,1,0,0,1,1,0,0,0,0,1,0]=>[1,5,2,3,4,7,6]=>[1,3,4,5,2,7,6]=>([(0,1),(0,4),(0,5),(0,6),(1,8),(1,17),(2,10),(2,11),(2,20),(3,9),(3,12),(3,24),(4,13),(4,14),(4,17),(5,2),(5,13),(5,15),(5,17),(6,3),(6,8),(6,14),(6,15),(8,24),(9,19),(9,25),(10,18),(10,22),(11,18),(11,22),(11,25),(12,19),(12,22),(12,25),(13,10),(13,16),(13,20),(14,9),(14,16),(14,24),(15,11),(15,12),(15,16),(15,24),(16,18),(16,19),(16,25),(17,20),(17,24),(18,21),(18,23),(19,21),(19,23),(20,22),(20,25),(21,7),(22,21),(22,23),(23,7),(24,25),(25,23)],26) [1,1,1,1,0,0,1,1,1,0,0,0,0,0]=>[1,5,2,3,4,6,7]=>[1,3,4,5,2,6,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,1,1,1,0,1,0,0,0,1,0,0,1,0]=>[5,1,2,6,3,7,4]=>[2,5,6,7,1,3,4]=>([(0,3),(0,4),(0,5),(0,7),(1,11),(1,24),(2,12),(2,27),(3,14),(3,19),(4,15),(4,17),(4,19),(5,1),(5,15),(5,16),(5,19),(6,2),(6,8),(6,9),(6,13),(7,6),(7,14),(7,16),(7,17),(8,21),(8,27),(9,20),(9,21),(9,27),(11,27),(12,25),(12,26),(13,12),(13,20),(13,21),(13,23),(14,8),(14,22),(15,11),(15,18),(15,24),(16,13),(16,18),(16,22),(16,24),(17,9),(17,18),(17,22),(18,20),(18,23),(18,27),(19,22),(19,24),(20,25),(20,26),(21,25),(21,26),(22,21),(22,23),(23,25),(23,26),(24,23),(24,27),(25,10),(26,10),(27,26)],28) [1,1,1,1,0,1,0,0,1,0,0,1,0,0]=>[5,1,6,2,7,3,4]=>[5,6,4,7,1,2,3]=>([(0,2),(0,3),(0,4),(0,6),(1,11),(1,20),(1,25),(2,12),(2,21),(3,13),(3,15),(3,21),(4,14),(4,15),(4,21),(5,1),(5,7),(5,10),(5,16),(6,5),(6,12),(6,13),(6,14),(7,20),(7,25),(9,19),(9,20),(10,18),(10,25),(11,23),(11,24),(12,7),(12,22),(13,10),(13,17),(13,22),(14,16),(14,17),(14,22),(15,9),(15,17),(16,11),(16,18),(16,25),(17,18),(17,19),(18,24),(19,23),(19,24),(20,23),(21,9),(21,22),(22,19),(22,25),(23,8),(24,8),(25,23),(25,24)],26) [1,1,1,1,0,1,0,1,0,1,0,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,1,0,1,1,0,0,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,0,1,1,0,0,0,0,0,1,0]=>[5,1,2,3,4,7,6]=>[2,3,4,5,1,7,6]=>([(0,4),(0,5),(0,6),(1,13),(1,18),(2,8),(2,9),(3,2),(3,12),(3,15),(4,11),(4,14),(5,3),(5,14),(5,16),(6,1),(6,11),(6,16),(7,17),(7,20),(8,17),(8,20),(9,17),(9,20),(11,18),(12,9),(12,19),(13,7),(13,19),(14,12),(14,18),(15,7),(15,8),(15,19),(16,13),(16,15),(16,18),(17,10),(18,19),(19,20),(20,10)],21) [1,1,1,1,0,1,1,0,1,0,0,0,0,0]=>[5,7,1,2,3,4,6]=>[2,3,4,6,5,7,1]=>([(0,1),(0,4),(0,5),(0,6),(1,10),(1,18),(2,3),(2,14),(2,15),(2,20),(3,7),(3,8),(3,16),(4,11),(4,12),(4,18),(5,2),(5,12),(5,13),(5,18),(6,10),(6,11),(6,13),(7,23),(8,23),(8,24),(10,21),(11,17),(11,21),(12,15),(12,17),(12,20),(13,14),(13,17),(13,21),(14,8),(14,19),(14,22),(15,7),(15,16),(15,19),(16,23),(16,24),(17,19),(17,22),(18,20),(18,21),(19,23),(19,24),(20,16),(20,22),(21,22),(22,24),(23,9),(24,9)],25) [1,1,1,1,0,1,1,1,0,0,0,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,0,0,0,0,0,1,0,1,0]=>[1,2,3,4,6,7,5]=>[1,2,3,4,7,6,5]=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15) [1,1,1,1,1,0,0,0,0,0,1,1,0,0]=>[1,2,3,4,6,5,7]=>[1,2,3,4,6,5,7]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,1,1,1,1,0,0,0,0,1,0,0,1,0]=>[1,2,3,6,4,7,5]=>[1,2,3,6,7,4,5]=>([(0,3),(0,4),(0,5),(1,2),(1,13),(1,14),(2,6),(2,7),(3,1),(3,11),(3,12),(4,9),(4,10),(4,12),(5,9),(5,10),(5,11),(6,17),(6,20),(7,17),(7,20),(9,18),(10,15),(10,18),(11,13),(11,15),(11,18),(12,14),(12,15),(12,18),(13,6),(13,16),(13,19),(14,7),(14,16),(14,19),(15,16),(15,19),(16,17),(16,20),(17,8),(18,19),(19,20),(20,8)],21) [1,1,1,1,1,0,0,0,0,1,0,1,0,0]=>[1,2,3,6,7,4,5]=>[1,2,3,5,7,6,4]=>([(0,1),(0,2),(0,5),(0,6),(1,10),(1,20),(2,11),(2,20),(3,4),(3,13),(3,14),(3,21),(4,7),(4,8),(4,19),(5,10),(5,12),(5,20),(6,3),(6,11),(6,12),(6,20),(7,17),(8,17),(8,18),(10,15),(11,14),(11,21),(12,13),(12,15),(12,21),(13,8),(13,16),(13,19),(14,7),(14,19),(15,16),(16,18),(17,9),(18,9),(19,17),(19,18),(20,15),(20,21),(21,16),(21,19)],22) [1,1,1,1,1,0,0,0,0,1,1,0,0,0]=>[1,2,3,6,4,5,7]=>[1,2,3,5,6,4,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,1,1,1,1,0,0,0,1,0,1,0,0,0]=>[1,2,6,7,3,4,5]=>[1,2,4,5,7,6,3]=>([(0,2),(0,4),(0,5),(0,6),(1,13),(1,24),(2,9),(2,18),(3,10),(3,12),(3,24),(4,3),(4,14),(4,15),(4,18),(5,1),(5,11),(5,15),(5,18),(6,9),(6,11),(6,14),(8,19),(9,21),(10,17),(10,22),(11,16),(11,21),(11,24),(12,8),(12,17),(12,23),(13,8),(13,23),(14,10),(14,16),(14,21),(15,12),(15,13),(15,16),(15,24),(16,17),(16,22),(16,23),(17,19),(17,20),(18,21),(18,24),(19,7),(20,7),(21,22),(22,20),(23,19),(23,20),(24,22),(24,23)],25) [1,1,1,1,1,0,0,0,1,1,0,0,0,0]=>[1,2,6,3,4,5,7]=>[1,2,4,5,6,3,7]=>([(0,1),(0,4),(0,5),(0,6),(1,20),(2,10),(2,12),(2,23),(3,9),(3,11),(3,23),(4,13),(4,14),(4,20),(5,3),(5,13),(5,15),(5,20),(6,2),(6,14),(6,15),(6,20),(8,19),(8,21),(9,17),(9,22),(10,18),(10,22),(11,8),(11,17),(11,22),(12,8),(12,18),(12,22),(13,9),(13,16),(13,23),(14,10),(14,16),(14,23),(15,11),(15,12),(15,16),(15,23),(16,17),(16,18),(16,22),(17,19),(17,21),(18,19),(18,21),(19,7),(20,23),(21,7),(22,21),(23,22)],24) [1,1,1,1,1,0,0,1,0,1,0,0,0,0]=>[1,6,7,2,3,4,5]=>[1,3,4,5,7,6,2]=>([(0,2),(0,4),(0,5),(0,6),(1,9),(1,22),(2,10),(2,18),(3,1),(3,7),(3,12),(3,16),(4,11),(4,14),(4,18),(5,3),(5,13),(5,14),(5,18),(6,10),(6,11),(6,13),(7,17),(7,22),(7,23),(9,19),(10,21),(11,15),(11,21),(12,9),(12,17),(12,22),(13,7),(13,15),(13,21),(14,12),(14,15),(14,16),(15,17),(15,23),(16,22),(16,23),(17,19),(17,20),(18,16),(18,21),(19,8),(20,8),(21,23),(22,19),(22,20),(23,20)],24) [1,1,1,1,1,0,0,1,1,0,0,0,0,0]=>[1,6,2,3,4,5,7]=>[1,3,4,5,6,2,7]=>([(0,1),(0,4),(0,5),(0,6),(1,18),(2,8),(2,9),(2,21),(3,2),(3,11),(3,12),(3,20),(4,10),(4,14),(4,18),(5,10),(5,13),(5,18),(6,3),(6,13),(6,14),(6,18),(8,17),(8,19),(9,17),(9,19),(10,15),(10,20),(11,8),(11,16),(11,21),(12,9),(12,16),(12,21),(13,11),(13,15),(13,20),(14,12),(14,15),(14,20),(15,16),(15,21),(16,17),(16,19),(17,7),(18,20),(19,7),(20,21),(21,19)],22) [1,1,1,1,1,0,1,0,0,0,0,0,1,0]=>[6,1,2,3,4,7,5]=>[2,3,4,6,7,1,5]=>([(0,3),(0,5),(0,6),(0,7),(1,13),(1,24),(2,15),(2,21),(2,25),(3,10),(3,19),(4,1),(4,11),(4,16),(4,21),(5,4),(5,14),(5,17),(5,19),(6,2),(6,12),(6,17),(6,19),(7,10),(7,12),(7,14),(9,22),(9,26),(10,25),(11,20),(11,23),(11,24),(12,18),(12,25),(13,22),(13,26),(14,11),(14,18),(14,25),(15,9),(15,23),(15,24),(16,9),(16,13),(16,20),(16,24),(17,15),(17,16),(17,18),(17,21),(18,20),(18,23),(19,21),(19,25),(20,22),(20,26),(21,23),(21,24),(22,8),(23,26),(24,22),(24,26),(25,23),(26,8)],27) [1,1,1,1,1,0,1,0,0,1,0,0,0,0]=>[6,1,7,2,3,4,5]=>[6,3,4,5,7,1,2]=>([(0,1),(0,3),(0,4),(0,6),(1,14),(1,21),(2,10),(2,12),(2,18),(3,15),(3,16),(3,21),(4,2),(4,16),(4,17),(4,21),(5,9),(5,11),(5,13),(6,5),(6,14),(6,15),(6,17),(8,25),(8,26),(9,23),(10,20),(10,27),(11,23),(11,27),(12,8),(12,20),(12,24),(13,8),(13,23),(13,27),(14,9),(14,22),(15,11),(15,19),(15,22),(16,10),(16,18),(16,19),(17,12),(17,13),(17,19),(17,22),(18,24),(18,27),(19,20),(19,24),(19,27),(20,26),(21,18),(21,22),(22,23),(22,24),(23,25),(24,25),(24,26),(25,7),(26,7),(27,25),(27,26)],28) [1,1,1,1,1,0,1,0,1,0,0,0,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,1,1,0,0,0,0,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,0,0,1,0]=>[1,2,3,4,5,7,6]=>[1,2,3,4,5,7,6]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12) [1,1,1,1,1,1,0,0,0,0,0,1,0,0]=>[1,2,3,4,7,5,6]=>[1,2,3,4,6,7,5]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,1,1,1,1,1,0,0,0,0,1,0,0,0]=>[1,2,3,7,4,5,6]=>[1,2,3,5,6,7,4]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,1,1,1,1,1,0,0,0,1,0,0,0,0]=>[1,2,7,3,4,5,6]=>[1,2,4,5,6,7,3]=>([(0,1),(0,5),(0,6),(1,14),(2,11),(2,17),(3,4),(3,13),(3,17),(4,10),(4,16),(5,2),(5,12),(5,14),(6,3),(6,12),(6,14),(8,7),(9,8),(9,15),(10,8),(10,15),(11,9),(11,16),(12,11),(12,13),(12,17),(13,9),(13,10),(13,16),(14,17),(15,7),(16,15),(17,16)],18) [1,1,1,1,1,1,0,0,1,0,0,0,0,0]=>[1,7,2,3,4,5,6]=>[1,3,4,5,6,7,2]=>([(0,2),(0,3),(0,6),(1,10),(1,15),(2,12),(3,7),(3,12),(4,5),(4,11),(4,13),(5,1),(5,9),(5,14),(6,4),(6,7),(6,12),(7,11),(7,13),(9,10),(9,15),(10,8),(11,9),(11,14),(12,13),(13,14),(14,15),(15,8)],16) [1,1,1,1,1,1,0,1,0,0,0,0,0,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,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,1,0,0,1,1,0,0,1,1,0,0,1,0]=>[2,1,4,3,6,5,8,7]=>[2,1,4,3,6,5,8,7]=>([(0,1),(0,2),(0,3),(0,4),(1,8),(1,10),(1,12),(1,29),(2,7),(2,10),(2,11),(2,29),(3,7),(3,9),(3,12),(3,29),(4,8),(4,9),(4,11),(4,29),(6,5),(7,17),(7,19),(7,27),(8,18),(8,20),(8,28),(9,17),(9,18),(9,26),(10,19),(10,20),(10,27),(10,28),(11,17),(11,20),(11,26),(11,27),(12,18),(12,19),(12,26),(12,28),(13,14),(13,15),(14,6),(14,16),(15,6),(15,16),(16,5),(17,22),(17,23),(18,22),(18,24),(19,22),(19,23),(19,25),(20,22),(20,24),(20,25),(21,16),(22,21),(23,14),(23,21),(24,15),(24,21),(25,14),(25,15),(25,21),(26,13),(26,23),(26,24),(27,13),(27,23),(27,25),(28,13),(28,24),(28,25),(29,26),(29,27),(29,28)],30) [1,1,1,1,0,1,0,0,1,0,0,1,0,0,1,0]=>[5,1,6,2,7,3,8,4]=>[5,6,7,8,1,2,3,4]=>([(0,3),(0,4),(1,6),(1,17),(2,5),(2,16),(3,2),(3,15),(4,1),(4,15),(5,7),(5,12),(6,7),(6,13),(7,18),(9,8),(10,9),(10,19),(11,9),(11,19),(12,10),(12,18),(13,11),(13,18),(14,10),(14,11),(15,16),(15,17),(16,12),(16,14),(17,13),(17,14),(18,19),(19,8)],20) [1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,0]=>[1,2,3,8,4,5,6,7]=>[1,2,3,5,6,7,8,4]=>([(0,1),(0,6),(0,7),(1,18),(2,5),(2,17),(2,21),(3,4),(3,16),(3,21),(4,10),(4,22),(5,11),(5,22),(6,3),(6,14),(6,18),(7,2),(7,14),(7,18),(9,8),(10,12),(10,20),(11,13),(11,20),(12,9),(12,19),(13,9),(13,19),(14,16),(14,17),(14,21),(15,12),(15,13),(15,20),(16,10),(16,15),(16,22),(17,11),(17,15),(17,22),(18,21),(19,8),(20,19),(21,22),(22,20)],23)
Map
to 321-avoiding permutation (Billey-Jockusch-Stanley)
Description
The Billey-Jockusch-Stanley bijection to 321-avoiding permutations.
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.