Identifier
Images
=>
[]=>
[1]=>
[1,2]=>1
[2,1]=>0
[1,2,3]=>11
[1,3,2]=>10
[2,1,3]=>01
[2,3,1]=>00
[3,1,2]=>00
[3,2,1]=>00
[1,2,3,4]=>111
[1,2,4,3]=>110
[1,3,2,4]=>101
[1,3,4,2]=>100
[1,4,2,3]=>100
[1,4,3,2]=>100
[2,1,3,4]=>011
[2,1,4,3]=>010
[2,3,1,4]=>001
[2,3,4,1]=>000
[2,4,1,3]=>000
[2,4,3,1]=>000
[3,1,2,4]=>001
[3,1,4,2]=>000
[3,2,1,4]=>001
[3,2,4,1]=>000
[3,4,1,2]=>000
[3,4,2,1]=>000
[4,1,2,3]=>000
[4,1,3,2]=>000
[4,2,1,3]=>000
[4,2,3,1]=>000
[4,3,1,2]=>000
[4,3,2,1]=>000
[1,2,3,4,5]=>1111
[1,2,3,5,4]=>1110
[1,2,4,3,5]=>1101
[1,2,4,5,3]=>1100
[1,2,5,3,4]=>1100
[1,2,5,4,3]=>1100
[1,3,2,4,5]=>1011
[1,3,2,5,4]=>1010
[1,3,4,2,5]=>1001
[1,3,4,5,2]=>1000
[1,3,5,2,4]=>1000
[1,3,5,4,2]=>1000
[1,4,2,3,5]=>1001
[1,4,2,5,3]=>1000
[1,4,3,2,5]=>1001
[1,4,3,5,2]=>1000
[1,4,5,2,3]=>1000
[1,4,5,3,2]=>1000
[1,5,2,3,4]=>1000
[1,5,2,4,3]=>1000
[1,5,3,2,4]=>1000
[1,5,3,4,2]=>1000
[1,5,4,2,3]=>1000
[1,5,4,3,2]=>1000
[2,1,3,4,5]=>0111
[2,1,3,5,4]=>0110
[2,1,4,3,5]=>0101
[2,1,4,5,3]=>0100
[2,1,5,3,4]=>0100
[2,1,5,4,3]=>0100
[2,3,1,4,5]=>0011
[2,3,1,5,4]=>0010
[2,3,4,1,5]=>0001
[2,3,4,5,1]=>0000
[2,3,5,1,4]=>0000
[2,3,5,4,1]=>0000
[2,4,1,3,5]=>0001
[2,4,1,5,3]=>0000
[2,4,3,1,5]=>0001
[2,4,3,5,1]=>0000
[2,4,5,1,3]=>0000
[2,4,5,3,1]=>0000
[2,5,1,3,4]=>0000
[2,5,1,4,3]=>0000
[2,5,3,1,4]=>0000
[2,5,3,4,1]=>0000
[2,5,4,1,3]=>0000
[2,5,4,3,1]=>0000
[3,1,2,4,5]=>0011
[3,1,2,5,4]=>0010
[3,1,4,2,5]=>0001
[3,1,4,5,2]=>0000
[3,1,5,2,4]=>0000
[3,1,5,4,2]=>0000
[3,2,1,4,5]=>0011
[3,2,1,5,4]=>0010
[3,2,4,1,5]=>0001
[3,2,4,5,1]=>0000
[3,2,5,1,4]=>0000
[3,2,5,4,1]=>0000
[3,4,1,2,5]=>0001
[3,4,1,5,2]=>0000
[3,4,2,1,5]=>0001
[3,4,2,5,1]=>0000
[3,4,5,1,2]=>0000
[3,4,5,2,1]=>0000
[3,5,1,2,4]=>0000
[3,5,1,4,2]=>0000
[3,5,2,1,4]=>0000
[3,5,2,4,1]=>0000
[3,5,4,1,2]=>0000
[3,5,4,2,1]=>0000
[4,1,2,3,5]=>0001
[4,1,2,5,3]=>0000
[4,1,3,2,5]=>0001
[4,1,3,5,2]=>0000
[4,1,5,2,3]=>0000
[4,1,5,3,2]=>0000
[4,2,1,3,5]=>0001
[4,2,1,5,3]=>0000
[4,2,3,1,5]=>0001
[4,2,3,5,1]=>0000
[4,2,5,1,3]=>0000
[4,2,5,3,1]=>0000
[4,3,1,2,5]=>0001
[4,3,1,5,2]=>0000
[4,3,2,1,5]=>0001
[4,3,2,5,1]=>0000
[4,3,5,1,2]=>0000
[4,3,5,2,1]=>0000
[4,5,1,2,3]=>0000
[4,5,1,3,2]=>0000
[4,5,2,1,3]=>0000
[4,5,2,3,1]=>0000
[4,5,3,1,2]=>0000
[4,5,3,2,1]=>0000
[5,1,2,3,4]=>0000
[5,1,2,4,3]=>0000
[5,1,3,2,4]=>0000
[5,1,3,4,2]=>0000
[5,1,4,2,3]=>0000
[5,1,4,3,2]=>0000
[5,2,1,3,4]=>0000
[5,2,1,4,3]=>0000
[5,2,3,1,4]=>0000
[5,2,3,4,1]=>0000
[5,2,4,1,3]=>0000
[5,2,4,3,1]=>0000
[5,3,1,2,4]=>0000
[5,3,1,4,2]=>0000
[5,3,2,1,4]=>0000
[5,3,2,4,1]=>0000
[5,3,4,1,2]=>0000
[5,3,4,2,1]=>0000
[5,4,1,2,3]=>0000
[5,4,1,3,2]=>0000
[5,4,2,1,3]=>0000
[5,4,2,3,1]=>0000
[5,4,3,1,2]=>0000
[5,4,3,2,1]=>0000
[1,2,3,4,5,6]=>11111
[1,2,3,4,6,5]=>11110
[1,2,3,5,4,6]=>11101
[1,2,3,5,6,4]=>11100
[1,2,3,6,4,5]=>11100
[1,2,3,6,5,4]=>11100
[1,2,4,3,5,6]=>11011
[1,2,4,3,6,5]=>11010
[1,2,4,5,3,6]=>11001
[1,2,4,5,6,3]=>11000
[1,2,4,6,3,5]=>11000
[1,2,4,6,5,3]=>11000
[1,2,5,3,4,6]=>11001
[1,2,5,3,6,4]=>11000
[1,2,5,4,3,6]=>11001
[1,2,5,4,6,3]=>11000
[1,2,5,6,3,4]=>11000
[1,2,5,6,4,3]=>11000
[1,2,6,3,4,5]=>11000
[1,2,6,3,5,4]=>11000
[1,2,6,4,3,5]=>11000
[1,2,6,4,5,3]=>11000
[1,2,6,5,3,4]=>11000
[1,2,6,5,4,3]=>11000
[1,3,2,4,5,6]=>10111
[1,3,2,4,6,5]=>10110
[1,3,2,5,4,6]=>10101
[1,3,2,5,6,4]=>10100
[1,3,2,6,4,5]=>10100
[1,3,2,6,5,4]=>10100
[1,3,4,2,5,6]=>10011
[1,3,4,2,6,5]=>10010
[1,3,4,5,2,6]=>10001
[1,3,4,5,6,2]=>10000
[1,3,4,6,2,5]=>10000
[1,3,4,6,5,2]=>10000
[1,3,5,2,4,6]=>10001
[1,3,5,2,6,4]=>10000
[1,3,5,4,2,6]=>10001
[1,3,5,4,6,2]=>10000
[1,3,5,6,2,4]=>10000
[1,3,5,6,4,2]=>10000
[1,3,6,2,4,5]=>10000
[1,3,6,2,5,4]=>10000
[1,3,6,4,2,5]=>10000
[1,3,6,4,5,2]=>10000
[1,3,6,5,2,4]=>10000
[1,3,6,5,4,2]=>10000
[1,4,2,3,5,6]=>10011
[1,4,2,3,6,5]=>10010
[1,4,2,5,3,6]=>10001
[1,4,2,5,6,3]=>10000
[1,4,2,6,3,5]=>10000
[1,4,2,6,5,3]=>10000
[1,4,3,2,5,6]=>10011
[1,4,3,2,6,5]=>10010
[1,4,3,5,2,6]=>10001
[1,4,3,5,6,2]=>10000
[1,4,3,6,2,5]=>10000
[1,4,3,6,5,2]=>10000
[1,4,5,2,3,6]=>10001
[1,4,5,2,6,3]=>10000
[1,4,5,3,2,6]=>10001
[1,4,5,3,6,2]=>10000
[1,4,5,6,2,3]=>10000
[1,4,5,6,3,2]=>10000
[1,4,6,2,3,5]=>10000
[1,4,6,2,5,3]=>10000
[1,4,6,3,2,5]=>10000
[1,4,6,3,5,2]=>10000
[1,4,6,5,2,3]=>10000
[1,4,6,5,3,2]=>10000
[1,5,2,3,4,6]=>10001
[1,5,2,3,6,4]=>10000
[1,5,2,4,3,6]=>10001
[1,5,2,4,6,3]=>10000
[1,5,2,6,3,4]=>10000
[1,5,2,6,4,3]=>10000
[1,5,3,2,4,6]=>10001
[1,5,3,2,6,4]=>10000
[1,5,3,4,2,6]=>10001
[1,5,3,4,6,2]=>10000
[1,5,3,6,2,4]=>10000
[1,5,3,6,4,2]=>10000
[1,5,4,2,3,6]=>10001
[1,5,4,2,6,3]=>10000
[1,5,4,3,2,6]=>10001
[1,5,4,3,6,2]=>10000
[1,5,4,6,2,3]=>10000
[1,5,4,6,3,2]=>10000
[1,5,6,2,3,4]=>10000
[1,5,6,2,4,3]=>10000
[1,5,6,3,2,4]=>10000
[1,5,6,3,4,2]=>10000
[1,5,6,4,2,3]=>10000
[1,5,6,4,3,2]=>10000
[1,6,2,3,4,5]=>10000
[1,6,2,3,5,4]=>10000
[1,6,2,4,3,5]=>10000
[1,6,2,4,5,3]=>10000
[1,6,2,5,3,4]=>10000
[1,6,2,5,4,3]=>10000
[1,6,3,2,4,5]=>10000
[1,6,3,2,5,4]=>10000
[1,6,3,4,2,5]=>10000
[1,6,3,4,5,2]=>10000
[1,6,3,5,2,4]=>10000
[1,6,3,5,4,2]=>10000
[1,6,4,2,3,5]=>10000
[1,6,4,2,5,3]=>10000
[1,6,4,3,2,5]=>10000
[1,6,4,3,5,2]=>10000
[1,6,4,5,2,3]=>10000
[1,6,4,5,3,2]=>10000
[1,6,5,2,3,4]=>10000
[1,6,5,2,4,3]=>10000
[1,6,5,3,2,4]=>10000
[1,6,5,3,4,2]=>10000
[1,6,5,4,2,3]=>10000
[1,6,5,4,3,2]=>10000
[2,1,3,4,5,6]=>01111
[2,1,3,4,6,5]=>01110
[2,1,3,5,4,6]=>01101
[2,1,3,5,6,4]=>01100
[2,1,3,6,4,5]=>01100
[2,1,3,6,5,4]=>01100
[2,1,4,3,5,6]=>01011
[2,1,4,3,6,5]=>01010
[2,1,4,5,3,6]=>01001
[2,1,4,5,6,3]=>01000
[2,1,4,6,3,5]=>01000
[2,1,4,6,5,3]=>01000
[2,1,5,3,4,6]=>01001
[2,1,5,3,6,4]=>01000
[2,1,5,4,3,6]=>01001
[2,1,5,4,6,3]=>01000
[2,1,5,6,3,4]=>01000
[2,1,5,6,4,3]=>01000
[2,1,6,3,4,5]=>01000
[2,1,6,3,5,4]=>01000
[2,1,6,4,3,5]=>01000
[2,1,6,4,5,3]=>01000
[2,1,6,5,3,4]=>01000
[2,1,6,5,4,3]=>01000
[2,3,1,4,5,6]=>00111
[2,3,1,4,6,5]=>00110
[2,3,1,5,4,6]=>00101
[2,3,1,5,6,4]=>00100
[2,3,1,6,4,5]=>00100
[2,3,1,6,5,4]=>00100
[2,3,4,1,5,6]=>00011
[2,3,4,1,6,5]=>00010
[2,3,4,5,1,6]=>00001
[2,3,4,5,6,1]=>00000
[2,3,4,6,1,5]=>00000
[2,3,4,6,5,1]=>00000
[2,3,5,1,4,6]=>00001
[2,3,5,1,6,4]=>00000
[2,3,5,4,1,6]=>00001
[2,3,5,4,6,1]=>00000
[2,3,5,6,1,4]=>00000
[2,3,5,6,4,1]=>00000
[2,3,6,1,4,5]=>00000
[2,3,6,1,5,4]=>00000
[2,3,6,4,1,5]=>00000
[2,3,6,4,5,1]=>00000
[2,3,6,5,1,4]=>00000
[2,3,6,5,4,1]=>00000
[2,4,1,3,5,6]=>00011
[2,4,1,3,6,5]=>00010
[2,4,1,5,3,6]=>00001
[2,4,1,5,6,3]=>00000
[2,4,1,6,3,5]=>00000
[2,4,1,6,5,3]=>00000
[2,4,3,1,5,6]=>00011
[2,4,3,1,6,5]=>00010
[2,4,3,5,1,6]=>00001
[2,4,3,5,6,1]=>00000
[2,4,3,6,1,5]=>00000
[2,4,3,6,5,1]=>00000
[2,4,5,1,3,6]=>00001
[2,4,5,1,6,3]=>00000
[2,4,5,3,1,6]=>00001
[2,4,5,3,6,1]=>00000
[2,4,5,6,1,3]=>00000
[2,4,5,6,3,1]=>00000
[2,4,6,1,3,5]=>00000
[2,4,6,1,5,3]=>00000
[2,4,6,3,1,5]=>00000
[2,4,6,3,5,1]=>00000
[2,4,6,5,1,3]=>00000
[2,4,6,5,3,1]=>00000
[2,5,1,3,4,6]=>00001
[2,5,1,3,6,4]=>00000
[2,5,1,4,3,6]=>00001
[2,5,1,4,6,3]=>00000
[2,5,1,6,3,4]=>00000
[2,5,1,6,4,3]=>00000
[2,5,3,1,4,6]=>00001
[2,5,3,1,6,4]=>00000
[2,5,3,4,1,6]=>00001
[2,5,3,4,6,1]=>00000
[2,5,3,6,1,4]=>00000
[2,5,3,6,4,1]=>00000
[2,5,4,1,3,6]=>00001
[2,5,4,1,6,3]=>00000
[2,5,4,3,1,6]=>00001
[2,5,4,3,6,1]=>00000
[2,5,4,6,1,3]=>00000
[2,5,4,6,3,1]=>00000
[2,5,6,1,3,4]=>00000
[2,5,6,1,4,3]=>00000
[2,5,6,3,1,4]=>00000
[2,5,6,3,4,1]=>00000
[2,5,6,4,1,3]=>00000
[2,5,6,4,3,1]=>00000
[2,6,1,3,4,5]=>00000
[2,6,1,3,5,4]=>00000
[2,6,1,4,3,5]=>00000
[2,6,1,4,5,3]=>00000
[2,6,1,5,3,4]=>00000
[2,6,1,5,4,3]=>00000
[2,6,3,1,4,5]=>00000
[2,6,3,1,5,4]=>00000
[2,6,3,4,1,5]=>00000
[2,6,3,4,5,1]=>00000
[2,6,3,5,1,4]=>00000
[2,6,3,5,4,1]=>00000
[2,6,4,1,3,5]=>00000
[2,6,4,1,5,3]=>00000
[2,6,4,3,1,5]=>00000
[2,6,4,3,5,1]=>00000
[2,6,4,5,1,3]=>00000
[2,6,4,5,3,1]=>00000
[2,6,5,1,3,4]=>00000
[2,6,5,1,4,3]=>00000
[2,6,5,3,1,4]=>00000
[2,6,5,3,4,1]=>00000
[2,6,5,4,1,3]=>00000
[2,6,5,4,3,1]=>00000
[3,1,2,4,5,6]=>00111
[3,1,2,4,6,5]=>00110
[3,1,2,5,4,6]=>00101
[3,1,2,5,6,4]=>00100
[3,1,2,6,4,5]=>00100
[3,1,2,6,5,4]=>00100
[3,1,4,2,5,6]=>00011
[3,1,4,2,6,5]=>00010
[3,1,4,5,2,6]=>00001
[3,1,4,5,6,2]=>00000
[3,1,4,6,2,5]=>00000
[3,1,4,6,5,2]=>00000
[3,1,5,2,4,6]=>00001
[3,1,5,2,6,4]=>00000
[3,1,5,4,2,6]=>00001
[3,1,5,4,6,2]=>00000
[3,1,5,6,2,4]=>00000
[3,1,5,6,4,2]=>00000
[3,1,6,2,4,5]=>00000
[3,1,6,2,5,4]=>00000
[3,1,6,4,2,5]=>00000
[3,1,6,4,5,2]=>00000
[3,1,6,5,2,4]=>00000
[3,1,6,5,4,2]=>00000
[3,2,1,4,5,6]=>00111
[3,2,1,4,6,5]=>00110
[3,2,1,5,4,6]=>00101
[3,2,1,5,6,4]=>00100
[3,2,1,6,4,5]=>00100
[3,2,1,6,5,4]=>00100
[3,2,4,1,5,6]=>00011
[3,2,4,1,6,5]=>00010
[3,2,4,5,1,6]=>00001
[3,2,4,5,6,1]=>00000
[3,2,4,6,1,5]=>00000
[3,2,4,6,5,1]=>00000
[3,2,5,1,4,6]=>00001
[3,2,5,1,6,4]=>00000
[3,2,5,4,1,6]=>00001
[3,2,5,4,6,1]=>00000
[3,2,5,6,1,4]=>00000
[3,2,5,6,4,1]=>00000
[3,2,6,1,4,5]=>00000
[3,2,6,1,5,4]=>00000
[3,2,6,4,1,5]=>00000
[3,2,6,4,5,1]=>00000
[3,2,6,5,1,4]=>00000
[3,2,6,5,4,1]=>00000
[3,4,1,2,5,6]=>00011
[3,4,1,2,6,5]=>00010
[3,4,1,5,2,6]=>00001
[3,4,1,5,6,2]=>00000
[3,4,1,6,2,5]=>00000
[3,4,1,6,5,2]=>00000
[3,4,2,1,5,6]=>00011
[3,4,2,1,6,5]=>00010
[3,4,2,5,1,6]=>00001
[3,4,2,5,6,1]=>00000
[3,4,2,6,1,5]=>00000
[3,4,2,6,5,1]=>00000
[3,4,5,1,2,6]=>00001
[3,4,5,1,6,2]=>00000
[3,4,5,2,1,6]=>00001
[3,4,5,2,6,1]=>00000
[3,4,5,6,1,2]=>00000
[3,4,5,6,2,1]=>00000
[3,4,6,1,2,5]=>00000
[3,4,6,1,5,2]=>00000
[3,4,6,2,1,5]=>00000
[3,4,6,2,5,1]=>00000
[3,4,6,5,1,2]=>00000
[3,4,6,5,2,1]=>00000
[3,5,1,2,4,6]=>00001
[3,5,1,2,6,4]=>00000
[3,5,1,4,2,6]=>00001
[3,5,1,4,6,2]=>00000
[3,5,1,6,2,4]=>00000
[3,5,1,6,4,2]=>00000
[3,5,2,1,4,6]=>00001
[3,5,2,1,6,4]=>00000
[3,5,2,4,1,6]=>00001
[3,5,2,4,6,1]=>00000
[3,5,2,6,1,4]=>00000
[3,5,2,6,4,1]=>00000
[3,5,4,1,2,6]=>00001
[3,5,4,1,6,2]=>00000
[3,5,4,2,1,6]=>00001
[3,5,4,2,6,1]=>00000
[3,5,4,6,1,2]=>00000
[3,5,4,6,2,1]=>00000
[3,5,6,1,2,4]=>00000
[3,5,6,1,4,2]=>00000
[3,5,6,2,1,4]=>00000
[3,5,6,2,4,1]=>00000
[3,5,6,4,1,2]=>00000
[3,5,6,4,2,1]=>00000
[3,6,1,2,4,5]=>00000
[3,6,1,2,5,4]=>00000
[3,6,1,4,2,5]=>00000
[3,6,1,4,5,2]=>00000
[3,6,1,5,2,4]=>00000
[3,6,1,5,4,2]=>00000
[3,6,2,1,4,5]=>00000
[3,6,2,1,5,4]=>00000
[3,6,2,4,1,5]=>00000
[3,6,2,4,5,1]=>00000
[3,6,2,5,1,4]=>00000
[3,6,2,5,4,1]=>00000
[3,6,4,1,2,5]=>00000
[3,6,4,1,5,2]=>00000
[3,6,4,2,1,5]=>00000
[3,6,4,2,5,1]=>00000
[3,6,4,5,1,2]=>00000
[3,6,4,5,2,1]=>00000
[3,6,5,1,2,4]=>00000
[3,6,5,1,4,2]=>00000
[3,6,5,2,1,4]=>00000
[3,6,5,2,4,1]=>00000
[3,6,5,4,1,2]=>00000
[3,6,5,4,2,1]=>00000
[4,1,2,3,5,6]=>00011
[4,1,2,3,6,5]=>00010
[4,1,2,5,3,6]=>00001
[4,1,2,5,6,3]=>00000
[4,1,2,6,3,5]=>00000
[4,1,2,6,5,3]=>00000
[4,1,3,2,5,6]=>00011
[4,1,3,2,6,5]=>00010
[4,1,3,5,2,6]=>00001
[4,1,3,5,6,2]=>00000
[4,1,3,6,2,5]=>00000
[4,1,3,6,5,2]=>00000
[4,1,5,2,3,6]=>00001
[4,1,5,2,6,3]=>00000
[4,1,5,3,2,6]=>00001
[4,1,5,3,6,2]=>00000
[4,1,5,6,2,3]=>00000
[4,1,5,6,3,2]=>00000
[4,1,6,2,3,5]=>00000
[4,1,6,2,5,3]=>00000
[4,1,6,3,2,5]=>00000
[4,1,6,3,5,2]=>00000
[4,1,6,5,2,3]=>00000
[4,1,6,5,3,2]=>00000
[4,2,1,3,5,6]=>00011
[4,2,1,3,6,5]=>00010
[4,2,1,5,3,6]=>00001
[4,2,1,5,6,3]=>00000
[4,2,1,6,3,5]=>00000
[4,2,1,6,5,3]=>00000
[4,2,3,1,5,6]=>00011
[4,2,3,1,6,5]=>00010
[4,2,3,5,1,6]=>00001
[4,2,3,5,6,1]=>00000
[4,2,3,6,1,5]=>00000
[4,2,3,6,5,1]=>00000
[4,2,5,1,3,6]=>00001
[4,2,5,1,6,3]=>00000
[4,2,5,3,1,6]=>00001
[4,2,5,3,6,1]=>00000
[4,2,5,6,1,3]=>00000
[4,2,5,6,3,1]=>00000
[4,2,6,1,3,5]=>00000
[4,2,6,1,5,3]=>00000
[4,2,6,3,1,5]=>00000
[4,2,6,3,5,1]=>00000
[4,2,6,5,1,3]=>00000
[4,2,6,5,3,1]=>00000
[4,3,1,2,5,6]=>00011
[4,3,1,2,6,5]=>00010
[4,3,1,5,2,6]=>00001
[4,3,1,5,6,2]=>00000
[4,3,1,6,2,5]=>00000
[4,3,1,6,5,2]=>00000
[4,3,2,1,5,6]=>00011
[4,3,2,1,6,5]=>00010
[4,3,2,5,1,6]=>00001
[4,3,2,5,6,1]=>00000
[4,3,2,6,1,5]=>00000
[4,3,2,6,5,1]=>00000
[4,3,5,1,2,6]=>00001
[4,3,5,1,6,2]=>00000
[4,3,5,2,1,6]=>00001
[4,3,5,2,6,1]=>00000
[4,3,5,6,1,2]=>00000
[4,3,5,6,2,1]=>00000
[4,3,6,1,2,5]=>00000
[4,3,6,1,5,2]=>00000
[4,3,6,2,1,5]=>00000
[4,3,6,2,5,1]=>00000
[4,3,6,5,1,2]=>00000
[4,3,6,5,2,1]=>00000
[4,5,1,2,3,6]=>00001
[4,5,1,2,6,3]=>00000
[4,5,1,3,2,6]=>00001
[4,5,1,3,6,2]=>00000
[4,5,1,6,2,3]=>00000
[4,5,1,6,3,2]=>00000
[4,5,2,1,3,6]=>00001
[4,5,2,1,6,3]=>00000
[4,5,2,3,1,6]=>00001
[4,5,2,3,6,1]=>00000
[4,5,2,6,1,3]=>00000
[4,5,2,6,3,1]=>00000
[4,5,3,1,2,6]=>00001
[4,5,3,1,6,2]=>00000
[4,5,3,2,1,6]=>00001
[4,5,3,2,6,1]=>00000
[4,5,3,6,1,2]=>00000
[4,5,3,6,2,1]=>00000
[4,5,6,1,2,3]=>00000
[4,5,6,1,3,2]=>00000
[4,5,6,2,1,3]=>00000
[4,5,6,2,3,1]=>00000
[4,5,6,3,1,2]=>00000
[4,5,6,3,2,1]=>00000
[4,6,1,2,3,5]=>00000
[4,6,1,2,5,3]=>00000
[4,6,1,3,2,5]=>00000
[4,6,1,3,5,2]=>00000
[4,6,1,5,2,3]=>00000
[4,6,1,5,3,2]=>00000
[4,6,2,1,3,5]=>00000
[4,6,2,1,5,3]=>00000
[4,6,2,3,1,5]=>00000
[4,6,2,3,5,1]=>00000
[4,6,2,5,1,3]=>00000
[4,6,2,5,3,1]=>00000
[4,6,3,1,2,5]=>00000
[4,6,3,1,5,2]=>00000
[4,6,3,2,1,5]=>00000
[4,6,3,2,5,1]=>00000
[4,6,3,5,1,2]=>00000
[4,6,3,5,2,1]=>00000
[4,6,5,1,2,3]=>00000
[4,6,5,1,3,2]=>00000
[4,6,5,2,1,3]=>00000
[4,6,5,2,3,1]=>00000
[4,6,5,3,1,2]=>00000
[4,6,5,3,2,1]=>00000
[5,1,2,3,4,6]=>00001
[5,1,2,3,6,4]=>00000
[5,1,2,4,3,6]=>00001
[5,1,2,4,6,3]=>00000
[5,1,2,6,3,4]=>00000
[5,1,2,6,4,3]=>00000
[5,1,3,2,4,6]=>00001
[5,1,3,2,6,4]=>00000
[5,1,3,4,2,6]=>00001
[5,1,3,4,6,2]=>00000
[5,1,3,6,2,4]=>00000
[5,1,3,6,4,2]=>00000
[5,1,4,2,3,6]=>00001
[5,1,4,2,6,3]=>00000
[5,1,4,3,2,6]=>00001
[5,1,4,3,6,2]=>00000
[5,1,4,6,2,3]=>00000
[5,1,4,6,3,2]=>00000
[5,1,6,2,3,4]=>00000
[5,1,6,2,4,3]=>00000
[5,1,6,3,2,4]=>00000
[5,1,6,3,4,2]=>00000
[5,1,6,4,2,3]=>00000
[5,1,6,4,3,2]=>00000
[5,2,1,3,4,6]=>00001
[5,2,1,3,6,4]=>00000
[5,2,1,4,3,6]=>00001
[5,2,1,4,6,3]=>00000
[5,2,1,6,3,4]=>00000
[5,2,1,6,4,3]=>00000
[5,2,3,1,4,6]=>00001
[5,2,3,1,6,4]=>00000
[5,2,3,4,1,6]=>00001
[5,2,3,4,6,1]=>00000
[5,2,3,6,1,4]=>00000
[5,2,3,6,4,1]=>00000
[5,2,4,1,3,6]=>00001
[5,2,4,1,6,3]=>00000
[5,2,4,3,1,6]=>00001
[5,2,4,3,6,1]=>00000
[5,2,4,6,1,3]=>00000
[5,2,4,6,3,1]=>00000
[5,2,6,1,3,4]=>00000
[5,2,6,1,4,3]=>00000
[5,2,6,3,1,4]=>00000
[5,2,6,3,4,1]=>00000
[5,2,6,4,1,3]=>00000
[5,2,6,4,3,1]=>00000
[5,3,1,2,4,6]=>00001
[5,3,1,2,6,4]=>00000
[5,3,1,4,2,6]=>00001
[5,3,1,4,6,2]=>00000
[5,3,1,6,2,4]=>00000
[5,3,1,6,4,2]=>00000
[5,3,2,1,4,6]=>00001
[5,3,2,1,6,4]=>00000
[5,3,2,4,1,6]=>00001
[5,3,2,4,6,1]=>00000
[5,3,2,6,1,4]=>00000
[5,3,2,6,4,1]=>00000
[5,3,4,1,2,6]=>00001
[5,3,4,1,6,2]=>00000
[5,3,4,2,1,6]=>00001
[5,3,4,2,6,1]=>00000
[5,3,4,6,1,2]=>00000
[5,3,4,6,2,1]=>00000
[5,3,6,1,2,4]=>00000
[5,3,6,1,4,2]=>00000
[5,3,6,2,1,4]=>00000
[5,3,6,2,4,1]=>00000
[5,3,6,4,1,2]=>00000
[5,3,6,4,2,1]=>00000
[5,4,1,2,3,6]=>00001
[5,4,1,2,6,3]=>00000
[5,4,1,3,2,6]=>00001
[5,4,1,3,6,2]=>00000
[5,4,1,6,2,3]=>00000
[5,4,1,6,3,2]=>00000
[5,4,2,1,3,6]=>00001
[5,4,2,1,6,3]=>00000
[5,4,2,3,1,6]=>00001
[5,4,2,3,6,1]=>00000
[5,4,2,6,1,3]=>00000
[5,4,2,6,3,1]=>00000
[5,4,3,1,2,6]=>00001
[5,4,3,1,6,2]=>00000
[5,4,3,2,1,6]=>00001
[5,4,3,2,6,1]=>00000
[5,4,3,6,1,2]=>00000
[5,4,3,6,2,1]=>00000
[5,4,6,1,2,3]=>00000
[5,4,6,1,3,2]=>00000
[5,4,6,2,1,3]=>00000
[5,4,6,2,3,1]=>00000
[5,4,6,3,1,2]=>00000
[5,4,6,3,2,1]=>00000
[5,6,1,2,3,4]=>00000
[5,6,1,2,4,3]=>00000
[5,6,1,3,2,4]=>00000
[5,6,1,3,4,2]=>00000
[5,6,1,4,2,3]=>00000
[5,6,1,4,3,2]=>00000
[5,6,2,1,3,4]=>00000
[5,6,2,1,4,3]=>00000
[5,6,2,3,1,4]=>00000
[5,6,2,3,4,1]=>00000
[5,6,2,4,1,3]=>00000
[5,6,2,4,3,1]=>00000
[5,6,3,1,2,4]=>00000
[5,6,3,1,4,2]=>00000
[5,6,3,2,1,4]=>00000
[5,6,3,2,4,1]=>00000
[5,6,3,4,1,2]=>00000
[5,6,3,4,2,1]=>00000
[5,6,4,1,2,3]=>00000
[5,6,4,1,3,2]=>00000
[5,6,4,2,1,3]=>00000
[5,6,4,2,3,1]=>00000
[5,6,4,3,1,2]=>00000
[5,6,4,3,2,1]=>00000
[6,1,2,3,4,5]=>00000
[6,1,2,3,5,4]=>00000
[6,1,2,4,3,5]=>00000
[6,1,2,4,5,3]=>00000
[6,1,2,5,3,4]=>00000
[6,1,2,5,4,3]=>00000
[6,1,3,2,4,5]=>00000
[6,1,3,2,5,4]=>00000
[6,1,3,4,2,5]=>00000
[6,1,3,4,5,2]=>00000
[6,1,3,5,2,4]=>00000
[6,1,3,5,4,2]=>00000
[6,1,4,2,3,5]=>00000
[6,1,4,2,5,3]=>00000
[6,1,4,3,2,5]=>00000
[6,1,4,3,5,2]=>00000
[6,1,4,5,2,3]=>00000
[6,1,4,5,3,2]=>00000
[6,1,5,2,3,4]=>00000
[6,1,5,2,4,3]=>00000
[6,1,5,3,2,4]=>00000
[6,1,5,3,4,2]=>00000
[6,1,5,4,2,3]=>00000
[6,1,5,4,3,2]=>00000
[6,2,1,3,4,5]=>00000
[6,2,1,3,5,4]=>00000
[6,2,1,4,3,5]=>00000
[6,2,1,4,5,3]=>00000
[6,2,1,5,3,4]=>00000
[6,2,1,5,4,3]=>00000
[6,2,3,1,4,5]=>00000
[6,2,3,1,5,4]=>00000
[6,2,3,4,1,5]=>00000
[6,2,3,4,5,1]=>00000
[6,2,3,5,1,4]=>00000
[6,2,3,5,4,1]=>00000
[6,2,4,1,3,5]=>00000
[6,2,4,1,5,3]=>00000
[6,2,4,3,1,5]=>00000
[6,2,4,3,5,1]=>00000
[6,2,4,5,1,3]=>00000
[6,2,4,5,3,1]=>00000
[6,2,5,1,3,4]=>00000
[6,2,5,1,4,3]=>00000
[6,2,5,3,1,4]=>00000
[6,2,5,3,4,1]=>00000
[6,2,5,4,1,3]=>00000
[6,2,5,4,3,1]=>00000
[6,3,1,2,4,5]=>00000
[6,3,1,2,5,4]=>00000
[6,3,1,4,2,5]=>00000
[6,3,1,4,5,2]=>00000
[6,3,1,5,2,4]=>00000
[6,3,1,5,4,2]=>00000
[6,3,2,1,4,5]=>00000
[6,3,2,1,5,4]=>00000
[6,3,2,4,1,5]=>00000
[6,3,2,4,5,1]=>00000
[6,3,2,5,1,4]=>00000
[6,3,2,5,4,1]=>00000
[6,3,4,1,2,5]=>00000
[6,3,4,1,5,2]=>00000
[6,3,4,2,1,5]=>00000
[6,3,4,2,5,1]=>00000
[6,3,4,5,1,2]=>00000
[6,3,4,5,2,1]=>00000
[6,3,5,1,2,4]=>00000
[6,3,5,1,4,2]=>00000
[6,3,5,2,1,4]=>00000
[6,3,5,2,4,1]=>00000
[6,3,5,4,1,2]=>00000
[6,3,5,4,2,1]=>00000
[6,4,1,2,3,5]=>00000
[6,4,1,2,5,3]=>00000
[6,4,1,3,2,5]=>00000
[6,4,1,3,5,2]=>00000
[6,4,1,5,2,3]=>00000
[6,4,1,5,3,2]=>00000
[6,4,2,1,3,5]=>00000
[6,4,2,1,5,3]=>00000
[6,4,2,3,1,5]=>00000
[6,4,2,3,5,1]=>00000
[6,4,2,5,1,3]=>00000
[6,4,2,5,3,1]=>00000
[6,4,3,1,2,5]=>00000
[6,4,3,1,5,2]=>00000
[6,4,3,2,1,5]=>00000
[6,4,3,2,5,1]=>00000
[6,4,3,5,1,2]=>00000
[6,4,3,5,2,1]=>00000
[6,4,5,1,2,3]=>00000
[6,4,5,1,3,2]=>00000
[6,4,5,2,1,3]=>00000
[6,4,5,2,3,1]=>00000
[6,4,5,3,1,2]=>00000
[6,4,5,3,2,1]=>00000
[6,5,1,2,3,4]=>00000
[6,5,1,2,4,3]=>00000
[6,5,1,3,2,4]=>00000
[6,5,1,3,4,2]=>00000
[6,5,1,4,2,3]=>00000
[6,5,1,4,3,2]=>00000
[6,5,2,1,3,4]=>00000
[6,5,2,1,4,3]=>00000
[6,5,2,3,1,4]=>00000
[6,5,2,3,4,1]=>00000
[6,5,2,4,1,3]=>00000
[6,5,2,4,3,1]=>00000
[6,5,3,1,2,4]=>00000
[6,5,3,1,4,2]=>00000
[6,5,3,2,1,4]=>00000
[6,5,3,2,4,1]=>00000
[6,5,3,4,1,2]=>00000
[6,5,3,4,2,1]=>00000
[6,5,4,1,2,3]=>00000
[6,5,4,1,3,2]=>00000
[6,5,4,2,1,3]=>00000
[6,5,4,2,3,1]=>00000
[6,5,4,3,1,2]=>00000
[6,5,4,3,2,1]=>00000
[1,2,3,4,5,6,7]=>111111
[1,2,3,4,5,7,6]=>111110
[1,2,3,4,6,5,7]=>111101
[1,2,3,4,6,7,5]=>111100
[1,2,3,4,7,5,6]=>111100
[1,2,3,4,7,6,5]=>111100
[1,2,3,5,4,6,7]=>111011
[1,2,3,5,4,7,6]=>111010
[1,2,3,5,6,4,7]=>111001
[1,2,3,5,6,7,4]=>111000
[1,2,3,5,7,4,6]=>111000
[1,2,3,5,7,6,4]=>111000
[1,2,3,6,4,5,7]=>111001
[1,2,3,6,4,7,5]=>111000
[1,2,3,6,5,4,7]=>111001
[1,2,3,6,5,7,4]=>111000
[1,2,3,6,7,4,5]=>111000
[1,2,3,6,7,5,4]=>111000
[1,2,3,7,4,5,6]=>111000
[1,2,3,7,4,6,5]=>111000
[1,2,3,7,5,4,6]=>111000
[1,2,3,7,5,6,4]=>111000
[1,2,3,7,6,4,5]=>111000
[1,2,3,7,6,5,4]=>111000
[1,2,4,3,5,6,7]=>110111
[1,2,4,3,5,7,6]=>110110
[1,2,4,3,6,5,7]=>110101
[1,2,4,3,6,7,5]=>110100
[1,2,4,3,7,5,6]=>110100
[1,2,4,3,7,6,5]=>110100
[1,2,4,5,3,6,7]=>110011
[1,2,4,5,3,7,6]=>110010
[1,2,4,5,6,3,7]=>110001
[1,2,4,5,6,7,3]=>110000
[1,2,4,5,7,3,6]=>110000
[1,2,4,5,7,6,3]=>110000
[1,2,4,6,3,5,7]=>110001
[1,2,4,6,3,7,5]=>110000
[1,2,4,6,5,3,7]=>110001
[1,2,4,6,5,7,3]=>110000
[1,2,4,6,7,3,5]=>110000
[1,2,4,6,7,5,3]=>110000
[1,2,4,7,3,5,6]=>110000
[1,2,4,7,3,6,5]=>110000
[1,2,4,7,5,3,6]=>110000
[1,2,4,7,5,6,3]=>110000
[1,2,4,7,6,3,5]=>110000
[1,2,4,7,6,5,3]=>110000
[1,2,5,3,4,6,7]=>110011
[1,2,5,3,4,7,6]=>110010
[1,2,5,3,6,4,7]=>110001
[1,2,5,3,6,7,4]=>110000
[1,2,5,3,7,4,6]=>110000
[1,2,5,3,7,6,4]=>110000
[1,2,5,4,3,6,7]=>110011
[1,2,5,4,3,7,6]=>110010
[1,2,5,4,6,3,7]=>110001
[1,2,5,4,6,7,3]=>110000
[1,2,5,4,7,3,6]=>110000
[1,2,5,4,7,6,3]=>110000
[1,2,5,6,3,4,7]=>110001
[1,2,5,6,3,7,4]=>110000
[1,2,5,6,4,3,7]=>110001
[1,2,5,6,4,7,3]=>110000
[1,2,5,6,7,3,4]=>110000
[1,2,5,6,7,4,3]=>110000
[1,2,5,7,3,4,6]=>110000
[1,2,5,7,3,6,4]=>110000
[1,2,5,7,4,3,6]=>110000
[1,2,5,7,4,6,3]=>110000
[1,2,5,7,6,3,4]=>110000
[1,2,5,7,6,4,3]=>110000
[1,2,6,3,4,5,7]=>110001
[1,2,6,3,4,7,5]=>110000
[1,2,6,3,5,4,7]=>110001
[1,2,6,3,5,7,4]=>110000
[1,2,6,3,7,4,5]=>110000
[1,2,6,3,7,5,4]=>110000
[1,2,6,4,3,5,7]=>110001
[1,2,6,4,3,7,5]=>110000
[1,2,6,4,5,3,7]=>110001
[1,2,6,4,5,7,3]=>110000
[1,2,6,4,7,3,5]=>110000
[1,2,6,4,7,5,3]=>110000
[1,2,6,5,3,4,7]=>110001
[1,2,6,5,3,7,4]=>110000
[1,2,6,5,4,3,7]=>110001
[1,2,6,5,4,7,3]=>110000
[1,2,6,5,7,3,4]=>110000
[1,2,6,5,7,4,3]=>110000
[1,2,6,7,3,4,5]=>110000
[1,2,6,7,3,5,4]=>110000
[1,2,6,7,4,3,5]=>110000
[1,2,6,7,4,5,3]=>110000
[1,2,6,7,5,3,4]=>110000
[1,2,6,7,5,4,3]=>110000
[1,2,7,3,4,5,6]=>110000
[1,2,7,3,4,6,5]=>110000
[1,2,7,3,5,4,6]=>110000
[1,2,7,3,5,6,4]=>110000
[1,2,7,3,6,4,5]=>110000
[1,2,7,3,6,5,4]=>110000
[1,2,7,4,3,5,6]=>110000
[1,2,7,4,3,6,5]=>110000
[1,2,7,4,5,3,6]=>110000
[1,2,7,4,5,6,3]=>110000
[1,2,7,4,6,3,5]=>110000
[1,2,7,4,6,5,3]=>110000
[1,2,7,5,3,4,6]=>110000
[1,2,7,5,3,6,4]=>110000
[1,2,7,5,4,3,6]=>110000
[1,2,7,5,4,6,3]=>110000
[1,2,7,5,6,3,4]=>110000
[1,2,7,5,6,4,3]=>110000
[1,2,7,6,3,4,5]=>110000
[1,2,7,6,3,5,4]=>110000
[1,2,7,6,4,3,5]=>110000
[1,2,7,6,4,5,3]=>110000
[1,2,7,6,5,3,4]=>110000
[1,2,7,6,5,4,3]=>110000
[1,3,2,4,5,6,7]=>101111
[1,3,2,4,5,7,6]=>101110
[1,3,2,4,6,5,7]=>101101
[1,3,2,4,6,7,5]=>101100
[1,3,2,4,7,5,6]=>101100
[1,3,2,4,7,6,5]=>101100
[1,3,2,5,4,6,7]=>101011
[1,3,2,5,4,7,6]=>101010
[1,3,2,5,6,4,7]=>101001
[1,3,2,5,6,7,4]=>101000
[1,3,2,5,7,4,6]=>101000
[1,3,2,5,7,6,4]=>101000
[1,3,2,6,4,5,7]=>101001
[1,3,2,6,4,7,5]=>101000
[1,3,2,6,5,4,7]=>101001
[1,3,2,6,5,7,4]=>101000
[1,3,2,6,7,4,5]=>101000
[1,3,2,6,7,5,4]=>101000
[1,3,2,7,4,5,6]=>101000
[1,3,2,7,4,6,5]=>101000
[1,3,2,7,5,4,6]=>101000
[1,3,2,7,5,6,4]=>101000
[1,3,2,7,6,4,5]=>101000
[1,3,2,7,6,5,4]=>101000
[1,3,4,2,5,6,7]=>100111
[1,3,4,2,5,7,6]=>100110
[1,3,4,2,6,5,7]=>100101
[1,3,4,2,6,7,5]=>100100
[1,3,4,2,7,5,6]=>100100
[1,3,4,2,7,6,5]=>100100
[1,3,4,5,2,6,7]=>100011
[1,3,4,5,2,7,6]=>100010
[1,3,4,5,6,2,7]=>100001
[1,3,4,5,6,7,2]=>100000
[1,3,4,5,7,2,6]=>100000
[1,3,4,5,7,6,2]=>100000
[1,3,4,6,2,5,7]=>100001
[1,3,4,6,2,7,5]=>100000
[1,3,4,6,5,2,7]=>100001
[1,3,4,6,5,7,2]=>100000
[1,3,4,6,7,2,5]=>100000
[1,3,4,6,7,5,2]=>100000
[1,3,4,7,2,5,6]=>100000
[1,3,4,7,2,6,5]=>100000
[1,3,4,7,5,2,6]=>100000
[1,3,4,7,5,6,2]=>100000
[1,3,4,7,6,2,5]=>100000
[1,3,4,7,6,5,2]=>100000
[1,3,5,2,4,6,7]=>100011
[1,3,5,2,4,7,6]=>100010
[1,3,5,2,6,4,7]=>100001
[1,3,5,2,6,7,4]=>100000
[1,3,5,2,7,4,6]=>100000
[1,3,5,2,7,6,4]=>100000
[1,3,5,4,2,6,7]=>100011
[1,3,5,4,2,7,6]=>100010
[1,3,5,4,6,2,7]=>100001
[1,3,5,4,6,7,2]=>100000
[1,3,5,4,7,2,6]=>100000
[1,3,5,4,7,6,2]=>100000
[1,3,5,6,2,4,7]=>100001
[1,3,5,6,2,7,4]=>100000
[1,3,5,6,4,2,7]=>100001
[1,3,5,6,4,7,2]=>100000
[1,3,5,6,7,2,4]=>100000
[1,3,5,6,7,4,2]=>100000
[1,3,5,7,2,4,6]=>100000
[1,3,5,7,2,6,4]=>100000
[1,3,5,7,4,2,6]=>100000
[1,3,5,7,4,6,2]=>100000
[1,3,5,7,6,2,4]=>100000
[1,3,5,7,6,4,2]=>100000
[1,3,6,2,4,5,7]=>100001
[1,3,6,2,4,7,5]=>100000
[1,3,6,2,5,4,7]=>100001
[1,3,6,2,5,7,4]=>100000
[1,3,6,2,7,4,5]=>100000
[1,3,6,2,7,5,4]=>100000
[1,3,6,4,2,5,7]=>100001
[1,3,6,4,2,7,5]=>100000
[1,3,6,4,5,2,7]=>100001
[1,3,6,4,5,7,2]=>100000
[1,3,6,4,7,2,5]=>100000
[1,3,6,4,7,5,2]=>100000
[1,3,6,5,2,4,7]=>100001
[1,3,6,5,2,7,4]=>100000
[1,3,6,5,4,2,7]=>100001
[1,3,6,5,4,7,2]=>100000
[1,3,6,5,7,2,4]=>100000
[1,3,6,5,7,4,2]=>100000
[1,3,6,7,2,4,5]=>100000
[1,3,6,7,2,5,4]=>100000
[1,3,6,7,4,2,5]=>100000
[1,3,6,7,4,5,2]=>100000
[1,3,6,7,5,2,4]=>100000
[1,3,6,7,5,4,2]=>100000
[1,3,7,2,4,5,6]=>100000
[1,3,7,2,4,6,5]=>100000
[1,3,7,2,5,4,6]=>100000
[1,3,7,2,5,6,4]=>100000
[1,3,7,2,6,4,5]=>100000
[1,3,7,2,6,5,4]=>100000
[1,3,7,4,2,5,6]=>100000
[1,3,7,4,2,6,5]=>100000
[1,3,7,4,5,2,6]=>100000
[1,3,7,4,5,6,2]=>100000
[1,3,7,4,6,2,5]=>100000
[1,3,7,4,6,5,2]=>100000
[1,3,7,5,2,4,6]=>100000
[1,3,7,5,2,6,4]=>100000
[1,3,7,5,4,2,6]=>100000
[1,3,7,5,4,6,2]=>100000
[1,3,7,5,6,2,4]=>100000
[1,3,7,5,6,4,2]=>100000
[1,3,7,6,2,4,5]=>100000
[1,3,7,6,2,5,4]=>100000
[1,3,7,6,4,2,5]=>100000
[1,3,7,6,4,5,2]=>100000
[1,3,7,6,5,2,4]=>100000
[1,3,7,6,5,4,2]=>100000
[1,4,2,3,5,6,7]=>100111
[1,4,2,3,5,7,6]=>100110
[1,4,2,3,6,5,7]=>100101
[1,4,2,3,6,7,5]=>100100
[1,4,2,3,7,5,6]=>100100
[1,4,2,3,7,6,5]=>100100
[1,4,2,5,3,6,7]=>100011
[1,4,2,5,3,7,6]=>100010
[1,4,2,5,6,3,7]=>100001
[1,4,2,5,6,7,3]=>100000
[1,4,2,5,7,3,6]=>100000
[1,4,2,5,7,6,3]=>100000
[1,4,2,6,3,5,7]=>100001
[1,4,2,6,3,7,5]=>100000
[1,4,2,6,5,3,7]=>100001
[1,4,2,6,5,7,3]=>100000
[1,4,2,6,7,3,5]=>100000
[1,4,2,6,7,5,3]=>100000
[1,4,2,7,3,5,6]=>100000
[1,4,2,7,3,6,5]=>100000
[1,4,2,7,5,3,6]=>100000
[1,4,2,7,5,6,3]=>100000
[1,4,2,7,6,3,5]=>100000
[1,4,2,7,6,5,3]=>100000
[1,4,3,2,5,6,7]=>100111
[1,4,3,2,5,7,6]=>100110
[1,4,3,2,6,5,7]=>100101
[1,4,3,2,6,7,5]=>100100
[1,4,3,2,7,5,6]=>100100
[1,4,3,2,7,6,5]=>100100
[1,4,3,5,2,6,7]=>100011
[1,4,3,5,2,7,6]=>100010
[1,4,3,5,6,2,7]=>100001
[1,4,3,5,6,7,2]=>100000
[1,4,3,5,7,2,6]=>100000
[1,4,3,5,7,6,2]=>100000
[1,4,3,6,2,5,7]=>100001
[1,4,3,6,2,7,5]=>100000
[1,4,3,6,5,2,7]=>100001
[1,4,3,6,5,7,2]=>100000
[1,4,3,6,7,2,5]=>100000
[1,4,3,6,7,5,2]=>100000
[1,4,3,7,2,5,6]=>100000
[1,4,3,7,2,6,5]=>100000
[1,4,3,7,5,2,6]=>100000
[1,4,3,7,5,6,2]=>100000
[1,4,3,7,6,2,5]=>100000
[1,4,3,7,6,5,2]=>100000
[1,4,5,2,3,6,7]=>100011
[1,4,5,2,3,7,6]=>100010
[1,4,5,2,6,3,7]=>100001
[1,4,5,2,6,7,3]=>100000
[1,4,5,2,7,3,6]=>100000
[1,4,5,2,7,6,3]=>100000
[1,4,5,3,2,6,7]=>100011
[1,4,5,3,2,7,6]=>100010
[1,4,5,3,6,2,7]=>100001
[1,4,5,3,6,7,2]=>100000
[1,4,5,3,7,2,6]=>100000
[1,4,5,3,7,6,2]=>100000
[1,4,5,6,2,3,7]=>100001
[1,4,5,6,2,7,3]=>100000
[1,4,5,6,3,2,7]=>100001
[1,4,5,6,3,7,2]=>100000
[1,4,5,6,7,2,3]=>100000
[1,4,5,6,7,3,2]=>100000
[1,4,5,7,2,3,6]=>100000
[1,4,5,7,2,6,3]=>100000
[1,4,5,7,3,2,6]=>100000
[1,4,5,7,3,6,2]=>100000
[1,4,5,7,6,2,3]=>100000
[1,4,5,7,6,3,2]=>100000
[1,4,6,2,3,5,7]=>100001
[1,4,6,2,3,7,5]=>100000
[1,4,6,2,5,3,7]=>100001
[1,4,6,2,5,7,3]=>100000
[1,4,6,2,7,3,5]=>100000
[1,4,6,2,7,5,3]=>100000
[1,4,6,3,2,5,7]=>100001
[1,4,6,3,2,7,5]=>100000
[1,4,6,3,5,2,7]=>100001
[1,4,6,3,5,7,2]=>100000
[1,4,6,3,7,2,5]=>100000
[1,4,6,3,7,5,2]=>100000
[1,4,6,5,2,3,7]=>100001
[1,4,6,5,2,7,3]=>100000
[1,4,6,5,3,2,7]=>100001
[1,4,6,5,3,7,2]=>100000
[1,4,6,5,7,2,3]=>100000
[1,4,6,5,7,3,2]=>100000
[1,4,6,7,2,3,5]=>100000
[1,4,6,7,2,5,3]=>100000
[1,4,6,7,3,2,5]=>100000
[1,4,6,7,3,5,2]=>100000
[1,4,6,7,5,2,3]=>100000
[1,4,6,7,5,3,2]=>100000
[1,4,7,2,3,5,6]=>100000
[1,4,7,2,3,6,5]=>100000
[1,4,7,2,5,3,6]=>100000
[1,4,7,2,5,6,3]=>100000
[1,4,7,2,6,3,5]=>100000
[1,4,7,2,6,5,3]=>100000
[1,4,7,3,2,5,6]=>100000
[1,4,7,3,2,6,5]=>100000
[1,4,7,3,5,2,6]=>100000
[1,4,7,3,5,6,2]=>100000
[1,4,7,3,6,2,5]=>100000
[1,4,7,3,6,5,2]=>100000
[1,4,7,5,2,3,6]=>100000
[1,4,7,5,2,6,3]=>100000
[1,4,7,5,3,2,6]=>100000
[1,4,7,5,3,6,2]=>100000
[1,4,7,5,6,2,3]=>100000
[1,4,7,5,6,3,2]=>100000
[1,4,7,6,2,3,5]=>100000
[1,4,7,6,2,5,3]=>100000
[1,4,7,6,3,2,5]=>100000
[1,4,7,6,3,5,2]=>100000
[1,4,7,6,5,2,3]=>100000
[1,4,7,6,5,3,2]=>100000
[1,5,2,3,4,6,7]=>100011
[1,5,2,3,4,7,6]=>100010
[1,5,2,3,6,4,7]=>100001
[1,5,2,3,6,7,4]=>100000
[1,5,2,3,7,4,6]=>100000
[1,5,2,3,7,6,4]=>100000
[1,5,2,4,3,6,7]=>100011
[1,5,2,4,3,7,6]=>100010
[1,5,2,4,6,3,7]=>100001
[1,5,2,4,6,7,3]=>100000
[1,5,2,4,7,3,6]=>100000
[1,5,2,4,7,6,3]=>100000
[1,5,2,6,3,4,7]=>100001
[1,5,2,6,3,7,4]=>100000
[1,5,2,6,4,3,7]=>100001
[1,5,2,6,4,7,3]=>100000
[1,5,2,6,7,3,4]=>100000
[1,5,2,6,7,4,3]=>100000
[1,5,2,7,3,4,6]=>100000
[1,5,2,7,3,6,4]=>100000
[1,5,2,7,4,3,6]=>100000
[1,5,2,7,4,6,3]=>100000
[1,5,2,7,6,3,4]=>100000
[1,5,2,7,6,4,3]=>100000
[1,5,3,2,4,6,7]=>100011
[1,5,3,2,4,7,6]=>100010
[1,5,3,2,6,4,7]=>100001
[1,5,3,2,6,7,4]=>100000
[1,5,3,2,7,4,6]=>100000
[1,5,3,2,7,6,4]=>100000
[1,5,3,4,2,6,7]=>100011
[1,5,3,4,2,7,6]=>100010
[1,5,3,4,6,2,7]=>100001
[1,5,3,4,6,7,2]=>100000
[1,5,3,4,7,2,6]=>100000
[1,5,3,4,7,6,2]=>100000
[1,5,3,6,2,4,7]=>100001
[1,5,3,6,2,7,4]=>100000
[1,5,3,6,4,2,7]=>100001
[1,5,3,6,4,7,2]=>100000
[1,5,3,6,7,2,4]=>100000
[1,5,3,6,7,4,2]=>100000
[1,5,3,7,2,4,6]=>100000
[1,5,3,7,2,6,4]=>100000
[1,5,3,7,4,2,6]=>100000
[1,5,3,7,4,6,2]=>100000
[1,5,3,7,6,2,4]=>100000
[1,5,3,7,6,4,2]=>100000
[1,5,4,2,3,6,7]=>100011
[1,5,4,2,3,7,6]=>100010
[1,5,4,2,6,3,7]=>100001
[1,5,4,2,6,7,3]=>100000
[1,5,4,2,7,3,6]=>100000
[1,5,4,2,7,6,3]=>100000
[1,5,4,3,2,6,7]=>100011
[1,5,4,3,2,7,6]=>100010
[1,5,4,3,6,2,7]=>100001
[1,5,4,3,6,7,2]=>100000
[1,5,4,3,7,2,6]=>100000
[1,5,4,3,7,6,2]=>100000
[1,5,4,6,2,3,7]=>100001
[1,5,4,6,2,7,3]=>100000
[1,5,4,6,3,2,7]=>100001
[1,5,4,6,3,7,2]=>100000
[1,5,4,6,7,2,3]=>100000
[1,5,4,6,7,3,2]=>100000
[1,5,4,7,2,3,6]=>100000
[1,5,4,7,2,6,3]=>100000
[1,5,4,7,3,2,6]=>100000
[1,5,4,7,3,6,2]=>100000
[1,5,4,7,6,2,3]=>100000
[1,5,4,7,6,3,2]=>100000
[1,5,6,2,3,4,7]=>100001
[1,5,6,2,3,7,4]=>100000
[1,5,6,2,4,3,7]=>100001
[1,5,6,2,4,7,3]=>100000
[1,5,6,2,7,3,4]=>100000
[1,5,6,2,7,4,3]=>100000
[1,5,6,3,2,4,7]=>100001
[1,5,6,3,2,7,4]=>100000
[1,5,6,3,4,2,7]=>100001
[1,5,6,3,4,7,2]=>100000
[1,5,6,3,7,2,4]=>100000
[1,5,6,3,7,4,2]=>100000
[1,5,6,4,2,3,7]=>100001
[1,5,6,4,2,7,3]=>100000
[1,5,6,4,3,2,7]=>100001
[1,5,6,4,3,7,2]=>100000
[1,5,6,4,7,2,3]=>100000
[1,5,6,4,7,3,2]=>100000
[1,5,6,7,2,3,4]=>100000
[1,5,6,7,2,4,3]=>100000
[1,5,6,7,3,2,4]=>100000
[1,5,6,7,3,4,2]=>100000
[1,5,6,7,4,2,3]=>100000
[1,5,6,7,4,3,2]=>100000
[1,5,7,2,3,4,6]=>100000
[1,5,7,2,3,6,4]=>100000
[1,5,7,2,4,3,6]=>100000
[1,5,7,2,4,6,3]=>100000
[1,5,7,2,6,3,4]=>100000
[1,5,7,2,6,4,3]=>100000
[1,5,7,3,2,4,6]=>100000
[1,5,7,3,2,6,4]=>100000
[1,5,7,3,4,2,6]=>100000
[1,5,7,3,4,6,2]=>100000
[1,5,7,3,6,2,4]=>100000
[1,5,7,3,6,4,2]=>100000
[1,5,7,4,2,3,6]=>100000
[1,5,7,4,2,6,3]=>100000
[1,5,7,4,3,2,6]=>100000
[1,5,7,4,3,6,2]=>100000
[1,5,7,4,6,2,3]=>100000
[1,5,7,4,6,3,2]=>100000
[1,5,7,6,2,3,4]=>100000
[1,5,7,6,2,4,3]=>100000
[1,5,7,6,3,2,4]=>100000
[1,5,7,6,3,4,2]=>100000
[1,5,7,6,4,2,3]=>100000
[1,5,7,6,4,3,2]=>100000
[1,6,2,3,4,5,7]=>100001
[1,6,2,3,4,7,5]=>100000
[1,6,2,3,5,4,7]=>100001
[1,6,2,3,5,7,4]=>100000
[1,6,2,3,7,4,5]=>100000
[1,6,2,3,7,5,4]=>100000
[1,6,2,4,3,5,7]=>100001
[1,6,2,4,3,7,5]=>100000
[1,6,2,4,5,3,7]=>100001
[1,6,2,4,5,7,3]=>100000
[1,6,2,4,7,3,5]=>100000
[1,6,2,4,7,5,3]=>100000
[1,6,2,5,3,4,7]=>100001
[1,6,2,5,3,7,4]=>100000
[1,6,2,5,4,3,7]=>100001
[1,6,2,5,4,7,3]=>100000
[1,6,2,5,7,3,4]=>100000
[1,6,2,5,7,4,3]=>100000
[1,6,2,7,3,4,5]=>100000
[1,6,2,7,3,5,4]=>100000
[1,6,2,7,4,3,5]=>100000
[1,6,2,7,4,5,3]=>100000
[1,6,2,7,5,3,4]=>100000
[1,6,2,7,5,4,3]=>100000
[1,6,3,2,4,5,7]=>100001
[1,6,3,2,4,7,5]=>100000
[1,6,3,2,5,4,7]=>100001
[1,6,3,2,5,7,4]=>100000
[1,6,3,2,7,4,5]=>100000
[1,6,3,2,7,5,4]=>100000
[1,6,3,4,2,5,7]=>100001
[1,6,3,4,2,7,5]=>100000
[1,6,3,4,5,2,7]=>100001
[1,6,3,4,5,7,2]=>100000
[1,6,3,4,7,2,5]=>100000
[1,6,3,4,7,5,2]=>100000
[1,6,3,5,2,4,7]=>100001
[1,6,3,5,2,7,4]=>100000
[1,6,3,5,4,2,7]=>100001
[1,6,3,5,4,7,2]=>100000
[1,6,3,5,7,2,4]=>100000
[1,6,3,5,7,4,2]=>100000
[1,6,3,7,2,4,5]=>100000
[1,6,3,7,2,5,4]=>100000
[1,6,3,7,4,2,5]=>100000
[1,6,3,7,4,5,2]=>100000
[1,6,3,7,5,2,4]=>100000
[1,6,3,7,5,4,2]=>100000
[1,6,4,2,3,5,7]=>100001
[1,6,4,2,3,7,5]=>100000
[1,6,4,2,5,3,7]=>100001
[1,6,4,2,5,7,3]=>100000
[1,6,4,2,7,3,5]=>100000
[1,6,4,2,7,5,3]=>100000
[1,6,4,3,2,5,7]=>100001
[1,6,4,3,2,7,5]=>100000
[1,6,4,3,5,2,7]=>100001
[1,6,4,3,5,7,2]=>100000
[1,6,4,3,7,2,5]=>100000
[1,6,4,3,7,5,2]=>100000
[1,6,4,5,2,3,7]=>100001
[1,6,4,5,2,7,3]=>100000
[1,6,4,5,3,2,7]=>100001
[1,6,4,5,3,7,2]=>100000
[1,6,4,5,7,2,3]=>100000
[1,6,4,5,7,3,2]=>100000
[1,6,4,7,2,3,5]=>100000
[1,6,4,7,2,5,3]=>100000
[1,6,4,7,3,2,5]=>100000
[1,6,4,7,3,5,2]=>100000
[1,6,4,7,5,2,3]=>100000
[1,6,4,7,5,3,2]=>100000
[1,6,5,2,3,4,7]=>100001
[1,6,5,2,3,7,4]=>100000
[1,6,5,2,4,3,7]=>100001
[1,6,5,2,4,7,3]=>100000
[1,6,5,2,7,3,4]=>100000
[1,6,5,2,7,4,3]=>100000
[1,6,5,3,2,4,7]=>100001
[1,6,5,3,2,7,4]=>100000
[1,6,5,3,4,2,7]=>100001
[1,6,5,3,4,7,2]=>100000
[1,6,5,3,7,2,4]=>100000
[1,6,5,3,7,4,2]=>100000
[1,6,5,4,2,3,7]=>100001
[1,6,5,4,2,7,3]=>100000
[1,6,5,4,3,2,7]=>100001
[1,6,5,4,3,7,2]=>100000
[1,6,5,4,7,2,3]=>100000
[1,6,5,4,7,3,2]=>100000
[1,6,5,7,2,3,4]=>100000
[1,6,5,7,2,4,3]=>100000
[1,6,5,7,3,2,4]=>100000
[1,6,5,7,3,4,2]=>100000
[1,6,5,7,4,2,3]=>100000
[1,6,5,7,4,3,2]=>100000
[1,6,7,2,3,4,5]=>100000
[1,6,7,2,3,5,4]=>100000
[1,6,7,2,4,3,5]=>100000
[1,6,7,2,4,5,3]=>100000
[1,6,7,2,5,3,4]=>100000
[1,6,7,2,5,4,3]=>100000
[1,6,7,3,2,4,5]=>100000
[1,6,7,3,2,5,4]=>100000
[1,6,7,3,4,2,5]=>100000
[1,6,7,3,4,5,2]=>100000
[1,6,7,3,5,2,4]=>100000
[1,6,7,3,5,4,2]=>100000
[1,6,7,4,2,3,5]=>100000
[1,6,7,4,2,5,3]=>100000
[1,6,7,4,3,2,5]=>100000
[1,6,7,4,3,5,2]=>100000
[1,6,7,4,5,2,3]=>100000
[1,6,7,4,5,3,2]=>100000
[1,6,7,5,2,3,4]=>100000
[1,6,7,5,2,4,3]=>100000
[1,6,7,5,3,2,4]=>100000
[1,6,7,5,3,4,2]=>100000
[1,6,7,5,4,2,3]=>100000
[1,6,7,5,4,3,2]=>100000
[1,7,2,3,4,5,6]=>100000
[1,7,2,3,4,6,5]=>100000
[1,7,2,3,5,4,6]=>100000
[1,7,2,3,5,6,4]=>100000
[1,7,2,3,6,4,5]=>100000
[1,7,2,3,6,5,4]=>100000
[1,7,2,4,3,5,6]=>100000
[1,7,2,4,3,6,5]=>100000
[1,7,2,4,5,3,6]=>100000
[1,7,2,4,5,6,3]=>100000
[1,7,2,4,6,3,5]=>100000
[1,7,2,4,6,5,3]=>100000
[1,7,2,5,3,4,6]=>100000
[1,7,2,5,3,6,4]=>100000
[1,7,2,5,4,3,6]=>100000
[1,7,2,5,4,6,3]=>100000
[1,7,2,5,6,3,4]=>100000
[1,7,2,5,6,4,3]=>100000
[1,7,2,6,3,4,5]=>100000
[1,7,2,6,3,5,4]=>100000
[1,7,2,6,4,3,5]=>100000
[1,7,2,6,4,5,3]=>100000
[1,7,2,6,5,3,4]=>100000
[1,7,2,6,5,4,3]=>100000
[1,7,3,2,4,5,6]=>100000
[1,7,3,2,4,6,5]=>100000
[1,7,3,2,5,4,6]=>100000
[1,7,3,2,5,6,4]=>100000
[1,7,3,2,6,4,5]=>100000
[1,7,3,2,6,5,4]=>100000
[1,7,3,4,2,5,6]=>100000
[1,7,3,4,2,6,5]=>100000
[1,7,3,4,5,2,6]=>100000
[1,7,3,4,5,6,2]=>100000
[1,7,3,4,6,2,5]=>100000
[1,7,3,4,6,5,2]=>100000
[1,7,3,5,2,4,6]=>100000
[1,7,3,5,2,6,4]=>100000
[1,7,3,5,4,2,6]=>100000
[1,7,3,5,4,6,2]=>100000
[1,7,3,5,6,2,4]=>100000
[1,7,3,5,6,4,2]=>100000
[1,7,3,6,2,4,5]=>100000
[1,7,3,6,2,5,4]=>100000
[1,7,3,6,4,2,5]=>100000
[1,7,3,6,4,5,2]=>100000
[1,7,3,6,5,2,4]=>100000
[1,7,3,6,5,4,2]=>100000
[1,7,4,2,3,5,6]=>100000
[1,7,4,2,3,6,5]=>100000
[1,7,4,2,5,3,6]=>100000
[1,7,4,2,5,6,3]=>100000
[1,7,4,2,6,3,5]=>100000
[1,7,4,2,6,5,3]=>100000
[1,7,4,3,2,5,6]=>100000
[1,7,4,3,2,6,5]=>100000
[1,7,4,3,5,2,6]=>100000
[1,7,4,3,5,6,2]=>100000
[1,7,4,3,6,2,5]=>100000
[1,7,4,3,6,5,2]=>100000
[1,7,4,5,2,3,6]=>100000
[1,7,4,5,2,6,3]=>100000
[1,7,4,5,3,2,6]=>100000
[1,7,4,5,3,6,2]=>100000
[1,7,4,5,6,2,3]=>100000
[1,7,4,5,6,3,2]=>100000
[1,7,4,6,2,3,5]=>100000
[1,7,4,6,2,5,3]=>100000
[1,7,4,6,3,2,5]=>100000
[1,7,4,6,3,5,2]=>100000
[1,7,4,6,5,2,3]=>100000
[1,7,4,6,5,3,2]=>100000
[1,7,5,2,3,4,6]=>100000
[1,7,5,2,3,6,4]=>100000
[1,7,5,2,4,3,6]=>100000
[1,7,5,2,4,6,3]=>100000
[1,7,5,2,6,3,4]=>100000
[1,7,5,2,6,4,3]=>100000
[1,7,5,3,2,4,6]=>100000
[1,7,5,3,2,6,4]=>100000
[1,7,5,3,4,2,6]=>100000
[1,7,5,3,4,6,2]=>100000
[1,7,5,3,6,2,4]=>100000
[1,7,5,3,6,4,2]=>100000
[1,7,5,4,2,3,6]=>100000
[1,7,5,4,2,6,3]=>100000
[1,7,5,4,3,2,6]=>100000
[1,7,5,4,3,6,2]=>100000
[1,7,5,4,6,2,3]=>100000
[1,7,5,4,6,3,2]=>100000
[1,7,5,6,2,3,4]=>100000
[1,7,5,6,2,4,3]=>100000
[1,7,5,6,3,2,4]=>100000
[1,7,5,6,3,4,2]=>100000
[1,7,5,6,4,2,3]=>100000
[1,7,5,6,4,3,2]=>100000
[1,7,6,2,3,4,5]=>100000
[1,7,6,2,3,5,4]=>100000
[1,7,6,2,4,3,5]=>100000
[1,7,6,2,4,5,3]=>100000
[1,7,6,2,5,3,4]=>100000
[1,7,6,2,5,4,3]=>100000
[1,7,6,3,2,4,5]=>100000
[1,7,6,3,2,5,4]=>100000
[1,7,6,3,4,2,5]=>100000
[1,7,6,3,4,5,2]=>100000
[1,7,6,3,5,2,4]=>100000
[1,7,6,3,5,4,2]=>100000
[1,7,6,4,2,3,5]=>100000
[1,7,6,4,2,5,3]=>100000
[1,7,6,4,3,2,5]=>100000
[1,7,6,4,3,5,2]=>100000
[1,7,6,4,5,2,3]=>100000
[1,7,6,4,5,3,2]=>100000
[1,7,6,5,2,3,4]=>100000
[1,7,6,5,2,4,3]=>100000
[1,7,6,5,3,2,4]=>100000
[1,7,6,5,3,4,2]=>100000
[1,7,6,5,4,2,3]=>100000
[1,7,6,5,4,3,2]=>100000
[2,1,3,4,5,6,7]=>011111
[2,1,3,4,5,7,6]=>011110
[2,1,3,4,6,5,7]=>011101
[2,1,3,4,6,7,5]=>011100
[2,1,3,4,7,5,6]=>011100
[2,1,3,4,7,6,5]=>011100
[2,1,3,5,4,6,7]=>011011
[2,1,3,5,4,7,6]=>011010
[2,1,3,5,6,4,7]=>011001
[2,1,3,5,6,7,4]=>011000
[2,1,3,5,7,4,6]=>011000
[2,1,3,5,7,6,4]=>011000
[2,1,3,6,4,5,7]=>011001
[2,1,3,6,4,7,5]=>011000
[2,1,3,6,5,4,7]=>011001
[2,1,3,6,5,7,4]=>011000
[2,1,3,6,7,4,5]=>011000
[2,1,3,6,7,5,4]=>011000
[2,1,3,7,4,5,6]=>011000
[2,1,3,7,4,6,5]=>011000
[2,1,3,7,5,4,6]=>011000
[2,1,3,7,5,6,4]=>011000
[2,1,3,7,6,4,5]=>011000
[2,1,3,7,6,5,4]=>011000
[2,1,4,3,5,6,7]=>010111
[2,1,4,3,5,7,6]=>010110
[2,1,4,3,6,5,7]=>010101
[2,1,4,3,6,7,5]=>010100
[2,1,4,3,7,5,6]=>010100
[2,1,4,3,7,6,5]=>010100
[2,1,4,5,3,6,7]=>010011
[2,1,4,5,3,7,6]=>010010
[2,1,4,5,6,3,7]=>010001
[2,1,4,5,6,7,3]=>010000
[2,1,4,5,7,3,6]=>010000
[2,1,4,5,7,6,3]=>010000
[2,1,4,6,3,5,7]=>010001
[2,1,4,6,3,7,5]=>010000
[2,1,4,6,5,3,7]=>010001
[2,1,4,6,5,7,3]=>010000
[2,1,4,6,7,3,5]=>010000
[2,1,4,6,7,5,3]=>010000
[2,1,4,7,3,5,6]=>010000
[2,1,4,7,3,6,5]=>010000
[2,1,4,7,5,3,6]=>010000
[2,1,4,7,5,6,3]=>010000
[2,1,4,7,6,3,5]=>010000
[2,1,4,7,6,5,3]=>010000
[2,1,5,3,4,6,7]=>010011
[2,1,5,3,4,7,6]=>010010
[2,1,5,3,6,4,7]=>010001
[2,1,5,3,6,7,4]=>010000
[2,1,5,3,7,4,6]=>010000
[2,1,5,3,7,6,4]=>010000
[2,1,5,4,3,6,7]=>010011
[2,1,5,4,3,7,6]=>010010
[2,1,5,4,6,3,7]=>010001
[2,1,5,4,6,7,3]=>010000
[2,1,5,4,7,3,6]=>010000
[2,1,5,4,7,6,3]=>010000
[2,1,5,6,3,4,7]=>010001
[2,1,5,6,3,7,4]=>010000
[2,1,5,6,4,3,7]=>010001
[2,1,5,6,4,7,3]=>010000
[2,1,5,6,7,3,4]=>010000
[2,1,5,6,7,4,3]=>010000
[2,1,5,7,3,4,6]=>010000
[2,1,5,7,3,6,4]=>010000
[2,1,5,7,4,3,6]=>010000
[2,1,5,7,4,6,3]=>010000
[2,1,5,7,6,3,4]=>010000
[2,1,5,7,6,4,3]=>010000
[2,1,6,3,4,5,7]=>010001
[2,1,6,3,4,7,5]=>010000
[2,1,6,3,5,4,7]=>010001
[2,1,6,3,5,7,4]=>010000
[2,1,6,3,7,4,5]=>010000
[2,1,6,3,7,5,4]=>010000
[2,1,6,4,3,5,7]=>010001
[2,1,6,4,3,7,5]=>010000
[2,1,6,4,5,3,7]=>010001
[2,1,6,4,5,7,3]=>010000
[2,1,6,4,7,3,5]=>010000
[2,1,6,4,7,5,3]=>010000
[2,1,6,5,3,4,7]=>010001
[2,1,6,5,3,7,4]=>010000
[2,1,6,5,4,3,7]=>010001
[2,1,6,5,4,7,3]=>010000
[2,1,6,5,7,3,4]=>010000
[2,1,6,5,7,4,3]=>010000
[2,1,6,7,3,4,5]=>010000
[2,1,6,7,3,5,4]=>010000
[2,1,6,7,4,3,5]=>010000
[2,1,6,7,4,5,3]=>010000
[2,1,6,7,5,3,4]=>010000
[2,1,6,7,5,4,3]=>010000
[2,1,7,3,4,5,6]=>010000
[2,1,7,3,4,6,5]=>010000
[2,1,7,3,5,4,6]=>010000
[2,1,7,3,5,6,4]=>010000
[2,1,7,3,6,4,5]=>010000
[2,1,7,3,6,5,4]=>010000
[2,1,7,4,3,5,6]=>010000
[2,1,7,4,3,6,5]=>010000
[2,1,7,4,5,3,6]=>010000
[2,1,7,4,5,6,3]=>010000
[2,1,7,4,6,3,5]=>010000
[2,1,7,4,6,5,3]=>010000
[2,1,7,5,3,4,6]=>010000
[2,1,7,5,3,6,4]=>010000
[2,1,7,5,4,3,6]=>010000
[2,1,7,5,4,6,3]=>010000
[2,1,7,5,6,3,4]=>010000
[2,1,7,5,6,4,3]=>010000
[2,1,7,6,3,4,5]=>010000
[2,1,7,6,3,5,4]=>010000
[2,1,7,6,4,3,5]=>010000
[2,1,7,6,4,5,3]=>010000
[2,1,7,6,5,3,4]=>010000
[2,1,7,6,5,4,3]=>010000
[2,3,1,4,5,6,7]=>001111
[2,3,1,4,5,7,6]=>001110
[2,3,1,4,6,5,7]=>001101
[2,3,1,4,6,7,5]=>001100
[2,3,1,4,7,5,6]=>001100
[2,3,1,4,7,6,5]=>001100
[2,3,1,5,4,6,7]=>001011
[2,3,1,5,4,7,6]=>001010
[2,3,1,5,6,4,7]=>001001
[2,3,1,5,6,7,4]=>001000
[2,3,1,5,7,4,6]=>001000
[2,3,1,5,7,6,4]=>001000
[2,3,1,6,4,5,7]=>001001
[2,3,1,6,4,7,5]=>001000
[2,3,1,6,5,4,7]=>001001
[2,3,1,6,5,7,4]=>001000
[2,3,1,6,7,4,5]=>001000
[2,3,1,6,7,5,4]=>001000
[2,3,1,7,4,5,6]=>001000
[2,3,1,7,4,6,5]=>001000
[2,3,1,7,5,4,6]=>001000
[2,3,1,7,5,6,4]=>001000
[2,3,1,7,6,4,5]=>001000
[2,3,1,7,6,5,4]=>001000
[2,3,4,1,5,6,7]=>000111
[2,3,4,1,5,7,6]=>000110
[2,3,4,1,6,5,7]=>000101
[2,3,4,1,6,7,5]=>000100
[2,3,4,1,7,5,6]=>000100
[2,3,4,1,7,6,5]=>000100
[2,3,4,5,1,6,7]=>000011
[2,3,4,5,1,7,6]=>000010
[2,3,4,5,6,1,7]=>000001
[2,3,4,5,6,7,1]=>000000
[2,3,4,5,7,1,6]=>000000
[2,3,4,5,7,6,1]=>000000
[2,3,4,6,1,5,7]=>000001
[2,3,4,6,1,7,5]=>000000
[2,3,4,6,5,1,7]=>000001
[2,3,4,6,5,7,1]=>000000
[2,3,4,6,7,1,5]=>000000
[2,3,4,6,7,5,1]=>000000
[2,3,4,7,1,5,6]=>000000
[2,3,4,7,1,6,5]=>000000
[2,3,4,7,5,1,6]=>000000
[2,3,4,7,5,6,1]=>000000
[2,3,4,7,6,1,5]=>000000
[2,3,4,7,6,5,1]=>000000
[2,3,5,1,4,6,7]=>000011
[2,3,5,1,4,7,6]=>000010
[2,3,5,1,6,4,7]=>000001
[2,3,5,1,6,7,4]=>000000
[2,3,5,1,7,4,6]=>000000
[2,3,5,1,7,6,4]=>000000
[2,3,5,4,1,6,7]=>000011
[2,3,5,4,1,7,6]=>000010
[2,3,5,4,6,1,7]=>000001
[2,3,5,4,6,7,1]=>000000
[2,3,5,4,7,1,6]=>000000
[2,3,5,4,7,6,1]=>000000
[2,3,5,6,1,4,7]=>000001
[2,3,5,6,1,7,4]=>000000
[2,3,5,6,4,1,7]=>000001
[2,3,5,6,4,7,1]=>000000
[2,3,5,6,7,1,4]=>000000
[2,3,5,6,7,4,1]=>000000
[2,3,5,7,1,4,6]=>000000
[2,3,5,7,1,6,4]=>000000
[2,3,5,7,4,1,6]=>000000
[2,3,5,7,4,6,1]=>000000
[2,3,5,7,6,1,4]=>000000
[2,3,5,7,6,4,1]=>000000
[2,3,6,1,4,5,7]=>000001
[2,3,6,1,4,7,5]=>000000
[2,3,6,1,5,4,7]=>000001
[2,3,6,1,5,7,4]=>000000
[2,3,6,1,7,4,5]=>000000
[2,3,6,1,7,5,4]=>000000
[2,3,6,4,1,5,7]=>000001
[2,3,6,4,1,7,5]=>000000
[2,3,6,4,5,1,7]=>000001
[2,3,6,4,5,7,1]=>000000
[2,3,6,4,7,1,5]=>000000
[2,3,6,4,7,5,1]=>000000
[2,3,6,5,1,4,7]=>000001
[2,3,6,5,1,7,4]=>000000
[2,3,6,5,4,1,7]=>000001
[2,3,6,5,4,7,1]=>000000
[2,3,6,5,7,1,4]=>000000
[2,3,6,5,7,4,1]=>000000
[2,3,6,7,1,4,5]=>000000
[2,3,6,7,1,5,4]=>000000
[2,3,6,7,4,1,5]=>000000
[2,3,6,7,4,5,1]=>000000
[2,3,6,7,5,1,4]=>000000
[2,3,6,7,5,4,1]=>000000
[2,3,7,1,4,5,6]=>000000
[2,3,7,1,4,6,5]=>000000
[2,3,7,1,5,4,6]=>000000
[2,3,7,1,5,6,4]=>000000
[2,3,7,1,6,4,5]=>000000
[2,3,7,1,6,5,4]=>000000
[2,3,7,4,1,5,6]=>000000
[2,3,7,4,1,6,5]=>000000
[2,3,7,4,5,1,6]=>000000
[2,3,7,4,5,6,1]=>000000
[2,3,7,4,6,1,5]=>000000
[2,3,7,4,6,5,1]=>000000
[2,3,7,5,1,4,6]=>000000
[2,3,7,5,1,6,4]=>000000
[2,3,7,5,4,1,6]=>000000
[2,3,7,5,4,6,1]=>000000
[2,3,7,5,6,1,4]=>000000
[2,3,7,5,6,4,1]=>000000
[2,3,7,6,1,4,5]=>000000
[2,3,7,6,1,5,4]=>000000
[2,3,7,6,4,1,5]=>000000
[2,3,7,6,4,5,1]=>000000
[2,3,7,6,5,1,4]=>000000
[2,3,7,6,5,4,1]=>000000
[2,4,1,3,5,6,7]=>000111
[2,4,1,3,5,7,6]=>000110
[2,4,1,3,6,5,7]=>000101
[2,4,1,3,6,7,5]=>000100
[2,4,1,3,7,5,6]=>000100
[2,4,1,3,7,6,5]=>000100
[2,4,1,5,3,6,7]=>000011
[2,4,1,5,3,7,6]=>000010
[2,4,1,5,6,3,7]=>000001
[2,4,1,5,6,7,3]=>000000
[2,4,1,5,7,3,6]=>000000
[2,4,1,5,7,6,3]=>000000
[2,4,1,6,3,5,7]=>000001
[2,4,1,6,3,7,5]=>000000
[2,4,1,6,5,3,7]=>000001
[2,4,1,6,5,7,3]=>000000
[2,4,1,6,7,3,5]=>000000
[2,4,1,6,7,5,3]=>000000
[2,4,1,7,3,5,6]=>000000
[2,4,1,7,3,6,5]=>000000
[2,4,1,7,5,3,6]=>000000
[2,4,1,7,5,6,3]=>000000
[2,4,1,7,6,3,5]=>000000
[2,4,1,7,6,5,3]=>000000
[2,4,3,1,5,6,7]=>000111
[2,4,3,1,5,7,6]=>000110
[2,4,3,1,6,5,7]=>000101
[2,4,3,1,6,7,5]=>000100
[2,4,3,1,7,5,6]=>000100
[2,4,3,1,7,6,5]=>000100
[2,4,3,5,1,6,7]=>000011
[2,4,3,5,1,7,6]=>000010
[2,4,3,5,6,1,7]=>000001
[2,4,3,5,6,7,1]=>000000
[2,4,3,5,7,1,6]=>000000
[2,4,3,5,7,6,1]=>000000
[2,4,3,6,1,5,7]=>000001
[2,4,3,6,1,7,5]=>000000
[2,4,3,6,5,1,7]=>000001
[2,4,3,6,5,7,1]=>000000
[2,4,3,6,7,1,5]=>000000
[2,4,3,6,7,5,1]=>000000
[2,4,3,7,1,5,6]=>000000
[2,4,3,7,1,6,5]=>000000
[2,4,3,7,5,1,6]=>000000
[2,4,3,7,5,6,1]=>000000
[2,4,3,7,6,1,5]=>000000
[2,4,3,7,6,5,1]=>000000
[2,4,5,1,3,6,7]=>000011
[2,4,5,1,3,7,6]=>000010
[2,4,5,1,6,3,7]=>000001
[2,4,5,1,6,7,3]=>000000
[2,4,5,1,7,3,6]=>000000
[2,4,5,1,7,6,3]=>000000
[2,4,5,3,1,6,7]=>000011
[2,4,5,3,1,7,6]=>000010
[2,4,5,3,6,1,7]=>000001
[2,4,5,3,6,7,1]=>000000
[2,4,5,3,7,1,6]=>000000
[2,4,5,3,7,6,1]=>000000
[2,4,5,6,1,3,7]=>000001
[2,4,5,6,1,7,3]=>000000
[2,4,5,6,3,1,7]=>000001
[2,4,5,6,3,7,1]=>000000
[2,4,5,6,7,1,3]=>000000
[2,4,5,6,7,3,1]=>000000
[2,4,5,7,1,3,6]=>000000
[2,4,5,7,1,6,3]=>000000
[2,4,5,7,3,1,6]=>000000
[2,4,5,7,3,6,1]=>000000
[2,4,5,7,6,1,3]=>000000
[2,4,5,7,6,3,1]=>000000
[2,4,6,1,3,5,7]=>000001
[2,4,6,1,3,7,5]=>000000
[2,4,6,1,5,3,7]=>000001
[2,4,6,1,5,7,3]=>000000
[2,4,6,1,7,3,5]=>000000
[2,4,6,1,7,5,3]=>000000
[2,4,6,3,1,5,7]=>000001
[2,4,6,3,1,7,5]=>000000
[2,4,6,3,5,1,7]=>000001
[2,4,6,3,5,7,1]=>000000
[2,4,6,3,7,1,5]=>000000
[2,4,6,3,7,5,1]=>000000
[2,4,6,5,1,3,7]=>000001
[2,4,6,5,1,7,3]=>000000
[2,4,6,5,3,1,7]=>000001
[2,4,6,5,3,7,1]=>000000
[2,4,6,5,7,1,3]=>000000
[2,4,6,5,7,3,1]=>000000
[2,4,6,7,1,3,5]=>000000
[2,4,6,7,1,5,3]=>000000
[2,4,6,7,3,1,5]=>000000
[2,4,6,7,3,5,1]=>000000
[2,4,6,7,5,1,3]=>000000
[2,4,6,7,5,3,1]=>000000
[2,4,7,1,3,5,6]=>000000
[2,4,7,1,3,6,5]=>000000
[2,4,7,1,5,3,6]=>000000
[2,4,7,1,5,6,3]=>000000
[2,4,7,1,6,3,5]=>000000
[2,4,7,1,6,5,3]=>000000
[2,4,7,3,1,5,6]=>000000
[2,4,7,3,1,6,5]=>000000
[2,4,7,3,5,1,6]=>000000
[2,4,7,3,5,6,1]=>000000
[2,4,7,3,6,1,5]=>000000
[2,4,7,3,6,5,1]=>000000
[2,4,7,5,1,3,6]=>000000
[2,4,7,5,1,6,3]=>000000
[2,4,7,5,3,1,6]=>000000
[2,4,7,5,3,6,1]=>000000
[2,4,7,5,6,1,3]=>000000
[2,4,7,5,6,3,1]=>000000
[2,4,7,6,1,3,5]=>000000
[2,4,7,6,1,5,3]=>000000
[2,4,7,6,3,1,5]=>000000
[2,4,7,6,3,5,1]=>000000
[2,4,7,6,5,1,3]=>000000
[2,4,7,6,5,3,1]=>000000
[2,5,1,3,4,6,7]=>000011
[2,5,1,3,4,7,6]=>000010
[2,5,1,3,6,4,7]=>000001
[2,5,1,3,6,7,4]=>000000
[2,5,1,3,7,4,6]=>000000
[2,5,1,3,7,6,4]=>000000
[2,5,1,4,3,6,7]=>000011
[2,5,1,4,3,7,6]=>000010
[2,5,1,4,6,3,7]=>000001
[2,5,1,4,6,7,3]=>000000
[2,5,1,4,7,3,6]=>000000
[2,5,1,4,7,6,3]=>000000
[2,5,1,6,3,4,7]=>000001
[2,5,1,6,3,7,4]=>000000
[2,5,1,6,4,3,7]=>000001
[2,5,1,6,4,7,3]=>000000
[2,5,1,6,7,3,4]=>000000
[2,5,1,6,7,4,3]=>000000
[2,5,1,7,3,4,6]=>000000
[2,5,1,7,3,6,4]=>000000
[2,5,1,7,4,3,6]=>000000
[2,5,1,7,4,6,3]=>000000
[2,5,1,7,6,3,4]=>000000
[2,5,1,7,6,4,3]=>000000
[2,5,3,1,4,6,7]=>000011
[2,5,3,1,4,7,6]=>000010
[2,5,3,1,6,4,7]=>000001
[2,5,3,1,6,7,4]=>000000
[2,5,3,1,7,4,6]=>000000
[2,5,3,1,7,6,4]=>000000
[2,5,3,4,1,6,7]=>000011
[2,5,3,4,1,7,6]=>000010
[2,5,3,4,6,1,7]=>000001
[2,5,3,4,6,7,1]=>000000
[2,5,3,4,7,1,6]=>000000
[2,5,3,4,7,6,1]=>000000
[2,5,3,6,1,4,7]=>000001
[2,5,3,6,1,7,4]=>000000
[2,5,3,6,4,1,7]=>000001
[2,5,3,6,4,7,1]=>000000
[2,5,3,6,7,1,4]=>000000
[2,5,3,6,7,4,1]=>000000
[2,5,3,7,1,4,6]=>000000
[2,5,3,7,1,6,4]=>000000
[2,5,3,7,4,1,6]=>000000
[2,5,3,7,4,6,1]=>000000
[2,5,3,7,6,1,4]=>000000
[2,5,3,7,6,4,1]=>000000
[2,5,4,1,3,6,7]=>000011
[2,5,4,1,3,7,6]=>000010
[2,5,4,1,6,3,7]=>000001
[2,5,4,1,6,7,3]=>000000
[2,5,4,1,7,3,6]=>000000
[2,5,4,1,7,6,3]=>000000
[2,5,4,3,1,6,7]=>000011
[2,5,4,3,1,7,6]=>000010
[2,5,4,3,6,1,7]=>000001
[2,5,4,3,6,7,1]=>000000
[2,5,4,3,7,1,6]=>000000
[2,5,4,3,7,6,1]=>000000
[2,5,4,6,1,3,7]=>000001
[2,5,4,6,1,7,3]=>000000
[2,5,4,6,3,1,7]=>000001
[2,5,4,6,3,7,1]=>000000
[2,5,4,6,7,1,3]=>000000
[2,5,4,6,7,3,1]=>000000
[2,5,4,7,1,3,6]=>000000
[2,5,4,7,1,6,3]=>000000
[2,5,4,7,3,1,6]=>000000
[2,5,4,7,3,6,1]=>000000
[2,5,4,7,6,1,3]=>000000
[2,5,4,7,6,3,1]=>000000
[2,5,6,1,3,4,7]=>000001
[2,5,6,1,3,7,4]=>000000
[2,5,6,1,4,3,7]=>000001
[2,5,6,1,4,7,3]=>000000
[2,5,6,1,7,3,4]=>000000
[2,5,6,1,7,4,3]=>000000
[2,5,6,3,1,4,7]=>000001
[2,5,6,3,1,7,4]=>000000
[2,5,6,3,4,1,7]=>000001
[2,5,6,3,4,7,1]=>000000
[2,5,6,3,7,1,4]=>000000
[2,5,6,3,7,4,1]=>000000
[2,5,6,4,1,3,7]=>000001
[2,5,6,4,1,7,3]=>000000
[2,5,6,4,3,1,7]=>000001
[2,5,6,4,3,7,1]=>000000
[2,5,6,4,7,1,3]=>000000
[2,5,6,4,7,3,1]=>000000
[2,5,6,7,1,3,4]=>000000
[2,5,6,7,1,4,3]=>000000
[2,5,6,7,3,1,4]=>000000
[2,5,6,7,3,4,1]=>000000
[2,5,6,7,4,1,3]=>000000
[2,5,6,7,4,3,1]=>000000
[2,5,7,1,3,4,6]=>000000
[2,5,7,1,3,6,4]=>000000
[2,5,7,1,4,3,6]=>000000
[2,5,7,1,4,6,3]=>000000
[2,5,7,1,6,3,4]=>000000
[2,5,7,1,6,4,3]=>000000
[2,5,7,3,1,4,6]=>000000
[2,5,7,3,1,6,4]=>000000
[2,5,7,3,4,1,6]=>000000
[2,5,7,3,4,6,1]=>000000
[2,5,7,3,6,1,4]=>000000
[2,5,7,3,6,4,1]=>000000
[2,5,7,4,1,3,6]=>000000
[2,5,7,4,1,6,3]=>000000
[2,5,7,4,3,1,6]=>000000
[2,5,7,4,3,6,1]=>000000
[2,5,7,4,6,1,3]=>000000
[2,5,7,4,6,3,1]=>000000
[2,5,7,6,1,3,4]=>000000
[2,5,7,6,1,4,3]=>000000
[2,5,7,6,3,1,4]=>000000
[2,5,7,6,3,4,1]=>000000
[2,5,7,6,4,1,3]=>000000
[2,5,7,6,4,3,1]=>000000
[2,6,1,3,4,5,7]=>000001
[2,6,1,3,4,7,5]=>000000
[2,6,1,3,5,4,7]=>000001
[2,6,1,3,5,7,4]=>000000
[2,6,1,3,7,4,5]=>000000
[2,6,1,3,7,5,4]=>000000
[2,6,1,4,3,5,7]=>000001
[2,6,1,4,3,7,5]=>000000
[2,6,1,4,5,3,7]=>000001
[2,6,1,4,5,7,3]=>000000
[2,6,1,4,7,3,5]=>000000
[2,6,1,4,7,5,3]=>000000
[2,6,1,5,3,4,7]=>000001
[2,6,1,5,3,7,4]=>000000
[2,6,1,5,4,3,7]=>000001
[2,6,1,5,4,7,3]=>000000
[2,6,1,5,7,3,4]=>000000
[2,6,1,5,7,4,3]=>000000
[2,6,1,7,3,4,5]=>000000
[2,6,1,7,3,5,4]=>000000
[2,6,1,7,4,3,5]=>000000
[2,6,1,7,4,5,3]=>000000
[2,6,1,7,5,3,4]=>000000
[2,6,1,7,5,4,3]=>000000
[2,6,3,1,4,5,7]=>000001
[2,6,3,1,4,7,5]=>000000
[2,6,3,1,5,4,7]=>000001
[2,6,3,1,5,7,4]=>000000
[2,6,3,1,7,4,5]=>000000
[2,6,3,1,7,5,4]=>000000
[2,6,3,4,1,5,7]=>000001
[2,6,3,4,1,7,5]=>000000
[2,6,3,4,5,1,7]=>000001
[2,6,3,4,5,7,1]=>000000
[2,6,3,4,7,1,5]=>000000
[2,6,3,4,7,5,1]=>000000
[2,6,3,5,1,4,7]=>000001
[2,6,3,5,1,7,4]=>000000
[2,6,3,5,4,1,7]=>000001
[2,6,3,5,4,7,1]=>000000
[2,6,3,5,7,1,4]=>000000
[2,6,3,5,7,4,1]=>000000
[2,6,3,7,1,4,5]=>000000
[2,6,3,7,1,5,4]=>000000
[2,6,3,7,4,1,5]=>000000
[2,6,3,7,4,5,1]=>000000
[2,6,3,7,5,1,4]=>000000
[2,6,3,7,5,4,1]=>000000
[2,6,4,1,3,5,7]=>000001
[2,6,4,1,3,7,5]=>000000
[2,6,4,1,5,3,7]=>000001
[2,6,4,1,5,7,3]=>000000
[2,6,4,1,7,3,5]=>000000
[2,6,4,1,7,5,3]=>000000
[2,6,4,3,1,5,7]=>000001
[2,6,4,3,1,7,5]=>000000
[2,6,4,3,5,1,7]=>000001
[2,6,4,3,5,7,1]=>000000
[2,6,4,3,7,1,5]=>000000
[2,6,4,3,7,5,1]=>000000
[2,6,4,5,1,3,7]=>000001
[2,6,4,5,1,7,3]=>000000
[2,6,4,5,3,1,7]=>000001
[2,6,4,5,3,7,1]=>000000
[2,6,4,5,7,1,3]=>000000
[2,6,4,5,7,3,1]=>000000
[2,6,4,7,1,3,5]=>000000
[2,6,4,7,1,5,3]=>000000
[2,6,4,7,3,1,5]=>000000
[2,6,4,7,3,5,1]=>000000
[2,6,4,7,5,1,3]=>000000
[2,6,4,7,5,3,1]=>000000
[2,6,5,1,3,4,7]=>000001
[2,6,5,1,3,7,4]=>000000
[2,6,5,1,4,3,7]=>000001
[2,6,5,1,4,7,3]=>000000
[2,6,5,1,7,3,4]=>000000
[2,6,5,1,7,4,3]=>000000
[2,6,5,3,1,4,7]=>000001
[2,6,5,3,1,7,4]=>000000
[2,6,5,3,4,1,7]=>000001
[2,6,5,3,4,7,1]=>000000
[2,6,5,3,7,1,4]=>000000
[2,6,5,3,7,4,1]=>000000
[2,6,5,4,1,3,7]=>000001
[2,6,5,4,1,7,3]=>000000
[2,6,5,4,3,1,7]=>000001
[2,6,5,4,3,7,1]=>000000
[2,6,5,4,7,1,3]=>000000
[2,6,5,4,7,3,1]=>000000
[2,6,5,7,1,3,4]=>000000
[2,6,5,7,1,4,3]=>000000
[2,6,5,7,3,1,4]=>000000
[2,6,5,7,3,4,1]=>000000
[2,6,5,7,4,1,3]=>000000
[2,6,5,7,4,3,1]=>000000
[2,6,7,1,3,4,5]=>000000
[2,6,7,1,3,5,4]=>000000
[2,6,7,1,4,3,5]=>000000
[2,6,7,1,4,5,3]=>000000
[2,6,7,1,5,3,4]=>000000
[2,6,7,1,5,4,3]=>000000
[2,6,7,3,1,4,5]=>000000
[2,6,7,3,1,5,4]=>000000
[2,6,7,3,4,1,5]=>000000
[2,6,7,3,4,5,1]=>000000
[2,6,7,3,5,1,4]=>000000
[2,6,7,3,5,4,1]=>000000
[2,6,7,4,1,3,5]=>000000
[2,6,7,4,1,5,3]=>000000
[2,6,7,4,3,1,5]=>000000
[2,6,7,4,3,5,1]=>000000
[2,6,7,4,5,1,3]=>000000
[2,6,7,4,5,3,1]=>000000
[2,6,7,5,1,3,4]=>000000
[2,6,7,5,1,4,3]=>000000
[2,6,7,5,3,1,4]=>000000
[2,6,7,5,3,4,1]=>000000
[2,6,7,5,4,1,3]=>000000
[2,6,7,5,4,3,1]=>000000
[2,7,1,3,4,5,6]=>000000
[2,7,1,3,4,6,5]=>000000
[2,7,1,3,5,4,6]=>000000
[2,7,1,3,5,6,4]=>000000
[2,7,1,3,6,4,5]=>000000
[2,7,1,3,6,5,4]=>000000
[2,7,1,4,3,5,6]=>000000
[2,7,1,4,3,6,5]=>000000
[2,7,1,4,5,3,6]=>000000
[2,7,1,4,5,6,3]=>000000
[2,7,1,4,6,3,5]=>000000
[2,7,1,4,6,5,3]=>000000
[2,7,1,5,3,4,6]=>000000
[2,7,1,5,3,6,4]=>000000
[2,7,1,5,4,3,6]=>000000
[2,7,1,5,4,6,3]=>000000
[2,7,1,5,6,3,4]=>000000
[2,7,1,5,6,4,3]=>000000
[2,7,1,6,3,4,5]=>000000
[2,7,1,6,3,5,4]=>000000
[2,7,1,6,4,3,5]=>000000
[2,7,1,6,4,5,3]=>000000
[2,7,1,6,5,3,4]=>000000
[2,7,1,6,5,4,3]=>000000
[2,7,3,1,4,5,6]=>000000
[2,7,3,1,4,6,5]=>000000
[2,7,3,1,5,4,6]=>000000
[2,7,3,1,5,6,4]=>000000
[2,7,3,1,6,4,5]=>000000
[2,7,3,1,6,5,4]=>000000
[2,7,3,4,1,5,6]=>000000
[2,7,3,4,1,6,5]=>000000
[2,7,3,4,5,1,6]=>000000
[2,7,3,4,5,6,1]=>000000
[2,7,3,4,6,1,5]=>000000
[2,7,3,4,6,5,1]=>000000
[2,7,3,5,1,4,6]=>000000
[2,7,3,5,1,6,4]=>000000
[2,7,3,5,4,1,6]=>000000
[2,7,3,5,4,6,1]=>000000
[2,7,3,5,6,1,4]=>000000
[2,7,3,5,6,4,1]=>000000
[2,7,3,6,1,4,5]=>000000
[2,7,3,6,1,5,4]=>000000
[2,7,3,6,4,1,5]=>000000
[2,7,3,6,4,5,1]=>000000
[2,7,3,6,5,1,4]=>000000
[2,7,3,6,5,4,1]=>000000
[2,7,4,1,3,5,6]=>000000
[2,7,4,1,3,6,5]=>000000
[2,7,4,1,5,3,6]=>000000
[2,7,4,1,5,6,3]=>000000
[2,7,4,1,6,3,5]=>000000
[2,7,4,1,6,5,3]=>000000
[2,7,4,3,1,5,6]=>000000
[2,7,4,3,1,6,5]=>000000
[2,7,4,3,5,1,6]=>000000
[2,7,4,3,5,6,1]=>000000
[2,7,4,3,6,1,5]=>000000
[2,7,4,3,6,5,1]=>000000
[2,7,4,5,1,3,6]=>000000
[2,7,4,5,1,6,3]=>000000
[2,7,4,5,3,1,6]=>000000
[2,7,4,5,3,6,1]=>000000
[2,7,4,5,6,1,3]=>000000
[2,7,4,5,6,3,1]=>000000
[2,7,4,6,1,3,5]=>000000
[2,7,4,6,1,5,3]=>000000
[2,7,4,6,3,1,5]=>000000
[2,7,4,6,3,5,1]=>000000
[2,7,4,6,5,1,3]=>000000
[2,7,4,6,5,3,1]=>000000
[2,7,5,1,3,4,6]=>000000
[2,7,5,1,3,6,4]=>000000
[2,7,5,1,4,3,6]=>000000
[2,7,5,1,4,6,3]=>000000
[2,7,5,1,6,3,4]=>000000
[2,7,5,1,6,4,3]=>000000
[2,7,5,3,1,4,6]=>000000
[2,7,5,3,1,6,4]=>000000
[2,7,5,3,4,1,6]=>000000
[2,7,5,3,4,6,1]=>000000
[2,7,5,3,6,1,4]=>000000
[2,7,5,3,6,4,1]=>000000
[2,7,5,4,1,3,6]=>000000
[2,7,5,4,1,6,3]=>000000
[2,7,5,4,3,1,6]=>000000
[2,7,5,4,3,6,1]=>000000
[2,7,5,4,6,1,3]=>000000
[2,7,5,4,6,3,1]=>000000
[2,7,5,6,1,3,4]=>000000
[2,7,5,6,1,4,3]=>000000
[2,7,5,6,3,1,4]=>000000
[2,7,5,6,3,4,1]=>000000
[2,7,5,6,4,1,3]=>000000
[2,7,5,6,4,3,1]=>000000
[2,7,6,1,3,4,5]=>000000
[2,7,6,1,3,5,4]=>000000
[2,7,6,1,4,3,5]=>000000
[2,7,6,1,4,5,3]=>000000
[2,7,6,1,5,3,4]=>000000
[2,7,6,1,5,4,3]=>000000
[2,7,6,3,1,4,5]=>000000
[2,7,6,3,1,5,4]=>000000
[2,7,6,3,4,1,5]=>000000
[2,7,6,3,4,5,1]=>000000
[2,7,6,3,5,1,4]=>000000
[2,7,6,3,5,4,1]=>000000
[2,7,6,4,1,3,5]=>000000
[2,7,6,4,1,5,3]=>000000
[2,7,6,4,3,1,5]=>000000
[2,7,6,4,3,5,1]=>000000
[2,7,6,4,5,1,3]=>000000
[2,7,6,4,5,3,1]=>000000
[2,7,6,5,1,3,4]=>000000
[2,7,6,5,1,4,3]=>000000
[2,7,6,5,3,1,4]=>000000
[2,7,6,5,3,4,1]=>000000
[2,7,6,5,4,1,3]=>000000
[2,7,6,5,4,3,1]=>000000
[3,1,2,4,5,6,7]=>001111
[3,1,2,4,5,7,6]=>001110
[3,1,2,4,6,5,7]=>001101
[3,1,2,4,6,7,5]=>001100
[3,1,2,4,7,5,6]=>001100
[3,1,2,4,7,6,5]=>001100
[3,1,2,5,4,6,7]=>001011
[3,1,2,5,4,7,6]=>001010
[3,1,2,5,6,4,7]=>001001
[3,1,2,5,6,7,4]=>001000
[3,1,2,5,7,4,6]=>001000
[3,1,2,5,7,6,4]=>001000
[3,1,2,6,4,5,7]=>001001
[3,1,2,6,4,7,5]=>001000
[3,1,2,6,5,4,7]=>001001
[3,1,2,6,5,7,4]=>001000
[3,1,2,6,7,4,5]=>001000
[3,1,2,6,7,5,4]=>001000
[3,1,2,7,4,5,6]=>001000
[3,1,2,7,4,6,5]=>001000
[3,1,2,7,5,4,6]=>001000
[3,1,2,7,5,6,4]=>001000
[3,1,2,7,6,4,5]=>001000
[3,1,2,7,6,5,4]=>001000
[3,1,4,2,5,6,7]=>000111
[3,1,4,2,5,7,6]=>000110
[3,1,4,2,6,5,7]=>000101
[3,1,4,2,6,7,5]=>000100
[3,1,4,2,7,5,6]=>000100
[3,1,4,2,7,6,5]=>000100
[3,1,4,5,2,6,7]=>000011
[3,1,4,5,2,7,6]=>000010
[3,1,4,5,6,2,7]=>000001
[3,1,4,5,6,7,2]=>000000
[3,1,4,5,7,2,6]=>000000
[3,1,4,5,7,6,2]=>000000
[3,1,4,6,2,5,7]=>000001
[3,1,4,6,2,7,5]=>000000
[3,1,4,6,5,2,7]=>000001
[3,1,4,6,5,7,2]=>000000
[3,1,4,6,7,2,5]=>000000
[3,1,4,6,7,5,2]=>000000
[3,1,4,7,2,5,6]=>000000
[3,1,4,7,2,6,5]=>000000
[3,1,4,7,5,2,6]=>000000
[3,1,4,7,5,6,2]=>000000
[3,1,4,7,6,2,5]=>000000
[3,1,4,7,6,5,2]=>000000
[3,1,5,2,4,6,7]=>000011
[3,1,5,2,4,7,6]=>000010
[3,1,5,2,6,4,7]=>000001
[3,1,5,2,6,7,4]=>000000
[3,1,5,2,7,4,6]=>000000
[3,1,5,2,7,6,4]=>000000
[3,1,5,4,2,6,7]=>000011
[3,1,5,4,2,7,6]=>000010
[3,1,5,4,6,2,7]=>000001
[3,1,5,4,6,7,2]=>000000
[3,1,5,4,7,2,6]=>000000
[3,1,5,4,7,6,2]=>000000
[3,1,5,6,2,4,7]=>000001
[3,1,5,6,2,7,4]=>000000
[3,1,5,6,4,2,7]=>000001
[3,1,5,6,4,7,2]=>000000
[3,1,5,6,7,2,4]=>000000
[3,1,5,6,7,4,2]=>000000
[3,1,5,7,2,4,6]=>000000
[3,1,5,7,2,6,4]=>000000
[3,1,5,7,4,2,6]=>000000
[3,1,5,7,4,6,2]=>000000
[3,1,5,7,6,2,4]=>000000
[3,1,5,7,6,4,2]=>000000
[3,1,6,2,4,5,7]=>000001
[3,1,6,2,4,7,5]=>000000
[3,1,6,2,5,4,7]=>000001
[3,1,6,2,5,7,4]=>000000
[3,1,6,2,7,4,5]=>000000
[3,1,6,2,7,5,4]=>000000
[3,1,6,4,2,5,7]=>000001
[3,1,6,4,2,7,5]=>000000
[3,1,6,4,5,2,7]=>000001
[3,1,6,4,5,7,2]=>000000
[3,1,6,4,7,2,5]=>000000
[3,1,6,4,7,5,2]=>000000
[3,1,6,5,2,4,7]=>000001
[3,1,6,5,2,7,4]=>000000
[3,1,6,5,4,2,7]=>000001
[3,1,6,5,4,7,2]=>000000
[3,1,6,5,7,2,4]=>000000
[3,1,6,5,7,4,2]=>000000
[3,1,6,7,2,4,5]=>000000
[3,1,6,7,2,5,4]=>000000
[3,1,6,7,4,2,5]=>000000
[3,1,6,7,4,5,2]=>000000
[3,1,6,7,5,2,4]=>000000
[3,1,6,7,5,4,2]=>000000
[3,1,7,2,4,5,6]=>000000
[3,1,7,2,4,6,5]=>000000
[3,1,7,2,5,4,6]=>000000
[3,1,7,2,5,6,4]=>000000
[3,1,7,2,6,4,5]=>000000
[3,1,7,2,6,5,4]=>000000
[3,1,7,4,2,5,6]=>000000
[3,1,7,4,2,6,5]=>000000
[3,1,7,4,5,2,6]=>000000
[3,1,7,4,5,6,2]=>000000
[3,1,7,4,6,2,5]=>000000
[3,1,7,4,6,5,2]=>000000
[3,1,7,5,2,4,6]=>000000
[3,1,7,5,2,6,4]=>000000
[3,1,7,5,4,2,6]=>000000
[3,1,7,5,4,6,2]=>000000
[3,1,7,5,6,2,4]=>000000
[3,1,7,5,6,4,2]=>000000
[3,1,7,6,2,4,5]=>000000
[3,1,7,6,2,5,4]=>000000
[3,1,7,6,4,2,5]=>000000
[3,1,7,6,4,5,2]=>000000
[3,1,7,6,5,2,4]=>000000
[3,1,7,6,5,4,2]=>000000
[3,2,1,4,5,6,7]=>001111
[3,2,1,4,5,7,6]=>001110
[3,2,1,4,6,5,7]=>001101
[3,2,1,4,6,7,5]=>001100
[3,2,1,4,7,5,6]=>001100
[3,2,1,4,7,6,5]=>001100
[3,2,1,5,4,6,7]=>001011
[3,2,1,5,4,7,6]=>001010
[3,2,1,5,6,4,7]=>001001
[3,2,1,5,6,7,4]=>001000
[3,2,1,5,7,4,6]=>001000
[3,2,1,5,7,6,4]=>001000
[3,2,1,6,4,5,7]=>001001
[3,2,1,6,4,7,5]=>001000
[3,2,1,6,5,4,7]=>001001
[3,2,1,6,5,7,4]=>001000
[3,2,1,6,7,4,5]=>001000
[3,2,1,6,7,5,4]=>001000
[3,2,1,7,4,5,6]=>001000
[3,2,1,7,4,6,5]=>001000
[3,2,1,7,5,4,6]=>001000
[3,2,1,7,5,6,4]=>001000
[3,2,1,7,6,4,5]=>001000
[3,2,1,7,6,5,4]=>001000
[3,2,4,1,5,6,7]=>000111
[3,2,4,1,5,7,6]=>000110
[3,2,4,1,6,5,7]=>000101
[3,2,4,1,6,7,5]=>000100
[3,2,4,1,7,5,6]=>000100
[3,2,4,1,7,6,5]=>000100
[3,2,4,5,1,6,7]=>000011
[3,2,4,5,1,7,6]=>000010
[3,2,4,5,6,1,7]=>000001
[3,2,4,5,6,7,1]=>000000
[3,2,4,5,7,1,6]=>000000
[3,2,4,5,7,6,1]=>000000
[3,2,4,6,1,5,7]=>000001
[3,2,4,6,1,7,5]=>000000
[3,2,4,6,5,1,7]=>000001
[3,2,4,6,5,7,1]=>000000
[3,2,4,6,7,1,5]=>000000
[3,2,4,6,7,5,1]=>000000
[3,2,4,7,1,5,6]=>000000
[3,2,4,7,1,6,5]=>000000
[3,2,4,7,5,1,6]=>000000
[3,2,4,7,5,6,1]=>000000
[3,2,4,7,6,1,5]=>000000
[3,2,4,7,6,5,1]=>000000
[3,2,5,1,4,6,7]=>000011
[3,2,5,1,4,7,6]=>000010
[3,2,5,1,6,4,7]=>000001
[3,2,5,1,6,7,4]=>000000
[3,2,5,1,7,4,6]=>000000
[3,2,5,1,7,6,4]=>000000
[3,2,5,4,1,6,7]=>000011
[3,2,5,4,1,7,6]=>000010
[3,2,5,4,6,1,7]=>000001
[3,2,5,4,6,7,1]=>000000
[3,2,5,4,7,1,6]=>000000
[3,2,5,4,7,6,1]=>000000
[3,2,5,6,1,4,7]=>000001
[3,2,5,6,1,7,4]=>000000
[3,2,5,6,4,1,7]=>000001
[3,2,5,6,4,7,1]=>000000
[3,2,5,6,7,1,4]=>000000
[3,2,5,6,7,4,1]=>000000
[3,2,5,7,1,4,6]=>000000
[3,2,5,7,1,6,4]=>000000
[3,2,5,7,4,1,6]=>000000
[3,2,5,7,4,6,1]=>000000
[3,2,5,7,6,1,4]=>000000
[3,2,5,7,6,4,1]=>000000
[3,2,6,1,4,5,7]=>000001
[3,2,6,1,4,7,5]=>000000
[3,2,6,1,5,4,7]=>000001
[3,2,6,1,5,7,4]=>000000
[3,2,6,1,7,4,5]=>000000
[3,2,6,1,7,5,4]=>000000
[3,2,6,4,1,5,7]=>000001
[3,2,6,4,1,7,5]=>000000
[3,2,6,4,5,1,7]=>000001
[3,2,6,4,5,7,1]=>000000
[3,2,6,4,7,1,5]=>000000
[3,2,6,4,7,5,1]=>000000
[3,2,6,5,1,4,7]=>000001
[3,2,6,5,1,7,4]=>000000
[3,2,6,5,4,1,7]=>000001
[3,2,6,5,4,7,1]=>000000
[3,2,6,5,7,1,4]=>000000
[3,2,6,5,7,4,1]=>000000
[3,2,6,7,1,4,5]=>000000
[3,2,6,7,1,5,4]=>000000
[3,2,6,7,4,1,5]=>000000
[3,2,6,7,4,5,1]=>000000
[3,2,6,7,5,1,4]=>000000
[3,2,6,7,5,4,1]=>000000
[3,2,7,1,4,5,6]=>000000
[3,2,7,1,4,6,5]=>000000
[3,2,7,1,5,4,6]=>000000
[3,2,7,1,5,6,4]=>000000
[3,2,7,1,6,4,5]=>000000
[3,2,7,1,6,5,4]=>000000
[3,2,7,4,1,5,6]=>000000
[3,2,7,4,1,6,5]=>000000
[3,2,7,4,5,1,6]=>000000
[3,2,7,4,5,6,1]=>000000
[3,2,7,4,6,1,5]=>000000
[3,2,7,4,6,5,1]=>000000
[3,2,7,5,1,4,6]=>000000
[3,2,7,5,1,6,4]=>000000
[3,2,7,5,4,1,6]=>000000
[3,2,7,5,4,6,1]=>000000
[3,2,7,5,6,1,4]=>000000
[3,2,7,5,6,4,1]=>000000
[3,2,7,6,1,4,5]=>000000
[3,2,7,6,1,5,4]=>000000
[3,2,7,6,4,1,5]=>000000
[3,2,7,6,4,5,1]=>000000
[3,2,7,6,5,1,4]=>000000
[3,2,7,6,5,4,1]=>000000
[3,4,1,2,5,6,7]=>000111
[3,4,1,2,5,7,6]=>000110
[3,4,1,2,6,5,7]=>000101
[3,4,1,2,6,7,5]=>000100
[3,4,1,2,7,5,6]=>000100
[3,4,1,2,7,6,5]=>000100
[3,4,1,5,2,6,7]=>000011
[3,4,1,5,2,7,6]=>000010
[3,4,1,5,6,2,7]=>000001
[3,4,1,5,6,7,2]=>000000
[3,4,1,5,7,2,6]=>000000
[3,4,1,5,7,6,2]=>000000
[3,4,1,6,2,5,7]=>000001
[3,4,1,6,2,7,5]=>000000
[3,4,1,6,5,2,7]=>000001
[3,4,1,6,5,7,2]=>000000
[3,4,1,6,7,2,5]=>000000
[3,4,1,6,7,5,2]=>000000
[3,4,1,7,2,5,6]=>000000
[3,4,1,7,2,6,5]=>000000
[3,4,1,7,5,2,6]=>000000
[3,4,1,7,5,6,2]=>000000
[3,4,1,7,6,2,5]=>000000
[3,4,1,7,6,5,2]=>000000
[3,4,2,1,5,6,7]=>000111
[3,4,2,1,5,7,6]=>000110
[3,4,2,1,6,5,7]=>000101
[3,4,2,1,6,7,5]=>000100
[3,4,2,1,7,5,6]=>000100
[3,4,2,1,7,6,5]=>000100
[3,4,2,5,1,6,7]=>000011
[3,4,2,5,1,7,6]=>000010
[3,4,2,5,6,1,7]=>000001
[3,4,2,5,6,7,1]=>000000
[3,4,2,5,7,1,6]=>000000
[3,4,2,5,7,6,1]=>000000
[3,4,2,6,1,5,7]=>000001
[3,4,2,6,1,7,5]=>000000
[3,4,2,6,5,1,7]=>000001
[3,4,2,6,5,7,1]=>000000
[3,4,2,6,7,1,5]=>000000
[3,4,2,6,7,5,1]=>000000
[3,4,2,7,1,5,6]=>000000
[3,4,2,7,1,6,5]=>000000
[3,4,2,7,5,1,6]=>000000
[3,4,2,7,5,6,1]=>000000
[3,4,2,7,6,1,5]=>000000
[3,4,2,7,6,5,1]=>000000
[3,4,5,1,2,6,7]=>000011
[3,4,5,1,2,7,6]=>000010
[3,4,5,1,6,2,7]=>000001
[3,4,5,1,6,7,2]=>000000
[3,4,5,1,7,2,6]=>000000
[3,4,5,1,7,6,2]=>000000
[3,4,5,2,1,6,7]=>000011
[3,4,5,2,1,7,6]=>000010
[3,4,5,2,6,1,7]=>000001
[3,4,5,2,6,7,1]=>000000
[3,4,5,2,7,1,6]=>000000
[3,4,5,2,7,6,1]=>000000
[3,4,5,6,1,2,7]=>000001
[3,4,5,6,1,7,2]=>000000
[3,4,5,6,2,1,7]=>000001
[3,4,5,6,2,7,1]=>000000
[3,4,5,6,7,1,2]=>000000
[3,4,5,6,7,2,1]=>000000
[3,4,5,7,1,2,6]=>000000
[3,4,5,7,1,6,2]=>000000
[3,4,5,7,2,1,6]=>000000
[3,4,5,7,2,6,1]=>000000
[3,4,5,7,6,1,2]=>000000
[3,4,5,7,6,2,1]=>000000
[3,4,6,1,2,5,7]=>000001
[3,4,6,1,2,7,5]=>000000
[3,4,6,1,5,2,7]=>000001
[3,4,6,1,5,7,2]=>000000
[3,4,6,1,7,2,5]=>000000
[3,4,6,1,7,5,2]=>000000
[3,4,6,2,1,5,7]=>000001
[3,4,6,2,1,7,5]=>000000
[3,4,6,2,5,1,7]=>000001
[3,4,6,2,5,7,1]=>000000
[3,4,6,2,7,1,5]=>000000
[3,4,6,2,7,5,1]=>000000
[3,4,6,5,1,2,7]=>000001
[3,4,6,5,1,7,2]=>000000
[3,4,6,5,2,1,7]=>000001
[3,4,6,5,2,7,1]=>000000
[3,4,6,5,7,1,2]=>000000
[3,4,6,5,7,2,1]=>000000
[3,4,6,7,1,2,5]=>000000
[3,4,6,7,1,5,2]=>000000
[3,4,6,7,2,1,5]=>000000
[3,4,6,7,2,5,1]=>000000
[3,4,6,7,5,1,2]=>000000
[3,4,6,7,5,2,1]=>000000
[3,4,7,1,2,5,6]=>000000
[3,4,7,1,2,6,5]=>000000
[3,4,7,1,5,2,6]=>000000
[3,4,7,1,5,6,2]=>000000
[3,4,7,1,6,2,5]=>000000
[3,4,7,1,6,5,2]=>000000
[3,4,7,2,1,5,6]=>000000
[3,4,7,2,1,6,5]=>000000
[3,4,7,2,5,1,6]=>000000
[3,4,7,2,5,6,1]=>000000
[3,4,7,2,6,1,5]=>000000
[3,4,7,2,6,5,1]=>000000
[3,4,7,5,1,2,6]=>000000
[3,4,7,5,1,6,2]=>000000
[3,4,7,5,2,1,6]=>000000
[3,4,7,5,2,6,1]=>000000
[3,4,7,5,6,1,2]=>000000
[3,4,7,5,6,2,1]=>000000
[3,4,7,6,1,2,5]=>000000
[3,4,7,6,1,5,2]=>000000
[3,4,7,6,2,1,5]=>000000
[3,4,7,6,2,5,1]=>000000
[3,4,7,6,5,1,2]=>000000
[3,4,7,6,5,2,1]=>000000
[3,5,1,2,4,6,7]=>000011
[3,5,1,2,4,7,6]=>000010
[3,5,1,2,6,4,7]=>000001
[3,5,1,2,6,7,4]=>000000
[3,5,1,2,7,4,6]=>000000
[3,5,1,2,7,6,4]=>000000
[3,5,1,4,2,6,7]=>000011
[3,5,1,4,2,7,6]=>000010
[3,5,1,4,6,2,7]=>000001
[3,5,1,4,6,7,2]=>000000
[3,5,1,4,7,2,6]=>000000
[3,5,1,4,7,6,2]=>000000
[3,5,1,6,2,4,7]=>000001
[3,5,1,6,2,7,4]=>000000
[3,5,1,6,4,2,7]=>000001
[3,5,1,6,4,7,2]=>000000
[3,5,1,6,7,2,4]=>000000
[3,5,1,6,7,4,2]=>000000
[3,5,1,7,2,4,6]=>000000
[3,5,1,7,2,6,4]=>000000
[3,5,1,7,4,2,6]=>000000
[3,5,1,7,4,6,2]=>000000
[3,5,1,7,6,2,4]=>000000
[3,5,1,7,6,4,2]=>000000
[3,5,2,1,4,6,7]=>000011
[3,5,2,1,4,7,6]=>000010
[3,5,2,1,6,4,7]=>000001
[3,5,2,1,6,7,4]=>000000
[3,5,2,1,7,4,6]=>000000
[3,5,2,1,7,6,4]=>000000
[3,5,2,4,1,6,7]=>000011
[3,5,2,4,1,7,6]=>000010
[3,5,2,4,6,1,7]=>000001
[3,5,2,4,6,7,1]=>000000
[3,5,2,4,7,1,6]=>000000
[3,5,2,4,7,6,1]=>000000
[3,5,2,6,1,4,7]=>000001
[3,5,2,6,1,7,4]=>000000
[3,5,2,6,4,1,7]=>000001
[3,5,2,6,4,7,1]=>000000
[3,5,2,6,7,1,4]=>000000
[3,5,2,6,7,4,1]=>000000
[3,5,2,7,1,4,6]=>000000
[3,5,2,7,1,6,4]=>000000
[3,5,2,7,4,1,6]=>000000
[3,5,2,7,4,6,1]=>000000
[3,5,2,7,6,1,4]=>000000
[3,5,2,7,6,4,1]=>000000
[3,5,4,1,2,6,7]=>000011
[3,5,4,1,2,7,6]=>000010
[3,5,4,1,6,2,7]=>000001
[3,5,4,1,6,7,2]=>000000
[3,5,4,1,7,2,6]=>000000
[3,5,4,1,7,6,2]=>000000
[3,5,4,2,1,6,7]=>000011
[3,5,4,2,1,7,6]=>000010
[3,5,4,2,6,1,7]=>000001
[3,5,4,2,6,7,1]=>000000
[3,5,4,2,7,1,6]=>000000
[3,5,4,2,7,6,1]=>000000
[3,5,4,6,1,2,7]=>000001
[3,5,4,6,1,7,2]=>000000
[3,5,4,6,2,1,7]=>000001
[3,5,4,6,2,7,1]=>000000
[3,5,4,6,7,1,2]=>000000
[3,5,4,6,7,2,1]=>000000
[3,5,4,7,1,2,6]=>000000
[3,5,4,7,1,6,2]=>000000
[3,5,4,7,2,1,6]=>000000
[3,5,4,7,2,6,1]=>000000
[3,5,4,7,6,1,2]=>000000
[3,5,4,7,6,2,1]=>000000
[3,5,6,1,2,4,7]=>000001
[3,5,6,1,2,7,4]=>000000
[3,5,6,1,4,2,7]=>000001
[3,5,6,1,4,7,2]=>000000
[3,5,6,1,7,2,4]=>000000
[3,5,6,1,7,4,2]=>000000
[3,5,6,2,1,4,7]=>000001
[3,5,6,2,1,7,4]=>000000
[3,5,6,2,4,1,7]=>000001
[3,5,6,2,4,7,1]=>000000
[3,5,6,2,7,1,4]=>000000
[3,5,6,2,7,4,1]=>000000
[3,5,6,4,1,2,7]=>000001
[3,5,6,4,1,7,2]=>000000
[3,5,6,4,2,1,7]=>000001
[3,5,6,4,2,7,1]=>000000
[3,5,6,4,7,1,2]=>000000
[3,5,6,4,7,2,1]=>000000
[3,5,6,7,1,2,4]=>000000
[3,5,6,7,1,4,2]=>000000
[3,5,6,7,2,1,4]=>000000
[3,5,6,7,2,4,1]=>000000
[3,5,6,7,4,1,2]=>000000
[3,5,6,7,4,2,1]=>000000
[3,5,7,1,2,4,6]=>000000
[3,5,7,1,2,6,4]=>000000
[3,5,7,1,4,2,6]=>000000
[3,5,7,1,4,6,2]=>000000
[3,5,7,1,6,2,4]=>000000
[3,5,7,1,6,4,2]=>000000
[3,5,7,2,1,4,6]=>000000
[3,5,7,2,1,6,4]=>000000
[3,5,7,2,4,1,6]=>000000
[3,5,7,2,4,6,1]=>000000
[3,5,7,2,6,1,4]=>000000
[3,5,7,2,6,4,1]=>000000
[3,5,7,4,1,2,6]=>000000
[3,5,7,4,1,6,2]=>000000
[3,5,7,4,2,1,6]=>000000
[3,5,7,4,2,6,1]=>000000
[3,5,7,4,6,1,2]=>000000
[3,5,7,4,6,2,1]=>000000
[3,5,7,6,1,2,4]=>000000
[3,5,7,6,1,4,2]=>000000
[3,5,7,6,2,1,4]=>000000
[3,5,7,6,2,4,1]=>000000
[3,5,7,6,4,1,2]=>000000
[3,5,7,6,4,2,1]=>000000
[3,6,1,2,4,5,7]=>000001
[3,6,1,2,4,7,5]=>000000
[3,6,1,2,5,4,7]=>000001
[3,6,1,2,5,7,4]=>000000
[3,6,1,2,7,4,5]=>000000
[3,6,1,2,7,5,4]=>000000
[3,6,1,4,2,5,7]=>000001
[3,6,1,4,2,7,5]=>000000
[3,6,1,4,5,2,7]=>000001
[3,6,1,4,5,7,2]=>000000
[3,6,1,4,7,2,5]=>000000
[3,6,1,4,7,5,2]=>000000
[3,6,1,5,2,4,7]=>000001
[3,6,1,5,2,7,4]=>000000
[3,6,1,5,4,2,7]=>000001
[3,6,1,5,4,7,2]=>000000
[3,6,1,5,7,2,4]=>000000
[3,6,1,5,7,4,2]=>000000
[3,6,1,7,2,4,5]=>000000
[3,6,1,7,2,5,4]=>000000
[3,6,1,7,4,2,5]=>000000
[3,6,1,7,4,5,2]=>000000
[3,6,1,7,5,2,4]=>000000
[3,6,1,7,5,4,2]=>000000
[3,6,2,1,4,5,7]=>000001
[3,6,2,1,4,7,5]=>000000
[3,6,2,1,5,4,7]=>000001
[3,6,2,1,5,7,4]=>000000
[3,6,2,1,7,4,5]=>000000
[3,6,2,1,7,5,4]=>000000
[3,6,2,4,1,5,7]=>000001
[3,6,2,4,1,7,5]=>000000
[3,6,2,4,5,1,7]=>000001
[3,6,2,4,5,7,1]=>000000
[3,6,2,4,7,1,5]=>000000
[3,6,2,4,7,5,1]=>000000
[3,6,2,5,1,4,7]=>000001
[3,6,2,5,1,7,4]=>000000
[3,6,2,5,4,1,7]=>000001
[3,6,2,5,4,7,1]=>000000
[3,6,2,5,7,1,4]=>000000
[3,6,2,5,7,4,1]=>000000
[3,6,2,7,1,4,5]=>000000
[3,6,2,7,1,5,4]=>000000
[3,6,2,7,4,1,5]=>000000
[3,6,2,7,4,5,1]=>000000
[3,6,2,7,5,1,4]=>000000
[3,6,2,7,5,4,1]=>000000
[3,6,4,1,2,5,7]=>000001
[3,6,4,1,2,7,5]=>000000
[3,6,4,1,5,2,7]=>000001
[3,6,4,1,5,7,2]=>000000
[3,6,4,1,7,2,5]=>000000
[3,6,4,1,7,5,2]=>000000
[3,6,4,2,1,5,7]=>000001
[3,6,4,2,1,7,5]=>000000
[3,6,4,2,5,1,7]=>000001
[3,6,4,2,5,7,1]=>000000
[3,6,4,2,7,1,5]=>000000
[3,6,4,2,7,5,1]=>000000
[3,6,4,5,1,2,7]=>000001
[3,6,4,5,1,7,2]=>000000
[3,6,4,5,2,1,7]=>000001
[3,6,4,5,2,7,1]=>000000
[3,6,4,5,7,1,2]=>000000
[3,6,4,5,7,2,1]=>000000
[3,6,4,7,1,2,5]=>000000
[3,6,4,7,1,5,2]=>000000
[3,6,4,7,2,1,5]=>000000
[3,6,4,7,2,5,1]=>000000
[3,6,4,7,5,1,2]=>000000
[3,6,4,7,5,2,1]=>000000
[3,6,5,1,2,4,7]=>000001
[3,6,5,1,2,7,4]=>000000
[3,6,5,1,4,2,7]=>000001
[3,6,5,1,4,7,2]=>000000
[3,6,5,1,7,2,4]=>000000
[3,6,5,1,7,4,2]=>000000
[3,6,5,2,1,4,7]=>000001
[3,6,5,2,1,7,4]=>000000
[3,6,5,2,4,1,7]=>000001
[3,6,5,2,4,7,1]=>000000
[3,6,5,2,7,1,4]=>000000
[3,6,5,2,7,4,1]=>000000
[3,6,5,4,1,2,7]=>000001
[3,6,5,4,1,7,2]=>000000
[3,6,5,4,2,1,7]=>000001
[3,6,5,4,2,7,1]=>000000
[3,6,5,4,7,1,2]=>000000
[3,6,5,4,7,2,1]=>000000
[3,6,5,7,1,2,4]=>000000
[3,6,5,7,1,4,2]=>000000
[3,6,5,7,2,1,4]=>000000
[3,6,5,7,2,4,1]=>000000
[3,6,5,7,4,1,2]=>000000
[3,6,5,7,4,2,1]=>000000
[3,6,7,1,2,4,5]=>000000
[3,6,7,1,2,5,4]=>000000
[3,6,7,1,4,2,5]=>000000
[3,6,7,1,4,5,2]=>000000
[3,6,7,1,5,2,4]=>000000
[3,6,7,1,5,4,2]=>000000
[3,6,7,2,1,4,5]=>000000
[3,6,7,2,1,5,4]=>000000
[3,6,7,2,4,1,5]=>000000
[3,6,7,2,4,5,1]=>000000
[3,6,7,2,5,1,4]=>000000
[3,6,7,2,5,4,1]=>000000
[3,6,7,4,1,2,5]=>000000
[3,6,7,4,1,5,2]=>000000
[3,6,7,4,2,1,5]=>000000
[3,6,7,4,2,5,1]=>000000
[3,6,7,4,5,1,2]=>000000
[3,6,7,4,5,2,1]=>000000
[3,6,7,5,1,2,4]=>000000
[3,6,7,5,1,4,2]=>000000
[3,6,7,5,2,1,4]=>000000
[3,6,7,5,2,4,1]=>000000
[3,6,7,5,4,1,2]=>000000
[3,6,7,5,4,2,1]=>000000
[3,7,1,2,4,5,6]=>000000
[3,7,1,2,4,6,5]=>000000
[3,7,1,2,5,4,6]=>000000
[3,7,1,2,5,6,4]=>000000
[3,7,1,2,6,4,5]=>000000
[3,7,1,2,6,5,4]=>000000
[3,7,1,4,2,5,6]=>000000
[3,7,1,4,2,6,5]=>000000
[3,7,1,4,5,2,6]=>000000
[3,7,1,4,5,6,2]=>000000
[3,7,1,4,6,2,5]=>000000
[3,7,1,4,6,5,2]=>000000
[3,7,1,5,2,4,6]=>000000
[3,7,1,5,2,6,4]=>000000
[3,7,1,5,4,2,6]=>000000
[3,7,1,5,4,6,2]=>000000
[3,7,1,5,6,2,4]=>000000
[3,7,1,5,6,4,2]=>000000
[3,7,1,6,2,4,5]=>000000
[3,7,1,6,2,5,4]=>000000
[3,7,1,6,4,2,5]=>000000
[3,7,1,6,4,5,2]=>000000
[3,7,1,6,5,2,4]=>000000
[3,7,1,6,5,4,2]=>000000
[3,7,2,1,4,5,6]=>000000
[3,7,2,1,4,6,5]=>000000
[3,7,2,1,5,4,6]=>000000
[3,7,2,1,5,6,4]=>000000
[3,7,2,1,6,4,5]=>000000
[3,7,2,1,6,5,4]=>000000
[3,7,2,4,1,5,6]=>000000
[3,7,2,4,1,6,5]=>000000
[3,7,2,4,5,1,6]=>000000
[3,7,2,4,5,6,1]=>000000
[3,7,2,4,6,1,5]=>000000
[3,7,2,4,6,5,1]=>000000
[3,7,2,5,1,4,6]=>000000
[3,7,2,5,1,6,4]=>000000
[3,7,2,5,4,1,6]=>000000
[3,7,2,5,4,6,1]=>000000
[3,7,2,5,6,1,4]=>000000
[3,7,2,5,6,4,1]=>000000
[3,7,2,6,1,4,5]=>000000
[3,7,2,6,1,5,4]=>000000
[3,7,2,6,4,1,5]=>000000
[3,7,2,6,4,5,1]=>000000
[3,7,2,6,5,1,4]=>000000
[3,7,2,6,5,4,1]=>000000
[3,7,4,1,2,5,6]=>000000
[3,7,4,1,2,6,5]=>000000
[3,7,4,1,5,2,6]=>000000
[3,7,4,1,5,6,2]=>000000
[3,7,4,1,6,2,5]=>000000
[3,7,4,1,6,5,2]=>000000
[3,7,4,2,1,5,6]=>000000
[3,7,4,2,1,6,5]=>000000
[3,7,4,2,5,1,6]=>000000
[3,7,4,2,5,6,1]=>000000
[3,7,4,2,6,1,5]=>000000
[3,7,4,2,6,5,1]=>000000
[3,7,4,5,1,2,6]=>000000
[3,7,4,5,1,6,2]=>000000
[3,7,4,5,2,1,6]=>000000
[3,7,4,5,2,6,1]=>000000
[3,7,4,5,6,1,2]=>000000
[3,7,4,5,6,2,1]=>000000
[3,7,4,6,1,2,5]=>000000
[3,7,4,6,1,5,2]=>000000
[3,7,4,6,2,1,5]=>000000
[3,7,4,6,2,5,1]=>000000
[3,7,4,6,5,1,2]=>000000
[3,7,4,6,5,2,1]=>000000
[3,7,5,1,2,4,6]=>000000
[3,7,5,1,2,6,4]=>000000
[3,7,5,1,4,2,6]=>000000
[3,7,5,1,4,6,2]=>000000
[3,7,5,1,6,2,4]=>000000
[3,7,5,1,6,4,2]=>000000
[3,7,5,2,1,4,6]=>000000
[3,7,5,2,1,6,4]=>000000
[3,7,5,2,4,1,6]=>000000
[3,7,5,2,4,6,1]=>000000
[3,7,5,2,6,1,4]=>000000
[3,7,5,2,6,4,1]=>000000
[3,7,5,4,1,2,6]=>000000
[3,7,5,4,1,6,2]=>000000
[3,7,5,4,2,1,6]=>000000
[3,7,5,4,2,6,1]=>000000
[3,7,5,4,6,1,2]=>000000
[3,7,5,4,6,2,1]=>000000
[3,7,5,6,1,2,4]=>000000
[3,7,5,6,1,4,2]=>000000
[3,7,5,6,2,1,4]=>000000
[3,7,5,6,2,4,1]=>000000
[3,7,5,6,4,1,2]=>000000
[3,7,5,6,4,2,1]=>000000
[3,7,6,1,2,4,5]=>000000
[3,7,6,1,2,5,4]=>000000
[3,7,6,1,4,2,5]=>000000
[3,7,6,1,4,5,2]=>000000
[3,7,6,1,5,2,4]=>000000
[3,7,6,1,5,4,2]=>000000
[3,7,6,2,1,4,5]=>000000
[3,7,6,2,1,5,4]=>000000
[3,7,6,2,4,1,5]=>000000
[3,7,6,2,4,5,1]=>000000
[3,7,6,2,5,1,4]=>000000
[3,7,6,2,5,4,1]=>000000
[3,7,6,4,1,2,5]=>000000
[3,7,6,4,1,5,2]=>000000
[3,7,6,4,2,1,5]=>000000
[3,7,6,4,2,5,1]=>000000
[3,7,6,4,5,1,2]=>000000
[3,7,6,4,5,2,1]=>000000
[3,7,6,5,1,2,4]=>000000
[3,7,6,5,1,4,2]=>000000
[3,7,6,5,2,1,4]=>000000
[3,7,6,5,2,4,1]=>000000
[3,7,6,5,4,1,2]=>000000
[3,7,6,5,4,2,1]=>000000
[4,1,2,3,5,6,7]=>000111
[4,1,2,3,5,7,6]=>000110
[4,1,2,3,6,5,7]=>000101
[4,1,2,3,6,7,5]=>000100
[4,1,2,3,7,5,6]=>000100
[4,1,2,3,7,6,5]=>000100
[4,1,2,5,3,6,7]=>000011
[4,1,2,5,3,7,6]=>000010
[4,1,2,5,6,3,7]=>000001
[4,1,2,5,6,7,3]=>000000
[4,1,2,5,7,3,6]=>000000
[4,1,2,5,7,6,3]=>000000
[4,1,2,6,3,5,7]=>000001
[4,1,2,6,3,7,5]=>000000
[4,1,2,6,5,3,7]=>000001
[4,1,2,6,5,7,3]=>000000
[4,1,2,6,7,3,5]=>000000
[4,1,2,6,7,5,3]=>000000
[4,1,2,7,3,5,6]=>000000
[4,1,2,7,3,6,5]=>000000
[4,1,2,7,5,3,6]=>000000
[4,1,2,7,5,6,3]=>000000
[4,1,2,7,6,3,5]=>000000
[4,1,2,7,6,5,3]=>000000
[4,1,3,2,5,6,7]=>000111
[4,1,3,2,5,7,6]=>000110
[4,1,3,2,6,5,7]=>000101
[4,1,3,2,6,7,5]=>000100
[4,1,3,2,7,5,6]=>000100
[4,1,3,2,7,6,5]=>000100
[4,1,3,5,2,6,7]=>000011
[4,1,3,5,2,7,6]=>000010
[4,1,3,5,6,2,7]=>000001
[4,1,3,5,6,7,2]=>000000
[4,1,3,5,7,2,6]=>000000
[4,1,3,5,7,6,2]=>000000
[4,1,3,6,2,5,7]=>000001
[4,1,3,6,2,7,5]=>000000
[4,1,3,6,5,2,7]=>000001
[4,1,3,6,5,7,2]=>000000
[4,1,3,6,7,2,5]=>000000
[4,1,3,6,7,5,2]=>000000
[4,1,3,7,2,5,6]=>000000
[4,1,3,7,2,6,5]=>000000
[4,1,3,7,5,2,6]=>000000
[4,1,3,7,5,6,2]=>000000
[4,1,3,7,6,2,5]=>000000
[4,1,3,7,6,5,2]=>000000
[4,1,5,2,3,6,7]=>000011
[4,1,5,2,3,7,6]=>000010
[4,1,5,2,6,3,7]=>000001
[4,1,5,2,6,7,3]=>000000
[4,1,5,2,7,3,6]=>000000
[4,1,5,2,7,6,3]=>000000
[4,1,5,3,2,6,7]=>000011
[4,1,5,3,2,7,6]=>000010
[4,1,5,3,6,2,7]=>000001
[4,1,5,3,6,7,2]=>000000
[4,1,5,3,7,2,6]=>000000
[4,1,5,3,7,6,2]=>000000
[4,1,5,6,2,3,7]=>000001
[4,1,5,6,2,7,3]=>000000
[4,1,5,6,3,2,7]=>000001
[4,1,5,6,3,7,2]=>000000
[4,1,5,6,7,2,3]=>000000
[4,1,5,6,7,3,2]=>000000
[4,1,5,7,2,3,6]=>000000
[4,1,5,7,2,6,3]=>000000
[4,1,5,7,3,2,6]=>000000
[4,1,5,7,3,6,2]=>000000
[4,1,5,7,6,2,3]=>000000
[4,1,5,7,6,3,2]=>000000
[4,1,6,2,3,5,7]=>000001
[4,1,6,2,3,7,5]=>000000
[4,1,6,2,5,3,7]=>000001
[4,1,6,2,5,7,3]=>000000
[4,1,6,2,7,3,5]=>000000
[4,1,6,2,7,5,3]=>000000
[4,1,6,3,2,5,7]=>000001
[4,1,6,3,2,7,5]=>000000
[4,1,6,3,5,2,7]=>000001
[4,1,6,3,5,7,2]=>000000
[4,1,6,3,7,2,5]=>000000
[4,1,6,3,7,5,2]=>000000
[4,1,6,5,2,3,7]=>000001
[4,1,6,5,2,7,3]=>000000
[4,1,6,5,3,2,7]=>000001
[4,1,6,5,3,7,2]=>000000
[4,1,6,5,7,2,3]=>000000
[4,1,6,5,7,3,2]=>000000
[4,1,6,7,2,3,5]=>000000
[4,1,6,7,2,5,3]=>000000
[4,1,6,7,3,2,5]=>000000
[4,1,6,7,3,5,2]=>000000
[4,1,6,7,5,2,3]=>000000
[4,1,6,7,5,3,2]=>000000
[4,1,7,2,3,5,6]=>000000
[4,1,7,2,3,6,5]=>000000
[4,1,7,2,5,3,6]=>000000
[4,1,7,2,5,6,3]=>000000
[4,1,7,2,6,3,5]=>000000
[4,1,7,2,6,5,3]=>000000
[4,1,7,3,2,5,6]=>000000
[4,1,7,3,2,6,5]=>000000
[4,1,7,3,5,2,6]=>000000
[4,1,7,3,5,6,2]=>000000
[4,1,7,3,6,2,5]=>000000
[4,1,7,3,6,5,2]=>000000
[4,1,7,5,2,3,6]=>000000
[4,1,7,5,2,6,3]=>000000
[4,1,7,5,3,2,6]=>000000
[4,1,7,5,3,6,2]=>000000
[4,1,7,5,6,2,3]=>000000
[4,1,7,5,6,3,2]=>000000
[4,1,7,6,2,3,5]=>000000
[4,1,7,6,2,5,3]=>000000
[4,1,7,6,3,2,5]=>000000
[4,1,7,6,3,5,2]=>000000
[4,1,7,6,5,2,3]=>000000
[4,1,7,6,5,3,2]=>000000
[4,2,1,3,5,6,7]=>000111
[4,2,1,3,5,7,6]=>000110
[4,2,1,3,6,5,7]=>000101
[4,2,1,3,6,7,5]=>000100
[4,2,1,3,7,5,6]=>000100
[4,2,1,3,7,6,5]=>000100
[4,2,1,5,3,6,7]=>000011
[4,2,1,5,3,7,6]=>000010
[4,2,1,5,6,3,7]=>000001
[4,2,1,5,6,7,3]=>000000
[4,2,1,5,7,3,6]=>000000
[4,2,1,5,7,6,3]=>000000
[4,2,1,6,3,5,7]=>000001
[4,2,1,6,3,7,5]=>000000
[4,2,1,6,5,3,7]=>000001
[4,2,1,6,5,7,3]=>000000
[4,2,1,6,7,3,5]=>000000
[4,2,1,6,7,5,3]=>000000
[4,2,1,7,3,5,6]=>000000
[4,2,1,7,3,6,5]=>000000
[4,2,1,7,5,3,6]=>000000
[4,2,1,7,5,6,3]=>000000
[4,2,1,7,6,3,5]=>000000
[4,2,1,7,6,5,3]=>000000
[4,2,3,1,5,6,7]=>000111
[4,2,3,1,5,7,6]=>000110
[4,2,3,1,6,5,7]=>000101
[4,2,3,1,6,7,5]=>000100
[4,2,3,1,7,5,6]=>000100
[4,2,3,1,7,6,5]=>000100
[4,2,3,5,1,6,7]=>000011
[4,2,3,5,1,7,6]=>000010
[4,2,3,5,6,1,7]=>000001
[4,2,3,5,6,7,1]=>000000
[4,2,3,5,7,1,6]=>000000
[4,2,3,5,7,6,1]=>000000
[4,2,3,6,1,5,7]=>000001
[4,2,3,6,1,7,5]=>000000
[4,2,3,6,5,1,7]=>000001
[4,2,3,6,5,7,1]=>000000
[4,2,3,6,7,1,5]=>000000
[4,2,3,6,7,5,1]=>000000
[4,2,3,7,1,5,6]=>000000
[4,2,3,7,1,6,5]=>000000
[4,2,3,7,5,1,6]=>000000
[4,2,3,7,5,6,1]=>000000
[4,2,3,7,6,1,5]=>000000
[4,2,3,7,6,5,1]=>000000
[4,2,5,1,3,6,7]=>000011
[4,2,5,1,3,7,6]=>000010
[4,2,5,1,6,3,7]=>000001
[4,2,5,1,6,7,3]=>000000
[4,2,5,1,7,3,6]=>000000
[4,2,5,1,7,6,3]=>000000
[4,2,5,3,1,6,7]=>000011
[4,2,5,3,1,7,6]=>000010
[4,2,5,3,6,1,7]=>000001
[4,2,5,3,6,7,1]=>000000
[4,2,5,3,7,1,6]=>000000
[4,2,5,3,7,6,1]=>000000
[4,2,5,6,1,3,7]=>000001
[4,2,5,6,1,7,3]=>000000
[4,2,5,6,3,1,7]=>000001
[4,2,5,6,3,7,1]=>000000
[4,2,5,6,7,1,3]=>000000
[4,2,5,6,7,3,1]=>000000
[4,2,5,7,1,3,6]=>000000
[4,2,5,7,1,6,3]=>000000
[4,2,5,7,3,1,6]=>000000
[4,2,5,7,3,6,1]=>000000
[4,2,5,7,6,1,3]=>000000
[4,2,5,7,6,3,1]=>000000
[4,2,6,1,3,5,7]=>000001
[4,2,6,1,3,7,5]=>000000
[4,2,6,1,5,3,7]=>000001
[4,2,6,1,5,7,3]=>000000
[4,2,6,1,7,3,5]=>000000
[4,2,6,1,7,5,3]=>000000
[4,2,6,3,1,5,7]=>000001
[4,2,6,3,1,7,5]=>000000
[4,2,6,3,5,1,7]=>000001
[4,2,6,3,5,7,1]=>000000
[4,2,6,3,7,1,5]=>000000
[4,2,6,3,7,5,1]=>000000
[4,2,6,5,1,3,7]=>000001
[4,2,6,5,1,7,3]=>000000
[4,2,6,5,3,1,7]=>000001
[4,2,6,5,3,7,1]=>000000
[4,2,6,5,7,1,3]=>000000
[4,2,6,5,7,3,1]=>000000
[4,2,6,7,1,3,5]=>000000
[4,2,6,7,1,5,3]=>000000
[4,2,6,7,3,1,5]=>000000
[4,2,6,7,3,5,1]=>000000
[4,2,6,7,5,1,3]=>000000
[4,2,6,7,5,3,1]=>000000
[4,2,7,1,3,5,6]=>000000
[4,2,7,1,3,6,5]=>000000
[4,2,7,1,5,3,6]=>000000
[4,2,7,1,5,6,3]=>000000
[4,2,7,1,6,3,5]=>000000
[4,2,7,1,6,5,3]=>000000
[4,2,7,3,1,5,6]=>000000
[4,2,7,3,1,6,5]=>000000
[4,2,7,3,5,1,6]=>000000
[4,2,7,3,5,6,1]=>000000
[4,2,7,3,6,1,5]=>000000
[4,2,7,3,6,5,1]=>000000
[4,2,7,5,1,3,6]=>000000
[4,2,7,5,1,6,3]=>000000
[4,2,7,5,3,1,6]=>000000
[4,2,7,5,3,6,1]=>000000
[4,2,7,5,6,1,3]=>000000
[4,2,7,5,6,3,1]=>000000
[4,2,7,6,1,3,5]=>000000
[4,2,7,6,1,5,3]=>000000
[4,2,7,6,3,1,5]=>000000
[4,2,7,6,3,5,1]=>000000
[4,2,7,6,5,1,3]=>000000
[4,2,7,6,5,3,1]=>000000
[4,3,1,2,5,6,7]=>000111
[4,3,1,2,5,7,6]=>000110
[4,3,1,2,6,5,7]=>000101
[4,3,1,2,6,7,5]=>000100
[4,3,1,2,7,5,6]=>000100
[4,3,1,2,7,6,5]=>000100
[4,3,1,5,2,6,7]=>000011
[4,3,1,5,2,7,6]=>000010
[4,3,1,5,6,2,7]=>000001
[4,3,1,5,6,7,2]=>000000
[4,3,1,5,7,2,6]=>000000
[4,3,1,5,7,6,2]=>000000
[4,3,1,6,2,5,7]=>000001
[4,3,1,6,2,7,5]=>000000
[4,3,1,6,5,2,7]=>000001
[4,3,1,6,5,7,2]=>000000
[4,3,1,6,7,2,5]=>000000
[4,3,1,6,7,5,2]=>000000
[4,3,1,7,2,5,6]=>000000
[4,3,1,7,2,6,5]=>000000
[4,3,1,7,5,2,6]=>000000
[4,3,1,7,5,6,2]=>000000
[4,3,1,7,6,2,5]=>000000
[4,3,1,7,6,5,2]=>000000
[4,3,2,1,5,6,7]=>000111
[4,3,2,1,5,7,6]=>000110
[4,3,2,1,6,5,7]=>000101
[4,3,2,1,6,7,5]=>000100
[4,3,2,1,7,5,6]=>000100
[4,3,2,1,7,6,5]=>000100
[4,3,2,5,1,6,7]=>000011
[4,3,2,5,1,7,6]=>000010
[4,3,2,5,6,1,7]=>000001
[4,3,2,5,6,7,1]=>000000
[4,3,2,5,7,1,6]=>000000
[4,3,2,5,7,6,1]=>000000
[4,3,2,6,1,5,7]=>000001
[4,3,2,6,1,7,5]=>000000
[4,3,2,6,5,1,7]=>000001
[4,3,2,6,5,7,1]=>000000
[4,3,2,6,7,1,5]=>000000
[4,3,2,6,7,5,1]=>000000
[4,3,2,7,1,5,6]=>000000
[4,3,2,7,1,6,5]=>000000
[4,3,2,7,5,1,6]=>000000
[4,3,2,7,5,6,1]=>000000
[4,3,2,7,6,1,5]=>000000
[4,3,2,7,6,5,1]=>000000
[4,3,5,1,2,6,7]=>000011
[4,3,5,1,2,7,6]=>000010
[4,3,5,1,6,2,7]=>000001
[4,3,5,1,6,7,2]=>000000
[4,3,5,1,7,2,6]=>000000
[4,3,5,1,7,6,2]=>000000
[4,3,5,2,1,6,7]=>000011
[4,3,5,2,1,7,6]=>000010
[4,3,5,2,6,1,7]=>000001
[4,3,5,2,6,7,1]=>000000
[4,3,5,2,7,1,6]=>000000
[4,3,5,2,7,6,1]=>000000
[4,3,5,6,1,2,7]=>000001
[4,3,5,6,1,7,2]=>000000
[4,3,5,6,2,1,7]=>000001
[4,3,5,6,2,7,1]=>000000
[4,3,5,6,7,1,2]=>000000
[4,3,5,6,7,2,1]=>000000
[4,3,5,7,1,2,6]=>000000
[4,3,5,7,1,6,2]=>000000
[4,3,5,7,2,1,6]=>000000
[4,3,5,7,2,6,1]=>000000
[4,3,5,7,6,1,2]=>000000
[4,3,5,7,6,2,1]=>000000
[4,3,6,1,2,5,7]=>000001
[4,3,6,1,2,7,5]=>000000
[4,3,6,1,5,2,7]=>000001
[4,3,6,1,5,7,2]=>000000
[4,3,6,1,7,2,5]=>000000
[4,3,6,1,7,5,2]=>000000
[4,3,6,2,1,5,7]=>000001
[4,3,6,2,1,7,5]=>000000
[4,3,6,2,5,1,7]=>000001
[4,3,6,2,5,7,1]=>000000
[4,3,6,2,7,1,5]=>000000
[4,3,6,2,7,5,1]=>000000
[4,3,6,5,1,2,7]=>000001
[4,3,6,5,1,7,2]=>000000
[4,3,6,5,2,1,7]=>000001
[4,3,6,5,2,7,1]=>000000
[4,3,6,5,7,1,2]=>000000
[4,3,6,5,7,2,1]=>000000
[4,3,6,7,1,2,5]=>000000
[4,3,6,7,1,5,2]=>000000
[4,3,6,7,2,1,5]=>000000
[4,3,6,7,2,5,1]=>000000
[4,3,6,7,5,1,2]=>000000
[4,3,6,7,5,2,1]=>000000
[4,3,7,1,2,5,6]=>000000
[4,3,7,1,2,6,5]=>000000
[4,3,7,1,5,2,6]=>000000
[4,3,7,1,5,6,2]=>000000
[4,3,7,1,6,2,5]=>000000
[4,3,7,1,6,5,2]=>000000
[4,3,7,2,1,5,6]=>000000
[4,3,7,2,1,6,5]=>000000
[4,3,7,2,5,1,6]=>000000
[4,3,7,2,5,6,1]=>000000
[4,3,7,2,6,1,5]=>000000
[4,3,7,2,6,5,1]=>000000
[4,3,7,5,1,2,6]=>000000
[4,3,7,5,1,6,2]=>000000
[4,3,7,5,2,1,6]=>000000
[4,3,7,5,2,6,1]=>000000
[4,3,7,5,6,1,2]=>000000
[4,3,7,5,6,2,1]=>000000
[4,3,7,6,1,2,5]=>000000
[4,3,7,6,1,5,2]=>000000
[4,3,7,6,2,1,5]=>000000
[4,3,7,6,2,5,1]=>000000
[4,3,7,6,5,1,2]=>000000
[4,3,7,6,5,2,1]=>000000
[4,5,1,2,3,6,7]=>000011
[4,5,1,2,3,7,6]=>000010
[4,5,1,2,6,3,7]=>000001
[4,5,1,2,6,7,3]=>000000
[4,5,1,2,7,3,6]=>000000
[4,5,1,2,7,6,3]=>000000
[4,5,1,3,2,6,7]=>000011
[4,5,1,3,2,7,6]=>000010
[4,5,1,3,6,2,7]=>000001
[4,5,1,3,6,7,2]=>000000
[4,5,1,3,7,2,6]=>000000
[4,5,1,3,7,6,2]=>000000
[4,5,1,6,2,3,7]=>000001
[4,5,1,6,2,7,3]=>000000
[4,5,1,6,3,2,7]=>000001
[4,5,1,6,3,7,2]=>000000
[4,5,1,6,7,2,3]=>000000
[4,5,1,6,7,3,2]=>000000
[4,5,1,7,2,3,6]=>000000
[4,5,1,7,2,6,3]=>000000
[4,5,1,7,3,2,6]=>000000
[4,5,1,7,3,6,2]=>000000
[4,5,1,7,6,2,3]=>000000
[4,5,1,7,6,3,2]=>000000
[4,5,2,1,3,6,7]=>000011
[4,5,2,1,3,7,6]=>000010
[4,5,2,1,6,3,7]=>000001
[4,5,2,1,6,7,3]=>000000
[4,5,2,1,7,3,6]=>000000
[4,5,2,1,7,6,3]=>000000
[4,5,2,3,1,6,7]=>000011
[4,5,2,3,1,7,6]=>000010
[4,5,2,3,6,1,7]=>000001
[4,5,2,3,6,7,1]=>000000
[4,5,2,3,7,1,6]=>000000
[4,5,2,3,7,6,1]=>000000
[4,5,2,6,1,3,7]=>000001
[4,5,2,6,1,7,3]=>000000
[4,5,2,6,3,1,7]=>000001
[4,5,2,6,3,7,1]=>000000
[4,5,2,6,7,1,3]=>000000
[4,5,2,6,7,3,1]=>000000
[4,5,2,7,1,3,6]=>000000
[4,5,2,7,1,6,3]=>000000
[4,5,2,7,3,1,6]=>000000
[4,5,2,7,3,6,1]=>000000
[4,5,2,7,6,1,3]=>000000
[4,5,2,7,6,3,1]=>000000
[4,5,3,1,2,6,7]=>000011
[4,5,3,1,2,7,6]=>000010
[4,5,3,1,6,2,7]=>000001
[4,5,3,1,6,7,2]=>000000
[4,5,3,1,7,2,6]=>000000
[4,5,3,1,7,6,2]=>000000
[4,5,3,2,1,6,7]=>000011
[4,5,3,2,1,7,6]=>000010
[4,5,3,2,6,1,7]=>000001
[4,5,3,2,6,7,1]=>000000
[4,5,3,2,7,1,6]=>000000
[4,5,3,2,7,6,1]=>000000
[4,5,3,6,1,2,7]=>000001
[4,5,3,6,1,7,2]=>000000
[4,5,3,6,2,1,7]=>000001
[4,5,3,6,2,7,1]=>000000
[4,5,3,6,7,1,2]=>000000
[4,5,3,6,7,2,1]=>000000
[4,5,3,7,1,2,6]=>000000
[4,5,3,7,1,6,2]=>000000
[4,5,3,7,2,1,6]=>000000
[4,5,3,7,2,6,1]=>000000
[4,5,3,7,6,1,2]=>000000
[4,5,3,7,6,2,1]=>000000
[4,5,6,1,2,3,7]=>000001
[4,5,6,1,2,7,3]=>000000
[4,5,6,1,3,2,7]=>000001
[4,5,6,1,3,7,2]=>000000
[4,5,6,1,7,2,3]=>000000
[4,5,6,1,7,3,2]=>000000
[4,5,6,2,1,3,7]=>000001
[4,5,6,2,1,7,3]=>000000
[4,5,6,2,3,1,7]=>000001
[4,5,6,2,3,7,1]=>000000
[4,5,6,2,7,1,3]=>000000
[4,5,6,2,7,3,1]=>000000
[4,5,6,3,1,2,7]=>000001
[4,5,6,3,1,7,2]=>000000
[4,5,6,3,2,1,7]=>000001
[4,5,6,3,2,7,1]=>000000
[4,5,6,3,7,1,2]=>000000
[4,5,6,3,7,2,1]=>000000
[4,5,6,7,1,2,3]=>000000
[4,5,6,7,1,3,2]=>000000
[4,5,6,7,2,1,3]=>000000
[4,5,6,7,2,3,1]=>000000
[4,5,6,7,3,1,2]=>000000
[4,5,6,7,3,2,1]=>000000
[4,5,7,1,2,3,6]=>000000
[4,5,7,1,2,6,3]=>000000
[4,5,7,1,3,2,6]=>000000
[4,5,7,1,3,6,2]=>000000
[4,5,7,1,6,2,3]=>000000
[4,5,7,1,6,3,2]=>000000
[4,5,7,2,1,3,6]=>000000
[4,5,7,2,1,6,3]=>000000
[4,5,7,2,3,1,6]=>000000
[4,5,7,2,3,6,1]=>000000
[4,5,7,2,6,1,3]=>000000
[4,5,7,2,6,3,1]=>000000
[4,5,7,3,1,2,6]=>000000
[4,5,7,3,1,6,2]=>000000
[4,5,7,3,2,1,6]=>000000
[4,5,7,3,2,6,1]=>000000
[4,5,7,3,6,1,2]=>000000
[4,5,7,3,6,2,1]=>000000
[4,5,7,6,1,2,3]=>000000
[4,5,7,6,1,3,2]=>000000
[4,5,7,6,2,1,3]=>000000
[4,5,7,6,2,3,1]=>000000
[4,5,7,6,3,1,2]=>000000
[4,5,7,6,3,2,1]=>000000
[4,6,1,2,3,5,7]=>000001
[4,6,1,2,3,7,5]=>000000
[4,6,1,2,5,3,7]=>000001
[4,6,1,2,5,7,3]=>000000
[4,6,1,2,7,3,5]=>000000
[4,6,1,2,7,5,3]=>000000
[4,6,1,3,2,5,7]=>000001
[4,6,1,3,2,7,5]=>000000
[4,6,1,3,5,2,7]=>000001
[4,6,1,3,5,7,2]=>000000
[4,6,1,3,7,2,5]=>000000
[4,6,1,3,7,5,2]=>000000
[4,6,1,5,2,3,7]=>000001
[4,6,1,5,2,7,3]=>000000
[4,6,1,5,3,2,7]=>000001
[4,6,1,5,3,7,2]=>000000
[4,6,1,5,7,2,3]=>000000
[4,6,1,5,7,3,2]=>000000
[4,6,1,7,2,3,5]=>000000
[4,6,1,7,2,5,3]=>000000
[4,6,1,7,3,2,5]=>000000
[4,6,1,7,3,5,2]=>000000
[4,6,1,7,5,2,3]=>000000
[4,6,1,7,5,3,2]=>000000
[4,6,2,1,3,5,7]=>000001
[4,6,2,1,3,7,5]=>000000
[4,6,2,1,5,3,7]=>000001
[4,6,2,1,5,7,3]=>000000
[4,6,2,1,7,3,5]=>000000
[4,6,2,1,7,5,3]=>000000
[4,6,2,3,1,5,7]=>000001
[4,6,2,3,1,7,5]=>000000
[4,6,2,3,5,1,7]=>000001
[4,6,2,3,5,7,1]=>000000
[4,6,2,3,7,1,5]=>000000
[4,6,2,3,7,5,1]=>000000
[4,6,2,5,1,3,7]=>000001
[4,6,2,5,1,7,3]=>000000
[4,6,2,5,3,1,7]=>000001
[4,6,2,5,3,7,1]=>000000
[4,6,2,5,7,1,3]=>000000
[4,6,2,5,7,3,1]=>000000
[4,6,2,7,1,3,5]=>000000
[4,6,2,7,1,5,3]=>000000
[4,6,2,7,3,1,5]=>000000
[4,6,2,7,3,5,1]=>000000
[4,6,2,7,5,1,3]=>000000
[4,6,2,7,5,3,1]=>000000
[4,6,3,1,2,5,7]=>000001
[4,6,3,1,2,7,5]=>000000
[4,6,3,1,5,2,7]=>000001
[4,6,3,1,5,7,2]=>000000
[4,6,3,1,7,2,5]=>000000
[4,6,3,1,7,5,2]=>000000
[4,6,3,2,1,5,7]=>000001
[4,6,3,2,1,7,5]=>000000
[4,6,3,2,5,1,7]=>000001
[4,6,3,2,5,7,1]=>000000
[4,6,3,2,7,1,5]=>000000
[4,6,3,2,7,5,1]=>000000
[4,6,3,5,1,2,7]=>000001
[4,6,3,5,1,7,2]=>000000
[4,6,3,5,2,1,7]=>000001
[4,6,3,5,2,7,1]=>000000
[4,6,3,5,7,1,2]=>000000
[4,6,3,5,7,2,1]=>000000
[4,6,3,7,1,2,5]=>000000
[4,6,3,7,1,5,2]=>000000
[4,6,3,7,2,1,5]=>000000
[4,6,3,7,2,5,1]=>000000
[4,6,3,7,5,1,2]=>000000
[4,6,3,7,5,2,1]=>000000
[4,6,5,1,2,3,7]=>000001
[4,6,5,1,2,7,3]=>000000
[4,6,5,1,3,2,7]=>000001
[4,6,5,1,3,7,2]=>000000
[4,6,5,1,7,2,3]=>000000
[4,6,5,1,7,3,2]=>000000
[4,6,5,2,1,3,7]=>000001
[4,6,5,2,1,7,3]=>000000
[4,6,5,2,3,1,7]=>000001
[4,6,5,2,3,7,1]=>000000
[4,6,5,2,7,1,3]=>000000
[4,6,5,2,7,3,1]=>000000
[4,6,5,3,1,2,7]=>000001
[4,6,5,3,1,7,2]=>000000
[4,6,5,3,2,1,7]=>000001
[4,6,5,3,2,7,1]=>000000
[4,6,5,3,7,1,2]=>000000
[4,6,5,3,7,2,1]=>000000
[4,6,5,7,1,2,3]=>000000
[4,6,5,7,1,3,2]=>000000
[4,6,5,7,2,1,3]=>000000
[4,6,5,7,2,3,1]=>000000
[4,6,5,7,3,1,2]=>000000
[4,6,5,7,3,2,1]=>000000
[4,6,7,1,2,3,5]=>000000
[4,6,7,1,2,5,3]=>000000
[4,6,7,1,3,2,5]=>000000
[4,6,7,1,3,5,2]=>000000
[4,6,7,1,5,2,3]=>000000
[4,6,7,1,5,3,2]=>000000
[4,6,7,2,1,3,5]=>000000
[4,6,7,2,1,5,3]=>000000
[4,6,7,2,3,1,5]=>000000
[4,6,7,2,3,5,1]=>000000
[4,6,7,2,5,1,3]=>000000
[4,6,7,2,5,3,1]=>000000
[4,6,7,3,1,2,5]=>000000
[4,6,7,3,1,5,2]=>000000
[4,6,7,3,2,1,5]=>000000
[4,6,7,3,2,5,1]=>000000
[4,6,7,3,5,1,2]=>000000
[4,6,7,3,5,2,1]=>000000
[4,6,7,5,1,2,3]=>000000
[4,6,7,5,1,3,2]=>000000
[4,6,7,5,2,1,3]=>000000
[4,6,7,5,2,3,1]=>000000
[4,6,7,5,3,1,2]=>000000
[4,6,7,5,3,2,1]=>000000
[4,7,1,2,3,5,6]=>000000
[4,7,1,2,3,6,5]=>000000
[4,7,1,2,5,3,6]=>000000
[4,7,1,2,5,6,3]=>000000
[4,7,1,2,6,3,5]=>000000
[4,7,1,2,6,5,3]=>000000
[4,7,1,3,2,5,6]=>000000
[4,7,1,3,2,6,5]=>000000
[4,7,1,3,5,2,6]=>000000
[4,7,1,3,5,6,2]=>000000
[4,7,1,3,6,2,5]=>000000
[4,7,1,3,6,5,2]=>000000
[4,7,1,5,2,3,6]=>000000
[4,7,1,5,2,6,3]=>000000
[4,7,1,5,3,2,6]=>000000
[4,7,1,5,3,6,2]=>000000
[4,7,1,5,6,2,3]=>000000
[4,7,1,5,6,3,2]=>000000
[4,7,1,6,2,3,5]=>000000
[4,7,1,6,2,5,3]=>000000
[4,7,1,6,3,2,5]=>000000
[4,7,1,6,3,5,2]=>000000
[4,7,1,6,5,2,3]=>000000
[4,7,1,6,5,3,2]=>000000
[4,7,2,1,3,5,6]=>000000
[4,7,2,1,3,6,5]=>000000
[4,7,2,1,5,3,6]=>000000
[4,7,2,1,5,6,3]=>000000
[4,7,2,1,6,3,5]=>000000
[4,7,2,1,6,5,3]=>000000
[4,7,2,3,1,5,6]=>000000
[4,7,2,3,1,6,5]=>000000
[4,7,2,3,5,1,6]=>000000
[4,7,2,3,5,6,1]=>000000
[4,7,2,3,6,1,5]=>000000
[4,7,2,3,6,5,1]=>000000
[4,7,2,5,1,3,6]=>000000
[4,7,2,5,1,6,3]=>000000
[4,7,2,5,3,1,6]=>000000
[4,7,2,5,3,6,1]=>000000
[4,7,2,5,6,1,3]=>000000
[4,7,2,5,6,3,1]=>000000
[4,7,2,6,1,3,5]=>000000
[4,7,2,6,1,5,3]=>000000
[4,7,2,6,3,1,5]=>000000
[4,7,2,6,3,5,1]=>000000
[4,7,2,6,5,1,3]=>000000
[4,7,2,6,5,3,1]=>000000
[4,7,3,1,2,5,6]=>000000
[4,7,3,1,2,6,5]=>000000
[4,7,3,1,5,2,6]=>000000
[4,7,3,1,5,6,2]=>000000
[4,7,3,1,6,2,5]=>000000
[4,7,3,1,6,5,2]=>000000
[4,7,3,2,1,5,6]=>000000
[4,7,3,2,1,6,5]=>000000
[4,7,3,2,5,1,6]=>000000
[4,7,3,2,5,6,1]=>000000
[4,7,3,2,6,1,5]=>000000
[4,7,3,2,6,5,1]=>000000
[4,7,3,5,1,2,6]=>000000
[4,7,3,5,1,6,2]=>000000
[4,7,3,5,2,1,6]=>000000
[4,7,3,5,2,6,1]=>000000
[4,7,3,5,6,1,2]=>000000
[4,7,3,5,6,2,1]=>000000
[4,7,3,6,1,2,5]=>000000
[4,7,3,6,1,5,2]=>000000
[4,7,3,6,2,1,5]=>000000
[4,7,3,6,2,5,1]=>000000
[4,7,3,6,5,1,2]=>000000
[4,7,3,6,5,2,1]=>000000
[4,7,5,1,2,3,6]=>000000
[4,7,5,1,2,6,3]=>000000
[4,7,5,1,3,2,6]=>000000
[4,7,5,1,3,6,2]=>000000
[4,7,5,1,6,2,3]=>000000
[4,7,5,1,6,3,2]=>000000
[4,7,5,2,1,3,6]=>000000
[4,7,5,2,1,6,3]=>000000
[4,7,5,2,3,1,6]=>000000
[4,7,5,2,3,6,1]=>000000
[4,7,5,2,6,1,3]=>000000
[4,7,5,2,6,3,1]=>000000
[4,7,5,3,1,2,6]=>000000
[4,7,5,3,1,6,2]=>000000
[4,7,5,3,2,1,6]=>000000
[4,7,5,3,2,6,1]=>000000
[4,7,5,3,6,1,2]=>000000
[4,7,5,3,6,2,1]=>000000
[4,7,5,6,1,2,3]=>000000
[4,7,5,6,1,3,2]=>000000
[4,7,5,6,2,1,3]=>000000
[4,7,5,6,2,3,1]=>000000
[4,7,5,6,3,1,2]=>000000
[4,7,5,6,3,2,1]=>000000
[4,7,6,1,2,3,5]=>000000
[4,7,6,1,2,5,3]=>000000
[4,7,6,1,3,2,5]=>000000
[4,7,6,1,3,5,2]=>000000
[4,7,6,1,5,2,3]=>000000
[4,7,6,1,5,3,2]=>000000
[4,7,6,2,1,3,5]=>000000
[4,7,6,2,1,5,3]=>000000
[4,7,6,2,3,1,5]=>000000
[4,7,6,2,3,5,1]=>000000
[4,7,6,2,5,1,3]=>000000
[4,7,6,2,5,3,1]=>000000
[4,7,6,3,1,2,5]=>000000
[4,7,6,3,1,5,2]=>000000
[4,7,6,3,2,1,5]=>000000
[4,7,6,3,2,5,1]=>000000
[4,7,6,3,5,1,2]=>000000
[4,7,6,3,5,2,1]=>000000
[4,7,6,5,1,2,3]=>000000
[4,7,6,5,1,3,2]=>000000
[4,7,6,5,2,1,3]=>000000
[4,7,6,5,2,3,1]=>000000
[4,7,6,5,3,1,2]=>000000
[4,7,6,5,3,2,1]=>000000
[5,1,2,3,4,6,7]=>000011
[5,1,2,3,4,7,6]=>000010
[5,1,2,3,6,4,7]=>000001
[5,1,2,3,6,7,4]=>000000
[5,1,2,3,7,4,6]=>000000
[5,1,2,3,7,6,4]=>000000
[5,1,2,4,3,6,7]=>000011
[5,1,2,4,3,7,6]=>000010
[5,1,2,4,6,3,7]=>000001
[5,1,2,4,6,7,3]=>000000
[5,1,2,4,7,3,6]=>000000
[5,1,2,4,7,6,3]=>000000
[5,1,2,6,3,4,7]=>000001
[5,1,2,6,3,7,4]=>000000
[5,1,2,6,4,3,7]=>000001
[5,1,2,6,4,7,3]=>000000
[5,1,2,6,7,3,4]=>000000
[5,1,2,6,7,4,3]=>000000
[5,1,2,7,3,4,6]=>000000
[5,1,2,7,3,6,4]=>000000
[5,1,2,7,4,3,6]=>000000
[5,1,2,7,4,6,3]=>000000
[5,1,2,7,6,3,4]=>000000
[5,1,2,7,6,4,3]=>000000
[5,1,3,2,4,6,7]=>000011
[5,1,3,2,4,7,6]=>000010
[5,1,3,2,6,4,7]=>000001
[5,1,3,2,6,7,4]=>000000
[5,1,3,2,7,4,6]=>000000
[5,1,3,2,7,6,4]=>000000
[5,1,3,4,2,6,7]=>000011
[5,1,3,4,2,7,6]=>000010
[5,1,3,4,6,2,7]=>000001
[5,1,3,4,6,7,2]=>000000
[5,1,3,4,7,2,6]=>000000
[5,1,3,4,7,6,2]=>000000
[5,1,3,6,2,4,7]=>000001
[5,1,3,6,2,7,4]=>000000
[5,1,3,6,4,2,7]=>000001
[5,1,3,6,4,7,2]=>000000
[5,1,3,6,7,2,4]=>000000
[5,1,3,6,7,4,2]=>000000
[5,1,3,7,2,4,6]=>000000
[5,1,3,7,2,6,4]=>000000
[5,1,3,7,4,2,6]=>000000
[5,1,3,7,4,6,2]=>000000
[5,1,3,7,6,2,4]=>000000
[5,1,3,7,6,4,2]=>000000
[5,1,4,2,3,6,7]=>000011
[5,1,4,2,3,7,6]=>000010
[5,1,4,2,6,3,7]=>000001
[5,1,4,2,6,7,3]=>000000
[5,1,4,2,7,3,6]=>000000
[5,1,4,2,7,6,3]=>000000
[5,1,4,3,2,6,7]=>000011
[5,1,4,3,2,7,6]=>000010
[5,1,4,3,6,2,7]=>000001
[5,1,4,3,6,7,2]=>000000
[5,1,4,3,7,2,6]=>000000
[5,1,4,3,7,6,2]=>000000
[5,1,4,6,2,3,7]=>000001
[5,1,4,6,2,7,3]=>000000
[5,1,4,6,3,2,7]=>000001
[5,1,4,6,3,7,2]=>000000
[5,1,4,6,7,2,3]=>000000
[5,1,4,6,7,3,2]=>000000
[5,1,4,7,2,3,6]=>000000
[5,1,4,7,2,6,3]=>000000
[5,1,4,7,3,2,6]=>000000
[5,1,4,7,3,6,2]=>000000
[5,1,4,7,6,2,3]=>000000
[5,1,4,7,6,3,2]=>000000
[5,1,6,2,3,4,7]=>000001
[5,1,6,2,3,7,4]=>000000
[5,1,6,2,4,3,7]=>000001
[5,1,6,2,4,7,3]=>000000
[5,1,6,2,7,3,4]=>000000
[5,1,6,2,7,4,3]=>000000
[5,1,6,3,2,4,7]=>000001
[5,1,6,3,2,7,4]=>000000
[5,1,6,3,4,2,7]=>000001
[5,1,6,3,4,7,2]=>000000
[5,1,6,3,7,2,4]=>000000
[5,1,6,3,7,4,2]=>000000
[5,1,6,4,2,3,7]=>000001
[5,1,6,4,2,7,3]=>000000
[5,1,6,4,3,2,7]=>000001
[5,1,6,4,3,7,2]=>000000
[5,1,6,4,7,2,3]=>000000
[5,1,6,4,7,3,2]=>000000
[5,1,6,7,2,3,4]=>000000
[5,1,6,7,2,4,3]=>000000
[5,1,6,7,3,2,4]=>000000
[5,1,6,7,3,4,2]=>000000
[5,1,6,7,4,2,3]=>000000
[5,1,6,7,4,3,2]=>000000
[5,1,7,2,3,4,6]=>000000
[5,1,7,2,3,6,4]=>000000
[5,1,7,2,4,3,6]=>000000
[5,1,7,2,4,6,3]=>000000
[5,1,7,2,6,3,4]=>000000
[5,1,7,2,6,4,3]=>000000
[5,1,7,3,2,4,6]=>000000
[5,1,7,3,2,6,4]=>000000
[5,1,7,3,4,2,6]=>000000
[5,1,7,3,4,6,2]=>000000
[5,1,7,3,6,2,4]=>000000
[5,1,7,3,6,4,2]=>000000
[5,1,7,4,2,3,6]=>000000
[5,1,7,4,2,6,3]=>000000
[5,1,7,4,3,2,6]=>000000
[5,1,7,4,3,6,2]=>000000
[5,1,7,4,6,2,3]=>000000
[5,1,7,4,6,3,2]=>000000
[5,1,7,6,2,3,4]=>000000
[5,1,7,6,2,4,3]=>000000
[5,1,7,6,3,2,4]=>000000
[5,1,7,6,3,4,2]=>000000
[5,1,7,6,4,2,3]=>000000
[5,1,7,6,4,3,2]=>000000
[5,2,1,3,4,6,7]=>000011
[5,2,1,3,4,7,6]=>000010
[5,2,1,3,6,4,7]=>000001
[5,2,1,3,6,7,4]=>000000
[5,2,1,3,7,4,6]=>000000
[5,2,1,3,7,6,4]=>000000
[5,2,1,4,3,6,7]=>000011
[5,2,1,4,3,7,6]=>000010
[5,2,1,4,6,3,7]=>000001
[5,2,1,4,6,7,3]=>000000
[5,2,1,4,7,3,6]=>000000
[5,2,1,4,7,6,3]=>000000
[5,2,1,6,3,4,7]=>000001
[5,2,1,6,3,7,4]=>000000
[5,2,1,6,4,3,7]=>000001
[5,2,1,6,4,7,3]=>000000
[5,2,1,6,7,3,4]=>000000
[5,2,1,6,7,4,3]=>000000
[5,2,1,7,3,4,6]=>000000
[5,2,1,7,3,6,4]=>000000
[5,2,1,7,4,3,6]=>000000
[5,2,1,7,4,6,3]=>000000
[5,2,1,7,6,3,4]=>000000
[5,2,1,7,6,4,3]=>000000
[5,2,3,1,4,6,7]=>000011
[5,2,3,1,4,7,6]=>000010
[5,2,3,1,6,4,7]=>000001
[5,2,3,1,6,7,4]=>000000
[5,2,3,1,7,4,6]=>000000
[5,2,3,1,7,6,4]=>000000
[5,2,3,4,1,6,7]=>000011
[5,2,3,4,1,7,6]=>000010
[5,2,3,4,6,1,7]=>000001
[5,2,3,4,6,7,1]=>000000
[5,2,3,4,7,1,6]=>000000
[5,2,3,4,7,6,1]=>000000
[5,2,3,6,1,4,7]=>000001
[5,2,3,6,1,7,4]=>000000
[5,2,3,6,4,1,7]=>000001
[5,2,3,6,4,7,1]=>000000
[5,2,3,6,7,1,4]=>000000
[5,2,3,6,7,4,1]=>000000
[5,2,3,7,1,4,6]=>000000
[5,2,3,7,1,6,4]=>000000
[5,2,3,7,4,1,6]=>000000
[5,2,3,7,4,6,1]=>000000
[5,2,3,7,6,1,4]=>000000
[5,2,3,7,6,4,1]=>000000
[5,2,4,1,3,6,7]=>000011
[5,2,4,1,3,7,6]=>000010
[5,2,4,1,6,3,7]=>000001
[5,2,4,1,6,7,3]=>000000
[5,2,4,1,7,3,6]=>000000
[5,2,4,1,7,6,3]=>000000
[5,2,4,3,1,6,7]=>000011
[5,2,4,3,1,7,6]=>000010
[5,2,4,3,6,1,7]=>000001
[5,2,4,3,6,7,1]=>000000
[5,2,4,3,7,1,6]=>000000
[5,2,4,3,7,6,1]=>000000
[5,2,4,6,1,3,7]=>000001
[5,2,4,6,1,7,3]=>000000
[5,2,4,6,3,1,7]=>000001
[5,2,4,6,3,7,1]=>000000
[5,2,4,6,7,1,3]=>000000
[5,2,4,6,7,3,1]=>000000
[5,2,4,7,1,3,6]=>000000
[5,2,4,7,1,6,3]=>000000
[5,2,4,7,3,1,6]=>000000
[5,2,4,7,3,6,1]=>000000
[5,2,4,7,6,1,3]=>000000
[5,2,4,7,6,3,1]=>000000
[5,2,6,1,3,4,7]=>000001
[5,2,6,1,3,7,4]=>000000
[5,2,6,1,4,3,7]=>000001
[5,2,6,1,4,7,3]=>000000
[5,2,6,1,7,3,4]=>000000
[5,2,6,1,7,4,3]=>000000
[5,2,6,3,1,4,7]=>000001
[5,2,6,3,1,7,4]=>000000
[5,2,6,3,4,1,7]=>000001
[5,2,6,3,4,7,1]=>000000
[5,2,6,3,7,1,4]=>000000
[5,2,6,3,7,4,1]=>000000
[5,2,6,4,1,3,7]=>000001
[5,2,6,4,1,7,3]=>000000
[5,2,6,4,3,1,7]=>000001
[5,2,6,4,3,7,1]=>000000
[5,2,6,4,7,1,3]=>000000
[5,2,6,4,7,3,1]=>000000
[5,2,6,7,1,3,4]=>000000
[5,2,6,7,1,4,3]=>000000
[5,2,6,7,3,1,4]=>000000
[5,2,6,7,3,4,1]=>000000
[5,2,6,7,4,1,3]=>000000
[5,2,6,7,4,3,1]=>000000
[5,2,7,1,3,4,6]=>000000
[5,2,7,1,3,6,4]=>000000
[5,2,7,1,4,3,6]=>000000
[5,2,7,1,4,6,3]=>000000
[5,2,7,1,6,3,4]=>000000
[5,2,7,1,6,4,3]=>000000
[5,2,7,3,1,4,6]=>000000
[5,2,7,3,1,6,4]=>000000
[5,2,7,3,4,1,6]=>000000
[5,2,7,3,4,6,1]=>000000
[5,2,7,3,6,1,4]=>000000
[5,2,7,3,6,4,1]=>000000
[5,2,7,4,1,3,6]=>000000
[5,2,7,4,1,6,3]=>000000
[5,2,7,4,3,1,6]=>000000
[5,2,7,4,3,6,1]=>000000
[5,2,7,4,6,1,3]=>000000
[5,2,7,4,6,3,1]=>000000
[5,2,7,6,1,3,4]=>000000
[5,2,7,6,1,4,3]=>000000
[5,2,7,6,3,1,4]=>000000
[5,2,7,6,3,4,1]=>000000
[5,2,7,6,4,1,3]=>000000
[5,2,7,6,4,3,1]=>000000
[5,3,1,2,4,6,7]=>000011
[5,3,1,2,4,7,6]=>000010
[5,3,1,2,6,4,7]=>000001
[5,3,1,2,6,7,4]=>000000
[5,3,1,2,7,4,6]=>000000
[5,3,1,2,7,6,4]=>000000
[5,3,1,4,2,6,7]=>000011
[5,3,1,4,2,7,6]=>000010
[5,3,1,4,6,2,7]=>000001
[5,3,1,4,6,7,2]=>000000
[5,3,1,4,7,2,6]=>000000
[5,3,1,4,7,6,2]=>000000
[5,3,1,6,2,4,7]=>000001
[5,3,1,6,2,7,4]=>000000
[5,3,1,6,4,2,7]=>000001
[5,3,1,6,4,7,2]=>000000
[5,3,1,6,7,2,4]=>000000
[5,3,1,6,7,4,2]=>000000
[5,3,1,7,2,4,6]=>000000
[5,3,1,7,2,6,4]=>000000
[5,3,1,7,4,2,6]=>000000
[5,3,1,7,4,6,2]=>000000
[5,3,1,7,6,2,4]=>000000
[5,3,1,7,6,4,2]=>000000
[5,3,2,1,4,6,7]=>000011
[5,3,2,1,4,7,6]=>000010
[5,3,2,1,6,4,7]=>000001
[5,3,2,1,6,7,4]=>000000
[5,3,2,1,7,4,6]=>000000
[5,3,2,1,7,6,4]=>000000
[5,3,2,4,1,6,7]=>000011
[5,3,2,4,1,7,6]=>000010
[5,3,2,4,6,1,7]=>000001
[5,3,2,4,6,7,1]=>000000
[5,3,2,4,7,1,6]=>000000
[5,3,2,4,7,6,1]=>000000
[5,3,2,6,1,4,7]=>000001
[5,3,2,6,1,7,4]=>000000
[5,3,2,6,4,1,7]=>000001
[5,3,2,6,4,7,1]=>000000
[5,3,2,6,7,1,4]=>000000
[5,3,2,6,7,4,1]=>000000
[5,3,2,7,1,4,6]=>000000
[5,3,2,7,1,6,4]=>000000
[5,3,2,7,4,1,6]=>000000
[5,3,2,7,4,6,1]=>000000
[5,3,2,7,6,1,4]=>000000
[5,3,2,7,6,4,1]=>000000
[5,3,4,1,2,6,7]=>000011
[5,3,4,1,2,7,6]=>000010
[5,3,4,1,6,2,7]=>000001
[5,3,4,1,6,7,2]=>000000
[5,3,4,1,7,2,6]=>000000
[5,3,4,1,7,6,2]=>000000
[5,3,4,2,1,6,7]=>000011
[5,3,4,2,1,7,6]=>000010
[5,3,4,2,6,1,7]=>000001
[5,3,4,2,6,7,1]=>000000
[5,3,4,2,7,1,6]=>000000
[5,3,4,2,7,6,1]=>000000
[5,3,4,6,1,2,7]=>000001
[5,3,4,6,1,7,2]=>000000
[5,3,4,6,2,1,7]=>000001
[5,3,4,6,2,7,1]=>000000
[5,3,4,6,7,1,2]=>000000
[5,3,4,6,7,2,1]=>000000
[5,3,4,7,1,2,6]=>000000
[5,3,4,7,1,6,2]=>000000
[5,3,4,7,2,1,6]=>000000
[5,3,4,7,2,6,1]=>000000
[5,3,4,7,6,1,2]=>000000
[5,3,4,7,6,2,1]=>000000
[5,3,6,1,2,4,7]=>000001
[5,3,6,1,2,7,4]=>000000
[5,3,6,1,4,2,7]=>000001
[5,3,6,1,4,7,2]=>000000
[5,3,6,1,7,2,4]=>000000
[5,3,6,1,7,4,2]=>000000
[5,3,6,2,1,4,7]=>000001
[5,3,6,2,1,7,4]=>000000
[5,3,6,2,4,1,7]=>000001
[5,3,6,2,4,7,1]=>000000
[5,3,6,2,7,1,4]=>000000
[5,3,6,2,7,4,1]=>000000
[5,3,6,4,1,2,7]=>000001
[5,3,6,4,1,7,2]=>000000
[5,3,6,4,2,1,7]=>000001
[5,3,6,4,2,7,1]=>000000
[5,3,6,4,7,1,2]=>000000
[5,3,6,4,7,2,1]=>000000
[5,3,6,7,1,2,4]=>000000
[5,3,6,7,1,4,2]=>000000
[5,3,6,7,2,1,4]=>000000
[5,3,6,7,2,4,1]=>000000
[5,3,6,7,4,1,2]=>000000
[5,3,6,7,4,2,1]=>000000
[5,3,7,1,2,4,6]=>000000
[5,3,7,1,2,6,4]=>000000
[5,3,7,1,4,2,6]=>000000
[5,3,7,1,4,6,2]=>000000
[5,3,7,1,6,2,4]=>000000
[5,3,7,1,6,4,2]=>000000
[5,3,7,2,1,4,6]=>000000
[5,3,7,2,1,6,4]=>000000
[5,3,7,2,4,1,6]=>000000
[5,3,7,2,4,6,1]=>000000
[5,3,7,2,6,1,4]=>000000
[5,3,7,2,6,4,1]=>000000
[5,3,7,4,1,2,6]=>000000
[5,3,7,4,1,6,2]=>000000
[5,3,7,4,2,1,6]=>000000
[5,3,7,4,2,6,1]=>000000
[5,3,7,4,6,1,2]=>000000
[5,3,7,4,6,2,1]=>000000
[5,3,7,6,1,2,4]=>000000
[5,3,7,6,1,4,2]=>000000
[5,3,7,6,2,1,4]=>000000
[5,3,7,6,2,4,1]=>000000
[5,3,7,6,4,1,2]=>000000
[5,3,7,6,4,2,1]=>000000
[5,4,1,2,3,6,7]=>000011
[5,4,1,2,3,7,6]=>000010
[5,4,1,2,6,3,7]=>000001
[5,4,1,2,6,7,3]=>000000
[5,4,1,2,7,3,6]=>000000
[5,4,1,2,7,6,3]=>000000
[5,4,1,3,2,6,7]=>000011
[5,4,1,3,2,7,6]=>000010
[5,4,1,3,6,2,7]=>000001
[5,4,1,3,6,7,2]=>000000
[5,4,1,3,7,2,6]=>000000
[5,4,1,3,7,6,2]=>000000
[5,4,1,6,2,3,7]=>000001
[5,4,1,6,2,7,3]=>000000
[5,4,1,6,3,2,7]=>000001
[5,4,1,6,3,7,2]=>000000
[5,4,1,6,7,2,3]=>000000
[5,4,1,6,7,3,2]=>000000
[5,4,1,7,2,3,6]=>000000
[5,4,1,7,2,6,3]=>000000
[5,4,1,7,3,2,6]=>000000
[5,4,1,7,3,6,2]=>000000
[5,4,1,7,6,2,3]=>000000
[5,4,1,7,6,3,2]=>000000
[5,4,2,1,3,6,7]=>000011
[5,4,2,1,3,7,6]=>000010
[5,4,2,1,6,3,7]=>000001
[5,4,2,1,6,7,3]=>000000
[5,4,2,1,7,3,6]=>000000
[5,4,2,1,7,6,3]=>000000
[5,4,2,3,1,6,7]=>000011
[5,4,2,3,1,7,6]=>000010
[5,4,2,3,6,1,7]=>000001
[5,4,2,3,6,7,1]=>000000
[5,4,2,3,7,1,6]=>000000
[5,4,2,3,7,6,1]=>000000
[5,4,2,6,1,3,7]=>000001
[5,4,2,6,1,7,3]=>000000
[5,4,2,6,3,1,7]=>000001
[5,4,2,6,3,7,1]=>000000
[5,4,2,6,7,1,3]=>000000
[5,4,2,6,7,3,1]=>000000
[5,4,2,7,1,3,6]=>000000
[5,4,2,7,1,6,3]=>000000
[5,4,2,7,3,1,6]=>000000
[5,4,2,7,3,6,1]=>000000
[5,4,2,7,6,1,3]=>000000
[5,4,2,7,6,3,1]=>000000
[5,4,3,1,2,6,7]=>000011
[5,4,3,1,2,7,6]=>000010
[5,4,3,1,6,2,7]=>000001
[5,4,3,1,6,7,2]=>000000
[5,4,3,1,7,2,6]=>000000
[5,4,3,1,7,6,2]=>000000
[5,4,3,2,1,6,7]=>000011
[5,4,3,2,1,7,6]=>000010
[5,4,3,2,6,1,7]=>000001
[5,4,3,2,6,7,1]=>000000
[5,4,3,2,7,1,6]=>000000
[5,4,3,2,7,6,1]=>000000
[5,4,3,6,1,2,7]=>000001
[5,4,3,6,1,7,2]=>000000
[5,4,3,6,2,1,7]=>000001
[5,4,3,6,2,7,1]=>000000
[5,4,3,6,7,1,2]=>000000
[5,4,3,6,7,2,1]=>000000
[5,4,3,7,1,2,6]=>000000
[5,4,3,7,1,6,2]=>000000
[5,4,3,7,2,1,6]=>000000
[5,4,3,7,2,6,1]=>000000
[5,4,3,7,6,1,2]=>000000
[5,4,3,7,6,2,1]=>000000
[5,4,6,1,2,3,7]=>000001
[5,4,6,1,2,7,3]=>000000
[5,4,6,1,3,2,7]=>000001
[5,4,6,1,3,7,2]=>000000
[5,4,6,1,7,2,3]=>000000
[5,4,6,1,7,3,2]=>000000
[5,4,6,2,1,3,7]=>000001
[5,4,6,2,1,7,3]=>000000
[5,4,6,2,3,1,7]=>000001
[5,4,6,2,3,7,1]=>000000
[5,4,6,2,7,1,3]=>000000
[5,4,6,2,7,3,1]=>000000
[5,4,6,3,1,2,7]=>000001
[5,4,6,3,1,7,2]=>000000
[5,4,6,3,2,1,7]=>000001
[5,4,6,3,2,7,1]=>000000
[5,4,6,3,7,1,2]=>000000
[5,4,6,3,7,2,1]=>000000
[5,4,6,7,1,2,3]=>000000
[5,4,6,7,1,3,2]=>000000
[5,4,6,7,2,1,3]=>000000
[5,4,6,7,2,3,1]=>000000
[5,4,6,7,3,1,2]=>000000
[5,4,6,7,3,2,1]=>000000
[5,4,7,1,2,3,6]=>000000
[5,4,7,1,2,6,3]=>000000
[5,4,7,1,3,2,6]=>000000
[5,4,7,1,3,6,2]=>000000
[5,4,7,1,6,2,3]=>000000
[5,4,7,1,6,3,2]=>000000
[5,4,7,2,1,3,6]=>000000
[5,4,7,2,1,6,3]=>000000
[5,4,7,2,3,1,6]=>000000
[5,4,7,2,3,6,1]=>000000
[5,4,7,2,6,1,3]=>000000
[5,4,7,2,6,3,1]=>000000
[5,4,7,3,1,2,6]=>000000
[5,4,7,3,1,6,2]=>000000
[5,4,7,3,2,1,6]=>000000
[5,4,7,3,2,6,1]=>000000
[5,4,7,3,6,1,2]=>000000
[5,4,7,3,6,2,1]=>000000
[5,4,7,6,1,2,3]=>000000
[5,4,7,6,1,3,2]=>000000
[5,4,7,6,2,1,3]=>000000
[5,4,7,6,2,3,1]=>000000
[5,4,7,6,3,1,2]=>000000
[5,4,7,6,3,2,1]=>000000
[5,6,1,2,3,4,7]=>000001
[5,6,1,2,3,7,4]=>000000
[5,6,1,2,4,3,7]=>000001
[5,6,1,2,4,7,3]=>000000
[5,6,1,2,7,3,4]=>000000
[5,6,1,2,7,4,3]=>000000
[5,6,1,3,2,4,7]=>000001
[5,6,1,3,2,7,4]=>000000
[5,6,1,3,4,2,7]=>000001
[5,6,1,3,4,7,2]=>000000
[5,6,1,3,7,2,4]=>000000
[5,6,1,3,7,4,2]=>000000
[5,6,1,4,2,3,7]=>000001
[5,6,1,4,2,7,3]=>000000
[5,6,1,4,3,2,7]=>000001
[5,6,1,4,3,7,2]=>000000
[5,6,1,4,7,2,3]=>000000
[5,6,1,4,7,3,2]=>000000
[5,6,1,7,2,3,4]=>000000
[5,6,1,7,2,4,3]=>000000
[5,6,1,7,3,2,4]=>000000
[5,6,1,7,3,4,2]=>000000
[5,6,1,7,4,2,3]=>000000
[5,6,1,7,4,3,2]=>000000
[5,6,2,1,3,4,7]=>000001
[5,6,2,1,3,7,4]=>000000
[5,6,2,1,4,3,7]=>000001
[5,6,2,1,4,7,3]=>000000
[5,6,2,1,7,3,4]=>000000
[5,6,2,1,7,4,3]=>000000
[5,6,2,3,1,4,7]=>000001
[5,6,2,3,1,7,4]=>000000
[5,6,2,3,4,1,7]=>000001
[5,6,2,3,4,7,1]=>000000
[5,6,2,3,7,1,4]=>000000
[5,6,2,3,7,4,1]=>000000
[5,6,2,4,1,3,7]=>000001
[5,6,2,4,1,7,3]=>000000
[5,6,2,4,3,1,7]=>000001
[5,6,2,4,3,7,1]=>000000
[5,6,2,4,7,1,3]=>000000
[5,6,2,4,7,3,1]=>000000
[5,6,2,7,1,3,4]=>000000
[5,6,2,7,1,4,3]=>000000
[5,6,2,7,3,1,4]=>000000
[5,6,2,7,3,4,1]=>000000
[5,6,2,7,4,1,3]=>000000
[5,6,2,7,4,3,1]=>000000
[5,6,3,1,2,4,7]=>000001
[5,6,3,1,2,7,4]=>000000
[5,6,3,1,4,2,7]=>000001
[5,6,3,1,4,7,2]=>000000
[5,6,3,1,7,2,4]=>000000
[5,6,3,1,7,4,2]=>000000
[5,6,3,2,1,4,7]=>000001
[5,6,3,2,1,7,4]=>000000
[5,6,3,2,4,1,7]=>000001
[5,6,3,2,4,7,1]=>000000
[5,6,3,2,7,1,4]=>000000
[5,6,3,2,7,4,1]=>000000
[5,6,3,4,1,2,7]=>000001
[5,6,3,4,1,7,2]=>000000
[5,6,3,4,2,1,7]=>000001
[5,6,3,4,2,7,1]=>000000
[5,6,3,4,7,1,2]=>000000
[5,6,3,4,7,2,1]=>000000
[5,6,3,7,1,2,4]=>000000
[5,6,3,7,1,4,2]=>000000
[5,6,3,7,2,1,4]=>000000
[5,6,3,7,2,4,1]=>000000
[5,6,3,7,4,1,2]=>000000
[5,6,3,7,4,2,1]=>000000
[5,6,4,1,2,3,7]=>000001
[5,6,4,1,2,7,3]=>000000
[5,6,4,1,3,2,7]=>000001
[5,6,4,1,3,7,2]=>000000
[5,6,4,1,7,2,3]=>000000
[5,6,4,1,7,3,2]=>000000
[5,6,4,2,1,3,7]=>000001
[5,6,4,2,1,7,3]=>000000
[5,6,4,2,3,1,7]=>000001
[5,6,4,2,3,7,1]=>000000
[5,6,4,2,7,1,3]=>000000
[5,6,4,2,7,3,1]=>000000
[5,6,4,3,1,2,7]=>000001
[5,6,4,3,1,7,2]=>000000
[5,6,4,3,2,1,7]=>000001
[5,6,4,3,2,7,1]=>000000
[5,6,4,3,7,1,2]=>000000
[5,6,4,3,7,2,1]=>000000
[5,6,4,7,1,2,3]=>000000
[5,6,4,7,1,3,2]=>000000
[5,6,4,7,2,1,3]=>000000
[5,6,4,7,2,3,1]=>000000
[5,6,4,7,3,1,2]=>000000
[5,6,4,7,3,2,1]=>000000
[5,6,7,1,2,3,4]=>000000
[5,6,7,1,2,4,3]=>000000
[5,6,7,1,3,2,4]=>000000
[5,6,7,1,3,4,2]=>000000
[5,6,7,1,4,2,3]=>000000
[5,6,7,1,4,3,2]=>000000
[5,6,7,2,1,3,4]=>000000
[5,6,7,2,1,4,3]=>000000
[5,6,7,2,3,1,4]=>000000
[5,6,7,2,3,4,1]=>000000
[5,6,7,2,4,1,3]=>000000
[5,6,7,2,4,3,1]=>000000
[5,6,7,3,1,2,4]=>000000
[5,6,7,3,1,4,2]=>000000
[5,6,7,3,2,1,4]=>000000
[5,6,7,3,2,4,1]=>000000
[5,6,7,3,4,1,2]=>000000
[5,6,7,3,4,2,1]=>000000
[5,6,7,4,1,2,3]=>000000
[5,6,7,4,1,3,2]=>000000
[5,6,7,4,2,1,3]=>000000
[5,6,7,4,2,3,1]=>000000
[5,6,7,4,3,1,2]=>000000
[5,6,7,4,3,2,1]=>000000
[5,7,1,2,3,4,6]=>000000
[5,7,1,2,3,6,4]=>000000
[5,7,1,2,4,3,6]=>000000
[5,7,1,2,4,6,3]=>000000
[5,7,1,2,6,3,4]=>000000
[5,7,1,2,6,4,3]=>000000
[5,7,1,3,2,4,6]=>000000
[5,7,1,3,2,6,4]=>000000
[5,7,1,3,4,2,6]=>000000
[5,7,1,3,4,6,2]=>000000
[5,7,1,3,6,2,4]=>000000
[5,7,1,3,6,4,2]=>000000
[5,7,1,4,2,3,6]=>000000
[5,7,1,4,2,6,3]=>000000
[5,7,1,4,3,2,6]=>000000
[5,7,1,4,3,6,2]=>000000
[5,7,1,4,6,2,3]=>000000
[5,7,1,4,6,3,2]=>000000
[5,7,1,6,2,3,4]=>000000
[5,7,1,6,2,4,3]=>000000
[5,7,1,6,3,2,4]=>000000
[5,7,1,6,3,4,2]=>000000
[5,7,1,6,4,2,3]=>000000
[5,7,1,6,4,3,2]=>000000
[5,7,2,1,3,4,6]=>000000
[5,7,2,1,3,6,4]=>000000
[5,7,2,1,4,3,6]=>000000
[5,7,2,1,4,6,3]=>000000
[5,7,2,1,6,3,4]=>000000
[5,7,2,1,6,4,3]=>000000
[5,7,2,3,1,4,6]=>000000
[5,7,2,3,1,6,4]=>000000
[5,7,2,3,4,1,6]=>000000
[5,7,2,3,4,6,1]=>000000
[5,7,2,3,6,1,4]=>000000
[5,7,2,3,6,4,1]=>000000
[5,7,2,4,1,3,6]=>000000
[5,7,2,4,1,6,3]=>000000
[5,7,2,4,3,1,6]=>000000
[5,7,2,4,3,6,1]=>000000
[5,7,2,4,6,1,3]=>000000
[5,7,2,4,6,3,1]=>000000
[5,7,2,6,1,3,4]=>000000
[5,7,2,6,1,4,3]=>000000
[5,7,2,6,3,1,4]=>000000
[5,7,2,6,3,4,1]=>000000
[5,7,2,6,4,1,3]=>000000
[5,7,2,6,4,3,1]=>000000
[5,7,3,1,2,4,6]=>000000
[5,7,3,1,2,6,4]=>000000
[5,7,3,1,4,2,6]=>000000
[5,7,3,1,4,6,2]=>000000
[5,7,3,1,6,2,4]=>000000
[5,7,3,1,6,4,2]=>000000
[5,7,3,2,1,4,6]=>000000
[5,7,3,2,1,6,4]=>000000
[5,7,3,2,4,1,6]=>000000
[5,7,3,2,4,6,1]=>000000
[5,7,3,2,6,1,4]=>000000
[5,7,3,2,6,4,1]=>000000
[5,7,3,4,1,2,6]=>000000
[5,7,3,4,1,6,2]=>000000
[5,7,3,4,2,1,6]=>000000
[5,7,3,4,2,6,1]=>000000
[5,7,3,4,6,1,2]=>000000
[5,7,3,4,6,2,1]=>000000
[5,7,3,6,1,2,4]=>000000
[5,7,3,6,1,4,2]=>000000
[5,7,3,6,2,1,4]=>000000
[5,7,3,6,2,4,1]=>000000
[5,7,3,6,4,1,2]=>000000
[5,7,3,6,4,2,1]=>000000
[5,7,4,1,2,3,6]=>000000
[5,7,4,1,2,6,3]=>000000
[5,7,4,1,3,2,6]=>000000
[5,7,4,1,3,6,2]=>000000
[5,7,4,1,6,2,3]=>000000
[5,7,4,1,6,3,2]=>000000
[5,7,4,2,1,3,6]=>000000
[5,7,4,2,1,6,3]=>000000
[5,7,4,2,3,1,6]=>000000
[5,7,4,2,3,6,1]=>000000
[5,7,4,2,6,1,3]=>000000
[5,7,4,2,6,3,1]=>000000
[5,7,4,3,1,2,6]=>000000
[5,7,4,3,1,6,2]=>000000
[5,7,4,3,2,1,6]=>000000
[5,7,4,3,2,6,1]=>000000
[5,7,4,3,6,1,2]=>000000
[5,7,4,3,6,2,1]=>000000
[5,7,4,6,1,2,3]=>000000
[5,7,4,6,1,3,2]=>000000
[5,7,4,6,2,1,3]=>000000
[5,7,4,6,2,3,1]=>000000
[5,7,4,6,3,1,2]=>000000
[5,7,4,6,3,2,1]=>000000
[5,7,6,1,2,3,4]=>000000
[5,7,6,1,2,4,3]=>000000
[5,7,6,1,3,2,4]=>000000
[5,7,6,1,3,4,2]=>000000
[5,7,6,1,4,2,3]=>000000
[5,7,6,1,4,3,2]=>000000
[5,7,6,2,1,3,4]=>000000
[5,7,6,2,1,4,3]=>000000
[5,7,6,2,3,1,4]=>000000
[5,7,6,2,3,4,1]=>000000
[5,7,6,2,4,1,3]=>000000
[5,7,6,2,4,3,1]=>000000
[5,7,6,3,1,2,4]=>000000
[5,7,6,3,1,4,2]=>000000
[5,7,6,3,2,1,4]=>000000
[5,7,6,3,2,4,1]=>000000
[5,7,6,3,4,1,2]=>000000
[5,7,6,3,4,2,1]=>000000
[5,7,6,4,1,2,3]=>000000
[5,7,6,4,1,3,2]=>000000
[5,7,6,4,2,1,3]=>000000
[5,7,6,4,2,3,1]=>000000
[5,7,6,4,3,1,2]=>000000
[5,7,6,4,3,2,1]=>000000
[6,1,2,3,4,5,7]=>000001
[6,1,2,3,4,7,5]=>000000
[6,1,2,3,5,4,7]=>000001
[6,1,2,3,5,7,4]=>000000
[6,1,2,3,7,4,5]=>000000
[6,1,2,3,7,5,4]=>000000
[6,1,2,4,3,5,7]=>000001
[6,1,2,4,3,7,5]=>000000
[6,1,2,4,5,3,7]=>000001
[6,1,2,4,5,7,3]=>000000
[6,1,2,4,7,3,5]=>000000
[6,1,2,4,7,5,3]=>000000
[6,1,2,5,3,4,7]=>000001
[6,1,2,5,3,7,4]=>000000
[6,1,2,5,4,3,7]=>000001
[6,1,2,5,4,7,3]=>000000
[6,1,2,5,7,3,4]=>000000
[6,1,2,5,7,4,3]=>000000
[6,1,2,7,3,4,5]=>000000
[6,1,2,7,3,5,4]=>000000
[6,1,2,7,4,3,5]=>000000
[6,1,2,7,4,5,3]=>000000
[6,1,2,7,5,3,4]=>000000
[6,1,2,7,5,4,3]=>000000
[6,1,3,2,4,5,7]=>000001
[6,1,3,2,4,7,5]=>000000
[6,1,3,2,5,4,7]=>000001
[6,1,3,2,5,7,4]=>000000
[6,1,3,2,7,4,5]=>000000
[6,1,3,2,7,5,4]=>000000
[6,1,3,4,2,5,7]=>000001
[6,1,3,4,2,7,5]=>000000
[6,1,3,4,5,2,7]=>000001
[6,1,3,4,5,7,2]=>000000
[6,1,3,4,7,2,5]=>000000
[6,1,3,4,7,5,2]=>000000
[6,1,3,5,2,4,7]=>000001
[6,1,3,5,2,7,4]=>000000
[6,1,3,5,4,2,7]=>000001
[6,1,3,5,4,7,2]=>000000
[6,1,3,5,7,2,4]=>000000
[6,1,3,5,7,4,2]=>000000
[6,1,3,7,2,4,5]=>000000
[6,1,3,7,2,5,4]=>000000
[6,1,3,7,4,2,5]=>000000
[6,1,3,7,4,5,2]=>000000
[6,1,3,7,5,2,4]=>000000
[6,1,3,7,5,4,2]=>000000
[6,1,4,2,3,5,7]=>000001
[6,1,4,2,3,7,5]=>000000
[6,1,4,2,5,3,7]=>000001
[6,1,4,2,5,7,3]=>000000
[6,1,4,2,7,3,5]=>000000
[6,1,4,2,7,5,3]=>000000
[6,1,4,3,2,5,7]=>000001
[6,1,4,3,2,7,5]=>000000
[6,1,4,3,5,2,7]=>000001
[6,1,4,3,5,7,2]=>000000
[6,1,4,3,7,2,5]=>000000
[6,1,4,3,7,5,2]=>000000
[6,1,4,5,2,3,7]=>000001
[6,1,4,5,2,7,3]=>000000
[6,1,4,5,3,2,7]=>000001
[6,1,4,5,3,7,2]=>000000
[6,1,4,5,7,2,3]=>000000
[6,1,4,5,7,3,2]=>000000
[6,1,4,7,2,3,5]=>000000
[6,1,4,7,2,5,3]=>000000
[6,1,4,7,3,2,5]=>000000
[6,1,4,7,3,5,2]=>000000
[6,1,4,7,5,2,3]=>000000
[6,1,4,7,5,3,2]=>000000
[6,1,5,2,3,4,7]=>000001
[6,1,5,2,3,7,4]=>000000
[6,1,5,2,4,3,7]=>000001
[6,1,5,2,4,7,3]=>000000
[6,1,5,2,7,3,4]=>000000
[6,1,5,2,7,4,3]=>000000
[6,1,5,3,2,4,7]=>000001
[6,1,5,3,2,7,4]=>000000
[6,1,5,3,4,2,7]=>000001
[6,1,5,3,4,7,2]=>000000
[6,1,5,3,7,2,4]=>000000
[6,1,5,3,7,4,2]=>000000
[6,1,5,4,2,3,7]=>000001
[6,1,5,4,2,7,3]=>000000
[6,1,5,4,3,2,7]=>000001
[6,1,5,4,3,7,2]=>000000
[6,1,5,4,7,2,3]=>000000
[6,1,5,4,7,3,2]=>000000
[6,1,5,7,2,3,4]=>000000
[6,1,5,7,2,4,3]=>000000
[6,1,5,7,3,2,4]=>000000
[6,1,5,7,3,4,2]=>000000
[6,1,5,7,4,2,3]=>000000
[6,1,5,7,4,3,2]=>000000
[6,1,7,2,3,4,5]=>000000
[6,1,7,2,3,5,4]=>000000
[6,1,7,2,4,3,5]=>000000
[6,1,7,2,4,5,3]=>000000
[6,1,7,2,5,3,4]=>000000
[6,1,7,2,5,4,3]=>000000
[6,1,7,3,2,4,5]=>000000
[6,1,7,3,2,5,4]=>000000
[6,1,7,3,4,2,5]=>000000
[6,1,7,3,4,5,2]=>000000
[6,1,7,3,5,2,4]=>000000
[6,1,7,3,5,4,2]=>000000
[6,1,7,4,2,3,5]=>000000
[6,1,7,4,2,5,3]=>000000
[6,1,7,4,3,2,5]=>000000
[6,1,7,4,3,5,2]=>000000
[6,1,7,4,5,2,3]=>000000
[6,1,7,4,5,3,2]=>000000
[6,1,7,5,2,3,4]=>000000
[6,1,7,5,2,4,3]=>000000
[6,1,7,5,3,2,4]=>000000
[6,1,7,5,3,4,2]=>000000
[6,1,7,5,4,2,3]=>000000
[6,1,7,5,4,3,2]=>000000
[6,2,1,3,4,5,7]=>000001
[6,2,1,3,4,7,5]=>000000
[6,2,1,3,5,4,7]=>000001
[6,2,1,3,5,7,4]=>000000
[6,2,1,3,7,4,5]=>000000
[6,2,1,3,7,5,4]=>000000
[6,2,1,4,3,5,7]=>000001
[6,2,1,4,3,7,5]=>000000
[6,2,1,4,5,3,7]=>000001
[6,2,1,4,5,7,3]=>000000
[6,2,1,4,7,3,5]=>000000
[6,2,1,4,7,5,3]=>000000
[6,2,1,5,3,4,7]=>000001
[6,2,1,5,3,7,4]=>000000
[6,2,1,5,4,3,7]=>000001
[6,2,1,5,4,7,3]=>000000
[6,2,1,5,7,3,4]=>000000
[6,2,1,5,7,4,3]=>000000
[6,2,1,7,3,4,5]=>000000
[6,2,1,7,3,5,4]=>000000
[6,2,1,7,4,3,5]=>000000
[6,2,1,7,4,5,3]=>000000
[6,2,1,7,5,3,4]=>000000
[6,2,1,7,5,4,3]=>000000
[6,2,3,1,4,5,7]=>000001
[6,2,3,1,4,7,5]=>000000
[6,2,3,1,5,4,7]=>000001
[6,2,3,1,5,7,4]=>000000
[6,2,3,1,7,4,5]=>000000
[6,2,3,1,7,5,4]=>000000
[6,2,3,4,1,5,7]=>000001
[6,2,3,4,1,7,5]=>000000
[6,2,3,4,5,1,7]=>000001
[6,2,3,4,5,7,1]=>000000
[6,2,3,4,7,1,5]=>000000
[6,2,3,4,7,5,1]=>000000
[6,2,3,5,1,4,7]=>000001
[6,2,3,5,1,7,4]=>000000
[6,2,3,5,4,1,7]=>000001
[6,2,3,5,4,7,1]=>000000
[6,2,3,5,7,1,4]=>000000
[6,2,3,5,7,4,1]=>000000
[6,2,3,7,1,4,5]=>000000
[6,2,3,7,1,5,4]=>000000
[6,2,3,7,4,1,5]=>000000
[6,2,3,7,4,5,1]=>000000
[6,2,3,7,5,1,4]=>000000
[6,2,3,7,5,4,1]=>000000
[6,2,4,1,3,5,7]=>000001
[6,2,4,1,3,7,5]=>000000
[6,2,4,1,5,3,7]=>000001
[6,2,4,1,5,7,3]=>000000
[6,2,4,1,7,3,5]=>000000
[6,2,4,1,7,5,3]=>000000
[6,2,4,3,1,5,7]=>000001
[6,2,4,3,1,7,5]=>000000
[6,2,4,3,5,1,7]=>000001
[6,2,4,3,5,7,1]=>000000
[6,2,4,3,7,1,5]=>000000
[6,2,4,3,7,5,1]=>000000
[6,2,4,5,1,3,7]=>000001
[6,2,4,5,1,7,3]=>000000
[6,2,4,5,3,1,7]=>000001
[6,2,4,5,3,7,1]=>000000
[6,2,4,5,7,1,3]=>000000
[6,2,4,5,7,3,1]=>000000
[6,2,4,7,1,3,5]=>000000
[6,2,4,7,1,5,3]=>000000
[6,2,4,7,3,1,5]=>000000
[6,2,4,7,3,5,1]=>000000
[6,2,4,7,5,1,3]=>000000
[6,2,4,7,5,3,1]=>000000
[6,2,5,1,3,4,7]=>000001
[6,2,5,1,3,7,4]=>000000
[6,2,5,1,4,3,7]=>000001
[6,2,5,1,4,7,3]=>000000
[6,2,5,1,7,3,4]=>000000
[6,2,5,1,7,4,3]=>000000
[6,2,5,3,1,4,7]=>000001
[6,2,5,3,1,7,4]=>000000
[6,2,5,3,4,1,7]=>000001
[6,2,5,3,4,7,1]=>000000
[6,2,5,3,7,1,4]=>000000
[6,2,5,3,7,4,1]=>000000
[6,2,5,4,1,3,7]=>000001
[6,2,5,4,1,7,3]=>000000
[6,2,5,4,3,1,7]=>000001
[6,2,5,4,3,7,1]=>000000
[6,2,5,4,7,1,3]=>000000
[6,2,5,4,7,3,1]=>000000
[6,2,5,7,1,3,4]=>000000
[6,2,5,7,1,4,3]=>000000
[6,2,5,7,3,1,4]=>000000
[6,2,5,7,3,4,1]=>000000
[6,2,5,7,4,1,3]=>000000
[6,2,5,7,4,3,1]=>000000
[6,2,7,1,3,4,5]=>000000
[6,2,7,1,3,5,4]=>000000
[6,2,7,1,4,3,5]=>000000
[6,2,7,1,4,5,3]=>000000
[6,2,7,1,5,3,4]=>000000
[6,2,7,1,5,4,3]=>000000
[6,2,7,3,1,4,5]=>000000
[6,2,7,3,1,5,4]=>000000
[6,2,7,3,4,1,5]=>000000
[6,2,7,3,4,5,1]=>000000
[6,2,7,3,5,1,4]=>000000
[6,2,7,3,5,4,1]=>000000
[6,2,7,4,1,3,5]=>000000
[6,2,7,4,1,5,3]=>000000
[6,2,7,4,3,1,5]=>000000
[6,2,7,4,3,5,1]=>000000
[6,2,7,4,5,1,3]=>000000
[6,2,7,4,5,3,1]=>000000
[6,2,7,5,1,3,4]=>000000
[6,2,7,5,1,4,3]=>000000
[6,2,7,5,3,1,4]=>000000
[6,2,7,5,3,4,1]=>000000
[6,2,7,5,4,1,3]=>000000
[6,2,7,5,4,3,1]=>000000
[6,3,1,2,4,5,7]=>000001
[6,3,1,2,4,7,5]=>000000
[6,3,1,2,5,4,7]=>000001
[6,3,1,2,5,7,4]=>000000
[6,3,1,2,7,4,5]=>000000
[6,3,1,2,7,5,4]=>000000
[6,3,1,4,2,5,7]=>000001
[6,3,1,4,2,7,5]=>000000
[6,3,1,4,5,2,7]=>000001
[6,3,1,4,5,7,2]=>000000
[6,3,1,4,7,2,5]=>000000
[6,3,1,4,7,5,2]=>000000
[6,3,1,5,2,4,7]=>000001
[6,3,1,5,2,7,4]=>000000
[6,3,1,5,4,2,7]=>000001
[6,3,1,5,4,7,2]=>000000
[6,3,1,5,7,2,4]=>000000
[6,3,1,5,7,4,2]=>000000
[6,3,1,7,2,4,5]=>000000
[6,3,1,7,2,5,4]=>000000
[6,3,1,7,4,2,5]=>000000
[6,3,1,7,4,5,2]=>000000
[6,3,1,7,5,2,4]=>000000
[6,3,1,7,5,4,2]=>000000
[6,3,2,1,4,5,7]=>000001
[6,3,2,1,4,7,5]=>000000
[6,3,2,1,5,4,7]=>000001
[6,3,2,1,5,7,4]=>000000
[6,3,2,1,7,4,5]=>000000
[6,3,2,1,7,5,4]=>000000
[6,3,2,4,1,5,7]=>000001
[6,3,2,4,1,7,5]=>000000
[6,3,2,4,5,1,7]=>000001
[6,3,2,4,5,7,1]=>000000
[6,3,2,4,7,1,5]=>000000
[6,3,2,4,7,5,1]=>000000
[6,3,2,5,1,4,7]=>000001
[6,3,2,5,1,7,4]=>000000
[6,3,2,5,4,1,7]=>000001
[6,3,2,5,4,7,1]=>000000
[6,3,2,5,7,1,4]=>000000
[6,3,2,5,7,4,1]=>000000
[6,3,2,7,1,4,5]=>000000
[6,3,2,7,1,5,4]=>000000
[6,3,2,7,4,1,5]=>000000
[6,3,2,7,4,5,1]=>000000
[6,3,2,7,5,1,4]=>000000
[6,3,2,7,5,4,1]=>000000
[6,3,4,1,2,5,7]=>000001
[6,3,4,1,2,7,5]=>000000
[6,3,4,1,5,2,7]=>000001
[6,3,4,1,5,7,2]=>000000
[6,3,4,1,7,2,5]=>000000
[6,3,4,1,7,5,2]=>000000
[6,3,4,2,1,5,7]=>000001
[6,3,4,2,1,7,5]=>000000
[6,3,4,2,5,1,7]=>000001
[6,3,4,2,5,7,1]=>000000
[6,3,4,2,7,1,5]=>000000
[6,3,4,2,7,5,1]=>000000
[6,3,4,5,1,2,7]=>000001
[6,3,4,5,1,7,2]=>000000
[6,3,4,5,2,1,7]=>000001
[6,3,4,5,2,7,1]=>000000
[6,3,4,5,7,1,2]=>000000
[6,3,4,5,7,2,1]=>000000
[6,3,4,7,1,2,5]=>000000
[6,3,4,7,1,5,2]=>000000
[6,3,4,7,2,1,5]=>000000
[6,3,4,7,2,5,1]=>000000
[6,3,4,7,5,1,2]=>000000
[6,3,4,7,5,2,1]=>000000
[6,3,5,1,2,4,7]=>000001
[6,3,5,1,2,7,4]=>000000
[6,3,5,1,4,2,7]=>000001
[6,3,5,1,4,7,2]=>000000
[6,3,5,1,7,2,4]=>000000
[6,3,5,1,7,4,2]=>000000
[6,3,5,2,1,4,7]=>000001
[6,3,5,2,1,7,4]=>000000
[6,3,5,2,4,1,7]=>000001
[6,3,5,2,4,7,1]=>000000
[6,3,5,2,7,1,4]=>000000
[6,3,5,2,7,4,1]=>000000
[6,3,5,4,1,2,7]=>000001
[6,3,5,4,1,7,2]=>000000
[6,3,5,4,2,1,7]=>000001
[6,3,5,4,2,7,1]=>000000
[6,3,5,4,7,1,2]=>000000
[6,3,5,4,7,2,1]=>000000
[6,3,5,7,1,2,4]=>000000
[6,3,5,7,1,4,2]=>000000
[6,3,5,7,2,1,4]=>000000
[6,3,5,7,2,4,1]=>000000
[6,3,5,7,4,1,2]=>000000
[6,3,5,7,4,2,1]=>000000
[6,3,7,1,2,4,5]=>000000
[6,3,7,1,2,5,4]=>000000
[6,3,7,1,4,2,5]=>000000
[6,3,7,1,4,5,2]=>000000
[6,3,7,1,5,2,4]=>000000
[6,3,7,1,5,4,2]=>000000
[6,3,7,2,1,4,5]=>000000
[6,3,7,2,1,5,4]=>000000
[6,3,7,2,4,1,5]=>000000
[6,3,7,2,4,5,1]=>000000
[6,3,7,2,5,1,4]=>000000
[6,3,7,2,5,4,1]=>000000
[6,3,7,4,1,2,5]=>000000
[6,3,7,4,1,5,2]=>000000
[6,3,7,4,2,1,5]=>000000
[6,3,7,4,2,5,1]=>000000
[6,3,7,4,5,1,2]=>000000
[6,3,7,4,5,2,1]=>000000
[6,3,7,5,1,2,4]=>000000
[6,3,7,5,1,4,2]=>000000
[6,3,7,5,2,1,4]=>000000
[6,3,7,5,2,4,1]=>000000
[6,3,7,5,4,1,2]=>000000
[6,3,7,5,4,2,1]=>000000
[6,4,1,2,3,5,7]=>000001
[6,4,1,2,3,7,5]=>000000
[6,4,1,2,5,3,7]=>000001
[6,4,1,2,5,7,3]=>000000
[6,4,1,2,7,3,5]=>000000
[6,4,1,2,7,5,3]=>000000
[6,4,1,3,2,5,7]=>000001
[6,4,1,3,2,7,5]=>000000
[6,4,1,3,5,2,7]=>000001
[6,4,1,3,5,7,2]=>000000
[6,4,1,3,7,2,5]=>000000
[6,4,1,3,7,5,2]=>000000
[6,4,1,5,2,3,7]=>000001
[6,4,1,5,2,7,3]=>000000
[6,4,1,5,3,2,7]=>000001
[6,4,1,5,3,7,2]=>000000
[6,4,1,5,7,2,3]=>000000
[6,4,1,5,7,3,2]=>000000
[6,4,1,7,2,3,5]=>000000
[6,4,1,7,2,5,3]=>000000
[6,4,1,7,3,2,5]=>000000
[6,4,1,7,3,5,2]=>000000
[6,4,1,7,5,2,3]=>000000
[6,4,1,7,5,3,2]=>000000
[6,4,2,1,3,5,7]=>000001
[6,4,2,1,3,7,5]=>000000
[6,4,2,1,5,3,7]=>000001
[6,4,2,1,5,7,3]=>000000
[6,4,2,1,7,3,5]=>000000
[6,4,2,1,7,5,3]=>000000
[6,4,2,3,1,5,7]=>000001
[6,4,2,3,1,7,5]=>000000
[6,4,2,3,5,1,7]=>000001
[6,4,2,3,5,7,1]=>000000
[6,4,2,3,7,1,5]=>000000
[6,4,2,3,7,5,1]=>000000
[6,4,2,5,1,3,7]=>000001
[6,4,2,5,1,7,3]=>000000
[6,4,2,5,3,1,7]=>000001
[6,4,2,5,3,7,1]=>000000
[6,4,2,5,7,1,3]=>000000
[6,4,2,5,7,3,1]=>000000
[6,4,2,7,1,3,5]=>000000
[6,4,2,7,1,5,3]=>000000
[6,4,2,7,3,1,5]=>000000
[6,4,2,7,3,5,1]=>000000
[6,4,2,7,5,1,3]=>000000
[6,4,2,7,5,3,1]=>000000
[6,4,3,1,2,5,7]=>000001
[6,4,3,1,2,7,5]=>000000
[6,4,3,1,5,2,7]=>000001
[6,4,3,1,5,7,2]=>000000
[6,4,3,1,7,2,5]=>000000
[6,4,3,1,7,5,2]=>000000
[6,4,3,2,1,5,7]=>000001
[6,4,3,2,1,7,5]=>000000
[6,4,3,2,5,1,7]=>000001
[6,4,3,2,5,7,1]=>000000
[6,4,3,2,7,1,5]=>000000
[6,4,3,2,7,5,1]=>000000
[6,4,3,5,1,2,7]=>000001
[6,4,3,5,1,7,2]=>000000
[6,4,3,5,2,1,7]=>000001
[6,4,3,5,2,7,1]=>000000
[6,4,3,5,7,1,2]=>000000
[6,4,3,5,7,2,1]=>000000
[6,4,3,7,1,2,5]=>000000
[6,4,3,7,1,5,2]=>000000
[6,4,3,7,2,1,5]=>000000
[6,4,3,7,2,5,1]=>000000
[6,4,3,7,5,1,2]=>000000
[6,4,3,7,5,2,1]=>000000
[6,4,5,1,2,3,7]=>000001
[6,4,5,1,2,7,3]=>000000
[6,4,5,1,3,2,7]=>000001
[6,4,5,1,3,7,2]=>000000
[6,4,5,1,7,2,3]=>000000
[6,4,5,1,7,3,2]=>000000
[6,4,5,2,1,3,7]=>000001
[6,4,5,2,1,7,3]=>000000
[6,4,5,2,3,1,7]=>000001
[6,4,5,2,3,7,1]=>000000
[6,4,5,2,7,1,3]=>000000
[6,4,5,2,7,3,1]=>000000
[6,4,5,3,1,2,7]=>000001
[6,4,5,3,1,7,2]=>000000
[6,4,5,3,2,1,7]=>000001
[6,4,5,3,2,7,1]=>000000
[6,4,5,3,7,1,2]=>000000
[6,4,5,3,7,2,1]=>000000
[6,4,5,7,1,2,3]=>000000
[6,4,5,7,1,3,2]=>000000
[6,4,5,7,2,1,3]=>000000
[6,4,5,7,2,3,1]=>000000
[6,4,5,7,3,1,2]=>000000
[6,4,5,7,3,2,1]=>000000
[6,4,7,1,2,3,5]=>000000
[6,4,7,1,2,5,3]=>000000
[6,4,7,1,3,2,5]=>000000
[6,4,7,1,3,5,2]=>000000
[6,4,7,1,5,2,3]=>000000
[6,4,7,1,5,3,2]=>000000
[6,4,7,2,1,3,5]=>000000
[6,4,7,2,1,5,3]=>000000
[6,4,7,2,3,1,5]=>000000
[6,4,7,2,3,5,1]=>000000
[6,4,7,2,5,1,3]=>000000
[6,4,7,2,5,3,1]=>000000
[6,4,7,3,1,2,5]=>000000
[6,4,7,3,1,5,2]=>000000
[6,4,7,3,2,1,5]=>000000
[6,4,7,3,2,5,1]=>000000
[6,4,7,3,5,1,2]=>000000
[6,4,7,3,5,2,1]=>000000
[6,4,7,5,1,2,3]=>000000
[6,4,7,5,1,3,2]=>000000
[6,4,7,5,2,1,3]=>000000
[6,4,7,5,2,3,1]=>000000
[6,4,7,5,3,1,2]=>000000
[6,4,7,5,3,2,1]=>000000
[6,5,1,2,3,4,7]=>000001
[6,5,1,2,3,7,4]=>000000
[6,5,1,2,4,3,7]=>000001
[6,5,1,2,4,7,3]=>000000
[6,5,1,2,7,3,4]=>000000
[6,5,1,2,7,4,3]=>000000
[6,5,1,3,2,4,7]=>000001
[6,5,1,3,2,7,4]=>000000
[6,5,1,3,4,2,7]=>000001
[6,5,1,3,4,7,2]=>000000
[6,5,1,3,7,2,4]=>000000
[6,5,1,3,7,4,2]=>000000
[6,5,1,4,2,3,7]=>000001
[6,5,1,4,2,7,3]=>000000
[6,5,1,4,3,2,7]=>000001
[6,5,1,4,3,7,2]=>000000
[6,5,1,4,7,2,3]=>000000
[6,5,1,4,7,3,2]=>000000
[6,5,1,7,2,3,4]=>000000
[6,5,1,7,2,4,3]=>000000
[6,5,1,7,3,2,4]=>000000
[6,5,1,7,3,4,2]=>000000
[6,5,1,7,4,2,3]=>000000
[6,5,1,7,4,3,2]=>000000
[6,5,2,1,3,4,7]=>000001
[6,5,2,1,3,7,4]=>000000
[6,5,2,1,4,3,7]=>000001
[6,5,2,1,4,7,3]=>000000
[6,5,2,1,7,3,4]=>000000
[6,5,2,1,7,4,3]=>000000
[6,5,2,3,1,4,7]=>000001
[6,5,2,3,1,7,4]=>000000
[6,5,2,3,4,1,7]=>000001
[6,5,2,3,4,7,1]=>000000
[6,5,2,3,7,1,4]=>000000
[6,5,2,3,7,4,1]=>000000
[6,5,2,4,1,3,7]=>000001
[6,5,2,4,1,7,3]=>000000
[6,5,2,4,3,1,7]=>000001
[6,5,2,4,3,7,1]=>000000
[6,5,2,4,7,1,3]=>000000
[6,5,2,4,7,3,1]=>000000
[6,5,2,7,1,3,4]=>000000
[6,5,2,7,1,4,3]=>000000
[6,5,2,7,3,1,4]=>000000
[6,5,2,7,3,4,1]=>000000
[6,5,2,7,4,1,3]=>000000
[6,5,2,7,4,3,1]=>000000
[6,5,3,1,2,4,7]=>000001
[6,5,3,1,2,7,4]=>000000
[6,5,3,1,4,2,7]=>000001
[6,5,3,1,4,7,2]=>000000
[6,5,3,1,7,2,4]=>000000
[6,5,3,1,7,4,2]=>000000
[6,5,3,2,1,4,7]=>000001
[6,5,3,2,1,7,4]=>000000
[6,5,3,2,4,1,7]=>000001
[6,5,3,2,4,7,1]=>000000
[6,5,3,2,7,1,4]=>000000
[6,5,3,2,7,4,1]=>000000
[6,5,3,4,1,2,7]=>000001
[6,5,3,4,1,7,2]=>000000
[6,5,3,4,2,1,7]=>000001
[6,5,3,4,2,7,1]=>000000
[6,5,3,4,7,1,2]=>000000
[6,5,3,4,7,2,1]=>000000
[6,5,3,7,1,2,4]=>000000
[6,5,3,7,1,4,2]=>000000
[6,5,3,7,2,1,4]=>000000
[6,5,3,7,2,4,1]=>000000
[6,5,3,7,4,1,2]=>000000
[6,5,3,7,4,2,1]=>000000
[6,5,4,1,2,3,7]=>000001
[6,5,4,1,2,7,3]=>000000
[6,5,4,1,3,2,7]=>000001
[6,5,4,1,3,7,2]=>000000
[6,5,4,1,7,2,3]=>000000
[6,5,4,1,7,3,2]=>000000
[6,5,4,2,1,3,7]=>000001
[6,5,4,2,1,7,3]=>000000
[6,5,4,2,3,1,7]=>000001
[6,5,4,2,3,7,1]=>000000
[6,5,4,2,7,1,3]=>000000
[6,5,4,2,7,3,1]=>000000
[6,5,4,3,1,2,7]=>000001
[6,5,4,3,1,7,2]=>000000
[6,5,4,3,2,1,7]=>000001
[6,5,4,3,2,7,1]=>000000
[6,5,4,3,7,1,2]=>000000
[6,5,4,3,7,2,1]=>000000
[6,5,4,7,1,2,3]=>000000
[6,5,4,7,1,3,2]=>000000
[6,5,4,7,2,1,3]=>000000
[6,5,4,7,2,3,1]=>000000
[6,5,4,7,3,1,2]=>000000
[6,5,4,7,3,2,1]=>000000
[6,5,7,1,2,3,4]=>000000
[6,5,7,1,2,4,3]=>000000
[6,5,7,1,3,2,4]=>000000
[6,5,7,1,3,4,2]=>000000
[6,5,7,1,4,2,3]=>000000
[6,5,7,1,4,3,2]=>000000
[6,5,7,2,1,3,4]=>000000
[6,5,7,2,1,4,3]=>000000
[6,5,7,2,3,1,4]=>000000
[6,5,7,2,3,4,1]=>000000
[6,5,7,2,4,1,3]=>000000
[6,5,7,2,4,3,1]=>000000
[6,5,7,3,1,2,4]=>000000
[6,5,7,3,1,4,2]=>000000
[6,5,7,3,2,1,4]=>000000
[6,5,7,3,2,4,1]=>000000
[6,5,7,3,4,1,2]=>000000
[6,5,7,3,4,2,1]=>000000
[6,5,7,4,1,2,3]=>000000
[6,5,7,4,1,3,2]=>000000
[6,5,7,4,2,1,3]=>000000
[6,5,7,4,2,3,1]=>000000
[6,5,7,4,3,1,2]=>000000
[6,5,7,4,3,2,1]=>000000
[6,7,1,2,3,4,5]=>000000
[6,7,1,2,3,5,4]=>000000
[6,7,1,2,4,3,5]=>000000
[6,7,1,2,4,5,3]=>000000
[6,7,1,2,5,3,4]=>000000
[6,7,1,2,5,4,3]=>000000
[6,7,1,3,2,4,5]=>000000
[6,7,1,3,2,5,4]=>000000
[6,7,1,3,4,2,5]=>000000
[6,7,1,3,4,5,2]=>000000
[6,7,1,3,5,2,4]=>000000
[6,7,1,3,5,4,2]=>000000
[6,7,1,4,2,3,5]=>000000
[6,7,1,4,2,5,3]=>000000
[6,7,1,4,3,2,5]=>000000
[6,7,1,4,3,5,2]=>000000
[6,7,1,4,5,2,3]=>000000
[6,7,1,4,5,3,2]=>000000
[6,7,1,5,2,3,4]=>000000
[6,7,1,5,2,4,3]=>000000
[6,7,1,5,3,2,4]=>000000
[6,7,1,5,3,4,2]=>000000
[6,7,1,5,4,2,3]=>000000
[6,7,1,5,4,3,2]=>000000
[6,7,2,1,3,4,5]=>000000
[6,7,2,1,3,5,4]=>000000
[6,7,2,1,4,3,5]=>000000
[6,7,2,1,4,5,3]=>000000
[6,7,2,1,5,3,4]=>000000
[6,7,2,1,5,4,3]=>000000
[6,7,2,3,1,4,5]=>000000
[6,7,2,3,1,5,4]=>000000
[6,7,2,3,4,1,5]=>000000
[6,7,2,3,4,5,1]=>000000
[6,7,2,3,5,1,4]=>000000
[6,7,2,3,5,4,1]=>000000
[6,7,2,4,1,3,5]=>000000
[6,7,2,4,1,5,3]=>000000
[6,7,2,4,3,1,5]=>000000
[6,7,2,4,3,5,1]=>000000
[6,7,2,4,5,1,3]=>000000
[6,7,2,4,5,3,1]=>000000
[6,7,2,5,1,3,4]=>000000
[6,7,2,5,1,4,3]=>000000
[6,7,2,5,3,1,4]=>000000
[6,7,2,5,3,4,1]=>000000
[6,7,2,5,4,1,3]=>000000
[6,7,2,5,4,3,1]=>000000
[6,7,3,1,2,4,5]=>000000
[6,7,3,1,2,5,4]=>000000
[6,7,3,1,4,2,5]=>000000
[6,7,3,1,4,5,2]=>000000
[6,7,3,1,5,2,4]=>000000
[6,7,3,1,5,4,2]=>000000
[6,7,3,2,1,4,5]=>000000
[6,7,3,2,1,5,4]=>000000
[6,7,3,2,4,1,5]=>000000
[6,7,3,2,4,5,1]=>000000
[6,7,3,2,5,1,4]=>000000
[6,7,3,2,5,4,1]=>000000
[6,7,3,4,1,2,5]=>000000
[6,7,3,4,1,5,2]=>000000
[6,7,3,4,2,1,5]=>000000
[6,7,3,4,2,5,1]=>000000
[6,7,3,4,5,1,2]=>000000
[6,7,3,4,5,2,1]=>000000
[6,7,3,5,1,2,4]=>000000
[6,7,3,5,1,4,2]=>000000
[6,7,3,5,2,1,4]=>000000
[6,7,3,5,2,4,1]=>000000
[6,7,3,5,4,1,2]=>000000
[6,7,3,5,4,2,1]=>000000
[6,7,4,1,2,3,5]=>000000
[6,7,4,1,2,5,3]=>000000
[6,7,4,1,3,2,5]=>000000
[6,7,4,1,3,5,2]=>000000
[6,7,4,1,5,2,3]=>000000
[6,7,4,1,5,3,2]=>000000
[6,7,4,2,1,3,5]=>000000
[6,7,4,2,1,5,3]=>000000
[6,7,4,2,3,1,5]=>000000
[6,7,4,2,3,5,1]=>000000
[6,7,4,2,5,1,3]=>000000
[6,7,4,2,5,3,1]=>000000
[6,7,4,3,1,2,5]=>000000
[6,7,4,3,1,5,2]=>000000
[6,7,4,3,2,1,5]=>000000
[6,7,4,3,2,5,1]=>000000
[6,7,4,3,5,1,2]=>000000
[6,7,4,3,5,2,1]=>000000
[6,7,4,5,1,2,3]=>000000
[6,7,4,5,1,3,2]=>000000
[6,7,4,5,2,1,3]=>000000
[6,7,4,5,2,3,1]=>000000
[6,7,4,5,3,1,2]=>000000
[6,7,4,5,3,2,1]=>000000
[6,7,5,1,2,3,4]=>000000
[6,7,5,1,2,4,3]=>000000
[6,7,5,1,3,2,4]=>000000
[6,7,5,1,3,4,2]=>000000
[6,7,5,1,4,2,3]=>000000
[6,7,5,1,4,3,2]=>000000
[6,7,5,2,1,3,4]=>000000
[6,7,5,2,1,4,3]=>000000
[6,7,5,2,3,1,4]=>000000
[6,7,5,2,3,4,1]=>000000
[6,7,5,2,4,1,3]=>000000
[6,7,5,2,4,3,1]=>000000
[6,7,5,3,1,2,4]=>000000
[6,7,5,3,1,4,2]=>000000
[6,7,5,3,2,1,4]=>000000
[6,7,5,3,2,4,1]=>000000
[6,7,5,3,4,1,2]=>000000
[6,7,5,3,4,2,1]=>000000
[6,7,5,4,1,2,3]=>000000
[6,7,5,4,1,3,2]=>000000
[6,7,5,4,2,1,3]=>000000
[6,7,5,4,2,3,1]=>000000
[6,7,5,4,3,1,2]=>000000
[6,7,5,4,3,2,1]=>000000
[7,1,2,3,4,5,6]=>000000
[7,1,2,3,4,6,5]=>000000
[7,1,2,3,5,4,6]=>000000
[7,1,2,3,5,6,4]=>000000
[7,1,2,3,6,4,5]=>000000
[7,1,2,3,6,5,4]=>000000
[7,1,2,4,3,5,6]=>000000
[7,1,2,4,3,6,5]=>000000
[7,1,2,4,5,3,6]=>000000
[7,1,2,4,5,6,3]=>000000
[7,1,2,4,6,3,5]=>000000
[7,1,2,4,6,5,3]=>000000
[7,1,2,5,3,4,6]=>000000
[7,1,2,5,3,6,4]=>000000
[7,1,2,5,4,3,6]=>000000
[7,1,2,5,4,6,3]=>000000
[7,1,2,5,6,3,4]=>000000
[7,1,2,5,6,4,3]=>000000
[7,1,2,6,3,4,5]=>000000
[7,1,2,6,3,5,4]=>000000
[7,1,2,6,4,3,5]=>000000
[7,1,2,6,4,5,3]=>000000
[7,1,2,6,5,3,4]=>000000
[7,1,2,6,5,4,3]=>000000
[7,1,3,2,4,5,6]=>000000
[7,1,3,2,4,6,5]=>000000
[7,1,3,2,5,4,6]=>000000
[7,1,3,2,5,6,4]=>000000
[7,1,3,2,6,4,5]=>000000
[7,1,3,2,6,5,4]=>000000
[7,1,3,4,2,5,6]=>000000
[7,1,3,4,2,6,5]=>000000
[7,1,3,4,5,2,6]=>000000
[7,1,3,4,5,6,2]=>000000
[7,1,3,4,6,2,5]=>000000
[7,1,3,4,6,5,2]=>000000
[7,1,3,5,2,4,6]=>000000
[7,1,3,5,2,6,4]=>000000
[7,1,3,5,4,2,6]=>000000
[7,1,3,5,4,6,2]=>000000
[7,1,3,5,6,2,4]=>000000
[7,1,3,5,6,4,2]=>000000
[7,1,3,6,2,4,5]=>000000
[7,1,3,6,2,5,4]=>000000
[7,1,3,6,4,2,5]=>000000
[7,1,3,6,4,5,2]=>000000
[7,1,3,6,5,2,4]=>000000
[7,1,3,6,5,4,2]=>000000
[7,1,4,2,3,5,6]=>000000
[7,1,4,2,3,6,5]=>000000
[7,1,4,2,5,3,6]=>000000
[7,1,4,2,5,6,3]=>000000
[7,1,4,2,6,3,5]=>000000
[7,1,4,2,6,5,3]=>000000
[7,1,4,3,2,5,6]=>000000
[7,1,4,3,2,6,5]=>000000
[7,1,4,3,5,2,6]=>000000
[7,1,4,3,5,6,2]=>000000
[7,1,4,3,6,2,5]=>000000
[7,1,4,3,6,5,2]=>000000
[7,1,4,5,2,3,6]=>000000
[7,1,4,5,2,6,3]=>000000
[7,1,4,5,3,2,6]=>000000
[7,1,4,5,3,6,2]=>000000
[7,1,4,5,6,2,3]=>000000
[7,1,4,5,6,3,2]=>000000
[7,1,4,6,2,3,5]=>000000
[7,1,4,6,2,5,3]=>000000
[7,1,4,6,3,2,5]=>000000
[7,1,4,6,3,5,2]=>000000
[7,1,4,6,5,2,3]=>000000
[7,1,4,6,5,3,2]=>000000
[7,1,5,2,3,4,6]=>000000
[7,1,5,2,3,6,4]=>000000
[7,1,5,2,4,3,6]=>000000
[7,1,5,2,4,6,3]=>000000
[7,1,5,2,6,3,4]=>000000
[7,1,5,2,6,4,3]=>000000
[7,1,5,3,2,4,6]=>000000
[7,1,5,3,2,6,4]=>000000
[7,1,5,3,4,2,6]=>000000
[7,1,5,3,4,6,2]=>000000
[7,1,5,3,6,2,4]=>000000
[7,1,5,3,6,4,2]=>000000
[7,1,5,4,2,3,6]=>000000
[7,1,5,4,2,6,3]=>000000
[7,1,5,4,3,2,6]=>000000
[7,1,5,4,3,6,2]=>000000
[7,1,5,4,6,2,3]=>000000
[7,1,5,4,6,3,2]=>000000
[7,1,5,6,2,3,4]=>000000
[7,1,5,6,2,4,3]=>000000
[7,1,5,6,3,2,4]=>000000
[7,1,5,6,3,4,2]=>000000
[7,1,5,6,4,2,3]=>000000
[7,1,5,6,4,3,2]=>000000
[7,1,6,2,3,4,5]=>000000
[7,1,6,2,3,5,4]=>000000
[7,1,6,2,4,3,5]=>000000
[7,1,6,2,4,5,3]=>000000
[7,1,6,2,5,3,4]=>000000
[7,1,6,2,5,4,3]=>000000
[7,1,6,3,2,4,5]=>000000
[7,1,6,3,2,5,4]=>000000
[7,1,6,3,4,2,5]=>000000
[7,1,6,3,4,5,2]=>000000
[7,1,6,3,5,2,4]=>000000
[7,1,6,3,5,4,2]=>000000
[7,1,6,4,2,3,5]=>000000
[7,1,6,4,2,5,3]=>000000
[7,1,6,4,3,2,5]=>000000
[7,1,6,4,3,5,2]=>000000
[7,1,6,4,5,2,3]=>000000
[7,1,6,4,5,3,2]=>000000
[7,1,6,5,2,3,4]=>000000
[7,1,6,5,2,4,3]=>000000
[7,1,6,5,3,2,4]=>000000
[7,1,6,5,3,4,2]=>000000
[7,1,6,5,4,2,3]=>000000
[7,1,6,5,4,3,2]=>000000
[7,2,1,3,4,5,6]=>000000
[7,2,1,3,4,6,5]=>000000
[7,2,1,3,5,4,6]=>000000
[7,2,1,3,5,6,4]=>000000
[7,2,1,3,6,4,5]=>000000
[7,2,1,3,6,5,4]=>000000
[7,2,1,4,3,5,6]=>000000
[7,2,1,4,3,6,5]=>000000
[7,2,1,4,5,3,6]=>000000
[7,2,1,4,5,6,3]=>000000
[7,2,1,4,6,3,5]=>000000
[7,2,1,4,6,5,3]=>000000
[7,2,1,5,3,4,6]=>000000
[7,2,1,5,3,6,4]=>000000
[7,2,1,5,4,3,6]=>000000
[7,2,1,5,4,6,3]=>000000
[7,2,1,5,6,3,4]=>000000
[7,2,1,5,6,4,3]=>000000
[7,2,1,6,3,4,5]=>000000
[7,2,1,6,3,5,4]=>000000
[7,2,1,6,4,3,5]=>000000
[7,2,1,6,4,5,3]=>000000
[7,2,1,6,5,3,4]=>000000
[7,2,1,6,5,4,3]=>000000
[7,2,3,1,4,5,6]=>000000
[7,2,3,1,4,6,5]=>000000
[7,2,3,1,5,4,6]=>000000
[7,2,3,1,5,6,4]=>000000
[7,2,3,1,6,4,5]=>000000
[7,2,3,1,6,5,4]=>000000
[7,2,3,4,1,5,6]=>000000
[7,2,3,4,1,6,5]=>000000
[7,2,3,4,5,1,6]=>000000
[7,2,3,4,5,6,1]=>000000
[7,2,3,4,6,1,5]=>000000
[7,2,3,4,6,5,1]=>000000
[7,2,3,5,1,4,6]=>000000
[7,2,3,5,1,6,4]=>000000
[7,2,3,5,4,1,6]=>000000
[7,2,3,5,4,6,1]=>000000
[7,2,3,5,6,1,4]=>000000
[7,2,3,5,6,4,1]=>000000
[7,2,3,6,1,4,5]=>000000
[7,2,3,6,1,5,4]=>000000
[7,2,3,6,4,1,5]=>000000
[7,2,3,6,4,5,1]=>000000
[7,2,3,6,5,1,4]=>000000
[7,2,3,6,5,4,1]=>000000
[7,2,4,1,3,5,6]=>000000
[7,2,4,1,3,6,5]=>000000
[7,2,4,1,5,3,6]=>000000
[7,2,4,1,5,6,3]=>000000
[7,2,4,1,6,3,5]=>000000
[7,2,4,1,6,5,3]=>000000
[7,2,4,3,1,5,6]=>000000
[7,2,4,3,1,6,5]=>000000
[7,2,4,3,5,1,6]=>000000
[7,2,4,3,5,6,1]=>000000
[7,2,4,3,6,1,5]=>000000
[7,2,4,3,6,5,1]=>000000
[7,2,4,5,1,3,6]=>000000
[7,2,4,5,1,6,3]=>000000
[7,2,4,5,3,1,6]=>000000
[7,2,4,5,3,6,1]=>000000
[7,2,4,5,6,1,3]=>000000
[7,2,4,5,6,3,1]=>000000
[7,2,4,6,1,3,5]=>000000
[7,2,4,6,1,5,3]=>000000
[7,2,4,6,3,1,5]=>000000
[7,2,4,6,3,5,1]=>000000
[7,2,4,6,5,1,3]=>000000
[7,2,4,6,5,3,1]=>000000
[7,2,5,1,3,4,6]=>000000
[7,2,5,1,3,6,4]=>000000
[7,2,5,1,4,3,6]=>000000
[7,2,5,1,4,6,3]=>000000
[7,2,5,1,6,3,4]=>000000
[7,2,5,1,6,4,3]=>000000
[7,2,5,3,1,4,6]=>000000
[7,2,5,3,1,6,4]=>000000
[7,2,5,3,4,1,6]=>000000
[7,2,5,3,4,6,1]=>000000
[7,2,5,3,6,1,4]=>000000
[7,2,5,3,6,4,1]=>000000
[7,2,5,4,1,3,6]=>000000
[7,2,5,4,1,6,3]=>000000
[7,2,5,4,3,1,6]=>000000
[7,2,5,4,3,6,1]=>000000
[7,2,5,4,6,1,3]=>000000
[7,2,5,4,6,3,1]=>000000
[7,2,5,6,1,3,4]=>000000
[7,2,5,6,1,4,3]=>000000
[7,2,5,6,3,1,4]=>000000
[7,2,5,6,3,4,1]=>000000
[7,2,5,6,4,1,3]=>000000
[7,2,5,6,4,3,1]=>000000
[7,2,6,1,3,4,5]=>000000
[7,2,6,1,3,5,4]=>000000
[7,2,6,1,4,3,5]=>000000
[7,2,6,1,4,5,3]=>000000
[7,2,6,1,5,3,4]=>000000
[7,2,6,1,5,4,3]=>000000
[7,2,6,3,1,4,5]=>000000
[7,2,6,3,1,5,4]=>000000
[7,2,6,3,4,1,5]=>000000
[7,2,6,3,4,5,1]=>000000
[7,2,6,3,5,1,4]=>000000
[7,2,6,3,5,4,1]=>000000
[7,2,6,4,1,3,5]=>000000
[7,2,6,4,1,5,3]=>000000
[7,2,6,4,3,1,5]=>000000
[7,2,6,4,3,5,1]=>000000
[7,2,6,4,5,1,3]=>000000
[7,2,6,4,5,3,1]=>000000
[7,2,6,5,1,3,4]=>000000
[7,2,6,5,1,4,3]=>000000
[7,2,6,5,3,1,4]=>000000
[7,2,6,5,3,4,1]=>000000
[7,2,6,5,4,1,3]=>000000
[7,2,6,5,4,3,1]=>000000
[7,3,1,2,4,5,6]=>000000
[7,3,1,2,4,6,5]=>000000
[7,3,1,2,5,4,6]=>000000
[7,3,1,2,5,6,4]=>000000
[7,3,1,2,6,4,5]=>000000
[7,3,1,2,6,5,4]=>000000
[7,3,1,4,2,5,6]=>000000
[7,3,1,4,2,6,5]=>000000
[7,3,1,4,5,2,6]=>000000
[7,3,1,4,5,6,2]=>000000
[7,3,1,4,6,2,5]=>000000
[7,3,1,4,6,5,2]=>000000
[7,3,1,5,2,4,6]=>000000
[7,3,1,5,2,6,4]=>000000
[7,3,1,5,4,2,6]=>000000
[7,3,1,5,4,6,2]=>000000
[7,3,1,5,6,2,4]=>000000
[7,3,1,5,6,4,2]=>000000
[7,3,1,6,2,4,5]=>000000
[7,3,1,6,2,5,4]=>000000
[7,3,1,6,4,2,5]=>000000
[7,3,1,6,4,5,2]=>000000
[7,3,1,6,5,2,4]=>000000
[7,3,1,6,5,4,2]=>000000
[7,3,2,1,4,5,6]=>000000
[7,3,2,1,4,6,5]=>000000
[7,3,2,1,5,4,6]=>000000
[7,3,2,1,5,6,4]=>000000
[7,3,2,1,6,4,5]=>000000
[7,3,2,1,6,5,4]=>000000
[7,3,2,4,1,5,6]=>000000
[7,3,2,4,1,6,5]=>000000
[7,3,2,4,5,1,6]=>000000
[7,3,2,4,5,6,1]=>000000
[7,3,2,4,6,1,5]=>000000
[7,3,2,4,6,5,1]=>000000
[7,3,2,5,1,4,6]=>000000
[7,3,2,5,1,6,4]=>000000
[7,3,2,5,4,1,6]=>000000
[7,3,2,5,4,6,1]=>000000
[7,3,2,5,6,1,4]=>000000
[7,3,2,5,6,4,1]=>000000
[7,3,2,6,1,4,5]=>000000
[7,3,2,6,1,5,4]=>000000
[7,3,2,6,4,1,5]=>000000
[7,3,2,6,4,5,1]=>000000
[7,3,2,6,5,1,4]=>000000
[7,3,2,6,5,4,1]=>000000
[7,3,4,1,2,5,6]=>000000
[7,3,4,1,2,6,5]=>000000
[7,3,4,1,5,2,6]=>000000
[7,3,4,1,5,6,2]=>000000
[7,3,4,1,6,2,5]=>000000
[7,3,4,1,6,5,2]=>000000
[7,3,4,2,1,5,6]=>000000
[7,3,4,2,1,6,5]=>000000
[7,3,4,2,5,1,6]=>000000
[7,3,4,2,5,6,1]=>000000
[7,3,4,2,6,1,5]=>000000
[7,3,4,2,6,5,1]=>000000
[7,3,4,5,1,2,6]=>000000
[7,3,4,5,1,6,2]=>000000
[7,3,4,5,2,1,6]=>000000
[7,3,4,5,2,6,1]=>000000
[7,3,4,5,6,1,2]=>000000
[7,3,4,5,6,2,1]=>000000
[7,3,4,6,1,2,5]=>000000
[7,3,4,6,1,5,2]=>000000
[7,3,4,6,2,1,5]=>000000
[7,3,4,6,2,5,1]=>000000
[7,3,4,6,5,1,2]=>000000
[7,3,4,6,5,2,1]=>000000
[7,3,5,1,2,4,6]=>000000
[7,3,5,1,2,6,4]=>000000
[7,3,5,1,4,2,6]=>000000
[7,3,5,1,4,6,2]=>000000
[7,3,5,1,6,2,4]=>000000
[7,3,5,1,6,4,2]=>000000
[7,3,5,2,1,4,6]=>000000
[7,3,5,2,1,6,4]=>000000
[7,3,5,2,4,1,6]=>000000
[7,3,5,2,4,6,1]=>000000
[7,3,5,2,6,1,4]=>000000
[7,3,5,2,6,4,1]=>000000
[7,3,5,4,1,2,6]=>000000
[7,3,5,4,1,6,2]=>000000
[7,3,5,4,2,1,6]=>000000
[7,3,5,4,2,6,1]=>000000
[7,3,5,4,6,1,2]=>000000
[7,3,5,4,6,2,1]=>000000
[7,3,5,6,1,2,4]=>000000
[7,3,5,6,1,4,2]=>000000
[7,3,5,6,2,1,4]=>000000
[7,3,5,6,2,4,1]=>000000
[7,3,5,6,4,1,2]=>000000
[7,3,5,6,4,2,1]=>000000
[7,3,6,1,2,4,5]=>000000
[7,3,6,1,2,5,4]=>000000
[7,3,6,1,4,2,5]=>000000
[7,3,6,1,4,5,2]=>000000
[7,3,6,1,5,2,4]=>000000
[7,3,6,1,5,4,2]=>000000
[7,3,6,2,1,4,5]=>000000
[7,3,6,2,1,5,4]=>000000
[7,3,6,2,4,1,5]=>000000
[7,3,6,2,4,5,1]=>000000
[7,3,6,2,5,1,4]=>000000
[7,3,6,2,5,4,1]=>000000
[7,3,6,4,1,2,5]=>000000
[7,3,6,4,1,5,2]=>000000
[7,3,6,4,2,1,5]=>000000
[7,3,6,4,2,5,1]=>000000
[7,3,6,4,5,1,2]=>000000
[7,3,6,4,5,2,1]=>000000
[7,3,6,5,1,2,4]=>000000
[7,3,6,5,1,4,2]=>000000
[7,3,6,5,2,1,4]=>000000
[7,3,6,5,2,4,1]=>000000
[7,3,6,5,4,1,2]=>000000
[7,3,6,5,4,2,1]=>000000
[7,4,1,2,3,5,6]=>000000
[7,4,1,2,3,6,5]=>000000
[7,4,1,2,5,3,6]=>000000
[7,4,1,2,5,6,3]=>000000
[7,4,1,2,6,3,5]=>000000
[7,4,1,2,6,5,3]=>000000
[7,4,1,3,2,5,6]=>000000
[7,4,1,3,2,6,5]=>000000
[7,4,1,3,5,2,6]=>000000
[7,4,1,3,5,6,2]=>000000
[7,4,1,3,6,2,5]=>000000
[7,4,1,3,6,5,2]=>000000
[7,4,1,5,2,3,6]=>000000
[7,4,1,5,2,6,3]=>000000
[7,4,1,5,3,2,6]=>000000
[7,4,1,5,3,6,2]=>000000
[7,4,1,5,6,2,3]=>000000
[7,4,1,5,6,3,2]=>000000
[7,4,1,6,2,3,5]=>000000
[7,4,1,6,2,5,3]=>000000
[7,4,1,6,3,2,5]=>000000
[7,4,1,6,3,5,2]=>000000
[7,4,1,6,5,2,3]=>000000
[7,4,1,6,5,3,2]=>000000
[7,4,2,1,3,5,6]=>000000
[7,4,2,1,3,6,5]=>000000
[7,4,2,1,5,3,6]=>000000
[7,4,2,1,5,6,3]=>000000
[7,4,2,1,6,3,5]=>000000
[7,4,2,1,6,5,3]=>000000
[7,4,2,3,1,5,6]=>000000
[7,4,2,3,1,6,5]=>000000
[7,4,2,3,5,1,6]=>000000
[7,4,2,3,5,6,1]=>000000
[7,4,2,3,6,1,5]=>000000
[7,4,2,3,6,5,1]=>000000
[7,4,2,5,1,3,6]=>000000
[7,4,2,5,1,6,3]=>000000
[7,4,2,5,3,1,6]=>000000
[7,4,2,5,3,6,1]=>000000
[7,4,2,5,6,1,3]=>000000
[7,4,2,5,6,3,1]=>000000
[7,4,2,6,1,3,5]=>000000
[7,4,2,6,1,5,3]=>000000
[7,4,2,6,3,1,5]=>000000
[7,4,2,6,3,5,1]=>000000
[7,4,2,6,5,1,3]=>000000
[7,4,2,6,5,3,1]=>000000
[7,4,3,1,2,5,6]=>000000
[7,4,3,1,2,6,5]=>000000
[7,4,3,1,5,2,6]=>000000
[7,4,3,1,5,6,2]=>000000
[7,4,3,1,6,2,5]=>000000
[7,4,3,1,6,5,2]=>000000
[7,4,3,2,1,5,6]=>000000
[7,4,3,2,1,6,5]=>000000
[7,4,3,2,5,1,6]=>000000
[7,4,3,2,5,6,1]=>000000
[7,4,3,2,6,1,5]=>000000
[7,4,3,2,6,5,1]=>000000
[7,4,3,5,1,2,6]=>000000
[7,4,3,5,1,6,2]=>000000
[7,4,3,5,2,1,6]=>000000
[7,4,3,5,2,6,1]=>000000
[7,4,3,5,6,1,2]=>000000
[7,4,3,5,6,2,1]=>000000
[7,4,3,6,1,2,5]=>000000
[7,4,3,6,1,5,2]=>000000
[7,4,3,6,2,1,5]=>000000
[7,4,3,6,2,5,1]=>000000
[7,4,3,6,5,1,2]=>000000
[7,4,3,6,5,2,1]=>000000
[7,4,5,1,2,3,6]=>000000
[7,4,5,1,2,6,3]=>000000
[7,4,5,1,3,2,6]=>000000
[7,4,5,1,3,6,2]=>000000
[7,4,5,1,6,2,3]=>000000
[7,4,5,1,6,3,2]=>000000
[7,4,5,2,1,3,6]=>000000
[7,4,5,2,1,6,3]=>000000
[7,4,5,2,3,1,6]=>000000
[7,4,5,2,3,6,1]=>000000
[7,4,5,2,6,1,3]=>000000
[7,4,5,2,6,3,1]=>000000
[7,4,5,3,1,2,6]=>000000
[7,4,5,3,1,6,2]=>000000
[7,4,5,3,2,1,6]=>000000
[7,4,5,3,2,6,1]=>000000
[7,4,5,3,6,1,2]=>000000
[7,4,5,3,6,2,1]=>000000
[7,4,5,6,1,2,3]=>000000
[7,4,5,6,1,3,2]=>000000
[7,4,5,6,2,1,3]=>000000
[7,4,5,6,2,3,1]=>000000
[7,4,5,6,3,1,2]=>000000
[7,4,5,6,3,2,1]=>000000
[7,4,6,1,2,3,5]=>000000
[7,4,6,1,2,5,3]=>000000
[7,4,6,1,3,2,5]=>000000
[7,4,6,1,3,5,2]=>000000
[7,4,6,1,5,2,3]=>000000
[7,4,6,1,5,3,2]=>000000
[7,4,6,2,1,3,5]=>000000
[7,4,6,2,1,5,3]=>000000
[7,4,6,2,3,1,5]=>000000
[7,4,6,2,3,5,1]=>000000
[7,4,6,2,5,1,3]=>000000
[7,4,6,2,5,3,1]=>000000
[7,4,6,3,1,2,5]=>000000
[7,4,6,3,1,5,2]=>000000
[7,4,6,3,2,1,5]=>000000
[7,4,6,3,2,5,1]=>000000
[7,4,6,3,5,1,2]=>000000
[7,4,6,3,5,2,1]=>000000
[7,4,6,5,1,2,3]=>000000
[7,4,6,5,1,3,2]=>000000
[7,4,6,5,2,1,3]=>000000
[7,4,6,5,2,3,1]=>000000
[7,4,6,5,3,1,2]=>000000
[7,4,6,5,3,2,1]=>000000
[7,5,1,2,3,4,6]=>000000
[7,5,1,2,3,6,4]=>000000
[7,5,1,2,4,3,6]=>000000
[7,5,1,2,4,6,3]=>000000
[7,5,1,2,6,3,4]=>000000
[7,5,1,2,6,4,3]=>000000
[7,5,1,3,2,4,6]=>000000
[7,5,1,3,2,6,4]=>000000
[7,5,1,3,4,2,6]=>000000
[7,5,1,3,4,6,2]=>000000
[7,5,1,3,6,2,4]=>000000
[7,5,1,3,6,4,2]=>000000
[7,5,1,4,2,3,6]=>000000
[7,5,1,4,2,6,3]=>000000
[7,5,1,4,3,2,6]=>000000
[7,5,1,4,3,6,2]=>000000
[7,5,1,4,6,2,3]=>000000
[7,5,1,4,6,3,2]=>000000
[7,5,1,6,2,3,4]=>000000
[7,5,1,6,2,4,3]=>000000
[7,5,1,6,3,2,4]=>000000
[7,5,1,6,3,4,2]=>000000
[7,5,1,6,4,2,3]=>000000
[7,5,1,6,4,3,2]=>000000
[7,5,2,1,3,4,6]=>000000
[7,5,2,1,3,6,4]=>000000
[7,5,2,1,4,3,6]=>000000
[7,5,2,1,4,6,3]=>000000
[7,5,2,1,6,3,4]=>000000
[7,5,2,1,6,4,3]=>000000
[7,5,2,3,1,4,6]=>000000
[7,5,2,3,1,6,4]=>000000
[7,5,2,3,4,1,6]=>000000
[7,5,2,3,4,6,1]=>000000
[7,5,2,3,6,1,4]=>000000
[7,5,2,3,6,4,1]=>000000
[7,5,2,4,1,3,6]=>000000
[7,5,2,4,1,6,3]=>000000
[7,5,2,4,3,1,6]=>000000
[7,5,2,4,3,6,1]=>000000
[7,5,2,4,6,1,3]=>000000
[7,5,2,4,6,3,1]=>000000
[7,5,2,6,1,3,4]=>000000
[7,5,2,6,1,4,3]=>000000
[7,5,2,6,3,1,4]=>000000
[7,5,2,6,3,4,1]=>000000
[7,5,2,6,4,1,3]=>000000
[7,5,2,6,4,3,1]=>000000
[7,5,3,1,2,4,6]=>000000
[7,5,3,1,2,6,4]=>000000
[7,5,3,1,4,2,6]=>000000
[7,5,3,1,4,6,2]=>000000
[7,5,3,1,6,2,4]=>000000
[7,5,3,1,6,4,2]=>000000
[7,5,3,2,1,4,6]=>000000
[7,5,3,2,1,6,4]=>000000
[7,5,3,2,4,1,6]=>000000
[7,5,3,2,4,6,1]=>000000
[7,5,3,2,6,1,4]=>000000
[7,5,3,2,6,4,1]=>000000
[7,5,3,4,1,2,6]=>000000
[7,5,3,4,1,6,2]=>000000
[7,5,3,4,2,1,6]=>000000
[7,5,3,4,2,6,1]=>000000
[7,5,3,4,6,1,2]=>000000
[7,5,3,4,6,2,1]=>000000
[7,5,3,6,1,2,4]=>000000
[7,5,3,6,1,4,2]=>000000
[7,5,3,6,2,1,4]=>000000
[7,5,3,6,2,4,1]=>000000
[7,5,3,6,4,1,2]=>000000
[7,5,3,6,4,2,1]=>000000
[7,5,4,1,2,3,6]=>000000
[7,5,4,1,2,6,3]=>000000
[7,5,4,1,3,2,6]=>000000
[7,5,4,1,3,6,2]=>000000
[7,5,4,1,6,2,3]=>000000
[7,5,4,1,6,3,2]=>000000
[7,5,4,2,1,3,6]=>000000
[7,5,4,2,1,6,3]=>000000
[7,5,4,2,3,1,6]=>000000
[7,5,4,2,3,6,1]=>000000
[7,5,4,2,6,1,3]=>000000
[7,5,4,2,6,3,1]=>000000
[7,5,4,3,1,2,6]=>000000
[7,5,4,3,1,6,2]=>000000
[7,5,4,3,2,1,6]=>000000
[7,5,4,3,2,6,1]=>000000
[7,5,4,3,6,1,2]=>000000
[7,5,4,3,6,2,1]=>000000
[7,5,4,6,1,2,3]=>000000
[7,5,4,6,1,3,2]=>000000
[7,5,4,6,2,1,3]=>000000
[7,5,4,6,2,3,1]=>000000
[7,5,4,6,3,1,2]=>000000
[7,5,4,6,3,2,1]=>000000
[7,5,6,1,2,3,4]=>000000
[7,5,6,1,2,4,3]=>000000
[7,5,6,1,3,2,4]=>000000
[7,5,6,1,3,4,2]=>000000
[7,5,6,1,4,2,3]=>000000
[7,5,6,1,4,3,2]=>000000
[7,5,6,2,1,3,4]=>000000
[7,5,6,2,1,4,3]=>000000
[7,5,6,2,3,1,4]=>000000
[7,5,6,2,3,4,1]=>000000
[7,5,6,2,4,1,3]=>000000
[7,5,6,2,4,3,1]=>000000
[7,5,6,3,1,2,4]=>000000
[7,5,6,3,1,4,2]=>000000
[7,5,6,3,2,1,4]=>000000
[7,5,6,3,2,4,1]=>000000
[7,5,6,3,4,1,2]=>000000
[7,5,6,3,4,2,1]=>000000
[7,5,6,4,1,2,3]=>000000
[7,5,6,4,1,3,2]=>000000
[7,5,6,4,2,1,3]=>000000
[7,5,6,4,2,3,1]=>000000
[7,5,6,4,3,1,2]=>000000
[7,5,6,4,3,2,1]=>000000
[7,6,1,2,3,4,5]=>000000
[7,6,1,2,3,5,4]=>000000
[7,6,1,2,4,3,5]=>000000
[7,6,1,2,4,5,3]=>000000
[7,6,1,2,5,3,4]=>000000
[7,6,1,2,5,4,3]=>000000
[7,6,1,3,2,4,5]=>000000
[7,6,1,3,2,5,4]=>000000
[7,6,1,3,4,2,5]=>000000
[7,6,1,3,4,5,2]=>000000
[7,6,1,3,5,2,4]=>000000
[7,6,1,3,5,4,2]=>000000
[7,6,1,4,2,3,5]=>000000
[7,6,1,4,2,5,3]=>000000
[7,6,1,4,3,2,5]=>000000
[7,6,1,4,3,5,2]=>000000
[7,6,1,4,5,2,3]=>000000
[7,6,1,4,5,3,2]=>000000
[7,6,1,5,2,3,4]=>000000
[7,6,1,5,2,4,3]=>000000
[7,6,1,5,3,2,4]=>000000
[7,6,1,5,3,4,2]=>000000
[7,6,1,5,4,2,3]=>000000
[7,6,1,5,4,3,2]=>000000
[7,6,2,1,3,4,5]=>000000
[7,6,2,1,3,5,4]=>000000
[7,6,2,1,4,3,5]=>000000
[7,6,2,1,4,5,3]=>000000
[7,6,2,1,5,3,4]=>000000
[7,6,2,1,5,4,3]=>000000
[7,6,2,3,1,4,5]=>000000
[7,6,2,3,1,5,4]=>000000
[7,6,2,3,4,1,5]=>000000
[7,6,2,3,4,5,1]=>000000
[7,6,2,3,5,1,4]=>000000
[7,6,2,3,5,4,1]=>000000
[7,6,2,4,1,3,5]=>000000
[7,6,2,4,1,5,3]=>000000
[7,6,2,4,3,1,5]=>000000
[7,6,2,4,3,5,1]=>000000
[7,6,2,4,5,1,3]=>000000
[7,6,2,4,5,3,1]=>000000
[7,6,2,5,1,3,4]=>000000
[7,6,2,5,1,4,3]=>000000
[7,6,2,5,3,1,4]=>000000
[7,6,2,5,3,4,1]=>000000
[7,6,2,5,4,1,3]=>000000
[7,6,2,5,4,3,1]=>000000
[7,6,3,1,2,4,5]=>000000
[7,6,3,1,2,5,4]=>000000
[7,6,3,1,4,2,5]=>000000
[7,6,3,1,4,5,2]=>000000
[7,6,3,1,5,2,4]=>000000
[7,6,3,1,5,4,2]=>000000
[7,6,3,2,1,4,5]=>000000
[7,6,3,2,1,5,4]=>000000
[7,6,3,2,4,1,5]=>000000
[7,6,3,2,4,5,1]=>000000
[7,6,3,2,5,1,4]=>000000
[7,6,3,2,5,4,1]=>000000
[7,6,3,4,1,2,5]=>000000
[7,6,3,4,1,5,2]=>000000
[7,6,3,4,2,1,5]=>000000
[7,6,3,4,2,5,1]=>000000
[7,6,3,4,5,1,2]=>000000
[7,6,3,4,5,2,1]=>000000
[7,6,3,5,1,2,4]=>000000
[7,6,3,5,1,4,2]=>000000
[7,6,3,5,2,1,4]=>000000
[7,6,3,5,2,4,1]=>000000
[7,6,3,5,4,1,2]=>000000
[7,6,3,5,4,2,1]=>000000
[7,6,4,1,2,3,5]=>000000
[7,6,4,1,2,5,3]=>000000
[7,6,4,1,3,2,5]=>000000
[7,6,4,1,3,5,2]=>000000
[7,6,4,1,5,2,3]=>000000
[7,6,4,1,5,3,2]=>000000
[7,6,4,2,1,3,5]=>000000
[7,6,4,2,1,5,3]=>000000
[7,6,4,2,3,1,5]=>000000
[7,6,4,2,3,5,1]=>000000
[7,6,4,2,5,1,3]=>000000
[7,6,4,2,5,3,1]=>000000
[7,6,4,3,1,2,5]=>000000
[7,6,4,3,1,5,2]=>000000
[7,6,4,3,2,1,5]=>000000
[7,6,4,3,2,5,1]=>000000
[7,6,4,3,5,1,2]=>000000
[7,6,4,3,5,2,1]=>000000
[7,6,4,5,1,2,3]=>000000
[7,6,4,5,1,3,2]=>000000
[7,6,4,5,2,1,3]=>000000
[7,6,4,5,2,3,1]=>000000
[7,6,4,5,3,1,2]=>000000
[7,6,4,5,3,2,1]=>000000
[7,6,5,1,2,3,4]=>000000
[7,6,5,1,2,4,3]=>000000
[7,6,5,1,3,2,4]=>000000
[7,6,5,1,3,4,2]=>000000
[7,6,5,1,4,2,3]=>000000
[7,6,5,1,4,3,2]=>000000
[7,6,5,2,1,3,4]=>000000
[7,6,5,2,1,4,3]=>000000
[7,6,5,2,3,1,4]=>000000
[7,6,5,2,3,4,1]=>000000
[7,6,5,2,4,1,3]=>000000
[7,6,5,2,4,3,1]=>000000
[7,6,5,3,1,2,4]=>000000
[7,6,5,3,1,4,2]=>000000
[7,6,5,3,2,1,4]=>000000
[7,6,5,3,2,4,1]=>000000
[7,6,5,3,4,1,2]=>000000
[7,6,5,3,4,2,1]=>000000
[7,6,5,4,1,2,3]=>000000
[7,6,5,4,1,3,2]=>000000
[7,6,5,4,2,1,3]=>000000
[7,6,5,4,2,3,1]=>000000
[7,6,5,4,3,1,2]=>000000
[7,6,5,4,3,2,1]=>000000
[8,7,6,5,4,3,2,1]=>0000000
[7,8,6,5,4,3,2,1]=>0000000
[7,6,8,5,4,3,2,1]=>0000000
[6,7,8,5,4,3,2,1]=>0000000
[8,7,5,6,4,3,2,1]=>0000000
[7,8,5,6,4,3,2,1]=>0000000
[8,6,5,7,4,3,2,1]=>0000000
[8,5,6,7,4,3,2,1]=>0000000
[7,6,5,8,4,3,2,1]=>0000000
[6,7,5,8,4,3,2,1]=>0000000
[7,5,6,8,4,3,2,1]=>0000000
[6,5,7,8,4,3,2,1]=>0000000
[5,6,7,8,4,3,2,1]=>0000000
[8,7,6,4,5,3,2,1]=>0000000
[7,8,6,4,5,3,2,1]=>0000000
[8,6,7,4,5,3,2,1]=>0000000
[8,7,5,4,6,3,2,1]=>0000000
[8,7,4,5,6,3,2,1]=>0000000
[7,6,5,4,8,3,2,1]=>0000000
[6,7,5,4,8,3,2,1]=>0000000
[7,5,6,4,8,3,2,1]=>0000000
[6,5,7,4,8,3,2,1]=>0000000
[5,6,7,4,8,3,2,1]=>0000000
[7,6,4,5,8,3,2,1]=>0000000
[6,7,4,5,8,3,2,1]=>0000000
[7,5,4,6,8,3,2,1]=>0000000
[7,4,5,6,8,3,2,1]=>0000000
[6,5,4,7,8,3,2,1]=>0000000
[5,6,4,7,8,3,2,1]=>0000000
[6,4,5,7,8,3,2,1]=>0000000
[5,4,6,7,8,3,2,1]=>0000000
[4,5,6,7,8,3,2,1]=>0000000
[8,7,6,5,3,4,2,1]=>0000000
[7,8,6,5,3,4,2,1]=>0000000
[8,6,7,5,3,4,2,1]=>0000000
[7,6,8,5,3,4,2,1]=>0000000
[8,7,5,6,3,4,2,1]=>0000000
[7,8,5,6,3,4,2,1]=>0000000
[8,5,6,7,3,4,2,1]=>0000000
[7,6,5,8,3,4,2,1]=>0000000
[6,7,5,8,3,4,2,1]=>0000000
[6,5,7,8,3,4,2,1]=>0000000
[5,6,7,8,3,4,2,1]=>0000000
[7,6,8,4,3,5,2,1]=>0000000
[8,7,6,3,4,5,2,1]=>0000000
[7,8,6,3,4,5,2,1]=>0000000
[8,6,7,3,4,5,2,1]=>0000000
[7,6,8,3,4,5,2,1]=>0000000
[6,7,8,3,4,5,2,1]=>0000000
[8,7,5,4,3,6,2,1]=>0000000
[7,8,5,4,3,6,2,1]=>0000000
[8,7,4,5,3,6,2,1]=>0000000
[8,7,5,3,4,6,2,1]=>0000000
[7,8,5,3,4,6,2,1]=>0000000
[8,7,4,3,5,6,2,1]=>0000000
[8,7,3,4,5,6,2,1]=>0000000
[8,6,5,4,3,7,2,1]=>0000000
[8,6,4,3,5,7,2,1]=>0000000
[8,5,4,3,6,7,2,1]=>0000000
[8,5,3,4,6,7,2,1]=>0000000
[8,4,3,5,6,7,2,1]=>0000000
[8,3,4,5,6,7,2,1]=>0000000
[7,6,5,4,3,8,2,1]=>0000000
[6,7,5,4,3,8,2,1]=>0000000
[7,5,6,4,3,8,2,1]=>0000000
[5,6,7,4,3,8,2,1]=>0000000
[7,5,4,6,3,8,2,1]=>0000000
[6,5,4,7,3,8,2,1]=>0000000
[5,4,6,7,3,8,2,1]=>0000000
[4,5,6,7,3,8,2,1]=>0000000
[7,6,5,3,4,8,2,1]=>0000000
[7,6,4,3,5,8,2,1]=>0000000
[7,6,3,4,5,8,2,1]=>0000000
[7,5,4,3,6,8,2,1]=>0000000
[6,5,4,3,7,8,2,1]=>0000000
[5,4,3,6,7,8,2,1]=>0000000
[5,3,4,6,7,8,2,1]=>0000000
[4,3,5,6,7,8,2,1]=>0000000
[3,4,5,6,7,8,2,1]=>0000000
[8,7,6,5,4,2,3,1]=>0000000
[7,8,6,5,4,2,3,1]=>0000000
[8,6,7,5,4,2,3,1]=>0000000
[7,6,8,5,4,2,3,1]=>0000000
[8,7,5,6,4,2,3,1]=>0000000
[8,5,6,7,4,2,3,1]=>0000000
[7,6,5,8,4,2,3,1]=>0000000
[6,7,5,8,4,2,3,1]=>0000000
[5,6,7,8,4,2,3,1]=>0000000
[8,7,6,4,5,2,3,1]=>0000000
[8,6,7,4,5,2,3,1]=>0000000
[7,6,8,4,5,2,3,1]=>0000000
[6,7,8,4,5,2,3,1]=>0000000
[7,8,4,5,6,2,3,1]=>0000000
[6,7,4,5,8,2,3,1]=>0000000
[4,5,6,7,8,2,3,1]=>0000000
[7,8,6,5,3,2,4,1]=>0000000
[7,6,8,5,3,2,4,1]=>0000000
[6,7,8,5,3,2,4,1]=>0000000
[8,6,5,7,3,2,4,1]=>0000000
[8,5,6,7,3,2,4,1]=>0000000
[7,6,5,8,3,2,4,1]=>0000000
[6,7,5,8,3,2,4,1]=>0000000
[5,6,7,8,3,2,4,1]=>0000000
[8,7,6,5,2,3,4,1]=>0000000
[8,6,7,5,2,3,4,1]=>0000000
[7,6,8,5,2,3,4,1]=>0000000
[6,7,8,5,2,3,4,1]=>0000000
[8,7,5,6,2,3,4,1]=>0000000
[8,6,5,7,2,3,4,1]=>0000000
[8,5,6,7,2,3,4,1]=>0000000
[7,6,5,8,2,3,4,1]=>0000000
[6,7,5,8,2,3,4,1]=>0000000
[6,5,7,8,2,3,4,1]=>0000000
[5,6,7,8,2,3,4,1]=>0000000
[7,6,8,4,3,2,5,1]=>0000000
[7,8,6,3,4,2,5,1]=>0000000
[6,7,8,3,4,2,5,1]=>0000000
[6,7,8,4,2,3,5,1]=>0000000
[8,7,6,3,2,4,5,1]=>0000000
[8,6,7,3,2,4,5,1]=>0000000
[6,7,8,3,2,4,5,1]=>0000000
[8,7,6,2,3,4,5,1]=>0000000
[7,8,6,2,3,4,5,1]=>0000000
[8,6,7,2,3,4,5,1]=>0000000
[7,6,8,2,3,4,5,1]=>0000000
[6,7,8,2,3,4,5,1]=>0000000
[7,8,5,4,3,2,6,1]=>0000000
[8,7,4,3,5,2,6,1]=>0000000
[7,8,4,3,5,2,6,1]=>0000000
[8,7,5,4,2,3,6,1]=>0000000
[8,7,4,3,2,5,6,1]=>0000000
[7,8,4,3,2,5,6,1]=>0000000
[7,8,3,2,4,5,6,1]=>0000000
[8,7,2,3,4,5,6,1]=>0000000
[7,8,2,3,4,5,6,1]=>0000000
[8,6,5,4,3,2,7,1]=>0000000
[8,5,6,4,3,2,7,1]=>0000000
[8,6,4,5,3,2,7,1]=>0000000
[8,5,4,6,3,2,7,1]=>0000000
[8,6,4,3,5,2,7,1]=>0000000
[8,6,3,4,5,2,7,1]=>0000000
[8,5,4,3,6,2,7,1]=>0000000
[8,4,5,3,6,2,7,1]=>0000000
[8,3,4,5,6,2,7,1]=>0000000
[8,6,5,4,2,3,7,1]=>0000000
[8,6,5,3,2,4,7,1]=>0000000
[8,6,4,3,2,5,7,1]=>0000000
[8,6,4,2,3,5,7,1]=>0000000
[8,5,4,3,2,6,7,1]=>0000000
[8,4,5,3,2,6,7,1]=>0000000
[8,5,3,4,2,6,7,1]=>0000000
[8,4,5,2,3,6,7,1]=>0000000
[8,4,3,2,5,6,7,1]=>0000000
[8,3,4,2,5,6,7,1]=>0000000
[8,3,2,4,5,6,7,1]=>0000000
[8,2,3,4,5,6,7,1]=>0000000
[7,6,5,4,3,2,8,1]=>0000000
[6,7,5,4,3,2,8,1]=>0000000
[6,5,7,4,3,2,8,1]=>0000000
[7,6,4,5,3,2,8,1]=>0000000
[6,7,4,5,3,2,8,1]=>0000000
[4,5,6,7,3,2,8,1]=>0000000
[7,6,4,3,5,2,8,1]=>0000000
[7,6,3,4,5,2,8,1]=>0000000
[7,5,4,3,6,2,8,1]=>0000000
[7,3,4,5,6,2,8,1]=>0000000
[6,5,4,3,7,2,8,1]=>0000000
[6,4,5,3,7,2,8,1]=>0000000
[5,4,6,3,7,2,8,1]=>0000000
[6,5,3,4,7,2,8,1]=>0000000
[5,6,3,4,7,2,8,1]=>0000000
[6,4,3,5,7,2,8,1]=>0000000
[6,3,4,5,7,2,8,1]=>0000000
[5,4,3,6,7,2,8,1]=>0000000
[3,4,5,6,7,2,8,1]=>0000000
[7,6,5,4,2,3,8,1]=>0000000
[6,7,5,4,2,3,8,1]=>0000000
[6,5,7,4,2,3,8,1]=>0000000
[6,7,4,5,2,3,8,1]=>0000000
[7,5,4,6,2,3,8,1]=>0000000
[6,5,4,7,2,3,8,1]=>0000000
[5,4,6,7,2,3,8,1]=>0000000
[4,5,6,7,2,3,8,1]=>0000000
[7,6,5,3,2,4,8,1]=>0000000
[6,7,5,3,2,4,8,1]=>0000000
[6,5,7,3,2,4,8,1]=>0000000
[7,6,5,2,3,4,8,1]=>0000000
[7,5,6,2,3,4,8,1]=>0000000
[5,6,7,2,3,4,8,1]=>0000000
[6,7,4,3,2,5,8,1]=>0000000
[7,6,4,2,3,5,8,1]=>0000000
[6,7,3,2,4,5,8,1]=>0000000
[7,6,2,3,4,5,8,1]=>0000000
[6,7,2,3,4,5,8,1]=>0000000
[7,5,4,3,2,6,8,1]=>0000000
[7,4,3,5,2,6,8,1]=>0000000
[7,4,5,2,3,6,8,1]=>0000000
[7,5,3,2,4,6,8,1]=>0000000
[7,4,3,2,5,6,8,1]=>0000000
[7,2,3,4,5,6,8,1]=>0000000
[6,5,4,3,2,7,8,1]=>0000000
[5,4,6,3,2,7,8,1]=>0000000
[6,3,4,5,2,7,8,1]=>0000000
[5,4,3,6,2,7,8,1]=>0000000
[4,3,5,6,2,7,8,1]=>0000000
[3,4,5,6,2,7,8,1]=>0000000
[6,5,4,2,3,7,8,1]=>0000000
[5,6,4,2,3,7,8,1]=>0000000
[6,4,5,2,3,7,8,1]=>0000000
[5,4,6,2,3,7,8,1]=>0000000
[6,5,3,2,4,7,8,1]=>0000000
[6,5,2,3,4,7,8,1]=>0000000
[6,2,3,4,5,7,8,1]=>0000000
[5,4,3,2,6,7,8,1]=>0000000
[5,3,4,2,6,7,8,1]=>0000000
[3,4,5,2,6,7,8,1]=>0000000
[5,4,2,3,6,7,8,1]=>0000000
[4,5,2,3,6,7,8,1]=>0000000
[5,3,2,4,6,7,8,1]=>0000000
[5,2,3,4,6,7,8,1]=>0000000
[4,3,2,5,6,7,8,1]=>0000000
[3,4,2,5,6,7,8,1]=>0000000
[4,2,3,5,6,7,8,1]=>0000000
[3,2,4,5,6,7,8,1]=>0000000
[2,3,4,5,6,7,8,1]=>0000000
[8,7,6,5,4,3,1,2]=>0000000
[7,8,6,5,4,3,1,2]=>0000000
[8,6,7,5,4,3,1,2]=>0000000
[7,6,8,5,4,3,1,2]=>0000000
[6,7,8,5,4,3,1,2]=>0000000
[8,7,5,6,4,3,1,2]=>0000000
[8,6,5,7,4,3,1,2]=>0000000
[7,6,5,8,4,3,1,2]=>0000000
[6,7,5,8,4,3,1,2]=>0000000
[7,5,6,8,4,3,1,2]=>0000000
[5,6,7,8,4,3,1,2]=>0000000
[8,7,6,4,5,3,1,2]=>0000000
[8,6,7,4,5,3,1,2]=>0000000
[6,7,8,4,5,3,1,2]=>0000000
[7,8,4,5,6,3,1,2]=>0000000
[8,6,4,5,7,3,1,2]=>0000000
[7,6,5,4,8,3,1,2]=>0000000
[7,5,6,4,8,3,1,2]=>0000000
[6,5,7,4,8,3,1,2]=>0000000
[7,6,4,5,8,3,1,2]=>0000000
[6,7,4,5,8,3,1,2]=>0000000
[6,5,4,7,8,3,1,2]=>0000000
[5,4,6,7,8,3,1,2]=>0000000
[4,5,6,7,8,3,1,2]=>0000000
[8,7,6,5,3,4,1,2]=>0000000
[8,7,5,6,3,4,1,2]=>0000000
[7,8,5,6,3,4,1,2]=>0000000
[7,6,5,8,3,4,1,2]=>0000000
[6,7,5,8,3,4,1,2]=>0000000
[7,5,6,8,3,4,1,2]=>0000000
[6,5,7,8,3,4,1,2]=>0000000
[5,6,7,8,3,4,1,2]=>0000000
[8,7,6,3,4,5,1,2]=>0000000
[7,8,6,3,4,5,1,2]=>0000000
[8,6,7,3,4,5,1,2]=>0000000
[7,8,5,4,3,6,1,2]=>0000000
[8,7,4,5,3,6,1,2]=>0000000
[7,8,4,5,3,6,1,2]=>0000000
[7,8,5,3,4,6,1,2]=>0000000
[8,7,4,3,5,6,1,2]=>0000000
[7,8,4,3,5,6,1,2]=>0000000
[7,8,3,4,5,6,1,2]=>0000000
[8,6,5,4,3,7,1,2]=>0000000
[8,5,4,6,3,7,1,2]=>0000000
[8,3,4,5,6,7,1,2]=>0000000
[7,6,5,4,3,8,1,2]=>0000000
[7,5,6,4,3,8,1,2]=>0000000
[5,6,7,4,3,8,1,2]=>0000000
[6,7,4,5,3,8,1,2]=>0000000
[7,5,4,6,3,8,1,2]=>0000000
[6,5,4,7,3,8,1,2]=>0000000
[5,6,4,7,3,8,1,2]=>0000000
[4,5,6,7,3,8,1,2]=>0000000
[7,6,5,3,4,8,1,2]=>0000000
[7,6,3,4,5,8,1,2]=>0000000
[7,4,5,3,6,8,1,2]=>0000000
[7,3,4,5,6,8,1,2]=>0000000
[6,5,4,3,7,8,1,2]=>0000000
[5,6,4,3,7,8,1,2]=>0000000
[5,4,6,3,7,8,1,2]=>0000000
[4,5,6,3,7,8,1,2]=>0000000
[5,6,3,4,7,8,1,2]=>0000000
[6,4,3,5,7,8,1,2]=>0000000
[6,3,4,5,7,8,1,2]=>0000000
[5,4,3,6,7,8,1,2]=>0000000
[4,5,3,6,7,8,1,2]=>0000000
[5,3,4,6,7,8,1,2]=>0000000
[4,3,5,6,7,8,1,2]=>0000000
[3,4,5,6,7,8,1,2]=>0000000
[8,7,6,5,4,2,1,3]=>0000000
[7,8,6,5,4,2,1,3]=>0000000
[8,6,7,5,4,2,1,3]=>0000000
[7,6,8,5,4,2,1,3]=>0000000
[8,7,5,6,4,2,1,3]=>0000000
[7,8,5,6,4,2,1,3]=>0000000
[7,6,5,8,4,2,1,3]=>0000000
[6,7,5,8,4,2,1,3]=>0000000
[7,5,6,8,4,2,1,3]=>0000000
[5,6,7,8,4,2,1,3]=>0000000
[8,7,6,4,5,2,1,3]=>0000000
[7,6,5,4,8,2,1,3]=>0000000
[6,7,5,4,8,2,1,3]=>0000000
[6,5,7,4,8,2,1,3]=>0000000
[5,6,7,4,8,2,1,3]=>0000000
[7,6,4,5,8,2,1,3]=>0000000
[7,4,5,6,8,2,1,3]=>0000000
[5,4,6,7,8,2,1,3]=>0000000
[4,5,6,7,8,2,1,3]=>0000000
[8,7,6,5,4,1,2,3]=>0000000
[7,8,6,5,4,1,2,3]=>0000000
[7,6,8,5,4,1,2,3]=>0000000
[6,7,8,5,4,1,2,3]=>0000000
[8,5,6,7,4,1,2,3]=>0000000
[7,6,5,8,4,1,2,3]=>0000000
[6,7,5,8,4,1,2,3]=>0000000
[6,5,7,8,4,1,2,3]=>0000000
[5,6,7,8,4,1,2,3]=>0000000
[8,7,6,4,5,1,2,3]=>0000000
[8,6,7,4,5,1,2,3]=>0000000
[6,7,8,4,5,1,2,3]=>0000000
[8,7,5,4,6,1,2,3]=>0000000
[8,7,4,5,6,1,2,3]=>0000000
[7,8,4,5,6,1,2,3]=>0000000
[8,6,5,4,7,1,2,3]=>0000000
[8,6,4,5,7,1,2,3]=>0000000
[8,5,4,6,7,1,2,3]=>0000000
[8,4,5,6,7,1,2,3]=>0000000
[7,6,5,4,8,1,2,3]=>0000000
[6,7,5,4,8,1,2,3]=>0000000
[6,5,7,4,8,1,2,3]=>0000000
[6,7,4,5,8,1,2,3]=>0000000
[6,5,4,7,8,1,2,3]=>0000000
[5,4,6,7,8,1,2,3]=>0000000
[4,5,6,7,8,1,2,3]=>0000000
[8,7,6,5,3,2,1,4]=>0000000
[7,8,6,5,3,2,1,4]=>0000000
[8,6,7,5,3,2,1,4]=>0000000
[7,6,8,5,3,2,1,4]=>0000000
[6,7,8,5,3,2,1,4]=>0000000
[8,7,5,6,3,2,1,4]=>0000000
[7,8,5,6,3,2,1,4]=>0000000
[8,6,5,7,3,2,1,4]=>0000000
[8,5,6,7,3,2,1,4]=>0000000
[7,6,5,8,3,2,1,4]=>0000000
[6,7,5,8,3,2,1,4]=>0000000
[7,5,6,8,3,2,1,4]=>0000000
[6,5,7,8,3,2,1,4]=>0000000
[5,6,7,8,3,2,1,4]=>0000000
[8,7,6,5,2,3,1,4]=>0000000
[7,8,6,5,2,3,1,4]=>0000000
[8,6,7,5,2,3,1,4]=>0000000
[7,6,8,5,2,3,1,4]=>0000000
[6,7,8,5,2,3,1,4]=>0000000
[8,7,5,6,2,3,1,4]=>0000000
[7,8,5,6,2,3,1,4]=>0000000
[8,6,5,7,2,3,1,4]=>0000000
[8,5,6,7,2,3,1,4]=>0000000
[7,6,5,8,2,3,1,4]=>0000000
[6,7,5,8,2,3,1,4]=>0000000
[7,5,6,8,2,3,1,4]=>0000000
[6,5,7,8,2,3,1,4]=>0000000
[5,6,7,8,2,3,1,4]=>0000000
[8,7,6,5,3,1,2,4]=>0000000
[7,6,8,5,3,1,2,4]=>0000000
[7,8,5,6,3,1,2,4]=>0000000
[8,6,5,7,3,1,2,4]=>0000000
[7,6,5,8,3,1,2,4]=>0000000
[6,7,5,8,3,1,2,4]=>0000000
[7,5,6,8,3,1,2,4]=>0000000
[6,5,7,8,3,1,2,4]=>0000000
[5,6,7,8,3,1,2,4]=>0000000
[8,7,6,5,2,1,3,4]=>0000000
[7,8,6,5,2,1,3,4]=>0000000
[6,7,8,5,2,1,3,4]=>0000000
[8,7,5,6,2,1,3,4]=>0000000
[7,8,5,6,2,1,3,4]=>0000000
[8,6,5,7,2,1,3,4]=>0000000
[7,6,5,8,2,1,3,4]=>0000000
[6,7,5,8,2,1,3,4]=>0000000
[7,5,6,8,2,1,3,4]=>0000000
[6,5,7,8,2,1,3,4]=>0000000
[5,6,7,8,2,1,3,4]=>0000000
[8,7,6,5,1,2,3,4]=>0000000
[7,8,6,5,1,2,3,4]=>0000000
[8,6,7,5,1,2,3,4]=>0000000
[7,6,8,5,1,2,3,4]=>0000000
[6,7,8,5,1,2,3,4]=>0000000
[8,7,5,6,1,2,3,4]=>0000000
[7,8,5,6,1,2,3,4]=>0000000
[8,6,5,7,1,2,3,4]=>0000000
[8,5,6,7,1,2,3,4]=>0000000
[7,6,5,8,1,2,3,4]=>0000000
[6,7,5,8,1,2,3,4]=>0000000
[7,5,6,8,1,2,3,4]=>0000000
[6,5,7,8,1,2,3,4]=>0000000
[5,6,7,8,1,2,3,4]=>0000000
[8,7,6,4,3,2,1,5]=>0000000
[7,8,6,4,3,2,1,5]=>0000000
[8,6,7,4,3,2,1,5]=>0000000
[7,6,8,4,3,2,1,5]=>0000000
[6,7,8,4,3,2,1,5]=>0000000
[8,7,6,3,4,2,1,5]=>0000000
[6,7,8,3,4,2,1,5]=>0000000
[8,7,6,4,2,3,1,5]=>0000000
[7,6,8,4,2,3,1,5]=>0000000
[6,7,8,4,2,3,1,5]=>0000000
[8,7,6,3,2,4,1,5]=>0000000
[8,6,7,3,2,4,1,5]=>0000000
[6,7,8,3,2,4,1,5]=>0000000
[8,7,6,2,3,4,1,5]=>0000000
[7,6,8,2,3,4,1,5]=>0000000
[6,7,8,2,3,4,1,5]=>0000000
[8,7,6,4,3,1,2,5]=>0000000
[6,7,8,4,3,1,2,5]=>0000000
[8,7,6,3,4,1,2,5]=>0000000
[7,8,6,3,4,1,2,5]=>0000000
[6,7,8,3,4,1,2,5]=>0000000
[8,7,6,4,2,1,3,5]=>0000000
[6,7,8,4,2,1,3,5]=>0000000
[8,7,6,4,1,2,3,5]=>0000000
[7,6,8,4,1,2,3,5]=>0000000
[6,7,8,4,1,2,3,5]=>0000000
[8,7,6,3,2,1,4,5]=>0000000
[7,8,6,3,2,1,4,5]=>0000000
[7,6,8,3,2,1,4,5]=>0000000
[6,7,8,3,2,1,4,5]=>0000000
[8,7,6,2,3,1,4,5]=>0000000
[7,8,6,2,3,1,4,5]=>0000000
[7,6,8,2,3,1,4,5]=>0000000
[6,7,8,2,3,1,4,5]=>0000000
[8,7,6,3,1,2,4,5]=>0000000
[7,8,6,3,1,2,4,5]=>0000000
[8,6,7,3,1,2,4,5]=>0000000
[6,7,8,3,1,2,4,5]=>0000000
[8,7,6,2,1,3,4,5]=>0000000
[7,8,6,2,1,3,4,5]=>0000000
[6,7,8,2,1,3,4,5]=>0000000
[8,7,6,1,2,3,4,5]=>0000000
[7,8,6,1,2,3,4,5]=>0000000
[8,6,7,1,2,3,4,5]=>0000000
[7,6,8,1,2,3,4,5]=>0000000
[6,7,8,1,2,3,4,5]=>0000000
[8,7,5,4,3,2,1,6]=>0000000
[7,8,5,4,3,2,1,6]=>0000000
[8,7,4,5,3,2,1,6]=>0000000
[7,8,4,5,3,2,1,6]=>0000000
[8,7,3,4,5,2,1,6]=>0000000
[7,8,3,4,5,2,1,6]=>0000000
[8,7,4,5,2,3,1,6]=>0000000
[7,8,4,5,2,3,1,6]=>0000000
[8,7,5,3,2,4,1,6]=>0000000
[7,8,5,2,3,4,1,6]=>0000000
[8,7,4,3,2,5,1,6]=>0000000
[7,8,4,3,2,5,1,6]=>0000000
[7,8,3,4,2,5,1,6]=>0000000
[8,7,2,3,4,5,1,6]=>0000000
[7,8,2,3,4,5,1,6]=>0000000
[8,7,5,4,3,1,2,6]=>0000000
[8,7,5,3,4,1,2,6]=>0000000
[7,8,3,4,5,1,2,6]=>0000000
[7,8,5,4,2,1,3,6]=>0000000
[8,7,5,4,1,2,3,6]=>0000000
[7,8,5,4,1,2,3,6]=>0000000
[7,8,4,5,1,2,3,6]=>0000000
[8,7,5,3,2,1,4,6]=>0000000
[7,8,5,3,2,1,4,6]=>0000000
[8,7,5,2,1,3,4,6]=>0000000
[7,8,5,2,1,3,4,6]=>0000000
[8,7,5,1,2,3,4,6]=>0000000
[7,8,5,1,2,3,4,6]=>0000000
[8,7,4,3,2,1,5,6]=>0000000
[7,8,4,3,2,1,5,6]=>0000000
[8,7,3,4,2,1,5,6]=>0000000
[7,8,3,4,2,1,5,6]=>0000000
[7,8,4,2,3,1,5,6]=>0000000
[8,7,3,2,4,1,5,6]=>0000000
[7,8,3,2,4,1,5,6]=>0000000
[8,7,2,3,4,1,5,6]=>0000000
[7,8,2,3,4,1,5,6]=>0000000
[7,8,4,3,1,2,5,6]=>0000000
[7,8,3,4,1,2,5,6]=>0000000
[8,7,4,2,1,3,5,6]=>0000000
[7,8,4,2,1,3,5,6]=>0000000
[8,7,4,1,2,3,5,6]=>0000000
[7,8,4,1,2,3,5,6]=>0000000
[8,7,3,2,1,4,5,6]=>0000000
[7,8,3,2,1,4,5,6]=>0000000
[7,8,2,3,1,4,5,6]=>0000000
[7,8,3,1,2,4,5,6]=>0000000
[8,7,2,1,3,4,5,6]=>0000000
[7,8,2,1,3,4,5,6]=>0000000
[8,7,1,2,3,4,5,6]=>0000000
[7,8,1,2,3,4,5,6]=>0000000
[8,6,5,4,3,2,1,7]=>0000000
[8,5,6,4,3,2,1,7]=>0000000
[8,6,4,5,3,2,1,7]=>0000000
[8,4,5,6,3,2,1,7]=>0000000
[8,6,5,3,4,2,1,7]=>0000000
[8,5,6,3,4,2,1,7]=>0000000
[8,4,5,3,6,2,1,7]=>0000000
[8,4,3,5,6,2,1,7]=>0000000
[8,3,4,5,6,2,1,7]=>0000000
[8,6,5,4,2,3,1,7]=>0000000
[8,4,5,6,2,3,1,7]=>0000000
[8,6,5,2,3,4,1,7]=>0000000
[8,6,4,2,3,5,1,7]=>0000000
[8,5,4,3,2,6,1,7]=>0000000
[8,4,3,5,2,6,1,7]=>0000000
[8,4,5,2,3,6,1,7]=>0000000
[8,5,3,2,4,6,1,7]=>0000000
[8,3,4,2,5,6,1,7]=>0000000
[8,3,2,4,5,6,1,7]=>0000000
[8,2,3,4,5,6,1,7]=>0000000
[8,6,5,4,3,1,2,7]=>0000000
[8,6,4,5,3,1,2,7]=>0000000
[8,6,5,3,4,1,2,7]=>0000000
[8,5,6,3,4,1,2,7]=>0000000
[8,5,4,3,6,1,2,7]=>0000000
[8,4,3,5,6,1,2,7]=>0000000
[8,3,4,5,6,1,2,7]=>0000000
[8,6,5,4,2,1,3,7]=>0000000
[8,5,6,4,2,1,3,7]=>0000000
[8,6,5,4,1,2,3,7]=>0000000
[8,4,5,6,1,2,3,7]=>0000000
[8,6,5,3,2,1,4,7]=>0000000
[8,6,5,2,3,1,4,7]=>0000000
[8,5,6,2,3,1,4,7]=>0000000
[8,5,6,2,1,3,4,7]=>0000000
[8,6,5,1,2,3,4,7]=>0000000
[8,5,6,1,2,3,4,7]=>0000000
[8,6,4,3,2,1,5,7]=>0000000
[8,6,3,4,2,1,5,7]=>0000000
[8,6,4,2,3,1,5,7]=>0000000
[8,6,3,2,4,1,5,7]=>0000000
[8,6,2,3,4,1,5,7]=>0000000
[8,6,3,4,1,2,5,7]=>0000000
[8,6,4,2,1,3,5,7]=>0000000
[8,6,3,2,1,4,5,7]=>0000000
[8,6,1,2,3,4,5,7]=>0000000
[8,5,4,3,2,1,6,7]=>0000000
[8,4,5,3,2,1,6,7]=>0000000
[8,4,3,5,2,1,6,7]=>0000000
[8,3,4,5,2,1,6,7]=>0000000
[8,2,3,4,5,1,6,7]=>0000000
[8,5,4,2,1,3,6,7]=>0000000
[8,5,2,1,3,4,6,7]=>0000000
[8,5,1,2,3,4,6,7]=>0000000
[8,4,3,2,1,5,6,7]=>0000000
[8,4,2,3,1,5,6,7]=>0000000
[8,2,3,4,1,5,6,7]=>0000000
[8,4,1,2,3,5,6,7]=>0000000
[8,3,2,1,4,5,6,7]=>0000000
[8,2,3,1,4,5,6,7]=>0000000
[8,3,1,2,4,5,6,7]=>0000000
[8,2,1,3,4,5,6,7]=>0000000
[8,1,2,3,4,5,6,7]=>0000000
[7,6,5,4,3,2,1,8]=>0000001
[6,7,5,4,3,2,1,8]=>0000001
[7,5,6,4,3,2,1,8]=>0000001
[6,5,7,4,3,2,1,8]=>0000001
[5,6,7,4,3,2,1,8]=>0000001
[7,6,4,5,3,2,1,8]=>0000001
[6,7,4,5,3,2,1,8]=>0000001
[7,5,4,6,3,2,1,8]=>0000001
[7,4,5,6,3,2,1,8]=>0000001
[6,5,4,7,3,2,1,8]=>0000001
[5,6,4,7,3,2,1,8]=>0000001
[5,4,6,7,3,2,1,8]=>0000001
[4,5,6,7,3,2,1,8]=>0000001
[7,6,5,3,4,2,1,8]=>0000001
[6,7,5,3,4,2,1,8]=>0000001
[7,5,6,3,4,2,1,8]=>0000001
[5,6,7,3,4,2,1,8]=>0000001
[7,6,4,3,5,2,1,8]=>0000001
[6,7,4,3,5,2,1,8]=>0000001
[7,6,3,4,5,2,1,8]=>0000001
[7,5,4,3,6,2,1,8]=>0000001
[7,3,4,5,6,2,1,8]=>0000001
[6,5,4,3,7,2,1,8]=>0000001
[5,6,4,3,7,2,1,8]=>0000001
[5,4,6,3,7,2,1,8]=>0000001
[5,4,3,6,7,2,1,8]=>0000001
[3,4,5,6,7,2,1,8]=>0000001
[7,6,5,4,2,3,1,8]=>0000001
[6,7,5,4,2,3,1,8]=>0000001
[7,5,6,4,2,3,1,8]=>0000001
[5,6,7,4,2,3,1,8]=>0000001
[7,6,4,5,2,3,1,8]=>0000001
[6,7,4,5,2,3,1,8]=>0000001
[7,5,4,6,2,3,1,8]=>0000001
[6,5,4,7,2,3,1,8]=>0000001
[5,6,4,7,2,3,1,8]=>0000001
[5,4,6,7,2,3,1,8]=>0000001
[4,5,6,7,2,3,1,8]=>0000001
[7,6,5,3,2,4,1,8]=>0000001
[6,5,7,3,2,4,1,8]=>0000001
[5,6,7,3,2,4,1,8]=>0000001
[7,6,5,2,3,4,1,8]=>0000001
[6,7,5,2,3,4,1,8]=>0000001
[7,5,6,2,3,4,1,8]=>0000001
[6,5,7,2,3,4,1,8]=>0000001
[5,6,7,2,3,4,1,8]=>0000001
[7,6,4,3,2,5,1,8]=>0000001
[6,7,4,3,2,5,1,8]=>0000001
[6,7,3,4,2,5,1,8]=>0000001
[7,6,4,2,3,5,1,8]=>0000001
[6,7,4,2,3,5,1,8]=>0000001
[7,6,3,2,4,5,1,8]=>0000001
[6,7,3,2,4,5,1,8]=>0000001
[7,6,2,3,4,5,1,8]=>0000001
[6,7,2,3,4,5,1,8]=>0000001
[7,5,4,3,2,6,1,8]=>0000001
[7,4,5,3,2,6,1,8]=>0000001
[7,5,3,4,2,6,1,8]=>0000001
[7,4,3,5,2,6,1,8]=>0000001
[7,4,5,2,3,6,1,8]=>0000001
[7,5,3,2,4,6,1,8]=>0000001
[7,2,3,4,5,6,1,8]=>0000001
[6,5,4,3,2,7,1,8]=>0000001
[5,6,4,3,2,7,1,8]=>0000001
[5,4,6,3,2,7,1,8]=>0000001
[5,6,3,4,2,7,1,8]=>0000001
[6,3,4,5,2,7,1,8]=>0000001
[5,4,3,6,2,7,1,8]=>0000001
[4,5,3,6,2,7,1,8]=>0000001
[3,4,5,6,2,7,1,8]=>0000001
[6,3,2,4,5,7,1,8]=>0000001
[6,2,3,4,5,7,1,8]=>0000001
[5,4,3,2,6,7,1,8]=>0000001
[5,4,2,3,6,7,1,8]=>0000001
[5,2,3,4,6,7,1,8]=>0000001
[4,3,2,5,6,7,1,8]=>0000001
[3,4,2,5,6,7,1,8]=>0000001
[4,2,3,5,6,7,1,8]=>0000001
[3,2,4,5,6,7,1,8]=>0000001
[2,3,4,5,6,7,1,8]=>0000001
[7,6,5,4,3,1,2,8]=>0000001
[6,7,5,4,3,1,2,8]=>0000001
[7,5,6,4,3,1,2,8]=>0000001
[7,6,4,5,3,1,2,8]=>0000001
[5,4,6,7,3,1,2,8]=>0000001
[4,5,6,7,3,1,2,8]=>0000001
[7,6,5,3,4,1,2,8]=>0000001
[6,5,7,3,4,1,2,8]=>0000001
[6,7,3,4,5,1,2,8]=>0000001
[6,5,4,3,7,1,2,8]=>0000001
[6,4,5,3,7,1,2,8]=>0000001
[5,6,3,4,7,1,2,8]=>0000001
[4,3,5,6,7,1,2,8]=>0000001
[3,4,5,6,7,1,2,8]=>0000001
[7,6,5,4,2,1,3,8]=>0000001
[6,5,7,4,2,1,3,8]=>0000001
[7,6,4,5,2,1,3,8]=>0000001
[4,5,6,7,2,1,3,8]=>0000001
[7,6,5,4,1,2,3,8]=>0000001
[5,6,7,4,1,2,3,8]=>0000001
[7,4,5,6,1,2,3,8]=>0000001
[5,6,4,7,1,2,3,8]=>0000001
[5,4,6,7,1,2,3,8]=>0000001
[7,6,5,3,2,1,4,8]=>0000001
[7,6,5,2,3,1,4,8]=>0000001
[5,6,7,3,1,2,4,8]=>0000001
[7,6,5,2,1,3,4,8]=>0000001
[6,7,5,2,1,3,4,8]=>0000001
[5,6,7,2,1,3,4,8]=>0000001
[7,6,5,1,2,3,4,8]=>0000001
[6,7,5,1,2,3,4,8]=>0000001
[7,5,6,1,2,3,4,8]=>0000001
[6,5,7,1,2,3,4,8]=>0000001
[5,6,7,1,2,3,4,8]=>0000001
[7,6,4,3,2,1,5,8]=>0000001
[6,7,4,3,2,1,5,8]=>0000001
[7,6,3,4,2,1,5,8]=>0000001
[6,7,3,4,2,1,5,8]=>0000001
[7,6,4,2,3,1,5,8]=>0000001
[7,6,3,2,4,1,5,8]=>0000001
[6,7,3,2,4,1,5,8]=>0000001
[7,6,2,3,4,1,5,8]=>0000001
[6,7,2,3,4,1,5,8]=>0000001
[7,6,4,3,1,2,5,8]=>0000001
[6,7,3,4,1,2,5,8]=>0000001
[7,6,4,2,1,3,5,8]=>0000001
[7,6,3,2,1,4,5,8]=>0000001
[6,7,3,2,1,4,5,8]=>0000001
[6,7,2,3,1,4,5,8]=>0000001
[6,7,3,1,2,4,5,8]=>0000001
[7,6,1,2,3,4,5,8]=>0000001
[6,7,1,2,3,4,5,8]=>0000001
[7,5,4,3,2,1,6,8]=>0000001
[7,4,5,3,2,1,6,8]=>0000001
[7,4,3,5,2,1,6,8]=>0000001
[7,3,4,5,2,1,6,8]=>0000001
[7,5,4,2,3,1,6,8]=>0000001
[7,5,3,2,4,1,6,8]=>0000001
[7,5,2,3,4,1,6,8]=>0000001
[7,2,3,4,5,1,6,8]=>0000001
[7,5,4,3,1,2,6,8]=>0000001
[7,4,5,2,1,3,6,8]=>0000001
[7,4,5,1,2,3,6,8]=>0000001
[7,5,3,2,1,4,6,8]=>0000001
[7,5,2,3,1,4,6,8]=>0000001
[7,5,3,1,2,4,6,8]=>0000001
[7,5,1,2,3,4,6,8]=>0000001
[7,4,3,2,1,5,6,8]=>0000001
[7,2,3,4,1,5,6,8]=>0000001
[7,4,3,1,2,5,6,8]=>0000001
[7,4,1,2,3,5,6,8]=>0000001
[7,3,2,1,4,5,6,8]=>0000001
[7,2,3,1,4,5,6,8]=>0000001
[7,3,1,2,4,5,6,8]=>0000001
[7,2,1,3,4,5,6,8]=>0000001
[7,1,2,3,4,5,6,8]=>0000001
[6,5,4,3,2,1,7,8]=>0000011
[5,6,4,3,2,1,7,8]=>0000011
[5,4,6,3,2,1,7,8]=>0000011
[4,5,6,3,2,1,7,8]=>0000011
[6,5,3,4,2,1,7,8]=>0000011
[5,6,3,4,2,1,7,8]=>0000011
[5,4,3,6,2,1,7,8]=>0000011
[3,4,5,6,2,1,7,8]=>0000011
[6,5,2,3,4,1,7,8]=>0000011
[5,6,2,3,4,1,7,8]=>0000011
[6,4,3,2,5,1,7,8]=>0000011
[6,2,3,4,5,1,7,8]=>0000011
[5,4,3,2,6,1,7,8]=>0000011
[4,5,3,2,6,1,7,8]=>0000011
[3,4,5,2,6,1,7,8]=>0000011
[5,3,2,4,6,1,7,8]=>0000011
[5,2,3,4,6,1,7,8]=>0000011
[4,3,2,5,6,1,7,8]=>0000011
[3,4,2,5,6,1,7,8]=>0000011
[4,2,3,5,6,1,7,8]=>0000011
[3,2,4,5,6,1,7,8]=>0000011
[2,3,4,5,6,1,7,8]=>0000011
[6,5,4,3,1,2,7,8]=>0000011
[5,6,4,3,1,2,7,8]=>0000011
[6,4,5,3,1,2,7,8]=>0000011
[5,4,6,3,1,2,7,8]=>0000011
[5,6,3,4,1,2,7,8]=>0000011
[6,4,3,5,1,2,7,8]=>0000011
[5,4,3,6,1,2,7,8]=>0000011
[4,3,5,6,1,2,7,8]=>0000011
[3,4,5,6,1,2,7,8]=>0000011
[6,5,4,2,1,3,7,8]=>0000011
[5,6,4,2,1,3,7,8]=>0000011
[5,4,6,2,1,3,7,8]=>0000011
[4,5,6,2,1,3,7,8]=>0000011
[6,5,4,1,2,3,7,8]=>0000011
[4,5,6,1,2,3,7,8]=>0000011
[6,5,3,2,1,4,7,8]=>0000011
[5,6,3,2,1,4,7,8]=>0000011
[5,6,2,1,3,4,7,8]=>0000011
[6,4,3,2,1,5,7,8]=>0000011
[6,3,4,2,1,5,7,8]=>0000011
[6,4,3,1,2,5,7,8]=>0000011
[6,4,2,1,3,5,7,8]=>0000011
[6,4,1,2,3,5,7,8]=>0000011
[6,2,3,1,4,5,7,8]=>0000011
[6,3,1,2,4,5,7,8]=>0000011
[6,1,2,3,4,5,7,8]=>0000011
[5,4,3,2,1,6,7,8]=>0000111
[4,5,3,2,1,6,7,8]=>0000111
[5,3,4,2,1,6,7,8]=>0000111
[4,3,5,2,1,6,7,8]=>0000111
[3,4,5,2,1,6,7,8]=>0000111
[5,4,2,3,1,6,7,8]=>0000111
[4,5,2,3,1,6,7,8]=>0000111
[5,3,2,4,1,6,7,8]=>0000111
[5,2,3,4,1,6,7,8]=>0000111
[4,3,2,5,1,6,7,8]=>0000111
[3,4,2,5,1,6,7,8]=>0000111
[4,2,3,5,1,6,7,8]=>0000111
[3,2,4,5,1,6,7,8]=>0000111
[2,3,4,5,1,6,7,8]=>0000111
[5,4,3,1,2,6,7,8]=>0000111
[5,3,4,1,2,6,7,8]=>0000111
[4,3,5,1,2,6,7,8]=>0000111
[3,4,5,1,2,6,7,8]=>0000111
[5,4,2,1,3,6,7,8]=>0000111
[4,5,2,1,3,6,7,8]=>0000111
[5,4,1,2,3,6,7,8]=>0000111
[4,5,1,2,3,6,7,8]=>0000111
[5,3,2,1,4,6,7,8]=>0000111
[5,2,3,1,4,6,7,8]=>0000111
[5,3,1,2,4,6,7,8]=>0000111
[5,2,1,3,4,6,7,8]=>0000111
[5,1,2,3,4,6,7,8]=>0000111
[4,3,2,1,5,6,7,8]=>0001111
[3,4,2,1,5,6,7,8]=>0001111
[4,2,3,1,5,6,7,8]=>0001111
[3,2,4,1,5,6,7,8]=>0001111
[2,3,4,1,5,6,7,8]=>0001111
[4,3,1,2,5,6,7,8]=>0001111
[3,4,1,2,5,6,7,8]=>0001111
[4,2,1,3,5,6,7,8]=>0001111
[4,1,2,3,5,6,7,8]=>0001111
[3,2,1,4,5,6,7,8]=>0011111
[2,3,1,4,5,6,7,8]=>0011111
[3,1,2,4,5,6,7,8]=>0011111
[2,1,3,4,5,6,7,8]=>0111111
[1,2,3,4,5,6,7,8]=>1111111
[6,8,7,5,4,3,2,1]=>0000000
[5,8,7,6,4,3,2,1]=>0000000
[5,7,8,6,4,3,2,1]=>0000000
[6,5,8,7,4,3,2,1]=>0000000
[5,7,6,8,4,3,2,1]=>0000000
[4,8,7,6,5,3,2,1]=>0000000
[4,7,8,6,5,3,2,1]=>0000000
[4,6,8,7,5,3,2,1]=>0000000
[4,7,6,8,5,3,2,1]=>0000000
[4,6,7,8,5,3,2,1]=>0000000
[4,5,8,7,6,3,2,1]=>0000000
[4,5,7,8,6,3,2,1]=>0000000
[4,6,5,8,7,3,2,1]=>0000000
[4,5,6,8,7,3,2,1]=>0000000
[5,7,6,4,8,3,2,1]=>0000000
[4,7,6,5,8,3,2,1]=>0000000
[4,6,7,5,8,3,2,1]=>0000000
[5,4,7,6,8,3,2,1]=>0000000
[4,5,7,6,8,3,2,1]=>0000000
[4,6,5,7,8,3,2,1]=>0000000
[3,8,7,6,5,4,2,1]=>0000000
[3,7,8,6,5,4,2,1]=>0000000
[3,6,8,7,5,4,2,1]=>0000000
[3,5,8,7,6,4,2,1]=>0000000
[3,5,7,8,6,4,2,1]=>0000000
[3,5,6,8,7,4,2,1]=>0000000
[3,5,6,7,8,4,2,1]=>0000000
[4,3,8,7,6,5,2,1]=>0000000
[4,3,6,7,8,5,2,1]=>0000000
[3,4,8,7,6,5,2,1]=>0000000
[3,4,6,7,8,5,2,1]=>0000000
[5,4,3,8,7,6,2,1]=>0000000
[5,4,3,7,8,6,2,1]=>0000000
[4,5,3,7,8,6,2,1]=>0000000
[4,3,5,7,8,6,2,1]=>0000000
[3,4,5,8,7,6,2,1]=>0000000
[6,5,4,3,8,7,2,1]=>0000000
[5,6,4,3,8,7,2,1]=>0000000
[4,5,6,3,8,7,2,1]=>0000000
[4,3,6,5,8,7,2,1]=>0000000
[5,4,3,6,8,7,2,1]=>0000000
[4,5,3,6,8,7,2,1]=>0000000
[4,3,5,6,8,7,2,1]=>0000000
[3,4,5,6,8,7,2,1]=>0000000
[5,4,7,6,3,8,2,1]=>0000000
[3,7,6,5,4,8,2,1]=>0000000
[4,3,7,6,5,8,2,1]=>0000000
[3,4,7,6,5,8,2,1]=>0000000
[4,5,3,7,6,8,2,1]=>0000000
[4,3,5,7,6,8,2,1]=>0000000
[3,6,5,4,7,8,2,1]=>0000000
[3,4,6,5,7,8,2,1]=>0000000
[2,8,7,6,5,4,3,1]=>0000000
[2,7,8,6,5,4,3,1]=>0000000
[2,6,8,7,5,4,3,1]=>0000000
[2,7,6,8,5,4,3,1]=>0000000
[2,6,7,8,5,4,3,1]=>0000000
[2,5,8,7,6,4,3,1]=>0000000
[2,5,6,7,8,4,3,1]=>0000000
[2,4,8,7,6,5,3,1]=>0000000
[2,4,7,8,6,5,3,1]=>0000000
[2,4,6,8,7,5,3,1]=>0000000
[2,4,6,7,8,5,3,1]=>0000000
[2,5,4,8,7,6,3,1]=>0000000
[2,4,5,7,8,6,3,1]=>0000000
[2,6,5,4,8,7,3,1]=>0000000
[2,5,6,4,8,7,3,1]=>0000000
[2,4,6,5,8,7,3,1]=>0000000
[2,4,5,6,8,7,3,1]=>0000000
[2,4,7,6,5,8,3,1]=>0000000
[2,4,6,7,5,8,3,1]=>0000000
[2,6,5,4,7,8,3,1]=>0000000
[2,4,6,5,7,8,3,1]=>0000000
[2,4,5,6,7,8,3,1]=>0000000
[3,2,8,7,6,5,4,1]=>0000000
[3,2,6,8,7,5,4,1]=>0000000
[3,2,5,7,6,8,4,1]=>0000000
[3,2,5,6,7,8,4,1]=>0000000
[2,3,8,7,6,5,4,1]=>0000000
[2,3,6,7,8,5,4,1]=>0000000
[2,3,5,8,7,6,4,1]=>0000000
[2,3,5,6,8,7,4,1]=>0000000
[2,3,5,6,7,8,4,1]=>0000000
[4,3,2,8,7,6,5,1]=>0000000
[4,3,2,7,8,6,5,1]=>0000000
[4,3,2,6,8,7,5,1]=>0000000
[3,4,2,8,7,6,5,1]=>0000000
[3,4,2,7,8,6,5,1]=>0000000
[2,4,3,8,7,6,5,1]=>0000000
[2,4,3,6,8,7,5,1]=>0000000
[2,4,3,6,7,8,5,1]=>0000000
[3,2,4,8,7,6,5,1]=>0000000
[2,3,4,8,7,6,5,1]=>0000000
[2,3,4,6,8,7,5,1]=>0000000
[2,3,4,6,7,8,5,1]=>0000000
[5,4,3,2,8,7,6,1]=>0000000
[5,4,3,2,7,8,6,1]=>0000000
[4,5,3,2,8,7,6,1]=>0000000
[4,3,5,2,8,7,6,1]=>0000000
[2,5,4,3,8,7,6,1]=>0000000
[2,5,4,3,7,8,6,1]=>0000000
[2,4,5,3,8,7,6,1]=>0000000
[2,4,5,3,7,8,6,1]=>0000000
[2,3,5,4,8,7,6,1]=>0000000
[4,3,2,5,8,7,6,1]=>0000000
[2,3,4,5,8,7,6,1]=>0000000
[2,3,4,5,7,8,6,1]=>0000000
[6,5,4,3,2,8,7,1]=>0000000
[4,6,5,3,2,8,7,1]=>0000000
[5,4,6,3,2,8,7,1]=>0000000
[4,5,6,3,2,8,7,1]=>0000000
[4,3,6,5,2,8,7,1]=>0000000
[2,6,5,4,3,8,7,1]=>0000000
[2,4,6,5,3,8,7,1]=>0000000
[2,4,5,6,3,8,7,1]=>0000000
[3,2,6,5,4,8,7,1]=>0000000
[4,3,2,6,5,8,7,1]=>0000000
[3,4,2,6,5,8,7,1]=>0000000
[2,4,3,6,5,8,7,1]=>0000000
[2,3,4,6,5,8,7,1]=>0000000
[5,4,3,2,6,8,7,1]=>0000000
[2,5,4,3,6,8,7,1]=>0000000
[2,4,5,3,6,8,7,1]=>0000000
[4,3,2,5,6,8,7,1]=>0000000
[3,4,2,5,6,8,7,1]=>0000000
[2,4,3,5,6,8,7,1]=>0000000
[2,3,4,5,6,8,7,1]=>0000000
[5,7,6,4,3,2,8,1]=>0000000
[4,7,6,5,3,2,8,1]=>0000000
[4,6,7,5,3,2,8,1]=>0000000
[4,6,5,7,3,2,8,1]=>0000000
[3,5,7,6,4,2,8,1]=>0000000
[4,3,6,7,5,2,8,1]=>0000000
[5,4,3,7,6,2,8,1]=>0000000
[3,5,4,7,6,2,8,1]=>0000000
[3,4,5,7,6,2,8,1]=>0000000
[4,6,5,3,7,2,8,1]=>0000000
[3,6,5,4,7,2,8,1]=>0000000
[3,5,6,4,7,2,8,1]=>0000000
[4,3,6,5,7,2,8,1]=>0000000
[3,4,6,5,7,2,8,1]=>0000000
[2,7,6,5,4,3,8,1]=>0000000
[2,6,5,7,4,3,8,1]=>0000000
[2,4,6,7,5,3,8,1]=>0000000
[2,5,4,7,6,3,8,1]=>0000000
[2,4,6,5,7,3,8,1]=>0000000
[2,4,5,6,7,3,8,1]=>0000000
[3,2,7,6,5,4,8,1]=>0000000
[3,2,6,7,5,4,8,1]=>0000000
[2,3,7,6,5,4,8,1]=>0000000
[2,3,5,7,6,4,8,1]=>0000000
[2,3,5,6,7,4,8,1]=>0000000
[4,3,2,7,6,5,8,1]=>0000000
[3,4,2,7,6,5,8,1]=>0000000
[3,4,2,6,7,5,8,1]=>0000000
[2,4,3,7,6,5,8,1]=>0000000
[2,4,3,6,7,5,8,1]=>0000000
[3,2,4,7,6,5,8,1]=>0000000
[2,3,4,7,6,5,8,1]=>0000000
[2,3,4,6,7,5,8,1]=>0000000
[5,4,3,2,7,6,8,1]=>0000000
[4,3,5,2,7,6,8,1]=>0000000
[2,5,4,3,7,6,8,1]=>0000000
[3,2,5,4,7,6,8,1]=>0000000
[2,3,5,4,7,6,8,1]=>0000000
[4,3,2,5,7,6,8,1]=>0000000
[2,4,3,5,7,6,8,1]=>0000000
[3,2,4,5,7,6,8,1]=>0000000
[2,3,4,5,7,6,8,1]=>0000000
[3,4,6,5,2,7,8,1]=>0000000
[2,6,5,4,3,7,8,1]=>0000000
[2,5,6,4,3,7,8,1]=>0000000
[2,4,6,5,3,7,8,1]=>0000000
[2,4,5,6,3,7,8,1]=>0000000
[2,3,6,5,4,7,8,1]=>0000000
[2,3,5,6,4,7,8,1]=>0000000
[4,3,2,6,5,7,8,1]=>0000000
[2,4,3,6,5,7,8,1]=>0000000
[2,3,4,6,5,7,8,1]=>0000000
[3,5,4,2,6,7,8,1]=>0000000
[2,5,4,3,6,7,8,1]=>0000000
[2,4,5,3,6,7,8,1]=>0000000
[3,2,5,4,6,7,8,1]=>0000000
[2,3,5,4,6,7,8,1]=>0000000
[2,4,3,5,6,7,8,1]=>0000000
[1,8,7,6,5,4,3,2]=>1000000
[1,7,8,6,5,4,3,2]=>1000000
[1,6,8,7,5,4,3,2]=>1000000
[1,7,6,8,5,4,3,2]=>1000000
[1,6,7,8,5,4,3,2]=>1000000
[1,5,8,7,6,4,3,2]=>1000000
[1,6,5,8,7,4,3,2]=>1000000
[1,7,6,5,8,4,3,2]=>1000000
[1,6,7,5,8,4,3,2]=>1000000
[1,5,7,6,8,4,3,2]=>1000000
[1,6,5,7,8,4,3,2]=>1000000
[1,5,6,7,8,4,3,2]=>1000000
[1,4,8,7,6,5,3,2]=>1000000
[1,4,7,8,6,5,3,2]=>1000000
[1,4,6,8,7,5,3,2]=>1000000
[1,4,6,7,8,5,3,2]=>1000000
[1,5,4,7,8,6,3,2]=>1000000
[1,4,5,8,7,6,3,2]=>1000000
[1,4,6,5,8,7,3,2]=>1000000
[1,4,7,6,5,8,3,2]=>1000000
[1,6,5,4,7,8,3,2]=>1000000
[1,5,4,6,7,8,3,2]=>1000000
[1,4,5,6,7,8,3,2]=>1000000
[1,3,8,7,6,5,4,2]=>1000000
[1,3,7,8,6,5,4,2]=>1000000
[1,3,6,8,7,5,4,2]=>1000000
[1,3,6,7,8,5,4,2]=>1000000
[1,3,5,8,7,6,4,2]=>1000000
[1,3,5,7,8,6,4,2]=>1000000
[1,3,5,6,8,7,4,2]=>1000000
[1,3,6,5,7,8,4,2]=>1000000
[1,3,5,6,7,8,4,2]=>1000000
[1,4,3,8,7,6,5,2]=>1000000
[1,4,3,7,8,6,5,2]=>1000000
[1,4,3,6,8,7,5,2]=>1000000
[1,4,3,7,6,8,5,2]=>1000000
[1,4,3,6,7,8,5,2]=>1000000
[1,3,4,8,7,6,5,2]=>1000000
[1,3,4,7,6,8,5,2]=>1000000
[1,3,4,6,7,8,5,2]=>1000000
[1,3,5,4,8,7,6,2]=>1000000
[1,4,3,5,8,7,6,2]=>1000000
[1,4,3,5,7,8,6,2]=>1000000
[1,3,4,5,7,8,6,2]=>1000000
[1,6,5,4,3,8,7,2]=>1000000
[1,5,6,4,3,8,7,2]=>1000000
[1,4,6,5,3,8,7,2]=>1000000
[1,4,5,6,3,8,7,2]=>1000000
[1,3,6,5,4,8,7,2]=>1000000
[1,4,3,6,5,8,7,2]=>1000000
[1,5,4,3,6,8,7,2]=>1000000
[1,4,5,3,6,8,7,2]=>1000000
[1,3,4,5,6,8,7,2]=>1000000
[1,7,6,5,4,3,8,2]=>1000000
[1,4,6,7,5,3,8,2]=>1000000
[1,5,4,6,7,3,8,2]=>1000000
[1,3,5,6,7,4,8,2]=>1000000
[1,3,4,7,6,5,8,2]=>1000000
[1,3,4,6,7,5,8,2]=>1000000
[1,4,3,6,5,7,8,2]=>1000000
[1,3,4,6,5,7,8,2]=>1000000
[1,5,4,3,6,7,8,2]=>1000000
[1,4,5,3,6,7,8,2]=>1000000
[1,4,3,5,6,7,8,2]=>1000000
[1,3,4,5,6,7,8,2]=>1000000
[2,1,8,7,6,5,4,3]=>0100000
[2,1,6,7,8,5,4,3]=>0100000
[2,1,5,7,8,6,4,3]=>0100000
[2,1,6,5,8,7,4,3]=>0100000
[2,1,5,7,6,8,4,3]=>0100000
[2,1,5,6,7,8,4,3]=>0100000
[2,1,4,8,7,6,5,3]=>0100000
[2,1,4,7,8,6,5,3]=>0100000
[2,1,4,6,8,7,5,3]=>0100000
[2,1,4,6,7,8,5,3]=>0100000
[2,1,5,4,8,7,6,3]=>0100000
[2,1,4,5,8,7,6,3]=>0100000
[2,1,4,5,7,8,6,3]=>0100000
[2,1,4,6,5,8,7,3]=>0100000
[2,1,5,4,6,8,7,3]=>0100000
[2,1,4,5,6,8,7,3]=>0100000
[2,1,7,6,5,4,8,3]=>0100000
[2,1,6,7,5,4,8,3]=>0100000
[2,1,5,7,6,4,8,3]=>0100000
[2,1,5,6,7,4,8,3]=>0100000
[2,1,4,7,6,5,8,3]=>0100000
[2,1,5,4,7,6,8,3]=>0100000
[2,1,5,4,6,7,8,3]=>0100000
[2,1,4,5,6,7,8,3]=>0100000
[1,2,8,7,6,5,4,3]=>1100000
[1,2,7,8,6,5,4,3]=>1100000
[1,2,6,7,8,5,4,3]=>1100000
[1,2,5,8,7,6,4,3]=>1100000
[1,2,5,6,8,7,4,3]=>1100000
[1,2,7,6,5,8,4,3]=>1100000
[1,2,5,6,7,8,4,3]=>1100000
[1,2,4,8,7,6,5,3]=>1100000
[1,2,4,7,8,6,5,3]=>1100000
[1,2,4,6,8,7,5,3]=>1100000
[1,2,4,6,7,8,5,3]=>1100000
[1,2,5,4,8,7,6,3]=>1100000
[1,2,5,4,7,8,6,3]=>1100000
[1,2,4,5,8,7,6,3]=>1100000
[1,2,4,5,7,8,6,3]=>1100000
[1,2,6,5,4,8,7,3]=>1100000
[1,2,4,6,5,8,7,3]=>1100000
[1,2,5,4,6,8,7,3]=>1100000
[1,2,4,5,6,8,7,3]=>1100000
[1,2,5,6,7,4,8,3]=>1100000
[1,2,4,7,6,5,8,3]=>1100000
[1,2,5,4,7,6,8,3]=>1100000
[1,2,6,5,4,7,8,3]=>1100000
[1,2,5,4,6,7,8,3]=>1100000
[1,2,4,5,6,7,8,3]=>1100000
[3,2,1,8,7,6,5,4]=>0010000
[3,2,1,7,8,6,5,4]=>0010000
[3,2,1,6,8,7,5,4]=>0010000
[3,2,1,7,6,8,5,4]=>0010000
[3,2,1,6,7,8,5,4]=>0010000
[3,2,1,5,8,7,6,4]=>0010000
[3,2,1,5,7,8,6,4]=>0010000
[3,2,1,6,5,8,7,4]=>0010000
[3,2,1,5,6,8,7,4]=>0010000
[3,2,1,7,6,5,8,4]=>0010000
[3,2,1,6,7,5,8,4]=>0010000
[3,2,1,5,7,6,8,4]=>0010000
[3,2,1,6,5,7,8,4]=>0010000
[3,2,1,5,6,7,8,4]=>0010000
[2,3,1,8,7,6,5,4]=>0010000
[2,3,1,6,8,7,5,4]=>0010000
[2,3,1,7,6,8,5,4]=>0010000
[2,3,1,6,7,8,5,4]=>0010000
[2,3,1,6,5,8,7,4]=>0010000
[2,3,1,5,6,7,8,4]=>0010000
[1,3,2,8,7,6,5,4]=>1010000
[1,3,2,6,8,7,5,4]=>1010000
[1,3,2,6,7,8,5,4]=>1010000
[1,3,2,5,8,7,6,4]=>1010000
[1,3,2,5,7,8,6,4]=>1010000
[1,3,2,6,5,8,7,4]=>1010000
[1,3,2,5,6,8,7,4]=>1010000
[1,3,2,7,6,5,8,4]=>1010000
[2,1,3,8,7,6,5,4]=>0110000
[2,1,3,7,8,6,5,4]=>0110000
[2,1,3,6,8,7,5,4]=>0110000
[2,1,3,6,5,8,7,4]=>0110000
[2,1,3,5,6,7,8,4]=>0110000
[1,2,3,8,7,6,5,4]=>1110000
[1,2,3,7,8,6,5,4]=>1110000
[1,2,3,6,8,7,5,4]=>1110000
[1,2,3,7,6,8,5,4]=>1110000
[1,2,3,6,7,8,5,4]=>1110000
[1,2,3,5,8,7,6,4]=>1110000
[1,2,3,5,7,8,6,4]=>1110000
[1,2,3,6,5,8,7,4]=>1110000
[1,2,3,5,6,8,7,4]=>1110000
[1,2,3,7,6,5,8,4]=>1110000
[1,2,3,6,7,5,8,4]=>1110000
[1,2,3,5,7,6,8,4]=>1110000
[1,2,3,6,5,7,8,4]=>1110000
[1,2,3,5,6,7,8,4]=>1110000
[4,3,2,1,8,7,6,5]=>0001000
[4,3,2,1,7,8,6,5]=>0001000
[4,3,2,1,6,8,7,5]=>0001000
[4,3,2,1,7,6,8,5]=>0001000
[4,3,2,1,6,7,8,5]=>0001000
[3,4,2,1,8,7,6,5]=>0001000
[3,4,2,1,7,8,6,5]=>0001000
[3,4,2,1,6,7,8,5]=>0001000
[2,4,3,1,8,7,6,5]=>0001000
[2,4,3,1,7,6,8,5]=>0001000
[3,2,4,1,8,7,6,5]=>0001000
[3,2,4,1,7,8,6,5]=>0001000
[3,2,4,1,6,8,7,5]=>0001000
[3,2,4,1,7,6,8,5]=>0001000
[2,3,4,1,8,7,6,5]=>0001000
[2,3,4,1,6,7,8,5]=>0001000
[1,4,3,2,8,7,6,5]=>1001000
[1,4,3,2,6,8,7,5]=>1001000
[1,4,3,2,7,6,8,5]=>1001000
[1,4,3,2,6,7,8,5]=>1001000
[1,3,4,2,8,7,6,5]=>1001000
[1,3,4,2,7,8,6,5]=>1001000
[1,3,4,2,6,8,7,5]=>1001000
[2,1,4,3,8,7,6,5]=>0101000
[2,1,4,3,7,8,6,5]=>0101000
[2,1,4,3,6,8,7,5]=>0101000
[1,2,4,3,8,7,6,5]=>1101000
[1,2,4,3,7,8,6,5]=>1101000
[1,2,4,3,6,8,7,5]=>1101000
[1,2,4,3,6,7,8,5]=>1101000
[3,2,1,4,8,7,6,5]=>0011000
[3,2,1,4,7,8,6,5]=>0011000
[3,2,1,4,6,8,7,5]=>0011000
[2,3,1,4,8,7,6,5]=>0011000
[2,3,1,4,7,8,6,5]=>0011000
[2,3,1,4,6,7,8,5]=>0011000
[1,3,2,4,8,7,6,5]=>1011000
[1,3,2,4,6,8,7,5]=>1011000
[1,3,2,4,6,7,8,5]=>1011000
[2,1,3,4,8,7,6,5]=>0111000
[2,1,3,4,7,8,6,5]=>0111000
[2,1,3,4,6,7,8,5]=>0111000
[1,2,3,4,8,7,6,5]=>1111000
[1,2,3,4,7,8,6,5]=>1111000
[1,2,3,4,6,8,7,5]=>1111000
[1,2,3,4,7,6,8,5]=>1111000
[1,2,3,4,6,7,8,5]=>1111000
[5,4,3,2,1,8,7,6]=>0000100
[5,4,3,2,1,7,8,6]=>0000100
[4,5,3,2,1,8,7,6]=>0000100
[3,5,4,2,1,8,7,6]=>0000100
[3,5,4,2,1,7,8,6]=>0000100
[4,3,5,2,1,8,7,6]=>0000100
[3,4,5,2,1,8,7,6]=>0000100
[2,5,4,3,1,8,7,6]=>0000100
[2,4,5,3,1,8,7,6]=>0000100
[2,4,5,3,1,7,8,6]=>0000100
[3,2,5,4,1,8,7,6]=>0000100
[3,2,5,4,1,7,8,6]=>0000100
[2,3,5,4,1,8,7,6]=>0000100
[4,3,2,5,1,8,7,6]=>0000100
[3,4,2,5,1,8,7,6]=>0000100
[2,4,3,5,1,8,7,6]=>0000100
[3,2,4,5,1,8,7,6]=>0000100
[2,3,4,5,1,8,7,6]=>0000100
[2,3,4,5,1,7,8,6]=>0000100
[1,5,4,3,2,8,7,6]=>1000100
[1,5,4,3,2,7,8,6]=>1000100
[1,3,5,4,2,7,8,6]=>1000100
[1,3,4,5,2,8,7,6]=>1000100
[1,3,4,5,2,7,8,6]=>1000100
[2,1,5,4,3,8,7,6]=>0100100
[2,1,4,5,3,8,7,6]=>0100100
[1,2,5,4,3,8,7,6]=>1100100
[1,2,5,4,3,7,8,6]=>1100100
[1,2,4,5,3,8,7,6]=>1100100
[1,2,4,5,3,7,8,6]=>1100100
[1,3,2,5,4,8,7,6]=>1010100
[1,3,2,5,4,7,8,6]=>1010100
[2,1,3,5,4,8,7,6]=>0110100
[2,1,3,5,4,7,8,6]=>0110100
[1,2,3,5,4,8,7,6]=>1110100
[1,2,3,5,4,7,8,6]=>1110100
[4,3,2,1,5,8,7,6]=>0001100
[4,3,2,1,5,7,8,6]=>0001100
[2,4,3,1,5,8,7,6]=>0001100
[3,2,4,1,5,8,7,6]=>0001100
[1,4,3,2,5,8,7,6]=>1001100
[1,4,3,2,5,7,8,6]=>1001100
[1,3,4,2,5,7,8,6]=>1001100
[2,1,4,3,5,8,7,6]=>0101100
[2,1,4,3,5,7,8,6]=>0101100
[1,2,4,3,5,8,7,6]=>1101100
[1,2,4,3,5,7,8,6]=>1101100
[3,2,1,4,5,8,7,6]=>0011100
[3,2,1,4,5,7,8,6]=>0011100
[2,3,1,4,5,7,8,6]=>0011100
[1,3,2,4,5,8,7,6]=>1011100
[1,3,2,4,5,7,8,6]=>1011100
[2,1,3,4,5,8,7,6]=>0111100
[2,1,3,4,5,7,8,6]=>0111100
[1,2,3,4,5,8,7,6]=>1111100
[1,2,3,4,5,7,8,6]=>1111100
[6,5,4,3,2,1,8,7]=>0000010
[5,6,4,3,2,1,8,7]=>0000010
[4,6,5,3,2,1,8,7]=>0000010
[5,4,6,3,2,1,8,7]=>0000010
[4,5,6,3,2,1,8,7]=>0000010
[3,6,5,4,2,1,8,7]=>0000010
[4,3,6,5,2,1,8,7]=>0000010
[3,4,5,6,2,1,8,7]=>0000010
[2,6,5,4,3,1,8,7]=>0000010
[4,3,2,6,5,1,8,7]=>0000010
[5,4,3,2,6,1,8,7]=>0000010
[4,5,3,2,6,1,8,7]=>0000010
[3,5,4,2,6,1,8,7]=>0000010
[3,2,5,4,6,1,8,7]=>0000010
[4,3,2,5,6,1,8,7]=>0000010
[2,4,3,5,6,1,8,7]=>0000010
[2,3,4,5,6,1,8,7]=>0000010
[1,6,5,4,3,2,8,7]=>1000010
[1,5,6,4,3,2,8,7]=>1000010
[1,5,4,6,3,2,8,7]=>1000010
[1,3,6,5,4,2,8,7]=>1000010
[1,3,4,5,6,2,8,7]=>1000010
[2,1,6,5,4,3,8,7]=>0100010
[2,1,5,6,4,3,8,7]=>0100010
[2,1,5,4,6,3,8,7]=>0100010
[2,1,4,5,6,3,8,7]=>0100010
[1,2,4,5,6,3,8,7]=>1100010
[3,2,1,6,5,4,8,7]=>0010010
[2,3,1,6,5,4,8,7]=>0010010
[1,3,2,6,5,4,8,7]=>1010010
[1,3,2,5,6,4,8,7]=>1010010
[2,1,3,6,5,4,8,7]=>0110010
[2,1,3,5,6,4,8,7]=>0110010
[1,2,3,6,5,4,8,7]=>1110010
[1,2,3,5,6,4,8,7]=>1110010
[4,3,2,1,6,5,8,7]=>0001010
[3,4,2,1,6,5,8,7]=>0001010
[3,2,4,1,6,5,8,7]=>0001010
[2,3,4,1,6,5,8,7]=>0001010
[1,3,4,2,6,5,8,7]=>1001010
[2,1,4,3,6,5,8,7]=>0101010
[1,2,4,3,6,5,8,7]=>1101010
[2,3,1,4,6,5,8,7]=>0011010
[1,3,2,4,6,5,8,7]=>1011010
[2,1,3,4,6,5,8,7]=>0111010
[1,2,3,4,6,5,8,7]=>1111010
[5,4,3,2,1,6,8,7]=>0000110
[4,5,3,2,1,6,8,7]=>0000110
[3,5,4,2,1,6,8,7]=>0000110
[4,3,5,2,1,6,8,7]=>0000110
[3,4,5,2,1,6,8,7]=>0000110
[2,5,4,3,1,6,8,7]=>0000110
[2,4,5,3,1,6,8,7]=>0000110
[3,2,5,4,1,6,8,7]=>0000110
[2,3,5,4,1,6,8,7]=>0000110
[2,4,3,5,1,6,8,7]=>0000110
[2,3,4,5,1,6,8,7]=>0000110
[1,4,5,3,2,6,8,7]=>1000110
[1,3,5,4,2,6,8,7]=>1000110
[2,1,5,4,3,6,8,7]=>0100110
[1,2,5,4,3,6,8,7]=>1100110
[2,1,3,5,4,6,8,7]=>0110110
[1,2,3,5,4,6,8,7]=>1110110
[4,3,2,1,5,6,8,7]=>0001110
[2,3,4,1,5,6,8,7]=>0001110
[1,4,3,2,5,6,8,7]=>1001110
[1,3,4,2,5,6,8,7]=>1001110
[2,1,4,3,5,6,8,7]=>0101110
[1,2,4,3,5,6,8,7]=>1101110
[3,2,1,4,5,6,8,7]=>0011110
[2,3,1,4,5,6,8,7]=>0011110
[1,3,2,4,5,6,8,7]=>1011110
[2,1,3,4,5,6,8,7]=>0111110
[1,2,3,4,5,6,8,7]=>1111110
[5,7,6,4,3,2,1,8]=>0000001
[4,7,6,5,3,2,1,8]=>0000001
[4,6,7,5,3,2,1,8]=>0000001
[5,4,7,6,3,2,1,8]=>0000001
[4,5,7,6,3,2,1,8]=>0000001
[4,6,5,7,3,2,1,8]=>0000001
[3,5,7,6,4,2,1,8]=>0000001
[3,5,6,7,4,2,1,8]=>0000001
[4,3,7,6,5,2,1,8]=>0000001
[3,4,7,6,5,2,1,8]=>0000001
[4,5,3,7,6,2,1,8]=>0000001
[3,5,4,7,6,2,1,8]=>0000001
[4,3,5,7,6,2,1,8]=>0000001
[3,6,5,4,7,2,1,8]=>0000001
[4,3,6,5,7,2,1,8]=>0000001
[2,7,6,5,4,3,1,8]=>0000001
[2,6,7,5,4,3,1,8]=>0000001
[2,5,7,6,4,3,1,8]=>0000001
[2,5,6,7,4,3,1,8]=>0000001
[2,4,6,7,5,3,1,8]=>0000001
[2,5,6,4,7,3,1,8]=>0000001
[3,2,7,6,5,4,1,8]=>0000001
[3,2,6,7,5,4,1,8]=>0000001
[3,2,5,7,6,4,1,8]=>0000001
[3,2,6,5,7,4,1,8]=>0000001
[3,2,5,6,7,4,1,8]=>0000001
[2,3,7,6,5,4,1,8]=>0000001
[2,3,6,7,5,4,1,8]=>0000001
[2,3,5,7,6,4,1,8]=>0000001
[2,3,6,5,7,4,1,8]=>0000001
[2,3,5,6,7,4,1,8]=>0000001
[3,2,4,6,7,5,1,8]=>0000001
[2,3,4,7,6,5,1,8]=>0000001
[5,4,3,2,7,6,1,8]=>0000001
[4,5,3,2,7,6,1,8]=>0000001
[3,5,4,2,7,6,1,8]=>0000001
[4,3,5,2,7,6,1,8]=>0000001
[3,4,5,2,7,6,1,8]=>0000001
[3,2,5,4,7,6,1,8]=>0000001
[2,3,4,5,7,6,1,8]=>0000001
[3,4,6,5,2,7,1,8]=>0000001
[3,5,4,6,2,7,1,8]=>0000001
[2,5,4,6,3,7,1,8]=>0000001
[3,2,6,5,4,7,1,8]=>0000001
[4,3,2,6,5,7,1,8]=>0000001
[3,4,2,6,5,7,1,8]=>0000001
[2,4,3,6,5,7,1,8]=>0000001
[2,3,4,6,5,7,1,8]=>0000001
[3,5,4,2,6,7,1,8]=>0000001
[2,5,4,3,6,7,1,8]=>0000001
[1,7,6,5,4,3,2,8]=>1000001
[1,6,7,5,4,3,2,8]=>1000001
[1,6,5,7,4,3,2,8]=>1000001
[1,5,6,7,4,3,2,8]=>1000001
[1,5,6,4,7,3,2,8]=>1000001
[1,4,6,5,7,3,2,8]=>1000001
[1,3,6,7,5,4,2,8]=>1000001
[1,3,5,7,6,4,2,8]=>1000001
[1,3,5,6,7,4,2,8]=>1000001
[1,3,4,6,7,5,2,8]=>1000001
[1,3,5,4,7,6,2,8]=>1000001
[1,4,3,5,7,6,2,8]=>1000001
[1,5,4,6,3,7,2,8]=>1000001
[1,3,6,5,4,7,2,8]=>1000001
[1,3,5,6,4,7,2,8]=>1000001
[1,4,3,6,5,7,2,8]=>1000001
[1,4,5,3,6,7,2,8]=>1000001
[1,3,4,5,6,7,2,8]=>1000001
[2,1,7,6,5,4,3,8]=>0100001
[2,1,6,7,5,4,3,8]=>0100001
[2,1,5,6,7,4,3,8]=>0100001
[2,1,5,4,6,7,3,8]=>0100001
[2,1,4,5,6,7,3,8]=>0100001
[1,2,7,6,5,4,3,8]=>1100001
[1,2,6,7,5,4,3,8]=>1100001
[1,2,5,7,6,4,3,8]=>1100001
[1,2,5,6,7,4,3,8]=>1100001
[1,2,4,6,7,5,3,8]=>1100001
[1,2,5,6,4,7,3,8]=>1100001
[1,2,5,4,6,7,3,8]=>1100001
[1,2,4,5,6,7,3,8]=>1100001
[3,2,1,7,6,5,4,8]=>0010001
[3,2,1,5,7,6,4,8]=>0010001
[3,2,1,6,5,7,4,8]=>0010001
[2,3,1,6,5,7,4,8]=>0010001
[2,3,1,5,6,7,4,8]=>0010001
[1,3,2,5,7,6,4,8]=>1010001
[1,3,2,6,5,7,4,8]=>1010001
[2,1,3,6,7,5,4,8]=>0110001
[1,2,3,7,6,5,4,8]=>1110001
[1,2,3,6,7,5,4,8]=>1110001
[1,2,3,5,7,6,4,8]=>1110001
[1,2,3,6,5,7,4,8]=>1110001
[1,2,3,5,6,7,4,8]=>1110001
[4,3,2,1,7,6,5,8]=>0001001
[4,3,2,1,6,7,5,8]=>0001001
[2,3,4,1,7,6,5,8]=>0001001
[2,3,4,1,6,7,5,8]=>0001001
[1,4,3,2,7,6,5,8]=>1001001
[1,4,3,2,6,7,5,8]=>1001001
[1,3,4,2,6,7,5,8]=>1001001
[2,1,4,3,6,7,5,8]=>0101001
[1,2,4,3,6,7,5,8]=>1101001
[3,2,1,4,7,6,5,8]=>0011001
[1,3,2,4,7,6,5,8]=>1011001
[1,2,3,4,7,6,5,8]=>1111001
[1,2,3,4,6,7,5,8]=>1111001
[5,4,3,2,1,7,6,8]=>0000101
[3,5,4,2,1,7,6,8]=>0000101
[3,4,5,2,1,7,6,8]=>0000101
[2,4,5,3,1,7,6,8]=>0000101
[3,2,5,4,1,7,6,8]=>0000101
[2,3,5,4,1,7,6,8]=>0000101
[3,4,2,5,1,7,6,8]=>0000101
[2,4,3,5,1,7,6,8]=>0000101
[2,3,4,5,1,7,6,8]=>0000101
[1,3,5,4,2,7,6,8]=>1000101
[1,4,3,5,2,7,6,8]=>1000101
[1,3,4,5,2,7,6,8]=>1000101
[2,1,5,4,3,7,6,8]=>0100101
[1,2,4,5,3,7,6,8]=>1100101
[3,2,1,5,4,7,6,8]=>0010101
[2,3,1,5,4,7,6,8]=>0010101
[1,3,2,5,4,7,6,8]=>1010101
[1,2,3,5,4,7,6,8]=>1110101
[4,3,2,1,5,7,6,8]=>0001101
[1,4,3,2,5,7,6,8]=>1001101
[1,2,4,3,5,7,6,8]=>1101101
[3,2,1,4,5,7,6,8]=>0011101
[2,3,1,4,5,7,6,8]=>0011101
[1,3,2,4,5,7,6,8]=>1011101
[2,1,3,4,5,7,6,8]=>0111101
[1,2,3,4,5,7,6,8]=>1111101
[3,6,5,4,2,1,7,8]=>0000011
[4,3,6,5,2,1,7,8]=>0000011
[2,4,6,5,3,1,7,8]=>0000011
[2,4,5,6,3,1,7,8]=>0000011
[4,3,2,6,5,1,7,8]=>0000011
[2,4,3,6,5,1,7,8]=>0000011
[2,3,4,6,5,1,7,8]=>0000011
[3,5,4,2,6,1,7,8]=>0000011
[2,3,5,4,6,1,7,8]=>0000011
[1,6,5,4,3,2,7,8]=>1000011
[1,5,6,4,3,2,7,8]=>1000011
[1,4,6,5,3,2,7,8]=>1000011
[1,5,4,6,3,2,7,8]=>1000011
[1,4,5,6,3,2,7,8]=>1000011
[1,3,5,6,4,2,7,8]=>1000011
[1,4,3,6,5,2,7,8]=>1000011
[1,5,4,3,6,2,7,8]=>1000011
[1,4,5,3,6,2,7,8]=>1000011
[1,4,3,5,6,2,7,8]=>1000011
[1,3,4,5,6,2,7,8]=>1000011
[2,1,5,6,4,3,7,8]=>0100011
[2,1,4,6,5,3,7,8]=>0100011
[1,2,6,5,4,3,7,8]=>1100011
[1,2,5,6,4,3,7,8]=>1100011
[1,2,4,5,6,3,7,8]=>1100011
[3,2,1,6,5,4,7,8]=>0010011
[3,2,1,5,6,4,7,8]=>0010011
[2,3,1,6,5,4,7,8]=>0010011
[2,3,1,5,6,4,7,8]=>0010011
[1,3,2,6,5,4,7,8]=>1010011
[1,2,3,6,5,4,7,8]=>1110011
[1,2,3,5,6,4,7,8]=>1110011
[4,3,2,1,6,5,7,8]=>0001011
[2,4,3,1,6,5,7,8]=>0001011
[3,2,4,1,6,5,7,8]=>0001011
[2,3,4,1,6,5,7,8]=>0001011
[2,1,4,3,6,5,7,8]=>0101011
[1,2,4,3,6,5,7,8]=>1101011
[1,3,2,4,6,5,7,8]=>1011011
[2,1,3,4,6,5,7,8]=>0111011
[1,2,3,4,6,5,7,8]=>1111011
[3,5,4,2,1,6,7,8]=>0000111
[2,5,4,3,1,6,7,8]=>0000111
[2,4,5,3,1,6,7,8]=>0000111
[3,2,5,4,1,6,7,8]=>0000111
[2,3,5,4,1,6,7,8]=>0000111
[2,4,3,5,1,6,7,8]=>0000111
[1,3,4,5,2,6,7,8]=>1000111
[2,1,5,4,3,6,7,8]=>0100111
[2,1,4,5,3,6,7,8]=>0100111
[1,2,5,4,3,6,7,8]=>1100111
[3,2,1,5,4,6,7,8]=>0010111
[2,3,1,5,4,6,7,8]=>0010111
[1,3,2,5,4,6,7,8]=>1010111
[2,1,3,5,4,6,7,8]=>0110111
[1,2,3,5,4,6,7,8]=>1110111
[2,4,3,1,5,6,7,8]=>0001111
[1,4,3,2,5,6,7,8]=>1001111
[1,3,4,2,5,6,7,8]=>1001111
[2,1,4,3,5,6,7,8]=>0101111
[1,2,4,3,5,6,7,8]=>1101111
[1,3,2,4,5,6,7,8]=>1011111
[1,2,3,4,8,6,7,5]=>1111000
[1,2,3,5,8,6,7,4]=>1110000
[1,2,3,7,5,6,4,8]=>1110001
[1,2,3,7,5,6,8,4]=>1110000
[1,2,3,8,5,6,7,4]=>1110000
[1,2,3,8,5,7,6,4]=>1110000
[1,2,3,8,6,5,7,4]=>1110000
[1,2,3,8,6,7,5,4]=>1110000
[1,2,4,3,8,6,7,5]=>1101000
[1,2,4,5,8,6,7,3]=>1100000
[1,2,4,7,5,6,8,3]=>1100000
[1,2,4,8,6,5,7,3]=>1100000
[1,2,5,4,8,6,7,3]=>1100000
[1,2,6,4,5,3,7,8]=>1100011
[1,2,6,4,5,7,8,3]=>1100000
[1,2,7,4,5,6,8,3]=>1100000
[1,2,8,4,5,6,7,3]=>1100000
[1,2,8,4,7,6,5,3]=>1100000
[1,2,7,5,4,6,3,8]=>1100001
[1,2,7,5,4,6,8,3]=>1100000
[1,2,8,5,4,6,7,3]=>1100000
[1,2,8,5,4,7,6,3]=>1100000
[1,2,8,6,5,4,7,3]=>1100000
[1,2,8,6,5,7,4,3]=>1100000
[1,2,8,7,5,6,4,3]=>1100000
[1,3,2,4,8,6,7,5]=>1011000
[1,3,2,7,5,6,8,4]=>1010000
[1,3,2,8,5,7,6,4]=>1010000
[1,3,2,8,6,5,7,4]=>1010000
[1,3,2,8,6,7,5,4]=>1010000
[1,3,4,2,8,6,7,5]=>1001000
[1,3,6,4,5,2,8,7]=>1000010
[1,3,6,4,5,7,2,8]=>1000001
[1,3,6,4,5,7,8,2]=>1000000
[1,3,6,4,5,8,7,2]=>1000000
[1,3,7,4,5,6,8,2]=>1000000
[1,3,8,4,5,6,7,2]=>1000000
[1,3,8,4,6,7,5,2]=>1000000
[1,3,8,5,4,6,7,2]=>1000000
[1,3,8,5,4,7,6,2]=>1000000
[1,3,8,5,6,7,4,2]=>1000000
[1,3,8,5,7,6,4,2]=>1000000
[1,3,8,6,5,7,4,2]=>1000000
[1,3,8,7,5,6,4,2]=>1000000
[1,4,3,2,8,6,7,5]=>1001000
[1,4,3,5,8,6,7,2]=>1000000
[1,4,3,8,5,6,7,2]=>1000000
[1,4,3,8,5,7,6,2]=>1000000
[1,4,3,8,6,5,7,2]=>1000000
[1,4,3,8,6,7,5,2]=>1000000
[1,5,3,4,2,6,7,8]=>1000111
[1,5,3,4,2,7,8,6]=>1000100
[1,5,3,4,2,8,7,6]=>1000100
[1,5,3,4,6,2,8,7]=>1000010
[1,5,3,4,6,7,2,8]=>1000001
[1,5,3,4,6,7,8,2]=>1000000
[1,5,3,4,8,6,7,2]=>1000000
[1,6,3,4,5,2,7,8]=>1000011
[1,6,3,4,5,8,7,2]=>1000000
[1,7,3,4,5,6,2,8]=>1000001
[1,7,3,4,5,6,8,2]=>1000000
[1,8,3,4,5,6,7,2]=>1000000
[1,8,3,4,6,7,5,2]=>1000000
[1,8,3,4,7,6,5,2]=>1000000
[1,6,3,5,4,2,7,8]=>1000011
[1,6,3,5,4,8,7,2]=>1000000
[1,7,3,5,4,6,2,8]=>1000001
[1,8,3,5,4,6,7,2]=>1000000
[1,8,3,5,6,4,7,2]=>1000000
[1,8,3,5,7,6,4,2]=>1000000
[1,7,3,6,5,4,2,8]=>1000001
[1,8,3,6,5,4,7,2]=>1000000
[1,8,3,7,5,6,4,2]=>1000000
[1,8,3,7,6,5,4,2]=>1000000
[1,6,4,3,5,2,7,8]=>1000011
[1,6,4,3,5,8,7,2]=>1000000
[1,8,4,3,5,6,7,2]=>1000000
[1,8,4,3,5,7,6,2]=>1000000
[1,8,4,3,6,5,7,2]=>1000000
[1,8,4,3,6,7,5,2]=>1000000
[1,6,4,5,3,2,8,7]=>1000010
[1,6,4,5,3,8,7,2]=>1000000
[1,8,4,5,3,6,7,2]=>1000000
[1,7,4,5,6,3,8,2]=>1000000
[1,8,4,5,6,7,3,2]=>1000000
[1,7,4,6,5,3,2,8]=>1000001
[1,8,4,6,5,3,7,2]=>1000000
[1,8,4,6,5,7,3,2]=>1000000
[1,8,4,7,6,5,3,2]=>1000000
[1,7,5,4,3,6,2,8]=>1000001
[1,7,5,4,3,6,8,2]=>1000000
[1,8,5,4,3,6,7,2]=>1000000
[1,8,5,4,6,3,7,2]=>1000000
[1,8,5,4,6,7,3,2]=>1000000
[1,8,5,4,7,6,3,2]=>1000000
[1,7,6,4,5,3,2,8]=>1000001
[1,8,6,4,5,3,7,2]=>1000000
[1,8,6,4,5,7,3,2]=>1000000
[1,8,7,4,5,6,3,2]=>1000000
[1,8,7,4,6,5,3,2]=>1000000
[1,8,6,5,4,3,7,2]=>1000000
[1,8,6,5,4,7,3,2]=>1000000
[1,8,7,5,4,6,3,2]=>1000000
[1,8,7,5,6,4,3,2]=>1000000
[2,1,3,4,8,6,7,5]=>0111000
[2,1,3,8,5,7,6,4]=>0110000
[2,1,3,8,6,5,7,4]=>0110000
[2,1,3,8,6,7,5,4]=>0110000
[2,1,4,5,8,6,7,3]=>0100000
[2,1,4,8,6,5,7,3]=>0100000
[2,1,6,4,5,3,8,7]=>0100010
[2,1,6,4,5,8,7,3]=>0100000
[2,1,8,4,5,7,6,3]=>0100000
[2,1,8,4,6,7,5,3]=>0100000
[2,1,8,4,7,6,5,3]=>0100000
[2,1,8,5,4,6,7,3]=>0100000
[2,1,8,5,4,7,6,3]=>0100000
[2,1,7,5,6,4,8,3]=>0100000
[2,1,8,5,6,7,4,3]=>0100000
[2,1,8,5,7,6,4,3]=>0100000
[2,1,8,6,5,4,7,3]=>0100000
[2,1,8,6,5,7,4,3]=>0100000
[2,1,8,7,5,6,4,3]=>0100000
[2,3,1,8,5,6,7,4]=>0010000
[2,3,1,8,6,7,5,4]=>0010000
[2,3,4,5,8,6,7,1]=>0000000
[2,3,4,8,5,6,7,1]=>0000000
[2,3,4,8,6,5,7,1]=>0000000
[2,3,4,8,6,7,5,1]=>0000000
[2,3,6,4,5,7,8,1]=>0000000
[2,3,7,4,5,6,8,1]=>0000000
[2,3,8,4,5,6,7,1]=>0000000
[2,3,7,4,6,5,8,1]=>0000000
[2,3,7,5,4,6,8,1]=>0000000
[2,3,8,5,4,6,7,1]=>0000000
[2,3,7,5,6,4,1,8]=>0000001
[2,3,7,5,6,4,8,1]=>0000000
[2,3,8,5,6,4,7,1]=>0000000
[2,3,8,6,5,4,7,1]=>0000000
[2,4,3,5,8,6,7,1]=>0000000
[2,5,3,4,1,6,7,8]=>0000111
[2,5,3,4,1,8,7,6]=>0000100
[2,5,3,4,6,7,1,8]=>0000001
[2,5,3,4,6,7,8,1]=>0000000
[2,5,3,4,8,6,7,1]=>0000000
[2,5,3,4,8,7,6,1]=>0000000
[2,6,3,4,5,7,8,1]=>0000000
[2,8,3,4,5,6,7,1]=>0000000
[2,6,3,5,4,1,8,7]=>0000010
[2,6,3,5,4,7,8,1]=>0000000
[2,7,3,5,4,6,8,1]=>0000000
[2,7,3,5,6,4,8,1]=>0000000
[2,8,3,5,7,6,4,1]=>0000000
[2,7,3,6,5,4,1,8]=>0000001
[2,8,3,7,6,5,4,1]=>0000000
[2,5,4,3,8,6,7,1]=>0000000
[2,6,4,3,5,7,8,1]=>0000000
[2,7,4,3,5,6,8,1]=>0000000
[2,8,4,3,5,6,7,1]=>0000000
[2,8,4,3,5,7,6,1]=>0000000
[2,8,4,3,6,7,5,1]=>0000000
[2,8,4,3,7,6,5,1]=>0000000
[2,6,4,5,3,1,7,8]=>0000011
[2,6,4,5,3,7,8,1]=>0000000
[2,8,4,5,3,6,7,1]=>0000000
[2,7,4,6,5,3,1,8]=>0000001
[2,7,5,4,3,6,8,1]=>0000000
[2,8,5,4,3,6,7,1]=>0000000
[2,7,5,4,6,3,8,1]=>0000000
[2,8,5,4,6,7,3,1]=>0000000
[2,8,5,4,7,6,3,1]=>0000000
[2,8,7,4,6,5,3,1]=>0000000
[2,8,7,5,4,6,3,1]=>0000000
[2,8,7,5,6,4,3,1]=>0000000
[3,2,1,4,8,6,7,5]=>0011000
[3,2,1,5,8,6,7,4]=>0010000
[3,2,1,7,5,6,4,8]=>0010001
[3,2,1,7,5,6,8,4]=>0010000
[3,2,1,8,5,6,7,4]=>0010000
[3,2,1,8,5,7,6,4]=>0010000
[3,2,1,8,6,5,7,4]=>0010000
[3,2,1,8,6,7,5,4]=>0010000
[3,2,4,1,8,6,7,5]=>0001000
[3,2,4,5,8,6,7,1]=>0000000
[3,2,4,8,6,7,5,1]=>0000000
[3,2,5,4,8,6,7,1]=>0000000
[3,2,7,4,5,6,1,8]=>0000001
[3,2,8,4,5,6,7,1]=>0000000
[3,2,7,4,6,5,1,8]=>0000001
[3,2,7,4,6,5,8,1]=>0000000
[3,2,7,5,4,6,1,8]=>0000001
[3,2,8,5,4,6,7,1]=>0000000
[3,2,8,5,4,7,6,1]=>0000000
[3,2,7,5,6,4,1,8]=>0000001
[3,2,7,5,6,4,8,1]=>0000000
[3,2,8,5,7,6,4,1]=>0000000
[4,2,3,1,5,7,6,8]=>0001101
[4,2,3,1,5,8,7,6]=>0001100
[4,2,3,1,6,5,7,8]=>0001011
[4,2,3,1,7,6,5,8]=>0001001
[4,2,3,1,8,6,7,5]=>0001000
[4,2,3,1,8,7,6,5]=>0001000
[4,2,3,5,1,6,8,7]=>0000110
[4,2,3,5,1,7,8,6]=>0000100
[4,2,3,5,1,8,7,6]=>0000100
[4,2,3,5,6,1,8,7]=>0000010
[4,2,3,5,6,8,7,1]=>0000000
[4,2,3,6,5,8,7,1]=>0000000
[4,2,3,7,5,6,1,8]=>0000001
[4,2,3,7,5,6,8,1]=>0000000
[4,2,3,8,5,6,7,1]=>0000000
[4,2,3,7,6,5,8,1]=>0000000
[4,2,3,8,7,6,5,1]=>0000000
[5,2,3,4,1,7,8,6]=>0000100
[5,2,3,4,1,8,7,6]=>0000100
[5,2,3,4,6,1,8,7]=>0000010
[5,2,3,4,7,6,1,8]=>0000001
[5,2,3,4,8,7,6,1]=>0000000
[7,2,3,4,6,5,1,8]=>0000001
[6,2,3,5,4,1,7,8]=>0000011
[6,2,3,5,4,1,8,7]=>0000010
[6,2,3,5,4,7,1,8]=>0000001
[7,2,3,5,4,6,1,8]=>0000001
[8,2,3,5,4,6,7,1]=>0000000
[7,2,3,5,6,4,1,8]=>0000001
[7,2,3,6,5,4,1,8]=>0000001
[8,2,3,6,5,4,7,1]=>0000000
[8,2,3,7,5,6,4,1]=>0000000
[5,2,4,3,1,6,7,8]=>0000111
[5,2,4,3,1,6,8,7]=>0000110
[5,2,4,3,1,7,6,8]=>0000101
[5,2,4,3,1,8,7,6]=>0000100
[5,2,4,3,6,1,7,8]=>0000011
[5,2,4,3,6,1,8,7]=>0000010
[5,2,4,3,6,7,1,8]=>0000001
[5,2,4,3,7,6,1,8]=>0000001
[5,2,4,3,7,6,8,1]=>0000000
[7,2,4,3,6,5,1,8]=>0000001
[7,2,4,3,6,5,8,1]=>0000000
[8,2,4,3,6,5,7,1]=>0000000
[8,2,4,3,6,7,5,1]=>0000000
[6,2,4,5,3,1,7,8]=>0000011
[7,2,4,5,3,6,1,8]=>0000001
[7,2,4,5,3,6,8,1]=>0000000
[8,2,4,5,3,7,6,1]=>0000000
[7,2,4,6,5,3,1,8]=>0000001
[8,2,4,7,6,5,3,1]=>0000000
[6,2,5,4,3,1,7,8]=>0000011
[6,2,5,4,3,1,8,7]=>0000010
[7,2,5,4,3,6,1,8]=>0000001
[8,2,5,4,3,6,7,1]=>0000000
[8,2,5,4,3,7,6,1]=>0000000
[7,2,6,4,5,3,1,8]=>0000001
[8,2,6,4,5,3,7,1]=>0000000
[8,2,6,4,5,7,3,1]=>0000000
[8,2,7,4,5,6,3,1]=>0000000
[8,2,7,4,6,5,3,1]=>0000000
[8,2,6,5,4,3,7,1]=>0000000
[8,2,6,5,4,7,3,1]=>0000000
[8,2,7,5,4,6,3,1]=>0000000
[8,2,7,5,6,4,3,1]=>0000000
[8,2,7,6,5,4,3,1]=>0000000
[4,3,2,1,8,6,7,5]=>0001000
[4,3,2,7,5,6,8,1]=>0000000
[4,3,2,8,5,6,7,1]=>0000000
[4,3,2,8,5,7,6,1]=>0000000
[4,3,2,8,6,7,5,1]=>0000000
[5,3,2,4,1,6,8,7]=>0000110
[5,3,2,4,1,7,6,8]=>0000101
[5,3,2,4,1,8,7,6]=>0000100
[5,3,2,4,6,1,8,7]=>0000010
[5,3,2,4,7,6,1,8]=>0000001
[8,3,2,4,6,7,5,1]=>0000000
[6,3,2,5,4,1,7,8]=>0000011
[6,3,2,5,4,1,8,7]=>0000010
[6,3,2,5,4,7,1,8]=>0000001
[6,3,2,5,4,7,8,1]=>0000000
[7,3,2,5,4,6,1,8]=>0000001
[8,3,2,5,4,7,6,1]=>0000000
[8,3,2,5,6,4,7,1]=>0000000
[8,3,2,6,5,7,4,1]=>0000000
[8,3,2,7,5,6,4,1]=>0000000
[8,3,2,7,6,5,4,1]=>0000000
[5,3,4,2,1,6,8,7]=>0000110
[5,3,4,2,1,7,8,6]=>0000100
[5,3,4,2,1,8,7,6]=>0000100
[5,3,4,2,7,6,1,8]=>0000001
[7,3,4,2,6,5,1,8]=>0000001
[7,3,4,2,6,5,8,1]=>0000000
[8,3,4,2,6,5,7,1]=>0000000
[6,3,4,5,2,1,8,7]=>0000010
[6,3,4,5,2,8,7,1]=>0000000
[8,3,4,5,7,6,2,1]=>0000000
[7,3,4,6,5,2,1,8]=>0000001
[6,3,5,4,2,1,8,7]=>0000010
[6,3,5,4,2,7,1,8]=>0000001
[7,3,5,4,2,6,1,8]=>0000001
[7,3,5,4,6,2,1,8]=>0000001
[8,3,5,4,6,7,2,1]=>0000000
[8,3,5,4,7,6,2,1]=>0000000
[7,3,6,4,5,2,1,8]=>0000001
[8,3,7,4,6,5,2,1]=>0000000
[7,3,6,5,4,2,1,8]=>0000001
[7,3,6,5,4,2,8,1]=>0000000
[8,3,6,5,4,2,7,1]=>0000000
[8,3,6,5,4,7,2,1]=>0000000
[8,3,7,5,4,6,2,1]=>0000000
[8,3,7,6,5,4,2,1]=>0000000
[5,4,3,2,8,6,7,1]=>0000000
[6,4,3,2,5,1,8,7]=>0000010
[7,4,3,2,6,5,8,1]=>0000000
[6,4,3,5,2,1,8,7]=>0000010
[7,4,3,6,5,2,1,8]=>0000001
[7,4,3,6,5,2,8,1]=>0000000
[8,4,3,7,5,6,2,1]=>0000000
[6,5,3,4,2,1,8,7]=>0000010
[8,5,3,4,2,7,6,1]=>0000000
[8,5,3,4,7,6,2,1]=>0000000
[8,7,3,4,6,5,2,1]=>0000000
[7,6,3,5,4,2,1,8]=>0000001
[7,6,3,5,4,2,8,1]=>0000000
[8,7,3,5,4,6,2,1]=>0000000
[8,7,3,5,6,4,2,1]=>0000000
[8,7,3,6,5,4,2,1]=>0000000
[8,5,4,3,2,7,6,1]=>0000000
[8,7,4,3,6,5,2,1]=>0000000
[8,7,4,6,5,3,2,1]=>0000000
[2,4,1,3,6,5,8,7]=>0001010
[2,4,1,6,3,5,8,7]=>0000010
[2,4,6,1,3,5,8,7]=>0000010
[2,4,1,3,6,8,5,7]=>0001000
[2,1,4,6,3,8,5,7]=>0100000
[2,4,1,6,3,8,5,7]=>0000000
[2,4,6,1,3,8,5,7]=>0000000
[2,4,1,6,8,3,5,7]=>0000000
[2,4,6,1,8,3,5,7]=>0000000
[2,4,6,8,1,3,5,7]=>0000000
[2,4,1,3,6,5,7,8]=>0001011
[2,1,4,6,3,5,7,8]=>0100011
[2,4,1,6,3,5,7,8]=>0000011
[2,4,6,1,3,5,7,8]=>0000011
[2,1,4,6,3,7,5,8]=>0100001
[2,4,1,6,3,7,5,8]=>0000001
[2,4,6,1,3,7,5,8]=>0000001
[2,1,4,6,3,7,8,5]=>0100000
[2,4,1,6,3,7,8,5]=>0000000
[2,1,4,6,7,3,8,5]=>0100000
[2,4,1,6,7,3,8,5]=>0000000
[2,4,6,1,7,3,8,5]=>0000000
[2,4,6,7,1,3,8,5]=>0000000
[2,4,1,6,7,8,3,5]=>0000000
[2,4,6,7,8,1,3,5]=>0000000
[2,1,4,3,7,5,8,6]=>0101000
[2,4,1,3,7,5,8,6]=>0001000
[2,1,4,7,3,5,8,6]=>0100000
[2,4,1,7,3,5,8,6]=>0000000
[2,4,7,1,3,5,8,6]=>0000000
[2,1,4,3,7,8,5,6]=>0101000
[2,4,1,3,7,8,5,6]=>0001000
[2,4,1,7,3,8,5,6]=>0000000
[2,4,1,7,8,3,5,6]=>0000000
[2,4,7,8,1,3,5,6]=>0000000
[2,4,1,5,3,7,6,8]=>0000101
[2,4,5,1,3,7,6,8]=>0000101
[2,4,1,3,5,7,8,6]=>0001100
[2,4,1,5,3,7,8,6]=>0000100
[2,4,5,1,3,7,8,6]=>0000100
[2,1,4,5,7,3,8,6]=>0100000
[2,4,1,5,7,3,8,6]=>0000000
[2,4,5,1,7,3,8,6]=>0000000
[2,4,5,1,7,8,3,6]=>0000000
[2,4,5,7,8,1,3,6]=>0000000
[2,1,4,3,8,5,6,7]=>0101000
[2,4,1,3,8,5,6,7]=>0001000
[2,1,4,8,3,5,6,7]=>0100000
[2,4,1,8,3,5,6,7]=>0000000
[2,1,4,3,5,8,6,7]=>0101100
[2,4,1,5,3,8,6,7]=>0000100
[2,1,4,5,8,3,6,7]=>0100000
[2,4,5,1,8,3,6,7]=>0000000
[2,4,1,5,3,6,8,7]=>0000110
[2,4,1,5,6,3,8,7]=>0000010
[2,4,5,1,6,3,8,7]=>0000010
[2,1,4,5,6,8,3,7]=>0100000
[2,4,1,5,6,8,3,7]=>0000000
[2,4,5,6,8,1,3,7]=>0000000
[2,4,1,3,5,6,7,8]=>0001111
[2,4,1,5,3,6,7,8]=>0000111
[2,4,5,1,3,6,7,8]=>0000111
[2,4,1,5,6,3,7,8]=>0000011
[2,4,5,6,1,3,7,8]=>0000011
[2,4,1,5,6,7,3,8]=>0000001
[2,4,5,6,1,7,3,8]=>0000001
[2,4,5,6,7,1,3,8]=>0000001
[2,4,5,6,1,7,8,3]=>0000000
[2,4,5,6,7,1,8,3]=>0000000
[2,4,5,6,7,8,1,3]=>0000000
[2,1,5,3,6,4,8,7]=>0100010
[2,5,1,3,6,4,8,7]=>0000010
[2,1,5,6,3,4,8,7]=>0100010
[2,5,1,6,3,4,8,7]=>0000010
[2,1,5,3,6,8,4,7]=>0100000
[2,5,1,3,6,8,4,7]=>0000000
[2,5,6,1,3,8,4,7]=>0000000
[2,5,6,8,1,3,4,7]=>0000000
[2,5,1,3,6,4,7,8]=>0000011
[2,1,5,6,3,4,7,8]=>0100011
[2,5,1,6,3,4,7,8]=>0000011
[2,1,5,3,6,7,4,8]=>0100001
[2,1,5,6,3,7,4,8]=>0100001
[2,5,1,6,3,7,4,8]=>0000001
[2,5,6,1,3,7,4,8]=>0000001
[2,1,5,6,7,3,4,8]=>0100001
[2,5,6,1,7,3,4,8]=>0000001
[2,5,1,3,6,7,8,4]=>0000000
[2,1,5,6,3,7,8,4]=>0100000
[2,5,1,6,3,7,8,4]=>0000000
[2,5,6,1,3,7,8,4]=>0000000
[2,1,5,6,7,3,8,4]=>0100000
[2,5,1,6,7,3,8,4]=>0000000
[2,5,6,7,1,3,8,4]=>0000000
[2,1,5,6,7,8,3,4]=>0100000
[2,5,1,6,7,8,3,4]=>0000000
[2,5,6,1,7,8,3,4]=>0000000
[2,5,6,7,1,8,3,4]=>0000000
[2,5,6,7,8,1,3,4]=>0000000
[2,1,5,3,7,4,8,6]=>0100000
[2,5,1,3,7,4,8,6]=>0000000
[2,1,5,7,3,4,8,6]=>0100000
[2,5,1,7,3,4,8,6]=>0000000
[2,5,7,1,3,4,8,6]=>0000000
[2,1,5,3,7,8,4,6]=>0100000
[2,5,1,3,7,8,4,6]=>0000000
[2,1,5,7,3,8,4,6]=>0100000
[2,1,5,7,8,3,4,6]=>0100000
[2,5,1,7,8,3,4,6]=>0000000
[2,5,7,1,8,3,4,6]=>0000000
[2,5,7,8,1,3,4,6]=>0000000
[2,5,1,3,7,4,6,8]=>0000001
[2,1,5,7,3,4,6,8]=>0100001
[2,3,5,1,4,7,6,8]=>0000101
[2,3,5,7,1,4,6,8]=>0000001
[2,3,5,7,1,4,8,6]=>0000000
[2,3,1,5,7,8,4,6]=>0010000
[2,1,5,3,8,4,6,7]=>0100000
[2,5,1,8,3,4,6,7]=>0000000
[2,5,8,1,3,4,6,7]=>0000000
[2,3,5,1,4,8,6,7]=>0000100
[2,1,3,5,8,4,6,7]=>0110000
[2,3,5,8,1,4,6,7]=>0000000
[2,1,3,5,6,8,4,7]=>0110000
[2,3,1,5,6,8,4,7]=>0010000
[2,3,5,6,1,8,4,7]=>0000000
[2,3,5,6,8,1,4,7]=>0000000
[2,5,1,3,4,6,7,8]=>0000111
[2,3,5,1,4,6,7,8]=>0000111
[2,3,5,1,6,4,7,8]=>0000011
[2,3,5,6,1,4,7,8]=>0000011
[2,3,5,6,1,7,8,4]=>0000000
[2,3,5,6,7,8,1,4]=>0000000
[2,1,6,3,7,4,8,5]=>0100000
[2,6,1,3,7,4,8,5]=>0000000
[2,6,1,7,3,4,8,5]=>0000000
[2,6,7,1,3,4,8,5]=>0000000
[2,1,6,3,7,8,4,5]=>0100000
[2,6,1,7,3,8,4,5]=>0000000
[2,6,7,1,3,8,4,5]=>0000000
[2,1,6,7,8,3,4,5]=>0100000
[2,6,1,7,8,3,4,5]=>0000000
[2,6,7,8,1,3,4,5]=>0000000
[2,1,6,3,7,4,5,8]=>0100001
[2,6,1,7,3,4,5,8]=>0000001
[2,6,7,1,3,4,5,8]=>0000001
[2,6,1,3,4,7,5,8]=>0000001
[2,3,1,6,4,7,5,8]=>0010001
[2,3,6,1,4,7,5,8]=>0000001
[2,1,6,3,4,7,8,5]=>0100000
[2,6,1,3,4,7,8,5]=>0000000
[2,3,6,1,4,7,8,5]=>0000000
[2,1,3,6,7,4,8,5]=>0110000
[2,1,3,6,7,8,4,5]=>0110000
[2,3,1,6,7,8,4,5]=>0010000
[2,3,6,1,7,8,4,5]=>0000000
[2,3,6,7,1,8,4,5]=>0000000
[2,3,6,7,8,1,4,5]=>0000000
[2,1,6,3,8,4,5,7]=>0100000
[2,1,6,8,3,4,5,7]=>0100000
[2,6,1,8,3,4,5,7]=>0000000
[2,6,8,1,3,4,5,7]=>0000000
[2,1,6,3,4,8,5,7]=>0100000
[2,3,1,6,4,8,5,7]=>0010000
[2,3,6,1,8,4,5,7]=>0000000
[2,1,6,3,4,5,8,7]=>0100010
[2,1,3,6,4,5,8,7]=>0110010
[2,3,6,1,4,5,8,7]=>0000010
[2,3,4,1,6,8,5,7]=>0001000
[2,3,4,6,8,1,5,7]=>0000000
[2,6,1,3,4,5,7,8]=>0000011
[2,1,3,6,4,5,7,8]=>0110011
[2,3,1,6,4,5,7,8]=>0010011
[2,3,6,1,4,5,7,8]=>0000011
[2,3,4,6,1,5,7,8]=>0000011
[2,3,4,6,1,7,5,8]=>0000001
[2,3,4,6,7,1,5,8]=>0000001
[2,3,4,6,7,8,1,5]=>0000000
[2,1,7,8,3,4,5,6]=>0100000
[2,7,1,8,3,4,5,6]=>0000000
[2,7,8,1,3,4,5,6]=>0000000
[2,1,7,3,4,8,5,6]=>0100000
[2,1,3,7,4,8,5,6]=>0110000
[2,3,1,7,4,8,5,6]=>0010000
[2,3,7,1,4,8,5,6]=>0000000
[2,1,3,7,8,4,5,6]=>0110000
[2,3,7,8,1,4,5,6]=>0000000
[2,7,1,3,4,5,8,6]=>0000000
[2,3,7,1,4,5,8,6]=>0000000
[2,1,3,4,7,5,8,6]=>0111000
[2,3,4,1,7,5,8,6]=>0001000
[2,1,3,4,7,8,5,6]=>0111000
[2,3,1,4,7,8,5,6]=>0011000
[2,3,4,1,7,8,5,6]=>0001000
[2,3,4,7,1,8,5,6]=>0000000
[2,1,7,3,4,5,6,8]=>0100001
[2,7,1,3,4,5,6,8]=>0000001
[2,1,3,4,7,5,6,8]=>0111001
[2,3,1,4,7,5,6,8]=>0011001
[2,3,4,1,7,5,6,8]=>0001001
[2,3,4,7,1,5,6,8]=>0000001
[2,3,4,5,7,1,6,8]=>0000001
[2,3,4,5,7,1,8,6]=>0000000
[2,3,4,5,7,8,1,6]=>0000000
[2,1,8,3,4,5,6,7]=>0100000
[2,8,1,3,4,5,6,7]=>0000000
[2,1,3,8,4,5,6,7]=>0110000
[2,3,1,8,4,5,6,7]=>0010000
[2,3,8,1,4,5,6,7]=>0000000
[2,1,3,4,8,5,6,7]=>0111000
[2,3,4,1,8,5,6,7]=>0001000
[2,3,4,8,1,5,6,7]=>0000000
[2,1,3,4,5,8,6,7]=>0111100
[2,3,1,4,5,8,6,7]=>0011100
[2,3,4,1,5,8,6,7]=>0001100
[2,3,4,5,1,8,6,7]=>0000100
[2,3,4,5,8,1,6,7]=>0000000
[2,3,4,5,6,8,1,7]=>0000000
[3,1,4,2,6,5,8,7]=>0001010
[3,4,1,2,6,5,8,7]=>0001010
[3,1,4,6,2,5,8,7]=>0000010
[3,4,1,6,2,5,8,7]=>0000010
[3,4,6,1,2,5,8,7]=>0000010
[3,1,4,2,6,8,5,7]=>0001000
[3,4,1,6,2,8,5,7]=>0000000
[3,1,4,6,8,2,5,7]=>0000000
[3,4,6,8,1,2,5,7]=>0000000
[3,1,4,2,6,5,7,8]=>0001011
[3,4,1,2,6,5,7,8]=>0001011
[3,1,4,2,6,7,5,8]=>0001001
[3,4,1,2,6,7,5,8]=>0001001
[3,4,1,6,2,7,5,8]=>0000001
[3,4,1,6,7,2,5,8]=>0000001
[3,4,6,7,1,2,5,8]=>0000001
[3,1,4,2,6,7,8,5]=>0001000
[3,4,1,2,6,7,8,5]=>0001000
[3,4,1,6,2,7,8,5]=>0000000
[3,4,6,1,2,7,8,5]=>0000000
[3,4,1,6,7,2,8,5]=>0000000
[3,4,6,1,7,2,8,5]=>0000000
[3,4,6,7,1,2,8,5]=>0000000
[3,1,4,6,7,8,2,5]=>0000000
[3,4,1,6,7,8,2,5]=>0000000
[3,4,6,1,7,8,2,5]=>0000000
[3,4,6,7,1,8,2,5]=>0000000
[3,4,6,7,8,1,2,5]=>0000000
[3,1,4,2,7,5,8,6]=>0001000
[3,4,1,2,7,5,8,6]=>0001000
[3,4,7,1,2,5,8,6]=>0000000
[3,1,4,2,7,8,5,6]=>0001000
[3,4,1,2,7,8,5,6]=>0001000
[3,4,7,1,8,2,5,6]=>0000000
[3,4,7,8,1,2,5,6]=>0000000
[3,1,4,2,7,5,6,8]=>0001001
[3,4,1,5,2,7,6,8]=>0000101
[3,4,1,5,7,2,6,8]=>0000001
[3,4,5,7,1,2,6,8]=>0000001
[3,1,4,2,5,7,8,6]=>0001100
[3,4,1,2,5,7,8,6]=>0001100
[3,1,4,5,2,7,8,6]=>0000100
[3,4,5,1,2,7,8,6]=>0000100
[3,4,5,7,1,2,8,6]=>0000000
[3,1,4,5,7,8,2,6]=>0000000
[3,4,1,5,7,8,2,6]=>0000000
[3,4,5,1,7,8,2,6]=>0000000
[3,4,5,7,8,1,2,6]=>0000000
[3,1,4,2,8,5,6,7]=>0001000
[3,1,4,8,2,5,6,7]=>0000000
[3,4,1,8,2,5,6,7]=>0000000
[3,1,4,2,5,8,6,7]=>0001100
[3,4,1,5,2,8,6,7]=>0000100
[3,4,1,5,8,2,6,7]=>0000000
[3,4,5,8,1,2,6,7]=>0000000
[3,4,1,2,5,6,8,7]=>0001110
[3,4,5,1,2,6,8,7]=>0000110
[3,4,5,1,6,2,8,7]=>0000010
[3,4,5,6,1,2,8,7]=>0000010
[3,1,4,5,6,8,2,7]=>0000000
[3,4,1,5,6,8,2,7]=>0000000
[3,4,5,6,1,8,2,7]=>0000000
[3,4,5,6,8,1,2,7]=>0000000
[3,1,4,2,5,6,7,8]=>0001111
[3,1,4,5,2,6,7,8]=>0000111
[3,4,1,5,2,6,7,8]=>0000111
[3,4,1,5,6,2,7,8]=>0000011
[3,4,5,1,6,2,7,8]=>0000011
[3,1,4,5,6,7,2,8]=>0000001
[3,4,1,5,6,7,2,8]=>0000001
[3,4,5,6,1,7,2,8]=>0000001
[3,1,4,5,6,7,8,2]=>0000000
[3,4,1,5,6,7,8,2]=>0000000
[3,4,5,1,6,7,8,2]=>0000000
[3,4,5,6,1,7,8,2]=>0000000
[3,4,5,6,7,1,8,2]=>0000000
[3,1,5,2,6,4,8,7]=>0000010
[3,5,1,2,6,4,8,7]=>0000010
[3,1,5,6,2,4,8,7]=>0000010
[3,5,1,6,2,4,8,7]=>0000010
[3,5,1,2,6,8,4,7]=>0000000
[3,1,5,6,2,8,4,7]=>0000000
[3,5,6,1,2,8,4,7]=>0000000
[3,1,5,6,8,2,4,7]=>0000000
[3,5,1,6,8,2,4,7]=>0000000
[3,5,6,1,8,2,4,7]=>0000000
[3,5,6,8,1,2,4,7]=>0000000
[3,1,5,6,2,4,7,8]=>0000011
[3,5,1,6,2,4,7,8]=>0000011
[3,5,1,2,6,7,4,8]=>0000001
[3,5,1,6,2,7,4,8]=>0000001
[3,5,6,1,2,7,4,8]=>0000001
[3,5,1,6,7,2,4,8]=>0000001
[3,1,5,2,6,7,8,4]=>0000000
[3,5,1,2,6,7,8,4]=>0000000
[3,1,5,6,2,7,8,4]=>0000000
[3,5,1,6,2,7,8,4]=>0000000
[3,5,6,1,2,7,8,4]=>0000000
[3,1,5,6,7,2,8,4]=>0000000
[3,5,1,6,7,2,8,4]=>0000000
[3,5,6,1,7,2,8,4]=>0000000
[3,5,6,7,1,2,8,4]=>0000000
[3,1,5,6,7,8,2,4]=>0000000
[3,5,1,6,7,8,2,4]=>0000000
[3,5,6,1,7,8,2,4]=>0000000
[3,5,6,7,1,8,2,4]=>0000000
[3,5,6,7,8,1,2,4]=>0000000
[3,1,5,2,7,4,8,6]=>0000000
[3,5,1,2,7,4,8,6]=>0000000
[3,1,5,7,2,4,8,6]=>0000000
[3,5,1,7,2,4,8,6]=>0000000
[3,5,7,1,2,4,8,6]=>0000000
[3,1,5,2,7,8,4,6]=>0000000
[3,5,1,2,7,8,4,6]=>0000000
[3,1,5,7,2,8,4,6]=>0000000
[3,5,1,7,2,8,4,6]=>0000000
[3,1,5,7,8,2,4,6]=>0000000
[3,5,1,7,8,2,4,6]=>0000000
[3,5,7,8,1,2,4,6]=>0000000
[3,1,5,2,7,4,6,8]=>0000001
[3,5,1,2,7,4,6,8]=>0000001
[3,1,5,7,2,4,6,8]=>0000001
[3,5,1,7,2,4,6,8]=>0000001
[3,5,7,1,2,4,6,8]=>0000001
[3,1,5,2,4,7,6,8]=>0000101
[3,5,1,2,4,7,6,8]=>0000101
[3,1,2,5,4,7,6,8]=>0010101
[1,3,5,2,4,7,6,8]=>1000101
[3,1,2,5,7,4,6,8]=>0010001
[1,3,2,5,7,4,6,8]=>1010001
[1,3,5,2,7,4,6,8]=>1000001
[1,3,5,7,2,4,6,8]=>1000001
[3,5,1,2,4,7,8,6]=>0000100
[3,1,2,5,7,4,8,6]=>0010000
[1,3,5,2,7,4,8,6]=>1000000
[1,3,5,7,2,4,8,6]=>1000000
[1,3,2,5,7,8,4,6]=>1010000
[1,3,5,2,7,8,4,6]=>1000000
[1,3,5,7,2,8,4,6]=>1000000
[1,3,5,7,8,2,4,6]=>1000000
[3,1,5,2,8,4,6,7]=>0000000
[3,5,1,2,8,4,6,7]=>0000000
[3,1,5,8,2,4,6,7]=>0000000
[3,5,1,8,2,4,6,7]=>0000000
[3,1,5,2,4,8,6,7]=>0000100
[3,5,1,2,4,8,6,7]=>0000100
[1,3,2,5,4,8,6,7]=>1010100
[1,3,5,2,4,8,6,7]=>1000100
[3,1,2,5,8,4,6,7]=>0010000
[1,3,2,5,8,4,6,7]=>1010000
[1,3,5,2,8,4,6,7]=>1000000
[1,3,5,8,2,4,6,7]=>1000000
[3,5,1,2,4,6,8,7]=>0000110
[3,1,2,5,4,6,8,7]=>0010110
[1,3,5,2,4,6,8,7]=>1000110
[1,3,5,2,6,4,8,7]=>1000010
[1,3,5,6,2,4,8,7]=>1000010
[3,1,2,5,6,8,4,7]=>0010000
[1,3,5,2,6,8,4,7]=>1000000
[1,3,5,6,2,8,4,7]=>1000000
[1,3,5,6,8,2,4,7]=>1000000
[3,5,1,2,4,6,7,8]=>0000111
[1,3,5,2,4,6,7,8]=>1000111
[1,3,5,6,2,4,7,8]=>1000011
[3,1,2,5,6,7,4,8]=>0010001
[1,3,5,2,6,7,4,8]=>1000001
[1,3,5,6,2,7,4,8]=>1000001
[1,3,5,6,7,2,4,8]=>1000001
[3,1,2,5,6,7,8,4]=>0010000
[1,3,5,6,7,8,2,4]=>1000000
[3,1,6,2,7,4,8,5]=>0000000
[3,6,1,2,7,4,8,5]=>0000000
[3,6,1,7,2,4,8,5]=>0000000
[3,6,7,1,2,4,8,5]=>0000000
[3,1,6,7,2,8,4,5]=>0000000
[3,6,1,7,2,8,4,5]=>0000000
[3,6,7,1,2,8,4,5]=>0000000
[3,6,1,7,8,2,4,5]=>0000000
[3,6,7,8,1,2,4,5]=>0000000
[3,1,6,2,7,4,5,8]=>0000001
[3,1,6,7,2,4,5,8]=>0000001
[3,6,7,1,2,4,5,8]=>0000001
[3,1,6,2,4,7,5,8]=>0000001
[3,6,1,2,4,7,5,8]=>0000001
[3,1,2,6,4,7,5,8]=>0010001
[1,3,2,6,4,7,5,8]=>1010001
[1,3,6,2,4,7,5,8]=>1000001
[1,3,6,2,7,4,5,8]=>1000001
[3,1,6,2,4,7,8,5]=>0000000
[3,6,1,2,4,7,8,5]=>0000000
[3,1,2,6,4,7,8,5]=>0010000
[1,3,6,2,4,7,8,5]=>1000000
[3,1,2,6,7,4,8,5]=>0010000
[1,3,6,2,7,4,8,5]=>1000000
[1,3,6,7,2,4,8,5]=>1000000
[3,1,2,6,7,8,4,5]=>0010000
[1,3,2,6,7,8,4,5]=>1010000
[1,3,6,2,7,8,4,5]=>1000000
[1,3,6,7,8,2,4,5]=>1000000
[3,1,6,2,8,4,5,7]=>0000000
[3,1,6,8,2,4,5,7]=>0000000
[3,6,1,8,2,4,5,7]=>0000000
[3,1,6,2,4,8,5,7]=>0000000
[3,6,1,2,4,8,5,7]=>0000000
[1,3,2,6,4,8,5,7]=>1010000
[1,3,6,2,4,8,5,7]=>1000000
[3,1,6,2,4,5,8,7]=>0000010
[3,1,2,6,4,5,8,7]=>0010010
[1,3,6,2,4,5,8,7]=>1000010
[3,1,2,4,6,5,8,7]=>0011010
[1,3,4,6,2,5,8,7]=>1000010
[3,1,2,4,6,8,5,7]=>0011000
[1,3,2,4,6,8,5,7]=>1011000
[1,3,4,6,8,2,5,7]=>1000000
[3,1,6,2,4,5,7,8]=>0000011
[3,6,1,2,4,5,7,8]=>0000011
[1,3,2,6,4,5,7,8]=>1010011
[1,3,6,2,4,5,7,8]=>1000011
[1,3,4,6,2,5,7,8]=>1000011
[3,1,2,4,6,7,5,8]=>0011001
[1,3,4,6,2,7,5,8]=>1000001
[3,1,2,4,6,7,8,5]=>0011000
[1,3,4,6,7,2,8,5]=>1000000
[3,7,1,2,8,4,5,6]=>0000000
[3,1,7,8,2,4,5,6]=>0000000
[3,7,8,1,2,4,5,6]=>0000000
[3,7,1,2,4,8,5,6]=>0000000
[3,1,2,7,4,8,5,6]=>0010000
[1,3,2,7,4,8,5,6]=>1010000
[1,3,7,2,4,8,5,6]=>1000000
[1,3,7,2,8,4,5,6]=>1000000
[1,3,7,8,2,4,5,6]=>1000000
[3,7,1,2,4,5,8,6]=>0000000
[1,3,7,2,4,5,8,6]=>1000000
[3,1,2,4,7,5,8,6]=>0011000
[1,3,2,4,7,5,8,6]=>1011000
[1,3,4,2,7,5,8,6]=>1001000
[1,3,4,7,2,5,8,6]=>1000000
[3,1,2,4,7,8,5,6]=>0011000
[1,3,4,7,8,2,5,6]=>1000000
[3,1,7,2,4,5,6,8]=>0000001
[3,7,1,2,4,5,6,8]=>0000001
[1,3,2,7,4,5,6,8]=>1010001
[1,3,7,2,4,5,6,8]=>1000001
[3,1,2,4,7,5,6,8]=>0011001
[1,3,4,7,2,5,6,8]=>1000001
[3,1,2,4,5,7,6,8]=>0011101
[1,3,4,5,7,2,6,8]=>1000001
[3,1,2,4,5,7,8,6]=>0011100
[1,3,4,5,7,8,2,6]=>1000000
[3,1,8,2,4,5,6,7]=>0000000
[3,8,1,2,4,5,6,7]=>0000000
[3,1,2,8,4,5,6,7]=>0010000
[1,3,2,8,4,5,6,7]=>1010000
[1,3,8,2,4,5,6,7]=>1000000
[3,1,2,4,8,5,6,7]=>0011000
[1,3,2,4,8,5,6,7]=>1011000
[1,3,4,2,8,5,6,7]=>1001000
[1,3,4,8,2,5,6,7]=>1000000
[3,1,2,4,5,8,6,7]=>0011100
[1,3,2,4,5,8,6,7]=>1011100
[1,3,4,2,5,8,6,7]=>1001100
[1,3,4,5,2,8,6,7]=>1000100
[1,3,4,5,8,2,6,7]=>1000000
[3,1,2,4,5,6,8,7]=>0011110
[1,3,4,5,6,8,2,7]=>1000000
[4,1,5,2,6,3,8,7]=>0000010
[4,5,1,2,6,3,8,7]=>0000010
[4,1,5,6,2,3,8,7]=>0000010
[4,5,1,6,2,3,8,7]=>0000010
[4,5,6,1,2,3,8,7]=>0000010
[4,1,5,2,6,8,3,7]=>0000000
[4,5,1,2,6,8,3,7]=>0000000
[4,5,1,6,2,8,3,7]=>0000000
[4,1,5,6,8,2,3,7]=>0000000
[4,5,6,1,8,2,3,7]=>0000000
[4,5,6,8,1,2,3,7]=>0000000
[4,1,5,2,6,3,7,8]=>0000011
[4,5,1,2,6,7,3,8]=>0000001
[4,5,1,6,2,7,3,8]=>0000001
[4,5,6,1,2,7,3,8]=>0000001
[4,1,5,6,7,2,3,8]=>0000001
[4,5,1,6,7,2,3,8]=>0000001
[4,5,6,1,7,2,3,8]=>0000001
[4,1,5,2,6,7,8,3]=>0000000
[4,5,1,2,6,7,8,3]=>0000000
[4,5,1,6,2,7,8,3]=>0000000
[4,5,6,1,2,7,8,3]=>0000000
[4,1,5,6,7,2,8,3]=>0000000
[4,5,1,6,7,2,8,3]=>0000000
[4,5,6,1,7,2,8,3]=>0000000
[4,5,6,7,1,2,8,3]=>0000000
[4,1,5,6,7,8,2,3]=>0000000
[4,5,1,6,7,8,2,3]=>0000000
[4,5,6,1,7,8,2,3]=>0000000
[4,5,6,7,1,8,2,3]=>0000000
[4,1,5,2,7,3,8,6]=>0000000
[4,5,1,2,7,3,8,6]=>0000000
[4,5,1,7,2,3,8,6]=>0000000
[4,1,5,2,7,8,3,6]=>0000000
[4,5,1,2,7,8,3,6]=>0000000
[4,1,5,7,2,8,3,6]=>0000000
[4,5,1,7,2,8,3,6]=>0000000
[4,5,7,1,2,8,3,6]=>0000000
[4,5,1,7,8,2,3,6]=>0000000
[4,5,7,8,1,2,3,6]=>0000000
[4,1,5,2,7,3,6,8]=>0000001
[4,5,1,2,7,3,6,8]=>0000001
[4,1,5,2,3,7,6,8]=>0000101
[4,5,1,2,3,7,6,8]=>0000101
[4,1,2,5,3,7,6,8]=>0000101
[1,4,2,5,3,7,6,8]=>1000101
[4,1,2,5,7,3,6,8]=>0000001
[1,4,2,5,7,3,6,8]=>1000001
[1,4,5,2,7,3,6,8]=>1000001
[1,4,5,7,2,3,6,8]=>1000001
[4,1,5,2,3,7,8,6]=>0000100
[4,1,2,5,3,7,8,6]=>0000100
[1,4,5,2,3,7,8,6]=>1000100
[4,1,2,5,7,3,8,6]=>0000000
[1,4,2,5,7,3,8,6]=>1000000
[1,4,5,2,7,3,8,6]=>1000000
[1,4,2,5,7,8,3,6]=>1000000
[1,4,5,2,7,8,3,6]=>1000000
[1,4,5,7,8,2,3,6]=>1000000
[4,1,5,2,8,3,6,7]=>0000000
[4,5,1,2,8,3,6,7]=>0000000
[4,5,1,8,2,3,6,7]=>0000000
[4,5,8,1,2,3,6,7]=>0000000
[4,1,5,2,3,8,6,7]=>0000100
[4,5,1,2,3,8,6,7]=>0000100
[4,1,2,5,3,8,6,7]=>0000100
[1,4,2,5,3,8,6,7]=>1000100
[1,4,5,2,3,8,6,7]=>1000100
[4,1,2,5,8,3,6,7]=>0000000
[1,4,2,5,8,3,6,7]=>1000000
[1,4,2,5,3,6,8,7]=>1000110
[4,1,2,5,6,3,8,7]=>0000010
[1,4,5,2,6,3,8,7]=>1000010
[4,1,2,5,6,8,3,7]=>0000000
[1,4,2,5,6,8,3,7]=>1000000
[1,4,5,2,6,8,3,7]=>1000000
[1,4,5,6,8,2,3,7]=>1000000
[4,1,2,5,3,6,7,8]=>0000111
[1,4,2,5,3,6,7,8]=>1000111
[1,4,5,2,3,6,7,8]=>1000111
[4,1,2,5,6,3,7,8]=>0000011
[1,4,5,2,6,3,7,8]=>1000011
[4,1,2,5,6,7,3,8]=>0000001
[1,4,2,5,6,7,3,8]=>1000001
[1,4,5,6,7,2,3,8]=>1000001
[4,1,2,5,6,7,8,3]=>0000000
[1,4,2,5,6,7,8,3]=>1000000
[1,4,5,2,6,7,8,3]=>1000000
[1,4,5,6,2,7,8,3]=>1000000
[1,4,5,6,7,2,8,3]=>1000000
[1,4,5,6,7,8,2,3]=>1000000
[4,1,6,2,7,3,8,5]=>0000000
[4,6,7,1,2,3,8,5]=>0000000
[4,6,7,1,8,2,3,5]=>0000000
[4,6,7,8,1,2,3,5]=>0000000
[4,1,6,2,7,3,5,8]=>0000001
[4,6,1,2,7,3,5,8]=>0000001
[4,1,6,7,2,3,5,8]=>0000001
[4,6,1,7,2,3,5,8]=>0000001
[4,6,1,2,3,7,5,8]=>0000001
[4,1,2,6,3,7,5,8]=>0000001
[1,4,2,6,3,7,5,8]=>1000001
[4,1,2,6,7,3,5,8]=>0000001
[1,4,2,6,7,3,5,8]=>1000001
[1,4,6,2,7,3,5,8]=>1000001
[1,4,6,7,2,3,5,8]=>1000001
[4,1,6,2,3,7,8,5]=>0000000
[4,1,2,6,3,7,8,5]=>0000000
[1,4,6,2,3,7,8,5]=>1000000
[4,1,2,6,7,3,8,5]=>0000000
[1,4,6,2,7,3,8,5]=>1000000
[1,4,2,6,7,8,3,5]=>1000000
[1,4,6,2,7,8,3,5]=>1000000
[1,4,6,7,2,8,3,5]=>1000000
[4,1,6,2,8,3,5,7]=>0000000
[4,6,1,2,8,3,5,7]=>0000000
[4,1,6,8,2,3,5,7]=>0000000
[4,6,1,8,2,3,5,7]=>0000000
[4,6,8,1,2,3,5,7]=>0000000
[4,6,1,2,3,8,5,7]=>0000000
[4,1,2,6,3,8,5,7]=>0000000
[1,4,2,6,3,8,5,7]=>1000000
[1,4,6,2,3,8,5,7]=>1000000
[1,4,2,6,8,3,5,7]=>1000000
[1,4,6,8,2,3,5,7]=>1000000
[4,1,6,2,3,5,8,7]=>0000010
[4,6,1,2,3,5,8,7]=>0000010
[1,4,2,6,3,5,8,7]=>1000010
[1,4,6,2,3,5,8,7]=>1000010
[4,1,2,3,6,5,8,7]=>0001010
[1,4,2,3,6,5,8,7]=>1001010
[1,2,4,6,3,5,8,7]=>1100010
[1,2,4,3,6,8,5,7]=>1101000
[1,2,4,6,3,8,5,7]=>1100000
[1,2,4,6,8,3,5,7]=>1100000
[4,1,6,2,3,5,7,8]=>0000011
[4,6,1,2,3,5,7,8]=>0000011
[1,4,2,6,3,5,7,8]=>1000011
[1,4,6,2,3,5,7,8]=>1000011
[1,4,2,3,6,5,7,8]=>1001011
[1,2,4,6,3,5,7,8]=>1100011
[1,4,2,3,6,7,5,8]=>1001001
[4,1,2,3,6,7,8,5]=>0001000
[1,4,2,3,6,7,8,5]=>1001000
[1,2,4,6,7,8,3,5]=>1100000
[4,1,7,2,8,3,5,6]=>0000000
[4,1,7,8,2,3,5,6]=>0000000
[4,7,1,8,2,3,5,6]=>0000000
[4,1,7,2,3,8,5,6]=>0000000
[4,7,1,2,3,8,5,6]=>0000000
[1,4,2,7,3,8,5,6]=>1000000
[1,4,7,2,3,8,5,6]=>1000000
[4,1,2,7,8,3,5,6]=>0000000
[1,4,2,7,8,3,5,6]=>1000000
[1,4,7,2,8,3,5,6]=>1000000
[1,4,7,8,2,3,5,6]=>1000000
[4,1,7,2,3,5,8,6]=>0000000
[4,1,2,7,3,5,8,6]=>0000000
[1,4,2,7,3,5,8,6]=>1000000
[1,4,7,2,3,5,8,6]=>1000000
[4,1,2,3,7,5,8,6]=>0001000
[1,4,2,3,7,5,8,6]=>1001000
[1,2,4,3,7,5,8,6]=>1101000
[1,2,4,7,3,5,8,6]=>1100000
[1,4,2,3,7,8,5,6]=>1001000
[1,2,4,3,7,8,5,6]=>1101000
[1,2,4,7,3,8,5,6]=>1100000
[1,2,4,7,8,3,5,6]=>1100000
[4,1,7,2,3,5,6,8]=>0000001
[4,1,2,7,3,5,6,8]=>0000001
[1,4,2,7,3,5,6,8]=>1000001
[1,4,7,2,3,5,6,8]=>1000001
[4,1,2,3,7,5,6,8]=>0001001
[1,4,2,3,7,5,6,8]=>1001001
[1,2,4,3,7,5,6,8]=>1101001
[1,2,4,7,3,5,6,8]=>1100001
[4,1,2,3,5,7,6,8]=>0001101
[1,4,2,3,5,7,6,8]=>1001101
[1,2,4,5,7,3,6,8]=>1100001
[4,1,2,3,5,7,8,6]=>0001100
[1,4,2,3,5,7,8,6]=>1001100
[1,2,4,5,7,3,8,6]=>1100000
[1,2,4,5,7,8,3,6]=>1100000
[4,1,8,2,3,5,6,7]=>0000000
[4,8,1,2,3,5,6,7]=>0000000
[1,4,2,8,3,5,6,7]=>1000000
[1,4,8,2,3,5,6,7]=>1000000
[4,1,2,3,8,5,6,7]=>0001000
[1,4,2,3,8,5,6,7]=>1001000
[1,2,4,3,8,5,6,7]=>1101000
[1,2,4,8,3,5,6,7]=>1100000
[4,1,2,3,5,8,6,7]=>0001100
[1,4,2,3,5,8,6,7]=>1001100
[1,2,4,3,5,8,6,7]=>1101100
[1,2,4,5,8,3,6,7]=>1100000
[1,4,2,3,5,6,8,7]=>1001110
[1,2,4,5,6,8,3,7]=>1100000
[1,4,2,3,5,6,7,8]=>1001111
[5,1,6,2,7,3,8,4]=>0000000
[5,6,1,2,7,3,8,4]=>0000000
[5,6,1,7,2,3,8,4]=>0000000
[5,6,7,1,2,3,8,4]=>0000000
[5,6,1,2,7,8,3,4]=>0000000
[5,1,6,7,2,8,3,4]=>0000000
[5,6,7,1,2,8,3,4]=>0000000
[5,1,6,7,8,2,3,4]=>0000000
[5,6,1,7,8,2,3,4]=>0000000
[5,6,7,1,8,2,3,4]=>0000000
[5,1,6,2,7,3,4,8]=>0000001
[5,1,6,2,3,7,4,8]=>0000001
[5,1,2,6,3,7,4,8]=>0000001
[1,5,2,6,3,7,4,8]=>1000001
[5,1,2,6,7,3,4,8]=>0000001
[1,5,2,6,7,3,4,8]=>1000001
[1,5,6,7,2,3,4,8]=>1000001
[5,1,6,2,3,7,8,4]=>0000000
[5,6,1,2,3,7,8,4]=>0000000
[5,1,2,6,3,7,8,4]=>0000000
[1,5,2,6,3,7,8,4]=>1000000
[1,5,6,2,3,7,8,4]=>1000000
[5,1,2,6,7,3,8,4]=>0000000
[1,5,6,7,2,3,8,4]=>1000000
[5,1,2,6,7,8,3,4]=>0000000
[1,5,6,7,2,8,3,4]=>1000000
[1,5,6,7,8,2,3,4]=>1000000
[5,1,6,2,8,3,4,7]=>0000000
[5,6,1,2,8,3,4,7]=>0000000
[5,6,1,8,2,3,4,7]=>0000000
[5,6,8,1,2,3,4,7]=>0000000
[5,1,6,2,3,8,4,7]=>0000000
[5,6,1,2,3,8,4,7]=>0000000
[5,1,2,6,3,8,4,7]=>0000000
[1,5,2,6,3,8,4,7]=>1000000
[1,5,6,2,3,8,4,7]=>1000000
[5,1,2,6,8,3,4,7]=>0000000
[1,5,2,6,8,3,4,7]=>1000000
[1,5,6,2,8,3,4,7]=>1000000
[1,5,2,6,3,4,8,7]=>1000010
[1,5,6,2,3,4,8,7]=>1000010
[1,5,2,3,6,4,8,7]=>1000010
[1,2,5,3,6,4,8,7]=>1100010
[1,2,5,6,3,4,8,7]=>1100010
[5,1,2,3,6,8,4,7]=>0000000
[1,5,2,3,6,8,4,7]=>1000000
[1,2,5,6,3,8,4,7]=>1100000
[1,2,5,6,8,3,4,7]=>1100000
[5,1,6,2,3,4,7,8]=>0000011
[5,1,2,6,3,4,7,8]=>0000011
[1,5,2,6,3,4,7,8]=>1000011
[1,5,6,2,3,4,7,8]=>1000011
[5,1,2,3,6,4,7,8]=>0000011
[1,5,2,3,6,4,7,8]=>1000011
[1,2,5,6,3,4,7,8]=>1100011
[1,5,2,3,6,7,4,8]=>1000001
[1,2,5,3,6,7,4,8]=>1100001
[1,2,5,6,3,7,4,8]=>1100001
[5,1,2,3,6,7,8,4]=>0000000
[1,5,2,3,6,7,8,4]=>1000000
[1,2,5,3,6,7,8,4]=>1100000
[1,2,5,6,3,7,8,4]=>1100000
[1,2,5,6,7,3,8,4]=>1100000
[1,2,5,6,7,8,3,4]=>1100000
[5,1,7,2,8,3,4,6]=>0000000
[5,7,1,2,8,3,4,6]=>0000000
[5,1,7,8,2,3,4,6]=>0000000
[5,7,8,1,2,3,4,6]=>0000000
[5,1,2,7,3,8,4,6]=>0000000
[1,5,2,7,3,8,4,6]=>1000000
[1,5,7,2,3,8,4,6]=>1000000
[5,1,2,7,8,3,4,6]=>0000000
[1,5,2,7,8,3,4,6]=>1000000
[1,5,7,2,8,3,4,6]=>1000000
[1,5,7,8,2,3,4,6]=>1000000
[5,1,2,7,3,4,8,6]=>0000000
[1,5,2,7,3,4,8,6]=>1000000
[1,5,7,2,3,4,8,6]=>1000000
[5,1,2,3,7,4,8,6]=>0000000
[1,5,2,3,7,4,8,6]=>1000000
[1,2,5,3,7,4,8,6]=>1100000
[1,2,5,7,3,4,8,6]=>1100000
[5,1,2,3,7,8,4,6]=>0000000
[1,5,2,3,7,8,4,6]=>1000000
[1,2,5,3,7,8,4,6]=>1100000
[1,2,5,7,3,8,4,6]=>1100000
[1,2,5,7,8,3,4,6]=>1100000
[5,1,7,2,3,4,6,8]=>0000001
[5,7,1,2,3,4,6,8]=>0000001
[1,5,2,7,3,4,6,8]=>1000001
[1,5,2,3,7,4,6,8]=>1000001
[1,2,5,3,7,4,6,8]=>1100001
[1,2,5,7,3,4,6,8]=>1100001
[1,5,2,3,4,7,6,8]=>1000101
[1,2,5,3,4,7,6,8]=>1100101
[1,2,3,5,7,4,6,8]=>1110001
[1,5,2,3,4,7,8,6]=>1000100
[1,2,5,3,4,7,8,6]=>1100100
[1,2,3,5,7,4,8,6]=>1110000
[1,2,3,5,7,8,4,6]=>1110000
[5,8,1,2,3,4,6,7]=>0000000
[5,1,2,8,3,4,6,7]=>0000000
[1,5,2,8,3,4,6,7]=>1000000
[1,5,2,3,8,4,6,7]=>1000000
[1,2,5,3,8,4,6,7]=>1100000
[1,2,5,8,3,4,6,7]=>1100000
[5,1,2,3,4,8,6,7]=>0000100
[1,5,2,3,4,8,6,7]=>1000100
[1,2,5,3,4,8,6,7]=>1100100
[1,2,3,5,4,8,6,7]=>1110100
[1,2,3,5,8,4,6,7]=>1110000
[5,1,2,3,4,6,8,7]=>0000110
[1,5,2,3,4,6,8,7]=>1000110
[1,2,5,3,4,6,8,7]=>1100110
[1,2,3,5,6,8,4,7]=>1110000
[1,5,2,3,4,6,7,8]=>1000111
[1,2,5,3,4,6,7,8]=>1100111
[6,1,7,2,8,3,4,5]=>0000000
[6,7,1,2,8,3,4,5]=>0000000
[6,1,7,8,2,3,4,5]=>0000000
[6,7,1,8,2,3,4,5]=>0000000
[6,1,7,2,3,8,4,5]=>0000000
[6,7,1,2,3,8,4,5]=>0000000
[6,1,2,7,3,8,4,5]=>0000000
[1,6,2,7,3,8,4,5]=>1000000
[1,6,7,2,3,8,4,5]=>1000000
[6,1,2,7,8,3,4,5]=>0000000
[1,6,2,7,8,3,4,5]=>1000000
[1,6,7,2,8,3,4,5]=>1000000
[1,6,7,8,2,3,4,5]=>1000000
[6,1,7,2,3,4,8,5]=>0000000
[6,7,1,2,3,4,8,5]=>0000000
[6,1,2,7,3,4,8,5]=>0000000
[1,6,2,7,3,4,8,5]=>1000000
[1,6,7,2,3,4,8,5]=>1000000
[6,1,2,3,7,4,8,5]=>0000000
[1,6,2,3,7,4,8,5]=>1000000
[1,2,6,3,7,4,8,5]=>1100000
[1,2,6,7,3,4,8,5]=>1100000
[6,1,2,3,7,8,4,5]=>0000000
[1,6,2,3,7,8,4,5]=>1000000
[1,2,6,3,7,8,4,5]=>1100000
[1,2,6,7,3,8,4,5]=>1100000
[1,2,6,7,8,3,4,5]=>1100000
[6,1,7,2,3,4,5,8]=>0000001
[6,1,2,7,3,4,5,8]=>0000001
[1,6,2,7,3,4,5,8]=>1000001
[1,6,7,2,3,4,5,8]=>1000001
[1,6,2,3,7,4,5,8]=>1000001
[1,2,6,3,7,4,5,8]=>1100001
[1,2,6,7,3,4,5,8]=>1100001
[6,1,2,3,4,7,5,8]=>0000001
[1,6,2,3,4,7,5,8]=>1000001
[1,2,6,3,4,7,5,8]=>1100001
[1,2,3,6,4,7,5,8]=>1110001
[1,2,3,6,7,4,5,8]=>1110001
[6,1,2,3,4,7,8,5]=>0000000
[1,6,2,3,4,7,8,5]=>1000000
[1,2,6,3,4,7,8,5]=>1100000
[1,2,3,6,4,7,8,5]=>1110000
[1,2,3,6,7,4,8,5]=>1110000
[1,2,3,6,7,8,4,5]=>1110000
[6,1,8,2,3,4,5,7]=>0000000
[6,8,1,2,3,4,5,7]=>0000000
[6,1,2,8,3,4,5,7]=>0000000
[1,6,2,8,3,4,5,7]=>1000000
[1,6,8,2,3,4,5,7]=>1000000
[6,1,2,3,8,4,5,7]=>0000000
[1,6,2,3,8,4,5,7]=>1000000
[1,2,6,3,8,4,5,7]=>1100000
[1,2,6,8,3,4,5,7]=>1100000
[6,1,2,3,4,8,5,7]=>0000000
[1,6,2,3,4,8,5,7]=>1000000
[1,2,6,3,4,8,5,7]=>1100000
[1,2,3,6,4,8,5,7]=>1110000
[1,2,3,6,8,4,5,7]=>1110000
[6,1,2,3,4,5,8,7]=>0000010
[1,6,2,3,4,5,8,7]=>1000010
[1,2,6,3,4,5,8,7]=>1100010
[1,2,3,6,4,5,8,7]=>1110010
[1,2,3,4,6,8,5,7]=>1111000
[1,6,2,3,4,5,7,8]=>1000011
[1,2,6,3,4,5,7,8]=>1100011
[1,2,3,6,4,5,7,8]=>1110011
[7,1,8,2,3,4,5,6]=>0000000
[7,1,2,8,3,4,5,6]=>0000000
[1,7,2,8,3,4,5,6]=>1000000
[1,7,8,2,3,4,5,6]=>1000000
[7,1,2,3,8,4,5,6]=>0000000
[1,7,2,3,8,4,5,6]=>1000000
[1,2,7,3,8,4,5,6]=>1100000
[1,2,7,8,3,4,5,6]=>1100000
[7,1,2,3,4,8,5,6]=>0000000
[1,7,2,3,4,8,5,6]=>1000000
[1,2,7,3,4,8,5,6]=>1100000
[1,2,3,7,4,8,5,6]=>1110000
[1,2,3,7,8,4,5,6]=>1110000
[7,1,2,3,4,5,8,6]=>0000000
[1,7,2,3,4,5,8,6]=>1000000
[1,2,7,3,4,5,8,6]=>1100000
[1,2,3,7,4,5,8,6]=>1110000
[1,2,3,4,7,5,8,6]=>1111000
[1,2,3,4,7,8,5,6]=>1111000
[1,7,2,3,4,5,6,8]=>1000001
[1,2,7,3,4,5,6,8]=>1100001
[1,2,3,7,4,5,6,8]=>1110001
[1,2,3,4,7,5,6,8]=>1111001
[1,8,2,3,4,5,6,7]=>1000000
[1,2,8,3,4,5,6,7]=>1100000
[1,2,3,8,4,5,6,7]=>1110000
[1,2,3,4,8,5,6,7]=>1111000
[1,2,3,4,5,8,6,7]=>1111100
[5,3,2,6,1,4,8,7]=>0000010
[7,3,2,5,4,8,1,6]=>0000000
[8,4,5,2,3,7,6,1]=>0000000
[7,4,5,2,3,8,1,6]=>0000000
[6,4,5,2,3,1,8,7]=>0000010
[5,4,6,2,1,3,8,7]=>0000010
[3,6,1,5,4,2,8,7]=>0000010
[4,6,5,1,3,2,8,7]=>0000010
[5,6,4,3,1,2,8,7]=>0000010
[7,5,4,3,2,8,1,6]=>0000000
[8,6,4,3,7,2,5,1]=>0000000
[7,6,4,3,8,2,1,5]=>0000000
[6,7,4,3,8,1,2,5]=>0000000
[5,7,4,3,1,8,2,6]=>0000000
[4,7,5,1,3,8,2,6]=>0000000
[3,7,1,5,4,8,2,6]=>0000000
[2,1,7,5,4,8,3,6]=>0100000
[3,8,1,5,4,7,6,2]=>0000000
[4,8,5,1,3,7,6,2]=>0000000
[5,8,4,3,1,7,6,2]=>0000000
[6,8,4,3,7,1,5,2]=>0000000
[7,8,4,3,6,5,1,2]=>0000000
[6,8,5,7,3,1,4,2]=>0000000
[5,8,6,7,1,3,4,2]=>0000000
[4,8,6,1,7,3,5,2]=>0000000
[3,8,1,6,7,4,5,2]=>0000000
[2,1,8,6,7,4,5,3]=>0100000
[2,1,7,6,8,4,3,5]=>0100000
[3,7,1,6,8,4,2,5]=>0000000
[4,7,6,1,8,3,2,5]=>0000000
[5,7,6,8,1,3,2,4]=>0000000
[5,4,7,2,1,8,3,6]=>0000000
[6,4,7,2,8,1,3,5]=>0000000
[7,4,6,2,8,3,1,5]=>0000000
[8,4,6,2,7,3,5,1]=>0000000
[8,3,2,6,7,4,5,1]=>0000000
[7,3,2,6,8,4,1,5]=>0000000
[6,3,2,7,8,1,4,5]=>0000000
[5,3,2,7,1,8,4,6]=>0000000
[4,3,2,1,7,8,5,6]=>0001000
[3,4,1,2,8,7,6,5]=>0001000
[5,3,2,8,1,7,6,4]=>0000000
[6,3,2,8,7,1,5,4]=>0000000
[7,3,2,8,6,5,1,4]=>0000000
[8,4,7,2,6,5,3,1]=>0000000
[7,4,8,2,6,5,1,3]=>0000000
[6,4,8,2,7,1,5,3]=>0000000
[5,4,8,2,1,7,6,3]=>0000000
[4,5,8,1,2,7,6,3]=>0000000
[3,5,1,8,2,7,6,4]=>0000000
[2,1,5,8,3,7,6,4]=>0100000
[2,1,6,8,7,3,5,4]=>0100000
[3,6,1,8,7,2,5,4]=>0000000
[4,6,8,1,7,2,5,3]=>0000000
[5,6,8,7,1,2,4,3]=>0000000
[6,5,8,7,2,1,4,3]=>0000000
[7,5,8,6,2,4,1,3]=>0000000
[8,5,7,6,2,4,3,1]=>0000000
[5,7,8,6,1,4,2,3]=>0000000
[4,7,8,1,6,5,2,3]=>0000000
[3,7,1,8,6,5,2,4]=>0000000
[2,1,7,8,6,5,3,4]=>0100000
[3,8,1,7,6,5,4,2]=>0000000
[4,8,7,1,6,5,3,2]=>0000000
[5,8,7,6,1,4,3,2]=>0000000
[6,8,7,5,4,1,3,2]=>0000000
[3,2,5,1,4,6,7,8]=>0000111
[4,2,5,1,3,6,7,8]=>0000111
[5,2,4,1,3,6,7,8]=>0000111
[3,2,6,1,4,5,7,8]=>0000011
[4,2,6,1,3,5,7,8]=>0000011
[5,3,6,1,2,4,7,8]=>0000011
[6,2,4,1,3,5,7,8]=>0000011
[5,3,7,1,2,4,6,8]=>0000001
[5,4,7,1,2,3,6,8]=>0000001
[6,2,7,1,3,4,5,8]=>0000001
[6,3,7,1,2,4,5,8]=>0000001
[6,4,7,1,2,3,5,8]=>0000001
[7,3,5,1,2,4,6,8]=>0000001
[7,3,6,1,2,4,5,8]=>0000001
[7,4,6,1,2,3,5,8]=>0000001
[3,2,8,1,4,5,6,7]=>0000000
[4,2,8,1,3,5,6,7]=>0000000
[5,4,8,1,2,3,6,7]=>0000000
[6,2,8,1,3,4,5,7]=>0000000
[6,3,8,1,2,4,5,7]=>0000000
[6,5,8,1,2,3,4,7]=>0000000
[7,2,8,1,3,4,5,6]=>0000000
[7,5,8,1,2,3,4,6]=>0000000
[8,3,5,1,2,4,6,7]=>0000000
[8,5,7,1,2,3,4,6]=>0000000
[3,2,5,7,1,4,6,8]=>0000001
[4,2,5,7,1,3,6,8]=>0000001
[5,2,4,7,1,3,6,8]=>0000001
[4,2,6,7,1,3,5,8]=>0000001
[5,2,6,7,1,3,4,8]=>0000001
[5,3,6,7,1,2,4,8]=>0000001
[6,2,5,7,1,3,4,8]=>0000001
[6,3,5,7,1,2,4,8]=>0000001
[3,2,5,8,1,4,6,7]=>0000000
[4,2,5,8,1,3,6,7]=>0000000
[4,3,5,8,1,2,6,7]=>0000000
[5,2,4,8,1,3,6,7]=>0000000
[3,2,6,8,1,4,5,7]=>0000000
[4,2,6,8,1,3,5,7]=>0000000
[5,2,6,8,1,3,4,7]=>0000000
[6,2,4,8,1,3,5,7]=>0000000
[6,2,5,8,1,3,4,7]=>0000000
[6,3,5,8,1,2,4,7]=>0000000
[3,2,7,8,1,4,5,6]=>0000000
[4,3,7,8,1,2,5,6]=>0000000
[5,3,7,8,1,2,4,6]=>0000000
[5,4,7,8,1,2,3,6]=>0000000
[6,2,7,8,1,3,4,5]=>0000000
[6,3,7,8,1,2,4,5]=>0000000
[6,4,7,8,1,2,3,5]=>0000000
[7,2,4,8,1,3,5,6]=>0000000
[7,3,4,8,1,2,5,6]=>0000000
[7,4,5,8,1,2,3,6]=>0000000
[8,3,5,7,1,2,4,6]=>0000000
[8,2,6,7,1,3,4,5]=>0000000
[8,4,6,7,1,2,3,5]=>0000000
[3,6,2,5,1,4,7,8]=>0000011
[4,6,2,5,1,3,7,8]=>0000011
[4,6,3,5,1,2,7,8]=>0000011
[5,6,2,4,1,3,7,8]=>0000011
[3,7,2,5,1,4,6,8]=>0000001
[4,7,3,5,1,2,6,8]=>0000001
[5,7,2,4,1,3,6,8]=>0000001
[3,7,2,6,1,4,5,8]=>0000001
[4,7,3,6,1,2,5,8]=>0000001
[5,7,2,6,1,3,4,8]=>0000001
[6,7,2,5,1,3,4,8]=>0000001
[4,8,2,5,1,3,6,7]=>0000000
[5,8,3,4,1,2,6,7]=>0000000
[3,8,2,6,1,4,5,7]=>0000000
[5,8,3,6,1,2,4,7]=>0000000
[5,8,4,6,1,2,3,7]=>0000000
[6,8,3,5,1,2,4,7]=>0000000
[3,8,2,7,1,4,5,6]=>0000000
[4,8,2,7,1,3,5,6]=>0000000
[4,8,3,7,1,2,5,6]=>0000000
[5,8,2,7,1,3,4,6]=>0000000
[5,8,4,7,1,2,3,6]=>0000000
[6,8,2,7,1,3,4,5]=>0000000
[6,8,3,7,1,2,4,5]=>0000000
[6,8,5,7,1,2,3,4]=>0000000
[7,8,2,4,1,3,5,6]=>0000000
[7,8,2,5,1,3,4,6]=>0000000
[7,8,4,6,1,2,3,5]=>0000000
[4,3,2,6,1,5,7,8]=>0000011
[5,3,2,6,1,4,7,8]=>0000011
[5,4,2,6,1,3,7,8]=>0000011
[6,3,2,5,1,4,7,8]=>0000011
[4,3,2,7,1,5,6,8]=>0000001
[5,3,2,7,1,4,6,8]=>0000001
[5,4,3,7,1,2,6,8]=>0000001
[6,3,2,7,1,4,5,8]=>0000001
[6,4,2,7,1,3,5,8]=>0000001
[6,4,3,7,1,2,5,8]=>0000001
[6,5,2,7,1,3,4,8]=>0000001
[6,5,3,7,1,2,4,8]=>0000001
[7,3,2,5,1,4,6,8]=>0000001
[7,4,2,5,1,3,6,8]=>0000001
[7,3,2,6,1,4,5,8]=>0000001
[7,4,2,6,1,3,5,8]=>0000001
[7,4,3,6,1,2,5,8]=>0000001
[7,5,2,6,1,3,4,8]=>0000001
[7,5,3,6,1,2,4,8]=>0000001
[7,6,3,5,1,2,4,8]=>0000001
[4,3,2,8,1,5,6,7]=>0000000
[5,3,2,8,1,4,6,7]=>0000000
[5,4,3,8,1,2,6,7]=>0000000
[6,3,2,8,1,4,5,7]=>0000000
[6,4,2,8,1,3,5,7]=>0000000
[6,4,3,8,1,2,5,7]=>0000000
[6,5,2,8,1,3,4,7]=>0000000
[6,5,3,8,1,2,4,7]=>0000000
[7,4,2,8,1,3,5,6]=>0000000
[7,4,3,8,1,2,5,6]=>0000000
[7,5,3,8,1,2,4,6]=>0000000
[7,6,2,8,1,3,4,5]=>0000000
[8,3,2,5,1,4,6,7]=>0000000
[8,4,2,5,1,3,6,7]=>0000000
[8,4,2,6,1,3,5,7]=>0000000
[8,5,3,6,1,2,4,7]=>0000000
[8,6,2,5,1,3,4,7]=>0000000
[8,4,2,7,1,3,5,6]=>0000000
[8,4,3,7,1,2,5,6]=>0000000
[8,5,2,7,1,3,4,6]=>0000000
[8,5,3,7,1,2,4,6]=>0000000
[8,7,2,4,1,3,5,6]=>0000000
[8,7,2,5,1,3,4,6]=>0000000
[8,7,3,5,1,2,4,6]=>0000000
[8,7,2,6,1,3,4,5]=>0000000
[8,7,3,6,1,2,4,5]=>0000000
[8,7,4,6,1,2,3,5]=>0000000
[3,6,2,5,8,1,4,7]=>0000000
[4,6,3,5,8,1,2,7]=>0000000
[5,6,2,4,8,1,3,7]=>0000000
[4,7,3,5,8,1,2,6]=>0000000
[5,7,2,4,8,1,3,6]=>0000000
[5,7,3,4,8,1,2,6]=>0000000
[4,7,3,6,8,1,2,5]=>0000000
[5,7,2,6,8,1,3,4]=>0000000
[5,7,4,6,8,1,2,3]=>0000000
[6,7,3,4,8,1,2,5]=>0000000
[4,8,3,5,7,1,2,6]=>0000000
[5,8,2,4,7,1,3,6]=>0000000
[5,8,2,6,7,1,3,4]=>0000000
[7,8,2,4,6,1,3,5]=>0000000
[7,8,3,4,6,1,2,5]=>0000000
[7,8,2,5,6,1,3,4]=>0000000
[7,8,3,5,6,1,2,4]=>0000000
[4,3,2,6,8,1,5,7]=>0000000
[5,3,2,6,8,1,4,7]=>0000000
[5,4,2,6,8,1,3,7]=>0000000
[5,4,3,6,8,1,2,7]=>0000000
[6,3,2,5,8,1,4,7]=>0000000
[6,5,2,4,8,1,3,7]=>0000000
[4,3,2,7,8,1,5,6]=>0000000
[5,3,2,7,8,1,4,6]=>0000000
[5,4,2,7,8,1,3,6]=>0000000
[5,4,3,7,8,1,2,6]=>0000000
[6,4,2,7,8,1,3,5]=>0000000
[6,4,3,7,8,1,2,5]=>0000000
[6,5,2,7,8,1,3,4]=>0000000
[7,4,3,5,8,1,2,6]=>0000000
[7,5,2,6,8,1,3,4]=>0000000
[7,6,2,4,8,1,3,5]=>0000000
[7,6,3,5,8,1,2,4]=>0000000
[8,3,2,5,7,1,4,6]=>0000000
[8,4,2,5,7,1,3,6]=>0000000
[8,5,2,4,7,1,3,6]=>0000000
[8,5,2,6,7,1,3,4]=>0000000
[8,5,3,6,7,1,2,4]=>0000000
[8,6,2,4,7,1,3,5]=>0000000
[8,6,2,5,7,1,3,4]=>0000000
[8,6,3,5,7,1,2,4]=>0000000
[8,7,2,4,6,1,3,5]=>0000000
[8,7,3,4,6,1,2,5]=>0000000
[8,7,2,5,6,1,3,4]=>0000000
[4,3,7,2,6,1,5,8]=>0000001
[5,3,7,2,6,1,4,8]=>0000001
[5,4,7,2,6,1,3,8]=>0000001
[6,3,7,2,5,1,4,8]=>0000001
[6,4,7,2,5,1,3,8]=>0000001
[6,4,7,3,5,1,2,8]=>0000001
[7,3,6,2,5,1,4,8]=>0000001
[4,3,8,2,6,1,5,7]=>0000000
[5,3,8,2,6,1,4,7]=>0000000
[5,4,8,2,6,1,3,7]=>0000000
[5,4,8,3,6,1,2,7]=>0000000
[6,3,8,2,5,1,4,7]=>0000000
[6,4,8,2,5,1,3,7]=>0000000
[6,4,8,3,5,1,2,7]=>0000000
[6,5,8,2,4,1,3,7]=>0000000
[4,3,8,2,7,1,5,6]=>0000000
[5,4,8,2,7,1,3,6]=>0000000
[5,4,8,3,7,1,2,6]=>0000000
[6,3,8,2,7,1,4,5]=>0000000
[6,4,8,2,7,1,3,5]=>0000000
[7,3,8,2,5,1,4,6]=>0000000
[7,4,8,3,5,1,2,6]=>0000000
[7,5,8,2,4,1,3,6]=>0000000
[7,5,8,2,6,1,3,4]=>0000000
[7,5,8,4,6,1,2,3]=>0000000
[8,3,6,2,5,1,4,7]=>0000000
[8,4,6,2,5,1,3,7]=>0000000
[8,3,7,2,5,1,4,6]=>0000000
[8,4,7,3,5,1,2,6]=>0000000
[8,5,7,2,4,1,3,6]=>0000000
[8,3,7,2,6,1,4,5]=>0000000
[8,4,7,2,6,1,3,5]=>0000000
[8,4,7,3,6,1,2,5]=>0000000
[8,5,7,2,6,1,3,4]=>0000000
[8,6,7,2,4,1,3,5]=>0000000
[8,6,7,2,5,1,3,4]=>0000000
[5,4,3,2,7,1,6,8]=>0000001
[6,4,3,2,7,1,5,8]=>0000001
[6,5,3,2,7,1,4,8]=>0000001
[6,5,4,2,7,1,3,8]=>0000001
[7,5,3,2,6,1,4,8]=>0000001
[7,5,4,2,6,1,3,8]=>0000001
[5,4,3,2,8,1,6,7]=>0000000
[6,5,3,2,8,1,4,7]=>0000000
[6,5,4,2,8,1,3,7]=>0000000
[7,5,3,2,8,1,4,6]=>0000000
[7,6,3,2,8,1,4,5]=>0000000
[7,6,4,3,8,1,2,5]=>0000000
[8,5,3,2,6,1,4,7]=>0000000
[8,5,4,2,6,1,3,7]=>0000000
[8,5,3,2,7,1,4,6]=>0000000
[8,6,3,2,7,1,4,5]=>0000000
[8,6,4,3,7,1,2,5]=>0000000
[8,7,3,2,6,1,4,5]=>0000000
[8,7,5,2,6,1,3,4]=>0000000
[8,7,5,3,6,1,2,4]=>0000000
[8,7,6,2,4,1,3,5]=>0000000
[8,7,6,3,5,1,2,4]=>0000000
[4,8,3,7,2,6,1,5]=>0000000
[5,8,3,7,2,6,1,4]=>0000000
[5,8,4,7,2,6,1,3]=>0000000
[5,8,4,7,3,6,1,2]=>0000000
[6,8,3,7,2,5,1,4]=>0000000
[6,8,4,7,2,5,1,3]=>0000000
[6,8,4,7,3,5,1,2]=>0000000
[6,8,5,7,2,4,1,3]=>0000000
[6,8,5,7,3,4,1,2]=>0000000
[7,8,3,6,2,5,1,4]=>0000000
[7,8,4,6,2,5,1,3]=>0000000
[7,8,4,6,3,5,1,2]=>0000000
[7,8,5,6,2,4,1,3]=>0000000
[5,4,3,8,2,7,1,6]=>0000000
[6,4,3,8,2,7,1,5]=>0000000
[6,5,4,8,3,7,1,2]=>0000000
[7,4,3,8,2,6,1,5]=>0000000
[7,5,3,8,2,6,1,4]=>0000000
[7,5,4,8,2,6,1,3]=>0000000
[7,6,3,8,2,5,1,4]=>0000000
[7,6,4,8,2,5,1,3]=>0000000
[7,6,5,8,2,4,1,3]=>0000000
[8,5,3,7,2,6,1,4]=>0000000
[8,5,4,7,2,6,1,3]=>0000000
[8,5,4,7,3,6,1,2]=>0000000
[8,6,3,7,2,5,1,4]=>0000000
[8,6,4,7,2,5,1,3]=>0000000
[8,6,4,7,3,5,1,2]=>0000000
[8,6,5,7,2,4,1,3]=>0000000
[8,7,3,6,2,5,1,4]=>0000000
[8,7,4,6,2,5,1,3]=>0000000
[8,7,4,6,3,5,1,2]=>0000000
[6,5,4,3,2,8,1,7]=>0000000
[7,6,5,4,2,8,1,3]=>0000000
[8,5,4,3,2,7,1,6]=>0000000
[8,6,5,3,2,7,1,4]=>0000000
[8,7,4,3,2,6,1,5]=>0000000
[8,7,5,4,2,6,1,3]=>0000000
[8,7,6,3,2,5,1,4]=>0000000
[8,7,6,4,2,5,1,3]=>0000000
[8,7,6,5,2,4,1,3]=>0000000
[5,1,2,3,8,7,4,6]=>0000000
[8,1,2,3,6,7,4,5]=>0000000
[8,1,2,5,3,4,6,7]=>0000000
[8,1,2,6,3,4,5,7]=>0000000
[6,1,2,5,3,8,4,7]=>0000000
[8,1,2,6,3,7,4,5]=>0000000
[6,1,2,5,3,7,8,4]=>0000000
[4,1,2,8,7,3,5,6]=>0000000
[4,1,2,7,6,3,8,5]=>0000000
[8,1,2,5,6,3,4,7]=>0000000
[8,1,2,7,6,3,4,5]=>0000000
[7,1,2,5,6,3,8,4]=>0000000
[8,1,2,5,6,7,3,4]=>0000000
[3,1,8,2,6,4,5,7]=>0000000
[3,1,7,2,6,4,8,5]=>0000000
[3,1,5,2,8,7,4,6]=>0000000
[3,1,8,2,6,7,4,5]=>0000000
[8,1,4,2,3,5,6,7]=>0000000
[6,1,4,2,3,8,5,7]=>0000000
[8,1,4,2,3,7,5,6]=>0000000
[8,1,5,2,3,4,6,7]=>0000000
[7,1,5,2,3,4,8,6]=>0000000
[6,1,5,2,3,8,4,7]=>0000000
[8,1,5,2,3,7,4,6]=>0000000
[6,1,8,2,3,7,4,5]=>0000000
[6,1,5,2,3,7,8,4]=>0000000
[5,1,4,2,8,3,6,7]=>0000000
[5,1,4,2,7,3,8,6]=>0000000
[7,1,4,2,6,3,8,5]=>0000000
[8,1,5,2,7,3,4,6]=>0000000
[5,1,4,2,8,7,3,6]=>0000000
[8,1,4,2,6,7,3,5]=>0000000
[8,1,5,2,6,7,3,4]=>0000000
[5,1,4,2,6,7,8,3]=>0000000
[3,1,8,6,2,4,5,7]=>0000000
[3,1,8,5,2,7,4,6]=>0000000
[3,1,8,6,2,7,4,5]=>0000000
[8,1,4,5,2,3,6,7]=>0000000
[8,1,4,6,2,3,5,7]=>0000000
[7,1,8,6,2,3,4,5]=>0000000
[7,1,6,5,2,3,8,4]=>0000000
[8,1,4,6,2,7,3,5]=>0000000
[3,1,4,8,6,2,5,7]=>0000000
[3,1,7,5,6,2,8,4]=>0000000
[8,1,4,7,6,2,3,5]=>0000000
[3,1,4,5,8,7,2,6]=>0000000
[3,1,8,5,6,7,2,4]=>0000000
[8,1,4,5,6,7,2,3]=>0000000
[2,8,1,3,4,7,5,6]=>0000000
[2,8,1,3,6,7,4,5]=>0000000
[2,4,1,8,3,7,5,6]=>0000000
[2,8,1,6,3,4,5,7]=>0000000
[2,6,1,5,3,8,4,7]=>0000000
[2,8,1,5,3,7,4,6]=>0000000
[2,6,1,5,3,7,8,4]=>0000000
[2,8,1,7,6,3,4,5]=>0000000
[2,7,1,5,6,3,8,4]=>0000000
[2,4,1,8,6,7,3,5]=>0000000
[7,3,1,2,4,5,8,6]=>0000000
[5,3,1,2,8,4,6,7]=>0000000
[8,3,1,2,6,4,5,7]=>0000000
[5,3,1,2,8,7,4,6]=>0000000
[8,4,1,2,3,7,5,6]=>0000000
[7,6,1,2,3,4,8,5]=>0000000
[5,8,1,2,3,7,4,6]=>0000000
[5,4,1,2,8,3,6,7]=>0000000
[7,4,1,2,6,3,8,5]=>0000000
[5,8,1,2,7,3,4,6]=>0000000
[8,7,1,2,6,3,4,5]=>0000000
[5,7,1,2,6,3,8,4]=>0000000
[8,4,1,2,6,7,3,5]=>0000000
[5,8,1,2,6,7,3,4]=>0000000
[5,4,1,2,6,7,8,3]=>0000000
[4,3,1,6,2,8,5,7]=>0000000
[4,3,1,6,2,7,8,5]=>0000000
[8,3,1,5,2,4,6,7]=>0000000
[8,3,1,6,2,4,5,7]=>0000000
[7,3,1,6,2,4,8,5]=>0000000
[8,3,1,5,2,7,4,6]=>0000000
[8,3,1,6,2,7,4,5]=>0000000
[6,3,1,5,2,7,8,4]=>0000000
[7,4,1,5,2,3,8,6]=>0000000
[8,4,1,6,2,3,5,7]=>0000000
[7,4,1,8,2,3,5,6]=>0000000
[7,4,1,6,2,3,8,5]=>0000000
[8,7,1,6,2,3,4,5]=>0000000
[6,7,1,5,2,3,8,4]=>0000000
[6,8,1,5,2,7,3,4]=>0000000
[6,4,1,5,2,7,8,3]=>0000000
[4,3,1,5,8,2,6,7]=>0000000
[4,3,1,8,6,2,5,7]=>0000000
[4,3,1,8,7,2,5,6]=>0000000
[8,3,1,5,6,2,4,7]=>0000000
[8,3,1,5,7,2,4,6]=>0000000
[7,3,1,5,6,2,8,4]=>0000000
[7,8,1,5,6,2,3,4]=>0000000
[4,3,1,5,6,8,2,7]=>0000000
[8,4,1,5,6,7,2,3]=>0000000
[4,3,1,5,6,7,8,2]=>0000000
[2,3,7,1,6,4,8,5]=>0000000
[2,3,5,1,8,7,4,6]=>0000000
[2,3,8,1,6,7,4,5]=>0000000
[2,8,4,1,3,5,6,7]=>0000000
[2,6,4,1,3,8,5,7]=>0000000
[2,6,4,1,3,7,8,5]=>0000000
[2,7,5,1,3,4,8,6]=>0000000
[2,6,5,1,3,8,4,7]=>0000000
[2,8,5,1,3,7,4,6]=>0000000
[2,6,5,1,3,7,8,4]=>0000000
[2,7,4,1,6,3,8,5]=>0000000
[2,8,5,1,7,3,4,6]=>0000000
[2,7,5,1,6,3,8,4]=>0000000
[6,3,4,1,2,7,8,5]=>0000000
[7,3,5,1,2,4,8,6]=>0000000
[6,3,7,1,2,4,8,5]=>0000000
[6,3,8,1,2,7,4,5]=>0000000
[6,7,4,1,2,3,8,5]=>0000000
[6,8,5,1,2,3,4,7]=>0000000
[8,5,4,1,2,7,3,6]=>0000000
[6,8,4,1,2,7,3,5]=>0000000
[6,8,5,1,2,7,3,4]=>0000000
[6,5,4,1,2,7,8,3]=>0000000
[5,3,4,1,7,2,8,6]=>0000000
[8,3,4,1,7,2,5,6]=>0000000
[7,3,4,1,6,2,8,5]=>0000000
[8,3,5,1,6,2,4,7]=>0000000
[7,3,8,1,6,2,4,5]=>0000000
[7,3,5,1,6,2,8,4]=>0000000
[8,5,4,1,6,2,3,7]=>0000000
[8,5,4,1,7,2,3,6]=>0000000
[7,8,4,1,6,2,3,5]=>0000000
[7,8,5,1,6,2,3,4]=>0000000
[5,3,4,1,6,7,8,2]=>0000000
[2,3,7,6,1,4,8,5]=>0000000
[2,3,6,5,1,8,4,7]=>0000000
[2,3,6,5,1,7,8,4]=>0000000
[2,7,4,8,1,3,5,6]=>0000000
[2,7,4,6,1,3,8,5]=>0000000
[2,7,6,5,1,3,8,4]=>0000000
[2,6,4,5,1,8,3,7]=>0000000
[2,8,4,5,1,7,3,6]=>0000000
[2,8,4,6,1,7,3,5]=>0000000
[2,8,6,5,1,7,3,4]=>0000000
[7,3,8,5,1,2,4,6]=>0000000
[7,3,8,6,1,2,4,5]=>0000000
[7,3,6,5,1,2,8,4]=>0000000
[8,3,6,5,1,7,2,4]=>0000000
[8,6,4,5,1,7,2,3]=>0000000
[2,3,8,5,7,1,4,6]=>0000000
[2,3,7,5,6,1,8,4]=>0000000
[2,8,4,7,6,1,3,5]=>0000000
[2,8,7,5,6,1,3,4]=>0000000
[8,3,7,5,6,1,2,4]=>0000000
[2,8,4,5,6,7,1,3]=>0000000
[3,5,2,6,1,4,8,7]=>0000010
[3,5,2,6,4,1,8,7]=>0000010
[3,5,2,7,4,8,1,6]=>0000000
[3,5,2,7,4,8,6,1]=>0000000
[4,5,7,2,3,8,6,1]=>0000000
[4,5,7,2,3,8,1,6]=>0000000
[4,5,6,2,3,1,8,7]=>0000010
[4,5,6,2,1,3,8,7]=>0000010
[3,5,1,6,4,2,8,7]=>0000010
[4,5,6,1,3,2,8,7]=>0000010
[4,5,6,3,1,2,8,7]=>0000010
[4,5,7,3,2,8,1,6]=>0000000
[4,5,7,3,2,8,6,1]=>0000000
[4,6,7,3,8,2,5,1]=>0000000
[4,6,7,3,8,2,1,5]=>0000000
[4,6,7,3,8,1,2,5]=>0000000
[4,5,7,3,1,8,2,6]=>0000000
[4,5,7,1,3,8,2,6]=>0000000
[3,5,1,7,4,8,2,6]=>0000000
[2,1,5,7,4,8,3,6]=>0100000
[2,1,5,7,4,8,6,3]=>0100000
[3,5,1,7,4,8,6,2]=>0000000
[4,5,7,1,3,8,6,2]=>0000000
[4,5,7,3,1,8,6,2]=>0000000
[4,6,7,3,8,1,5,2]=>0000000
[4,6,7,3,8,5,1,2]=>0000000
[4,6,7,3,8,5,2,1]=>0000000
[5,6,7,8,3,1,4,2]=>0000000
[5,6,7,8,1,3,4,2]=>0000000
[4,6,7,1,8,3,5,2]=>0000000
[3,6,1,7,8,4,5,2]=>0000000
[2,1,6,7,8,4,5,3]=>0100000
[2,1,6,7,8,4,3,5]=>0100000
[3,6,1,7,8,4,2,5]=>0000000
[4,6,7,1,8,3,2,5]=>0000000
[5,6,7,8,1,3,2,4]=>0000000
[4,5,7,2,1,8,3,6]=>0000000
[4,6,7,2,8,1,3,5]=>0000000
[4,6,7,2,8,3,1,5]=>0000000
[4,6,7,2,8,3,5,1]=>0000000
[3,6,2,7,8,4,5,1]=>0000000
[3,6,2,7,8,4,1,5]=>0000000
[3,6,2,7,8,1,4,5]=>0000000
[3,5,2,7,1,8,4,6]=>0000000
[3,4,2,1,7,8,5,6]=>0001000
[3,4,1,2,7,8,6,5]=>0001000
[3,5,2,7,1,8,6,4]=>0000000
[3,6,2,7,8,1,5,4]=>0000000
[3,6,2,7,8,5,1,4]=>0000000
[3,6,2,7,8,5,4,1]=>0000000
[4,6,7,2,8,5,3,1]=>0000000
[4,6,7,2,8,5,1,3]=>0000000
[4,6,7,2,8,1,5,3]=>0000000
[4,5,7,2,1,8,6,3]=>0000000
[4,5,7,1,2,8,6,3]=>0000000
[3,5,1,7,2,8,6,4]=>0000000
[2,1,5,7,3,8,6,4]=>0100000
[2,1,6,7,8,3,5,4]=>0100000
[3,6,1,7,8,2,5,4]=>0000000
[4,6,7,1,8,2,5,3]=>0000000
[5,6,7,8,1,2,4,3]=>0000000
[5,6,7,8,2,1,4,3]=>0000000
[5,6,7,8,2,4,1,3]=>0000000
[5,6,7,8,2,4,3,1]=>0000000
[5,6,7,8,1,4,2,3]=>0000000
[4,6,7,1,8,5,2,3]=>0000000
[3,6,1,7,8,5,2,4]=>0000000
[2,1,6,7,8,5,3,4]=>0100000
[3,6,1,7,8,5,4,2]=>0000000
[4,6,7,1,8,5,3,2]=>0000000
[5,6,7,8,1,4,3,2]=>0000000
[5,6,7,8,4,1,3,2]=>0000000
[6,5,8,7,3,4,1,2]=>0000000
[3,6,7,4,5,8,1,2]=>0000000
[2,6,7,4,5,1,8,3]=>0000000
[1,6,7,4,5,2,3,8]=>1000001
[1,5,4,7,6,2,3,8]=>1000001
[2,5,4,7,6,1,8,3]=>0000000
[3,5,4,7,6,8,1,2]=>0000000
[4,5,3,7,8,6,1,2]=>0000000
[5,4,3,8,7,6,1,2]=>0000000
[6,4,8,3,7,5,1,2]=>0000000
[6,3,8,4,5,7,1,2]=>0000000
[5,3,4,8,6,7,1,2]=>0000000
[4,3,5,6,8,7,1,2]=>0000000
[3,2,5,6,1,8,7,4]=>0000000
[4,2,5,6,8,1,7,3]=>0000000
[5,2,4,8,6,1,7,3]=>0000000
[6,2,8,4,5,1,7,3]=>0000000
[7,8,2,4,5,1,6,3]=>0000000
[7,8,1,4,5,2,3,6]=>0000000
[6,1,8,4,5,2,3,7]=>0000000
[5,1,4,8,6,2,3,7]=>0000000
[4,1,3,2,8,6,5,7]=>0001000
[5,1,3,8,2,6,4,7]=>0000000
[6,1,8,3,2,5,4,7]=>0000000
[7,8,1,3,2,5,4,6]=>0000000
[7,8,2,3,1,5,6,4]=>0000000
[6,2,8,3,1,5,7,4]=>0000000
[5,2,3,8,1,6,7,4]=>0000000
[6,3,8,2,1,7,5,4]=>0000000
[7,8,3,2,1,6,5,4]=>0000000
[7,8,4,2,6,1,5,3]=>0000000
[5,4,2,8,7,1,6,3]=>0000000
[4,5,2,7,8,1,6,3]=>0000000
[2,5,3,7,1,6,8,4]=>0000000
[1,5,3,7,2,6,4,8]=>1000001
[1,6,7,3,2,5,4,8]=>1000001
[2,6,7,3,1,5,8,4]=>0000000
[3,6,7,2,1,8,5,4]=>0000000
[7,8,5,6,2,1,4,3]=>0000000
[6,5,8,7,1,2,3,4]=>0000000
[5,4,1,8,7,2,3,6]=>0000000
[6,4,8,1,7,2,3,5]=>0000000
[7,8,3,1,2,6,4,5]=>0000000
[5,3,1,8,2,7,4,6]=>0000000
[4,3,1,2,8,7,5,6]=>0001000
[4,2,1,3,8,5,7,6]=>0001000
[5,2,1,8,3,4,7,6]=>0000000
[6,2,8,1,3,4,7,5]=>0000000
[7,8,2,1,3,4,6,5]=>0000000
[6,3,1,5,2,4,8,7]=>0000010
[7,4,5,1,2,8,3,6]=>0000000
[6,4,5,1,2,3,8,7]=>0000010
[5,4,6,1,2,3,8,7]=>0000010
[4,6,5,1,2,3,8,7]=>0000010
[5,6,4,1,2,3,8,7]=>0000010
[6,5,4,1,2,3,8,7]=>0000010
[7,5,4,1,2,8,3,6]=>0000000
[8,6,4,1,7,2,3,5]=>0000000
[7,6,4,1,8,2,3,5]=>0000000
[6,7,4,1,8,2,3,5]=>0000000
[2,1,7,5,3,8,4,6]=>0100000
[2,1,8,5,3,7,4,6]=>0100000
[3,8,1,5,2,7,4,6]=>0000000
[8,7,4,1,6,2,3,5]=>0000000
[5,8,6,7,1,2,3,4]=>0000000
[3,8,1,6,7,2,4,5]=>0000000
[2,1,8,6,7,3,4,5]=>0100000
[3,7,1,6,8,2,4,5]=>0000000
[5,7,6,8,1,2,3,4]=>0000000
[6,4,7,1,8,2,3,5]=>0000000
[7,4,6,1,8,2,3,5]=>0000000
[8,4,6,1,7,2,3,5]=>0000000
[8,3,1,6,7,2,4,5]=>0000000
[7,3,1,6,8,2,4,5]=>0000000
[6,3,1,7,8,2,4,5]=>0000000
[4,3,1,2,7,8,5,6]=>0001000
[2,1,4,3,8,7,5,6]=>0101000
[3,4,1,2,8,7,5,6]=>0001000
[6,3,1,8,7,2,4,5]=>0000000
[7,4,8,1,6,2,3,5]=>0000000
[5,4,8,1,2,7,3,6]=>0000000
[4,5,8,1,2,7,3,6]=>0000000
[3,5,1,8,2,7,4,6]=>0000000
[2,1,5,8,3,7,4,6]=>0100000
[3,6,1,8,7,2,4,5]=>0000000
[5,6,8,7,1,2,3,4]=>0000000
[7,5,8,6,1,2,3,4]=>0000000
[8,5,7,6,1,2,3,4]=>0000000
[5,7,8,6,1,2,3,4]=>0000000
[2,1,7,8,6,3,4,5]=>0100000
[2,1,8,7,6,3,4,5]=>0100000
[3,8,1,7,6,2,4,5]=>0000000
[5,8,7,6,1,2,3,4]=>0000000
[6,8,7,5,1,2,3,4]=>0000000
[6,4,7,3,8,5,1,2]=>0000000
[6,4,7,3,5,8,1,2]=>0000000
[6,4,7,2,5,1,8,3]=>0000000
[5,4,2,7,6,1,3,8]=>0000001
[5,4,2,7,6,1,8,3]=>0000000
[5,4,3,7,6,8,1,2]=>0000000
[5,4,3,7,8,6,1,2]=>0000000
[6,4,8,3,5,7,1,2]=>0000000
[5,4,3,8,6,7,1,2]=>0000000
[5,4,3,6,8,7,1,2]=>0000000
[5,4,2,6,7,1,8,3]=>0000000
[5,4,2,6,7,1,3,8]=>0000001
[5,3,2,6,1,7,4,8]=>0000001
[5,3,2,6,1,7,8,4]=>0000000
[5,3,2,6,1,8,7,4]=>0000000
[5,4,2,6,8,1,7,3]=>0000000
[5,4,2,8,6,1,7,3]=>0000000
[6,4,8,2,5,1,7,3]=>0000000
[7,8,4,2,5,1,6,3]=>0000000
[7,8,4,2,5,1,3,6]=>0000000
[5,4,2,8,6,1,3,7]=>0000000
[5,3,2,6,1,8,4,7]=>0000000
[4,3,2,1,6,8,5,7]=>0001000
[4,3,2,1,8,6,5,7]=>0001000
[5,3,2,8,1,6,4,7]=>0000000
[6,3,8,2,1,5,4,7]=>0000000
[7,8,3,2,1,5,4,6]=>0000000
[7,8,3,2,1,5,6,4]=>0000000
[6,3,8,2,1,5,7,4]=>0000000
[5,3,2,8,1,6,7,4]=>0000000
[5,4,2,7,8,1,6,3]=>0000000
[5,3,2,7,1,8,6,4]=>0000000
[5,3,2,7,1,6,8,4]=>0000000
[5,3,2,7,1,6,4,8]=>0000001
[6,3,7,2,1,5,4,8]=>0000001
[6,3,7,2,1,5,8,4]=>0000000
[6,3,7,2,1,8,5,4]=>0000000
[6,4,7,2,8,1,5,3]=>0000000
[6,5,7,8,2,1,4,3]=>0000000
[6,5,8,7,2,1,3,4]=>0000000
[6,3,7,2,1,8,4,5]=>0000000
[6,3,7,2,1,4,8,5]=>0000000
[6,3,7,2,1,4,5,8]=>0000001
[5,3,2,7,1,4,8,6]=>0000000
[5,4,2,8,7,1,3,6]=>0000000
[7,8,4,2,6,1,3,5]=>0000000
[7,8,3,2,1,6,4,5]=>0000000
[6,3,8,2,1,7,4,5]=>0000000
[5,3,2,8,1,7,4,6]=>0000000
[4,3,2,1,8,7,5,6]=>0001000
[4,3,2,1,7,5,8,6]=>0001000
[4,3,2,1,7,5,6,8]=>0001001
[4,3,2,1,8,5,7,6]=>0001000
[5,3,2,8,1,4,7,6]=>0000000
[6,3,8,2,1,4,7,5]=>0000000
[7,8,3,2,1,4,6,5]=>0000000
[6,3,8,2,1,4,5,7]=>0000000
[4,3,2,1,8,5,6,7]=>0001000
[4,3,2,1,5,8,6,7]=>0001100
[7,8,5,6,1,2,4,3]=>0000000
[7,8,4,1,6,2,5,3]=>0000000
[7,8,1,4,6,2,5,3]=>0000000
[6,1,8,4,7,2,5,3]=>0000000
[1,6,8,4,7,2,5,3]=>1000000
[1,6,8,3,2,7,5,4]=>1000000
[6,1,8,3,2,7,5,4]=>0000000
[7,8,1,3,2,6,5,4]=>0000000
[7,8,3,1,2,6,5,4]=>0000000
[7,8,3,4,6,5,1,2]=>0000000
[7,8,2,4,6,1,5,3]=>0000000
[7,8,2,3,1,6,5,4]=>0000000
[7,8,2,1,3,6,5,4]=>0000000
[7,8,1,2,3,6,5,4]=>0000000
[6,1,8,2,3,7,5,4]=>0000000
[1,6,8,2,3,7,5,4]=>1000000
[1,5,2,8,3,7,6,4]=>1000000
[5,1,2,8,3,7,6,4]=>0000000
[5,2,1,8,3,7,6,4]=>0000000
[6,2,8,1,3,7,5,4]=>0000000
[6,2,8,3,1,7,5,4]=>0000000
[6,2,8,4,7,1,5,3]=>0000000
[6,3,8,4,7,5,1,2]=>0000000
[3,6,8,4,7,5,1,2]=>0000000
[2,6,8,4,7,1,5,3]=>0000000
[2,6,8,3,1,7,5,4]=>0000000
[2,6,8,1,3,7,5,4]=>0000000
[2,5,1,8,3,7,6,4]=>0000000
[1,2,5,8,3,7,6,4]=>1100000
[2,4,1,3,8,7,6,5]=>0001000
[2,5,3,8,1,7,6,4]=>0000000
[2,5,4,8,7,1,6,3]=>0000000
[3,5,4,8,7,6,1,2]=>0000000
[5,3,4,8,7,6,1,2]=>0000000
[5,2,4,8,7,1,6,3]=>0000000
[5,2,3,8,1,7,6,4]=>0000000
[4,2,1,3,8,7,6,5]=>0001000
[4,1,2,3,8,7,6,5]=>0001000
[1,4,2,3,8,7,6,5]=>1001000
[4,1,3,2,8,7,6,5]=>0001000
[4,3,1,2,8,7,6,5]=>0001000
[6,3,8,1,2,7,5,4]=>0000000
[5,3,1,8,2,7,6,4]=>0000000
[5,1,3,8,2,7,6,4]=>0000000
[1,5,3,8,2,7,6,4]=>1000000
[1,5,4,8,7,2,6,3]=>1000000
[5,1,4,8,7,2,6,3]=>0000000
[5,4,1,8,7,2,6,3]=>0000000
[6,4,8,1,7,2,5,3]=>0000000
[6,5,8,7,1,2,4,3]=>0000000
[5,6,8,7,3,4,1,2]=>0000000
[5,6,8,7,2,1,4,3]=>0000000
[4,5,1,8,7,2,6,3]=>0000000
[4,1,5,8,7,2,6,3]=>0000000
[1,4,5,8,7,2,6,3]=>1000000
[1,3,5,8,2,7,6,4]=>1000000
[3,1,5,8,2,7,6,4]=>0000000
[3,6,8,1,2,7,5,4]=>0000000
[3,6,8,2,1,7,5,4]=>0000000
[4,6,8,2,7,1,5,3]=>0000000
[4,6,8,3,7,5,1,2]=>0000000
[4,5,3,8,7,6,1,2]=>0000000
[4,5,2,8,7,1,6,3]=>0000000
[3,5,2,8,1,7,6,4]=>0000000
[3,1,4,2,8,7,6,5]=>0001000
[3,1,2,4,8,7,6,5]=>0011000
[3,2,5,8,1,7,6,4]=>0000000
[4,2,5,8,7,1,6,3]=>0000000
[4,3,5,8,7,6,1,2]=>0000000
[3,4,5,8,7,6,1,2]=>0000000
[2,4,5,8,7,1,6,3]=>0000000
[2,3,5,8,1,7,6,4]=>0000000
[4,1,3,2,6,5,8,7]=>0001010
[7,1,3,2,5,4,8,6]=>0000000
[8,1,3,2,5,4,7,6]=>0000000
[8,1,4,2,5,3,7,6]=>0000000
[7,1,4,2,5,3,8,6]=>0000000
[5,1,4,2,6,3,8,7]=>0000010
[2,1,6,3,5,4,8,7]=>0100010
[3,1,6,2,5,4,8,7]=>0000010
[4,1,6,2,5,3,8,7]=>0000010
[5,2,7,1,4,3,8,6]=>0000000
[5,2,8,1,4,3,7,6]=>0000000
[6,2,8,1,4,3,7,5]=>0000000
[6,2,7,1,4,3,8,5]=>0000000
[4,1,7,2,5,3,8,6]=>0000000
[3,1,7,2,5,4,8,6]=>0000000
[2,1,7,3,5,4,8,6]=>0100000
[2,1,8,3,5,4,7,6]=>0100000
[3,1,8,2,5,4,7,6]=>0000000
[4,1,8,2,5,3,7,6]=>0000000
[8,2,6,1,4,3,7,5]=>0000000
[7,1,4,3,8,2,6,5]=>0000000
[8,1,5,3,7,2,6,4]=>0000000
[7,1,5,3,8,2,6,4]=>0000000
[5,1,8,2,6,3,7,4]=>0000000
[4,1,8,2,6,3,7,5]=>0000000
[3,1,8,2,6,4,7,5]=>0000000
[2,1,8,3,6,4,7,5]=>0100000
[2,1,7,3,6,4,8,5]=>0100000
[4,1,7,2,6,3,8,5]=>0000000
[5,1,7,2,6,3,8,4]=>0000000
[6,2,7,1,5,3,8,4]=>0000000
[8,1,5,2,6,3,7,4]=>0000000
[6,1,4,2,7,3,8,5]=>0000000
[8,1,4,2,6,3,7,5]=>0000000
[8,1,3,2,6,4,7,5]=>0000000
[7,1,3,2,6,4,8,5]=>0000000
[6,1,3,2,7,4,8,5]=>0000000
[5,1,3,2,7,4,8,6]=>0000000
[2,1,4,3,8,5,7,6]=>0101000
[3,1,4,2,8,5,7,6]=>0001000
[4,1,3,2,8,5,7,6]=>0001000
[5,1,3,2,8,4,7,6]=>0000000
[6,1,3,2,8,4,7,5]=>0000000
[8,4,7,1,3,2,6,5]=>0000000
[7,4,8,1,3,2,6,5]=>0000000
[7,3,8,1,4,2,6,5]=>0000000
[8,3,7,1,4,2,6,5]=>0000000
[6,1,4,2,8,3,7,5]=>0000000
[5,1,4,2,8,3,7,6]=>0000000
[4,1,5,2,8,3,7,6]=>0000000
[3,1,5,2,8,4,7,6]=>0000000
[2,1,5,3,8,4,7,6]=>0100000
[2,1,6,3,8,4,7,5]=>0100000
[3,1,6,2,8,4,7,5]=>0000000
[4,1,6,2,8,3,7,5]=>0000000
[5,1,6,2,8,3,7,4]=>0000000
[6,1,5,2,8,3,7,4]=>0000000
[6,2,7,3,8,1,5,4]=>0000000
[6,2,8,3,7,1,5,4]=>0000000
[8,3,7,2,6,1,5,4]=>0000000
[5,1,8,3,7,2,6,4]=>0000000
[4,1,8,3,7,2,6,5]=>0000000
[3,1,8,4,7,2,6,5]=>0000000
[2,1,8,4,7,3,6,5]=>0100000
[3,1,7,4,8,2,6,5]=>0000000
[5,1,7,3,8,2,6,4]=>0000000
[7,3,8,2,6,1,5,4]=>0000000
[8,2,6,3,7,1,5,4]=>0000000
[7,2,6,3,8,1,5,4]=>0000000
[3,4,2,6,8,1,5,7]=>0000000
[5,3,6,2,8,1,4,7]=>0000000
[5,3,6,2,4,8,1,7]=>0000000
[5,7,3,8,2,4,1,6]=>0000000
[5,7,3,8,2,4,6,1]=>0000000
[7,4,2,5,8,3,6,1]=>0000000
[7,4,2,5,8,3,1,6]=>0000000
[4,5,2,6,3,8,1,7]=>0000000
[4,5,2,1,6,8,3,7]=>0000000
[5,3,1,6,8,2,4,7]=>0000000
[5,6,2,8,1,3,4,7]=>0000000
[3,5,6,1,4,8,2,7]=>0000000
[4,1,5,6,3,8,2,7]=>0000000
[4,5,1,6,3,8,2,7]=>0000000
[4,5,6,3,2,8,1,7]=>0000000
[7,4,5,3,8,2,1,6]=>0000000
[7,4,5,3,8,2,6,1]=>0000000
[6,7,4,8,3,2,5,1]=>0000000
[6,7,4,8,3,2,1,5]=>0000000
[6,7,4,1,8,3,2,5]=>0000000
[7,4,5,3,1,8,2,6]=>0000000
[4,7,1,5,8,3,2,6]=>0000000
[5,3,7,8,1,4,2,6]=>0000000
[7,5,8,2,4,6,1,3]=>0000000
[7,3,5,8,1,4,6,2]=>0000000
[4,5,1,7,8,3,6,2]=>0000000
[7,4,1,5,8,3,6,2]=>0000000
[6,7,4,3,8,1,5,2]=>0000000
[6,7,4,8,3,1,5,2]=>0000000
[6,7,4,8,3,5,2,1]=>0000000
[5,6,7,3,8,4,2,1]=>0000000
[5,6,7,3,1,8,4,2]=>0000000
[5,6,1,7,3,8,4,2]=>0000000
[5,1,6,7,3,8,4,2]=>0000000
[6,4,7,1,8,3,5,2]=>0000000
[6,7,8,3,1,4,5,2]=>0000000
[6,7,2,8,4,5,1,3]=>0000000
[6,7,2,8,4,1,3,5]=>0000000
[6,1,7,4,8,3,2,5]=>0000000
[5,1,6,7,3,2,8,4]=>0000000
[5,6,1,7,3,2,8,4]=>0000000
[5,6,7,3,2,1,8,4]=>0000000
[5,6,7,3,2,8,4,1]=>0000000
[5,6,2,7,3,8,4,1]=>0000000
[5,6,2,7,3,1,8,4]=>0000000
[5,6,2,1,7,3,8,4]=>0000000
[6,1,7,4,2,8,3,5]=>0000000
[6,7,2,1,8,3,4,5]=>0000000
[7,5,8,2,1,3,4,6]=>0000000
[5,7,3,1,8,2,4,6]=>0000000
[4,7,1,5,2,8,3,6]=>0000000
[7,4,2,5,1,8,3,6]=>0000000
[6,7,4,2,1,8,3,5]=>0000000
[6,7,4,2,8,3,1,5]=>0000000
[6,7,4,2,8,3,5,1]=>0000000
[3,6,7,2,8,4,5,1]=>0000000
[3,6,7,2,8,4,1,5]=>0000000
[3,6,7,2,1,8,4,5]=>0000000
[5,7,3,8,2,1,4,6]=>0000000
[3,4,7,8,2,1,5,6]=>0000000
[3,7,8,1,4,6,2,5]=>0000000
[3,4,7,8,2,6,1,5]=>0000000
[5,7,3,8,2,6,1,4]=>0000000
[3,6,7,2,8,5,1,4]=>0000000
[3,6,7,8,5,2,1,4]=>0000000
[3,6,7,8,5,2,4,1]=>0000000
[6,4,7,8,2,5,3,1]=>0000000
[6,4,7,8,2,1,5,3]=>0000000
[4,1,5,7,8,2,6,3]=>0000000
[5,3,7,8,1,6,2,4]=>0000000
[6,7,2,8,5,1,3,4]=>0000000
[6,4,1,7,8,2,5,3]=>0000000
[5,1,6,2,7,8,4,3]=>0000000
[5,6,2,1,7,8,4,3]=>0000000
[5,6,2,7,1,8,4,3]=>0000000
[5,6,2,7,8,4,3,1]=>0000000
[5,6,7,2,8,4,3,1]=>0000000
[5,6,7,2,1,8,4,3]=>0000000
[5,6,1,7,2,8,4,3]=>0000000
[5,1,6,7,2,8,4,3]=>0000000
[6,4,7,1,8,2,5,3]=>0000000
[3,6,7,1,8,5,2,4]=>0000000
[6,7,8,5,2,4,1,3]=>0000000
[6,7,8,3,5,1,4,2]=>0000000
[4,6,7,8,1,5,3,2]=>0000000
[5,1,6,7,8,4,3,2]=>0000000
[5,6,1,7,8,4,3,2]=>0000000
[5,6,7,1,8,4,3,2]=>0000000
[8,6,1,3,4,2,5,7]=>0000000
[8,3,2,5,1,6,4,7]=>0000000
[8,5,3,6,2,4,1,7]=>0000000
[5,3,2,7,4,1,8,6]=>0000000
[7,5,3,8,2,4,6,1]=>0000000
[7,2,4,5,8,3,6,1]=>0000000
[2,4,5,3,7,1,8,6]=>0000000
[8,2,4,5,6,3,1,7]=>0000000
[8,2,4,5,6,1,3,7]=>0000000
[8,1,2,4,5,6,3,7]=>0000000
[8,2,5,1,3,6,4,7]=>0000000
[8,5,6,2,1,4,3,7]=>0000000
[8,5,3,6,4,1,2,7]=>0000000
[8,4,1,5,6,3,2,7]=>0000000
[8,1,4,5,6,3,2,7]=>0000000
[4,5,3,7,2,1,8,6]=>0000000
[7,4,5,8,3,2,6,1]=>0000000
[4,3,6,7,2,8,5,1]=>0000000
[4,3,6,7,2,8,1,5]=>0000000
[1,4,3,6,7,2,8,5]=>1000000
[4,5,3,7,1,8,2,6]=>0000000
[4,1,5,3,7,2,8,6]=>0000000
[5,3,4,7,1,2,8,6]=>0000000
[7,5,8,2,1,4,6,3]=>0000000
[7,5,3,8,4,1,6,2]=>0000000
[7,4,5,8,3,6,1,2]=>0000000
[4,3,6,7,8,1,5,2]=>0000000
[1,6,4,7,8,3,5,2]=>1000000
[6,4,7,8,3,5,2,1]=>0000000
[3,5,6,7,8,4,1,2]=>0000000
[3,1,5,6,7,8,4,2]=>0000000
[4,6,1,7,8,3,5,2]=>0000000
[3,6,7,1,4,8,5,2]=>0000000
[6,2,4,1,7,8,5,3]=>0000000
[2,6,7,1,4,8,3,5]=>0000000
[4,3,6,7,8,1,2,5]=>0000000
[1,5,3,6,7,8,2,4]=>1000000
[3,5,6,7,8,2,1,4]=>0000000
[3,5,6,7,8,2,4,1]=>0000000
[5,2,7,1,3,8,4,6]=>0000000
[5,3,1,7,8,2,4,6]=>0000000
[4,5,2,7,8,1,3,6]=>0000000
[4,2,6,7,8,3,1,5]=>0000000
[4,2,6,7,8,3,5,1]=>0000000
[3,6,2,7,4,8,5,1]=>0000000
[3,6,2,7,4,8,1,5]=>0000000
[3,2,1,6,4,7,8,5]=>0010000
[3,7,4,2,1,5,8,6]=>0000000
[1,7,3,4,2,5,8,6]=>1000000
[4,7,2,1,3,5,8,6]=>0000000
[7,8,4,2,1,3,6,5]=>0000000
[7,8,1,3,4,2,6,5]=>0000000
[7,8,3,4,2,1,6,5]=>0000000
[6,3,2,7,1,8,5,4]=>0000000
[3,6,2,7,1,8,5,4]=>0000000
[6,7,3,8,2,5,4,1]=>0000000
[6,4,7,8,5,2,3,1]=>0000000
[2,6,4,7,8,1,5,3]=>0000000
[4,6,2,7,8,1,5,3]=>0000000
[7,4,5,8,6,2,1,3]=>0000000
[7,4,1,5,8,6,2,3]=>0000000
[7,5,3,8,6,1,2,4]=>0000000
[7,5,8,2,1,6,3,4]=>0000000
[6,2,7,1,3,8,5,4]=>0000000
[6,3,1,7,8,2,5,4]=>0000000
[4,6,1,7,8,5,2,3]=>0000000
[5,1,2,6,7,8,4,3]=>0000000
[5,2,6,7,8,4,1,3]=>0000000
[5,2,6,7,8,4,3,1]=>0000000
[2,5,6,7,8,4,1,3]=>0000000
[1,5,2,6,7,8,4,3]=>1000000
[1,6,4,7,8,5,2,3]=>1000000
[2,6,7,1,3,8,5,4]=>0000000
[6,7,8,2,1,5,4,3]=>0000000
[6,7,3,8,5,1,4,2]=>0000000
[6,4,7,8,5,3,1,2]=>0000000
[4,5,2,3,7,6,1,8]=>0000001
[6,4,3,7,2,5,1,8]=>0000001
[8,4,3,6,5,1,2,7]=>0000000
[1,5,6,3,4,8,7,2]=>1000000
[4,6,2,7,3,5,1,8]=>0000001
[3,2,6,7,4,5,1,8]=>0000001
[4,7,2,6,5,3,1,8]=>0000001
[5,7,6,2,4,3,1,8]=>0000001
[1,7,5,4,8,3,6,2]=>1000000
[8,7,5,4,1,3,2,6]=>0000000
[6,8,5,4,2,1,3,7]=>0000000
[5,8,6,2,4,1,3,7]=>0000000
[4,8,2,6,5,1,3,7]=>0000000
[3,2,8,6,5,1,4,7]=>0000000
[4,1,2,6,5,8,7,3]=>0000000
[5,1,6,2,4,8,7,3]=>0000000
[6,1,5,4,2,8,7,3]=>0000000
[7,1,5,4,8,2,6,3]=>0000000
[8,1,5,4,7,6,2,3]=>0000000
[1,8,6,7,4,5,3,2]=>1000000
[8,1,6,7,4,5,2,3]=>0000000
[7,1,6,8,4,2,5,3]=>0000000
[6,1,7,8,2,4,5,3]=>0000000
[5,1,7,2,8,4,6,3]=>0000000
[4,1,2,7,8,5,6,3]=>0000000
[3,2,1,7,8,5,6,4]=>0010000
[3,2,8,7,1,5,4,6]=>0000000
[4,8,2,7,1,5,3,6]=>0000000
[5,8,7,2,1,4,3,6]=>0000000
[6,8,7,1,2,4,3,5]=>0000000
[7,8,6,1,4,2,3,5]=>0000000
[8,7,6,1,4,3,2,5]=>0000000
[1,7,6,8,4,3,5,2]=>1000000
[1,6,7,8,3,4,5,2]=>1000000
[8,6,7,1,3,4,2,5]=>0000000
[7,6,8,1,3,2,4,5]=>0000000
[5,7,8,2,1,3,4,6]=>0000000
[4,7,2,8,1,3,5,6]=>0000000
[3,2,6,8,4,1,5,7]=>0000000
[4,6,2,8,3,1,5,7]=>0000000
[5,6,8,2,3,1,4,7]=>0000000
[6,5,8,3,2,1,4,7]=>0000000
[7,5,8,3,1,2,4,6]=>0000000
[8,5,7,3,1,4,2,6]=>0000000
[1,5,7,3,8,4,6,2]=>1000000
[1,4,3,7,8,5,6,2]=>1000000
[8,4,3,7,1,5,2,6]=>0000000
[6,4,3,8,2,1,5,7]=>0000000
[4,5,2,3,8,1,6,7]=>0000000
[3,2,5,4,8,1,6,7]=>0000000
[4,5,2,3,1,8,7,6]=>0000100
[6,4,3,1,2,8,7,5]=>0000000
[7,4,3,1,8,2,6,5]=>0000000
[8,4,3,1,7,6,2,5]=>0000000
[1,5,8,3,7,6,4,2]=>1000000
[8,5,1,3,7,6,2,4]=>0000000
[7,5,1,3,8,2,6,4]=>0000000
[6,5,1,3,2,8,7,4]=>0000000
[5,6,1,2,3,8,7,4]=>0000000
[4,6,2,1,3,8,7,5]=>0000000
[3,2,6,1,4,8,7,5]=>0000000
[3,2,7,1,8,4,6,5]=>0000000
[4,7,2,1,8,3,6,5]=>0000000
[5,7,1,2,8,3,6,4]=>0000000
[6,7,1,8,2,3,5,4]=>0000000
[7,6,1,8,3,2,5,4]=>0000000
[8,6,1,7,3,5,2,4]=>0000000
[1,6,8,7,3,5,4,2]=>1000000
[1,7,8,6,5,3,4,2]=>1000000
[8,7,1,6,5,3,2,4]=>0000000
[7,8,1,6,5,2,3,4]=>0000000
[6,8,1,7,2,5,3,4]=>0000000
[5,8,1,2,7,6,3,4]=>0000000
[4,8,2,1,7,6,3,5]=>0000000
[3,2,8,1,7,6,4,5]=>0000000
[4,1,2,8,7,6,5,3]=>0000000
[5,1,8,2,7,6,4,3]=>0000000
[6,1,8,7,2,5,4,3]=>0000000
[7,1,8,6,5,2,4,3]=>0000000
[8,1,7,6,5,4,2,3]=>0000000
[3,1,2,6,5,8,7,4]=>0010000
[3,1,6,2,4,8,7,5]=>0000000
[3,1,5,2,4,8,7,6]=>0000100
[4,5,1,2,3,8,7,6]=>0000100
[4,6,1,2,3,8,7,5]=>0000000
[1,6,5,3,4,8,7,2]=>1000000
[6,1,5,2,4,8,7,3]=>0000000
[6,5,1,2,3,8,7,4]=>0000000
[6,4,1,2,3,8,7,5]=>0000000
[5,4,1,2,3,8,7,6]=>0000100
[5,4,1,2,7,3,6,8]=>0000001
[6,4,1,7,2,3,5,8]=>0000001
[6,4,1,8,2,3,5,7]=>0000000
[7,4,1,2,8,3,6,5]=>0000000
[7,5,1,2,8,3,6,4]=>0000000
[7,1,5,2,8,4,6,3]=>0000000
[1,7,5,3,8,4,6,2]=>1000000
[1,8,5,3,7,4,6,2]=>1000000
[8,1,5,2,7,4,6,3]=>0000000
[8,5,1,2,7,3,6,4]=>0000000
[8,4,1,2,7,3,6,5]=>0000000
[8,4,1,7,2,3,5,6]=>0000000
[7,4,1,6,2,3,5,8]=>0000001
[8,6,1,7,2,3,5,4]=>0000000
[8,1,6,7,2,4,5,3]=>0000000
[1,8,6,7,3,4,5,2]=>1000000
[1,7,6,8,3,4,5,2]=>1000000
[7,1,6,8,2,4,5,3]=>0000000
[7,6,1,8,2,3,5,4]=>0000000
[4,7,1,2,8,3,6,5]=>0000000
[3,1,7,2,8,4,6,5]=>0000000
[3,1,2,7,8,5,6,4]=>0010000
[1,4,3,8,7,5,6,2]=>1000000
[4,1,2,8,7,5,6,3]=>0000000
[3,1,2,8,7,5,6,4]=>0010000
[3,1,8,2,7,4,6,5]=>0000000
[3,1,8,7,2,4,5,6]=>0000000
[3,1,7,6,2,4,5,8]=>0000001
[4,7,1,6,2,3,5,8]=>0000001
[4,8,1,6,2,3,5,7]=>0000000
[4,8,1,7,2,3,5,6]=>0000000
[4,8,1,2,7,3,6,5]=>0000000
[5,8,1,2,7,3,6,4]=>0000000
[5,1,8,2,7,4,6,3]=>0000000
[1,5,8,3,7,4,6,2]=>1000000
[1,6,8,7,3,4,5,2]=>1000000
[6,1,8,7,2,4,5,3]=>0000000
[6,8,1,7,2,3,5,4]=>0000000
[6,8,7,1,2,3,4,5]=>0000000
[5,8,7,1,2,3,4,6]=>0000000
[5,8,6,1,2,3,4,7]=>0000000
[5,7,6,1,2,3,4,8]=>0000001
[7,8,1,6,2,3,5,4]=>0000000
[7,1,8,6,2,4,5,3]=>0000000
[1,7,8,6,3,4,5,2]=>1000000
[1,8,7,6,3,4,5,2]=>1000000
[8,1,7,6,2,4,5,3]=>0000000
[8,7,1,6,2,3,5,4]=>0000000
[3,2,5,4,7,1,8,6]=>0000000
[4,2,5,3,7,6,8,1]=>0000000
[4,2,5,3,7,1,8,6]=>0000000
[4,2,5,3,6,1,8,7]=>0000010
[4,2,5,1,6,3,8,7]=>0000010
[3,1,5,4,6,2,8,7]=>0000010
[4,1,5,3,6,2,8,7]=>0000010
[4,3,5,1,6,2,8,7]=>0000010
[4,3,5,2,7,1,8,6]=>0000000
[4,3,6,2,7,5,8,1]=>0000000
[4,3,6,2,7,1,8,5]=>0000000
[4,3,6,1,7,2,8,5]=>0000000
[4,3,5,1,7,2,8,6]=>0000000
[3,1,5,4,7,2,8,6]=>0000000
[2,1,5,4,7,3,8,6]=>0100000
[4,1,5,3,7,6,8,2]=>0000000
[4,3,5,1,7,6,8,2]=>0000000
[4,3,6,1,7,5,8,2]=>0000000
[4,3,6,5,7,1,8,2]=>0000000
[5,3,6,4,7,2,8,1]=>0000000
[5,3,6,4,7,1,8,2]=>0000000
[5,3,6,1,7,4,8,2]=>0000000
[5,1,6,3,7,4,8,2]=>0000000
[4,1,6,3,7,5,8,2]=>0000000
[3,1,6,4,7,5,8,2]=>0000000
[2,1,6,4,7,3,8,5]=>0100000
[3,1,6,4,7,2,8,5]=>0000000
[4,1,6,3,7,2,8,5]=>0000000
[5,1,6,3,7,2,8,4]=>0000000
[5,3,6,1,7,2,8,4]=>0000000
[5,3,6,2,7,1,8,4]=>0000000
[5,3,6,2,7,4,8,1]=>0000000
[5,2,6,3,7,4,8,1]=>0000000
[5,2,6,3,7,1,8,4]=>0000000
[5,2,6,1,7,3,8,4]=>0000000
[4,2,5,1,7,3,8,6]=>0000000
[4,2,6,1,7,3,8,5]=>0000000
[4,2,6,3,7,1,8,5]=>0000000
[4,2,6,3,7,5,8,1]=>0000000
[3,2,6,4,7,5,8,1]=>0000000
[3,2,6,4,7,1,8,5]=>0000000
[3,2,6,1,7,4,8,5]=>0000000
[3,2,5,1,7,4,8,6]=>0000000
[3,1,4,2,7,6,8,5]=>0001000
[3,2,5,1,7,6,8,4]=>0000000
[3,2,6,1,7,5,8,4]=>0000000
[3,2,6,5,7,1,8,4]=>0000000
[4,2,6,5,7,1,8,3]=>0000000
[4,2,6,1,7,5,8,3]=>0000000
[4,2,5,1,7,6,8,3]=>0000000
[4,1,6,2,7,5,8,3]=>0000000
[5,1,6,2,7,4,8,3]=>0000000
[5,2,6,1,7,4,8,3]=>0000000
[5,2,6,4,7,1,8,3]=>0000000
[5,2,6,4,7,3,8,1]=>0000000
[5,4,6,2,7,3,8,1]=>0000000
[5,4,6,2,7,1,8,3]=>0000000
[5,4,6,1,7,2,8,3]=>0000000
[5,1,6,4,7,2,8,3]=>0000000
[4,1,6,5,7,2,8,3]=>0000000
[3,1,6,5,7,2,8,4]=>0000000
[2,1,6,5,7,3,8,4]=>0100000
[4,1,6,5,7,3,8,2]=>0000000
[5,1,6,4,7,3,8,2]=>0000000
[5,4,6,1,7,3,8,2]=>0000000
[5,4,6,3,7,1,8,2]=>0000000
[8,3,5,2,1,6,4,7]=>0000000
[8,6,3,5,2,4,1,7]=>0000000
[3,7,5,2,4,1,8,6]=>0000000
[8,3,7,5,2,4,6,1]=>0000000
[8,2,4,5,7,3,6,1]=>0000000
[2,4,5,7,3,1,8,6]=>0000000
[8,2,4,6,5,3,1,7]=>0000000
[8,2,5,4,6,1,3,7]=>0000000
[8,6,3,5,1,4,2,7]=>0000000
[8,6,1,4,5,3,2,7]=>0000000
[8,1,5,6,4,3,2,7]=>0000000
[5,7,4,3,2,1,8,6]=>0000000
[8,5,7,4,3,2,6,1]=>0000000
[4,6,8,3,2,7,5,1]=>0000000
[4,7,6,3,2,8,1,5]=>0000000
[1,4,6,7,3,2,8,5]=>1000000
[5,4,7,3,1,8,2,6]=>0000000
[1,7,4,5,3,2,8,6]=>1000000
[3,7,5,1,4,2,8,6]=>0000000
[5,7,4,2,1,3,8,6]=>0000000
[8,5,7,4,2,1,6,3]=>0000000
[8,3,7,5,1,4,6,2]=>0000000
[8,4,1,7,5,3,6,2]=>0000000
[4,6,3,8,7,1,5,2]=>0000000
[1,7,4,8,6,3,5,2]=>1000000
[8,4,7,6,3,5,2,1]=>0000000
[3,6,5,8,7,4,1,2]=>0000000
[3,1,5,8,6,7,4,2]=>0000000
[4,8,1,6,7,3,5,2]=>0000000
[3,6,4,1,8,7,5,2]=>0000000
[8,2,6,1,4,7,5,3]=>0000000
[2,7,6,8,1,4,3,5]=>0000000
[3,7,1,6,4,8,2,5]=>0000000
[1,7,3,5,6,8,2,4]=>1000000
[1,3,6,7,5,8,2,4]=>1000000
[3,7,6,5,8,2,1,4]=>0000000
[3,6,8,5,7,2,4,1]=>0000000
[2,3,5,7,6,8,1,4]=>0000000
[2,1,6,5,7,8,3,4]=>0100000
[4,2,7,6,8,3,1,5]=>0000000
[4,2,6,8,7,3,5,1]=>0000000
[3,8,2,4,6,7,5,1]=>0000000
[3,7,2,6,4,8,1,5]=>0000000
[3,2,6,1,4,7,8,5]=>0000000
[5,3,7,2,1,8,4,6]=>0000000
[4,7,3,2,1,5,8,6]=>0000000
[8,7,6,1,3,4,2,5]=>0000000
[8,5,7,3,2,1,6,4]=>0000000
[8,3,6,7,2,1,5,4]=>0000000
[3,7,8,6,2,1,5,4]=>0000000
[8,7,6,3,5,2,4,1]=>0000000
[2,7,4,8,1,6,5,3]=>0000000
[4,6,8,2,1,7,5,3]=>0000000
[8,4,1,5,7,2,6,3]=>0000000
[8,5,3,7,1,6,2,4]=>0000000
[8,5,7,2,1,3,6,4]=>0000000
[8,2,6,7,1,3,5,4]=>0000000
[8,3,6,1,7,5,2,4]=>0000000
[4,6,1,8,7,2,5,3]=>0000000
[8,1,2,5,6,7,4,3]=>0000000
[8,2,6,5,7,4,1,3]=>0000000
[2,1,7,8,5,6,4,3]=>0100000
[8,2,5,7,6,4,3,1]=>0000000
[2,7,6,8,5,4,1,3]=>0000000
[1,7,2,5,8,6,4,3]=>1000000
[1,7,4,8,2,6,5,3]=>1000000
[3,7,8,1,6,5,2,4]=>0000000
[2,7,8,6,1,3,5,4]=>0000000
[8,7,6,3,5,1,4,2]=>0000000
[8,4,7,6,5,1,3,2]=>0000000
[8,7,1,5,6,4,3,2]=>0000000
[8,1,6,7,5,4,3,2]=>0000000
[6,5,3,1,2,4,8,7]=>0000010
[4,6,3,5,1,2,8,7]=>0000010
[8,5,3,7,2,1,4,6]=>0000000
[5,4,3,6,1,2,8,7]=>0000010
[3,1,6,4,5,2,8,7]=>0000010
[5,8,7,4,2,6,3,1]=>0000000
[3,7,8,4,5,1,2,6]=>0000000
[2,1,8,7,5,3,4,6]=>0100000
[2,1,6,8,5,7,3,4]=>0100000
[5,6,3,8,1,7,2,4]=>0000000
[7,6,1,4,5,8,3,2]=>0000000
[3,7,6,4,5,8,2,1]=>0000000
[8,5,7,4,1,6,3,2]=>0000000
[2,5,8,4,7,6,1,3]=>0000000
[2,4,8,3,5,6,7,1]=>0000000
[3,8,4,2,5,6,7,1]=>0000000
[7,5,8,4,3,6,1,2]=>0000000
[2,1,5,8,4,6,7,3]=>0100000
[6,4,3,8,2,1,7,5]=>0000000
[7,3,8,4,2,6,1,5]=>0000000
[3,1,8,2,5,6,7,4]=>0000000
[2,3,8,1,5,6,7,4]=>0000000
[4,8,2,3,5,6,7,1]=>0000000
[3,8,2,1,5,6,7,4]=>0000000
[2,8,1,3,5,6,7,4]=>0000000
[8,1,2,3,5,6,7,4]=>0000000
[7,8,2,4,3,6,1,5]=>0000000
[6,8,3,2,4,1,7,5]=>0000000
[2,1,7,8,5,4,3,6]=>0100000
[5,7,3,8,1,4,2,6]=>0000000
[3,8,7,4,2,6,1,5]=>0000000
[5,6,3,8,4,2,7,1]=>0000000
[4,8,3,6,2,1,7,5]=>0000000
[7,5,3,8,2,4,1,6]=>0000000
[2,4,3,1,8,5,7,6]=>0001000
[4,1,3,2,6,8,7,5]=>0001000
[8,6,3,5,1,2,7,4]=>0000000
[5,7,3,6,1,8,2,4]=>0000000
[2,1,7,6,5,8,3,4]=>0100000
[6,8,3,5,2,1,7,4]=>0000000
[7,8,5,4,2,6,1,3]=>0000000
[8,1,4,2,5,6,7,3]=>0000000
[4,8,1,2,5,6,7,3]=>0000000
[3,4,8,1,5,6,7,2]=>0000000
[3,4,2,8,5,6,7,1]=>0000000
[4,1,2,8,5,6,7,3]=>0000000
[8,4,2,1,5,6,7,3]=>0000000
[6,5,3,2,8,1,7,4]=>0000000
[6,4,3,5,8,1,7,2]=>0000000
[8,3,4,1,5,6,7,2]=>0000000
[4,3,1,8,5,6,7,2]=>0000000
[5,1,7,4,8,6,3,2]=>0000000
[3,8,7,4,5,2,1,6]=>0000000
[5,7,1,4,8,6,2,3]=>0000000
[5,6,3,1,8,2,7,4]=>0000000
[4,6,3,5,8,2,7,1]=>0000000
[4,6,3,8,1,2,7,5]=>0000000
[3,2,5,1,6,8,4,7]=>0000000
[3,6,2,5,4,8,1,7]=>0000000
[3,5,2,4,7,1,8,6]=>0000000
[3,5,8,2,4,7,6,1]=>0000000
[4,2,5,8,3,7,6,1]=>0000000
[4,2,6,5,3,8,1,7]=>0000000
[5,4,2,1,6,8,3,7]=>0000000
[6,3,5,1,4,8,2,7]=>0000000
[4,6,1,5,3,8,2,7]=>0000000
[5,1,6,4,3,8,2,7]=>0000000
[5,4,3,2,7,1,8,6]=>0000000
[5,4,3,8,2,7,6,1]=>0000000
[4,3,6,2,8,7,5,1]=>0000000
[4,3,7,6,2,1,8,5]=>0000000
[6,4,3,1,7,2,8,5]=>0000000
[7,5,4,3,1,8,2,6]=>0000000
[1,4,7,5,8,3,2,6]=>1000000
[7,1,3,5,8,4,2,6]=>0000000
[7,2,5,8,4,1,3,6]=>0000000
[2,8,5,7,4,6,1,3]=>0000000
[3,5,8,7,1,4,6,2]=>0000000
[1,4,5,8,7,3,6,2]=>1000000
[1,5,4,8,7,3,6,2]=>1000000
[6,4,3,8,1,7,5,2]=>0000000
[4,3,7,1,8,6,5,2]=>0000000
[4,8,3,7,6,5,2,1]=>0000000
[5,3,8,7,6,4,2,1]=>0000000
[7,5,3,1,8,6,4,2]=>0000000
[1,8,6,5,3,7,4,2]=>1000000
[1,5,8,6,3,7,4,2]=>1000000
[4,6,1,8,7,3,5,2]=>0000000
[6,8,7,3,1,4,5,2]=>0000000
[6,2,8,7,4,5,1,3]=>0000000
[7,6,2,8,4,1,3,5]=>0000000
[7,3,1,6,8,4,2,5]=>0000000
[1,7,6,4,8,3,2,5]=>1000000
[5,7,1,6,3,2,8,4]=>0000000
[6,1,7,5,3,2,8,4]=>0000000
[7,6,5,3,2,1,8,4]=>0000000
[6,5,3,2,8,7,4,1]=>0000000
[5,2,6,3,8,7,4,1]=>0000000
[5,2,7,6,3,1,8,4]=>0000000
[6,5,2,1,7,3,8,4]=>0000000
[5,2,7,4,1,8,3,6]=>0000000
[4,7,2,6,3,1,8,5]=>0000000
[2,4,8,6,3,7,5,1]=>0000000
[3,8,6,2,4,7,5,1]=>0000000
[7,3,6,2,4,1,8,5]=>0000000
[3,6,7,2,1,4,8,5]=>0000000
[4,3,7,8,2,1,5,6]=>0000000
[8,3,7,1,4,6,2,5]=>0000000
[3,8,2,5,7,1,6,4]=>0000000
[8,3,6,2,7,1,5,4]=>0000000
[7,8,3,6,2,1,5,4]=>0000000
[8,7,3,6,2,5,4,1]=>0000000
[4,7,8,2,1,6,5,3]=>0000000
[4,2,6,8,1,7,5,3]=>0000000
[5,4,8,2,7,1,6,3]=>0000000
[4,8,1,5,7,2,6,3]=>0000000
[5,8,3,7,1,6,2,4]=>0000000
[5,8,7,2,6,1,3,4]=>0000000
[8,6,2,7,5,1,3,4]=>0000000
[3,6,8,1,7,5,2,4]=>0000000
[5,1,6,8,2,7,4,3]=>0000000
[6,5,2,8,1,7,4,3]=>0000000
[5,2,7,1,8,6,4,3]=>0000000
[5,8,2,7,6,4,3,1]=>0000000
[6,2,8,7,5,4,3,1]=>0000000
[7,6,2,1,8,5,4,3]=>0000000
[6,1,7,2,8,5,4,3]=>0000000
[7,5,1,8,2,6,4,3]=>0000000
[4,7,1,8,6,2,5,3]=>0000000
[7,8,3,1,6,5,2,4]=>0000000
[8,7,4,6,1,5,3,2]=>0000000
[8,5,7,1,6,4,3,2]=>0000000
[6,8,1,7,5,4,3,2]=>0000000
[7,1,8,6,5,4,3,2]=>0000000
[5,4,2,3,7,6,1,8]=>0000001
[6,4,2,7,3,5,1,8]=>0000001
[7,4,2,6,3,5,1,8]=>0000001
[8,4,2,6,3,1,5,7]=>0000000
[3,2,7,6,4,5,1,8]=>0000001
[4,7,2,6,3,5,1,8]=>0000001
[5,7,6,2,3,4,1,8]=>0000001
[1,6,5,2,3,8,4,7]=>1000000
[1,7,5,2,8,3,4,6]=>1000000
[6,8,5,2,3,1,4,7]=>0000000
[5,8,6,2,3,1,4,7]=>0000000
[4,8,2,6,3,1,5,7]=>0000000
[3,2,8,6,4,1,5,7]=>0000000
[3,2,1,6,4,8,5,7]=>0010000
[7,1,5,2,8,3,4,6]=>0000000
[1,8,5,2,7,3,4,6]=>1000000
[1,8,6,7,2,3,4,5]=>1000000
[8,1,6,7,2,3,4,5]=>0000000
[7,1,6,8,2,3,4,5]=>0000000
[3,2,1,7,8,4,5,6]=>0010000
[3,2,8,7,1,4,5,6]=>0000000
[5,8,7,2,1,3,4,6]=>0000000
[1,7,6,8,2,3,4,5]=>1000000
[6,5,8,2,3,1,4,7]=>0000000
[8,5,7,2,1,3,4,6]=>0000000
[6,4,2,8,3,1,5,7]=>0000000
[5,4,2,3,8,1,6,7]=>0000000
[3,2,5,4,1,8,6,7]=>0000100
[4,5,2,3,1,8,6,7]=>0000100
[5,4,2,3,1,8,6,7]=>0000100
[6,4,2,1,3,8,5,7]=>0000000
[7,4,2,1,8,3,5,6]=>0000000
[8,4,2,1,7,3,5,6]=>0000000
[1,4,2,8,7,3,5,6]=>1000000
[1,5,8,2,7,3,4,6]=>1000000
[8,5,1,2,7,3,4,6]=>0000000
[7,5,1,2,8,3,4,6]=>0000000
[6,5,1,2,3,8,4,7]=>0000000
[4,6,2,1,3,8,5,7]=>0000000
[3,2,6,1,4,8,5,7]=>0000000
[3,2,7,1,8,4,5,6]=>0000000
[4,7,2,1,8,3,5,6]=>0000000
[7,6,1,8,2,3,4,5]=>0000000
[8,6,1,7,2,3,4,5]=>0000000
[1,6,8,7,2,3,4,5]=>1000000
[1,7,8,6,2,3,4,5]=>1000000
[7,8,1,6,2,3,4,5]=>0000000
[6,8,1,7,2,3,4,5]=>0000000
[4,8,2,1,7,3,5,6]=>0000000
[3,2,8,1,7,4,5,6]=>0000000
[3,2,1,8,7,4,5,6]=>0010000
[5,1,8,2,7,3,4,6]=>0000000
[6,1,8,7,2,3,4,5]=>0000000
[8,1,7,6,2,3,4,5]=>0000000
[1,8,7,6,2,3,4,5]=>1000000
[4,3,5,6,1,2,8,7]=>0000010
[6,5,2,7,1,8,3,4]=>0000000
[5,3,1,4,6,2,8,7]=>0000010
[5,7,4,6,2,8,3,1]=>0000000
[3,4,7,8,5,2,1,6]=>0000000
[7,5,4,8,1,6,3,2]=>0000000
[2,4,6,3,7,5,8,1]=>0000000
[4,1,6,3,8,5,7,2]=>0000000
[3,7,4,2,8,6,5,1]=>0000000
[7,4,1,3,5,8,6,2]=>0000000
[2,1,4,8,3,7,6,5]=>0100000
[8,3,1,2,5,7,6,4]=>0000000
[3,1,8,2,7,6,5,4]=>0000000
[2,3,8,1,6,7,5,4]=>0000000
[4,3,7,2,6,8,5,1]=>0000000
[2,8,1,3,6,5,7,4]=>0000000
[2,7,8,5,4,3,1,6]=>0000000
[3,8,6,7,2,4,1,5]=>0000000
[5,3,8,7,4,2,6,1]=>0000000
[4,3,8,7,2,1,6,5]=>0000000
[8,3,6,1,4,2,7,5]=>0000000
[4,1,3,2,6,7,8,5]=>0001000
[5,3,6,1,8,7,2,4]=>0000000
[5,6,2,8,7,4,1,3]=>0000000
[7,8,5,6,1,4,2,3]=>0000000
[8,1,6,4,5,7,2,3]=>0000000
[2,1,8,6,5,7,3,4]=>0100000
[2,1,7,5,3,6,8,4]=>0100000
[6,7,3,5,2,1,8,4]=>0000000
[4,1,2,5,8,6,7,3]=>0000000
[8,5,2,4,6,1,7,3]=>0000000
[3,1,4,5,6,8,7,2]=>0000000
[3,1,6,5,4,2,8,7]=>0000010
[5,1,7,3,8,4,6,2]=>0000000
[2,5,7,3,8,6,4,1]=>0000000
[7,6,1,3,5,8,4,2]=>0000000
[5,6,3,7,4,8,1,2]=>0000000
[2,1,6,7,4,8,5,3]=>0100000
[2,1,8,7,4,3,6,5]=>0100000
[5,8,3,7,4,2,6,1]=>0000000
[5,8,7,3,2,6,1,4]=>0000000
[2,8,6,3,1,5,7,4]=>0000000
[8,1,6,3,2,5,4,7]=>0000000
[2,8,4,1,6,3,7,5]=>0000000
[4,8,1,2,7,6,3,5]=>0000000
[3,8,4,2,5,7,1,6]=>0000000
[2,1,5,3,8,7,6,4]=>0100000
[6,5,3,2,8,7,1,4]=>0000000
[2,4,1,8,7,6,5,3]=>0000000
[8,4,2,1,7,5,3,6]=>0000000
[4,3,1,8,6,7,5,2]=>0000000
[8,6,2,5,1,7,4,3]=>0000000
[5,6,2,1,8,7,3,4]=>0000000
[7,5,2,8,3,4,6,1]=>0000000
[5,6,2,8,4,3,1,7]=>0000000
[4,7,2,8,1,5,3,6]=>0000000
[8,7,2,1,4,5,6,3]=>0000000
[3,6,8,7,1,5,4,2]=>0000000
[5,7,8,6,3,4,1,2]=>0000000
[5,7,3,8,1,4,6,2]=>0000000
[2,1,7,8,5,4,6,3]=>0100000
[2,1,5,8,4,6,3,7]=>0100000
[7,5,8,4,3,6,2,1]=>0000000
[8,4,1,3,7,2,6,5]=>0000000
[2,3,8,1,4,6,7,5]=>0000000
[4,3,8,2,5,1,7,6]=>0000000
[2,1,4,8,3,5,7,6]=>0100000
[2,8,4,1,6,5,3,7]=>0000000
[2,8,4,1,6,5,7,3]=>0000000
[2,8,7,6,1,4,3,5]=>0000000
[2,8,5,6,7,4,3,1]=>0000000
[7,5,8,6,1,4,2,3]=>0000000
[3,5,7,2,4,1,6,8]=>0000001
[2,8,5,3,4,1,6,7]=>0000000
[3,5,7,2,4,6,1,8]=>0000001
[7,5,8,2,4,6,3,1]=>0000000
[7,5,8,6,1,4,3,2]=>0000000
[6,5,8,2,1,3,7,4]=>0000000
[3,5,7,6,1,4,8,2]=>0000000
[3,5,7,2,4,1,8,6]=>0000000
[3,5,7,2,4,6,8,1]=>0000000
[6,5,2,7,3,4,8,1]=>0000000
[5,1,6,7,4,3,8,2]=>0000000
[4,1,2,3,8,7,5,6]=>0001000
[4,1,2,3,8,6,5,7]=>0001000
[4,1,2,3,8,6,7,5]=>0001000
[4,1,2,3,8,5,7,6]=>0001000
[7,1,6,8,4,3,5,2]=>0000000
[5,6,8,2,3,1,7,4]=>0000000
[6,5,8,2,4,3,7,1]=>0000000
[7,5,2,8,3,4,1,6]=>0000000
[6,5,2,8,3,7,1,4]=>0000000
[7,1,6,8,4,3,2,5]=>0000000
[4,1,8,3,6,5,7,2]=>0000000
[4,1,8,3,6,2,7,5]=>0000000
[7,1,6,5,8,3,2,4]=>0000000
[4,5,2,6,3,7,1,8]=>0000001
[7,5,2,6,3,8,4,1]=>0000000
[4,1,2,3,7,8,6,5]=>0001000
[4,5,2,7,3,8,6,1]=>0000000
[4,1,6,7,8,3,5,2]=>0000000
[4,1,2,6,8,5,7,3]=>0000000
[7,8,5,6,1,4,3,2]=>0000000
[7,8,4,2,1,5,3,6]=>0000000
[7,8,2,1,6,5,3,4]=>0000000
[6,4,1,2,5,7,3,8]=>0000001
[2,4,8,1,5,7,3,6]=>0000000
[4,3,8,1,7,2,5,6]=>0000000
[6,3,1,4,7,2,5,8]=>0000001
[7,8,3,4,5,1,6,2]=>0000000
[7,8,3,5,4,2,1,6]=>0000000
[7,8,4,1,2,3,6,5]=>0000000
[7,8,3,6,5,4,1,2]=>0000000
[7,8,2,1,5,3,4,6]=>0000000
[7,8,2,6,4,1,3,5]=>0000000
[7,8,2,5,6,4,1,3]=>0000000
[7,8,1,6,5,4,3,2]=>0000000
[6,2,1,7,5,4,3,8]=>0000001
[2,1,8,7,5,4,3,6]=>0100000
[1,3,8,2,6,4,7,5]=>1000000
[5,3,7,1,6,4,8,2]=>0000000
[5,3,6,2,7,4,1,8]=>0000001
[6,1,2,5,8,7,4,3]=>0000000
[6,3,1,8,4,2,7,5]=>0000000
[6,4,2,1,5,3,8,7]=>0000010
[6,4,3,7,5,8,1,2]=>0000000
[4,3,8,7,5,6,1,2]=>0000000
[2,4,7,1,5,3,6,8]=>0000001
[1,3,7,6,4,2,8,5]=>1000000
[2,1,7,5,6,8,4,3]=>0100000
[3,7,2,8,6,4,1,5]=>0000000
[3,8,1,7,6,4,5,2]=>0000000
[1,8,5,7,3,6,4,2]=>1000000
[2,7,5,8,3,6,1,4]=>0000000
[1,5,6,8,2,4,7,3]=>1000000
[2,6,8,5,3,1,4,7]=>0000000
[2,6,1,4,7,3,5,8]=>0000001
[5,6,7,3,8,4,1,2]=>0000000
[5,2,8,1,4,7,3,6]=>0000000
[4,6,7,5,2,1,3,8]=>0000001
[4,5,6,7,2,8,1,3]=>0000000
[4,5,7,6,1,8,3,2]=>0000000
[1,5,8,6,2,7,3,4]=>1000000
[1,6,5,8,3,2,7,4]=>1000000
[4,6,5,7,1,2,8,3]=>0000000
[4,7,5,6,3,1,8,2]=>0000000
[5,1,6,3,4,2,8,7]=>0000010
[5,7,1,4,2,3,8,6]=>0000000
[5,7,6,4,3,8,1,2]=>0000000
[6,3,4,5,8,7,1,2]=>0000000
[6,2,4,1,8,3,7,5]=>0000000
[6,2,3,5,4,8,1,7]=>0000000
[6,1,3,4,5,8,7,2]=>0000000
[5,1,4,2,7,6,8,3]=>0000000
[1,6,2,4,7,8,3,5]=>1000000
[5,7,2,4,1,6,3,8]=>0000001
[6,1,4,2,8,5,3,7]=>0000000
[6,7,5,8,1,4,3,2]=>0000000
[5,8,7,6,3,4,1,2]=>0000000
[5,8,7,6,2,3,1,4]=>0000000
[4,1,7,2,6,5,3,8]=>0000001
[4,8,2,1,5,6,3,7]=>0000000
[4,2,7,8,1,6,3,5]=>0000000
[2,1,8,7,6,5,3,4]=>0100000
[3,1,4,7,8,2,6,5]=>0000000
[3,1,7,4,5,6,8,2]=>0000000
[4,2,7,1,6,3,8,5]=>0000000
[4,3,7,5,6,8,1,2]=>0000000
[4,8,6,3,5,7,1,2]=>0000000
[4,8,1,2,5,3,7,6]=>0000000
[3,8,6,5,2,4,1,7]=>0000000
[3,8,5,6,1,4,7,2]=>0000000
[5,3,7,8,2,1,6,4]=>0000000
[5,2,8,7,1,6,4,3]=>0000000
[1,6,8,7,5,2,4,3]=>1000000
[3,6,7,8,5,1,4,2]=>0000000
[3,7,6,8,5,2,1,4]=>0000000
[3,7,8,5,1,2,4,6]=>0000000
[3,7,1,6,4,2,5,8]=>0000001
[4,1,8,6,2,3,5,7]=>0000000
[4,7,8,6,3,5,1,2]=>0000000
[3,8,7,6,5,4,1,2]=>0000000
[2,1,7,6,5,3,4,8]=>0100001
[2,8,1,6,4,5,3,7]=>0000000
[2,8,7,5,1,4,3,6]=>0000000
[2,8,6,7,5,1,3,4]=>0000000
[2,7,8,6,5,4,1,3]=>0000000
[6,4,2,7,1,3,8,5]=>0000000
[8,5,3,6,1,7,2,4]=>0000000
[7,3,6,2,4,8,1,5]=>0000000
[4,3,7,1,2,5,8,6]=>0000000
[3,6,2,7,1,4,8,5]=>0000000
[5,3,6,7,1,2,8,4]=>0000000
[4,7,1,5,2,3,8,6]=>0000000
[3,7,5,1,2,4,8,6]=>0000000
[7,6,4,2,3,8,1,5]=>0000000
[5,7,4,2,3,8,1,6]=>0000000
[3,7,6,1,4,8,2,5]=>0000000
[6,4,7,5,2,8,1,3]=>0000000
[7,4,8,5,2,6,1,3]=>0000000
[5,8,2,6,3,7,1,4]=>0000000
[3,8,6,2,4,7,1,5]=>0000000
[4,8,6,2,7,1,3,5]=>0000000
[2,6,5,8,1,3,4,7]=>0000000
[5,4,6,7,2,8,1,3]=>0000000
[3,5,7,1,4,8,2,6]=>0000000
[5,3,7,2,4,8,1,6]=>0000000
[5,4,7,3,8,1,2,6]=>0000000
[8,4,1,6,7,2,3,5]=>0000000
[7,4,1,6,8,2,3,5]=>0000000
[6,5,3,7,1,8,2,4]=>0000000
[5,3,6,4,7,8,1,2]=>0000000
[6,3,7,4,8,5,1,2]=>0000000
[4,7,1,5,8,6,2,3]=>0000000
[7,5,1,2,8,6,3,4]=>0000000
[8,6,1,7,5,2,3,4]=>0000000
[5,7,2,8,1,6,3,4]=>0000000
[6,3,7,8,5,1,2,4]=>0000000
[2,4,8,7,1,3,5,6]=>0000000
[4,3,8,7,1,2,5,6]=>0000000
[8,3,7,6,1,2,4,5]=>0000000
[8,4,7,6,1,2,3,5]=>0000000
[3,5,8,7,1,2,4,6]=>0000000
[2,5,8,7,1,3,4,6]=>0000000
[6,8,4,7,5,1,2,3]=>0000000
[5,8,7,1,6,2,3,4]=>0000000
[2,8,7,6,1,3,4,5]=>0000000
[3,8,7,6,1,2,4,5]=>0000000
[4,8,7,6,1,2,3,5]=>0000000
[7,5,3,8,2,1,6,4]=>0000000
[3,8,7,4,5,1,6,2]=>0000000
[5,7,3,8,1,2,6,4]=>0000000
[2,7,8,4,1,6,5,3]=>0000000
[7,1,8,4,2,6,5,3]=>0000000
[7,5,1,4,8,6,3,2]=>0000000
[6,5,3,1,8,4,7,2]=>0000000
[3,6,4,5,7,2,8,1]=>0000000
[5,3,2,7,4,6,8,1]=>0000000
[7,5,3,6,2,4,8,1]=>0000000
[6,3,2,5,1,8,4,7]=>0000000
[8,5,3,6,2,7,1,4]=>0000000
[8,2,6,3,4,7,1,5]=>0000000
[7,2,6,3,4,5,8,1]=>0000000
[6,2,7,3,4,5,8,1]=>0000000
[4,2,5,7,3,6,8,1]=>0000000
[5,4,7,6,2,3,8,1]=>0000000
[6,7,3,5,2,4,8,1]=>0000000
[3,7,6,2,4,5,8,1]=>0000000
[2,7,6,3,4,5,8,1]=>0000000
[6,5,3,1,2,8,4,7]=>0000000
[8,6,5,2,3,7,1,4]=>0000000
[8,5,2,1,7,3,4,6]=>0000000
[7,5,2,1,8,3,4,6]=>0000000
[1,6,3,2,8,4,5,7]=>1000000
[5,6,2,3,1,8,4,7]=>0000000
[5,4,8,6,2,7,1,3]=>0000000
[6,8,3,5,2,7,1,4]=>0000000
[7,8,5,2,3,6,1,4]=>0000000
[1,8,6,3,7,2,4,5]=>1000000
[1,8,2,7,3,4,5,6]=>1000000
[2,8,1,7,3,4,5,6]=>0000000
[3,8,6,1,7,2,4,5]=>0000000
[4,8,1,5,7,2,3,6]=>0000000
[4,2,8,3,7,1,5,6]=>0000000
[8,1,2,7,3,4,5,6]=>0000000
[3,6,2,7,1,8,4,5]=>0000000
[7,2,6,1,8,3,4,5]=>0000000
[7,3,1,5,8,2,4,6]=>0000000
[3,2,1,5,8,4,6,7]=>0010000
[5,4,1,3,6,8,2,7]=>0000000
[1,5,3,4,6,8,2,7]=>1000000
[4,3,5,1,6,8,2,7]=>0000000
[5,4,6,3,8,7,1,2]=>0000000
[3,6,4,5,8,7,1,2]=>0000000
[6,5,3,4,8,7,1,2]=>0000000
[5,3,2,8,7,1,4,6]=>0000000
[5,3,1,8,7,2,4,6]=>0000000
[8,5,3,7,6,1,2,4]=>0000000
[6,1,8,3,7,2,4,5]=>0000000
[6,3,8,1,7,2,4,5]=>0000000
[7,6,8,2,3,5,1,4]=>0000000
[3,7,8,2,4,6,1,5]=>0000000
[6,7,3,8,2,5,1,4]=>0000000
[5,4,7,8,2,6,1,3]=>0000000
[4,2,5,8,7,1,3,6]=>0000000
[2,3,8,7,1,4,5,6]=>0000000
[7,2,8,6,1,3,4,5]=>0000000
[2,1,8,7,3,4,5,6]=>0100000
[8,2,7,6,1,3,4,5]=>0000000
[1,2,8,7,3,4,5,6]=>1100000
[1,3,8,7,2,4,5,6]=>1000000
[1,7,8,3,6,2,4,5]=>1000000
[4,1,5,8,7,2,3,6]=>0000000
[5,4,8,7,6,1,2,3]=>0000000
[6,8,3,7,5,1,2,4]=>0000000
[7,8,6,2,5,1,3,4]=>0000000
[8,1,6,7,3,2,5,4]=>0000000
[8,1,6,7,3,2,4,5]=>0000000
[8,1,5,3,7,2,4,6]=>0000000
[8,1,5,3,6,2,4,7]=>0000000
[7,5,1,3,6,2,4,8]=>0000001
[7,5,8,3,6,2,4,1]=>0000000
[7,4,8,3,2,6,5,1]=>0000000
[7,4,1,3,2,6,5,8]=>0000001
[8,1,4,3,2,6,5,7]=>0000000
[8,1,4,3,2,7,5,6]=>0000000
[8,1,4,3,2,7,6,5]=>0000000
[8,1,5,4,6,7,2,3]=>0000000
[8,1,5,3,6,2,7,4]=>0000000
[8,1,4,3,2,6,7,5]=>0000000
[8,1,4,3,2,5,7,6]=>0000000
[8,1,4,3,2,5,6,7]=>0000000
[7,4,1,3,2,5,6,8]=>0000001
[7,4,8,3,2,5,6,1]=>0000000
[6,4,3,8,2,5,7,1]=>0000000
[6,4,3,1,2,5,8,7]=>0000010
[7,4,1,3,2,5,8,6]=>0000000
[7,4,1,3,2,6,8,5]=>0000000
[7,5,1,3,6,2,8,4]=>0000000
[7,5,1,4,6,8,2,3]=>0000000
[7,5,8,3,6,2,1,4]=>0000000
[7,4,8,3,2,6,1,5]=>0000000
[7,4,8,3,2,5,1,6]=>0000000
[6,4,3,8,2,5,1,7]=>0000000
[6,4,3,7,2,5,8,1]=>0000000
[5,4,3,2,8,6,1,7]=>0000000
[5,4,3,2,8,7,1,6]=>0000000
[6,5,3,8,7,2,1,4]=>0000000
[6,5,4,8,7,1,2,3]=>0000000
[6,5,4,1,7,8,2,3]=>0000000
[6,5,3,1,7,2,8,4]=>0000000
[6,4,3,1,2,7,8,5]=>0000000
[5,4,3,2,1,8,6,7]=>0000100
[6,5,3,1,8,2,7,4]=>0000000
[6,5,4,1,8,7,2,3]=>0000000
[7,5,1,4,8,6,2,3]=>0000000
[7,4,1,3,2,8,6,5]=>0000000
[7,4,1,3,2,8,5,6]=>0000000
[6,4,3,1,2,8,5,7]=>0000000
[6,4,3,1,2,7,5,8]=>0000001
[6,4,3,8,2,7,5,1]=>0000000
[6,5,3,8,7,2,4,1]=>0000000
[6,5,3,1,7,2,4,8]=>0000001
[6,5,3,1,8,2,4,7]=>0000000
[7,5,1,3,8,2,4,6]=>0000000
[7,6,1,8,3,2,4,5]=>0000000
[7,6,1,8,4,5,2,3]=>0000000
[7,6,8,1,4,5,2,3]=>0000000
[7,6,8,1,3,2,5,4]=>0000000
[6,5,3,7,8,2,4,1]=>0000000
[6,4,3,7,2,8,5,1]=>0000000
[6,4,3,7,2,1,5,8]=>0000001
[7,4,8,3,2,1,5,6]=>0000000
[7,4,8,3,2,1,6,5]=>0000000
[7,5,8,3,1,2,6,4]=>0000000
[7,5,8,4,1,6,2,3]=>0000000
[6,5,4,8,1,7,2,3]=>0000000
[6,5,3,8,1,2,7,4]=>0000000
[5,4,3,2,8,1,7,6]=>0000000
[6,4,3,7,2,1,8,5]=>0000000
[6,5,3,7,1,2,8,4]=>0000000
[6,5,4,7,1,8,2,3]=>0000000
[6,5,3,7,8,2,1,4]=>0000000
[6,4,3,7,2,8,1,5]=>0000000
[5,4,3,2,7,8,1,6]=>0000000
[5,4,3,2,6,8,1,7]=>0000000
[5,3,7,8,2,1,4,6]=>0000000
[7,6,1,2,5,8,3,4]=>0000000
[2,1,7,8,4,3,5,6]=>0100000
[7,8,1,2,5,4,6,3]=>0000000
[8,4,1,3,7,6,2,5]=>0000000
[6,5,2,1,8,7,4,3]=>0000000
[4,7,2,8,1,3,6,5]=>0000000
[7,3,8,6,1,2,5,4]=>0000000
[3,4,7,1,8,2,6,5]=>0000000
[1,8,2,4,3,5,6,7]=>1000000
[1,7,2,4,3,5,6,8]=>1000001
[1,6,2,4,3,5,7,8]=>1000011
[1,5,2,4,3,6,7,8]=>1000111
[1,6,2,5,3,4,7,8]=>1000011
[1,7,2,5,3,4,6,8]=>1000001
[1,8,2,5,3,4,6,7]=>1000000
[1,8,2,6,3,4,5,7]=>1000000
[1,7,2,6,3,4,5,8]=>1000001
[1,8,2,7,3,5,4,6]=>1000000
[1,7,2,8,3,5,4,6]=>1000000
[1,6,2,8,3,5,4,7]=>1000000
[1,5,2,8,3,6,4,7]=>1000000
[1,4,2,8,3,6,5,7]=>1000000
[1,3,2,8,4,6,5,7]=>1010000
[1,2,3,8,4,6,5,7]=>1110000
[1,2,3,7,4,6,5,8]=>1110001
[1,3,2,7,4,6,5,8]=>1010001
[1,4,2,7,3,6,5,8]=>1000001
[1,5,2,7,3,6,4,8]=>1000001
[1,6,2,7,3,5,4,8]=>1000001
[1,7,2,6,3,5,4,8]=>1000001
[1,8,2,6,3,5,4,7]=>1000000
[1,8,2,5,3,6,4,7]=>1000000
[1,7,2,5,3,6,4,8]=>1000001
[1,6,2,5,3,7,4,8]=>1000001
[1,5,2,4,3,7,6,8]=>1000101
[1,6,2,4,3,7,5,8]=>1000001
[1,7,2,4,3,6,5,8]=>1000001
[1,8,2,4,3,6,5,7]=>1000000
[1,8,2,3,4,6,5,7]=>1000000
[1,7,2,3,4,6,5,8]=>1000001
[1,8,2,3,4,7,5,6]=>1000000
[1,8,2,4,3,7,5,6]=>1000000
[1,7,2,4,3,8,5,6]=>1000000
[1,6,2,4,3,8,5,7]=>1000000
[1,5,2,4,3,8,6,7]=>1000100
[1,6,2,5,3,8,4,7]=>1000000
[1,7,2,5,3,8,4,6]=>1000000
[1,8,2,5,3,7,4,6]=>1000000
[1,8,2,6,3,7,4,5]=>1000000
[1,7,2,6,3,8,4,5]=>1000000
[1,2,3,8,4,7,5,6]=>1110000
[1,3,2,8,4,7,5,6]=>1010000
[1,4,2,8,3,7,5,6]=>1000000
[1,5,2,8,3,7,4,6]=>1000000
[1,6,2,8,3,7,4,5]=>1000000
[1,7,2,8,3,6,4,5]=>1000000
[1,8,2,7,3,6,4,5]=>1000000
[4,6,3,7,2,5,1,8]=>0000001
[4,6,3,7,5,2,1,8]=>0000001
[4,6,3,8,5,1,7,2]=>0000000
[4,6,3,8,5,1,2,7]=>0000000
[5,6,8,3,4,1,2,7]=>0000000
[5,6,8,3,4,1,7,2]=>0000000
[4,6,2,7,5,3,1,8]=>0000001
[5,6,7,2,4,3,1,8]=>0000001
[5,6,8,4,3,1,7,2]=>0000000
[5,6,8,4,3,1,2,7]=>0000000
[5,7,8,4,1,6,2,3]=>0000000
[5,7,8,4,1,6,3,2]=>0000000
[5,7,8,4,1,3,6,2]=>0000000
[5,6,8,4,2,1,7,3]=>0000000
[5,6,8,2,4,1,7,3]=>0000000
[4,6,2,8,5,1,7,3]=>0000000
[3,2,6,8,5,1,7,4]=>0000000
[3,2,6,8,5,1,4,7]=>0000000
[4,6,2,8,5,1,3,7]=>0000000
[5,6,8,2,4,1,3,7]=>0000000
[5,6,8,4,2,1,3,7]=>0000000
[5,7,8,4,1,3,2,6]=>0000000
[5,7,8,4,1,2,6,3]=>0000000
[5,7,8,4,1,2,3,6]=>0000000
[6,7,8,1,5,2,3,4]=>0000000
[6,7,8,1,5,2,4,3]=>0000000
[6,7,8,1,5,3,2,4]=>0000000
[6,7,8,1,3,5,2,4]=>0000000
[5,7,8,2,1,6,3,4]=>0000000
[4,7,2,8,1,6,3,5]=>0000000
[3,2,7,8,1,6,4,5]=>0000000
[3,2,7,8,1,6,5,4]=>0000000
[4,7,2,8,1,6,5,3]=>0000000
[5,7,8,2,1,6,4,3]=>0000000
[6,7,8,1,3,5,4,2]=>0000000
[6,7,8,1,5,3,4,2]=>0000000
[6,7,8,1,5,4,3,2]=>0000000
[6,7,8,1,5,4,2,3]=>0000000
[6,7,8,1,4,5,2,3]=>0000000
[6,7,8,1,4,5,3,2]=>0000000
[6,7,8,1,4,3,5,2]=>0000000
[6,7,8,1,3,4,5,2]=>0000000
[5,7,8,2,1,4,6,3]=>0000000
[4,7,2,8,1,5,6,3]=>0000000
[3,2,7,8,1,5,6,4]=>0000000
[3,2,6,8,4,1,7,5]=>0000000
[4,6,2,8,3,1,7,5]=>0000000
[5,6,8,3,2,1,7,4]=>0000000
[5,7,8,3,1,4,6,2]=>0000000
[5,7,8,3,1,6,4,2]=>0000000
[5,7,8,3,1,6,2,4]=>0000000
[4,7,3,8,1,6,2,5]=>0000000
[4,7,3,8,1,6,5,2]=>0000000
[4,7,3,8,1,5,6,2]=>0000000
[4,6,3,8,2,1,7,5]=>0000000
[4,5,3,2,8,1,7,6]=>0000000
[4,5,2,3,8,1,7,6]=>0000000
[3,2,5,4,8,1,7,6]=>0000000
[4,5,3,2,8,1,6,7]=>0000000
[4,6,3,8,2,1,5,7]=>0000000
[4,7,3,8,1,5,2,6]=>0000000
[4,7,3,8,1,2,6,5]=>0000000
[4,7,3,8,1,2,5,6]=>0000000
[5,7,8,3,1,2,4,6]=>0000000
[5,7,8,3,1,2,6,4]=>0000000
[5,7,8,3,1,4,2,6]=>0000000
[5,6,8,3,2,1,4,7]=>0000000
[3,2,7,8,1,5,4,6]=>0000000
[5,7,8,2,1,4,3,6]=>0000000
[6,7,8,1,3,4,2,5]=>0000000
[6,7,8,1,4,3,2,5]=>0000000
[6,7,8,1,4,2,5,3]=>0000000
[6,7,8,1,4,2,3,5]=>0000000
[6,7,8,1,2,5,3,4]=>0000000
[6,7,8,1,2,5,4,3]=>0000000
[6,7,8,1,2,4,5,3]=>0000000
[6,7,8,1,3,2,5,4]=>0000000
[5,7,8,2,1,3,6,4]=>0000000
[3,2,7,8,1,4,6,5]=>0000000
[6,7,8,1,3,2,4,5]=>0000000
[6,7,8,1,2,4,3,5]=>0000000
[6,7,8,1,2,3,5,4]=>0000000
[7,2,8,5,1,6,4,3]=>0000000
[1,3,7,5,2,6,4,8]=>1000001
[1,3,7,5,4,2,6,8]=>1000001
[7,2,8,4,5,6,1,3]=>0000000
[1,6,3,7,5,2,4,8]=>1000001
[6,2,3,8,5,1,7,4]=>0000000
[6,3,2,8,5,1,4,7]=>0000000
[7,4,8,5,2,1,3,6]=>0000000
[4,3,7,1,5,6,8,2]=>0000000
[6,2,5,8,3,7,1,4]=>0000000
[1,5,2,7,4,6,3,8]=>1000001
[5,2,1,8,7,6,3,4]=>0000000
[2,3,4,8,6,1,7,5]=>0000000
[2,3,4,8,6,5,1,7]=>0000000
[1,5,4,6,2,7,3,8]=>1000001
[7,3,5,6,8,4,2,1]=>0000000
[6,3,5,1,8,2,7,4]=>0000000
[5,7,1,6,3,8,4,2]=>0000000
[3,2,4,1,7,8,5,6]=>0001000
[2,5,4,6,1,7,8,3]=>0000000
[7,2,1,4,3,6,5,8]=>0000001
[7,3,4,1,2,6,5,8]=>0000001
[7,4,3,2,1,6,5,8]=>0000001
[7,6,3,2,5,4,1,8]=>0000001
[6,7,3,2,5,4,8,1]=>0000000
[1,8,3,2,5,4,7,6]=>1000000
[1,8,4,5,2,3,7,6]=>1000000
[7,3,5,1,6,2,4,8]=>0000001
[7,2,1,5,6,3,4,8]=>0000001
[7,2,1,6,5,4,3,8]=>0000001
[7,4,6,5,1,3,2,8]=>0000001
[1,8,5,4,3,2,7,6]=>1000000
[1,8,6,4,3,7,2,5]=>1000000
[6,5,7,4,3,1,8,2]=>0000000
[6,3,7,1,5,4,8,2]=>0000000
[3,2,1,8,5,4,7,6]=>0010000
[2,3,8,1,5,4,7,6]=>0000000
[2,5,8,4,3,1,7,6]=>0000000
[2,6,8,4,3,7,1,5]=>0000000
[2,7,8,4,3,6,5,1]=>0000000
[1,8,7,4,3,6,5,2]=>1000000
[1,8,7,5,6,3,4,2]=>1000000
[2,7,8,5,6,3,4,1]=>0000000
[2,6,8,5,7,3,1,4]=>0000000
[2,4,8,6,1,7,3,5]=>0000000
[3,2,1,8,6,7,4,5]=>0010000
[5,3,7,1,6,8,4,2]=>0000000
[5,4,7,6,1,8,3,2]=>0000000
[4,5,7,6,8,1,3,2]=>0000000
[1,8,6,5,7,3,2,4]=>1000000
[1,8,5,6,7,2,3,4]=>1000000
[4,6,5,7,8,2,1,3]=>0000000
[5,4,6,7,1,8,2,3]=>0000000
[5,2,1,6,7,8,3,4]=>0000000
[6,2,1,5,7,3,8,4]=>0000000
[6,3,5,1,7,2,8,4]=>0000000
[5,6,4,7,2,8,1,3]=>0000000
[1,8,4,6,2,7,3,5]=>1000000
[1,8,3,2,6,7,4,5]=>1000000
[6,5,3,2,7,1,8,4]=>0000000
[6,4,3,2,1,7,8,5]=>0000000
[6,2,1,4,3,7,8,5]=>0000000
[4,6,3,2,8,7,1,5]=>0000000
[4,7,3,2,8,6,5,1]=>0000000
[1,8,3,2,7,6,5,4]=>1000000
[1,8,4,7,2,6,5,3]=>1000000
[3,6,4,8,2,7,1,5]=>0000000
[3,4,5,8,1,2,7,6]=>0000000
[4,2,1,5,8,3,7,6]=>0000000
[4,2,1,6,8,7,3,5]=>0000000
[3,4,6,8,1,7,2,5]=>0000000
[3,5,6,8,7,1,2,4]=>0000000
[3,6,5,8,7,2,1,4]=>0000000
[1,8,5,7,6,2,4,3]=>1000000
[1,8,6,7,5,4,2,3]=>1000000
[3,6,7,8,5,4,1,2]=>0000000
[3,5,7,8,6,1,4,2]=>0000000
[3,4,7,8,1,6,5,2]=>0000000
[4,2,1,7,8,6,5,3]=>0000000
[2,3,8,1,7,6,5,4]=>0000000
[2,4,8,7,1,6,5,3]=>0000000
[4,6,2,1,7,5,8,3]=>0000000
[3,6,8,4,1,7,5,2]=>0000000
[7,5,6,1,8,3,4,2]=>0000000
[3,4,6,5,7,1,8,2]=>0000000
[6,7,5,1,8,4,3,2]=>0000000
[6,8,4,1,7,5,3,2]=>0000000
[2,8,4,1,6,7,5,3]=>0000000
[2,4,6,1,7,5,8,3]=>0000000
[4,8,2,6,5,7,1,3]=>0000000
[4,6,1,2,7,5,8,3]=>0000000
[7,5,1,2,6,8,4,3]=>0000000
[6,7,1,5,8,2,3,4]=>0000000
[3,6,7,1,5,8,2,4]=>0000000
[8,4,1,6,7,5,2,3]=>0000000
[1,7,6,2,5,8,3,4]=>1000000
[7,6,2,1,5,8,3,4]=>0000000
[8,3,1,5,7,6,2,4]=>0000000
[6,2,4,1,7,5,8,3]=>0000000
[6,2,5,1,7,4,8,3]=>0000000
[8,3,5,7,6,2,1,4]=>0000000
[8,4,2,6,7,5,1,3]=>0000000
[6,1,4,2,7,5,8,3]=>0000000
[3,6,8,2,5,7,1,4]=>0000000
[8,3,2,5,7,6,1,4]=>0000000
[4,2,1,3,7,6,8,5]=>0001000
[2,5,1,3,7,6,8,4]=>0000000
[3,1,2,4,7,6,8,5]=>0011000
[8,1,2,4,3,6,5,7]=>0000000
[8,1,3,5,6,2,7,4]=>0000000
[8,1,3,4,2,6,7,5]=>0000000
[8,1,3,2,4,5,7,6]=>0000000
[2,7,8,3,4,5,6,1]=>0000000
[2,6,3,8,4,5,7,1]=>0000000
[6,3,2,1,4,5,8,7]=>0000010
[7,3,1,4,2,6,8,5]=>0000000
[7,4,1,5,6,8,2,3]=>0000000
[4,7,8,5,6,1,2,3]=>0000000
[3,7,8,5,6,2,1,4]=>0000000
[3,7,8,4,2,6,1,5]=>0000000
[3,7,8,2,4,5,1,6]=>0000000
[3,6,2,8,4,5,1,7]=>0000000
[2,3,6,7,4,5,8,1]=>0000000
[3,5,2,4,8,6,1,7]=>0000000
[3,5,4,2,8,7,1,6]=>0000000
[4,6,5,8,7,1,2,3]=>0000000
[6,4,5,1,7,8,2,3]=>0000000
[7,4,1,2,3,8,5,6]=>0000000
[6,2,4,1,3,7,5,8]=>0000001
[2,6,4,8,3,7,5,1]=>0000000
[2,6,5,8,7,3,4,1]=>0000000
[6,2,5,1,7,3,4,8]=>0000001
[6,5,2,1,8,3,4,7]=>0000000
[2,5,6,7,8,3,4,1]=>0000000
[2,4,6,7,3,8,5,1]=>0000000
[4,2,6,7,3,1,5,8]=>0000001
[4,7,8,2,3,1,5,6]=>0000000
[4,7,8,3,2,1,6,5]=>0000000
[5,6,4,8,1,7,2,3]=>0000000
[5,6,3,8,1,2,7,4]=>0000000
[4,2,5,3,7,1,6,8]=>0000001
[4,3,6,7,2,1,8,5]=>0000000
[3,4,6,7,2,8,1,5]=>0000000
[3,4,5,2,7,8,1,6]=>0000000
[3,4,2,5,6,8,1,7]=>0000000
[5,2,7,8,6,4,1,3]=>0000000
[5,1,2,7,8,6,4,3]=>0000000
[4,7,1,8,6,5,2,3]=>0000000
[4,7,1,2,8,6,5,3]=>0000000
[4,6,8,1,2,7,5,3]=>0000000
[6,8,7,1,5,3,2,4]=>0000000
[6,8,7,3,5,1,2,4]=>0000000
[7,8,1,6,3,5,2,4]=>0000000
[7,8,1,3,6,5,2,4]=>0000000
[7,8,3,6,5,2,1,4]=>0000000
[4,7,2,8,6,1,5,3]=>0000000
[1,7,3,4,8,6,5,2]=>1000000
[4,2,7,1,8,6,5,3]=>0000000
[7,8,2,3,6,5,1,4]=>0000000
[8,5,7,1,6,2,3,4]=>0000000
[8,5,7,1,2,6,3,4]=>0000000
[6,8,2,7,1,3,5,4]=>0000000
[6,8,7,2,5,3,1,4]=>0000000
[6,2,4,8,7,1,5,3]=>0000000
[1,6,8,3,7,4,5,2]=>1000000
[1,6,8,3,4,7,5,2]=>1000000
[6,2,4,8,1,7,5,3]=>0000000
[6,8,7,2,3,5,1,4]=>0000000
[6,8,2,1,7,3,5,4]=>0000000
[8,5,7,2,1,6,3,4]=>0000000
[8,5,7,1,2,3,6,4]=>0000000
[8,7,6,2,1,4,3,5]=>0000000
[8,5,7,2,3,1,6,4]=>0000000
[5,8,4,2,7,1,6,3]=>0000000
[1,8,7,5,3,4,6,2]=>1000000
[1,8,7,3,5,4,6,2]=>1000000
[8,2,5,4,7,1,6,3]=>0000000
[8,5,2,7,3,1,6,4]=>0000000
[8,7,6,2,4,3,1,5]=>0000000
[8,7,6,1,2,4,3,5]=>0000000
[8,7,6,1,4,2,3,5]=>0000000
[8,7,6,4,1,3,2,5]=>0000000
[5,8,4,7,2,1,6,3]=>0000000
[1,8,7,5,4,3,6,2]=>1000000
[1,6,8,4,3,7,5,2]=>1000000
[6,8,7,3,2,5,1,4]=>0000000
[6,8,1,7,3,2,5,4]=>0000000
[8,5,7,3,1,6,2,4]=>0000000
[8,5,7,1,3,2,6,4]=>0000000
[8,5,7,3,1,2,6,4]=>0000000
[5,8,4,7,1,2,6,3]=>0000000
[5,8,4,1,7,2,6,3]=>0000000
[5,8,4,7,1,6,2,3]=>0000000
[8,1,2,6,5,7,4,3]=>0000000
[8,2,5,6,7,4,1,3]=>0000000
[4,8,5,7,1,6,2,3]=>0000000
[4,8,5,7,1,2,6,3]=>0000000
[4,8,5,1,7,2,6,3]=>0000000
[8,5,3,1,7,2,6,4]=>0000000
[8,5,3,7,1,2,6,4]=>0000000
[6,8,1,3,7,2,5,4]=>0000000
[4,6,2,8,1,7,5,3]=>0000000
[1,6,4,8,3,7,5,2]=>1000000
[1,8,7,4,5,3,6,2]=>1000000
[4,8,5,7,2,1,6,3]=>0000000
[8,5,3,7,2,1,6,4]=>0000000
[8,7,6,3,1,4,2,5]=>0000000
[8,7,6,1,3,2,4,5]=>0000000
[8,5,3,2,7,1,6,4]=>0000000
[4,8,5,2,7,1,6,3]=>0000000
[1,8,7,4,3,5,6,2]=>1000000
[1,8,7,3,4,5,6,2]=>1000000
[8,2,4,5,7,1,6,3]=>0000000
[8,5,2,3,7,1,6,4]=>0000000
[8,3,1,5,2,7,6,4]=>0000000
[8,7,4,1,6,3,2,5]=>0000000
[8,7,4,1,6,3,5,2]=>0000000
[8,7,4,1,6,5,3,2]=>0000000
[8,3,2,5,1,7,4,6]=>0000000
[8,5,4,3,1,7,2,6]=>0000000
[8,7,4,1,6,5,2,3]=>0000000
[8,7,4,1,6,2,5,3]=>0000000
[8,7,6,5,2,1,4,3]=>0000000
[8,7,4,3,6,2,1,5]=>0000000
[8,3,2,7,6,4,1,5]=>0000000
[2,1,8,7,6,4,5,3]=>0100000
[8,3,2,7,6,4,5,1]=>0000000
[8,5,4,2,3,7,6,1]=>0000000
[8,7,4,2,6,3,5,1]=>0000000
[8,7,4,2,6,3,1,5]=>0000000
[8,3,1,7,6,5,4,2]=>0000000
[8,3,1,5,4,7,6,2]=>0000000
[8,3,1,5,4,7,2,6]=>0000000
[8,3,2,5,4,7,1,6]=>0000000
[8,7,6,5,3,1,4,2]=>0000000
[8,7,6,5,1,3,2,4]=>0000000
[8,7,6,5,1,4,3,2]=>0000000
[8,7,6,5,4,1,3,2]=>0000000
[8,3,2,7,6,1,5,4]=>0000000
[2,1,8,7,6,3,5,4]=>0100000
[8,3,2,7,6,1,4,5]=>0000000
[8,7,6,5,1,4,2,3]=>0000000
[7,3,5,1,8,4,6,2]=>0000000
[4,5,6,2,1,8,7,3]=>0000000
[1,6,5,2,7,4,3,8]=>1000001
[7,4,3,1,8,6,5,2]=>0000000
[7,6,5,1,8,4,3,2]=>0000000
[6,4,2,1,8,7,5,3]=>0000000
[1,5,3,2,7,6,4,8]=>1000001
[5,3,2,1,8,7,6,4]=>0000000
[2,6,4,1,7,8,5,3]=>0000000
[2,6,5,1,7,8,4,3]=>0000000
[6,4,1,2,8,5,3,7]=>0000000
[4,3,1,2,8,6,5,7]=>0001000
[6,1,2,5,8,3,4,7]=>0000000
[7,1,3,4,8,2,5,6]=>0000000
[2,6,1,5,7,8,3,4]=>0000000
[5,2,3,1,8,6,7,4]=>0000000
[1,6,2,5,7,3,4,8]=>1000001
[6,2,1,5,8,7,3,4]=>0000000
[6,2,5,1,8,4,7,3]=>0000000
[7,3,1,4,8,6,2,5]=>0000000
[6,2,1,4,8,7,3,5]=>0000000
[5,2,1,3,8,7,4,6]=>0000000
[7,5,1,3,8,4,2,6]=>0000000
[3,6,7,1,4,8,2,5]=>0000000
[7,6,1,4,8,3,2,5]=>0000000
[4,2,1,3,8,7,5,6]=>0001000
[2,6,1,4,7,8,3,5]=>0000000
[7,1,4,6,8,2,3,5]=>0000000
[7,1,3,5,8,2,4,6]=>0000000
[7,4,5,2,3,1,8,6]=>0000000
[8,6,7,3,5,2,4,1]=>0000000
[6,3,5,2,4,1,8,7]=>0000010
[5,2,7,3,4,1,8,6]=>0000000
[5,2,8,6,7,3,4,1]=>0000000
[6,2,7,3,4,1,8,5]=>0000000
[3,1,8,6,7,4,5,2]=>0000000
[8,5,7,3,4,1,6,2]=>0000000
[8,4,7,3,5,1,6,2]=>0000000
[4,1,8,5,7,3,6,2]=>0000000
[2,1,8,5,7,4,6,3]=>0100000
[6,2,7,3,5,1,8,4]=>0000000
[6,2,8,4,7,3,5,1]=>0000000
[8,4,7,3,6,2,5,1]=>0000000
[7,3,6,2,5,1,8,4]=>0000000
[6,2,5,1,7,3,8,4]=>0000000
[5,2,4,1,7,3,8,6]=>0000000
[6,2,4,1,7,3,8,5]=>0000000
[8,5,7,3,6,2,4,1]=>0000000
[8,5,7,4,6,2,3,1]=>0000000
[8,5,6,2,3,1,7,4]=>0000000
[7,4,8,5,6,2,3,1]=>0000000
[7,3,8,5,6,2,4,1]=>0000000
[3,1,5,2,8,6,7,4]=>0000000
[2,1,6,3,8,5,7,4]=>0100000
[3,1,6,2,8,5,7,4]=>0000000
[4,1,6,2,8,5,7,3]=>0000000
[5,1,6,2,8,4,7,3]=>0000000
[7,3,8,4,6,2,5,1]=>0000000
[5,1,8,4,6,2,7,3]=>0000000
[4,1,8,5,6,2,7,3]=>0000000
[3,1,8,5,6,2,7,4]=>0000000
[4,1,7,3,8,5,6,2]=>0000000
[7,3,8,4,5,1,6,2]=>0000000
[7,3,6,2,8,4,5,1]=>0000000
[7,8,5,6,1,3,4,2]=>0000000
[7,8,1,3,6,2,5,4]=>0000000
[1,3,8,4,7,2,5,6]=>1000000
[3,6,1,4,7,2,5,8]=>0000001
[4,6,1,2,5,7,3,8]=>0000001
[1,4,8,2,5,7,3,6]=>1000000
[7,8,2,4,5,6,1,3]=>0000000
[7,8,1,5,4,6,3,2]=>0000000
[7,8,2,1,6,3,4,5]=>0000000
[7,8,3,5,6,4,1,2]=>0000000
[7,8,1,4,2,3,6,5]=>0000000
[7,8,5,1,4,2,6,3]=>0000000
[7,8,4,5,3,1,6,2]=>0000000
[1,5,8,4,3,2,7,6]=>1000000
[5,6,1,4,3,2,7,8]=>0000011
[2,6,4,8,3,7,1,5]=>0000000
[1,4,6,8,3,7,5,2]=>1000000
[2,4,8,5,3,1,6,7]=>0000000
[2,5,8,1,4,7,6,3]=>0000000
[3,5,8,4,7,6,1,2]=>0000000
[1,6,2,4,7,3,8,5]=>1000000
[5,6,2,1,4,7,8,3]=>0000000
[4,6,2,5,3,1,8,7]=>0000010
[4,7,5,1,3,6,8,2]=>0000000
[7,5,3,6,2,4,1,8]=>0000001
[5,7,3,6,1,4,8,2]=>0000000
[5,3,6,7,2,1,8,4]=>0000000
[6,1,7,5,2,4,8,3]=>0000000
[6,3,1,2,4,5,8,7]=>0000010
[1,4,7,2,5,3,8,6]=>1000000
[4,6,7,8,3,5,1,2]=>0000000
[3,6,1,8,4,2,5,7]=>0000000
[1,6,7,5,8,2,4,3]=>1000000
[3,5,6,7,8,1,4,2]=>0000000
[3,6,5,7,8,2,1,4]=>0000000
[5,2,7,6,1,4,3,8]=>0000001
[2,5,7,6,8,1,3,4]=>0000000
[2,7,5,6,8,4,1,3]=>0000000
[2,1,6,8,4,5,3,7]=>0100000
[2,7,1,8,5,3,4,6]=>0000000
[3,7,6,8,5,4,1,2]=>0000000
[4,3,8,5,6,7,1,2]=>0000000
[4,2,8,1,6,3,7,5]=>0000000
[3,1,8,5,4,6,7,2]=>0000000
[3,2,8,4,5,6,1,7]=>0000000
[3,4,2,8,6,1,7,5]=>0000000
[3,4,7,1,5,2,6,8]=>0000001
[4,3,7,8,1,2,6,5]=>0000000
[1,7,3,8,5,2,6,4]=>1000000
[4,1,8,3,6,2,5,7]=>0000000
[5,7,8,6,3,2,1,4]=>0000000
[5,7,8,6,1,3,4,2]=>0000000
[7,6,5,8,1,3,4,2]=>0000000
[1,6,4,3,8,2,5,7]=>1000000
[7,1,3,4,8,2,6,5]=>0000000
[3,6,5,4,1,2,7,8]=>0000011
[2,4,5,1,7,8,6,3]=>0000000
[2,6,3,4,5,8,1,7]=>0000000
[2,6,4,1,8,3,7,5]=>0000000
[7,3,6,4,8,5,1,2]=>0000000
[7,2,1,4,8,3,5,6]=>0000000
[7,1,6,5,3,8,4,2]=>0000000
[7,2,5,6,3,8,1,4]=>0000000
[6,5,2,7,1,8,4,3]=>0000000
[5,6,2,7,3,1,4,8]=>0000001
[5,6,7,4,2,8,1,3]=>0000000
[5,7,6,4,1,8,3,2]=>0000000
[6,7,1,5,2,8,3,4]=>0000000
[1,7,5,2,4,8,3,6]=>1000000
[6,1,5,2,8,3,4,7]=>0000000
[6,7,5,3,8,4,1,2]=>0000000
[1,6,5,4,2,3,8,7]=>1000010
[7,1,5,3,4,2,8,6]=>0000000
[7,6,1,5,3,2,8,4]=>0000000
[7,5,6,4,1,2,8,3]=>0000000
[6,7,5,4,3,1,8,2]=>0000000
[7,5,2,4,3,1,6,8]=>0000001
[7,4,6,1,2,5,3,8]=>0000001
[7,1,4,2,5,3,6,8]=>0000001
[6,8,1,4,2,5,7,3]=>0000000
[1,6,4,2,5,7,3,8]=>1000001
[1,6,3,7,5,4,2,8]=>1000001
[6,8,1,3,7,5,4,2]=>0000000
[7,1,3,5,6,4,2,8]=>0000001
[7,3,1,6,4,5,2,8]=>0000001
[7,4,2,6,5,1,3,8]=>0000001
[7,4,6,3,1,5,2,8]=>0000001
[7,2,4,1,5,3,6,8]=>0000001
[7,2,3,5,4,1,6,8]=>0000001
[6,8,1,2,3,4,7,5]=>0000000
[1,5,7,2,3,8,6,4]=>1000000
[5,1,8,2,3,6,7,4]=>0000000
[5,8,2,3,7,6,4,1]=>0000000
[6,2,8,1,3,7,4,5]=>0000000
[6,8,2,3,5,4,7,1]=>0000000
[6,8,2,4,1,5,7,3]=>0000000
[6,8,3,1,2,4,7,5]=>0000000
[2,6,4,1,5,7,3,8]=>0000001
[2,6,3,5,7,1,4,8]=>0000001
[2,5,1,7,8,3,6,4]=>0000000
[2,5,3,6,8,4,7,1]=>0000000
[2,1,4,7,8,5,6,3]=>0100000
[2,4,7,6,8,5,1,3]=>0000000
[2,5,3,7,6,1,8,4]=>0000000
[2,5,7,8,1,4,6,3]=>0000000
[3,5,7,4,1,6,2,8]=>0000001
[5,3,4,1,8,6,7,2]=>0000000
[5,2,8,4,6,1,7,3]=>0000000
[5,2,1,8,6,3,7,4]=>0000000
[4,2,8,6,5,3,7,1]=>0000000
[4,2,8,5,7,6,3,1]=>0000000
[1,4,2,7,5,8,6,3]=>1000000
[4,1,8,6,7,5,3,2]=>0000000
[5,3,8,7,6,2,4,1]=>0000000
[5,8,4,7,6,2,1,3]=>0000000
[5,8,7,4,3,6,1,2]=>0000000
[6,4,8,3,1,7,2,5]=>0000000
[6,4,2,8,7,1,3,5]=>0000000
[6,3,8,7,2,5,1,4]=>0000000
[5,8,3,7,1,6,4,2]=>0000000
[5,1,3,8,6,7,2,4]=>0000000
[1,5,3,7,8,6,2,4]=>1000000
[1,5,7,6,4,2,8,3]=>1000000
[5,8,7,4,1,6,2,3]=>0000000
[6,4,8,1,2,7,3,5]=>0000000
[6,8,5,1,2,3,7,4]=>0000000
[6,8,5,2,4,3,7,1]=>0000000
[6,8,5,3,1,2,7,4]=>0000000
[4,5,1,2,7,6,3,8]=>0000001
[4,5,1,2,6,8,7,3]=>0000000
[3,5,6,1,8,4,7,2]=>0000000
[3,5,7,1,2,8,6,4]=>0000000
[3,6,2,7,5,1,4,8]=>0000001
[4,2,6,1,7,3,5,8]=>0000001
[4,6,3,1,2,7,5,8]=>0000001
[4,5,3,1,7,6,2,8]=>0000001
[4,2,5,7,1,6,3,8]=>0000001
[3,5,2,7,8,1,6,4]=>0000000
[3,1,4,7,5,6,2,8]=>0000001
[3,4,6,5,8,7,1,2]=>0000000
[3,1,4,5,8,6,7,2]=>0000000
[3,4,6,8,5,2,7,1]=>0000000
[3,5,6,2,8,4,7,1]=>0000000
[4,2,5,6,1,8,7,3]=>0000000
[4,5,3,1,6,8,7,2]=>0000000
[2,1,7,5,8,6,4,3]=>0100000
[1,2,7,5,3,8,6,4]=>1100000
[4,1,2,7,3,8,6,5]=>0000000
[6,4,1,7,5,2,3,8]=>0000001
[6,1,3,7,5,2,4,8]=>0000001
[3,1,2,6,8,5,4,7]=>0010000
[3,7,1,2,5,4,8,6]=>0000000
[1,3,7,2,4,8,6,5]=>1000000
[2,4,1,7,8,6,5,3]=>0000000
[3,4,7,5,1,8,6,2]=>0000000
[2,7,4,1,5,8,6,3]=>0000000
[2,3,7,1,5,8,6,4]=>0000000
[5,2,8,1,3,7,4,6]=>0000000
[2,1,6,8,3,4,7,5]=>0100000
[2,6,8,3,1,5,7,4]=>0000000
[2,8,6,4,1,5,7,3]=>0000000
[3,6,4,8,5,1,7,2]=>0000000
[6,3,7,4,5,1,8,2]=>0000000
[2,6,3,7,5,8,1,4]=>0000000
[5,2,1,7,8,3,4,6]=>0000000
[4,7,2,3,6,8,1,5]=>0000000
[5,2,7,3,6,8,1,4]=>0000000
[5,7,4,6,2,8,1,3]=>0000000
[5,7,3,4,6,1,8,2]=>0000000
[5,3,8,4,6,1,7,2]=>0000000
[8,5,2,4,1,6,7,3]=>0000000
[8,2,3,5,1,6,7,4]=>0000000
[4,2,8,3,6,7,1,5]=>0000000
[2,4,8,1,7,3,5,6]=>0000000
[8,4,1,3,6,2,5,7]=>0000000
[4,8,3,1,7,2,5,6]=>0000000
[5,2,8,4,7,1,6,3]=>0000000
[5,8,4,7,3,1,6,2]=>0000000
[4,6,8,3,1,7,5,2]=>0000000
[6,3,8,2,7,1,5,4]=>0000000
[6,3,1,8,2,4,7,5]=>0000000
[5,3,8,1,2,6,4,7]=>0000000
[5,7,4,1,6,2,3,8]=>0000001
[8,5,4,1,2,6,3,7]=>0000000
[5,1,8,4,2,7,3,6]=>0000000
[1,6,2,8,5,3,7,4]=>1000000
[6,8,5,3,1,7,4,2]=>0000000
[8,4,5,1,2,6,3,7]=>0000000
[5,6,3,7,1,2,4,8]=>0000001
[1,6,3,7,2,8,4,5]=>1000000
[6,3,2,7,8,5,1,4]=>0000000
[4,5,7,8,3,1,6,2]=>0000000
[4,7,2,5,8,1,6,3]=>0000000
[8,1,3,4,6,2,5,7]=>0000000
[3,8,2,4,6,7,1,5]=>0000000
[3,5,6,8,2,7,1,4]=>0000000
[2,4,5,6,8,1,7,3]=>0000000
[4,8,3,5,6,1,7,2]=>0000000
[5,6,2,3,7,8,1,4]=>0000000
[5,8,7,3,4,1,2,6]=>0000000
[6,8,7,3,4,1,2,5]=>0000000
[6,8,4,7,1,5,3,2]=>0000000
[6,8,4,7,2,5,3,1]=>0000000
[5,4,8,7,2,6,3,1]=>0000000
[5,4,8,7,1,6,3,2]=>0000000
[5,3,8,7,6,1,2,4]=>0000000
[4,3,8,7,6,1,2,5]=>0000000
[4,8,3,7,5,1,2,6]=>0000000
[8,3,4,6,5,1,2,7]=>0000000
[3,8,4,7,5,1,2,6]=>0000000
[3,4,8,7,6,1,2,5]=>0000000
[3,5,8,7,6,1,2,4]=>0000000
[4,5,8,7,6,1,2,3]=>0000000
[4,5,8,7,1,6,3,2]=>0000000
[4,5,8,7,2,6,3,1]=>0000000
[3,5,8,2,7,6,4,1]=>0000000
[3,5,8,1,7,6,4,2]=>0000000
[2,5,8,1,7,6,4,3]=>0000000
[2,5,8,7,1,6,3,4]=>0000000
[2,4,8,7,1,6,3,5]=>0000000
[2,8,4,7,1,5,3,6]=>0000000
[8,2,4,6,1,5,3,7]=>0000000
[8,1,4,6,2,5,3,7]=>0000000
[1,8,4,7,2,5,3,6]=>1000000
[1,4,8,7,2,6,3,5]=>1000000
[1,5,8,7,2,6,3,4]=>1000000
[1,5,8,2,7,6,4,3]=>1000000
[2,5,8,3,7,6,4,1]=>0000000
[1,4,2,8,7,6,5,3]=>1000000
[1,3,8,2,7,6,4,5]=>1000000
[1,8,3,2,7,5,4,6]=>1000000
[8,1,3,2,6,5,4,7]=>0000000
[8,2,3,1,6,5,4,7]=>0000000
[2,8,3,1,7,5,4,6]=>0000000
[2,3,8,1,7,6,4,5]=>0000000
[3,4,1,8,7,6,5,2]=>0000000
[4,3,1,8,7,6,5,2]=>0000000
[4,2,1,8,7,6,5,3]=>0000000
[3,8,2,1,7,5,4,6]=>0000000
[8,3,2,1,6,5,4,7]=>0000000
[8,4,2,6,1,5,3,7]=>0000000
[4,2,8,7,1,6,3,5]=>0000000
[5,2,8,7,1,6,3,4]=>0000000
[5,2,8,1,7,6,4,3]=>0000000
[5,3,8,1,7,6,4,2]=>0000000
[5,3,8,2,7,6,4,1]=>0000000
[6,8,3,2,7,5,4,1]=>0000000
[6,8,3,1,7,5,4,2]=>0000000
[6,8,2,1,7,5,4,3]=>0000000
[6,8,2,7,1,5,3,4]=>0000000
[6,8,7,2,1,4,3,5]=>0000000
[8,5,6,1,2,4,3,7]=>0000000
[5,8,7,1,2,4,3,6]=>0000000
[6,8,1,2,7,5,4,3]=>0000000
[6,8,2,3,7,5,4,1]=>0000000
[5,2,8,3,7,6,4,1]=>0000000
[5,1,8,3,7,6,4,2]=>0000000
[5,1,8,7,2,6,3,4]=>0000000
[4,1,8,7,2,6,3,5]=>0000000
[4,8,1,7,2,5,3,6]=>0000000
[8,4,1,6,2,5,3,7]=>0000000
[8,3,1,2,6,5,4,7]=>0000000
[3,8,1,2,7,5,4,6]=>0000000
[3,1,8,2,7,6,4,5]=>0000000
[3,1,2,8,7,6,5,4]=>0010000
[4,1,3,8,7,6,5,2]=>0000000
[3,1,4,8,7,6,5,2]=>0000000
[2,1,8,3,7,6,4,5]=>0100000
[2,8,1,3,7,5,4,6]=>0000000
[8,2,1,3,6,5,4,7]=>0000000
[8,1,2,3,6,5,4,7]=>0000000
[1,8,2,3,7,5,4,6]=>1000000
[1,2,8,3,7,6,4,5]=>1100000
[1,4,3,6,8,2,5,7]=>1000000
[3,1,6,2,5,8,4,7]=>0000000
[3,5,1,8,2,4,7,6]=>0000000
[1,4,5,2,8,3,7,6]=>1000000
[1,4,2,6,5,8,3,7]=>1000000
[1,5,4,2,6,8,3,7]=>1000000
[3,1,6,5,8,2,4,7]=>0000000
[1,6,4,2,5,8,3,7]=>1000000
[1,5,2,6,4,8,3,7]=>1000000
[1,2,6,5,4,8,3,7]=>1100000
[1,2,5,4,7,3,8,6]=>1100000
[4,1,2,6,3,8,7,5]=>0000000
[7,1,5,4,2,8,3,6]=>0000000
[1,4,7,5,2,8,3,6]=>1000000
[7,1,3,5,2,8,4,6]=>0000000
[7,2,5,1,8,3,4,6]=>0000000
[1,4,5,2,8,7,3,6]=>1000000
[1,6,4,2,8,3,7,5]=>1000000
[1,4,2,8,3,7,6,5]=>1000000
[1,2,5,3,8,7,6,4]=>1100000
[1,2,8,6,5,3,7,4]=>1100000
[1,5,2,8,6,3,7,4]=>1000000
[1,6,4,2,8,7,3,5]=>1000000
[6,2,1,8,7,3,4,5]=>0000000
[7,6,2,1,8,3,4,5]=>0000000
[7,3,1,6,2,8,4,5]=>0000000
[1,7,6,4,2,8,3,5]=>1000000
[1,7,5,2,6,3,8,4]=>1000000
[1,6,2,7,5,3,8,4]=>1000000
[1,2,7,6,5,3,8,4]=>1100000
[1,2,6,5,3,8,7,4]=>1100000
[1,5,2,6,3,8,7,4]=>1000000
[1,5,2,7,6,3,8,4]=>1000000
[1,6,5,2,7,3,8,4]=>1000000
[1,5,7,4,2,8,3,6]=>1000000
[4,1,2,8,6,3,7,5]=>0000000
[3,1,8,6,2,4,7,5]=>0000000
[4,3,7,1,8,2,5,6]=>0000000
[8,3,1,6,2,4,7,5]=>0000000
[7,1,8,3,2,4,6,5]=>0000000
[1,8,7,3,2,4,6,5]=>1000000
[1,4,2,8,7,3,6,5]=>1000000
[1,7,4,2,8,3,6,5]=>1000000
[8,1,5,4,2,7,3,6]=>0000000
[1,4,8,5,2,7,3,6]=>1000000
[8,5,3,1,7,2,4,6]=>0000000
[8,6,2,1,7,3,4,5]=>0000000
[1,8,6,4,2,7,3,5]=>1000000
[1,8,5,2,6,3,7,4]=>1000000
[1,5,2,7,3,8,6,4]=>1000000
[1,2,8,5,3,7,6,4]=>1100000
[1,2,6,3,8,7,5,4]=>1100000
[1,2,7,6,3,8,5,4]=>1100000
[1,6,2,7,3,8,5,4]=>1000000
[1,7,2,8,5,3,6,4]=>1000000
[1,7,4,2,8,6,3,5]=>1000000
[7,1,8,3,2,6,4,5]=>0000000
[7,2,1,8,6,3,4,5]=>0000000
[1,8,7,3,2,6,4,5]=>1000000
[1,4,2,8,7,6,3,5]=>1000000
[1,2,8,7,5,3,6,4]=>1100000
[1,2,8,6,3,7,5,4]=>1100000
[1,2,7,3,8,6,5,4]=>1100000
[8,1,7,6,3,4,5,2]=>0000000
[5,7,1,6,2,4,3,8]=>0000001
[6,1,4,5,3,8,7,2]=>0000000
[6,1,4,8,3,5,7,2]=>0000000
[7,1,8,6,3,4,5,2]=>0000000
[6,3,5,7,2,1,4,8]=>0000001
[6,3,5,8,2,1,7,4]=>0000000
[8,4,5,7,3,6,1,2]=>0000000
[5,8,7,6,2,4,1,3]=>0000000
[5,4,1,8,2,3,7,6]=>0000000
[8,4,1,5,2,6,3,7]=>0000000
[8,3,5,6,2,1,4,7]=>0000000
[2,3,8,5,1,4,7,6]=>0000000
[8,7,5,6,1,4,2,3]=>0000000
[2,6,4,1,8,5,7,3]=>0000000
[2,6,1,3,8,5,7,4]=>0000000
[8,4,1,5,2,3,7,6]=>0000000
[7,8,1,6,3,4,2,5]=>0000000
[6,4,1,8,3,2,7,5]=>0000000
[2,3,4,1,8,7,5,6]=>0001000
[2,3,8,1,6,4,7,5]=>0000000
[8,4,3,6,5,1,7,2]=>0000000
[8,5,6,3,4,1,7,2]=>0000000
[8,6,5,4,3,1,7,2]=>0000000
[1,7,6,5,4,2,3,8]=>1000001
[1,8,6,5,2,7,3,4]=>1000000
[8,7,5,4,1,6,3,2]=>0000000
[7,8,5,4,1,3,6,2]=>0000000
[6,8,5,4,2,1,7,3]=>0000000
[5,8,6,2,4,1,7,3]=>0000000
[4,8,2,6,5,1,7,3]=>0000000
[3,2,8,6,5,1,7,4]=>0000000
[3,2,1,7,6,4,5,8]=>0010001
[4,1,3,7,6,2,5,8]=>0000001
[5,1,7,3,6,2,4,8]=>0000001
[6,1,7,5,3,2,4,8]=>0000001
[7,1,6,5,2,4,3,8]=>0000001
[8,1,6,5,2,3,7,4]=>0000000
[1,2,7,6,3,4,5,8]=>1100001
[1,2,8,3,7,4,5,6]=>1100000
[8,1,7,2,6,3,5,4]=>0000000
[7,1,8,2,6,4,3,5]=>0000000
[6,1,8,2,4,7,3,5]=>0000000
[5,1,8,3,2,7,4,6]=>0000000
[4,1,3,8,2,7,5,6]=>0000000
[3,2,1,8,4,7,5,6]=>0010000
[3,2,8,7,1,6,5,4]=>0000000
[4,8,2,7,1,6,5,3]=>0000000
[5,8,7,2,1,6,4,3]=>0000000
[6,8,7,1,3,5,4,2]=>0000000
[7,8,6,1,5,3,4,2]=>0000000
[8,7,6,1,5,4,3,2]=>0000000
[1,8,7,2,6,5,3,4]=>1000000
[1,7,8,2,5,6,3,4]=>1000000
[8,6,7,1,4,5,3,2]=>0000000
[7,6,8,1,4,3,5,2]=>0000000
[6,5,8,3,2,1,7,4]=>0000000
[7,5,8,3,1,4,6,2]=>0000000
[8,5,7,3,1,6,4,2]=>0000000
[1,6,8,4,2,7,3,5]=>1000000
[1,5,4,8,2,7,3,6]=>1000000
[8,4,3,7,1,6,5,2]=>0000000
[7,4,3,8,1,5,6,2]=>0000000
[6,4,3,1,5,2,7,8]=>0000011
[7,4,3,1,2,6,5,8]=>0000001
[8,4,3,1,2,5,7,6]=>0000000
[1,5,4,2,3,6,7,8]=>1000111
[8,5,1,4,2,3,7,6]=>0000000
[7,5,1,4,2,6,3,8]=>0000001
[6,5,1,4,3,2,7,8]=>0000011
[5,6,1,3,4,2,7,8]=>0000011
[4,6,2,1,5,3,7,8]=>0000011
[3,2,6,1,5,4,7,8]=>0000011
[3,2,7,1,4,6,5,8]=>0000001
[4,7,2,1,3,6,5,8]=>0000001
[5,7,1,3,2,6,4,8]=>0000001
[6,7,1,2,4,5,3,8]=>0000001
[7,6,1,2,5,4,3,8]=>0000001
[8,6,1,2,5,3,7,4]=>0000000
[1,7,2,3,6,4,5,8]=>1000001
[8,7,1,2,3,6,5,4]=>0000000
[7,8,1,2,3,5,6,4]=>0000000
[6,8,1,2,4,3,7,5]=>0000000
[5,8,1,3,2,4,7,6]=>0000000
[4,8,2,1,3,5,7,6]=>0000000
[3,2,8,1,4,5,7,6]=>0000000
[4,1,3,2,5,6,7,8]=>0001111
[5,1,2,4,3,6,7,8]=>0000111
[6,1,2,3,5,4,7,8]=>0000011
[7,1,2,3,4,6,5,8]=>0000001
[8,1,2,3,4,5,7,6]=>0000000
[6,7,3,8,5,1,2,4]=>0000000
[6,7,4,5,1,8,3,2]=>0000000
[5,4,7,6,8,1,2,3]=>0000000
[5,3,7,8,6,1,2,4]=>0000000
[3,8,4,5,7,1,2,6]=>0000000
[3,4,8,6,7,1,2,5]=>0000000
[4,5,6,7,1,8,3,2]=>0000000
[3,5,6,2,7,4,8,1]=>0000000
[3,5,6,1,7,8,4,2]=>0000000
[2,5,6,1,8,7,4,3]=>0000000
[2,5,6,8,1,7,3,4]=>0000000
[8,2,4,5,1,6,3,7]=>0000000
[1,4,8,6,2,3,7,5]=>1000000
[1,5,6,8,2,3,7,4]=>1000000
[1,5,6,2,8,4,7,3]=>1000000
[2,5,6,3,4,7,8,1]=>0000000
[1,4,2,6,8,5,7,3]=>1000000
[8,1,3,2,5,4,6,7]=>0000000
[8,2,3,1,5,6,4,7]=>0000000
[2,8,3,1,5,7,4,6]=>0000000
[2,4,1,6,8,7,5,3]=>0000000
[3,4,1,6,7,8,5,2]=>0000000
[4,3,1,7,6,8,5,2]=>0000000
[5,2,7,8,1,6,3,4]=>0000000
[5,3,7,2,6,4,8,1]=>0000000
[6,7,3,1,5,8,4,2]=>0000000
[6,7,2,1,8,5,4,3]=>0000000
[6,7,2,8,1,5,3,4]=>0000000
[6,7,8,2,1,4,3,5]=>0000000
[6,7,1,2,8,4,5,3]=>0000000
[6,7,1,3,4,8,5,2]=>0000000
[5,2,7,3,4,6,8,1]=>0000000
[5,1,7,3,4,8,6,2]=>0000000
[5,1,7,8,2,3,6,4]=>0000000
[4,1,8,7,2,3,6,5]=>0000000
[3,8,1,2,7,4,5,6]=>0000000
[4,1,3,7,5,8,6,2]=>0000000
[3,1,4,5,7,8,6,2]=>0000000
[2,1,8,3,4,7,6,5]=>0100000
[8,2,1,3,4,6,5,7]=>0000000
[1,8,2,3,4,5,7,6]=>1000000
[1,2,8,3,4,6,7,5]=>1100000
[4,2,1,6,5,8,7,3]=>0000000
[5,2,6,1,4,8,7,3]=>0000000
[5,2,6,4,1,8,7,3]=>0000000
[5,2,7,4,8,1,6,3]=>0000000
[5,2,7,4,8,6,1,3]=>0000000
[5,7,2,3,8,6,1,4]=>0000000
[5,7,2,3,8,1,6,4]=>0000000
[5,6,2,3,1,8,7,4]=>0000000
[5,6,2,1,3,8,7,4]=>0000000
[5,1,6,4,2,8,7,3]=>0000000
[5,6,1,3,2,8,7,4]=>0000000
[5,6,3,1,2,8,7,4]=>0000000
[5,6,3,2,1,8,7,4]=>0000000
[5,7,3,2,8,1,6,4]=>0000000
[5,7,3,2,8,6,1,4]=>0000000
[6,7,3,8,2,1,5,4]=>0000000
[6,7,3,8,1,2,5,4]=>0000000
[5,7,3,1,8,2,6,4]=>0000000
[5,7,1,3,8,2,6,4]=>0000000
[5,1,7,4,8,2,6,3]=>0000000
[1,5,7,4,8,3,6,2]=>1000000
[1,5,7,4,8,6,3,2]=>1000000
[5,1,7,4,8,6,2,3]=>0000000
[5,7,1,3,8,6,2,4]=>0000000
[5,7,3,1,8,6,2,4]=>0000000
[6,7,3,8,1,5,2,4]=>0000000
[6,7,3,8,5,2,1,4]=>0000000
[6,7,8,3,1,4,2,5]=>0000000
[6,7,1,8,3,5,2,4]=>0000000
[6,1,7,8,4,5,2,3]=>0000000
[1,6,7,8,4,5,3,2]=>1000000
[1,6,7,8,4,3,5,2]=>1000000
[6,1,7,8,4,2,5,3]=>0000000
[6,7,1,8,3,2,5,4]=>0000000
[5,7,2,1,8,3,6,4]=>0000000
[6,7,2,8,1,3,5,4]=>0000000
[6,7,2,8,3,1,5,4]=>0000000
[6,7,2,8,3,5,1,4]=>0000000
[6,2,7,8,4,5,1,3]=>0000000
[6,2,7,8,4,1,5,3]=>0000000
[6,2,7,8,1,4,5,3]=>0000000
[5,2,7,1,8,4,6,3]=>0000000
[4,2,1,7,8,5,6,3]=>0000000
[4,1,2,7,8,6,5,3]=>0000000
[6,2,7,8,1,5,4,3]=>0000000
[6,2,7,8,5,1,4,3]=>0000000
[6,2,7,8,5,4,1,3]=>0000000
[6,7,2,8,5,3,1,4]=>0000000
[5,7,2,1,8,6,3,4]=>0000000
[5,7,1,2,8,6,3,4]=>0000000
[5,1,7,2,8,6,4,3]=>0000000
[1,5,7,3,8,6,4,2]=>1000000
[1,6,7,8,3,5,4,2]=>1000000
[6,1,7,8,2,5,4,3]=>0000000
[6,7,1,8,2,5,3,4]=>0000000
[6,7,8,2,4,1,3,5]=>0000000
[6,7,8,2,4,3,1,5]=>0000000
[6,7,1,8,5,2,3,4]=>0000000
[6,1,7,8,5,2,4,3]=>0000000
[1,6,7,8,5,3,4,2]=>1000000
[6,1,7,8,5,4,2,3]=>0000000
[6,7,1,8,5,3,2,4]=>0000000
[6,7,8,4,1,3,2,5]=>0000000
[6,5,2,8,4,7,3,1]=>0000000
[3,6,4,8,5,7,1,2]=>0000000
[5,1,4,8,6,3,7,2]=>0000000
[3,4,7,1,8,6,5,2]=>0000000
[6,3,8,4,2,7,1,5]=>0000000
[3,6,8,7,1,4,2,5]=>0000000
[4,6,1,2,7,8,5,3]=>0000000
[3,6,4,2,8,7,5,1]=>0000000
[6,3,7,5,2,8,1,4]=>0000000
[5,7,1,4,8,3,2,6]=>0000000
[5,8,1,4,6,7,2,3]=>0000000
[5,3,8,7,4,1,2,6]=>0000000
[5,4,2,7,3,6,8,1]=>0000000
[7,5,3,6,4,2,8,1]=>0000000
[8,2,6,3,4,7,5,1]=>0000000
[7,2,6,3,5,4,8,1]=>0000000
[6,2,7,4,3,5,8,1]=>0000000
[3,7,6,4,5,2,8,1]=>0000000
[2,7,6,5,3,4,8,1]=>0000000
[6,5,4,3,1,8,2,7]=>0000000
[8,6,5,4,2,7,3,1]=>0000000
[8,5,4,1,7,2,6,3]=>0000000
[7,5,4,1,8,3,2,6]=>0000000
[1,6,5,2,8,3,4,7]=>1000000
[1,6,5,3,4,8,2,7]=>1000000
[5,4,6,3,1,8,2,7]=>0000000
[6,5,8,4,2,7,3,1]=>0000000
[5,8,2,6,4,7,3,1]=>0000000
[1,8,6,3,7,5,2,4]=>1000000
[8,7,5,2,6,4,3,1]=>0000000
[8,7,1,6,2,5,4,3]=>0000000
[7,8,1,6,3,2,5,4]=>0000000
[2,8,1,7,3,5,6,4]=>0000000
[4,8,1,3,7,2,6,5]=>0000000
[4,2,8,5,7,3,6,1]=>0000000
[5,1,7,6,8,3,2,4]=>0000000
[6,7,3,1,8,4,2,5]=>0000000
[1,7,3,8,4,5,2,6]=>1000000
[1,7,2,8,5,3,4,6]=>1000000
[7,6,1,8,4,3,2,5]=>0000000
[8,6,1,7,4,2,5,3]=>0000000
[8,1,2,7,3,4,6,5]=>0000000
[7,1,2,8,3,5,4,6]=>0000000
[8,2,6,1,7,3,5,4]=>0000000
[4,2,1,5,8,3,6,7]=>0000000
[5,4,3,1,6,8,2,7]=>0000000
[4,7,5,6,8,3,2,1]=>0000000
[8,6,4,7,5,3,2,1]=>0000000
[5,1,8,3,7,6,2,4]=>0000000
[5,4,8,1,7,2,6,3]=>0000000
[5,7,3,8,2,6,4,1]=>0000000
[2,3,8,7,4,5,6,1]=>0000000
[7,2,8,6,4,3,5,1]=>0000000
[8,2,7,6,3,5,4,1]=>0000000
[8,1,7,6,5,2,4,3]=>0000000
[7,1,8,6,5,3,2,4]=>0000000
[1,2,8,7,6,3,4,5]=>1100000
[1,3,8,7,4,6,2,5]=>1000000
[5,1,6,8,7,4,2,3]=>0000000
[3,8,7,6,4,5,2,1]=>0000000
[2,8,7,6,5,3,4,1]=>0000000
[1,8,7,6,5,4,2,3]=>1000000
[5,8,6,7,3,4,1,2]=>0000000
[4,8,6,7,3,5,1,2]=>0000000
[3,8,6,7,4,5,1,2]=>0000000
[2,8,6,7,4,5,1,3]=>0000000
[1,8,6,7,4,5,2,3]=>1000000
[1,8,5,7,4,6,2,3]=>1000000
[3,8,5,7,4,6,1,2]=>0000000
[4,8,5,7,3,6,1,2]=>0000000
[7,8,3,6,4,5,1,2]=>0000000
[6,8,3,7,4,5,1,2]=>0000000
[5,8,3,7,4,6,1,2]=>0000000
[3,7,4,8,5,6,1,2]=>0000000
[4,7,3,8,5,6,1,2]=>0000000
[4,7,2,8,5,6,1,3]=>0000000
[4,7,1,8,5,6,2,3]=>0000000
[3,7,1,8,5,6,2,4]=>0000000
[3,7,2,8,5,6,1,4]=>0000000
[2,7,3,8,5,6,1,4]=>0000000
[2,7,4,8,5,6,1,3]=>0000000
[5,8,2,7,4,6,1,3]=>0000000
[6,8,2,7,4,5,1,3]=>0000000
[7,8,2,6,4,5,1,3]=>0000000
[7,8,1,6,4,5,2,3]=>0000000
[6,8,1,7,4,5,2,3]=>0000000
[5,8,1,7,4,6,2,3]=>0000000
[1,7,4,8,5,6,2,3]=>1000000
[1,7,3,8,5,6,2,4]=>1000000
[2,8,5,6,1,7,3,4]=>0000000
[1,8,5,6,2,7,3,4]=>1000000
[1,7,3,8,4,6,2,5]=>1000000
[4,8,1,7,3,6,2,5]=>0000000
[5,8,1,7,3,6,2,4]=>0000000
[6,8,1,7,3,5,2,4]=>0000000
[7,8,2,6,3,5,1,4]=>0000000
[6,8,2,7,3,5,1,4]=>0000000
[5,8,2,7,3,6,1,4]=>0000000
[4,8,2,7,3,6,1,5]=>0000000
[2,7,3,8,4,6,1,5]=>0000000
[3,7,2,8,4,6,1,5]=>0000000
[3,7,1,8,4,6,2,5]=>0000000
[1,8,4,7,3,6,2,5]=>1000000
[2,8,4,7,3,6,1,5]=>0000000
[3,8,4,7,2,6,1,5]=>0000000
[4,8,5,7,2,6,1,3]=>0000000
[3,8,5,7,2,6,1,4]=>0000000
[2,8,5,7,3,6,1,4]=>0000000
[1,8,5,7,3,6,2,4]=>1000000
[1,8,6,7,3,5,2,4]=>1000000
[2,8,6,7,3,5,1,4]=>0000000
[3,8,6,7,2,5,1,4]=>0000000
[4,8,6,7,2,5,1,3]=>0000000
[5,8,6,7,2,4,1,3]=>0000000
[6,8,5,7,1,4,2,3]=>0000000
[5,8,6,7,1,4,2,3]=>0000000
[4,8,6,7,1,5,2,3]=>0000000
[3,8,6,7,1,5,2,4]=>0000000
[1,5,2,8,6,7,3,4]=>1000000
[2,5,1,8,6,7,3,4]=>0000000
[2,6,1,8,5,7,3,4]=>0000000
[1,6,2,8,5,7,3,4]=>1000000
[3,8,5,7,1,6,2,4]=>0000000
[6,8,4,7,1,5,2,3]=>0000000
[7,8,4,6,1,5,2,3]=>0000000
[7,8,3,6,1,5,2,4]=>0000000
[6,8,3,7,1,5,2,4]=>0000000
[4,8,3,7,1,6,2,5]=>0000000
[3,8,4,7,1,6,2,5]=>0000000
[1,6,2,8,4,7,3,5]=>1000000
[2,6,1,8,4,7,3,5]=>0000000
[3,7,2,6,1,8,4,5]=>0000000
[3,7,1,6,2,8,4,5]=>0000000
[4,8,1,6,2,7,3,5]=>0000000
[5,8,1,6,2,7,3,4]=>0000000
[7,8,1,5,2,6,3,4]=>0000000
[7,8,2,5,1,6,3,4]=>0000000
[6,8,2,5,1,7,3,4]=>0000000
[5,8,2,6,1,7,3,4]=>0000000
[4,8,2,6,1,7,3,5]=>0000000
[1,7,3,6,2,8,4,5]=>1000000
[2,7,3,6,1,8,4,5]=>0000000
[6,7,4,8,3,5,1,2]=>0000000
[6,7,4,5,2,8,1,3]=>0000000
[5,7,4,6,2,3,1,8]=>0000001
[5,7,4,6,3,8,1,2]=>0000000
[5,7,4,8,3,6,1,2]=>0000000
[6,8,4,5,3,7,1,2]=>0000000
[5,8,4,6,3,7,1,2]=>0000000
[5,6,4,8,3,7,1,2]=>0000000
[5,6,3,7,2,4,1,8]=>0000001
[5,6,3,7,2,8,1,4]=>0000000
[5,6,3,8,2,7,1,4]=>0000000
[5,6,4,8,2,7,1,3]=>0000000
[5,8,4,6,2,7,1,3]=>0000000
[6,8,4,5,2,7,1,3]=>0000000
[7,8,4,5,2,6,1,3]=>0000000
[6,8,4,5,2,3,1,7]=>0000000
[5,8,4,6,2,3,1,7]=>0000000
[5,6,4,8,2,3,1,7]=>0000000
[5,6,3,8,2,4,1,7]=>0000000
[5,6,3,4,2,8,1,7]=>0000000
[4,6,3,5,2,7,1,8]=>0000001
[4,6,3,5,2,8,1,7]=>0000000
[4,6,3,8,2,5,1,7]=>0000000
[4,8,3,6,2,5,1,7]=>0000000
[5,8,3,6,2,4,1,7]=>0000000
[6,8,3,5,2,4,1,7]=>0000000
[7,8,3,5,2,4,1,6]=>0000000
[7,8,3,5,2,6,1,4]=>0000000
[5,8,3,6,2,7,1,4]=>0000000
[4,8,3,6,2,7,1,5]=>0000000
[4,6,3,8,2,7,1,5]=>0000000
[4,6,3,7,2,8,1,5]=>0000000
[4,7,3,6,2,5,1,8]=>0000001
[4,7,3,6,2,8,1,5]=>0000000
[4,7,3,8,2,6,1,5]=>0000000
[5,7,4,8,2,6,1,3]=>0000000
[5,7,3,6,2,8,1,4]=>0000000
[5,7,3,6,2,4,1,8]=>0000001
[6,7,3,5,2,4,1,8]=>0000001
[6,7,3,5,2,8,1,4]=>0000000
[6,7,4,8,2,5,1,3]=>0000000
[6,7,5,8,2,4,1,3]=>0000000
[6,8,5,7,2,3,1,4]=>0000000
[6,7,4,8,2,3,1,5]=>0000000
[6,7,3,8,2,4,1,5]=>0000000
[6,7,3,4,2,8,1,5]=>0000000
[5,7,3,4,2,6,1,8]=>0000001
[5,7,3,4,2,8,1,6]=>0000000
[5,7,4,8,2,3,1,6]=>0000000
[5,8,4,7,2,3,1,6]=>0000000
[6,8,4,7,2,3,1,5]=>0000000
[7,8,4,6,2,3,1,5]=>0000000
[7,8,3,6,2,4,1,5]=>0000000
[6,8,3,7,2,4,1,5]=>0000000
[5,8,3,7,2,4,1,6]=>0000000
[4,8,3,7,2,5,1,6]=>0000000
[4,7,3,8,2,5,1,6]=>0000000
[4,7,3,5,2,8,1,6]=>0000000
[4,7,3,5,2,6,1,8]=>0000001
[4,5,3,7,2,6,1,8]=>0000001
[4,5,3,7,2,8,1,6]=>0000000
[4,5,3,8,2,7,1,6]=>0000000
[4,8,3,5,2,7,1,6]=>0000000
[5,8,3,4,2,7,1,6]=>0000000
[6,8,3,4,2,7,1,5]=>0000000
[7,8,3,4,2,6,1,5]=>0000000
[6,8,3,4,2,5,1,7]=>0000000
[5,8,3,4,2,6,1,7]=>0000000
[4,8,3,5,2,6,1,7]=>0000000
[4,5,3,8,2,6,1,7]=>0000000
[4,5,3,6,2,8,1,7]=>0000000
[4,6,5,2,1,3,8,7]=>0000010
[7,4,8,1,6,5,3,2]=>0000000
[5,4,7,1,3,8,2,6]=>0000000
[6,4,8,1,7,5,2,3]=>0000000
[6,3,2,8,7,4,1,5]=>0000000
[5,7,8,6,2,3,1,4]=>0000000
[5,8,7,6,3,2,1,4]=>0000000
[3,7,1,8,6,4,5,2]=>0000000
[3,8,1,6,7,5,2,4]=>0000000
[4,7,6,2,8,1,3,5]=>0000000
[6,7,4,2,8,1,5,3]=>0000000
[6,8,4,2,7,5,1,3]=>0000000
[2,1,8,6,7,5,3,4]=>0100000
[5,8,6,7,3,1,2,4]=>0000000
[6,7,5,8,1,3,4,2]=>0000000
[7,6,5,8,1,4,3,2]=>0000000
[2,1,7,6,8,3,5,4]=>0100000
[7,5,6,8,1,4,2,3]=>0000000
[8,1,3,7,4,6,5,2]=>0000000
[5,2,8,7,4,6,1,3]=>0000000
[8,1,3,5,4,7,6,2]=>0000000
[6,1,5,4,3,8,7,2]=>0000000
[6,1,8,3,4,5,7,2]=>0000000
[8,1,3,4,5,6,7,2]=>0000000
[6,3,2,7,5,1,8,4]=>0000000
[8,4,7,2,5,6,1,3]=>0000000
[8,5,2,1,4,3,7,6]=>0000000
[5,6,2,1,4,8,3,7]=>0000000
[6,3,8,5,2,1,4,7]=>0000000
[8,3,1,5,2,4,7,6]=>0000000
[3,8,6,7,2,1,5,4]=>0000000
[8,5,6,4,2,1,7,3]=>0000000
[7,2,1,3,8,6,4,5]=>0000000
[1,5,7,3,2,4,6,8]=>1000001
[5,8,2,4,1,3,7,6]=>0000000
[4,8,1,6,3,2,7,5]=>0000000
[3,1,8,6,4,2,7,5]=>0000000
[4,2,1,3,7,8,5,6]=>0001000
[8,6,1,3,7,2,4,5]=>0000000
[1,4,2,7,8,6,3,5]=>1000000
[1,6,2,4,8,5,3,7]=>1000000
[1,6,2,4,7,5,3,8]=>1000001
[1,7,3,8,5,2,4,6]=>1000000
[1,7,3,2,8,6,4,5]=>1000000
[4,2,5,7,8,6,1,3]=>0000000
[7,2,3,1,8,5,6,4]=>0000000
[8,2,5,1,7,3,4,6]=>0000000
[6,2,1,8,3,4,7,5]=>0000000
[6,2,8,3,5,1,7,4]=>0000000
[6,2,4,8,5,7,1,3]=>0000000
[1,3,6,4,8,5,7,2]=>1000000
[1,3,6,4,7,5,8,2]=>1000000
[6,2,4,7,5,8,1,3]=>0000000
[6,2,1,3,7,8,4,5]=>0000000
[7,8,2,1,4,3,5,6]=>0000000
[7,6,4,2,3,1,8,5]=>0000000
[5,7,2,3,1,6,8,4]=>0000000
[7,5,4,2,6,8,1,3]=>0000000
[1,7,5,3,4,6,8,2]=>1000000
[8,2,5,4,6,7,1,3]=>0000000
[5,2,6,3,1,8,7,4]=>0000000
[8,2,6,4,3,1,7,5]=>0000000
[8,2,7,4,1,3,5,6]=>0000000
[1,2,8,4,3,5,6,7]=>1100000
[1,7,4,2,3,5,6,8]=>1000001
[6,8,4,1,3,2,5,7]=>0000000
[1,8,7,4,3,2,5,6]=>1000000
[1,6,3,8,2,4,7,5]=>1000000
[5,3,8,1,2,7,4,6]=>0000000
[5,1,8,3,2,6,4,7]=>0000000
[5,7,3,1,2,6,4,8]=>0000001
[1,7,5,4,2,6,3,8]=>1000001
[1,5,8,2,4,6,3,7]=>1000000
[1,5,8,4,2,7,3,6]=>1000000
[1,4,6,2,8,3,7,5]=>1000000
[5,3,1,6,7,2,4,8]=>0000001
[5,3,6,1,2,8,4,7]=>0000000
[1,6,3,2,7,8,4,5]=>1000000
[1,7,4,5,3,8,6,2]=>1000000
[6,3,4,1,2,5,8,7]=>0000010
[6,3,1,4,2,7,5,8]=>0000001
[1,8,3,2,4,5,6,7]=>1000000
[8,6,3,2,4,1,7,5]=>0000000
[8,5,3,2,6,7,1,4]=>0000000
[4,5,2,6,8,1,7,3]=>0000000
[4,2,5,6,7,8,1,3]=>0000000
[5,2,3,6,7,1,8,4]=>0000000
[6,2,3,4,1,7,8,5]=>0000000
[7,2,3,1,4,5,8,6]=>0000000
[8,6,1,4,3,2,5,7]=>0000000
[8,3,1,6,5,2,4,7]=>0000000
[3,7,5,1,8,2,4,6]=>0000000
[4,1,5,2,8,7,3,6]=>0000000
[8,1,2,4,6,5,3,7]=>0000000
[8,1,2,5,4,6,3,7]=>0000000
[8,2,6,5,1,3,4,7]=>0000000
[8,3,1,6,2,5,4,7]=>0000000
[8,1,2,6,4,5,3,7]=>0000000
[8,1,2,5,6,4,3,7]=>0000000
[8,1,2,6,5,4,3,7]=>0000000
[1,7,5,4,2,8,3,6]=>1000000
[5,1,4,8,2,7,3,6]=>0000000
[1,4,6,8,2,7,3,5]=>1000000
[1,4,7,6,2,8,3,5]=>1000000
[5,1,4,7,2,8,3,6]=>0000000
[1,7,4,5,2,8,3,6]=>1000000
[3,7,5,1,2,8,4,6]=>0000000
[5,7,2,8,1,3,4,6]=>0000000
[5,2,8,7,1,3,4,6]=>0000000
[4,1,5,8,2,7,3,6]=>0000000
[1,4,6,2,8,7,3,5]=>1000000
[1,4,2,8,6,7,3,5]=>1000000
[3,1,2,6,4,8,7,5]=>0010000
[2,1,7,6,3,4,8,5]=>0100000
[3,1,2,7,4,6,8,5]=>0010000
[1,4,7,2,6,8,3,5]=>1000000
[1,2,3,6,8,5,7,4]=>1110000
[5,1,4,2,7,8,3,6]=>0000000
[1,4,2,7,6,8,3,5]=>1000000
[1,4,2,6,8,7,3,5]=>1000000
[3,1,2,8,4,6,7,5]=>0010000
[3,1,2,7,6,4,8,5]=>0010000
[5,3,7,1,8,2,4,6]=>0000000
[1,7,4,3,2,5,8,6]=>1000000
[4,8,7,2,1,3,5,6]=>0000000
[1,8,7,3,4,2,5,6]=>1000000
[3,1,7,8,2,6,4,5]=>0000000
[1,4,2,7,8,3,6,5]=>1000000
[5,2,8,1,3,4,7,6]=>0000000
[2,1,8,6,3,4,7,5]=>0100000
[1,4,2,6,8,3,7,5]=>1000000
[1,2,3,7,8,5,6,4]=>1110000
[1,2,3,7,5,8,6,4]=>1110000
[1,4,2,7,3,8,6,5]=>1000000
[3,1,7,2,8,6,4,5]=>0000000
[2,1,7,8,3,4,6,5]=>0100000
[1,2,3,8,7,5,6,4]=>1110000
[4,7,8,5,6,2,1,3]=>0000000
[5,7,8,4,2,6,1,3]=>0000000
[6,7,8,4,2,5,1,3]=>0000000
[8,6,3,7,2,1,5,4]=>0000000
[7,6,3,8,2,1,5,4]=>0000000
[6,7,8,3,2,1,5,4]=>0000000
[5,7,8,3,2,1,6,4]=>0000000
[2,7,8,4,3,5,6,1]=>0000000
[3,7,8,4,2,5,1,6]=>0000000
[4,7,8,3,2,1,5,6]=>0000000
[5,7,8,3,2,1,4,6]=>0000000
[7,6,3,8,2,1,4,5]=>0000000
[8,6,3,7,2,1,4,5]=>0000000
[5,6,3,8,2,1,4,7]=>0000000
[3,6,4,8,2,5,1,7]=>0000000
[2,6,4,8,3,5,7,1]=>0000000
[2,6,4,7,3,5,8,1]=>0000000
[3,6,4,7,2,5,1,8]=>0000001
[4,6,3,7,2,1,5,8]=>0000001
[5,6,3,7,2,1,4,8]=>0000001
[8,4,3,2,1,6,5,7]=>0000000
[6,4,3,2,1,7,5,8]=>0000001
[4,5,3,2,7,1,6,8]=>0000001
[3,5,4,2,8,6,1,7]=>0000000
[6,4,3,2,1,8,5,7]=>0000000
[7,4,3,2,1,8,5,6]=>0000000
[8,4,3,2,1,7,5,6]=>0000000
[8,4,3,2,1,7,6,5]=>0000000
[7,4,3,2,1,8,6,5]=>0000000
[6,4,3,2,1,8,7,5]=>0000000
[5,6,3,8,2,1,7,4]=>0000000
[7,5,3,2,8,1,6,4]=>0000000
[8,5,4,2,7,6,1,3]=>0000000
[7,5,4,2,8,6,1,3]=>0000000
[6,5,4,2,8,7,1,3]=>0000000
[4,6,5,8,7,2,1,3]=>0000000
[2,6,5,7,8,3,4,1]=>0000000
[6,5,4,2,7,8,1,3]=>0000000
[8,5,4,2,6,7,1,3]=>0000000
[8,5,3,2,6,1,7,4]=>0000000
[7,5,3,2,6,1,8,4]=>0000000
[5,6,3,7,2,1,8,4]=>0000000
[4,6,3,7,2,1,8,5]=>0000000
[3,6,4,7,2,8,1,5]=>0000000
[2,6,4,7,3,8,5,1]=>0000000
[3,5,4,2,7,8,1,6]=>0000000
[4,5,3,2,7,1,8,6]=>0000000
[7,4,3,2,1,6,8,5]=>0000000
[8,4,3,2,1,6,7,5]=>0000000
[8,4,3,2,1,5,7,6]=>0000000
[7,4,3,2,1,5,8,6]=>0000000
[6,4,3,2,1,5,8,7]=>0000010
[3,5,4,2,6,8,1,7]=>0000000
[8,5,7,4,2,6,3,1]=>0000000
[6,8,3,7,5,1,4,2]=>0000000
[5,7,3,8,1,6,2,4]=>0000000
[3,2,6,4,8,5,1,7]=>0000000
[3,2,5,8,4,6,1,7]=>0000000
[3,5,2,4,1,7,6,8]=>0000101
[4,2,1,5,7,3,6,8]=>0000001
[4,5,2,3,7,1,6,8]=>0000001
[4,2,5,3,8,1,6,7]=>0000000
[4,2,5,8,3,1,6,7]=>0000000
[3,1,5,4,2,8,6,7]=>0000100
[4,1,5,3,8,2,6,7]=>0000000
[4,1,5,8,3,2,6,7]=>0000000
[4,3,8,5,2,1,6,7]=>0000000
[4,7,3,5,2,1,6,8]=>0000001
[4,3,2,7,5,1,6,8]=>0000001
[4,3,6,2,5,1,7,8]=>0000011
[4,6,3,2,5,1,7,8]=>0000011
[4,6,7,1,3,2,5,8]=>0000001
[4,5,1,7,3,2,6,8]=>0000001
[4,5,1,3,7,2,6,8]=>0000001
[3,5,1,4,2,7,6,8]=>0000101
[2,5,1,4,3,7,8,6]=>0000100
[5,2,1,4,3,7,8,6]=>0000100
[5,3,1,4,2,7,6,8]=>0000101
[4,3,1,5,7,2,6,8]=>0000001
[4,3,1,7,5,2,6,8]=>0000001
[4,3,6,1,5,2,7,8]=>0000011
[4,6,3,1,5,2,7,8]=>0000011
[5,3,6,4,1,2,7,8]=>0000011
[4,3,6,1,7,2,5,8]=>0000001
[6,3,4,1,2,7,5,8]=>0000001
[6,2,4,1,3,7,8,5]=>0000000
[3,6,4,1,2,7,5,8]=>0000001
[4,6,3,1,7,2,5,8]=>0000001
[5,3,6,2,1,4,7,8]=>0000011
[5,6,2,7,1,3,4,8]=>0000001
[4,5,2,7,3,1,6,8]=>0000001
[4,6,7,2,3,1,5,8]=>0000001
[4,6,2,1,7,3,5,8]=>0000001
[3,2,6,1,4,7,5,8]=>0000001
[3,6,2,1,4,7,5,8]=>0000001
[3,6,7,2,4,5,1,8]=>0000001
[3,5,2,7,4,6,1,8]=>0000001
[3,7,2,4,8,5,1,6]=>0000000
[7,2,1,4,6,3,8,5]=>0000000
[7,3,1,4,6,8,2,5]=>0000000
[3,2,6,1,5,7,4,8]=>0000001
[3,6,2,1,5,7,4,8]=>0000001
[6,3,2,1,5,7,4,8]=>0000001
[6,4,2,1,5,3,7,8]=>0000011
[4,2,6,1,5,3,7,8]=>0000011
[4,2,1,7,5,3,6,8]=>0000001
[7,4,1,5,6,2,3,8]=>0000001
[7,3,1,5,2,6,4,8]=>0000001
[7,2,1,5,3,6,8,4]=>0000000
[6,2,5,1,3,7,8,4]=>0000000
[6,3,5,1,2,7,4,8]=>0000001
[6,4,5,1,7,2,3,8]=>0000001
[5,2,6,4,1,3,7,8]=>0000011
[4,6,5,1,7,2,3,8]=>0000001
[3,6,5,1,2,7,4,8]=>0000001
[6,5,2,1,4,7,8,3]=>0000000
[6,5,3,1,4,7,2,8]=>0000001
[2,3,1,8,5,4,7,6]=>0010000
[2,4,1,5,8,3,7,6]=>0000000
[2,4,1,5,3,8,7,6]=>0000100
[3,4,5,1,2,8,7,6]=>0000100
[3,4,5,1,8,2,7,6]=>0000000
[3,4,5,8,2,1,7,6]=>0000000
[3,4,5,2,8,1,7,6]=>0000000
[3,5,6,2,7,1,4,8]=>0000001
[3,5,6,2,7,1,8,4]=>0000000
[2,4,8,6,3,7,1,5]=>0000000
[1,8,4,6,3,7,2,5]=>1000000
[3,4,6,8,2,7,5,1]=>0000000
[3,4,6,2,8,7,5,1]=>0000000
[3,5,6,2,7,8,4,1]=>0000000
[3,5,6,2,7,4,1,8]=>0000001
[4,5,6,7,2,8,3,1]=>0000000
[3,5,6,8,7,2,4,1]=>0000000
[2,5,8,6,7,3,4,1]=>0000000
[2,5,8,6,7,3,1,4]=>0000000
[3,5,6,8,7,2,1,4]=>0000000
[4,5,6,7,2,1,8,3]=>0000000
[2,3,1,8,6,7,4,5]=>0010000
[1,8,3,2,6,7,5,4]=>1000000
[2,5,1,6,7,8,4,3]=>0000000
[2,5,1,6,7,4,8,3]=>0000000
[3,4,6,8,1,7,5,2]=>0000000
[2,4,8,6,1,7,5,3]=>0000000
[3,5,6,8,7,1,4,2]=>0000000
[4,5,6,7,8,1,3,2]=>0000000
[4,5,6,7,1,3,8,2]=>0000000
[4,5,6,7,1,3,2,8]=>0000001
[4,5,6,7,3,1,8,2]=>0000000
[3,5,6,8,7,4,1,2]=>0000000
[2,5,8,6,7,4,1,3]=>0000000
[1,8,5,6,7,4,3,2]=>1000000
[2,5,8,6,7,4,3,1]=>0000000
[8,2,4,3,7,1,6,5]=>0000000
[5,8,2,4,3,7,1,6]=>0000000
[6,1,5,7,3,2,4,8]=>0000001
[6,1,5,8,3,2,4,7]=>0000000
[4,3,5,6,7,1,8,2]=>0000000
[3,7,1,5,6,8,2,4]=>0000000
[8,3,2,4,6,1,5,7]=>0000000
[7,3,2,4,6,1,5,8]=>0000001
[3,2,5,1,7,4,6,8]=>0000001
[3,2,5,1,7,8,4,6]=>0000000
[5,7,6,1,8,3,4,2]=>0000000
[3,2,5,1,6,4,7,8]=>0000011
[3,8,6,5,1,7,4,2]=>0000000
[3,7,6,5,1,8,4,2]=>0000000
[3,2,5,1,6,7,8,4]=>0000000
[3,2,4,1,6,8,5,7]=>0001000
[8,3,2,4,7,6,1,5]=>0000000
[3,2,5,1,8,4,7,6]=>0000000
[3,2,5,1,6,7,4,8]=>0000001
[8,4,2,3,7,5,1,6]=>0000000
[4,2,6,1,8,3,7,5]=>0000000
[5,2,6,1,8,3,7,4]=>0000000
[8,4,6,1,7,3,5,2]=>0000000
[5,2,6,1,8,4,7,3]=>0000000
[7,4,2,3,8,5,1,6]=>0000000
[8,5,1,6,4,2,3,7]=>0000000
[7,5,1,6,4,2,3,8]=>0000001
[3,2,5,1,7,6,4,8]=>0000001
[7,3,2,4,8,6,1,5]=>0000000
[4,2,6,1,8,5,7,3]=>0000000
[8,5,6,1,7,3,4,2]=>0000000
[3,6,8,5,1,7,4,2]=>0000000
[3,2,5,1,8,6,7,4]=>0000000
[3,2,4,1,8,6,5,7]=>0001000
[3,2,5,1,7,8,6,4]=>0000000
[7,8,5,1,6,4,2,3]=>0000000
[3,7,5,1,8,6,4,2]=>0000000
[8,7,5,1,6,4,2,3]=>0000000
[6,5,7,3,1,8,4,2]=>0000000
[4,6,3,7,1,8,5,2]=>0000000
[4,6,3,7,5,1,8,2]=>0000000
[4,2,6,1,7,5,3,8]=>0000001
[2,5,7,4,1,6,3,8]=>0000001
[2,5,7,4,1,6,8,3]=>0000000
[5,4,7,3,6,1,8,2]=>0000000
[5,4,7,8,3,1,6,2]=>0000000
[4,3,7,5,1,8,6,2]=>0000000
[6,4,3,8,5,1,7,2]=>0000000
[5,8,4,3,6,1,7,2]=>0000000
[5,4,8,3,6,1,7,2]=>0000000
[5,4,3,6,7,1,8,2]=>0000000
[2,5,4,6,1,7,3,8]=>0000001
[3,2,5,8,1,6,7,4]=>0000000
[2,5,4,6,8,1,7,3]=>0000000
[5,2,8,4,1,6,7,3]=>0000000
[4,6,2,1,8,5,7,3]=>0000000
[2,4,1,7,5,8,6,3]=>0000000
[2,4,1,7,5,3,8,6]=>0000000
[2,6,4,1,8,5,3,7]=>0000000
[5,4,8,2,1,6,3,7]=>0000000
[2,5,8,4,1,6,3,7]=>0000000
[3,2,5,6,1,8,4,7]=>0000000
[4,8,3,2,6,1,5,7]=>0000000
[3,5,2,8,1,6,4,7]=>0000000
[3,2,1,6,8,5,4,7]=>0010000
[3,2,7,1,5,4,8,6]=>0000000
[3,2,7,1,5,8,6,4]=>0000000
[3,8,2,5,1,6,7,4]=>0000000
[4,8,3,2,6,7,1,5]=>0000000
[4,3,8,2,6,7,1,5]=>0000000
[4,3,2,6,7,8,1,5]=>0000000
[4,3,2,6,7,1,5,8]=>0000001
[4,3,7,2,6,8,1,5]=>0000000
[4,3,7,8,2,6,1,5]=>0000000
[2,5,7,4,8,1,6,3]=>0000000
[3,2,5,7,8,1,6,4]=>0000000
[3,2,5,7,1,6,8,4]=>0000000
[3,2,5,7,1,6,4,8]=>0000001
[6,3,2,7,1,5,4,8]=>0000001
[6,3,2,7,1,5,8,4]=>0000000
[6,3,2,7,8,1,5,4]=>0000000
[4,2,6,1,7,8,5,3]=>0000000
[6,5,2,1,7,8,4,3]=>0000000
[2,1,7,5,3,8,6,4]=>0100000
[6,2,1,8,5,3,7,4]=>0000000
[6,3,2,7,1,4,8,5]=>0000000
[6,3,2,1,4,7,8,5]=>0000000
[6,3,2,1,4,7,5,8]=>0000001
[3,5,2,1,7,4,6,8]=>0000001
[3,5,2,1,7,8,4,6]=>0000000
[5,8,4,2,1,7,3,6]=>0000000
[4,6,2,1,8,3,7,5]=>0000000
[2,4,1,7,3,8,6,5]=>0000000
[3,2,7,1,4,8,6,5]=>0000000
[3,5,8,2,1,7,4,6]=>0000000
[4,8,3,7,2,1,5,6]=>0000000
[4,3,7,2,8,1,5,6]=>0000000
[4,3,7,2,1,5,6,8]=>0000001
[4,8,3,2,7,1,5,6]=>0000000
[3,5,2,8,1,7,4,6]=>0000000
[6,3,2,8,1,4,7,5]=>0000000
[3,2,1,4,7,5,8,6]=>0011000
[5,3,2,1,8,4,6,7]=>0000000
[4,8,3,2,1,5,6,7]=>0000000
[4,3,8,2,1,5,6,7]=>0000000
[6,2,5,3,4,1,8,7]=>0000010
[6,1,5,2,4,3,8,7]=>0000010
[8,3,5,2,4,1,7,6]=>0000000
[8,1,5,3,4,2,7,6]=>0000000
[8,4,5,1,3,2,7,6]=>0000000
[8,6,7,4,5,1,3,2]=>0000000
[8,6,7,3,5,1,4,2]=>0000000
[8,5,7,3,6,1,4,2]=>0000000
[8,3,7,1,6,4,5,2]=>0000000
[8,1,7,5,6,3,4,2]=>0000000
[8,4,7,5,6,1,3,2]=>0000000
[2,1,8,4,7,5,6,3]=>0100000
[8,1,7,3,4,2,6,5]=>0000000
[8,1,7,3,6,2,5,4]=>0000000
[8,3,7,2,6,4,5,1]=>0000000
[8,2,7,3,6,4,5,1]=>0000000
[8,1,7,2,4,3,6,5]=>0000000
[8,1,5,2,4,3,7,6]=>0000000
[8,2,7,1,4,3,6,5]=>0000000
[8,2,3,1,5,4,7,6]=>0000000
[4,1,3,2,8,6,7,5]=>0001000
[8,6,7,2,3,1,5,4]=>0000000
[8,5,7,2,6,1,4,3]=>0000000
[8,2,7,5,6,1,4,3]=>0000000
[2,1,8,6,7,3,5,4]=>0100000
[2,1,8,3,7,5,6,4]=>0100000
[8,4,7,2,6,3,5,1]=>0000000
[2,1,8,5,7,3,6,4]=>0100000
[8,5,7,4,6,1,3,2]=>0000000
[2,4,8,3,6,1,7,5]=>0000000
[6,5,8,7,3,1,2,4]=>0000000
[1,7,2,8,4,6,5,3]=>1000000
[3,1,6,8,4,5,7,2]=>0000000
[2,3,6,8,4,5,7,1]=>0000000
[1,5,7,8,2,4,6,3]=>1000000
[5,1,7,8,2,4,6,3]=>0000000
[3,6,7,8,4,2,5,1]=>0000000
[5,6,8,7,3,2,1,4]=>0000000
[5,2,7,8,1,4,6,3]=>0000000
[2,8,4,5,3,1,6,7]=>0000000
[3,4,2,1,8,5,6,7]=>0001000
[2,7,6,8,4,3,5,1]=>0000000
[5,7,1,8,3,4,6,2]=>0000000
[3,7,5,8,1,4,6,2]=>0000000
[1,6,8,5,4,3,2,7]=>1000000
[4,6,8,5,1,3,2,7]=>0000000
[5,6,8,1,4,3,2,7]=>0000000
[2,4,8,3,6,5,1,7]=>0000000
[2,8,4,1,5,6,3,7]=>0000000
[1,7,3,8,5,4,6,2]=>1000000
[3,7,1,8,5,4,6,2]=>0000000
[5,7,8,4,3,6,1,2]=>0000000
[2,8,5,4,3,1,6,7]=>0000000
[6,5,8,4,2,3,1,7]=>0000000
[4,1,3,2,8,5,6,7]=>0001000
[1,4,3,2,8,5,6,7]=>1001000
[6,4,8,2,5,3,1,7]=>0000000
[2,8,3,4,5,1,6,7]=>0000000
[6,2,8,4,5,3,1,7]=>0000000
[3,2,1,4,8,5,6,7]=>0011000
[5,1,3,2,4,8,6,7]=>0000100
[2,8,1,5,3,4,7,6]=>0000000
[1,2,8,4,5,3,7,6]=>1100000
[1,4,2,8,5,3,6,7]=>1000000
[1,8,4,2,5,3,6,7]=>1000000
[8,1,5,3,2,4,6,7]=>0000000
[3,8,1,5,2,4,6,7]=>0000000
[3,5,1,4,8,2,6,7]=>0000000
[1,5,2,8,4,3,6,7]=>1000000
[1,2,8,5,4,3,6,7]=>1100000
[1,2,5,4,3,8,6,7]=>1100100
[1,2,4,8,5,3,7,6]=>1100000
[1,2,7,4,8,5,3,6]=>1100000
[1,5,2,7,8,4,3,6]=>1000000
[5,1,2,7,4,8,3,6]=>0000000
[8,3,5,1,4,7,2,6]=>0000000
[2,8,1,5,4,7,3,6]=>0000000
[1,2,8,5,7,4,3,6]=>1100000
[1,2,4,8,7,5,3,6]=>1100000
[2,8,1,4,3,7,6,5]=>0000000
[6,1,2,8,7,4,3,5]=>0000000
[6,4,1,2,8,7,3,5]=>0000000
[3,6,4,8,1,7,2,5]=>0000000
[7,6,1,4,2,8,3,5]=>0000000
[7,1,6,2,8,4,3,5]=>0000000
[1,6,7,2,8,4,3,5]=>1000000
[6,7,1,4,2,8,3,5]=>0000000
[6,3,7,1,4,8,2,5]=>0000000
[3,7,8,1,5,2,4,6]=>0000000
[7,1,2,8,5,3,4,6]=>0000000
[1,7,2,8,4,5,3,6]=>1000000
[1,4,2,7,8,5,3,6]=>1000000
[6,1,2,8,4,3,7,5]=>0000000
[6,4,1,2,8,3,7,5]=>0000000
[7,6,1,3,2,4,8,5]=>0000000
[6,7,1,3,2,4,8,5]=>0000000
[1,2,7,3,5,8,4,6]=>1100000
[1,2,7,5,8,3,4,6]=>1100000
[5,8,1,3,7,2,4,6]=>0000000
[1,2,5,8,7,3,4,6]=>1100000
[1,2,5,8,3,7,4,6]=>1100000
[2,8,1,7,3,5,4,6]=>0000000
[8,6,1,3,2,4,7,5]=>0000000
[4,2,8,1,7,3,6,5]=>0000000
[2,8,1,7,4,3,6,5]=>0000000
[7,1,2,8,4,3,6,5]=>0000000
[1,2,8,4,7,5,3,6]=>1100000
[1,2,8,7,4,5,3,6]=>1100000
[2,8,1,7,5,3,4,6]=>0000000
[8,3,7,1,5,2,4,6]=>0000000
[3,8,6,1,4,7,2,5]=>0000000
[8,6,1,4,2,7,3,5]=>0000000
[8,1,6,2,7,4,3,5]=>0000000
[7,1,2,8,6,4,3,5]=>0000000
[7,4,1,2,8,6,3,5]=>0000000
[3,7,4,8,1,6,2,5]=>0000000
[3,4,8,7,1,6,2,5]=>0000000
[4,2,8,1,7,6,3,5]=>0000000
[2,8,1,7,6,4,3,5]=>0000000
[7,8,3,4,1,5,2,6]=>0000000
[7,8,3,4,1,6,2,5]=>0000000
[6,8,3,4,1,7,2,5]=>0000000
[6,7,3,4,1,8,2,5]=>0000000
[5,7,3,4,1,8,2,6]=>0000000
[5,8,3,4,1,7,2,6]=>0000000
[5,8,3,4,1,6,2,7]=>0000000
[6,8,3,4,1,5,2,7]=>0000000
[6,7,3,4,1,5,2,8]=>0000001
[5,7,3,4,1,6,2,8]=>0000001
[5,6,2,8,3,4,1,7]=>0000000
[5,6,2,7,3,4,1,8]=>0000001
[4,6,2,8,3,5,1,7]=>0000000
[4,7,3,5,1,6,2,8]=>0000001
[4,8,3,5,1,6,2,7]=>0000000
[4,8,3,5,1,7,2,6]=>0000000
[4,7,3,5,1,8,2,6]=>0000000
[5,6,2,3,1,7,4,8]=>0000001
[5,6,2,4,1,8,3,7]=>0000000
[5,6,2,4,1,7,3,8]=>0000001
[4,6,2,5,1,7,3,8]=>0000001
[4,6,2,5,1,8,3,7]=>0000000
[4,5,1,8,3,7,2,6]=>0000000
[4,5,1,7,3,8,2,6]=>0000000
[4,6,2,7,3,8,1,5]=>0000000
[5,6,2,7,3,8,1,4]=>0000000
[5,6,2,7,4,8,1,3]=>0000000
[5,6,3,8,4,7,1,2]=>0000000
[5,6,2,8,4,7,1,3]=>0000000
[5,6,2,8,3,7,1,4]=>0000000
[4,6,2,8,3,7,1,5]=>0000000
[4,5,1,7,3,6,2,8]=>0000001
[4,5,1,8,3,6,2,7]=>0000000
[8,7,2,4,5,3,1,6]=>0000000
[6,3,8,4,5,7,2,1]=>0000000
[5,8,7,4,3,6,2,1]=>0000000
[2,8,7,4,3,6,1,5]=>0000000
[5,1,8,4,7,6,3,2]=>0000000
[2,5,8,4,7,6,3,1]=>0000000
[4,3,8,1,5,6,7,2]=>0000000
[4,8,1,3,5,6,7,2]=>0000000
[5,8,7,4,1,6,3,2]=>0000000
[5,8,3,6,1,4,7,2]=>0000000
[3,8,7,4,1,6,2,5]=>0000000
[8,1,7,4,5,2,3,6]=>0000000
[6,1,8,4,5,7,2,3]=>0000000
[6,8,3,5,1,7,2,4]=>0000000
[2,1,5,8,3,6,7,4]=>0100000
[4,1,8,2,5,6,7,3]=>0000000
[2,4,8,1,5,6,7,3]=>0000000
[4,8,2,1,5,6,7,3]=>0000000
[3,4,8,2,5,6,7,1]=>0000000
[5,8,1,4,7,6,2,3]=>0000000
[3,4,1,8,5,6,7,2]=>0000000
[4,5,7,6,2,3,8,1]=>0000000
[3,5,7,2,6,4,8,1]=>0000000
[2,5,7,3,6,4,8,1]=>0000000
[1,5,7,3,6,8,4,2]=>1000000
[8,4,3,7,6,1,5,2]=>0000000
[6,7,2,3,5,4,8,1]=>0000000
[5,2,7,3,6,4,8,1]=>0000000
[8,3,4,7,6,1,5,2]=>0000000
[8,2,4,7,1,6,5,3]=>0000000
[3,1,4,7,6,8,5,2]=>0000000
[4,1,3,7,6,8,5,2]=>0000000
[5,1,7,3,6,8,4,2]=>0000000
[6,7,1,3,5,8,4,2]=>0000000
[5,8,7,3,6,1,4,2]=>0000000
[4,8,3,7,6,1,5,2]=>0000000
[3,8,4,7,6,1,5,2]=>0000000
[2,8,4,7,1,6,5,3]=>0000000
[8,1,4,7,2,6,5,3]=>0000000
[8,1,3,2,7,6,5,4]=>0000000
[2,8,3,1,7,6,5,4]=>0000000
[3,8,2,1,7,6,5,4]=>0000000
[6,7,1,2,8,5,4,3]=>0000000
[8,2,3,1,7,6,5,4]=>0000000
[8,3,2,1,7,6,5,4]=>0000000
[3,4,1,7,6,8,5,2]=>0000000
[1,4,2,7,8,6,5,3]=>1000000
[8,4,2,7,1,6,5,3]=>0000000
[8,5,7,2,1,6,4,3]=>0000000
[1,5,7,2,8,6,4,3]=>1000000
[2,5,7,1,8,6,4,3]=>0000000
[3,5,7,1,6,8,4,2]=>0000000
[6,7,4,5,8,1,3,2]=>0000000
[5,4,7,6,8,1,3,2]=>0000000
[2,5,7,8,1,6,4,3]=>0000000
[1,5,7,8,2,6,4,3]=>1000000
[8,5,7,1,2,6,4,3]=>0000000
[8,4,1,7,2,6,5,3]=>0000000
[1,4,8,7,2,6,5,3]=>1000000
[3,4,8,7,6,1,5,2]=>0000000
[4,3,8,7,6,1,5,2]=>0000000
[5,3,7,8,6,1,4,2]=>0000000
[6,7,2,8,1,5,4,3]=>0000000
[5,2,7,8,1,6,4,3]=>0000000
[4,2,8,7,1,6,5,3]=>0000000
[3,2,8,1,7,6,5,4]=>0000000
[1,3,8,2,7,6,5,4]=>1000000
[8,3,1,2,7,6,5,4]=>0000000
[8,2,1,3,7,6,5,4]=>0000000
[1,2,8,3,7,6,5,4]=>1100000
[2,1,8,3,7,6,5,4]=>0100000
[4,1,8,7,2,6,5,3]=>0000000
[5,1,7,8,2,6,4,3]=>0000000
[6,7,1,8,2,5,4,3]=>0000000
[5,8,7,1,2,6,4,3]=>0000000
[4,8,1,7,2,6,5,3]=>0000000
[3,8,1,2,7,6,5,4]=>0000000
[2,8,1,3,7,6,5,4]=>0000000
[1,8,2,3,7,6,5,4]=>1000000
[8,1,2,3,7,6,5,4]=>0000000
[6,7,1,8,4,5,2,3]=>0000000
[3,7,1,5,8,2,6,4]=>0000000
[2,7,1,5,8,3,6,4]=>0000000
[2,6,5,1,8,3,7,4]=>0000000
[3,6,5,1,8,2,7,4]=>0000000
[4,6,5,1,8,7,2,3]=>0000000
[5,6,4,1,8,7,2,3]=>0000000
[8,1,4,5,7,6,2,3]=>0000000
[6,4,5,1,8,7,2,3]=>0000000
[5,4,6,1,8,7,2,3]=>0000000
[4,5,6,1,8,7,2,3]=>0000000
[3,5,6,1,8,2,7,4]=>0000000
[2,5,6,1,8,3,7,4]=>0000000
[2,4,6,1,3,8,7,5]=>0000000
[3,4,6,1,2,8,7,5]=>0000000
[4,3,6,1,2,8,7,5]=>0000000
[5,3,6,1,8,2,7,4]=>0000000
[7,3,1,5,8,2,6,4]=>0000000
[8,1,3,5,7,2,6,4]=>0000000
[8,1,2,5,7,3,6,4]=>0000000
[7,2,1,5,8,3,6,4]=>0000000
[6,2,5,1,8,3,7,4]=>0000000
[4,2,6,1,3,8,7,5]=>0000000
[2,3,6,1,4,8,7,5]=>0000000
[4,2,5,3,1,8,7,6]=>0000100
[6,2,4,1,3,8,7,5]=>0000000
[7,2,1,4,3,8,6,5]=>0000000
[8,1,2,4,3,7,6,5]=>0000000
[8,1,3,4,2,7,6,5]=>0000000
[7,3,1,4,2,8,6,5]=>0000000
[6,3,4,1,2,8,7,5]=>0000000
[4,6,3,1,2,8,7,5]=>0000000
[3,6,4,1,2,8,7,5]=>0000000
[2,6,4,1,3,8,7,5]=>0000000
[2,7,1,4,3,8,6,5]=>0000000
[3,7,1,4,2,8,6,5]=>0000000
[4,7,1,3,2,8,6,5]=>0000000
[8,1,6,7,2,3,5,4]=>0000000
[4,7,1,2,3,8,6,5]=>0000000
[3,7,1,2,4,8,6,5]=>0000000
[2,7,1,3,4,8,6,5]=>0000000
[2,6,3,1,4,8,7,5]=>0000000
[3,6,2,1,4,8,7,5]=>0000000
[5,6,2,1,8,3,7,4]=>0000000
[6,5,2,1,8,3,7,4]=>0000000
[8,1,5,2,7,3,6,4]=>0000000
[8,1,4,2,3,7,6,5]=>0000000
[7,4,1,2,3,8,6,5]=>0000000
[6,4,2,1,3,8,7,5]=>0000000
[5,4,2,3,1,8,7,6]=>0000100
[3,5,2,4,1,8,7,6]=>0000100
[6,3,2,1,4,8,7,5]=>0000000
[7,3,1,2,4,8,6,5]=>0000000
[8,1,3,2,4,7,6,5]=>0000000
[8,1,2,3,4,7,6,5]=>0000000
[7,2,1,3,4,8,6,5]=>0000000
[6,2,3,1,4,8,7,5]=>0000000
[2,4,3,6,5,8,1,7]=>0000000
[2,4,6,3,5,8,7,1]=>0000000
[2,4,6,3,5,8,1,7]=>0000000
[4,2,6,5,1,8,7,3]=>0000000
[4,2,6,5,8,1,3,7]=>0000000
[4,2,6,5,8,3,1,7]=>0000000
[2,4,6,1,5,8,3,7]=>0000000
[2,4,1,6,5,8,3,7]=>0000000
[4,2,6,5,8,3,7,1]=>0000000
[2,6,4,3,8,7,5,1]=>0000000
[4,2,6,8,5,3,7,1]=>0000000
[2,4,6,8,1,5,7,3]=>0000000
[2,4,6,1,8,5,7,3]=>0000000
[2,1,4,6,8,5,7,3]=>0100000
[2,1,4,6,8,5,3,7]=>0100000
[2,4,6,1,8,5,3,7]=>0000000
[2,4,6,8,1,5,3,7]=>0000000
[4,2,6,8,5,1,3,7]=>0000000
[2,4,6,8,3,5,7,1]=>0000000
[2,4,6,8,3,5,1,7]=>0000000
[2,4,6,8,3,1,5,7]=>0000000
[2,4,6,3,1,8,5,7]=>0000000
[2,4,6,3,8,1,5,7]=>0000000
[2,4,6,3,8,5,1,7]=>0000000
[2,4,6,3,8,5,7,1]=>0000000
[2,4,3,6,8,5,7,1]=>0000000
[2,4,3,6,8,5,1,7]=>0000000
[2,4,3,6,8,1,5,7]=>0000000
[2,4,3,6,1,8,7,5]=>0000000
[2,4,3,6,8,1,7,5]=>0000000
[4,6,5,2,8,7,1,3]=>0000000
[2,4,6,3,8,1,7,5]=>0000000
[2,4,6,8,1,3,7,5]=>0000000
[2,4,6,8,3,1,7,5]=>0000000
[6,2,4,8,7,1,3,5]=>0000000
[6,4,2,8,7,5,3,1]=>0000000
[2,6,4,8,1,7,5,3]=>0000000
[2,6,4,1,8,7,5,3]=>0000000
[2,6,1,4,8,7,5,3]=>0000000
[2,1,6,4,8,7,5,3]=>0100000
[2,6,1,4,8,7,3,5]=>0000000
[6,4,2,8,7,5,1,3]=>0000000
[1,6,4,7,3,8,2,5]=>1000000
[1,3,7,4,5,8,2,6]=>1000000
[5,2,4,7,3,6,8,1]=>0000000
[1,7,6,3,4,8,2,5]=>1000000
[8,1,6,3,7,2,4,5]=>0000000
[7,1,6,3,8,2,4,5]=>0000000
[1,2,7,4,8,3,5,6]=>1100000
[6,1,7,3,4,8,2,5]=>0000000
[2,1,7,4,5,8,3,6]=>0100000
[5,1,4,7,3,8,2,6]=>0000000
[4,3,1,7,5,8,2,6]=>0000000
[2,8,6,3,7,1,4,5]=>0000000
[6,8,1,3,7,2,4,5]=>0000000
[5,8,2,1,7,3,4,6]=>0000000
[5,7,2,1,8,3,4,6]=>0000000
[6,7,1,3,8,2,4,5]=>0000000
[5,1,2,4,8,3,6,7]=>0000000
[4,3,6,1,5,8,2,7]=>0000000
[2,6,1,4,5,8,3,7]=>0000000
[6,5,1,3,4,8,2,7]=>0000000
[1,6,2,4,8,3,5,7]=>1000000
[8,5,1,3,7,2,4,6]=>0000000
[1,5,3,2,8,4,6,7]=>1000000
[6,4,2,1,5,8,3,7]=>0000000
[2,5,3,4,1,8,6,7]=>0000100
[4,3,5,2,1,8,6,7]=>0000100
[2,6,4,8,7,1,3,5]=>0000000
[1,6,4,8,7,2,3,5]=>1000000
[2,7,8,3,6,1,4,5]=>0000000
[4,3,2,8,7,1,5,6]=>0000000
[5,2,4,8,7,1,3,6]=>0000000
[6,2,8,3,7,1,4,5]=>0000000
[5,1,4,8,7,2,3,6]=>0000000
[4,8,2,5,1,3,7,6]=>0000000
[4,7,2,5,1,3,8,6]=>0000000
[3,7,2,1,5,4,8,6]=>0000000
[3,8,2,1,5,4,7,6]=>0000000
[8,3,2,1,5,4,6,7]=>0000000
[8,3,2,1,6,4,5,7]=>0000000
[8,4,2,5,1,6,3,7]=>0000000
[8,3,2,1,5,6,4,7]=>0000000
[8,3,2,1,4,6,5,7]=>0000000
[3,8,2,1,4,5,7,6]=>0000000
[3,7,2,1,4,5,8,6]=>0000000
[3,2,7,1,4,6,8,5]=>0000000
[3,2,8,1,4,6,7,5]=>0000000
[3,2,8,1,4,7,6,5]=>0000000
[3,8,2,1,4,7,5,6]=>0000000
[3,8,2,1,5,7,4,6]=>0000000
[4,8,2,5,1,7,3,6]=>0000000
[4,7,2,5,1,8,3,6]=>0000000
[3,7,2,1,5,8,4,6]=>0000000
[3,7,2,1,4,8,5,6]=>0000000
[3,2,1,7,5,8,6,4]=>0010000
[3,2,7,1,6,8,4,5]=>0000000
[4,2,7,6,1,8,3,5]=>0000000
[4,3,7,6,8,1,2,5]=>0000000
[4,3,8,6,7,1,2,5]=>0000000
[4,2,8,6,1,7,3,5]=>0000000
[3,2,8,1,6,7,4,5]=>0000000
[3,2,1,8,7,5,6,4]=>0010000
[3,8,2,1,7,4,5,6]=>0000000
[3,2,8,1,7,4,6,5]=>0000000
[3,2,8,1,6,4,7,5]=>0000000
[3,2,7,1,6,4,8,5]=>0000000
[4,2,7,6,1,3,8,5]=>0000000
[4,2,8,6,1,3,7,5]=>0000000
[4,2,8,7,1,3,6,5]=>0000000
[5,7,8,3,4,1,2,6]=>0000000
[4,2,7,8,1,3,6,5]=>0000000
[4,2,6,8,1,3,7,5]=>0000000
[4,2,6,7,1,3,8,5]=>0000000
[3,2,6,1,8,4,7,5]=>0000000
[3,7,2,1,8,4,5,6]=>0000000
[3,7,2,1,8,5,4,6]=>0000000
[4,7,3,8,5,1,2,6]=>0000000
[4,3,7,8,6,1,2,5]=>0000000
[3,2,7,1,8,6,4,5]=>0000000
[3,2,1,6,8,5,7,4]=>0010000
[3,2,6,1,8,7,4,5]=>0000000
[4,2,6,8,1,7,3,5]=>0000000
[4,3,6,8,7,1,2,5]=>0000000
[4,2,6,7,1,8,3,5]=>0000000
[3,2,6,1,7,8,4,5]=>0000000
[3,4,6,8,7,5,1,2]=>0000000
[5,3,6,4,8,7,1,2]=>0000000
[1,4,6,2,7,8,5,3]=>1000000
[3,1,8,5,4,2,6,7]=>0000000
[1,2,7,5,4,8,6,3]=>1100000
[6,3,7,5,4,8,1,2]=>0000000
[7,3,8,5,4,6,1,2]=>0000000
[3,8,7,5,4,6,1,2]=>0000000
[4,3,6,7,8,5,1,2]=>0000000
[4,5,6,3,8,7,1,2]=>0000000
[3,6,8,5,4,7,1,2]=>0000000
[6,8,3,5,4,7,1,2]=>0000000
[7,6,3,5,4,8,1,2]=>0000000
[1,6,2,5,4,8,7,3]=>1000000
[7,1,2,5,8,3,6,4]=>0000000
[1,8,2,5,7,3,6,4]=>1000000
[6,2,1,5,4,8,7,3]=>0000000
[4,1,6,2,8,7,5,3]=>0000000
[7,8,1,2,4,6,5,3]=>0000000
[7,8,3,1,4,2,6,5]=>0000000
[4,3,6,1,8,2,7,5]=>0000000
[2,3,8,5,4,1,6,7]=>0000000
[4,8,1,5,2,3,7,6]=>0000000
[7,5,1,6,4,3,2,8]=>0000001
[5,8,1,6,4,3,2,7]=>0000000
[6,1,5,7,4,3,2,8]=>0000001
[1,5,8,6,4,3,2,7]=>1000000
[3,4,6,1,5,8,2,7]=>0000000
[7,8,4,1,5,3,2,6]=>0000000
[7,8,5,1,6,3,2,4]=>0000000
[2,6,1,5,7,3,8,4]=>0000000
[1,6,8,7,4,3,2,5]=>1000000
[6,8,1,7,4,3,2,5]=>0000000
[5,6,1,7,4,3,2,8]=>0000001
[5,1,7,6,4,3,2,8]=>0000001
[6,1,7,8,4,3,2,5]=>0000000
[7,1,8,6,4,3,2,5]=>0000000
[1,8,7,6,4,3,2,5]=>1000000
[2,1,7,5,6,3,8,4]=>0100000
[3,1,6,7,5,8,2,4]=>0000000
[7,8,1,6,5,3,2,4]=>0000000
[7,8,2,1,4,5,6,3]=>0000000
[2,8,1,5,4,6,7,3]=>0000000
[7,2,1,5,4,6,8,3]=>0000000
[1,2,8,5,6,3,7,4]=>1100000
[6,1,2,5,7,3,8,4]=>0000000
[4,2,1,5,6,3,7,8]=>0000011
[4,3,6,1,5,7,2,8]=>0000001
[5,1,6,3,7,8,2,4]=>0000000
[1,3,6,8,5,7,2,4]=>1000000
[2,4,6,3,7,1,8,5]=>0000000
[1,3,6,4,8,7,2,5]=>1000000
[4,1,6,7,3,8,2,5]=>0000000
[5,4,6,1,3,7,2,8]=>0000001
[6,4,1,5,2,3,7,8]=>0000011
[4,1,7,5,2,3,8,6]=>0000000
[1,2,4,5,8,3,7,6]=>1100000
[7,2,3,5,4,1,8,6]=>0000000
[2,8,3,5,4,1,7,6]=>0000000
[4,2,6,3,8,1,7,5]=>0000000
[7,8,2,3,4,1,6,5]=>0000000
[7,8,1,4,6,3,2,5]=>0000000
[3,1,6,4,7,8,2,5]=>0000000
[1,8,5,7,4,3,2,6]=>1000000
[7,1,5,8,4,3,2,6]=>0000000
[5,1,8,7,4,3,2,6]=>0000000
[6,5,1,8,4,3,2,7]=>0000000
[6,5,7,1,4,3,2,8]=>0000001
[7,5,8,1,4,3,2,6]=>0000000
[5,8,7,1,4,3,2,6]=>0000000
[1,5,7,8,4,3,2,6]=>1000000
[2,4,7,5,1,3,8,6]=>0000000
[7,8,4,6,1,3,2,5]=>0000000
[7,8,5,4,1,3,2,6]=>0000000
[3,5,6,4,1,8,2,7]=>0000000
[2,6,4,5,1,3,8,7]=>0000010
[1,6,5,8,4,3,2,7]=>1000000
[6,8,5,1,4,3,2,7]=>0000000
[7,6,5,1,4,3,2,8]=>0000001
[3,4,6,2,7,1,5,8]=>0000001
[3,6,2,5,4,1,7,8]=>0000011
[3,2,7,5,4,1,6,8]=>0000001
[4,3,6,2,8,1,5,7]=>0000000
[6,1,2,5,4,7,8,3]=>0000000
[6,2,4,5,1,3,7,8]=>0000011
[4,2,8,5,1,3,7,6]=>0000000
[4,3,6,8,1,7,2,5]=>0000000
[5,3,6,4,1,7,2,8]=>0000001
[6,2,1,5,8,3,7,4]=>0000000
[1,6,7,4,8,3,5,2]=>1000000
[1,4,6,3,7,5,8,2]=>1000000
[4,6,7,2,5,8,1,3]=>0000000
[2,4,6,1,7,5,3,8]=>0000001
[2,7,5,4,1,6,3,8]=>0000001
[7,5,4,6,2,8,1,3]=>0000000
[1,7,5,4,3,8,6,2]=>1000000
[1,4,6,3,5,8,7,2]=>1000000
[1,5,8,4,3,6,7,2]=>1000000
[5,4,6,2,7,8,1,3]=>0000000
[2,5,4,1,6,7,3,8]=>0000001
[5,6,3,2,7,1,4,8]=>0000001
[5,6,3,2,7,1,8,4]=>0000000
[8,5,6,3,2,7,1,4]=>0000000
[5,4,6,2,8,1,7,3]=>0000000
[2,4,1,7,8,5,3,6]=>0000000
[2,5,4,1,6,3,8,7]=>0000010
[5,6,3,2,1,8,4,7]=>0000000
[3,5,2,1,6,4,7,8]=>0000011
[6,8,4,3,2,1,5,7]=>0000000
[5,3,8,2,1,6,4,7]=>0000000
[3,7,5,8,2,1,4,6]=>0000000
[7,3,2,8,5,1,6,4]=>0000000
[8,4,6,3,2,1,7,5]=>0000000
[8,6,4,3,2,1,7,5]=>0000000
[7,6,4,3,2,1,8,5]=>0000000
[7,8,4,3,2,1,6,5]=>0000000
[5,4,7,2,1,8,6,3]=>0000000
[7,5,8,3,2,6,1,4]=>0000000
[5,7,3,2,1,6,8,4]=>0000000
[5,7,3,2,1,6,4,8]=>0000001
[6,3,7,2,5,1,8,4]=>0000000
[6,7,8,3,5,2,1,4]=>0000000
[6,2,5,7,8,4,1,3]=>0000000
[2,1,5,7,8,6,3,4]=>0100000
[3,6,7,2,8,1,4,5]=>0000000
[6,3,7,2,8,1,4,5]=>0000000
[3,2,6,1,7,4,5,8]=>0000001
[3,5,2,1,4,7,6,8]=>0000101
[7,3,5,2,1,8,4,6]=>0000000
[2,5,4,1,3,7,8,6]=>0000100
[2,5,8,4,1,3,7,6]=>0000000
[2,4,1,7,8,3,6,5]=>0000000
[3,7,2,8,6,1,4,5]=>0000000
[3,6,8,2,1,7,4,5]=>0000000
[5,3,8,2,1,4,7,6]=>0000000
[4,8,7,3,2,1,5,6]=>0000000
[4,7,3,2,1,5,6,8]=>0000001
[8,4,7,3,2,1,5,6]=>0000000
[8,3,5,2,1,4,7,6]=>0000000
[7,3,2,8,6,1,4,5]=>0000000
[3,5,2,1,4,6,8,7]=>0000110
[7,8,3,5,4,6,1,2]=>0000000
[8,6,3,7,5,2,4,1]=>0000000
[5,4,1,6,2,3,8,7]=>0000010
[5,7,1,6,2,8,3,4]=>0000000
[2,7,6,5,1,8,3,4]=>0000000
[2,7,6,5,1,8,4,3]=>0000000
[2,3,6,1,5,4,8,7]=>0000010
[7,3,5,1,8,4,2,6]=>0000000
[7,3,5,1,8,6,4,2]=>0000000
[2,3,4,8,7,6,1,5]=>0000000
[2,1,4,5,8,7,3,6]=>0100000
[6,4,3,5,8,7,1,2]=>0000000
[7,3,5,4,8,1,6,2]=>0000000
[2,7,6,5,4,8,1,3]=>0000000
[7,4,1,5,8,2,3,6]=>0000000
[6,3,5,7,8,2,4,1]=>0000000
[2,7,6,4,5,8,3,1]=>0000000
[5,7,3,6,1,8,4,2]=>0000000
[2,1,4,5,8,6,3,7]=>0100000
[2,3,4,8,7,1,6,5]=>0000000
[2,3,4,8,1,7,6,5]=>0000000
[6,3,5,4,8,2,7,1]=>0000000
[2,1,4,5,8,3,7,6]=>0100000
[2,3,4,8,1,6,5,7]=>0000000
[2,3,4,8,1,5,7,6]=>0000000
[7,8,2,6,1,5,3,4]=>0000000
[7,8,1,6,2,5,3,4]=>0000000
[1,8,6,7,2,5,3,4]=>1000000
[1,8,5,7,2,6,3,4]=>1000000
[5,8,1,7,2,6,3,4]=>0000000
[5,8,2,7,1,6,3,4]=>0000000
[2,8,6,7,1,5,3,4]=>0000000
[2,8,5,7,1,6,3,4]=>0000000
[2,8,1,7,5,6,3,4]=>0000000
[1,8,2,7,5,6,3,4]=>1000000
[1,8,2,7,4,6,3,5]=>1000000
[2,8,1,7,4,6,3,5]=>0000000
[2,8,4,7,1,6,3,5]=>0000000
[4,8,2,7,1,6,3,5]=>0000000
[4,8,1,7,2,6,3,5]=>0000000
[1,8,4,7,2,6,3,5]=>1000000
[4,8,1,7,5,6,2,3]=>0000000
[1,8,4,7,5,6,2,3]=>1000000
[1,8,3,7,5,6,2,4]=>1000000
[3,8,1,7,5,6,2,4]=>0000000
[3,8,1,7,4,6,2,5]=>0000000
[1,8,3,7,4,6,2,5]=>1000000
[1,8,3,7,2,6,4,5]=>1000000
[3,8,1,7,2,6,4,5]=>0000000
[3,8,2,7,1,6,4,5]=>0000000
[3,8,2,7,4,6,1,5]=>0000000
[3,8,2,7,5,6,1,4]=>0000000
[4,8,2,7,5,6,1,3]=>0000000
[4,8,3,7,5,6,1,2]=>0000000
[3,8,4,7,5,6,1,2]=>0000000
[2,8,4,7,5,6,1,3]=>0000000
[2,8,3,7,5,6,1,4]=>0000000
[2,8,3,7,4,6,1,5]=>0000000
[2,8,3,7,1,6,4,5]=>0000000
[2,8,1,7,3,6,4,5]=>0000000
[7,5,2,8,6,4,1,3]=>0000000
[7,5,1,8,6,2,3,4]=>0000000
[7,4,8,6,1,5,2,3]=>0000000
[7,1,8,4,5,2,6,3]=>0000000
[6,8,1,7,4,2,5,3]=>0000000
[1,6,7,4,2,8,5,3]=>1000000
[1,6,7,3,8,5,2,4]=>1000000
[7,1,8,3,5,6,2,4]=>0000000
[7,3,8,6,2,5,1,4]=>0000000
[7,4,2,8,6,1,3,5]=>0000000
[7,3,1,8,4,2,5,6]=>0000000
[7,2,8,4,1,5,3,6]=>0000000
[7,2,8,3,5,1,6,4]=>0000000
[7,2,8,3,4,6,1,5]=>0000000
[1,5,7,8,2,6,3,4]=>1000000
[6,2,3,8,5,7,4,1]=>0000000
[6,2,4,8,5,3,1,7]=>0000000
[6,3,1,4,8,5,2,7]=>0000000
[2,6,3,7,8,5,4,1]=>0000000
[2,6,3,7,8,4,5,1]=>0000000
[2,4,7,3,5,6,8,1]=>0000000
[2,4,7,3,6,8,5,1]=>0000000
[2,5,3,7,8,1,6,4]=>0000000
[3,1,5,4,7,8,2,6]=>0000000
[5,3,1,4,8,2,6,7]=>0000000
[5,2,4,8,6,1,3,7]=>0000000
[5,2,3,8,4,6,7,1]=>0000000
[4,8,2,3,6,1,7,5]=>0000000
[4,8,2,3,5,7,1,6]=>0000000
[1,4,7,8,3,6,2,5]=>1000000
[4,8,1,3,6,7,2,5]=>0000000
[5,3,8,2,4,7,1,6]=>0000000
[5,4,3,8,1,2,7,6]=>0000000
[6,4,2,8,1,3,7,5]=>0000000
[6,3,8,2,5,1,7,4]=>0000000
[6,3,8,1,4,7,2,5]=>0000000
[5,8,1,3,6,2,7,4]=>0000000
[1,5,7,4,2,6,8,3]=>1000000
[5,8,1,4,2,6,3,7]=>0000000
[5,8,4,1,2,7,6,3]=>0000000
[6,5,1,2,8,7,3,4]=>0000000
[6,5,3,1,4,2,8,7]=>0000010
[5,3,1,6,4,2,7,8]=>0000011
[5,2,6,4,1,7,3,8]=>0000001
[4,6,1,7,5,2,8,3]=>0000000
[4,5,1,7,2,6,3,8]=>0000001
[3,5,6,1,2,8,7,4]=>0000000
[3,5,7,1,8,6,2,4]=>0000000
[3,6,2,7,5,1,8,4]=>0000000
[4,2,5,7,1,8,6,3]=>0000000
[3,4,7,2,8,6,1,5]=>0000000
[3,4,5,8,2,7,1,6]=>0000000
[3,4,6,2,8,1,5,7]=>0000000
[3,5,2,6,8,1,7,4]=>0000000
[4,2,5,6,1,3,8,7]=>0000010
[4,3,1,2,5,6,8,7]=>0001110
[5,3,6,8,4,7,2,1]=>0000000
[3,7,2,5,4,8,6,1]=>0000000
[8,4,2,5,7,3,6,1]=>0000000
[4,7,2,5,8,3,6,1]=>0000000
[5,2,6,8,4,3,7,1]=>0000000
[3,1,6,5,4,8,2,7]=>0000000
[4,1,6,5,8,3,2,7]=>0000000
[5,1,6,8,4,3,2,7]=>0000000
[8,5,4,7,6,3,2,1]=>0000000
[5,7,1,8,4,3,2,6]=>0000000
[2,7,1,5,4,3,8,6]=>0000000
[8,2,1,5,4,3,7,6]=>0000000
[8,4,1,5,7,3,2,6]=>0000000
[8,5,6,7,1,3,2,4]=>0000000
[8,4,6,1,7,3,2,5]=>0000000
[8,3,6,1,4,7,2,5]=>0000000
[2,7,6,1,4,3,8,5]=>0000000
[6,7,8,5,1,3,2,4]=>0000000
[5,7,6,8,2,3,4,1]=>0000000
[5,7,2,8,4,3,6,1]=>0000000
[6,7,8,2,4,3,5,1]=>0000000
[4,7,6,2,8,3,5,1]=>0000000
[8,3,6,2,4,7,5,1]=>0000000
[3,7,6,2,4,8,5,1]=>0000000
[5,7,3,8,4,6,2,1]=>0000000
[4,7,3,5,8,6,2,1]=>0000000
[8,7,2,1,4,3,6,5]=>0000000
[8,7,3,1,4,6,2,5]=>0000000
[8,7,6,3,2,5,4,1]=>0000000
[8,7,3,5,1,6,2,4]=>0000000
[8,7,2,5,1,3,6,4]=>0000000
[8,2,6,5,1,3,7,4]=>0000000
[8,4,6,5,7,1,2,3]=>0000000
[5,7,6,8,4,1,2,3]=>0000000
[4,7,6,5,8,1,2,3]=>0000000
[3,7,6,5,1,8,2,4]=>0000000
[3,6,4,8,7,5,1,2]=>0000000
[5,6,4,3,8,7,1,2]=>0000000
[1,6,2,4,7,8,5,3]=>1000000
[3,6,2,4,8,1,5,7]=>0000000
[3,4,7,2,8,1,6,5]=>0000000
[1,4,7,2,5,8,6,3]=>1000000
[7,3,8,4,5,6,1,2]=>0000000
[3,5,6,4,8,7,1,2]=>0000000
[4,6,8,5,3,7,1,2]=>0000000
[6,8,5,3,4,7,1,2]=>0000000
[1,6,5,4,2,8,7,3]=>1000000
[1,8,5,2,7,3,6,4]=>1000000
[4,2,7,5,1,8,6,3]=>0000000
[7,8,1,4,2,6,5,3]=>0000000
[1,3,6,4,8,2,5,7]=>1000000
[4,1,7,5,3,2,6,8]=>0000001
[6,5,1,3,4,2,8,7]=>0000010
[4,8,5,3,1,7,2,6]=>0000000
[7,4,5,3,2,8,1,6]=>0000000
[5,8,3,6,1,4,2,7]=>0000000
[2,5,8,6,4,1,3,7]=>0000000
[1,4,6,2,5,8,3,7]=>1000000
[3,6,2,5,8,1,7,4]=>0000000
[1,6,8,7,4,2,3,5]=>1000000
[6,1,7,8,2,4,3,5]=>0000000
[7,1,8,6,3,4,2,5]=>0000000
[7,2,1,4,5,6,8,3]=>0000000
[1,2,8,3,6,5,7,4]=>1100000
[6,1,3,2,7,5,8,4]=>0000000
[1,6,3,8,5,7,2,4]=>1000000
[2,6,4,1,7,5,8,3]=>0000000
[7,6,5,8,1,4,2,3]=>0000000
[5,8,6,7,3,2,1,4]=>0000000
[1,6,4,3,7,2,8,5]=>1000000
[2,6,3,4,8,7,1,5]=>0000000
[7,1,3,4,5,2,8,6]=>0000000
[1,8,3,5,4,2,7,6]=>1000000
[4,1,6,3,8,2,7,5]=>0000000
[7,8,2,4,6,3,1,5]=>0000000
[3,2,6,4,7,8,1,5]=>0000000
[2,8,5,7,4,3,1,6]=>0000000
[7,2,5,8,3,4,1,6]=>0000000
[5,3,8,7,1,2,6,4]=>0000000
[6,5,3,8,2,1,7,4]=>0000000
[7,5,8,4,1,2,3,6]=>0000000
[5,8,7,4,1,3,2,6]=>0000000
[3,5,7,8,4,1,2,6]=>0000000
[1,4,7,5,3,8,2,6]=>1000000
[2,4,6,7,3,1,8,5]=>0000000
[7,8,4,6,3,1,2,5]=>0000000
[2,6,4,5,3,8,1,7]=>0000000
[3,6,5,8,4,2,1,7]=>0000000
[5,6,8,4,2,3,1,7]=>0000000
[6,8,5,4,3,1,2,7]=>0000000
[6,1,4,2,8,5,7,3]=>0000000
[6,7,5,8,2,1,4,3]=>0000000
[1,3,8,5,7,6,2,4]=>1000000
[8,3,1,5,6,2,7,4]=>0000000
[2,8,1,5,6,3,7,4]=>0000000
[2,5,8,6,1,7,3,4]=>0000000
[8,6,1,5,7,2,3,4]=>0000000
[3,8,6,5,7,1,2,4]=>0000000
[7,6,5,8,1,2,4,3]=>0000000
[3,2,8,5,7,6,1,4]=>0000000
[4,2,1,3,6,7,8,5]=>0001000
[4,3,1,2,6,7,8,5]=>0001000
[8,1,6,5,7,3,2,4]=>0000000
[5,8,1,6,3,7,2,4]=>0000000
[1,7,6,5,4,2,8,3]=>1000000
[4,1,7,3,5,6,8,2]=>0000000
[1,8,3,6,5,7,2,4]=>1000000
[8,1,3,5,7,6,2,4]=>0000000
[7,8,5,4,1,6,2,3]=>0000000
[7,4,6,2,5,1,8,3]=>0000000
[7,2,6,4,5,1,8,3]=>0000000
[8,2,3,6,5,7,1,4]=>0000000
[5,4,7,3,6,8,1,2]=>0000000
[3,4,7,8,5,6,1,2]=>0000000
[3,4,7,2,5,1,6,8]=>0000001
[1,4,7,2,5,8,3,6]=>1000000
[3,6,2,4,7,1,5,8]=>0000001
[6,8,3,4,5,7,1,2]=>0000000
[4,3,6,7,5,8,1,2]=>0000000
[6,3,7,5,8,4,1,2]=>0000000
[7,3,8,6,4,5,1,2]=>0000000
[3,2,7,6,5,1,4,8]=>0000001
[1,2,7,6,5,8,3,4]=>1100000
[4,8,2,6,1,5,3,7]=>0000000
[2,3,8,6,4,1,5,7]=>0000000
[4,3,6,2,5,1,8,7]=>0000010
[7,8,3,2,5,1,4,6]=>0000000
[7,8,1,2,5,6,3,4]=>0000000
[4,1,6,2,5,7,3,8]=>0000001
[6,1,2,5,8,7,3,4]=>0000000
[2,1,8,6,4,7,3,5]=>0100000
[7,1,3,6,8,4,2,5]=>0000000
[1,8,3,6,7,4,5,2]=>1000000
[7,1,5,8,3,6,2,4]=>0000000
[5,1,8,7,2,3,6,4]=>0000000
[6,1,5,7,4,2,8,3]=>0000000
[3,1,6,4,7,2,5,8]=>0000001
[2,4,7,5,1,8,3,6]=>0000000
[6,5,7,1,4,2,3,8]=>0000001
[5,6,8,1,3,2,4,7]=>0000000
[6,8,5,1,3,4,2,7]=>0000000
[2,8,3,4,5,1,7,6]=>0000000
[6,2,4,3,1,5,7,8]=>0000011
[4,2,8,3,1,7,5,6]=>0000000
[1,3,7,4,8,2,5,6]=>1000000
[5,3,7,4,1,6,2,8]=>0000001
[2,4,7,3,6,1,8,5]=>0000000
[5,8,7,6,3,1,2,4]=>0000000
[7,5,6,8,1,4,3,2]=>0000000
[2,4,7,1,6,5,3,8]=>0000001
[1,2,7,8,5,4,3,6]=>1100000
[6,3,1,2,8,4,5,7]=>0000000
[4,2,1,3,6,5,8,7]=>0001010
[2,8,1,4,5,6,3,7]=>0000000
[7,2,1,5,4,6,3,8]=>0000001
[4,2,6,1,8,5,3,7]=>0000000
[7,8,2,1,4,5,3,6]=>0000000
[7,8,4,1,5,3,6,2]=>0000000
[3,4,6,1,5,8,7,2]=>0000000
[7,5,1,6,4,3,8,2]=>0000000
[5,8,1,6,3,4,7,2]=>0000000
[6,5,1,8,2,7,4,3]=>0000000
[6,8,1,7,5,2,3,4]=>0000000
[7,6,1,8,5,3,2,4]=>0000000
[5,6,1,7,4,8,2,3]=>0000000
[3,6,1,5,7,4,2,8]=>0000001
[2,5,6,1,7,4,8,3]=>0000000
[3,1,7,5,6,4,8,2]=>0000000
[5,1,7,6,4,8,3,2]=>0000000
[6,1,7,8,5,3,4,2]=>0000000
[7,1,8,6,5,4,2,3]=>0000000
[2,6,5,7,3,4,8,1]=>0000000
[1,6,4,7,5,8,2,3]=>1000000
[8,5,3,6,2,7,4,1]=>0000000
[1,3,7,4,6,8,2,5]=>1000000
[4,7,5,6,3,2,8,1]=>0000000
[1,7,6,5,4,8,2,3]=>1000000
[8,1,6,5,7,2,4,3]=>0000000
[1,2,7,6,8,3,4,5]=>1100000
[6,1,7,5,3,8,2,4]=>0000000
[2,1,7,5,6,8,3,4]=>0100000
[5,4,1,7,6,8,2,3]=>0000000
[4,8,5,6,2,7,3,1]=>0000000
[3,8,6,4,2,7,5,1]=>0000000
[7,8,5,2,4,6,3,1]=>0000000
[2,8,6,3,7,4,5,1]=>0000000
[7,8,1,6,2,4,5,3]=>0000000
[6,8,1,4,7,2,5,3]=>0000000
[3,8,4,1,7,2,6,5]=>0000000
[5,4,7,1,8,3,2,6]=>0000000
[3,7,4,1,8,5,2,6]=>0000000
[6,7,1,4,8,3,2,5]=>0000000
[2,7,1,8,4,5,3,6]=>0000000
[6,1,2,8,4,3,5,7]=>0000000
[6,5,1,4,3,8,2,7]=>0000000
[1,6,2,5,8,3,4,7]=>1000000
[8,5,1,3,7,2,6,4]=>0000000
[8,4,2,1,7,3,6,5]=>0000000
[7,4,2,1,8,5,3,6]=>0000000
[1,5,4,2,8,3,6,7]=>1000000
[6,4,3,1,5,8,2,7]=>0000000
[3,7,6,8,4,5,2,1]=>0000000
[2,7,6,8,5,3,4,1]=>0000000
[1,7,6,8,5,4,2,3]=>1000000
[1,4,8,6,7,5,2,3]=>1000000
[2,4,8,6,7,3,5,1]=>0000000
[7,3,8,5,4,6,2,1]=>0000000
[3,4,8,5,6,7,2,1]=>0000000
[6,3,5,8,4,7,2,1]=>0000000
[5,4,3,8,6,7,2,1]=>0000000
[5,4,2,8,7,3,6,1]=>0000000
[6,2,5,8,7,3,4,1]=>0000000
[3,2,8,5,7,4,6,1]=>0000000
[1,3,8,7,5,6,2,4]=>1000000
[2,1,8,7,4,6,3,5]=>0100000
[3,1,8,5,7,6,2,4]=>0000000
[6,1,5,8,7,4,2,3]=>0000000
[5,4,1,8,7,6,2,3]=>0000000
[5,8,6,7,4,3,2,1]=>0000000
[4,8,7,5,6,3,2,1]=>0000000
[4,2,1,6,3,5,8,7]=>0000010
[6,2,1,4,3,5,8,7]=>0000010
[6,2,1,4,3,8,5,7]=>0000000
[8,2,1,4,3,6,5,7]=>0000000
[6,2,4,1,3,5,8,7]=>0000010
[2,1,6,4,3,5,8,7]=>0100010
[6,4,2,1,3,5,8,7]=>0000010
[8,4,2,1,3,6,5,7]=>0000000
[8,4,2,1,6,3,5,7]=>0000000
[6,4,2,1,8,3,5,7]=>0000000
[2,6,1,4,3,8,5,7]=>0000000
[2,1,8,4,3,6,5,7]=>0100000
[4,8,2,1,3,6,5,7]=>0000000
[8,6,2,1,4,3,5,7]=>0000000
[2,8,1,4,6,3,5,7]=>0000000
[2,6,1,4,8,3,5,7]=>0000000
[2,6,4,1,8,3,5,7]=>0000000
[2,6,4,8,1,3,5,7]=>0000000
[4,6,2,8,1,3,5,7]=>0000000
[4,2,6,1,8,3,5,7]=>0000000
[6,2,4,1,8,3,5,7]=>0000000
[4,2,1,6,8,3,5,7]=>0000000
[4,2,1,6,3,8,5,7]=>0000000
[2,1,4,3,8,6,5,7]=>0101000
[4,2,1,3,8,6,5,7]=>0001000
[4,2,1,8,3,6,5,7]=>0000000
[8,2,1,6,4,3,5,7]=>0000000
[8,2,6,1,4,3,5,7]=>0000000
[4,2,8,1,3,6,5,7]=>0000000
[2,4,1,8,3,6,5,7]=>0000000
[2,4,8,1,6,3,5,7]=>0000000
[8,4,6,2,1,3,5,7]=>0000000
[4,6,8,2,1,3,5,7]=>0000000
[2,6,1,8,4,3,5,7]=>0000000
[2,1,8,6,4,3,5,7]=>0100000
[2,8,6,4,1,3,5,7]=>0000000
[4,8,6,2,1,3,5,7]=>0000000
[6,8,4,2,1,3,5,7]=>0000000
[3,2,6,1,5,4,8,7]=>0000010
[5,2,4,3,8,1,7,6]=>0000000
[4,3,6,1,5,2,8,7]=>0000010
[4,3,8,2,6,1,7,5]=>0000000
[4,3,8,1,7,2,6,5]=>0000000
[4,3,8,1,5,2,7,6]=>0000000
[2,1,5,4,8,3,7,6]=>0100000
[4,3,7,1,8,5,6,2]=>0000000
[4,3,6,5,8,1,7,2]=>0000000
[6,3,5,4,7,2,8,1]=>0000000
[6,3,5,4,8,1,7,2]=>0000000
[7,1,6,3,8,4,5,2]=>0000000
[7,4,6,5,8,1,3,2]=>0000000
[8,4,6,1,3,2,7,5]=>0000000
[8,1,6,3,4,2,7,5]=>0000000
[8,1,6,3,7,2,5,4]=>0000000
[8,3,5,2,6,1,7,4]=>0000000
[8,2,7,1,5,3,6,4]=>0000000
[8,2,4,1,5,3,7,6]=>0000000
[3,2,8,4,6,1,7,5]=>0000000
[3,2,7,6,8,1,5,4]=>0000000
[3,2,7,1,8,5,6,4]=>0000000
[3,2,6,5,8,1,7,4]=>0000000
[7,6,8,1,5,2,4,3]=>0000000
[7,1,8,2,6,4,5,3]=>0000000
[7,2,8,1,5,4,6,3]=>0000000
[6,2,7,4,5,3,8,1]=>0000000
[5,4,7,2,6,3,8,1]=>0000000
[2,1,6,5,8,3,7,4]=>0100000
[5,4,7,1,8,3,6,2]=>0000000
[5,4,6,3,8,1,7,2]=>0000000
[2,8,3,1,5,4,6,7]=>0000000
[2,5,3,4,7,1,8,6]=>0000000
[2,4,8,3,5,7,6,1]=>0000000
[4,2,5,3,1,8,6,7]=>0000100
[4,2,1,8,5,3,6,7]=>0000000
[5,4,1,3,8,2,6,7]=>0000000
[5,1,4,8,3,2,6,7]=>0000000
[1,5,8,4,3,2,6,7]=>1000000
[1,8,5,4,3,2,6,7]=>1000000
[1,7,4,3,8,5,2,6]=>1000000
[1,5,7,3,8,4,2,6]=>1000000
[5,1,4,7,8,3,2,6]=>0000000
[4,8,1,5,7,3,6,2]=>0000000
[8,1,5,3,7,4,6,2]=>0000000
[3,8,4,7,6,5,2,1]=>0000000
[1,6,8,5,3,7,4,2]=>1000000
[6,8,1,7,4,3,5,2]=>0000000
[6,4,8,1,7,3,5,2]=>0000000
[6,4,8,7,1,5,2,3]=>0000000
[7,6,4,1,3,8,2,5]=>0000000
[1,7,5,6,3,2,8,4]=>1000000
[4,2,1,7,8,5,3,6]=>0000000
[2,7,4,6,3,1,8,5]=>0000000
[2,6,8,4,3,7,5,1]=>0000000
[6,2,4,8,3,7,5,1]=>0000000
[7,2,6,3,4,1,8,5]=>0000000
[2,6,7,3,1,4,8,5]=>0000000
[2,7,1,8,3,5,4,6]=>0000000
[2,1,7,3,5,8,4,6]=>0100000
[8,7,1,3,6,2,4,5]=>0000000
[8,2,1,7,3,5,6,4]=>0000000
[7,8,2,6,3,1,5,4]=>0000000
[8,7,2,6,3,5,4,1]=>0000000
[1,2,8,7,4,5,6,3]=>1100000
[8,3,7,1,5,6,2,4]=>0000000
[8,6,1,2,7,5,3,4]=>0000000
[8,1,6,2,7,4,5,3]=>0000000
[1,8,5,2,6,7,4,3]=>1000000
[5,2,1,8,6,7,4,3]=>0000000
[2,8,5,7,6,4,3,1]=>0000000
[1,7,8,5,2,6,4,3]=>1000000
[7,8,1,6,4,2,5,3]=>0000000
[7,8,6,1,5,3,2,4]=>0000000
[7,3,8,6,1,5,2,4]=>0000000
[8,7,6,1,5,3,4,2]=>0000000
[8,7,1,6,4,5,3,2]=>0000000
[8,1,7,5,6,4,3,2]=>0000000
[1,8,6,7,5,4,3,2]=>1000000
[4,5,3,6,1,2,8,7]=>0000010
[8,1,4,7,3,6,2,5]=>0000000
[2,1,8,5,7,4,3,6]=>0100000
[6,5,3,7,1,8,4,2]=>0000000
[6,5,1,4,7,8,3,2]=>0000000
[6,3,4,7,5,8,1,2]=>0000000
[4,7,1,3,5,8,6,2]=>0000000
[4,8,3,7,1,2,6,5]=>0000000
[5,3,7,8,2,4,6,1]=>0000000
[5,3,7,6,2,1,8,4]=>0000000
[5,3,6,2,8,7,1,4]=>0000000
[6,7,3,5,1,8,2,4]=>0000000
[2,1,6,7,5,8,3,4]=>0100000
[2,1,5,7,3,6,8,4]=>0100000
[2,4,7,1,6,5,8,3]=>0000000
[3,4,6,2,7,8,5,1]=>0000000
[4,6,1,2,5,8,7,3]=>0000000
[5,6,1,4,8,2,7,3]=>0000000
[3,5,6,4,7,1,8,2]=>0000000
[3,4,6,1,5,7,8,2]=>0000000
[3,4,1,5,7,6,8,2]=>0000000
[3,8,2,7,1,6,5,4]=>0000000
[3,8,2,7,6,1,5,4]=>0000000
[3,8,2,7,6,5,1,4]=>0000000
[3,8,2,7,6,5,4,1]=>0000000
[4,8,7,2,6,5,3,1]=>0000000
[4,8,7,2,6,5,1,3]=>0000000
[4,8,7,2,6,1,5,3]=>0000000
[4,8,7,2,1,6,5,3]=>0000000
[4,8,7,3,1,6,5,2]=>0000000
[4,8,7,3,2,1,6,5]=>0000000
[4,8,7,3,2,6,1,5]=>0000000
[4,8,7,3,2,6,5,1]=>0000000
[4,8,7,3,6,2,5,1]=>0000000
[4,8,7,3,6,2,1,5]=>0000000
[4,8,7,3,6,1,5,2]=>0000000
[4,8,7,3,6,5,1,2]=>0000000
[4,8,7,3,6,5,2,1]=>0000000
[5,8,7,6,3,4,2,1]=>0000000
[5,8,7,6,3,1,4,2]=>0000000
[5,8,7,6,3,2,4,1]=>0000000
[5,8,7,6,2,4,3,1]=>0000000
[5,8,7,6,2,1,4,3]=>0000000
[5,8,7,6,4,2,3,1]=>0000000
[5,8,7,6,4,2,1,3]=>0000000
[5,8,7,6,4,1,3,2]=>0000000
[5,8,7,6,4,3,1,2]=>0000000
[7,3,5,2,6,4,1,8]=>0000001
[7,2,1,5,6,4,3,8]=>0000001
[1,4,6,7,3,8,2,5]=>1000000
[6,4,5,7,1,3,8,2]=>0000000
[6,2,1,5,7,4,8,3]=>0000000
[3,2,1,5,7,4,8,6]=>0010000
[2,4,6,7,3,8,1,5]=>0000000
[1,4,6,7,3,8,5,2]=>1000000
[1,5,6,7,8,3,4,2]=>1000000
[2,5,6,7,8,3,1,4]=>0000000
[3,2,1,6,7,8,4,5]=>0010000
[5,2,1,6,7,8,4,3]=>0000000
[5,3,6,1,7,8,4,2]=>0000000
[1,5,6,7,8,3,2,4]=>1000000
[6,4,5,7,2,1,8,3]=>0000000
[6,3,5,2,7,1,8,4]=>0000000
[6,3,4,2,1,7,8,5]=>0000000
[4,3,6,2,7,8,5,1]=>0000000
[4,2,1,5,7,3,8,6]=>0000000
[1,5,6,7,8,2,4,3]=>1000000
[1,5,6,7,8,4,2,3]=>1000000
[3,4,6,7,1,8,5,2]=>0000000
[4,3,6,1,7,8,5,2]=>0000000
[1,4,3,6,2,5,7,8]=>1000011
[1,4,3,7,2,5,6,8]=>1000001
[1,4,3,7,6,8,2,5]=>1000000
[1,4,3,7,5,8,2,6]=>1000000
[1,4,3,7,2,6,5,8]=>1000001
[1,5,3,7,4,8,2,6]=>1000000
[1,3,2,6,5,8,4,7]=>1010000
[1,5,4,8,2,6,3,7]=>1000000
[1,5,4,8,3,7,2,6]=>1000000
[1,2,3,6,5,8,4,7]=>1110000
[6,8,2,4,5,7,1,3]=>0000000
[7,8,1,4,5,3,6,2]=>0000000
[3,8,7,4,1,6,5,2]=>0000000
[4,8,3,6,1,5,7,2]=>0000000
[5,8,3,1,6,4,7,2]=>0000000
[5,8,1,4,7,6,3,2]=>0000000
[7,5,1,8,6,2,4,3]=>0000000
[7,4,1,8,2,6,3,5]=>0000000
[7,1,8,4,2,6,3,5]=>0000000
[1,6,3,8,5,2,4,7]=>1000000
[6,1,3,8,5,2,4,7]=>0000000
[7,1,8,3,6,2,5,4]=>0000000
[7,3,1,8,4,2,6,5]=>0000000
[7,2,8,4,1,6,5,3]=>0000000
[7,2,8,3,6,5,1,4]=>0000000
[7,2,8,3,6,1,5,4]=>0000000
[7,1,8,2,3,6,5,4]=>0000000
[6,1,2,8,3,5,4,7]=>0000000
[1,5,2,3,8,4,7,6]=>1000000
[5,1,2,3,8,4,7,6]=>0000000
[5,2,3,8,1,4,7,6]=>0000000
[6,2,8,1,3,5,4,7]=>0000000
[6,2,4,1,8,7,3,5]=>0000000
[6,3,1,4,2,8,5,7]=>0000000
[3,1,6,4,2,8,5,7]=>0000000
[2,6,3,8,7,1,5,4]=>0000000
[2,6,3,8,5,1,4,7]=>0000000
[2,5,1,8,3,4,7,6]=>0000000
[2,5,1,3,8,4,7,6]=>0000000
[1,2,5,3,8,4,7,6]=>1100000
[1,2,4,8,3,7,6,5]=>1100000
[2,4,8,1,3,7,6,5]=>0000000
[2,4,8,3,7,1,6,5]=>0000000
[2,4,8,3,7,6,1,5]=>0000000
[2,5,3,8,1,7,4,6]=>0000000
[2,5,4,1,3,8,7,6]=>0000100
[3,1,5,4,8,2,7,6]=>0000000
[5,3,1,4,8,2,7,6]=>0000000
[5,2,3,8,4,7,1,6]=>0000000
[4,8,2,3,7,6,1,5]=>0000000
[4,8,2,3,7,1,6,5]=>0000000
[4,8,1,2,3,7,6,5]=>0000000
[1,4,8,2,3,7,6,5]=>1000000
[1,4,8,3,7,2,6,5]=>1000000
[6,3,8,1,5,2,4,7]=>0000000
[5,3,8,1,2,4,7,6]=>0000000
[5,1,3,8,2,4,7,6]=>0000000
[1,5,3,8,2,4,7,6]=>1000000
[1,5,4,8,2,7,6,3]=>1000000
[5,1,4,8,2,7,6,3]=>0000000
[5,4,8,1,2,7,6,3]=>0000000
[6,5,1,2,8,7,4,3]=>0000000
[5,3,1,6,4,2,8,7]=>0000010
[5,1,6,2,8,7,4,3]=>0000000
[4,1,5,8,2,7,6,3]=>0000000
[4,1,2,5,8,7,6,3]=>0000000
[1,4,2,5,8,7,6,3]=>1000000
[1,3,5,2,8,7,4,6]=>1000000
[3,5,1,2,8,7,4,6]=>0000000
[3,6,2,8,7,5,1,4]=>0000000
[4,2,6,1,8,7,3,5]=>0000000
[4,3,1,5,8,2,7,6]=>0000000
[3,5,2,8,7,1,4,6]=>0000000
[3,4,8,7,2,6,1,5]=>0000000
[3,4,8,7,1,2,6,5]=>0000000
[3,4,8,1,7,2,6,5]=>0000000
[1,3,4,8,7,2,6,5]=>1000000
[1,3,4,8,2,7,6,5]=>1000000
[3,4,8,1,2,7,6,5]=>0000000
[3,4,8,2,7,1,6,5]=>0000000
[3,4,8,2,7,6,1,5]=>0000000
[4,2,5,8,1,7,6,3]=>0000000
[4,3,1,2,5,8,7,6]=>0001100
[3,1,4,2,5,8,7,6]=>0001100
[2,3,5,1,8,7,6,4]=>0000000
[7,8,2,1,5,3,6,4]=>0000000
[6,4,1,2,7,3,5,8]=>0000001
[2,3,7,5,4,1,8,6]=>0000000
[6,3,1,5,4,2,7,8]=>0000011
[7,8,1,5,4,2,6,3]=>0000000
[7,8,3,5,4,1,6,2]=>0000000
[7,8,2,5,4,1,3,6]=>0000000
[7,8,2,5,4,6,1,3]=>0000000
[6,2,1,5,4,7,3,8]=>0000001
[5,3,6,1,4,7,8,2]=>0000000
[5,3,6,2,4,7,1,8]=>0000001
[6,4,2,1,7,3,8,5]=>0000000
[4,3,7,5,8,6,1,2]=>0000000
[4,2,7,1,8,3,6,5]=>0000000
[3,2,6,7,4,8,1,5]=>0000000
[3,1,6,7,4,8,5,2]=>0000000
[1,7,6,5,3,8,4,2]=>1000000
[2,7,6,5,3,8,1,4]=>0000000
[1,7,6,5,2,4,8,3]=>1000000
[2,7,6,5,3,1,4,8]=>0000001
[2,7,1,4,8,3,5,6]=>0000000
[3,7,6,4,8,5,1,2]=>0000000
[5,7,6,3,8,4,1,2]=>0000000
[5,1,6,2,4,8,3,7]=>0000000
[4,7,6,5,2,1,3,8]=>0000001
[4,7,6,5,2,8,1,3]=>0000000
[4,7,6,5,1,8,3,2]=>0000000
[1,7,6,5,2,8,3,4]=>1000000
[1,7,6,5,3,2,8,4]=>1000000
[4,7,6,5,1,2,8,3]=>0000000
[4,7,6,5,3,1,8,2]=>0000000
[6,1,3,5,4,8,7,2]=>0000000
[5,2,6,3,4,1,7,8]=>0000011
[5,1,6,2,4,7,8,3]=>0000000
[1,2,6,3,4,8,7,5]=>1100000
[1,7,2,4,8,3,6,5]=>1000000
[6,1,4,2,8,3,5,7]=>0000000
[4,1,8,2,6,3,5,7]=>0000000
[4,7,2,1,5,3,6,8]=>0000001
[4,7,1,6,2,3,8,5]=>0000000
[1,7,2,6,8,3,5,4]=>1000000
[1,2,6,7,4,8,5,3]=>1100000
[3,1,6,7,4,2,8,5]=>0000000
[3,2,8,5,4,6,1,7]=>0000000
[4,7,6,3,5,8,1,2]=>0000000
[4,7,1,2,5,3,8,6]=>0000000
[3,7,6,5,2,4,1,8]=>0000001
[3,7,6,5,1,4,8,2]=>0000000
[3,7,6,5,2,1,8,4]=>0000000
[1,7,6,5,8,2,4,3]=>1000000
[3,7,6,5,8,1,4,2]=>0000000
[3,7,6,5,1,2,4,8]=>0000001
[3,1,6,8,4,2,5,7]=>0000000
[4,7,6,8,3,5,1,2]=>0000000
[2,7,6,5,1,4,3,8]=>0000001
[2,7,6,5,8,1,3,4]=>0000000
[2,7,6,5,8,4,1,3]=>0000000
[6,3,2,1,7,4,8,5]=>0000000
[4,2,1,7,3,5,8,6]=>0000000
[7,3,1,5,4,2,8,6]=>0000000
[8,4,1,5,2,7,6,3]=>0000000
[4,3,7,2,1,5,8,6]=>0000000
[2,7,5,4,1,3,8,6]=>0000000
[7,5,4,3,2,1,8,6]=>0000000
[6,5,2,1,8,4,3,7]=>0000000
[5,7,4,3,2,8,1,6]=>0000000
[1,7,6,2,4,8,3,5]=>1000000
[6,2,7,5,3,8,1,4]=>0000000
[7,1,8,5,3,6,4,2]=>0000000
[5,8,3,2,7,1,6,4]=>0000000
[8,7,3,1,6,5,4,2]=>0000000
[8,7,2,6,1,5,4,3]=>0000000
[1,8,5,7,4,3,6,2]=>1000000
[1,8,5,7,2,4,6,3]=>1000000
[3,8,6,1,7,2,5,4]=>0000000
[7,2,8,5,6,1,4,3]=>0000000
[6,3,7,5,8,2,1,4]=>0000000
[3,6,5,8,1,4,2,7]=>0000000
[2,6,5,8,4,1,3,7]=>0000000
[6,5,4,8,3,2,1,7]=>0000000
[6,3,5,1,8,4,2,7]=>0000000
[8,4,1,5,7,3,6,2]=>0000000
[5,4,1,6,8,2,3,7]=>0000000
[6,3,7,4,8,5,2,1]=>0000000
[6,4,7,8,1,5,3,2]=>0000000
[6,3,7,8,5,2,4,1]=>0000000
[2,5,8,7,1,3,6,4]=>0000000
[5,3,8,7,2,1,6,4]=>0000000
[8,3,7,6,1,5,4,2]=>0000000
[8,2,7,6,5,1,4,3]=>0000000
[4,3,8,7,6,2,1,5]=>0000000
[2,4,8,7,6,1,3,5]=>0000000
[4,7,3,8,6,5,1,2]=>0000000
[7,5,8,6,4,3,2,1]=>0000000
[5,8,7,3,6,4,2,1]=>0000000
[4,8,7,6,2,5,3,1]=>0000000
[3,8,7,6,5,1,4,2]=>0000000
[2,8,7,6,5,4,1,3]=>0000000
[3,6,5,1,2,4,8,7]=>0000010
[3,7,5,8,2,4,1,6]=>0000000
[3,8,5,7,2,4,1,6]=>0000000
[5,1,7,8,4,3,2,6]=>0000000
[4,7,1,8,3,6,2,5]=>0000000
[7,5,3,8,1,4,2,6]=>0000000
[2,1,5,8,7,3,4,6]=>0100000
[6,1,2,3,7,5,8,4]=>0000000
[7,1,2,3,8,6,5,4]=>0000000
[7,1,2,3,5,8,6,4]=>0000000
[6,8,1,4,3,7,2,5]=>0000000
[8,7,3,2,4,1,6,5]=>0000000
[2,1,7,3,4,8,6,5]=>0100000
[7,8,3,2,4,1,6,5]=>0000000
[7,1,2,3,6,8,5,4]=>0000000
[7,1,2,3,8,5,6,4]=>0000000
[8,1,2,3,6,5,7,4]=>0000000
[6,7,2,8,3,4,1,5]=>0000000
[3,8,7,1,4,2,6,5]=>0000000
[7,6,2,8,3,1,4,5]=>0000000
[5,8,3,7,1,4,2,6]=>0000000
[7,1,2,3,5,6,8,4]=>0000000
[5,1,2,3,7,8,6,4]=>0000000
[5,1,2,3,8,6,7,4]=>0000000
[2,1,6,3,4,8,7,5]=>0100000
[8,6,3,2,4,7,1,5]=>0000000
[6,1,2,3,5,7,8,4]=>0000000
[5,1,2,3,6,8,7,4]=>0000000
[7,8,1,2,6,3,5,4]=>0000000
[1,4,8,2,7,3,5,6]=>1000000
[1,2,8,5,4,7,3,6]=>1100000
[1,3,8,5,4,2,7,6]=>1000000
[2,3,6,8,4,7,1,5]=>0000000
[1,3,6,8,4,7,5,2]=>1000000
[2,4,8,1,7,3,6,5]=>0000000
[3,4,8,5,7,6,1,2]=>0000000
[1,2,6,8,4,5,7,3]=>1100000
[7,5,1,2,4,3,6,8]=>0000001
[7,4,6,1,5,2,3,8]=>0000001
[7,1,4,2,6,3,5,8]=>0000001
[6,8,1,4,7,2,3,5]=>0000000
[1,6,4,2,8,3,5,7]=>1000000
[1,6,3,8,5,4,2,7]=>1000000
[6,8,1,7,3,5,4,2]=>0000000
[7,1,3,6,5,4,2,8]=>0000001
[7,3,1,6,5,4,2,8]=>0000001
[7,2,1,4,6,3,5,8]=>0000001
[7,2,3,6,5,1,4,8]=>0000001
[7,1,2,3,6,5,4,8]=>0000001
[6,8,1,2,7,3,5,4]=>0000000
[1,6,2,3,8,5,4,7]=>1000000
[1,5,8,2,7,6,3,4]=>1000000
[5,1,8,2,7,6,3,4]=>0000000
[5,8,2,7,6,3,4,1]=>0000000
[6,2,8,1,7,3,5,4]=>0000000
[6,8,2,1,7,4,3,5]=>0000000
[3,6,4,1,2,8,5,7]=>0000000
[2,1,6,3,8,5,4,7]=>0100000
[2,5,1,8,7,6,3,4]=>0000000
[2,5,3,8,7,4,6,1]=>0000000
[1,2,5,3,8,7,4,6]=>1100000
[2,4,8,7,6,5,1,3]=>0000000
[2,5,3,8,7,1,6,4]=>0000000
[2,5,8,4,1,7,6,3]=>0000000
[3,5,8,7,1,4,2,6]=>0000000
[5,3,8,4,1,7,6,2]=>0000000
[4,2,8,7,6,3,5,1]=>0000000
[4,2,8,7,6,5,3,1]=>0000000
[4,1,8,7,6,5,3,2]=>0000000
[4,3,8,7,6,5,1,2]=>0000000
[6,3,1,8,7,2,5,4]=>0000000
[5,8,3,7,6,1,4,2]=>0000000
[5,1,3,8,7,6,2,4]=>0000000
[1,5,3,8,7,6,2,4]=>1000000
[1,5,8,4,7,2,6,3]=>1000000
[5,1,8,4,7,2,6,3]=>0000000
[5,8,7,4,6,1,2,3]=>0000000
[6,8,5,1,2,4,7,3]=>0000000
[5,6,3,1,2,4,8,7]=>0000010
[5,6,2,4,3,1,8,7]=>0000010
[5,6,1,2,4,3,8,7]=>0000010
[4,5,8,1,7,2,3,6]=>0000000
[4,5,8,1,7,2,6,3]=>0000000
[1,3,2,5,8,7,4,6]=>1010000
[3,5,1,8,7,4,6,2]=>0000000
[3,5,1,8,7,2,6,4]=>0000000
[4,3,6,1,2,8,5,7]=>0000000
[4,5,8,3,1,7,2,6]=>0000000
[4,5,2,8,7,1,3,6]=>0000000
[3,2,5,8,7,1,6,4]=>0000000
[3,4,8,7,6,2,1,5]=>0000000
[3,1,4,8,7,6,2,5]=>0000000
[3,4,8,7,6,5,1,2]=>0000000
[1,3,4,8,7,6,2,5]=>1000000
[3,4,8,7,6,2,5,1]=>0000000
[3,2,5,8,7,4,6,1]=>0000000
[4,5,8,3,1,7,6,2]=>0000000
[2,1,3,5,8,7,4,6]=>0110000
[1,2,7,5,8,6,4,3]=>1100000
[7,1,4,8,2,6,5,3]=>0000000
[6,8,1,3,7,5,2,4]=>0000000
[3,7,8,1,2,6,5,4]=>0000000
[1,3,7,8,2,6,5,4]=>1000000
[2,3,7,8,1,6,5,4]=>0000000
[2,7,8,1,3,6,5,4]=>0000000
[8,1,2,6,7,3,5,4]=>0000000
[8,1,2,6,7,5,3,4]=>0000000
[8,2,5,7,1,3,6,4]=>0000000
[2,8,1,6,7,3,5,4]=>0000000
[2,6,8,3,7,1,5,4]=>0000000
[2,8,6,4,7,1,5,3]=>0000000
[6,8,3,4,1,7,5,2]=>0000000
[6,8,3,7,4,1,5,2]=>0000000
[2,6,8,3,7,5,1,4]=>0000000
[2,8,1,6,7,5,3,4]=>0000000
[8,2,5,7,1,6,3,4]=>0000000
[8,4,7,2,3,6,1,5]=>0000000
[8,5,7,4,2,6,1,3]=>0000000
[8,3,5,7,4,1,6,2]=>0000000
[8,5,2,4,7,1,6,3]=>0000000
[8,2,3,5,7,1,6,4]=>0000000
[8,2,4,7,3,6,1,5]=>0000000
[8,2,7,1,4,6,3,5]=>0000000
[8,7,1,2,4,6,3,5]=>0000000
[8,7,1,4,6,2,3,5]=>0000000
[8,4,7,1,3,6,2,5]=>0000000
[1,6,8,3,7,2,5,4]=>1000000
[8,3,5,7,1,2,6,4]=>0000000
[5,8,7,1,3,6,2,4]=>0000000
[8,5,4,7,1,6,2,3]=>0000000
[8,5,4,7,1,2,6,3]=>0000000
[8,5,1,4,7,2,6,3]=>0000000
[1,4,6,8,2,7,5,3]=>1000000
[1,6,5,8,2,7,4,3]=>1000000
[8,5,6,3,1,7,4,2]=>0000000
[5,6,2,8,1,7,4,3]=>0000000
[1,8,4,5,7,2,6,3]=>1000000
[5,8,7,3,6,1,2,4]=>0000000
[8,3,5,7,1,6,2,4]=>0000000
[1,6,8,3,7,5,2,4]=>1000000
[6,3,8,2,7,5,1,4]=>0000000
[6,8,4,2,7,1,5,3]=>0000000
[8,6,4,7,3,1,5,2]=>0000000
[8,4,5,7,3,1,6,2]=>0000000
[8,4,2,5,7,1,6,3]=>0000000
[8,3,4,7,2,6,1,5]=>0000000
[8,7,1,3,4,6,2,5]=>0000000
[8,3,7,2,4,6,1,5]=>0000000
[2,8,4,5,7,1,6,3]=>0000000
[8,7,3,4,5,1,6,2]=>0000000
[8,7,4,5,2,6,1,3]=>0000000
[5,8,7,2,3,6,1,4]=>0000000
[8,7,2,3,4,6,1,5]=>0000000
[8,7,2,3,6,1,4,5]=>0000000
[1,3,2,8,5,4,7,6]=>1010000
[4,2,8,5,3,7,1,6]=>0000000
[5,2,1,8,4,3,7,6]=>0000000
[6,2,8,4,3,7,5,1]=>0000000
[7,2,8,4,3,1,6,5]=>0000000
[7,3,4,8,2,1,6,5]=>0000000
[6,3,4,8,2,7,5,1]=>0000000
[5,3,4,1,8,2,7,6]=>0000000
[8,1,4,5,2,3,7,6]=>0000000
[8,1,5,4,3,2,7,6]=>0000000
[3,5,4,2,8,1,7,6]=>0000000
[4,5,3,2,8,7,1,6]=>0000000
[6,4,3,2,8,7,5,1]=>0000000
[6,5,3,2,1,7,8,4]=>0000000
[5,6,3,2,7,8,4,1]=>0000000
[4,1,6,3,2,7,8,5]=>0000000
[3,6,4,2,7,8,1,5]=>0000000
[8,1,6,4,3,7,2,5]=>0000000
[8,1,7,4,3,6,5,2]=>0000000
[2,7,4,1,3,6,5,8]=>0000001
[3,7,4,2,6,1,5,8]=>0000001
[4,1,7,3,2,6,5,8]=>0000001
[5,7,3,2,6,4,8,1]=>0000000
[6,7,3,2,5,4,1,8]=>0000001
[7,6,3,2,1,5,4,8]=>0000001
[4,7,5,6,2,3,8,1]=>0000000
[3,1,7,5,6,2,4,8]=>0000001
[2,7,5,6,1,3,4,8]=>0000001
[2,6,5,7,1,3,8,4]=>0000000
[4,6,5,7,2,8,1,3]=>0000000
[5,6,4,7,2,8,3,1]=>0000000
[6,5,4,1,7,2,8,3]=>0000000
[7,5,4,6,2,1,8,3]=>0000000
[6,4,5,7,1,8,2,3]=>0000000
[5,4,6,1,7,8,2,3]=>0000000
[8,1,5,6,7,2,3,4]=>0000000
[2,1,4,6,8,7,3,5]=>0100000
[3,4,6,8,7,1,2,5]=>0000000
[4,3,1,6,8,7,2,5]=>0000000
[5,3,6,8,7,2,4,1]=>0000000
[6,3,5,1,8,7,2,4]=>0000000
[7,3,5,8,6,2,1,4]=>0000000
[7,2,8,5,6,3,1,4]=>0000000
[6,2,8,5,1,7,3,4]=>0000000
[4,2,1,8,6,7,3,5]=>0000000
[1,3,2,8,6,7,4,5]=>1010000
[2,3,8,6,7,1,4,5]=>0000000
[8,1,3,2,6,7,4,5]=>0000000
[2,3,8,7,1,6,5,4]=>0000000
[4,2,8,7,6,1,5,3]=>0000000
[5,2,8,7,6,4,1,3]=>0000000
[7,2,1,8,6,5,4,3]=>0000000
[7,3,6,1,8,5,4,2]=>0000000
[6,3,7,8,5,4,2,1]=>0000000
[5,3,7,8,6,4,1,2]=>0000000
[4,3,1,7,8,6,5,2]=>0000000
[3,4,7,8,6,1,5,2]=>0000000
[8,1,5,7,6,2,4,3]=>0000000
[3,5,7,6,8,1,4,2]=>0000000
[4,5,7,6,8,3,1,2]=>0000000
[5,4,1,7,6,8,3,2]=>0000000
[6,4,7,5,8,3,2,1]=>0000000
[7,4,6,5,1,8,3,2]=>0000000
[7,5,6,4,3,1,8,2]=>0000000
[6,5,1,7,4,3,8,2]=>0000000
[4,6,7,5,3,8,1,2]=>0000000
[3,6,7,5,1,4,8,2]=>0000000
[8,1,6,7,5,4,2,3]=>0000000
[8,1,7,6,5,4,3,2]=>0000000
[2,7,6,1,5,4,3,8]=>0000001
[3,7,6,5,1,4,2,8]=>0000001
[4,7,6,5,3,1,2,8]=>0000001
[8,6,4,3,1,5,7,2]=>0000000
[8,6,4,1,5,2,7,3]=>0000000
[8,6,5,1,3,2,7,4]=>0000000
[8,6,3,1,7,2,4,5]=>0000000
[8,7,3,1,5,2,4,6]=>0000000
[5,3,1,7,2,4,6,8]=>0000001
[8,7,1,2,4,5,3,6]=>0000000
[8,6,1,2,4,7,3,5]=>0000000
[8,5,1,2,6,7,3,4]=>0000000
[8,5,1,6,4,2,7,3]=>0000000
[8,5,1,3,6,4,7,2]=>0000000
[8,6,1,5,3,4,7,2]=>0000000
[8,6,1,5,2,4,7,3]=>0000000
[8,6,1,2,5,7,3,4]=>0000000
[8,6,1,2,7,4,3,5]=>0000000
[8,7,1,2,5,4,3,6]=>0000000
[5,1,4,2,3,8,6,7]=>0000100
[5,1,4,2,7,3,6,8]=>0000001
[7,1,5,8,2,6,3,4]=>0000000
[5,7,8,1,2,4,6,3]=>0000000
[5,7,8,1,3,4,6,2]=>0000000
[5,8,1,7,3,4,6,2]=>0000000
[8,1,5,7,2,4,6,3]=>0000000
[8,4,1,2,7,6,3,5]=>0000000
[1,4,2,3,8,7,5,6]=>1001000
[1,4,2,7,6,3,5,8]=>1000001
[6,1,2,8,7,5,3,4]=>0000000
[6,1,2,4,8,7,5,3]=>0000000
[3,1,8,4,6,7,5,2]=>0000000
[3,1,7,6,4,8,5,2]=>0000000
[7,1,2,4,6,8,5,3]=>0000000
[7,1,2,6,8,5,3,4]=>0000000
[6,1,2,7,8,5,3,4]=>0000000
[6,1,2,7,4,8,5,3]=>0000000
[3,1,6,4,7,8,5,2]=>0000000
[5,7,1,3,8,4,6,2]=>0000000
[5,7,1,8,4,2,6,3]=>0000000
[7,1,5,3,2,8,6,4]=>0000000
[7,1,4,5,2,8,6,3]=>0000000
[4,7,3,1,5,8,6,2]=>0000000
[4,8,7,3,1,5,6,2]=>0000000
[8,1,7,4,5,2,6,3]=>0000000
[8,1,7,5,3,2,6,4]=>0000000
[8,3,7,1,2,6,4,5]=>0000000
[3,1,2,8,4,7,5,6]=>0010000
[3,1,2,8,6,4,5,7]=>0010000
[3,1,7,2,6,4,5,8]=>0000001
[1,4,2,3,8,6,5,7]=>1001000
[1,4,2,3,8,5,7,6]=>1001000
[5,8,1,7,2,4,6,3]=>0000000
[5,8,1,3,4,7,6,2]=>0000000
[3,1,8,6,4,7,5,2]=>0000000
[8,1,2,6,7,4,5,3]=>0000000
[6,1,2,8,7,3,5,4]=>0000000
[1,2,3,5,8,4,7,6]=>1110000
[1,2,3,5,8,6,4,7]=>1110000
[7,1,2,8,3,6,5,4]=>0000000
[7,1,2,8,6,4,5,3]=>0000000
[3,1,7,8,4,6,5,2]=>0000000
[3,1,8,7,6,4,5,2]=>0000000
[8,1,2,7,4,6,5,3]=>0000000
[8,1,2,7,3,6,5,4]=>0000000
[1,2,3,5,8,7,4,6]=>1110000
[1,2,3,6,8,5,4,7]=>1110000
[7,8,5,6,3,1,4,2]=>0000000
[7,5,8,3,1,4,2,6]=>0000000
[7,8,5,3,1,4,2,6]=>0000000
[7,8,5,3,1,6,2,4]=>0000000
[7,8,5,3,1,6,4,2]=>0000000
[7,8,5,3,6,1,4,2]=>0000000
[7,8,5,3,6,4,1,2]=>0000000
[7,5,6,3,4,1,8,2]=>0000000
[7,5,6,3,1,2,8,4]=>0000000
[7,5,3,6,1,2,8,4]=>0000000
[7,5,3,1,4,2,6,8]=>0000001
[7,5,3,1,6,4,8,2]=>0000000
[7,5,3,6,4,1,8,2]=>0000000
[7,5,3,8,4,6,1,2]=>0000000
[7,5,3,8,1,4,6,2]=>0000000
[7,5,3,1,8,4,6,2]=>0000000
[7,5,3,1,8,2,6,4]=>0000000
[7,5,3,1,8,6,2,4]=>0000000
[7,5,3,8,1,6,4,2]=>0000000
[7,5,3,8,6,1,4,2]=>0000000
[7,5,3,8,6,4,1,2]=>0000000
[7,5,8,3,6,4,1,2]=>0000000
[7,5,8,3,6,1,4,2]=>0000000
[7,5,8,3,1,6,4,2]=>0000000
[7,5,3,6,1,4,2,8]=>0000001
[7,5,3,8,4,1,2,6]=>0000000
[7,5,8,6,3,1,2,4]=>0000000
[7,5,8,6,3,1,4,2]=>0000000
[7,5,8,6,3,4,1,2]=>0000000
[7,5,6,8,3,1,4,2]=>0000000
[7,5,6,3,8,1,2,4]=>0000000
[7,5,3,4,1,8,2,6]=>0000000
[7,5,6,3,1,8,4,2]=>0000000
[7,5,3,6,1,8,4,2]=>0000000
[7,5,3,1,6,8,2,4]=>0000000
[7,5,3,4,1,6,8,2]=>0000000
[7,5,3,1,4,6,8,2]=>0000000
[5,4,8,3,2,7,6,1]=>0000000
[2,1,5,8,4,7,6,3]=>0100000
[2,1,8,6,7,5,4,3]=>0100000
[8,3,2,6,7,5,4,1]=>0000000
[8,4,5,3,2,7,6,1]=>0000000
[8,4,7,3,6,5,2,1]=>0000000
[8,4,6,3,7,5,2,1]=>0000000
[3,8,2,5,4,7,6,1]=>0000000
[3,7,2,8,6,5,4,1]=>0000000
[3,6,2,8,7,5,4,1]=>0000000
[6,4,7,3,8,5,2,1]=>0000000
[7,5,4,3,2,8,6,1]=>0000000
[6,8,5,7,4,3,2,1]=>0000000
[4,6,8,3,5,7,1,2]=>0000000
[6,8,1,2,4,5,7,3]=>0000000
[3,5,8,2,4,7,1,6]=>0000000
[8,3,5,2,4,1,6,7]=>0000000
[4,2,5,7,3,6,1,8]=>0000001
[4,5,2,8,3,1,6,7]=>0000000
[4,2,5,8,3,7,1,6]=>0000000
[2,1,6,8,4,7,3,5]=>0100000
[1,2,5,8,3,6,7,4]=>1100000
[5,3,6,8,4,7,1,2]=>0000000
[1,6,5,8,2,4,7,3]=>1000000
[3,1,2,6,8,5,7,4]=>0010000
[1,4,3,8,2,6,7,5]=>1000000
[5,4,8,3,2,1,6,7]=>0000000
[5,4,3,7,2,6,1,8]=>0000001
[4,3,6,2,7,5,1,8]=>0000001
[4,6,3,2,1,8,5,7]=>0000000
[4,1,7,3,2,5,8,6]=>0000000
[4,3,1,7,8,2,6,5]=>0000000
[3,5,1,2,7,8,6,4]=>0000000
[7,5,1,4,8,2,6,3]=>0000000
[5,4,7,3,8,6,1,2]=>0000000
[5,8,4,7,6,3,1,2]=>0000000
[5,8,7,1,4,2,6,3]=>0000000
[8,3,5,1,2,7,6,4]=>0000000
[4,8,3,1,7,2,6,5]=>0000000
[1,8,4,3,5,2,7,6]=>1000000
[4,6,3,1,5,2,8,7]=>0000010
[4,7,3,6,5,2,1,8]=>0000001
[5,3,7,6,4,2,1,8]=>0000001
[1,6,3,4,2,8,7,5]=>1000000
[1,8,3,6,2,7,5,4]=>1000000
[1,6,8,7,4,2,5,3]=>1000000
[6,4,8,7,5,3,1,2]=>0000000
[7,6,4,3,8,5,1,2]=>0000000
[1,7,6,2,8,4,5,3]=>1000000
[7,1,3,2,6,8,5,4]=>0000000
[1,5,3,2,7,4,8,6]=>1000000
[6,3,2,1,8,5,4,7]=>0000000
[6,5,3,2,7,4,1,8]=>0000001
[5,2,6,3,7,4,1,8]=>0000001
[2,8,5,3,1,6,4,7]=>0000000
[2,1,7,3,8,5,4,6]=>0100000
[1,6,2,3,7,8,5,4]=>1000000
[1,6,7,2,8,4,5,3]=>1000000
[5,7,1,8,2,4,6,3]=>0000000
[5,1,2,7,8,3,6,4]=>0000000
[2,4,1,7,8,6,3,5]=>0000000
[4,2,1,7,3,8,5,6]=>0000000
[6,2,8,4,3,1,5,7]=>0000000
[7,3,2,1,8,4,5,6]=>0000000
[7,8,3,2,5,6,1,4]=>0000000
[7,1,8,2,4,5,6,3]=>0000000
[8,7,6,1,2,4,5,3]=>0000000
[8,3,7,6,2,1,4,5]=>0000000
[3,2,8,7,5,1,4,6]=>0000000
[8,3,6,5,2,1,4,7]=>0000000
[7,6,3,5,2,4,1,8]=>0000001
[7,4,6,2,5,3,1,8]=>0000001
[8,2,4,1,6,5,3,7]=>0000000
[4,2,8,1,7,5,3,6]=>0000000
[8,2,4,1,7,6,3,5]=>0000000
[8,7,1,5,6,2,4,3]=>0000000
[8,5,7,3,6,4,1,2]=>0000000
[6,8,3,7,5,4,1,2]=>0000000
[8,1,6,7,5,2,4,3]=>0000000
[8,1,2,6,4,3,7,5]=>0000000
[2,8,1,7,5,4,3,6]=>0000000
[2,5,1,8,6,4,3,7]=>0000000
[5,7,2,6,4,3,1,8]=>0000001
[6,2,7,5,4,3,1,8]=>0000001
[2,1,8,6,5,4,3,7]=>0100000
[1,2,7,5,4,3,8,6]=>1100000
[1,7,2,4,3,8,6,5]=>1000000
[1,7,2,8,3,6,5,4]=>1000000
[1,7,8,6,5,2,4,3]=>1000000
[7,3,8,6,5,4,1,2]=>0000000
[1,8,7,6,5,2,4,3]=>1000000
[8,1,7,3,2,6,5,4]=>0000000
[5,1,4,3,2,8,7,6]=>0000100
[8,6,5,3,2,1,7,4]=>0000000
[8,6,3,2,1,7,4,5]=>0000000
[8,6,5,4,1,7,2,3]=>0000000
[8,6,5,1,7,3,2,4]=>0000000
[8,6,1,7,4,3,2,5]=>0000000
[4,6,3,2,7,5,1,8]=>0000001
[1,4,3,7,2,5,8,6]=>1000000
[7,4,8,3,1,6,2,5]=>0000000
[7,1,5,8,3,2,6,4]=>0000000
[5,7,4,1,8,2,6,3]=>0000000
[5,7,4,3,1,8,6,2]=>0000000
[1,8,7,2,5,4,6,3]=>1000000
[1,8,5,3,7,2,6,4]=>1000000
[4,3,1,8,7,5,2,6]=>0000000
[1,4,8,6,3,5,2,7]=>1000000
[7,4,6,3,5,2,1,8]=>0000001
[1,3,5,6,8,4,2,7]=>1000000
[3,5,4,8,7,1,2,6]=>0000000
[3,1,4,6,8,7,2,5]=>0000000
[1,6,3,8,7,2,5,4]=>1000000
[1,6,2,4,8,7,5,3]=>1000000
[8,4,1,6,7,5,3,2]=>0000000
[7,1,6,4,8,5,2,3]=>0000000
[7,3,6,8,5,1,2,4]=>0000000
[1,3,7,2,6,8,4,5]=>1000000
[3,6,5,2,8,1,4,7]=>0000000
[3,6,5,7,2,4,1,8]=>0000001
[4,2,6,3,8,1,5,7]=>0000000
[4,2,6,7,3,5,1,8]=>0000001
[3,6,2,4,7,5,1,8]=>0000001
[3,6,2,4,1,8,5,7]=>0000000
[7,3,8,2,1,6,4,5]=>0000000
[7,3,5,2,1,8,6,4]=>0000000
[8,7,6,4,3,1,5,2]=>0000000
[8,7,6,4,1,5,2,3]=>0000000
[3,8,7,2,1,4,6,5]=>0000000
[3,8,2,7,1,5,4,6]=>0000000
[3,6,8,2,1,5,4,7]=>0000000
[2,4,8,1,6,5,3,7]=>0000000
[4,2,8,1,5,7,3,6]=>0000000
[8,5,7,6,1,4,2,3]=>0000000
[8,6,1,7,3,5,4,2]=>0000000
[8,6,1,7,5,4,2,3]=>0000000
[1,6,2,8,7,3,5,4]=>1000000
[1,8,2,4,6,7,3,5]=>1000000
[2,8,5,4,7,1,3,6]=>0000000
[2,1,5,8,6,4,3,7]=>0100000
[7,2,5,6,4,3,1,8]=>0000001
[1,2,5,7,8,4,3,6]=>1100000
[1,2,7,4,8,6,3,5]=>1100000
[1,2,7,8,3,6,5,4]=>1100000
[7,1,8,6,3,5,4,2]=>0000000
[1,8,7,6,3,5,2,4]=>1000000
[1,8,7,4,6,3,2,5]=>1000000
[7,1,5,8,3,4,6,2]=>0000000
[7,1,6,4,2,3,5,8]=>0000001
[8,6,2,4,7,3,5,1]=>0000000
[8,6,2,4,5,7,3,1]=>0000000
[2,7,1,4,5,8,3,6]=>0000000
[7,1,6,4,5,2,3,8]=>0000001
[7,1,4,5,6,8,2,3]=>0000000
[7,1,4,6,5,8,3,2]=>0000000
[7,1,2,3,8,5,4,6]=>0000000
[7,1,5,4,3,8,2,6]=>0000000
[7,1,3,4,2,6,8,5]=>0000000
[7,1,5,4,6,2,8,3]=>0000000
[7,1,5,6,4,3,8,2]=>0000000
[7,1,6,5,4,3,2,8]=>0000001
[8,6,2,5,4,3,7,1]=>0000000
[2,5,1,7,4,3,6,8]=>0000001
[2,5,1,4,7,8,6,3]=>0000000
[3,5,1,4,8,6,2,7]=>0000000
[3,6,2,4,7,8,1,5]=>0000000
[5,6,2,4,8,7,1,3]=>0000000
[6,3,8,2,4,7,1,5]=>0000000
[6,5,8,7,2,3,1,4]=>0000000
[6,5,7,8,2,4,1,3]=>0000000
[6,3,4,2,8,5,1,7]=>0000000
[3,4,7,2,5,8,1,6]=>0000000
[4,6,8,1,3,5,2,7]=>0000000
[4,3,8,1,2,7,5,6]=>0000000
[3,6,4,1,7,2,5,8]=>0000001
[2,8,3,1,5,6,4,7]=>0000000
[3,8,7,1,5,4,2,6]=>0000000
[4,3,1,7,6,8,2,5]=>0000000
[3,4,1,7,5,6,8,2]=>0000000
[3,4,1,5,7,6,2,8]=>0000001
[3,7,4,1,6,2,8,5]=>0000000
[8,4,7,2,5,3,6,1]=>0000000
[4,7,8,1,2,3,6,5]=>0000000
[2,8,6,1,5,3,7,4]=>0000000
[7,6,5,1,3,8,2,4]=>0000000
[7,6,5,1,3,4,8,2]=>0000000
[7,2,6,4,1,3,8,5]=>0000000
[6,7,5,2,1,3,8,4]=>0000000
[8,4,5,3,7,2,6,1]=>0000000
[4,7,5,2,8,1,6,3]=>0000000
[2,6,4,3,1,5,7,8]=>0000011
[7,3,8,4,1,5,2,6]=>0000000
[7,2,3,4,1,6,5,8]=>0000001
[4,2,8,3,6,1,5,7]=>0000000
[6,8,5,7,2,1,3,4]=>0000000
[4,8,5,2,7,1,3,6]=>0000000
[6,3,5,2,1,7,4,8]=>0000001
[6,8,5,3,1,4,2,7]=>0000000
[3,6,5,4,2,8,1,7]=>0000000
[1,6,4,7,2,5,3,8]=>1000001
[1,6,4,8,2,5,3,7]=>1000000
[1,6,5,8,2,4,3,7]=>1000000
[1,6,8,2,4,3,7,5]=>1000000
[1,6,2,4,3,7,8,5]=>1000000
[1,5,6,2,4,7,3,8]=>1000001
[1,5,6,2,4,7,8,3]=>1000000
[1,5,8,2,4,7,3,6]=>1000000
[1,5,7,2,4,8,3,6]=>1000000
[1,6,5,7,2,4,3,8]=>1000001
[1,6,7,2,4,3,8,5]=>1000000
[1,5,6,7,2,4,8,3]=>1000000
[1,5,8,2,4,6,7,3]=>1000000
[1,5,7,2,4,6,8,3]=>1000000
[1,5,7,8,3,2,4,6]=>1000000
[1,5,8,3,2,4,6,7]=>1000000
[1,5,6,2,4,8,3,7]=>1000000
[1,7,6,2,8,3,4,5]=>1000000
[1,7,3,4,2,8,6,5]=>1000000
[1,6,2,4,3,8,7,5]=>1000000
[1,5,6,2,4,8,7,3]=>1000000
[1,5,8,7,3,2,4,6]=>1000000
[1,4,2,3,5,8,7,6]=>1001100
[1,5,2,3,4,8,7,6]=>1000100
[1,6,5,2,3,8,7,4]=>1000000
[1,7,4,2,8,6,5,3]=>1000000
[1,7,6,5,2,8,4,3]=>1000000
[1,6,7,5,2,3,8,4]=>1000000
[1,7,5,2,8,4,3,6]=>1000000
[1,7,5,6,2,8,3,4]=>1000000
[1,5,7,6,2,4,8,3]=>1000000
[1,5,8,3,2,4,7,6]=>1000000
[1,6,5,2,3,7,4,8]=>1000001
[1,6,5,2,3,7,8,4]=>1000000
[1,6,8,4,2,3,7,5]=>1000000
[1,7,4,6,2,8,3,5]=>1000000
[1,7,3,5,2,8,4,6]=>1000000
[1,6,8,5,2,3,7,4]=>1000000
[1,6,4,2,3,7,8,5]=>1000000
[1,6,4,2,3,7,5,8]=>1000001
[1,5,8,6,2,4,7,3]=>1000000
[1,5,7,3,2,4,8,6]=>1000000
[1,7,3,4,2,8,5,6]=>1000000
[1,7,4,2,8,5,3,6]=>1000000
[1,6,7,4,2,3,8,5]=>1000000
[1,6,4,2,3,8,5,7]=>1000000
[1,7,6,4,2,8,5,3]=>1000000
[1,7,5,2,8,6,4,3]=>1000000
[1,6,4,2,3,8,7,5]=>1000000
[7,3,5,6,1,4,8,2]=>0000000
[3,7,5,6,1,4,8,2]=>0000000
[8,2,4,1,6,7,5,3]=>0000000
[8,6,1,4,2,7,5,3]=>0000000
[3,6,1,4,2,8,5,7]=>0000000
[1,6,7,4,3,5,8,2]=>1000000
[6,7,1,4,3,5,8,2]=>0000000
[7,6,1,4,3,5,8,2]=>0000000
[3,5,4,1,6,7,8,2]=>0000000
[4,7,1,6,3,5,8,2]=>0000000
[3,1,4,7,6,5,8,2]=>0000000
[6,1,7,4,3,5,8,2]=>0000000
[7,1,6,4,3,5,8,2]=>0000000
[1,7,6,4,3,5,8,2]=>1000000
[8,1,6,4,2,7,5,3]=>0000000
[8,4,1,3,7,2,5,6]=>0000000
[4,7,1,3,8,2,5,6]=>0000000
[7,4,1,3,8,2,5,6]=>0000000
[1,3,6,4,2,8,5,7]=>1000000
[4,7,3,1,2,8,5,6]=>0000000
[4,7,8,1,2,6,5,3]=>0000000
[6,8,1,4,2,7,5,3]=>0000000
[1,8,6,4,2,7,5,3]=>1000000
[4,8,1,3,7,2,5,6]=>0000000
[8,7,1,3,6,2,5,4]=>0000000
[6,8,5,7,3,2,1,4]=>0000000
[1,8,4,3,7,2,5,6]=>1000000
[2,8,3,4,7,6,1,5]=>0000000
[3,7,8,4,6,2,1,5]=>0000000
[3,7,4,6,8,2,1,5]=>0000000
[2,4,3,7,8,6,1,5]=>0000000
[1,4,7,3,8,2,5,6]=>1000000
[5,7,6,8,3,2,1,4]=>0000000
[2,5,3,4,8,6,1,7]=>0000000
[3,7,5,4,8,2,1,6]=>0000000
[7,1,3,4,2,8,5,6]=>0000000
[6,1,4,3,8,2,5,7]=>0000000
[4,1,7,3,8,2,5,6]=>0000000
[8,1,4,3,7,2,5,6]=>0000000
[8,2,3,4,7,6,1,5]=>0000000
[4,2,3,7,8,6,1,5]=>0000000
[5,2,3,4,8,6,1,7]=>0000000
[2,7,5,6,3,8,1,4]=>0000000
[5,7,2,6,3,8,1,4]=>0000000
[5,7,2,6,8,4,1,3]=>0000000
[7,2,5,6,8,4,1,3]=>0000000
[4,2,3,8,5,6,1,7]=>0000000
[5,2,3,8,7,6,1,4]=>0000000
[8,2,3,7,5,6,1,4]=>0000000
[6,1,8,3,7,2,5,4]=>0000000
[1,7,8,4,2,6,5,3]=>1000000
[4,7,1,8,2,5,6,3]=>0000000
[3,7,4,8,5,2,1,6]=>0000000
[2,4,3,8,5,6,1,7]=>0000000
[1,4,8,3,6,2,5,7]=>1000000
[7,5,8,6,3,2,1,4]=>0000000
[6,5,8,7,3,2,1,4]=>0000000
[8,5,7,6,3,2,1,4]=>0000000
[2,5,3,8,7,6,1,4]=>0000000
[3,7,5,8,6,2,1,4]=>0000000
[3,7,8,6,5,2,1,4]=>0000000
[1,8,7,3,6,2,5,4]=>1000000
[6,8,7,5,3,2,1,4]=>0000000
[5,7,6,8,3,4,1,2]=>0000000
[3,7,6,8,4,5,1,2]=>0000000
[1,5,4,7,6,8,2,3]=>1000000
[1,7,4,6,5,8,2,3]=>1000000
[3,7,4,6,5,8,1,2]=>0000000
[3,5,4,8,6,7,1,2]=>0000000
[3,8,4,6,5,7,1,2]=>0000000
[3,6,4,7,5,8,1,2]=>0000000
[1,6,2,7,5,8,3,4]=>1000000
[1,6,4,8,5,7,2,3]=>1000000
[1,8,4,6,5,7,2,3]=>1000000
[1,5,4,8,6,7,2,3]=>1000000
[7,8,1,5,4,6,2,3]=>0000000
[7,8,1,5,2,4,3,6]=>0000000
[1,8,2,6,5,7,3,4]=>1000000
[1,7,2,8,5,6,3,4]=>1000000
[1,7,2,6,5,8,3,4]=>1000000
[1,5,2,7,6,8,3,4]=>1000000
[1,7,6,8,2,5,3,4]=>1000000
[1,7,6,8,4,5,2,3]=>1000000
[5,7,6,8,1,4,2,3]=>0000000
[7,8,5,6,1,3,2,4]=>0000000
[5,8,6,7,1,3,2,4]=>0000000
[1,3,2,7,6,8,4,5]=>1010000
[1,7,6,8,2,4,3,5]=>1000000
[7,8,1,3,2,6,4,5]=>0000000
[7,8,1,6,2,4,3,5]=>0000000
[1,8,6,7,2,4,3,5]=>1000000
[7,8,1,4,2,6,3,5]=>0000000
[7,8,1,4,2,5,3,6]=>0000000
[7,8,2,1,4,3,6,5]=>0000000
[7,8,1,2,4,3,5,6]=>0000000
[4,3,6,5,8,7,1,2]=>0000000
[3,4,6,5,7,8,1,2]=>0000000
[1,6,2,3,8,7,4,5]=>1000000
[1,7,4,3,2,8,6,5]=>1000000
[1,4,7,6,2,5,8,3]=>1000000
[1,2,6,5,3,7,4,8]=>1100001
[1,2,6,5,3,7,8,4]=>1100000
[1,3,7,5,2,6,8,4]=>1000000
[1,3,7,4,2,6,8,5]=>1000000
[1,2,6,4,3,7,8,5]=>1100000
[1,2,6,4,3,7,5,8]=>1100001
[1,4,7,3,2,5,8,6]=>1000000
[1,4,3,2,5,8,6,7]=>1001100
[1,5,3,2,4,8,6,7]=>1000100
[1,7,5,3,2,8,6,4]=>1000000
[1,5,3,2,4,8,7,6]=>1000100
[7,6,5,4,3,1,8,2]=>0000000
[6,8,5,4,3,2,1,7]=>0000000
[7,1,5,4,3,8,6,2]=>0000000
[3,6,5,4,8,1,7,2]=>0000000
[6,8,1,4,3,2,7,5]=>0000000
[2,8,5,4,3,7,1,6]=>0000000
[7,6,1,4,3,8,5,2]=>0000000
[4,6,5,8,3,1,7,2]=>0000000
[6,8,5,1,3,2,7,4]=>0000000
[1,8,2,4,3,7,6,5]=>1000000
[3,8,5,4,7,2,1,6]=>0000000
[7,6,5,1,3,8,4,2]=>0000000
[1,6,3,4,8,7,5,2]=>1000000
[1,4,5,8,3,7,6,2]=>1000000
[6,8,5,4,1,2,7,3]=>0000000
[1,8,5,2,3,7,6,4]=>1000000
[6,8,2,4,3,7,1,5]=>0000000
[1,8,3,4,7,2,6,5]=>1000000
[7,5,8,4,3,2,1,6]=>0000000
[4,8,5,7,3,2,1,6]=>0000000
[5,1,7,6,8,4,3,2]=>0000000
[8,4,7,5,2,6,1,3]=>0000000
[5,4,6,8,2,1,7,3]=>0000000
[8,4,6,5,2,1,7,3]=>0000000
[4,8,7,5,6,1,3,2]=>0000000
[5,1,8,7,4,2,3,6]=>0000000
[3,6,5,2,4,1,8,7]=>0000010
[3,8,7,1,4,6,5,2]=>0000000
[3,2,6,8,5,7,1,4]=>0000000
[6,3,7,2,4,8,5,1]=>0000000
[7,4,8,6,5,2,1,3]=>0000000
[2,5,3,7,4,1,8,6]=>0000000
[8,4,7,6,2,3,1,5]=>0000000
[4,2,8,7,3,5,6,1]=>0000000
[8,1,7,4,2,5,6,3]=>0000000
[7,4,3,8,2,5,6,1]=>0000000
[2,5,8,7,3,6,1,4]=>0000000
[4,1,7,2,8,5,6,3]=>0000000
[4,7,8,3,1,5,6,2]=>0000000
[3,4,7,2,8,5,6,1]=>0000000
[6,1,8,5,2,7,4,3]=>0000000
[8,2,1,6,4,7,5,3]=>0000000
[7,8,2,6,4,1,5,3]=>0000000
[2,6,3,5,8,7,1,4]=>0000000
[7,4,8,6,5,2,3,1]=>0000000
[8,1,6,4,7,3,2,5]=>0000000
[4,8,7,5,6,1,2,3]=>0000000
[6,1,4,8,7,3,5,2]=>0000000
[7,2,8,4,3,5,6,1]=>0000000
[3,8,1,7,2,5,6,4]=>0000000
[4,3,8,2,7,6,1,5]=>0000000
[2,8,3,7,1,5,6,4]=>0000000
[7,2,5,4,3,8,1,6]=>0000000
[3,8,6,1,2,5,4,7]=>0000000
[4,1,6,5,8,2,3,7]=>0000000
[8,3,6,1,4,5,2,7]=>0000000
[2,7,5,4,3,8,1,6]=>0000000
[8,7,4,3,1,6,2,5]=>0000000
[1,7,4,3,8,6,2,5]=>1000000
[2,8,6,1,7,4,5,3]=>0000000
[4,8,6,5,7,2,1,3]=>0000000
[6,1,8,7,4,3,5,2]=>0000000
[4,1,3,8,5,6,7,2]=>0000000
[6,5,8,4,3,1,7,2]=>0000000
[4,6,5,2,8,1,7,3]=>0000000
[7,2,8,1,3,6,4,5]=>0000000
[1,8,5,2,3,6,7,4]=>1000000
[1,8,3,2,5,6,7,4]=>1000000
[2,8,3,1,5,6,7,4]=>0000000
[4,8,3,2,5,6,7,1]=>0000000
[8,2,3,1,5,6,7,4]=>0000000
[2,1,8,3,5,6,7,4]=>0100000
[3,5,8,1,2,4,7,6]=>0000000
[4,5,8,1,2,3,7,6]=>0000000
[4,2,7,1,8,6,3,5]=>0000000
[3,8,4,1,2,6,7,5]=>0000000
[2,7,1,4,3,8,5,6]=>0000000
[3,5,2,8,6,1,7,4]=>0000000
[8,2,5,6,1,4,7,3]=>0000000
[2,6,1,8,3,7,5,4]=>0000000
[7,6,1,5,8,2,3,4]=>0000000
[3,6,8,5,1,2,7,4]=>0000000
[4,2,1,8,5,6,7,3]=>0000000
[7,6,1,2,8,3,5,4]=>0000000
[7,5,8,4,1,2,6,3]=>0000000
[7,5,8,4,6,1,3,2]=>0000000
[6,5,4,8,7,1,3,2]=>0000000
[6,5,4,8,1,2,7,3]=>0000000
[7,5,1,6,2,3,8,4]=>0000000
[7,5,1,6,8,2,4,3]=>0000000
[6,5,4,1,8,2,7,3]=>0000000
[6,5,4,7,1,2,8,3]=>0000000
[6,5,4,7,8,1,3,2]=>0000000
[6,5,3,7,1,4,2,8]=>0000001
[6,5,3,1,8,4,2,7]=>0000000
[7,5,1,4,8,3,2,6]=>0000000
[8,1,6,4,7,3,5,2]=>0000000
[7,5,1,4,8,3,6,2]=>0000000
[6,5,3,7,1,4,8,2]=>0000000
[6,4,3,1,5,8,7,2]=>0000000
[7,4,1,5,3,8,6,2]=>0000000
[8,1,5,4,3,7,6,2]=>0000000
[8,1,5,4,3,7,2,6]=>0000000
[7,4,1,5,3,8,2,6]=>0000000
[7,4,1,5,3,2,6,8]=>0000001
[8,1,5,4,3,2,6,7]=>0000000
[8,1,6,4,2,5,3,7]=>0000000
[6,5,3,1,2,7,4,8]=>0000001
[6,5,3,8,1,4,2,7]=>0000000
[7,6,8,1,4,3,2,5]=>0000000
[8,1,7,2,5,4,3,6]=>0000000
[8,1,7,2,5,4,6,3]=>0000000
[7,6,1,2,5,4,8,3]=>0000000
[6,5,3,8,1,4,7,2]=>0000000
[6,5,3,1,2,7,8,4]=>0000000
[7,5,1,4,2,6,8,3]=>0000000
[8,1,6,4,2,5,7,3]=>0000000
[7,4,1,5,3,2,8,6]=>0000000
[6,4,3,1,5,2,8,7]=>0000010
[6,4,3,1,5,7,2,8]=>0000001
[7,4,1,5,3,6,2,8]=>0000001
[8,1,5,4,3,6,2,7]=>0000000
[8,1,5,4,3,6,7,2]=>0000000
[7,4,1,5,3,6,8,2]=>0000000
[6,4,3,1,5,7,8,2]=>0000000
[6,7,3,8,4,5,1,2]=>0000000
[6,7,4,5,1,8,2,3]=>0000000
[4,7,5,6,2,3,1,8]=>0000001
[4,7,5,6,1,8,2,3]=>0000000
[4,7,5,6,3,8,1,2]=>0000000
[3,7,5,8,4,6,1,2]=>0000000
[4,5,3,8,6,7,1,2]=>0000000
[4,8,3,6,5,7,1,2]=>0000000
[5,6,4,7,1,8,2,3]=>0000000
[5,6,1,7,3,8,2,4]=>0000000
[5,6,1,8,2,7,3,4]=>0000000
[5,6,1,8,4,7,2,3]=>0000000
[4,8,1,6,5,7,2,3]=>0000000
[4,5,1,8,6,7,2,3]=>0000000
[7,8,4,5,1,6,2,3]=>0000000
[4,8,2,3,1,6,5,7]=>0000000
[5,6,2,8,1,4,3,7]=>0000000
[5,6,3,4,1,8,2,7]=>0000000
[3,6,4,5,2,7,1,8]=>0000001
[3,6,4,5,1,8,2,7]=>0000000
[2,6,4,8,1,5,3,7]=>0000000
[2,8,3,6,1,5,4,7]=>0000000
[2,8,3,4,1,6,5,7]=>0000000
[7,8,2,5,3,4,1,6]=>0000000
[7,8,1,5,3,6,2,4]=>0000000
[1,5,3,8,6,7,2,4]=>1000000
[1,8,3,6,2,7,4,5]=>1000000
[1,6,4,8,2,7,3,5]=>1000000
[2,6,4,7,3,5,1,8]=>0000001
[2,7,3,6,4,5,1,8]=>0000001
[1,7,3,6,4,8,2,5]=>1000000
[1,7,2,8,4,6,3,5]=>1000000
[1,7,5,8,4,6,2,3]=>1000000
[1,7,5,8,2,6,3,4]=>1000000
[1,7,5,6,3,8,2,4]=>1000000
[2,7,5,6,3,4,1,8]=>0000001
[6,7,2,5,3,4,1,8]=>0000001
[6,7,1,5,3,8,2,4]=>0000000
[6,7,5,8,1,4,2,3]=>0000000
[5,8,6,7,2,3,1,4]=>0000000
[6,7,2,3,1,8,4,5]=>0000000
[6,7,2,8,1,4,3,5]=>0000000
[3,4,2,7,5,6,1,8]=>0000001
[3,4,1,7,5,8,2,6]=>0000000
[2,7,5,8,1,4,3,6]=>0000000
[2,3,1,7,5,8,4,6]=>0010000
[2,3,1,8,4,7,5,6]=>0010000
[7,8,2,3,1,6,4,5]=>0000000
[7,8,2,6,1,4,3,5]=>0000000
[2,8,6,7,1,4,3,5]=>0000000
[2,8,1,4,3,7,5,6]=>0000000
[3,7,2,5,4,6,1,8]=>0000001
[4,5,2,7,3,6,1,8]=>0000001
[4,5,1,8,2,7,3,6]=>0000000
[3,4,1,8,2,7,5,6]=>0000000
[3,4,1,8,6,7,2,5]=>0000000
[3,4,2,5,1,8,6,7]=>0000100
[3,4,2,8,1,6,5,7]=>0000000
[3,8,2,5,1,6,4,7]=>0000000
[4,5,2,8,1,6,3,7]=>0000000
[4,5,3,6,1,8,2,7]=>0000000
[7,1,5,8,4,6,2,3]=>0000000
[8,6,7,1,4,2,5,3]=>0000000
[8,6,3,7,5,1,2,4]=>0000000
[8,6,1,7,3,2,5,4]=>0000000
[7,6,1,8,3,5,2,4]=>0000000
[7,6,1,3,8,5,2,4]=>0000000
[7,6,8,2,4,5,1,3]=>0000000
[7,6,2,8,3,5,1,4]=>0000000
[7,6,2,3,8,5,1,4]=>0000000
[8,7,1,5,2,6,3,4]=>0000000
[8,7,1,5,2,3,6,4]=>0000000
[8,5,2,3,1,7,6,4]=>0000000
[8,6,2,3,7,1,5,4]=>0000000
[8,6,2,7,3,1,5,4]=>0000000
[8,6,7,2,4,1,5,3]=>0000000
[6,8,7,3,4,1,5,2]=>0000000
[8,7,2,5,1,6,3,4]=>0000000
[8,7,2,1,4,6,3,5]=>0000000
[8,4,2,1,7,6,3,5]=>0000000
[8,5,2,7,1,6,3,4]=>0000000
[8,5,7,2,1,4,3,6]=>0000000
[5,8,7,3,1,4,2,6]=>0000000
[5,8,7,3,1,4,6,2]=>0000000
[8,5,7,2,1,4,6,3]=>0000000
[8,5,2,7,1,3,6,4]=>0000000
[8,4,2,1,3,7,6,5]=>0000000
[8,7,4,1,2,3,6,5]=>0000000
[8,7,4,1,2,6,3,5]=>0000000
[8,4,3,1,7,2,6,5]=>0000000
[8,4,3,1,2,7,6,5]=>0000000
[8,6,1,3,7,2,5,4]=>0000000
[8,5,1,3,2,7,6,4]=>0000000
[8,5,7,4,1,6,2,3]=>0000000
[8,5,7,4,1,2,6,3]=>0000000
[8,1,5,4,2,7,6,3]=>0000000
[8,1,6,4,7,2,5,3]=>0000000
[6,1,5,8,4,2,7,3]=>0000000
[5,8,3,6,4,1,2,7]=>0000000
[5,2,8,6,4,1,3,7]=>0000000
[8,4,7,5,1,6,2,3]=>0000000
[8,4,7,5,1,2,6,3]=>0000000
[8,4,7,5,1,2,3,6]=>0000000
[8,7,3,5,1,2,6,4]=>0000000
[8,3,2,6,5,1,4,7]=>0000000
[4,8,6,3,5,1,2,7]=>0000000
[4,8,7,3,1,5,2,6]=>0000000
[8,4,7,2,1,5,3,6]=>0000000
[8,3,2,7,1,5,4,6]=>0000000
[8,3,2,1,7,6,4,5]=>0000000
[8,7,3,1,4,2,6,5]=>0000000
[8,7,3,1,6,2,4,5]=>0000000
[8,7,3,1,2,6,4,5]=>0000000
[8,7,3,1,2,4,6,5]=>0000000
[8,3,2,1,4,7,6,5]=>0000000
[8,3,2,1,7,4,6,5]=>0000000
[8,3,2,7,1,5,6,4]=>0000000
[8,4,7,2,1,5,6,3]=>0000000
[3,8,7,4,1,2,5,6]=>0000000
[8,7,2,1,6,3,4,5]=>0000000
[8,7,2,1,3,6,4,5]=>0000000
[8,7,2,1,3,4,6,5]=>0000000
[2,1,4,7,6,3,8,5]=>0100000
[6,4,7,8,5,3,2,1]=>0000000
[4,1,3,7,6,2,8,5]=>0000000
[4,2,8,6,7,3,1,5]=>0000000
[7,4,3,8,2,1,5,6]=>0000000
[4,7,5,8,1,6,3,2]=>0000000
[4,2,5,1,6,7,8,3]=>0000000
[7,8,2,5,6,1,4,3]=>0000000
[6,5,7,2,8,4,3,1]=>0000000
[6,5,8,2,1,7,3,4]=>0000000
[7,4,3,5,1,6,8,2]=>0000000
[4,1,6,3,5,8,7,2]=>0000000
[8,6,7,1,5,4,3,2]=>0000000
[2,1,6,5,8,4,7,3]=>0100000
[4,1,8,5,6,2,3,7]=>0000000
[2,6,4,8,7,3,5,1]=>0000000
[7,4,8,6,3,2,5,1]=>0000000
[5,8,4,7,2,1,3,6]=>0000000
[2,1,8,4,3,7,5,6]=>0100000
[6,3,8,2,4,5,7,1]=>0000000
[5,8,4,2,3,6,1,7]=>0000000
[5,8,2,4,3,1,6,7]=>0000000
[2,8,3,1,6,4,5,7]=>0000000
[1,4,8,2,6,3,5,7]=>1000000
[1,2,7,3,5,4,8,6]=>1100000
[1,2,3,8,4,5,7,6]=>1110000
[1,2,8,3,4,5,7,6]=>1100000
[1,3,8,2,6,4,5,7]=>1000000
[1,5,7,2,3,6,4,8]=>1000001
[1,7,2,3,5,4,8,6]=>1000000
[1,3,8,2,4,5,7,6]=>1000000
[1,2,3,8,4,6,7,5]=>1110000
[1,8,2,3,5,4,6,7]=>1000000
[1,7,8,2,3,6,4,5]=>1000000
[1,6,7,8,2,3,5,4]=>1000000
[1,7,8,2,5,3,6,4]=>1000000
[1,7,8,2,4,5,3,6]=>1000000
[1,2,8,3,6,4,5,7]=>1100000
[1,8,2,3,6,4,5,7]=>1000000
[1,2,8,3,5,4,6,7]=>1100000
[1,2,7,8,3,6,4,5]=>1100000
[1,5,2,7,8,3,6,4]=>1000000
[1,3,2,8,4,6,7,5]=>1010000
[1,8,2,3,4,6,7,5]=>1000000
[1,7,8,2,4,3,6,5]=>1000000
[6,7,3,1,5,2,8,4]=>0000000
[7,3,6,1,5,2,4,8]=>0000001
[6,4,7,5,1,2,8,3]=>0000000
[6,2,1,7,5,3,8,4]=>0000000
[5,4,8,6,1,7,2,3]=>0000000
[5,4,7,6,1,8,2,3]=>0000000
[4,6,5,7,8,1,2,3]=>0000000
[5,7,4,6,1,8,2,3]=>0000000
[5,7,3,1,6,8,2,4]=>0000000
[5,7,4,8,1,6,2,3]=>0000000
[5,3,8,1,7,6,2,4]=>0000000
[5,4,8,7,1,6,2,3]=>0000000
[4,6,8,7,5,1,2,3]=>0000000
[4,7,8,6,5,1,2,3]=>0000000
[2,5,4,7,3,6,1,8]=>0000001
[2,4,6,3,7,5,1,8]=>0000001
[4,2,7,3,6,5,1,8]=>0000001
[4,2,6,3,1,5,8,7]=>0000010
[2,5,3,1,6,4,8,7]=>0000010
[2,5,3,7,6,4,1,8]=>0000001
[2,6,5,3,7,4,1,8]=>0000001
[4,2,7,6,3,5,1,8]=>0000001
[2,7,5,3,6,4,1,8]=>0000001
[2,6,3,7,5,4,1,8]=>0000001
[1,7,5,2,3,8,4,6]=>1000000
[2,1,3,7,5,4,8,6]=>0110000
[2,3,1,8,6,5,4,7]=>0010000
[2,5,3,1,8,6,4,7]=>0000000
[4,2,8,3,1,6,5,7]=>0000000
[8,3,2,6,4,1,5,7]=>0000000
[3,6,8,2,1,4,5,7]=>0000000
[1,5,2,8,3,4,7,6]=>1000000
[1,2,6,3,8,7,4,5]=>1100000
[1,2,8,3,6,4,7,5]=>1100000
[1,2,7,6,3,4,8,5]=>1100000
[2,1,3,8,7,5,4,6]=>0110000
[1,2,3,8,6,4,7,5]=>1110000
[1,2,3,7,4,8,6,5]=>1110000
[1,2,7,6,3,8,4,5]=>1100000
[1,2,3,6,4,8,7,5]=>1110000
[1,2,3,7,6,4,8,5]=>1110000
[2,6,3,1,8,5,4,7]=>0000000
[2,1,3,8,5,4,7,6]=>0110000
[7,1,8,4,2,3,5,6]=>0000000
[2,1,8,4,3,5,7,6]=>0100000
[4,2,6,3,1,8,5,7]=>0000000
[5,4,2,8,3,1,6,7]=>0000000
[3,5,8,2,4,1,6,7]=>0000000
[2,5,4,8,3,1,6,7]=>0000000
[4,2,1,8,3,5,7,6]=>0000000
[1,8,7,4,2,3,5,6]=>1000000
[1,5,2,8,7,3,4,6]=>1000000
[1,2,7,3,6,4,8,5]=>1100000
[1,2,8,6,3,7,4,5]=>1100000
[1,2,7,3,8,6,4,5]=>1100000
[1,2,3,8,4,7,6,5]=>1110000
[1,2,7,3,4,8,6,5]=>1100000
[1,2,6,3,8,4,7,5]=>1100000
[1,5,2,3,8,7,4,6]=>1000000
[4,2,1,8,3,7,5,6]=>0000000
[8,3,2,1,7,4,5,6]=>0000000
[1,8,4,2,7,3,5,6]=>1000000
[1,2,8,6,3,4,7,5]=>1100000
[1,2,7,3,8,4,6,5]=>1100000
[1,2,3,8,7,4,6,5]=>1110000
[1,2,3,8,7,6,4,5]=>1110000
[2,5,3,8,1,6,4,7]=>0000000
[2,6,4,7,1,5,3,8]=>0000001
[2,6,5,7,1,4,3,8]=>0000001
[3,8,5,7,1,2,6,4]=>0000000
[3,8,5,7,2,6,4,1]=>0000000
[3,4,8,6,2,5,7,1]=>0000000
[3,4,8,6,1,2,5,7]=>0000000
[2,5,7,1,4,8,6,3]=>0000000
[2,4,8,1,5,7,6,3]=>0000000
[2,4,3,8,1,6,5,7]=>0000000
[2,8,1,7,5,6,4,3]=>0000000
[2,3,8,1,6,5,7,4]=>0000000
[2,4,8,1,3,5,7,6]=>0000000
[3,5,7,6,1,2,4,8]=>0000001
[3,5,7,6,2,4,8,1]=>0000000
[4,8,6,7,2,3,5,1]=>0000000
[4,8,6,7,1,2,3,5]=>0000000
[4,8,6,7,1,3,5,2]=>0000000
[3,4,8,6,1,5,7,2]=>0000000
[3,8,5,7,1,6,4,2]=>0000000
[3,2,8,5,6,1,7,4]=>0000000
[3,8,5,7,2,1,6,4]=>0000000
[3,4,8,6,2,1,5,7]=>0000000
[3,5,7,6,2,1,4,8]=>0000001
[4,8,6,7,2,1,3,5]=>0000000
[4,8,6,7,3,5,2,1]=>0000000
[5,8,6,7,3,4,2,1]=>0000000
[5,8,6,7,2,1,3,4]=>0000000
[5,8,6,7,2,1,4,3]=>0000000
[4,8,6,7,2,1,5,3]=>0000000
[4,3,1,7,5,2,8,6]=>0000000
[4,3,2,8,5,1,7,6]=>0000000
[4,3,8,5,1,6,7,2]=>0000000
[4,8,6,7,1,5,3,2]=>0000000
[5,8,6,7,1,4,3,2]=>0000000
[5,8,6,7,2,3,4,1]=>0000000
[5,8,6,7,2,4,3,1]=>0000000
[5,8,6,7,1,2,4,3]=>0000000
[4,2,3,8,5,1,6,7]=>0000000
[4,2,8,5,1,7,6,3]=>0000000
[3,4,2,8,5,6,1,7]=>0000000
[3,2,4,8,6,1,5,7]=>0000000
[3,2,5,7,6,1,4,8]=>0000001
[4,8,6,7,1,3,2,5]=>0000000
[4,8,6,7,1,2,5,3]=>0000000
[4,8,6,7,2,5,3,1]=>0000000
[4,3,8,5,2,6,7,1]=>0000000
[4,3,8,5,1,2,6,7]=>0000000
[4,2,6,7,5,1,3,8]=>0000001
[3,8,5,7,1,4,2,6]=>0000000
[3,8,4,7,1,5,2,6]=>0000000
[3,5,2,8,4,6,1,7]=>0000000
[3,5,1,7,4,6,2,8]=>0000001
[3,8,4,7,2,5,1,6]=>0000000
[4,1,3,8,5,2,6,7]=>0000000
[4,1,2,6,7,5,3,8]=>0000001
[4,2,6,7,5,3,8,1]=>0000000
[4,8,6,7,3,2,5,1]=>0000000
[4,8,6,7,3,1,2,5]=>0000000
[3,1,5,7,6,2,4,8]=>0000001
[3,4,1,7,5,6,2,8]=>0000001
[4,1,7,5,2,8,6,3]=>0000000
[4,1,6,7,5,2,3,8]=>0000001
[4,8,6,7,2,3,1,5]=>0000000
[5,8,6,7,3,2,4,1]=>0000000
[5,8,6,7,4,2,3,1]=>0000000
[5,8,6,7,4,1,2,3]=>0000000
[5,8,6,7,4,1,3,2]=>0000000
[5,8,6,7,3,1,4,2]=>0000000
[4,8,6,7,3,1,5,2]=>0000000
[4,1,6,7,5,3,8,2]=>0000000
[4,1,7,5,3,2,8,6]=>0000000
[4,2,8,5,3,1,7,6]=>0000000
[4,2,1,6,7,5,3,8]=>0000001
[4,8,6,7,3,2,1,5]=>0000000
[5,8,6,7,4,2,1,3]=>0000000
[5,8,6,7,4,3,1,2]=>0000000
[7,3,5,8,1,4,2,6]=>0000000
[3,8,7,6,1,4,2,5]=>0000000
[5,1,8,3,6,7,2,4]=>0000000
[1,4,7,8,5,6,2,3]=>1000000
[3,4,7,1,5,8,6,2]=>0000000
[3,6,1,4,7,8,5,2]=>0000000
[1,6,8,4,7,5,2,3]=>1000000
[6,8,1,3,5,7,2,4]=>0000000
[7,6,1,4,3,8,2,5]=>0000000
[3,8,1,6,5,4,2,7]=>0000000
[4,1,3,7,5,8,2,6]=>0000000
[6,1,7,3,8,4,2,5]=>0000000
[7,1,8,6,3,5,2,4]=>0000000
[3,1,7,6,5,8,4,2]=>0000000
[8,2,7,6,5,3,4,1]=>0000000
[8,4,2,6,7,5,3,1]=>0000000
[4,8,1,6,7,5,3,2]=>0000000
[7,4,1,6,8,2,5,3]=>0000000
[1,3,8,6,2,7,5,4]=>1000000
[6,1,3,2,7,8,4,5]=>0000000
[1,8,6,2,5,3,4,7]=>1000000
[4,7,2,6,8,1,5,3]=>0000000
[8,7,3,6,4,5,2,1]=>0000000
[5,7,8,6,2,1,4,3]=>0000000
[2,7,4,1,6,8,3,5]=>0000000
[3,7,2,4,5,1,6,8]=>0000001
[1,8,6,4,5,2,3,7]=>1000000
[2,8,4,6,5,1,3,7]=>0000000
[3,4,1,7,5,2,6,8]=>0000001
[7,5,8,6,1,2,4,3]=>0000000
[5,6,8,7,3,1,4,2]=>0000000
[2,5,4,3,6,8,1,7]=>0000000
[3,8,5,4,6,2,1,7]=>0000000
[4,8,2,1,3,7,5,6]=>0000000
[6,4,1,2,7,5,8,3]=>0000000
[4,1,8,3,6,7,5,2]=>0000000
[8,3,7,4,5,2,6,1]=>0000000
[4,3,7,8,5,1,6,2]=>0000000
[5,4,8,2,7,6,1,3]=>0000000
[1,2,7,3,6,5,8,4]=>1100000
[2,8,7,6,3,4,1,5]=>0000000
[5,8,2,6,3,4,1,7]=>0000000
[4,1,7,5,8,6,2,3]=>0000000
[5,1,7,8,4,3,6,2]=>0000000
[8,2,7,5,4,3,6,1]=>0000000
[6,3,8,1,4,7,5,2]=>0000000
[3,8,4,5,6,1,2,7]=>0000000
[1,4,3,5,7,8,2,6]=>1000000
[6,5,8,7,1,3,4,2]=>0000000
[3,6,7,2,4,8,1,5]=>0000000
[1,5,2,7,4,3,8,6]=>1000000
[2,8,5,6,4,3,1,7]=>0000000
[1,8,6,5,4,3,2,7]=>1000000
[7,6,8,1,2,3,5,4]=>0000000
[2,7,1,5,8,6,3,4]=>0000000
[2,4,7,1,8,5,6,3]=>0000000
[4,7,5,8,3,1,6,2]=>0000000
[1,2,7,6,8,3,5,4]=>1100000
[7,4,2,1,6,8,5,3]=>0000000
[6,7,4,1,8,5,3,2]=>0000000
[7,2,8,1,6,4,5,3]=>0000000
[1,7,2,6,8,5,4,3]=>1000000
[7,2,5,8,6,3,1,4]=>0000000
[7,2,6,8,5,4,1,3]=>0000000
[6,7,3,1,8,5,4,2]=>0000000
[6,7,1,8,5,4,3,2]=>0000000
[7,6,8,3,2,1,5,4]=>0000000
[4,7,8,5,6,1,3,2]=>0000000
[4,6,5,8,7,1,3,2]=>0000000
[5,6,4,8,1,2,7,3]=>0000000
[8,1,5,6,7,2,4,3]=>0000000
[6,4,5,1,8,2,7,3]=>0000000
[5,4,6,7,1,2,8,3]=>0000000
[4,3,6,7,2,1,5,8]=>0000001
[5,3,6,7,1,4,2,8]=>0000001
[8,1,4,6,7,3,2,5]=>0000000
[8,1,3,6,7,4,5,2]=>0000000
[7,2,1,6,8,4,5,3]=>0000000
[5,2,6,7,1,4,8,3]=>0000000
[4,2,6,7,3,1,8,5]=>0000000
[6,2,4,1,5,8,7,3]=>0000000
[7,2,1,5,4,8,6,3]=>0000000
[8,1,4,5,3,7,2,6]=>0000000
[7,3,1,5,4,8,2,6]=>0000000
[6,3,4,1,5,8,2,7]=>0000000
[5,3,4,2,1,8,6,7]=>0000100
[4,3,5,2,7,1,6,8]=>0000001
[5,6,3,8,1,4,2,7]=>0000000
[8,1,7,2,4,5,6,3]=>0000000
[7,6,1,2,4,5,8,3]=>0000000
[4,7,8,2,3,1,6,5]=>0000000
[5,6,2,8,1,4,7,3]=>0000000
[6,5,2,1,3,7,8,4]=>0000000
[7,5,1,3,2,6,8,4]=>0000000
[8,1,6,3,2,5,7,4]=>0000000
[7,4,1,3,5,2,8,6]=>0000000
[5,4,2,3,1,6,8,7]=>0000110
[7,3,1,4,5,6,2,8]=>0000001
[8,1,4,3,5,6,2,7]=>0000000
[6,2,3,1,5,7,8,4]=>0000000
[7,8,4,2,1,6,5,3]=>0000000
[7,8,4,2,1,5,6,3]=>0000000
[6,2,3,4,8,7,1,5]=>0000000
[6,2,3,4,7,8,1,5]=>0000000
[7,8,3,4,6,2,1,5]=>0000000
[7,8,3,6,4,2,1,5]=>0000000
[7,8,3,5,6,2,1,4]=>0000000
[6,2,3,8,7,5,1,4]=>0000000
[6,2,3,7,8,5,1,4]=>0000000
[5,2,6,3,8,1,7,4]=>0000000
[6,3,2,5,8,7,1,4]=>0000000
[6,3,2,8,4,7,1,5]=>0000000
[6,4,3,8,7,5,1,2]=>0000000
[6,4,3,7,8,5,1,2]=>0000000
[6,2,4,1,7,3,5,8]=>0000001
[6,3,2,7,4,8,1,5]=>0000000
[6,3,2,5,7,8,1,4]=>0000000
[5,7,2,3,6,1,8,4]=>0000000
[5,8,2,3,6,1,7,4]=>0000000
[4,7,5,8,3,2,1,6]=>0000000
[4,5,6,8,3,2,1,7]=>0000000
[4,6,8,5,3,2,1,7]=>0000000
[5,6,1,4,2,3,7,8]=>0000011
[5,6,8,4,3,7,1,2]=>0000000
[5,6,1,4,2,3,8,7]=>0000010
[5,2,8,3,4,1,7,6]=>0000000
[4,5,8,6,3,2,1,7]=>0000000
[4,6,5,8,3,2,1,7]=>0000000
[4,7,5,6,3,2,1,8]=>0000001
[6,2,3,4,5,8,1,7]=>0000000
[5,1,4,3,6,2,8,7]=>0000010
[5,1,4,3,7,2,8,6]=>0000000
[5,1,4,3,8,2,7,6]=>0000000
[5,6,2,4,1,7,8,3]=>0000000
[5,6,2,4,1,8,7,3]=>0000000
[5,7,2,4,1,8,6,3]=>0000000
[6,1,4,2,8,7,5,3]=>0000000
[6,1,4,2,7,8,5,3]=>0000000
[5,8,2,4,1,7,6,3]=>0000000
[5,2,7,4,1,6,8,3]=>0000000
[5,4,1,3,7,2,6,8]=>0000001
[5,1,4,3,6,2,7,8]=>0000011
[5,8,6,4,3,7,1,2]=>0000000
[5,8,1,4,2,3,7,6]=>0000000
[5,1,6,3,4,2,7,8]=>0000011
[4,8,6,5,3,2,1,7]=>0000000
[4,8,5,6,3,2,1,7]=>0000000
[5,4,7,8,3,2,1,6]=>0000000
[5,4,8,7,3,2,1,6]=>0000000
[4,6,8,7,3,2,1,5]=>0000000
[4,6,7,8,3,2,1,5]=>0000000
[4,7,6,8,3,2,1,5]=>0000000
[4,7,8,5,3,2,1,6]=>0000000
[5,7,1,3,4,2,6,8]=>0000001
[5,1,8,4,2,3,6,7]=>0000000
[5,1,7,4,2,3,6,8]=>0000001
[5,8,1,3,4,2,6,7]=>0000000
[4,8,7,5,3,2,1,6]=>0000000
[4,7,8,6,3,2,1,5]=>0000000
[4,8,7,6,3,2,1,5]=>0000000
[4,8,2,6,3,7,5,1]=>0000000
[4,3,8,1,6,2,5,7]=>0000000
[6,8,1,2,4,3,5,7]=>0000000
[4,8,7,6,3,1,2,5]=>0000000
[1,4,3,8,2,6,5,7]=>1000000
[4,1,3,8,2,6,5,7]=>0000000
[4,1,8,3,7,5,6,2]=>0000000
[7,3,8,1,5,4,6,2]=>0000000
[3,6,7,8,4,1,2,5]=>0000000
[3,7,6,8,4,2,1,5]=>0000000
[3,7,8,2,6,4,5,1]=>0000000
[4,2,3,8,1,6,5,7]=>0000000
[4,3,1,8,2,6,5,7]=>0000000
[4,3,7,8,5,2,1,6]=>0000000
[7,3,6,8,4,2,1,5]=>0000000
[7,6,2,8,3,5,4,1]=>0000000
[3,2,4,8,1,6,5,7]=>0000000
[2,4,8,3,6,1,5,7]=>0000000
[7,4,1,8,5,2,6,3]=>0000000
[1,3,2,4,8,6,5,7]=>1011000
[3,1,2,4,8,6,5,7]=>0011000
[3,1,4,8,2,6,5,7]=>0000000
[3,7,4,8,5,1,2,6]=>0000000
[6,7,2,8,3,5,4,1]=>0000000
[2,1,3,4,8,6,5,7]=>0111000
[1,2,3,4,8,6,5,7]=>1111000
[4,8,3,6,2,1,5,7]=>0000000
[3,5,8,2,6,1,4,7]=>0000000
[3,6,5,8,2,4,1,7]=>0000000
[5,3,8,7,2,4,6,1]=>0000000
[2,8,4,5,7,3,6,1]=>0000000
[2,4,5,7,3,8,1,6]=>0000000
[6,2,4,5,8,3,1,7]=>0000000
[4,8,1,2,5,6,3,7]=>0000000
[8,1,3,5,2,6,4,7]=>0000000
[5,2,1,6,3,8,4,7]=>0000000
[6,2,5,1,8,4,3,7]=>0000000
[3,6,1,5,8,4,2,7]=>0000000
[6,1,4,5,8,3,2,7]=>0000000
[5,6,4,8,1,3,2,7]=>0000000
[6,5,4,3,8,2,1,7]=>0000000
[5,4,3,7,2,8,1,6]=>0000000
[5,8,4,3,7,2,6,1]=>0000000
[4,6,8,3,7,2,5,1]=>0000000
[7,4,6,3,2,8,1,5]=>0000000
[1,4,3,6,2,7,8,5]=>1000000
[1,5,4,3,7,2,8,6]=>1000000
[4,7,8,5,3,1,2,6]=>0000000
[5,7,3,4,1,2,8,6]=>0000000
[8,5,4,7,6,2,1,3]=>0000000
[8,5,7,4,3,6,1,2]=>0000000
[4,3,8,1,6,7,5,2]=>0000000
[4,7,8,3,6,1,5,2]=>0000000
[5,3,8,6,7,4,1,2]=>0000000
[1,3,8,6,4,7,5,2]=>1000000
[8,6,2,7,4,1,5,3]=>0000000
[7,6,2,1,4,3,8,5]=>0000000
[7,6,1,3,4,2,8,5]=>0000000
[1,5,7,3,2,6,8,4]=>1000000
[1,6,7,3,2,5,8,4]=>1000000
[3,2,6,8,5,7,4,1]=>0000000
[5,8,2,3,6,7,4,1]=>0000000
[7,5,2,3,1,6,8,4]=>0000000
[1,6,4,7,2,3,8,5]=>1000000
[3,1,7,5,2,8,4,6]=>0000000
[2,5,7,4,1,8,3,6]=>0000000
[4,2,6,1,7,8,3,5]=>0000000
[4,2,7,6,3,8,1,5]=>0000000
[6,4,8,7,2,3,5,1]=>0000000
[3,2,6,8,7,4,5,1]=>0000000
[3,2,7,4,1,6,8,5]=>0000000
[6,3,2,1,7,8,4,5]=>0000000
[3,7,1,8,4,2,5,6]=>0000000
[4,2,1,3,7,5,8,6]=>0001000
[8,1,3,7,4,2,6,5]=>0000000
[8,4,3,7,6,2,1,5]=>0000000
[8,3,5,2,7,6,1,4]=>0000000
[3,6,2,8,7,1,5,4]=>0000000
[7,3,2,8,1,6,5,4]=>0000000
[3,8,7,2,6,5,4,1]=>0000000
[4,2,7,8,6,1,5,3]=>0000000
[6,8,2,4,7,1,5,3]=>0000000
[5,2,1,8,7,3,6,4]=>0000000
[8,2,1,6,3,7,5,4]=>0000000
[6,8,3,1,7,5,2,4]=>0000000
[5,8,1,6,7,2,4,3]=>0000000
[6,2,8,1,5,7,4,3]=>0000000
[5,7,8,2,6,1,4,3]=>0000000
[8,7,2,5,6,4,3,1]=>0000000
[8,6,7,5,2,4,3,1]=>0000000
[7,2,6,8,1,5,4,3]=>0000000
[1,2,7,8,5,6,4,3]=>1100000
[7,4,8,1,6,2,5,3]=>0000000
[3,7,1,8,2,6,5,4]=>0000000
[2,1,7,3,8,6,5,4]=>0100000
[8,2,1,7,6,5,4,3]=>0000000
[8,1,4,7,6,5,3,2]=>0000000
[8,6,7,5,1,4,3,2]=>0000000
[7,8,6,5,4,1,3,2]=>0000000
[5,8,4,3,2,1,6,7]=>0000000
[6,4,7,3,2,1,8,5]=>0000000
[5,4,7,3,2,1,6,8]=>0000001
[6,5,3,7,2,1,4,8]=>0000001
[5,8,3,6,2,1,4,7]=>0000000
[6,3,7,8,2,1,4,5]=>0000000
[5,3,7,6,2,1,4,8]=>0000001
[3,8,7,6,2,1,4,5]=>0000000
[5,8,4,2,6,1,3,7]=>0000000
[4,8,7,2,5,1,3,6]=>0000000
[5,8,3,2,6,1,4,7]=>0000000
[4,8,3,2,5,1,7,6]=>0000000
[4,3,7,2,5,1,8,6]=>0000000
[3,8,7,2,5,1,4,6]=>0000000
[6,4,2,7,5,1,3,8]=>0000001
[6,3,2,7,5,1,4,8]=>0000001
[5,3,2,6,7,1,4,8]=>0000001
[3,8,2,6,5,1,4,7]=>0000000
[6,2,7,8,5,1,3,4]=>0000000
[5,2,7,6,8,1,3,4]=>0000000
[4,2,7,6,5,1,3,8]=>0000001
[2,8,7,6,5,1,3,4]=>0000000
[6,5,4,3,1,7,8,2]=>0000000
[6,4,7,3,1,5,8,2]=>0000000
[5,4,7,3,1,8,6,2]=>0000000
[6,4,3,7,1,5,8,2]=>0000000
[5,4,3,6,1,8,7,2]=>0000000
[6,3,7,8,1,4,5,2]=>0000000
[5,3,7,6,1,4,8,2]=>0000000
[4,3,7,6,1,5,8,2]=>0000000
[3,8,7,6,1,4,5,2]=>0000000
[6,5,4,2,1,7,3,8]=>0000001
[6,4,7,2,1,5,3,8]=>0000001
[4,8,7,2,1,5,3,6]=>0000000
[5,8,3,2,1,4,7,6]=>0000000
[4,8,3,2,1,5,7,6]=>0000000
[5,3,7,2,1,4,8,6]=>0000000
[3,8,7,2,1,4,5,6]=>0000000
[6,5,2,7,1,4,3,8]=>0000001
[5,8,2,6,1,4,3,7]=>0000000
[6,4,2,7,1,5,3,8]=>0000001
[5,4,2,6,1,8,3,7]=>0000000
[4,3,2,6,1,5,8,7]=>0000010
[6,2,7,8,1,4,3,5]=>0000000
[4,2,7,6,1,5,3,8]=>0000001
[3,2,7,6,1,4,5,8]=>0000001
[6,5,4,1,8,7,3,2]=>0000000
[5,8,4,1,6,7,3,2]=>0000000
[6,4,7,1,5,8,3,2]=>0000000
[5,4,7,1,6,8,3,2]=>0000000
[4,8,7,1,5,6,3,2]=>0000000
[5,4,3,1,6,8,7,2]=>0000000
[4,8,3,1,5,6,7,2]=>0000000
[3,8,7,1,5,4,6,2]=>0000000
[5,8,2,1,6,4,3,7]=>0000000
[6,3,2,1,5,4,8,7]=>0000010
[5,3,2,1,6,4,8,7]=>0000010
[3,8,2,1,5,4,6,7]=>0000000
[6,2,7,1,5,4,3,8]=>0000001
[5,2,7,1,6,4,3,8]=>0000001
[4,2,7,1,5,6,3,8]=>0000001
[3,2,7,1,5,4,6,8]=>0000001
[2,8,7,1,5,4,3,6]=>0000000
[6,5,1,7,8,4,3,2]=>0000000
[5,8,1,6,7,4,3,2]=>0000000
[6,4,1,7,5,8,3,2]=>0000000
[5,4,1,6,7,8,3,2]=>0000000
[4,8,1,6,5,7,3,2]=>0000000
[6,3,1,7,5,4,8,2]=>0000000
[5,3,1,6,7,4,8,2]=>0000000
[4,3,1,6,5,7,8,2]=>0000000
[3,8,1,6,5,4,7,2]=>0000000
[5,2,1,6,7,4,3,8]=>0000001
[4,2,1,6,5,7,3,8]=>0000001
[2,8,1,6,5,4,3,7]=>0000000
[6,1,7,8,5,4,3,2]=>0000000
[4,1,7,6,5,8,3,2]=>0000000
[3,1,7,6,5,4,8,2]=>0000000
[8,1,3,5,7,2,4,6]=>0000000
[3,6,8,1,7,2,4,5]=>0000000
[3,4,5,6,8,1,7,2]=>0000000
[8,2,3,5,6,7,1,4]=>0000000
[1,7,2,3,5,4,6,8]=>1000001
[8,1,2,3,5,4,6,7]=>0000000
[4,5,8,1,7,6,3,2]=>0000000
[3,6,8,7,2,1,5,4]=>0000000
[8,6,4,1,7,5,3,2]=>0000000
[2,3,6,7,8,1,5,4]=>0000000
[7,1,4,2,8,3,6,5]=>0000000
[7,1,8,2,5,3,6,4]=>0000000
[1,7,2,6,5,4,3,8]=>1000001
[3,6,8,1,7,5,4,2]=>0000000
[8,2,6,7,5,4,1,3]=>0000000
[7,3,1,8,6,5,4,2]=>0000000
[8,7,2,1,6,5,4,3]=>0000000
[8,6,1,5,2,7,4,3]=>0000000
[8,5,1,7,4,2,6,3]=>0000000
[2,1,7,5,4,3,8,6]=>0100000
[2,1,7,8,3,6,5,4]=>0100000
[2,1,4,8,5,7,3,6]=>0100000
[8,5,3,1,6,2,4,7]=>0000000
[6,4,1,5,2,3,8,7]=>0000010
[8,3,7,5,2,6,1,4]=>0000000
[5,3,7,4,6,8,1,2]=>0000000
[5,8,3,7,6,2,1,4]=>0000000
[4,2,6,3,8,5,1,7]=>0000000
[3,8,2,4,7,5,1,6]=>0000000
[5,8,2,1,7,6,4,3]=>0000000
[8,3,2,4,1,7,5,6]=>0000000
[7,8,3,1,5,4,6,2]=>0000000
[7,2,8,1,4,6,5,3]=>0000000
[5,6,1,4,3,2,8,7]=>0000010
[5,7,1,8,3,6,2,4]=>0000000
[8,3,5,6,1,7,4,2]=>0000000
[6,3,5,4,1,2,8,7]=>0000010
[3,4,7,2,8,1,5,6]=>0000000
[4,2,3,5,8,1,6,7]=>0000000
[3,2,4,6,1,5,8,7]=>0000010
[5,6,8,1,4,2,7,3]=>0000000
[1,3,5,7,8,6,2,4]=>1000000
[3,5,7,8,6,1,2,4]=>0000000
[3,5,1,6,8,2,7,4]=>0000000
[5,6,4,8,2,1,7,3]=>0000000
[5,1,6,3,8,4,7,2]=>0000000
[2,5,1,6,8,3,7,4]=>0000000
[5,1,2,6,8,3,7,4]=>0000000
[5,7,1,8,6,2,3,4]=>0000000
[1,5,2,7,8,6,3,4]=>1000000
[6,1,7,5,2,8,3,4]=>0000000
[5,7,2,8,6,1,3,4]=>0000000
[5,1,7,8,6,3,4,2]=>0000000
[5,1,3,7,8,6,4,2]=>0000000
[5,2,7,8,4,6,1,3]=>0000000
[1,2,6,7,5,8,3,4]=>1100000
[6,2,7,5,4,1,8,3]=>0000000
[5,1,7,8,6,4,3,2]=>0000000
[2,5,7,8,6,3,1,4]=>0000000
[2,4,7,1,5,6,8,3]=>0000000
[1,6,7,4,5,2,8,3]=>1000000
[1,6,3,7,5,8,2,4]=>1000000
[6,2,7,4,5,1,8,3]=>0000000
[7,5,1,6,3,8,2,4]=>0000000
[2,7,6,1,3,8,5,4]=>0000000
[7,3,5,1,8,2,6,4]=>0000000
[7,3,5,1,8,2,4,6]=>0000000
[2,6,7,4,1,8,3,5]=>0000000
[2,1,6,7,3,8,5,4]=>0100000
[3,7,5,4,8,1,6,2]=>0000000
[4,6,1,5,8,7,3,2]=>0000000
[7,5,1,6,2,8,4,3]=>0000000
[6,8,5,4,3,2,7,1]=>0000000
[6,8,5,4,3,7,2,1]=>0000000
[5,8,4,3,2,1,7,6]=>0000000
[6,5,4,3,1,8,7,2]=>0000000
[8,7,5,4,3,1,6,2]=>0000000
[8,3,4,6,2,1,5,7]=>0000000
[3,5,6,2,1,8,4,7]=>0000000
[3,5,2,6,8,4,1,7]=>0000000
[7,5,3,2,8,4,1,6]=>0000000
[7,5,3,2,8,4,6,1]=>0000000
[2,4,5,7,3,8,6,1]=>0000000
[4,2,5,6,8,3,1,7]=>0000000
[4,2,8,1,5,6,3,7]=>0000000
[2,5,6,1,8,4,3,7]=>0000000
[5,3,6,8,1,4,2,7]=>0000000
[4,5,6,8,1,3,2,7]=>0000000
[1,4,5,6,8,3,2,7]=>1000000
[4,5,6,3,8,2,1,7]=>0000000
[4,5,3,7,2,8,6,1]=>0000000
[6,4,7,3,2,8,5,1]=>0000000
[6,1,4,7,3,2,8,5]=>0000000
[1,7,8,4,5,3,2,6]=>1000000
[5,1,7,3,8,4,2,6]=>0000000
[2,5,1,7,4,3,8,6]=>0000000
[2,5,7,4,1,8,6,3]=>0000000
[5,3,7,1,4,8,6,2]=>0000000
[6,4,3,1,7,8,5,2]=>0000000
[6,4,1,7,3,8,5,2]=>0000000
[5,6,3,7,8,4,2,1]=>0000000
[5,1,6,3,7,8,4,2]=>0000000
[5,6,1,3,7,8,4,2]=>0000000
[5,6,1,7,8,3,4,2]=>0000000
[1,6,3,7,4,8,5,2]=>1000000
[6,7,2,4,1,8,5,3]=>0000000
[6,7,2,1,4,3,8,5]=>0000000
[6,4,7,3,1,2,8,5]=>0000000
[5,6,3,1,2,7,8,4]=>0000000
[5,6,1,3,2,7,8,4]=>0000000
[5,6,3,2,1,7,8,4]=>0000000
[2,5,6,3,7,8,4,1]=>0000000
[2,5,6,3,1,7,8,4]=>0000000
[2,6,4,7,3,1,8,5]=>0000000
[6,3,7,2,8,4,5,1]=>0000000
[6,3,7,2,8,4,1,5]=>0000000
[6,3,2,7,1,8,4,5]=>0000000
[7,5,3,2,1,8,4,6]=>0000000
[7,3,8,4,2,1,5,6]=>0000000
[4,7,2,1,3,8,6,5]=>0000000
[1,3,7,8,6,4,2,5]=>1000000
[7,3,8,4,6,2,1,5]=>0000000
[5,7,3,8,2,1,6,4]=>0000000
[6,3,7,8,5,2,1,4]=>0000000
[4,6,2,7,8,5,3,1]=>0000000
[4,6,2,1,7,8,5,3]=>0000000
[7,4,5,8,1,2,6,3]=>0000000
[2,5,1,7,3,8,6,4]=>0000000
[6,7,2,1,3,8,5,4]=>0000000
[5,1,6,7,8,2,4,3]=>0000000
[6,3,7,1,8,5,2,4]=>0000000
[6,2,1,7,3,8,5,4]=>0000000
[6,2,7,1,8,5,4,3]=>0000000
[6,3,1,7,8,5,4,2]=>0000000
[4,1,3,6,8,2,5,7]=>0000000
[4,2,3,6,8,1,5,7]=>0000000
[5,3,2,1,8,4,7,6]=>0000000
[3,6,5,8,2,1,7,4]=>0000000
[4,5,2,1,3,8,7,6]=>0000100
[3,2,6,4,5,8,1,7]=>0000000
[2,4,6,5,8,1,3,7]=>0000000
[1,6,2,4,5,8,3,7]=>1000000
[5,3,2,1,6,8,4,7]=>0000000
[6,2,4,5,8,1,3,7]=>0000000
[1,3,4,6,5,8,2,7]=>1000000
[1,6,3,4,5,8,2,7]=>1000000
[3,4,1,8,5,2,7,6]=>0000000
[2,8,4,1,7,6,3,5]=>0000000
[8,1,4,2,7,3,6,5]=>0000000
[1,5,3,2,8,7,4,6]=>1000000
[8,2,1,7,5,3,4,6]=>0000000
[1,7,6,4,5,8,3,2]=>1000000
[5,8,7,4,1,2,6,3]=>0000000
[5,8,7,4,6,2,1,3]=>0000000
[3,4,2,5,8,6,7,1]=>0000000
[4,1,3,5,6,8,7,2]=>0000000
[2,4,8,6,7,1,3,5]=>0000000
[4,3,6,2,8,1,7,5]=>0000000
[3,7,4,8,2,1,6,5]=>0000000
[2,3,5,8,6,7,1,4]=>0000000
[3,2,5,6,8,7,1,4]=>0000000
[2,1,8,5,6,7,3,4]=>0100000
[1,2,8,3,5,6,7,4]=>1100000
[4,2,3,7,1,8,6,5]=>0000000
[3,2,6,4,8,1,7,5]=>0000000
[8,2,1,6,7,3,4,5]=>0000000
[2,7,8,5,4,1,3,6]=>0000000
[1,7,5,3,8,4,2,6]=>1000000
[4,7,5,3,1,2,8,6]=>0000000
[7,2,4,8,5,3,1,6]=>0000000
[4,8,3,1,2,7,6,5]=>0000000
[3,5,2,7,4,1,8,6]=>0000000
[8,4,2,3,7,1,5,6]=>0000000
[2,8,4,7,1,3,5,6]=>0000000
[8,2,4,6,7,1,3,5]=>0000000
[4,8,2,3,6,7,1,5]=>0000000
[3,5,2,7,6,1,8,4]=>0000000
[1,6,3,2,5,8,7,4]=>1000000
[5,8,3,2,1,6,7,4]=>0000000
[5,8,7,3,4,6,2,1]=>0000000
[5,8,2,7,4,1,6,3]=>0000000
[5,1,4,2,8,7,6,3]=>0000000
[4,7,6,5,8,2,1,3]=>0000000
[5,3,7,1,6,2,8,4]=>0000000
[5,2,6,8,7,1,3,4]=>0000000
[6,3,2,1,8,5,7,4]=>0000000
[2,7,5,4,1,8,6,3]=>0000000
[4,2,5,6,8,7,1,3]=>0000000
[1,8,4,2,5,6,7,3]=>1000000
[3,8,4,1,5,6,7,2]=>0000000
[4,2,8,5,6,7,1,3]=>0000000
[5,2,4,7,1,8,6,3]=>0000000
[5,3,4,7,1,8,6,2]=>0000000
[8,6,4,1,3,2,5,7]=>0000000
[8,1,3,6,5,2,4,7]=>0000000
[8,1,4,3,6,5,2,7]=>0000000
[3,6,5,2,1,8,7,4]=>0000000
[8,3,2,4,6,5,1,7]=>0000000
[8,4,2,1,6,5,3,7]=>0000000
[8,4,1,2,6,5,3,7]=>0000000
[8,6,4,2,1,5,3,7]=>0000000
[8,3,6,4,1,5,2,7]=>0000000
[8,2,6,3,4,5,1,7]=>0000000
[1,3,4,8,5,7,2,6]=>1000000
[5,8,4,7,6,2,3,1]=>0000000
[1,3,4,7,5,8,2,6]=>1000000
[1,3,5,2,4,8,7,6]=>1000100
[2,6,5,1,3,8,7,4]=>0000000
[4,7,1,6,5,8,3,2]=>0000000
[5,4,8,7,6,3,1,2]=>0000000
[2,8,5,1,4,7,6,3]=>0000000
[4,3,1,5,8,6,7,2]=>0000000
[4,1,3,5,8,6,7,2]=>0000000
[6,5,3,8,4,7,1,2]=>0000000
[5,4,2,1,6,8,7,3]=>0000000
[6,8,4,3,2,7,1,5]=>0000000
[3,4,7,8,2,1,6,5]=>0000000
[5,1,3,2,8,6,7,4]=>0000000
[5,3,1,2,8,6,7,4]=>0000000
[5,2,3,1,6,8,7,4]=>0000000
[5,3,2,1,8,6,7,4]=>0000000
[5,2,1,3,6,8,7,4]=>0000000
[2,4,7,3,8,1,6,5]=>0000000
[6,3,8,2,7,4,1,5]=>0000000
[8,2,1,3,6,4,7,5]=>0000000
[3,5,1,7,8,4,2,6]=>0000000
[2,7,4,5,8,3,1,6]=>0000000
[1,8,4,3,7,2,6,5]=>1000000
[3,4,8,7,2,1,6,5]=>0000000
[5,4,7,8,3,6,2,1]=>0000000
[6,4,3,8,7,2,1,5]=>0000000
[6,3,8,7,4,1,2,5]=>0000000
[3,5,7,2,4,8,1,6]=>0000000
[8,4,7,2,3,1,5,6]=>0000000
[8,4,7,1,3,2,5,6]=>0000000
[8,4,7,2,1,3,5,6]=>0000000
[8,6,4,2,1,3,7,5]=>0000000
[8,6,4,1,3,2,7,5]=>0000000
[8,6,4,2,3,1,7,5]=>0000000
[3,5,7,2,6,1,8,4]=>0000000
[6,1,3,8,5,7,2,4]=>0000000
[5,8,3,2,6,7,1,4]=>0000000
[4,8,5,3,6,2,7,1]=>0000000
[2,8,1,5,4,7,6,3]=>0000000
[1,5,8,7,4,6,2,3]=>1000000
[2,1,7,6,4,5,8,3]=>0100000
[1,7,2,4,6,5,8,3]=>1000000
[3,5,1,7,6,8,2,4]=>0000000
[5,8,2,6,1,3,7,4]=>0000000
[6,3,5,8,7,2,1,4]=>0000000
[2,5,7,8,4,1,6,3]=>0000000
[4,2,8,1,5,6,7,3]=>0000000
[4,1,5,2,6,8,7,3]=>0000000
[3,4,5,1,6,8,7,2]=>0000000
[4,2,8,5,1,6,7,3]=>0000000
[4,1,8,5,2,6,7,3]=>0000000
[2,7,1,8,5,4,6,3]=>0000000
[5,8,6,2,1,3,7,4]=>0000000
[8,2,4,1,5,6,7,3]=>0000000
[4,6,3,5,8,1,7,2]=>0000000
[1,7,8,3,5,4,6,2]=>1000000
[3,4,5,1,8,6,7,2]=>0000000
[3,8,1,4,5,6,7,2]=>0000000
[3,4,6,2,8,5,1,7]=>0000000
[3,5,6,2,8,4,1,7]=>0000000
[3,5,7,2,4,8,6,1]=>0000000
[3,5,7,8,4,1,6,2]=>0000000
[3,6,8,2,4,5,1,7]=>0000000
[3,7,2,1,4,8,6,5]=>0000000
[3,7,2,8,4,5,6,1]=>0000000
[4,1,5,7,3,8,6,2]=>0000000
[4,1,6,3,7,8,5,2]=>0000000
[4,1,6,3,8,5,2,7]=>0000000
[4,1,6,8,3,5,2,7]=>0000000
[4,1,8,3,2,5,6,7]=>0000000
[4,5,7,3,8,1,6,2]=>0000000
[4,5,8,3,2,1,6,7]=>0000000
[4,6,2,7,8,5,1,3]=>0000000
[4,7,8,3,2,5,6,1]=>0000000
[5,1,2,6,8,4,3,7]=>0000000
[5,1,6,3,8,4,2,7]=>0000000
[5,1,6,7,4,8,2,3]=>0000000
[5,6,2,7,8,4,1,3]=>0000000
[5,7,8,3,4,2,6,1]=>0000000
[6,1,2,3,7,8,5,4]=>0000000
[6,1,2,7,8,5,4,3]=>0000000
[6,7,2,8,4,5,3,1]=>0000000
[7,1,8,3,4,5,6,2]=>0000000
[1,3,5,7,2,6,4,8]=>1000001
[3,5,8,6,1,2,4,7]=>0000000
[3,1,6,8,2,4,7,5]=>0000000
[2,6,1,3,8,4,7,5]=>0000000
[1,6,7,5,3,2,4,8]=>1000001
[8,4,1,2,5,6,3,7]=>0000000
[1,7,3,6,5,2,4,8]=>1000001
[8,2,3,6,5,1,7,4]=>0000000
[4,8,6,5,7,3,2,1]=>0000000
[3,8,7,5,4,6,2,1]=>0000000
[4,8,5,6,7,3,2,1]=>0000000
[2,8,7,6,4,3,5,1]=>0000000
[3,8,7,4,5,6,2,1]=>0000000
[1,8,7,6,5,3,2,4]=>1000000
[2,8,7,6,3,4,5,1]=>0000000
[1,8,7,6,5,2,3,4]=>1000000
[7,2,8,6,5,4,1,3]=>0000000
[6,3,2,8,5,1,7,4]=>0000000
[6,8,5,4,3,1,7,2]=>0000000
[3,6,1,8,5,2,7,4]=>0000000
[3,4,1,2,8,6,7,5]=>0001000
[7,2,5,8,3,6,1,4]=>0000000
[7,6,3,8,5,2,1,4]=>0000000
[7,2,6,4,8,3,1,5]=>0000000
[1,5,7,4,2,6,3,8]=>1000001
[4,2,3,1,7,8,5,6]=>0001000
[5,2,8,4,1,7,6,3]=>0000000
[6,8,3,4,5,1,7,2]=>0000000
[1,6,3,2,5,8,4,7]=>1000000
[8,3,2,1,5,4,7,6]=>0000000
[6,3,7,1,5,8,4,2]=>0000000
[2,5,1,8,4,3,7,6]=>0000000
[6,2,5,4,8,1,3,7]=>0000000
[4,3,1,6,5,8,2,7]=>0000000
[1,3,5,4,6,8,2,7]=>1000000
[6,1,3,4,5,8,2,7]=>0000000
[8,3,4,1,5,2,7,6]=>0000000
[7,5,4,2,6,8,3,1]=>0000000
[8,2,6,4,1,7,3,5]=>0000000
[7,3,8,4,5,2,1,6]=>0000000
[7,2,5,1,8,4,3,6]=>0000000
[1,7,3,2,5,4,8,6]=>1000000
[8,7,2,1,5,3,4,6]=>0000000
[3,6,1,5,8,7,4,2]=>0000000
[8,3,6,4,5,1,7,2]=>0000000
[5,4,6,8,1,2,7,3]=>0000000
[6,4,7,2,3,5,8,1]=>0000000
[6,8,4,1,3,5,7,2]=>0000000
[3,4,7,8,6,2,5,1]=>0000000
[4,1,3,5,7,8,6,2]=>0000000
[6,5,1,8,4,7,3,2]=>0000000
[5,3,1,8,4,7,6,2]=>0000000
[8,2,7,4,6,1,3,5]=>0000000
[4,7,3,2,8,1,6,5]=>0000000
[6,3,1,4,7,2,8,5]=>0000000
[8,7,3,6,1,5,2,4]=>0000000
[7,4,3,6,8,2,5,1]=>0000000
[2,4,7,3,8,5,6,1]=>0000000
[2,8,6,1,5,7,3,4]=>0000000
[7,8,2,5,4,3,1,6]=>0000000
[1,8,3,4,2,7,6,5]=>1000000
[8,5,3,7,4,2,6,1]=>0000000
[5,7,3,2,4,1,8,6]=>0000000
[2,8,3,4,7,1,5,6]=>0000000
[4,1,3,6,7,8,2,5]=>0000000
[1,7,6,3,2,5,8,4]=>1000000
[3,8,1,5,6,2,7,4]=>0000000
[8,2,5,6,1,7,4,3]=>0000000
[7,1,5,2,8,6,4,3]=>0000000
[6,5,4,8,7,2,1,3]=>0000000
[1,8,6,4,5,2,7,3]=>1000000
[1,8,5,3,6,2,7,4]=>1000000
[3,6,2,1,7,5,8,4]=>0000000
[2,5,4,1,8,7,6,3]=>0000000
[4,7,2,6,5,8,1,3]=>0000000
[6,8,1,4,2,7,3,5]=>0000000
[6,3,4,7,1,8,2,5]=>0000000
[3,4,7,8,2,5,6,1]=>0000000
[1,8,2,4,5,6,7,3]=>1000000
[5,2,4,1,6,8,7,3]=>0000000
[3,2,5,7,6,1,8,4]=>0000000
[4,3,5,6,1,8,7,2]=>0000000
[5,3,4,1,7,6,8,2]=>0000000
[3,1,4,6,5,7,8,2]=>0000000
[1,4,7,3,5,6,8,2]=>1000000
[5,1,3,6,4,8,7,2]=>0000000
[1,3,2,7,5,8,6,4]=>1010000
[1,4,2,5,8,3,7,6]=>1000000
[1,4,2,7,8,5,6,3]=>1000000
[5,1,2,6,8,4,7,3]=>0000000
[3,1,2,6,5,8,4,7]=>0010000
[4,1,2,6,8,5,3,7]=>0000000
[1,5,2,4,8,7,6,3]=>1000000
[1,2,6,4,8,7,5,3]=>1100000
[1,2,7,4,8,6,5,3]=>1100000
[1,3,2,7,5,8,4,6]=>1010000
[2,3,1,7,5,4,8,6]=>0010000
[1,3,2,8,5,7,4,6]=>1010000
[1,4,2,5,8,7,3,6]=>1000000
[1,5,2,4,8,7,3,6]=>1000000
[1,2,6,4,8,7,3,5]=>1100000
[1,2,7,8,5,6,3,4]=>1100000
[1,2,6,8,5,7,3,4]=>1100000
[1,5,6,8,2,7,3,4]=>1000000
[1,3,8,2,6,7,4,5]=>1000000
[1,4,7,2,8,6,3,5]=>1000000
[1,6,7,8,2,5,3,4]=>1000000
[1,2,6,8,3,7,5,4]=>1100000
[1,5,7,8,2,3,6,4]=>1000000
[1,5,2,7,8,4,6,3]=>1000000
[1,4,7,2,8,3,6,5]=>1000000
[1,3,6,2,4,8,7,5]=>1000000
[1,6,7,3,4,8,5,2]=>1000000
[1,5,3,7,4,8,6,2]=>1000000
[2,8,4,1,5,3,7,6]=>0000000
[3,8,4,1,5,7,2,6]=>0000000
[1,3,6,4,2,8,7,5]=>1000000
[1,3,7,4,2,8,6,5]=>1000000
[1,3,8,4,2,7,6,5]=>1000000
[1,2,8,4,7,3,6,5]=>1100000
[1,2,7,4,8,3,6,5]=>1100000
[1,2,6,4,8,3,7,5]=>1100000
[1,5,2,4,8,3,7,6]=>1000000
[1,8,4,5,7,2,3,6]=>1000000
[1,8,3,5,2,7,4,6]=>1000000
[2,8,3,5,1,4,7,6]=>0000000
[2,3,8,6,1,4,7,5]=>0000000
[1,3,8,6,2,7,4,5]=>1000000
[1,4,8,6,7,2,3,5]=>1000000
[1,5,6,8,7,2,3,4]=>1000000
[1,2,6,8,5,3,7,4]=>1100000
[1,2,7,8,5,3,6,4]=>1100000
[1,2,5,8,7,3,6,4]=>1100000
[1,2,6,8,7,3,5,4]=>1100000
[1,2,7,8,6,3,5,4]=>1100000
[1,6,7,8,5,2,3,4]=>1000000
[1,5,7,8,6,2,3,4]=>1000000
[1,4,7,6,8,2,3,5]=>1000000
[1,3,7,6,2,8,4,5]=>1000000
[2,3,8,7,4,1,6,5]=>0000000
[1,2,8,4,7,6,3,5]=>1100000
[1,2,5,8,7,6,3,4]=>1100000
[1,2,6,8,7,5,3,4]=>1100000
[1,2,7,8,6,5,3,4]=>1100000
[5,2,6,7,3,4,8,1]=>0000000
[5,2,4,7,6,3,8,1]=>0000000
[5,6,2,1,7,8,3,4]=>0000000
[5,6,2,1,4,8,7,3]=>0000000
[2,6,1,4,5,8,7,3]=>0000000
[5,4,2,7,6,3,8,1]=>0000000
[2,3,7,6,4,5,8,1]=>0000000
[2,6,1,7,5,8,3,4]=>0000000
[2,6,1,7,4,8,5,3]=>0000000
[5,1,2,7,8,4,3,6]=>0000000
[2,6,1,7,4,8,3,5]=>0000000
[3,6,4,1,7,8,2,5]=>0000000
[5,4,6,1,3,8,7,2]=>0000000
[3,6,4,1,5,8,7,2]=>0000000
[2,6,1,5,4,8,7,3]=>0000000
[2,6,1,4,7,8,5,3]=>0000000
[5,1,2,4,8,6,7,3]=>0000000
[5,1,2,4,8,7,3,6]=>0000000
[5,1,2,4,8,7,6,3]=>0000000
[1,2,3,8,5,4,7,6]=>1110000
[4,3,1,2,8,5,7,6]=>0001000
[2,1,5,3,8,6,4,7]=>0100000
[1,2,3,8,5,6,4,7]=>1110000
[1,2,3,8,6,4,5,7]=>1110000
[1,2,3,8,6,5,4,7]=>1110000
[1,2,3,8,5,4,6,7]=>1110000
[2,6,1,5,4,8,3,7]=>0000000
[5,1,2,4,8,6,3,7]=>0000000
[5,1,2,4,8,3,7,6]=>0000000
[5,6,3,1,4,8,2,7]=>0000000
[2,5,4,3,1,8,6,7]=>0000100
[5,4,6,3,1,8,7,2]=>0000000
[3,6,4,5,1,8,7,2]=>0000000
[3,6,5,4,1,8,7,2]=>0000000
[5,2,6,1,7,8,4,3]=>0000000
[5,1,6,2,8,7,3,4]=>0000000
[2,1,3,7,8,6,4,5]=>0110000
[2,1,3,7,8,5,6,4]=>0110000
[5,2,4,1,7,8,6,3]=>0000000
[4,3,1,2,8,6,7,5]=>0001000
[5,1,4,2,8,6,7,3]=>0000000
[2,1,3,6,8,5,7,4]=>0110000
[1,2,3,8,6,7,4,5]=>1110000
[1,2,3,8,7,5,4,6]=>1110000
[1,2,3,8,7,4,5,6]=>1110000
[1,2,3,8,5,7,4,6]=>1110000
[2,1,3,6,8,7,4,5]=>0110000
[5,4,1,2,8,7,6,3]=>0000000
[3,1,6,2,8,7,5,4]=>0000000
[1,8,3,4,2,5,6,7]=>1000000
[1,8,4,3,2,5,6,7]=>1000000
[8,5,7,4,6,3,2,1]=>0000000
[8,1,7,4,6,5,3,2]=>0000000
[8,2,7,3,6,5,4,1]=>0000000
[8,3,7,2,6,5,4,1]=>0000000
[8,5,7,2,6,4,3,1]=>0000000
[8,4,7,1,6,5,3,2]=>0000000
[8,3,7,1,6,5,4,2]=>0000000
[8,2,7,1,6,5,4,3]=>0000000
[8,1,7,2,6,5,4,3]=>0000000
[8,1,7,6,5,3,4,2]=>0000000
[8,3,7,6,5,2,4,1]=>0000000
[8,4,7,6,5,2,3,1]=>0000000
[8,5,7,6,4,2,3,1]=>0000000
[8,3,7,6,5,1,4,2]=>0000000
[8,7,6,1,5,2,4,3]=>0000000
[6,8,1,3,2,5,4,7]=>0000000
[6,8,1,4,2,5,3,7]=>0000000
[7,8,3,6,1,4,2,5]=>0000000
[7,8,2,5,3,6,1,4]=>0000000
[7,8,2,5,1,4,3,6]=>0000000
[7,8,1,4,3,6,2,5]=>0000000
[5,8,1,4,3,7,2,6]=>0000000
[6,8,2,5,1,4,3,7]=>0000000
[6,8,2,5,3,7,1,4]=>0000000
[6,8,2,5,4,7,1,3]=>0000000
[2,5,4,7,6,8,1,3]=>0000000
[2,5,3,7,6,8,1,4]=>0000000
[2,5,1,4,3,7,6,8]=>0000101
[2,6,1,4,3,7,5,8]=>0000001
[2,6,5,8,1,4,3,7]=>0000000
[2,6,1,5,3,7,4,8]=>0000001
[2,6,3,7,4,8,1,5]=>0000000
[2,6,4,7,5,8,1,3]=>0000000
[5,8,3,6,4,7,1,2]=>0000000
[5,8,2,6,4,7,1,3]=>0000000
[4,8,2,6,3,7,1,5]=>0000000
[4,8,1,5,3,7,2,6]=>0000000
[4,8,1,5,2,6,3,7]=>0000000
[4,8,3,7,1,5,2,6]=>0000000
[6,8,3,7,1,4,2,5]=>0000000
[5,8,1,3,2,6,4,7]=>0000000
[5,8,4,7,1,3,2,6]=>0000000
[6,8,4,7,1,3,2,5]=>0000000
[6,8,5,7,1,3,2,4]=>0000000
[5,7,6,8,2,4,1,3]=>0000000
[4,7,6,8,1,3,2,5]=>0000000
[4,7,5,8,1,3,2,6]=>0000000
[4,7,1,3,2,6,5,8]=>0000001
[3,7,1,4,2,6,5,8]=>0000001
[3,7,5,8,1,4,2,6]=>0000000
[3,7,6,8,1,4,2,5]=>0000000
[3,7,6,8,2,5,1,4]=>0000000
[4,7,6,8,2,5,1,3]=>0000000
[4,7,5,8,3,6,1,2]=>0000000
[4,7,5,8,2,6,1,3]=>0000000
[3,7,5,8,2,6,1,4]=>0000000
[3,7,4,8,2,6,1,5]=>0000000
[3,7,4,8,1,5,2,6]=>0000000
[3,7,1,5,2,6,4,8]=>0000001
[3,7,2,6,1,5,4,8]=>0000001
[3,7,2,6,5,8,1,4]=>0000000
[4,7,3,6,5,8,1,2]=>0000000
[3,6,5,8,4,7,1,2]=>0000000
[2,6,5,8,4,7,1,3]=>0000000
[2,6,5,8,3,7,1,4]=>0000000
[2,6,3,7,1,5,4,8]=>0000001
[7,6,4,2,8,5,3,1]=>0000000
[7,6,4,3,8,2,5,1]=>0000000
[7,6,4,8,5,2,3,1]=>0000000
[6,8,4,3,7,2,1,5]=>0000000
[6,7,4,3,5,1,8,2]=>0000000
[6,7,3,5,4,8,2,1]=>0000000
[6,8,3,7,5,2,4,1]=>0000000
[7,6,8,3,5,2,4,1]=>0000000
[7,6,3,5,8,2,4,1]=>0000000
[7,6,3,5,2,4,8,1]=>0000000
[7,6,4,2,5,1,8,3]=>0000000
[7,6,2,8,4,1,5,3]=>0000000
[7,6,3,8,2,4,1,5]=>0000000
[7,6,3,4,8,2,5,1]=>0000000
[6,8,3,7,4,5,2,1]=>0000000
[6,7,3,5,8,4,2,1]=>0000000
[5,7,8,3,6,2,1,4]=>0000000
[5,8,3,6,7,2,1,4]=>0000000
[6,3,4,8,7,2,5,1]=>0000000
[6,3,8,4,7,2,1,5]=>0000000
[6,2,8,4,1,7,5,3]=>0000000
[6,2,7,4,1,5,3,8]=>0000001
[6,3,4,7,5,8,2,1]=>0000000
[6,3,5,7,8,4,2,1]=>0000000
[5,7,3,6,8,2,1,4]=>0000000
[5,6,8,3,7,2,1,4]=>0000000
[5,6,7,3,4,1,8,2]=>0000000
[4,6,7,8,3,5,2,1]=>0000000
[4,6,8,3,5,7,2,1]=>0000000
[4,7,3,5,6,8,2,1]=>0000000
[4,7,3,5,8,2,6,1]=>0000000
[5,3,4,7,8,2,1,6]=>0000000
[5,3,8,2,4,1,6,7]=>0000000
[5,3,4,8,2,6,1,7]=>0000000
[4,8,3,6,2,5,7,1]=>0000000
[4,8,3,5,7,2,6,1]=>0000000
[4,8,3,5,6,7,2,1]=>0000000
[4,7,8,3,5,6,2,1]=>0000000
[4,7,8,3,6,2,5,1]=>0000000
[4,8,3,6,7,2,5,1]=>0000000
[4,8,3,7,2,5,6,1]=>0000000
[5,3,4,8,2,7,6,1]=>0000000
[5,3,8,2,4,1,7,6]=>0000000
[5,2,8,4,1,7,3,6]=>0000000
[6,4,2,5,1,8,7,3]=>0000000
[6,4,3,5,8,2,1,7]=>0000000
[6,3,5,8,7,2,4,1]=>0000000
[5,8,3,7,2,6,4,1]=>0000000
[5,7,3,4,8,2,1,6]=>0000000
[5,8,4,2,3,1,6,7]=>0000000
[5,8,4,2,3,1,7,6]=>0000000
[6,4,5,3,8,2,1,7]=>0000000
[6,4,8,5,3,7,2,1]=>0000000
[6,4,3,8,5,7,2,1]=>0000000
[6,4,2,8,5,3,1,7]=>0000000
[6,4,2,7,3,1,8,5]=>0000000
[6,4,3,7,8,5,2,1]=>0000000
[6,4,5,3,7,1,8,2]=>0000000
[5,7,4,2,3,1,6,8]=>0000001
[5,6,3,7,1,8,2,4]=>0000000
[5,6,3,4,7,1,8,2]=>0000000
[5,6,3,4,8,2,1,7]=>0000000
[6,3,5,7,4,8,2,1]=>0000000
[6,3,5,4,7,8,2,1]=>0000000
[6,4,3,5,7,1,8,2]=>0000000
[6,4,2,5,1,7,3,8]=>0000001
[5,3,7,2,4,1,6,8]=>0000001
[5,3,4,7,2,6,1,8]=>0000001
[4,7,3,6,2,5,8,1]=>0000000
[4,7,3,6,8,2,5,1]=>0000000
[4,6,7,3,5,8,2,1]=>0000000
[4,5,7,8,3,6,2,1]=>0000000
[4,5,8,3,6,7,2,1]=>0000000
[4,5,8,3,7,2,6,1]=>0000000
[5,3,4,6,8,2,1,7]=>0000000
[5,3,6,8,2,1,4,7]=>0000000
[5,3,6,7,1,8,2,4]=>0000000
[5,3,4,6,7,1,8,2]=>0000000
[4,6,3,5,7,8,2,1]=>0000000
[4,5,7,3,6,8,2,1]=>0000000
[4,5,6,8,3,7,2,1]=>0000000
[5,7,4,8,6,3,2,1]=>0000000
[3,2,6,5,1,8,7,4]=>0000000
[3,5,6,7,2,8,4,1]=>0000000
[1,6,2,5,3,4,8,7]=>1000010
[1,3,8,2,4,6,5,7]=>1000000
[1,7,2,3,6,4,8,5]=>1000000
[1,6,8,2,5,3,7,4]=>1000000
[1,8,2,5,3,4,7,6]=>1000000
[1,8,2,3,6,4,7,5]=>1000000
[1,3,5,2,8,4,7,6]=>1000000
[1,2,7,3,5,4,6,8]=>1100001
[1,8,2,7,3,4,6,5]=>1000000
[1,5,8,2,3,7,4,6]=>1000000
[1,6,8,2,3,5,4,7]=>1000000
[7,1,5,8,4,2,3,6]=>0000000
[7,1,4,5,8,2,3,6]=>0000000
[2,1,7,5,8,3,4,6]=>0100000
[7,1,5,4,8,2,3,6]=>0000000
[8,3,7,1,2,4,6,5]=>0000000
[8,3,7,5,1,2,4,6]=>0000000
[6,7,1,8,4,2,3,5]=>0000000
[6,8,1,7,4,2,3,5]=>0000000
[7,1,8,4,5,2,3,6]=>0000000
[2,1,7,8,5,3,4,6]=>0100000
[6,1,2,3,8,7,5,4]=>0000000
[6,8,1,4,2,3,7,5]=>0000000
[6,8,3,1,2,7,4,5]=>0000000
[6,7,3,1,2,8,4,5]=>0000000
[6,7,1,4,2,3,8,5]=>0000000
[4,3,6,8,5,7,1,2]=>0000000
[6,1,2,5,4,8,3,7]=>0000000
[7,2,1,5,8,3,4,6]=>0000000
[1,3,6,8,7,4,2,5]=>1000000
[1,2,8,5,7,3,4,6]=>1100000
[2,6,1,5,8,3,4,7]=>0000000
[5,7,1,6,8,4,3,2]=>0000000
[4,8,1,2,5,7,3,6]=>0000000
[8,4,6,2,5,7,3,1]=>0000000
[8,3,6,4,7,2,5,1]=>0000000
[3,8,1,4,7,2,5,6]=>0000000
[1,7,8,4,6,2,5,3]=>1000000
[3,7,4,8,5,1,6,2]=>0000000
[3,7,1,6,5,4,8,2]=>0000000
[2,7,3,1,5,8,4,6]=>0000000
[2,7,4,6,8,1,3,5]=>0000000
[2,7,5,8,6,4,1,3]=>0000000
[8,2,6,7,5,4,3,1]=>0000000
[3,8,7,1,6,4,5,2]=>0000000
[3,6,8,2,7,4,1,5]=>0000000
[1,5,2,8,7,4,6,3]=>1000000
[3,4,2,7,8,1,6,5]=>0000000
[4,1,3,7,5,6,8,2]=>0000000
[6,3,8,1,7,4,2,5]=>0000000
[6,5,8,7,1,4,2,3]=>0000000
[4,1,7,3,8,5,2,6]=>0000000
[3,6,1,4,5,8,2,7]=>0000000
[1,6,7,4,5,3,8,2]=>1000000
[6,1,7,3,5,4,8,2]=>0000000
[6,3,1,2,5,8,4,7]=>0000000
[1,4,7,2,8,5,3,6]=>1000000
[5,6,8,7,2,4,1,3]=>0000000
[6,8,5,7,1,2,4,3]=>0000000
[2,8,4,1,7,5,6,3]=>0000000
[8,2,4,3,7,5,6,1]=>0000000
[6,8,2,1,5,7,3,4]=>0000000
[7,2,8,4,1,6,3,5]=>0000000
[1,2,4,8,6,5,3,7]=>1100000
[7,1,5,6,8,4,3,2]=>0000000
[2,7,8,1,4,6,3,5]=>0000000
[4,8,2,5,7,1,6,3]=>0000000
[4,1,6,8,5,3,7,2]=>0000000
[5,2,6,4,8,3,1,7]=>0000000
[6,7,1,3,4,5,8,2]=>0000000
[1,7,3,2,4,8,5,6]=>1000000
[1,3,6,5,2,8,4,7]=>1000000
[7,1,6,5,3,4,8,2]=>0000000
[6,8,7,4,2,3,5,1]=>0000000
[8,6,1,3,5,4,2,7]=>0000000
[5,3,8,6,1,2,4,7]=>0000000
[3,8,7,2,6,4,5,1]=>0000000
[6,3,5,4,8,7,2,1]=>0000000
[8,5,2,7,1,4,3,6]=>0000000
[5,1,8,6,3,4,2,7]=>0000000
[8,2,3,7,6,4,5,1]=>0000000
[7,2,5,6,4,8,1,3]=>0000000
[1,6,7,4,8,2,3,5]=>1000000
[8,2,1,3,5,6,7,4]=>0000000
[4,1,3,8,2,6,7,5]=>0000000
[3,6,1,4,7,2,8,5]=>0000000
[6,2,7,4,5,8,1,3]=>0000000
[1,8,5,7,3,2,4,6]=>1000000
[2,7,4,1,5,3,8,6]=>0000000
[7,4,8,6,2,3,1,5]=>0000000
[7,1,3,2,8,5,4,6]=>0000000
[5,1,7,4,2,3,8,6]=>0000000
[4,1,8,6,5,3,2,7]=>0000000
[5,7,4,3,6,2,8,1]=>0000000
[6,7,5,1,2,8,3,4]=>0000000
[5,2,6,8,3,4,7,1]=>0000000
[3,6,8,4,7,2,5,1]=>0000000
[6,2,7,5,8,3,1,4]=>0000000
[2,1,5,6,8,3,7,4]=>0100000
[1,6,8,3,2,7,4,5]=>1000000
[6,5,7,2,8,4,1,3]=>0000000
[5,7,3,6,4,8,2,1]=>0000000
[3,6,1,4,2,7,8,5]=>0000000
[1,2,6,3,5,8,7,4]=>1100000
[2,3,5,1,8,4,7,6]=>0000000
[2,3,6,1,8,5,4,7]=>0000000
[3,1,7,5,4,8,6,2]=>0000000
[1,2,7,6,4,8,5,3]=>1100000
[1,2,7,3,6,8,5,4]=>1100000
[2,3,6,1,8,5,7,4]=>0000000
[1,2,5,8,4,7,3,6]=>1100000
[1,3,6,8,5,2,7,4]=>1000000
[1,2,6,8,5,4,3,7]=>1100000
[1,3,5,8,2,4,7,6]=>1000000
[1,4,6,8,3,2,5,7]=>1000000
[1,3,7,5,6,8,2,4]=>1000000
[1,2,6,7,3,8,5,4]=>1100000
[1,2,5,7,3,8,6,4]=>1100000
[2,3,6,5,8,7,1,4]=>0000000
[1,2,7,5,6,8,4,3]=>1100000
[3,1,6,7,5,8,4,2]=>0000000
[4,6,2,7,5,8,3,1]=>0000000
[3,5,7,4,8,2,6,1]=>0000000
[1,4,6,8,3,5,7,2]=>1000000
[1,3,5,8,2,7,4,6]=>1000000
[1,2,5,8,4,7,6,3]=>1100000
[1,2,5,8,7,4,3,6]=>1100000
[1,3,5,8,7,2,4,6]=>1000000
[6,4,5,7,2,8,1,3]=>0000000
[5,3,4,7,2,8,1,6]=>0000000
[3,2,7,4,6,8,1,5]=>0000000
[5,3,6,2,7,1,4,8]=>0000001
[2,6,3,4,7,1,5,8]=>0000001
[2,7,3,4,5,8,1,6]=>0000000
[3,7,4,5,6,8,1,2]=>0000000
[2,5,7,3,6,8,1,4]=>0000000
[4,7,6,2,3,8,1,5]=>0000000
[7,3,5,2,4,8,1,6]=>0000000
[7,6,2,4,5,8,1,3]=>0000000
[6,5,2,3,4,8,1,7]=>0000000
[5,3,1,2,8,4,7,6]=>0000000
[6,5,2,3,7,1,4,8]=>0000001
[5,2,1,7,3,4,6,8]=>0000001
[5,2,1,8,3,4,6,7]=>0000000
[6,3,2,8,4,5,7,1]=>0000000
[7,3,1,2,8,4,6,5]=>0000000
[6,4,1,3,8,5,7,2]=>0000000
[6,2,3,1,8,4,7,5]=>0000000
[8,3,5,2,7,1,4,6]=>0000000
[8,6,2,4,7,1,5,3]=>0000000
[8,5,2,3,6,1,4,7]=>0000000
[8,2,1,7,3,4,5,6]=>0000000
[8,6,3,7,2,4,5,1]=>0000000
[7,1,6,2,3,4,5,8]=>0000001
[8,2,7,3,4,5,6,1]=>0000000
[8,1,6,2,3,4,5,7]=>0000000
[8,1,7,3,4,5,6,2]=>0000000
[8,6,1,7,2,4,5,3]=>0000000
[8,1,5,7,2,3,6,4]=>0000000
[1,7,5,8,2,3,6,4]=>1000000
[7,2,1,8,3,4,5,6]=>0000000
[7,3,8,2,4,5,6,1]=>0000000
[7,2,8,3,4,5,6,1]=>0000000
[1,7,8,3,4,5,6,2]=>1000000
[1,4,5,8,3,6,7,2]=>1000000
[2,5,7,1,8,3,6,4]=>0000000
[6,2,7,1,8,4,5,3]=>0000000
[4,7,1,3,8,5,6,2]=>0000000
[1,6,2,8,4,5,7,3]=>1000000
[4,1,3,6,8,2,7,5]=>0000000
[5,3,4,6,8,2,7,1]=>0000000
[4,6,3,8,7,1,2,5]=>0000000
[6,4,5,8,7,1,2,3]=>0000000
[5,3,4,8,7,1,2,6]=>0000000
[3,2,8,7,1,4,6,5]=>0000000
[3,1,8,7,2,4,6,5]=>0000000
[5,3,7,6,1,2,4,8]=>0000001
[1,8,3,7,2,4,5,6]=>1000000
[3,8,1,7,2,4,5,6]=>0000000
[6,8,2,3,5,1,4,7]=>0000000
[4,7,8,2,6,1,3,5]=>0000000
[6,2,8,7,1,4,5,3]=>0000000
[3,8,7,1,4,5,6,2]=>0000000
[2,8,6,1,3,4,5,7]=>0000000
[2,7,6,1,3,4,5,8]=>0000001
[1,7,6,2,3,4,5,8]=>1000001
[1,8,6,2,3,4,5,7]=>1000000
[2,8,7,3,4,5,6,1]=>0000000
[3,8,7,2,4,5,6,1]=>0000000
[7,8,3,6,2,4,5,1]=>0000000
[1,5,8,7,2,3,6,4]=>1000000
[8,7,6,1,3,4,5,2]=>0000000
[3,6,2,4,7,1,8,5]=>0000000
[3,4,7,2,5,1,8,6]=>0000000
[2,1,6,4,8,5,3,7]=>0100000
[4,1,8,5,3,2,7,6]=>0000000
[3,6,2,5,7,1,4,8]=>0000001
[1,2,8,3,7,5,4,6]=>1100000
[6,1,3,2,8,5,4,7]=>0000000
[5,6,1,2,8,4,3,7]=>0000000
[1,6,3,8,7,4,2,5]=>1000000
[4,3,8,1,2,6,7,5]=>0000000
[3,6,8,7,1,2,5,4]=>0000000
[6,5,7,2,4,8,1,3]=>0000000
[3,4,1,6,5,8,7,2]=>0000000
[3,5,1,2,4,8,7,6]=>0000100
[3,7,5,2,1,4,6,8]=>0000001
[3,8,5,2,7,4,1,6]=>0000000
[5,2,8,4,7,3,1,6]=>0000000
[5,2,7,4,1,3,6,8]=>0000001
[4,3,5,1,2,8,7,6]=>0000100
[3,1,4,6,2,8,7,5]=>0000000
[1,4,6,5,2,8,7,3]=>1000000
[3,4,5,6,1,8,7,2]=>0000000
[3,4,5,8,7,2,1,6]=>0000000
[1,4,7,2,6,3,5,8]=>1000001
[8,4,7,5,2,1,6,3]=>0000000
[8,1,4,7,2,3,6,5]=>0000000
[1,8,5,7,3,4,6,2]=>1000000
[6,3,5,1,7,4,2,8]=>0000001
[6,1,4,8,7,3,2,5]=>0000000
[6,4,8,5,7,1,2,3]=>0000000
[5,4,8,1,6,3,2,7]=>0000000
[1,4,8,6,3,7,2,5]=>1000000
[5,4,7,6,3,8,1,2]=>0000000
[4,6,3,7,5,8,1,2]=>0000000
[4,1,3,5,8,6,2,7]=>0000000
[5,7,4,3,8,1,2,6]=>0000000
[1,4,8,3,7,6,5,2]=>1000000
[4,3,8,2,1,6,5,7]=>0000000
[3,8,4,2,7,1,5,6]=>0000000
[3,1,2,5,7,6,4,8]=>0010001
[1,8,2,7,6,5,4,3]=>1000000
[3,8,1,6,7,5,4,2]=>0000000
[3,7,2,6,8,5,1,4]=>0000000
[7,2,3,8,5,6,1,4]=>0000000
[8,2,1,7,5,6,4,3]=>0000000
[8,1,3,6,5,7,4,2]=>0000000
[8,2,4,3,6,1,5,7]=>0000000
[1,7,8,5,4,3,6,2]=>1000000
[1,8,4,5,3,2,6,7]=>1000000
[7,8,5,4,3,1,6,2]=>0000000
[7,1,6,3,4,2,5,8]=>0000001
[6,8,7,1,4,2,5,3]=>0000000
[3,6,1,4,2,7,5,8]=>0000001
[3,4,1,8,5,7,6,2]=>0000000
[3,6,5,1,2,8,4,7]=>0000000
[3,8,5,6,7,2,1,4]=>0000000
[8,1,7,6,2,4,3,5]=>0000000
[8,5,6,1,4,2,3,7]=>0000000
[8,6,5,4,7,1,3,2]=>0000000
[1,6,4,5,7,2,3,8]=>1000001
[8,3,6,1,7,2,4,5]=>0000000
[1,8,6,5,7,3,4,2]=>1000000
[1,7,5,3,6,8,4,2]=>1000000
[7,4,1,6,5,8,3,2]=>0000000
[4,1,5,8,7,6,3,2]=>0000000
[1,2,5,8,6,7,3,4]=>1100000
[4,2,1,5,8,7,3,6]=>0000000
[5,2,4,6,1,7,3,8]=>0000001
[1,5,3,6,8,7,4,2]=>1000000
[3,5,4,6,1,8,2,7]=>0000000
[3,1,5,7,6,8,2,4]=>0000000
[1,4,5,6,8,7,2,3]=>1000000
[1,4,6,3,7,2,8,5]=>1000000
[1,7,3,6,5,2,8,4]=>1000000
[8,6,2,5,4,1,7,3]=>0000000
[3,7,2,6,5,4,1,8]=>0000001
[7,6,2,5,4,3,1,8]=>0000001
[4,7,5,2,6,3,1,8]=>0000001
[3,2,6,4,7,5,1,8]=>0000001
[6,2,3,7,5,4,1,8]=>0000001
[1,3,4,7,6,2,8,5]=>1000000
[2,8,3,6,1,7,5,4]=>0000000
[8,7,2,5,1,6,4,3]=>0000000
[3,8,2,6,5,1,7,4]=>0000000
[7,8,2,5,4,1,6,3]=>0000000
[4,8,5,2,6,1,7,3]=>0000000
[4,5,1,3,7,2,8,6]=>0000000
[6,1,3,7,5,2,8,4]=>0000000
[7,1,3,6,2,8,5,4]=>0000000
[8,1,3,6,2,7,5,4]=>0000000
[1,2,4,7,3,8,6,5]=>1100000
[7,1,8,2,6,5,4,3]=>0000000
[3,1,8,6,2,7,5,4]=>0000000
[4,1,7,8,2,6,5,3]=>0000000
[5,6,1,8,2,7,4,3]=>0000000
[4,2,7,8,1,6,5,3]=>0000000
[3,2,8,6,1,7,5,4]=>0000000
[7,2,8,1,6,5,4,3]=>0000000
[1,8,7,2,6,5,4,3]=>1000000
[2,8,7,1,6,5,4,3]=>0000000
[3,8,7,1,6,5,4,2]=>0000000
[4,8,7,5,1,6,3,2]=>0000000
[6,7,8,5,1,4,3,2]=>0000000
[5,6,3,8,4,1,7,2]=>0000000
[7,3,8,5,4,1,6,2]=>0000000
[3,4,8,6,5,1,7,2]=>0000000
[8,3,7,5,1,6,4,2]=>0000000
[1,4,8,6,2,7,5,3]=>1000000
[8,4,6,7,1,5,3,2]=>0000000
[5,6,4,7,8,1,3,2]=>0000000
[3,4,6,5,1,2,8,7]=>0000010
[7,3,5,1,2,8,6,4]=>0000000
[1,4,6,2,3,8,7,5]=>1000000
[1,3,2,7,4,8,6,5]=>1010000
[7,2,1,6,3,8,5,4]=>0000000
[2,3,1,7,6,4,8,5]=>0010000
[4,5,2,1,7,3,8,6]=>0000000
[5,6,7,1,2,8,4,3]=>0000000
[4,7,5,1,2,8,6,3]=>0000000
[3,7,1,6,2,8,5,4]=>0000000
[7,6,1,2,8,5,4,3]=>0000000
[2,7,1,3,8,6,5,4]=>0000000
[8,6,1,2,7,5,4,3]=>0000000
[1,7,2,3,8,6,5,4]=>1000000
[8,7,1,2,6,5,4,3]=>0000000
[7,8,1,2,6,5,4,3]=>0000000
[3,8,1,6,2,7,5,4]=>0000000
[4,8,5,1,2,7,6,3]=>0000000
[5,6,8,1,2,7,4,3]=>0000000
[2,1,3,7,4,8,6,5]=>0110000
[4,2,7,3,6,8,1,5]=>0000000
[5,3,6,4,2,8,1,7]=>0000000
[4,1,5,3,8,2,7,6]=>0000000
[5,2,6,4,7,3,1,8]=>0000001
[2,6,3,4,7,5,1,8]=>0000001
[2,6,3,5,4,8,1,7]=>0000000
[2,7,4,3,5,8,1,6]=>0000000
[7,3,6,4,2,8,1,5]=>0000000
[7,6,4,5,2,8,1,3]=>0000000
[5,4,3,1,8,2,7,6]=>0000000
[6,5,4,2,7,3,1,8]=>0000001
[5,4,1,7,2,6,3,8]=>0000001
[5,4,1,8,3,2,6,7]=>0000000
[6,5,2,8,3,4,7,1]=>0000000
[7,4,2,1,8,3,6,5]=>0000000
[6,5,3,4,8,2,7,1]=>0000000
[6,1,5,3,8,2,7,4]=>0000000
[4,6,3,1,8,2,7,5]=>0000000
[5,8,4,2,7,3,1,6]=>0000000
[8,2,6,4,7,3,1,5]=>0000000
[8,6,2,5,7,4,1,3]=>0000000
[8,5,3,2,6,4,1,7]=>0000000
[8,3,1,7,2,5,4,6]=>0000000
[7,5,2,6,4,3,1,8]=>0000001
[7,1,6,2,5,4,3,8]=>0000001
[8,1,7,3,5,6,4,2]=>0000000
[8,6,1,7,4,5,2,3]=>0000000
[8,1,3,7,2,6,5,4]=>0000000
[1,7,6,8,3,2,4,5]=>1000000
[7,1,5,8,4,2,6,3]=>0000000
[7,3,8,4,5,2,6,1]=>0000000
[7,2,8,5,3,4,6,1]=>0000000
[6,1,8,4,3,2,5,7]=>0000000
[6,1,7,4,2,5,3,8]=>0000001
[1,2,7,3,4,6,5,8]=>1100001
[1,7,8,4,3,5,6,2]=>1000000
[1,6,2,8,3,5,7,4]=>1000000
[2,6,1,7,3,5,4,8]=>0000001
[3,1,5,8,4,2,6,7]=>0000000
[4,3,1,6,8,2,7,5]=>0000000
[5,7,4,8,3,2,1,6]=>0000000
[5,4,8,2,7,3,1,6]=>0000000
[5,2,8,7,3,4,1,6]=>0000000
[6,4,7,5,3,2,1,8]=>0000001
[1,8,3,7,6,2,4,5]=>1000000
[5,8,3,2,6,4,1,7]=>0000000
[6,8,2,4,7,5,1,3]=>0000000
[7,3,8,2,6,4,1,5]=>0000000
[4,6,8,2,7,3,1,5]=>0000000
[2,6,8,7,3,4,1,5]=>0000000
[7,2,8,6,3,5,1,4]=>0000000
[6,8,1,7,2,5,4,3]=>0000000
[3,8,7,4,5,6,1,2]=>0000000
[2,8,6,4,3,5,1,7]=>0000000
[2,7,6,3,5,4,1,8]=>0000001
[1,7,6,5,2,4,3,8]=>1000001
[1,8,6,5,3,2,4,7]=>1000000
[3,8,7,4,6,2,5,1]=>0000000
[5,8,3,7,6,2,4,1]=>0000000
[7,1,8,6,5,2,3,4]=>0000000
[8,4,7,5,3,2,1,6]=>0000000
[8,7,2,5,4,3,1,6]=>0000000
[1,5,7,8,4,3,6,2]=>1000000
[6,2,1,8,5,4,7,3]=>0000000
[2,6,5,7,4,1,3,8]=>0000001
[2,5,6,8,4,3,7,1]=>0000000
[5,2,1,8,7,6,4,3]=>0000000
[4,8,6,7,5,3,1,2]=>0000000
[6,5,4,8,2,1,7,3]=>0000000
[5,8,4,7,2,6,3,1]=>0000000
[5,8,3,2,7,6,4,1]=>0000000
[5,2,1,4,3,6,7,8]=>0000111
[3,5,7,4,2,6,1,8]=>0000001
[4,2,1,6,5,3,7,8]=>0000011
[4,2,1,5,7,6,3,8]=>0000001
[3,5,4,7,1,6,2,8]=>0000001
[3,4,5,8,6,7,1,2]=>0000000
[4,3,5,1,6,8,7,2]=>0000000
[2,1,7,3,8,4,6,5]=>0100000
[4,1,7,2,8,3,6,5]=>0000000
[7,1,8,2,4,3,6,5]=>0000000
[7,1,5,2,8,3,6,4]=>0000000
[5,1,7,2,8,3,6,4]=>0000000
[8,1,6,2,5,3,7,4]=>0000000
[6,1,7,2,8,3,5,4]=>0000000
[1,8,2,7,5,4,6,3]=>1000000
[1,8,2,7,4,3,5,6]=>1000000
[1,8,6,4,7,2,3,5]=>1000000
[1,8,4,2,6,3,5,7]=>1000000
[7,4,8,1,5,2,3,6]=>0000000
[4,1,7,2,6,3,5,8]=>0000001
[5,1,7,4,3,6,2,8]=>0000001
[7,5,8,3,2,4,1,6]=>0000000
[1,8,5,4,3,6,2,7]=>1000000
[1,8,5,4,3,7,2,6]=>1000000
[1,8,5,4,7,2,6,3]=>1000000
[1,8,4,2,5,3,7,6]=>1000000
[1,8,5,4,2,6,7,3]=>1000000
[7,4,8,2,1,3,5,6]=>0000000
[4,1,7,3,2,5,6,8]=>0000001
[7,5,4,8,2,3,6,1]=>0000000
[3,1,7,2,6,8,4,5]=>0000000
[5,1,7,4,2,6,8,3]=>0000000
[4,1,6,3,2,5,8,7]=>0000010
[4,3,1,6,2,5,7,8]=>0000011
[6,5,4,3,7,1,8,2]=>0000000
[6,5,1,7,3,8,2,4]=>0000000
[6,3,2,8,5,7,1,4]=>0000000
[6,5,4,3,8,2,7,1]=>0000000
[6,5,4,3,8,7,1,2]=>0000000
[7,6,3,8,5,4,1,2]=>0000000
[5,4,8,2,1,7,3,6]=>0000000
[7,6,4,8,5,1,2,3]=>0000000
[7,2,8,6,3,1,4,5]=>0000000
[7,2,8,6,1,5,3,4]=>0000000
[2,1,7,8,3,6,4,5]=>0100000
[6,4,1,7,8,2,3,5]=>0000000
[4,2,1,6,7,3,5,8]=>0000001
[4,3,1,5,2,7,6,8]=>0000101
[5,4,2,7,3,8,1,6]=>0000000
[4,1,5,3,2,8,6,7]=>0000100
[3,1,6,2,8,7,4,5]=>0000000
[6,5,4,1,7,8,3,2]=>0000000
[5,4,3,1,6,7,2,8]=>0000001
[6,5,4,2,7,8,3,1]=>0000000
[5,4,2,6,3,8,7,1]=>0000000
[4,3,1,5,2,6,8,7]=>0000110
[5,4,2,1,6,7,8,3]=>0000000
[5,4,3,1,6,7,8,2]=>0000000
[6,3,8,1,2,5,7,4]=>0000000
[3,6,7,1,2,5,8,4]=>0000000
[7,8,3,1,2,5,6,4]=>0000000
[7,8,1,3,2,4,6,5]=>0000000
[7,8,2,1,3,5,4,6]=>0000000
[5,2,3,7,1,8,6,4]=>0000000
[2,5,3,6,1,8,7,4]=>0000000
[2,6,7,3,1,8,4,5]=>0000000
[2,6,7,1,3,5,4,8]=>0000001
[6,2,8,3,1,7,4,5]=>0000000
[3,2,5,7,1,8,4,6]=>0000000
[4,3,1,2,7,8,6,5]=>0001000
[5,1,2,7,3,6,4,8]=>0000001
[5,1,4,7,8,2,3,6]=>0000000
[5,3,4,7,8,6,1,2]=>0000000
[3,5,4,6,8,7,1,2]=>0000000
[1,5,4,6,8,2,3,7]=>1000000
[1,6,7,3,2,4,8,5]=>1000000
[1,5,3,6,2,7,8,4]=>1000000
[5,1,3,7,2,6,8,4]=>0000000
[5,2,4,7,8,1,6,3]=>0000000
[4,2,5,7,6,1,8,3]=>0000000
[4,5,2,8,6,1,7,3]=>0000000
[5,3,1,8,2,6,7,4]=>0000000
[6,1,8,3,2,4,7,5]=>0000000
[4,3,5,7,6,8,1,2]=>0000000
[4,1,5,7,6,2,3,8]=>0000001
[4,5,1,8,6,2,3,7]=>0000000
[5,2,1,8,3,6,4,7]=>0000000
[3,4,2,1,8,7,5,6]=>0001000
[7,6,5,4,2,1,8,3]=>0000000
[7,6,5,4,8,1,3,2]=>0000000
[7,6,5,8,2,1,4,3]=>0000000
[8,5,4,3,2,1,7,6]=>0000000
[7,6,5,4,1,8,3,2]=>0000000
[7,6,5,2,8,1,4,3]=>0000000
[7,6,5,8,4,1,3,2]=>0000000
[7,6,8,5,2,1,4,3]=>0000000
[7,8,6,3,2,1,5,4]=>0000000
[8,7,4,3,2,1,6,5]=>0000000
[7,8,2,4,5,1,3,6]=>0000000
[4,6,7,2,5,1,3,8]=>0000001
[7,8,1,3,2,4,5,6]=>0000000
[7,8,4,1,5,2,3,6]=>0000000
[3,6,7,2,1,4,5,8]=>0000001
[5,2,3,6,1,4,7,8]=>0000011
[2,5,3,6,1,4,7,8]=>0000011
[2,6,7,3,1,4,5,8]=>0000001
[4,6,7,1,5,2,3,8]=>0000001
[4,6,7,3,5,8,1,2]=>0000000
[6,4,7,1,5,2,3,8]=>0000001
[6,2,7,3,1,4,5,8]=>0000001
[3,2,5,6,1,4,7,8]=>0000011
[3,5,2,6,1,4,7,8]=>0000011
[5,1,4,6,7,2,3,8]=>0000001
[3,5,4,6,7,8,1,2]=>0000000
[1,5,4,6,7,2,3,8]=>1000001
[1,6,7,3,2,4,5,8]=>1000001
[1,5,3,6,2,4,7,8]=>1000011
[5,1,3,6,2,4,7,8]=>0000011
[5,2,4,6,7,1,3,8]=>0000001
[2,5,4,6,7,1,3,8]=>0000001
[2,6,7,4,5,1,3,8]=>0000001
[6,2,7,4,5,1,3,8]=>0000001
[4,2,5,6,7,1,3,8]=>0000001
[4,5,2,6,7,1,3,8]=>0000001
[5,3,1,6,2,4,7,8]=>0000011
[6,1,7,3,2,4,5,8]=>0000001
[6,1,7,4,5,2,3,8]=>0000001
[6,3,7,4,5,8,1,2]=>0000000
[5,4,1,6,7,2,3,8]=>0000001
[5,2,1,6,3,4,7,8]=>0000011
[7,3,2,5,4,1,6,8]=>0000001
[7,3,5,2,4,1,6,8]=>0000001
[7,6,5,2,1,4,3,8]=>0000001
[1,3,6,7,5,2,8,4]=>1000000
[7,3,2,5,1,6,4,8]=>0000001
[1,7,4,6,2,8,5,3]=>1000000
[1,3,4,5,8,7,2,6]=>1000000
[3,1,2,5,6,8,7,4]=>0010000
[3,7,5,4,6,8,1,2]=>0000000
[2,3,4,5,8,1,7,6]=>0000000
[3,1,4,6,7,8,5,2]=>0000000
[7,1,5,2,6,8,3,4]=>0000000
[2,3,6,7,5,1,8,4]=>0000000
[4,3,2,6,7,1,8,5]=>0000000
[7,1,5,4,6,8,3,2]=>0000000
[5,7,4,6,1,8,3,2]=>0000000
[6,3,4,5,8,1,2,7]=>0000000
[7,3,4,5,8,2,1,6]=>0000000
[4,8,6,1,7,5,2,3]=>0000000
[7,6,4,2,8,3,5,1]=>0000000
[8,4,7,3,6,5,1,2]=>0000000
[6,4,7,1,8,3,2,5]=>0000000
[6,2,1,7,3,5,4,8]=>0000001
[2,1,8,6,3,5,4,7]=>0100000
[2,1,7,3,5,8,6,4]=>0100000
[2,7,3,1,5,4,6,8]=>0000001
[2,6,3,1,4,8,5,7]=>0000000
[4,2,1,8,3,6,7,5]=>0000000
[2,1,8,6,3,5,7,4]=>0100000
[6,2,1,7,3,5,8,4]=>0000000
[2,7,3,1,4,8,5,6]=>0000000
[3,2,1,6,4,5,7,8]=>0010011
[3,2,1,5,7,8,4,6]=>0010000
[2,1,7,3,6,8,4,5]=>0100000
[2,7,3,1,5,6,8,4]=>0000000
[2,4,7,5,1,6,8,3]=>0000000
[4,3,7,5,6,1,8,2]=>0000000
[4,3,6,8,5,1,7,2]=>0000000
[2,6,1,8,3,5,7,4]=>0000000
[2,1,6,8,3,7,4,5]=>0100000
[2,1,8,3,5,7,4,6]=>0100000
[3,2,1,5,6,8,4,7]=>0010000
[3,2,1,5,7,4,6,8]=>0010001
[2,1,7,3,6,4,5,8]=>0100001
[2,1,6,3,5,8,4,7]=>0100000
[8,2,4,1,7,5,6,3]=>0000000
[3,8,4,7,5,1,6,2]=>0000000
[8,4,3,6,1,7,5,2]=>0000000
[8,2,1,7,3,5,4,6]=>0000000
[2,6,1,8,3,5,4,7]=>0000000
[2,7,3,1,5,6,4,8]=>0000001
[2,4,7,5,1,6,3,8]=>0000001
[8,2,4,1,7,5,3,6]=>0000000
[5,8,6,3,1,7,4,2]=>0000000
[2,4,7,1,8,5,3,6]=>0000000
[2,4,8,5,1,6,3,7]=>0000000
[6,2,1,7,3,4,8,5]=>0000000
[6,2,1,7,8,3,5,4]=>0000000
[2,7,1,8,3,5,6,4]=>0000000
[2,1,8,3,6,4,5,7]=>0100000
[3,2,1,6,7,4,5,8]=>0010001
[3,2,1,7,4,5,6,8]=>0010001
[3,2,1,6,8,4,5,7]=>0010000
[2,1,8,3,7,4,5,6]=>0100000
[2,1,8,3,6,7,4,5]=>0100000
[2,4,8,5,1,6,7,3]=>0000000
[4,3,8,5,6,1,7,2]=>0000000
[3,2,1,8,4,5,6,7]=>0010000
[1,6,8,3,7,2,4,5]=>1000000
[3,8,1,5,7,2,4,6]=>0000000
[1,2,6,8,4,7,3,5]=>1100000
[6,1,5,8,2,4,7,3]=>0000000
[1,2,4,8,3,6,7,5]=>1100000
[4,1,2,7,8,3,6,5]=>0000000
[3,5,7,4,8,6,1,2]=>0000000
[5,3,8,4,7,6,1,2]=>0000000
[8,7,1,2,5,4,6,3]=>0000000
[5,8,1,2,3,7,6,4]=>0000000
[1,2,8,4,3,5,7,6]=>1100000
[1,2,5,3,7,6,4,8]=>1100001
[6,1,2,8,7,4,5,3]=>0000000
[7,1,6,2,8,4,5,3]=>0000000
[1,2,6,3,8,5,4,7]=>1100000
[1,2,8,5,3,6,4,7]=>1100000
[1,2,7,3,8,5,4,6]=>1100000
[4,1,2,7,8,6,3,5]=>0000000
[1,6,2,8,4,3,5,7]=>1000000
[1,6,4,2,7,3,5,8]=>1000001
[1,8,6,3,2,4,5,7]=>1000000
[1,7,3,2,8,4,5,6]=>1000000
[3,1,7,8,6,2,4,5]=>0000000
[1,8,7,2,4,5,6,3]=>1000000
[1,8,7,3,5,6,2,4]=>1000000
[1,3,2,8,7,4,5,6]=>1010000
[1,8,3,2,6,4,5,7]=>1000000
[1,7,6,3,2,4,5,8]=>1000001
[1,2,8,4,3,7,5,6]=>1100000
[8,5,1,7,2,4,6,3]=>0000000
[5,3,8,7,4,6,1,2]=>0000000
[3,8,6,4,7,5,1,2]=>0000000
[6,1,8,2,7,4,5,3]=>0000000
[1,2,5,3,8,6,4,7]=>1100000
[1,2,7,5,3,6,4,8]=>1100001
[1,2,6,3,7,5,4,8]=>1100001
[1,2,3,7,5,4,8,6]=>1110000
[3,7,4,8,6,5,1,2]=>0000000
[1,8,2,7,6,4,5,3]=>1000000
[2,8,7,6,5,1,4,3]=>0000000
[7,4,2,1,6,5,3,8]=>0000001
[7,4,1,3,5,2,6,8]=>0000001
[4,3,2,7,1,5,8,6]=>0000000
[5,6,8,7,4,3,1,2]=>0000000
[1,8,2,7,4,3,6,5]=>1000000
[2,4,8,1,6,3,7,5]=>0000000
[5,3,2,6,4,8,1,7]=>0000000
[2,4,5,3,8,6,1,7]=>0000000
[1,8,4,5,2,6,7,3]=>1000000
[1,8,4,3,6,2,7,5]=>1000000
[5,6,7,3,2,8,1,4]=>0000000
[5,3,2,1,4,8,6,7]=>0000100
[3,4,7,8,1,2,6,5]=>0000000
[3,6,7,8,1,4,5,2]=>0000000
[2,3,6,8,5,1,4,7]=>0000000
[3,1,6,4,8,2,5,7]=>0000000
[7,3,2,6,8,5,1,4]=>0000000
[1,8,4,2,3,5,7,6]=>1000000
[6,4,2,8,3,5,1,7]=>0000000
[7,5,4,8,3,6,2,1]=>0000000
[8,4,6,3,7,2,5,1]=>0000000
[7,4,6,3,8,5,1,2]=>0000000
[2,5,6,8,3,4,1,7]=>0000000
[8,4,6,2,7,5,3,1]=>0000000
[8,5,6,7,2,4,3,1]=>0000000
[2,5,6,8,4,3,1,7]=>0000000
[2,5,7,8,4,1,3,6]=>0000000
[6,5,7,8,4,1,3,2]=>0000000
[7,5,6,8,2,4,1,3]=>0000000
[7,4,6,2,8,5,1,3]=>0000000
[4,3,2,6,8,5,1,7]=>0000000
[3,5,6,8,2,4,1,7]=>0000000
[3,5,6,8,4,2,1,7]=>0000000
[2,6,7,8,1,4,5,3]=>0000000
[3,6,7,8,1,4,2,5]=>0000000
[3,5,7,8,2,1,4,6]=>0000000
[2,6,7,8,1,4,3,5]=>0000000
[6,5,7,8,3,1,4,2]=>0000000
[2,5,7,8,3,1,4,6]=>0000000
[2,4,7,3,8,1,5,6]=>0000000
[6,4,7,3,8,1,5,2]=>0000000
[6,4,7,3,8,1,2,5]=>0000000
[7,4,6,3,8,2,1,5]=>0000000
[6,3,2,5,4,8,1,7]=>0000000
[6,4,5,2,3,8,1,7]=>0000000
[6,4,5,3,2,8,1,7]=>0000000
[5,4,6,3,8,2,1,7]=>0000000
[5,4,7,3,8,1,6,2]=>0000000
[2,5,7,8,3,1,6,4]=>0000000
[4,5,7,8,3,1,2,6]=>0000000
[4,5,6,8,2,3,1,7]=>0000000
[5,4,6,2,8,3,1,7]=>0000000
[5,3,2,6,8,4,1,7]=>0000000
[5,4,7,2,8,1,3,6]=>0000000
[4,5,7,8,2,1,3,6]=>0000000
[4,6,7,8,1,3,2,5]=>0000000
[4,6,7,8,1,3,5,2]=>0000000
[2,6,7,8,1,3,5,4]=>0000000
[2,6,7,8,1,5,3,4]=>0000000
[4,6,7,8,1,5,2,3]=>0000000
[4,6,7,8,1,2,5,3]=>0000000
[4,5,7,8,2,1,6,3]=>0000000
[5,4,7,2,8,1,6,3]=>0000000
[5,3,2,7,8,1,6,4]=>0000000
[4,3,2,7,8,1,6,5]=>0000000
[3,5,7,8,2,1,6,4]=>0000000
[3,6,7,8,1,2,5,4]=>0000000
[3,6,7,8,1,5,2,4]=>0000000
[3,6,7,8,1,5,4,2]=>0000000
[2,6,7,8,1,5,4,3]=>0000000
[4,2,7,1,5,3,8,6]=>0000000
[4,2,8,6,1,5,3,7]=>0000000
[3,2,6,7,5,1,4,8]=>0000001
[2,7,1,3,5,4,8,6]=>0000000
[4,7,2,1,5,8,6,3]=>0000000
[7,2,1,3,5,8,6,4]=>0000000
[2,3,6,4,7,1,5,8]=>0000001
[1,3,4,8,2,7,5,6]=>1000000
[3,1,4,8,2,6,7,5]=>0000000
[8,3,1,6,2,5,7,4]=>0000000
[4,8,6,2,1,5,7,3]=>0000000
[4,8,3,6,5,1,7,2]=>0000000
[6,4,7,3,5,1,8,2]=>0000000
[6,4,7,5,1,8,2,3]=>0000000
[3,6,1,7,5,8,2,4]=>0000000
[7,3,5,1,6,8,2,4]=>0000000
[4,7,3,5,6,1,8,2]=>0000000
[3,4,6,8,5,1,7,2]=>0000000
[4,6,8,2,1,5,7,3]=>0000000
[6,8,2,1,3,5,7,4]=>0000000
[1,8,2,3,5,7,4,6]=>1000000
[2,7,3,6,1,4,5,8]=>0000001
[2,6,1,3,5,8,4,7]=>0000000
[7,3,2,5,6,1,4,8]=>0000001
[4,7,5,2,6,1,3,8]=>0000001
[4,6,2,8,1,5,3,7]=>0000000
[8,4,1,2,7,5,3,6]=>0000000
[4,5,6,2,7,1,3,8]=>0000001
[8,5,1,2,6,3,4,7]=>0000000
[1,6,2,7,4,8,3,5]=>1000000
[6,2,1,7,8,5,3,4]=>0000000
[6,7,3,8,4,1,5,2]=>0000000
[2,7,8,4,1,5,6,3]=>0000000
[2,7,1,8,5,6,3,4]=>0000000
[8,2,5,1,6,7,3,4]=>0000000
[8,2,4,5,1,6,7,3]=>0000000
[3,8,4,5,6,1,7,2]=>0000000
[4,5,8,3,6,7,1,2]=>0000000
[4,5,8,3,7,6,1,2]=>0000000
[4,2,8,3,7,1,6,5]=>0000000
[7,2,3,4,8,1,6,5]=>0000000
[7,2,3,4,8,1,5,6]=>0000000
[7,6,3,4,8,5,1,2]=>0000000
[7,6,3,5,8,4,1,2]=>0000000
[7,6,3,8,4,5,1,2]=>0000000
[7,2,3,8,5,1,4,6]=>0000000
[7,2,3,8,5,1,6,4]=>0000000
[2,6,4,8,1,5,7,3]=>0000000
[7,2,3,8,4,1,5,6]=>0000000
[7,2,3,5,8,1,4,6]=>0000000
[7,8,2,3,6,1,4,5]=>0000000
[7,8,2,3,6,1,5,4]=>0000000
[4,2,6,3,7,1,5,8]=>0000001
[7,2,3,5,8,1,6,4]=>0000000
[7,2,3,8,4,1,6,5]=>0000000
[2,6,4,8,1,3,7,5]=>0000000
[3,6,4,8,1,7,5,2]=>0000000
[7,6,5,1,2,3,8,4]=>0000000
[7,6,5,1,4,2,8,3]=>0000000
[2,6,4,5,1,8,7,3]=>0000000
[3,5,6,4,1,2,7,8]=>0000011
[7,8,5,4,1,2,6,3]=>0000000
[3,5,6,4,1,2,8,7]=>0000010
[7,6,5,1,4,2,3,8]=>0000001
[7,6,5,1,2,4,3,8]=>0000001
[7,6,5,1,2,4,8,3]=>0000000
[7,6,5,1,3,2,8,4]=>0000000
[7,6,5,1,3,2,4,8]=>0000001
[7,6,5,1,3,4,2,8]=>0000001
[7,2,3,4,5,1,8,6]=>0000000
[2,6,4,3,1,5,8,7]=>0000010
[2,6,4,3,1,8,5,7]=>0000000
[2,6,4,3,1,8,7,5]=>0000000
[3,5,8,4,1,2,7,6]=>0000000
[3,5,8,4,1,2,6,7]=>0000000
[3,5,8,4,1,6,2,7]=>0000000
[4,2,8,3,6,1,7,5]=>0000000
[3,5,8,4,1,6,7,2]=>0000000
[2,5,8,4,1,7,3,6]=>0000000
[3,6,4,2,1,7,8,5]=>0000000
[3,6,4,2,1,7,5,8]=>0000001
[3,5,6,4,1,8,7,2]=>0000000
[2,6,4,5,1,3,7,8]=>0000011
[7,6,5,1,4,3,8,2]=>0000000
[7,6,5,1,2,8,4,3]=>0000000
[7,6,5,1,2,8,3,4]=>0000000
[7,6,5,1,8,2,4,3]=>0000000
[7,6,5,1,8,2,3,4]=>0000000
[7,6,5,1,8,3,2,4]=>0000000
[7,6,5,1,4,8,2,3]=>0000000
[3,6,4,5,1,7,2,8]=>0000001
[2,5,6,4,1,7,8,3]=>0000000
[7,8,5,4,1,6,3,2]=>0000000
[2,5,6,4,1,7,3,8]=>0000001
[3,6,4,5,1,7,8,2]=>0000000
[7,6,5,1,4,8,3,2]=>0000000
[7,6,5,1,8,3,4,2]=>0000000
[7,6,5,1,8,4,2,3]=>0000000
[7,8,6,2,1,3,5,4]=>0000000
[6,1,3,4,2,8,7,5]=>0000000
[6,8,2,7,4,3,5,1]=>0000000
[6,2,3,8,4,7,5,1]=>0000000
[7,1,3,8,6,4,5,2]=>0000000
[7,4,2,1,8,6,5,3]=>0000000
[6,2,1,3,4,8,7,5]=>0000000
[8,1,3,2,5,6,7,4]=>0000000
[3,2,8,7,4,5,1,6]=>0000000
[2,1,4,8,7,5,3,6]=>0100000
[3,6,8,2,4,1,5,7]=>0000000
[6,2,8,1,7,5,4,3]=>0000000
[4,2,8,1,5,3,6,7]=>0000000
[7,4,8,6,2,1,3,5]=>0000000
[7,8,5,6,4,1,3,2]=>0000000
[3,8,1,4,5,6,2,7]=>0000000
[7,6,8,3,5,1,4,2]=>0000000
[7,8,6,3,5,1,4,2]=>0000000
[5,3,8,7,6,1,4,2]=>0000000
[6,5,8,4,7,1,3,2]=>0000000
[6,7,4,2,5,3,1,8]=>0000001
[7,6,4,8,3,1,5,2]=>0000000
[7,4,8,5,6,1,3,2]=>0000000
[7,4,2,5,6,3,1,8]=>0000001
[4,2,7,5,6,3,1,8]=>0000001
[3,4,7,5,6,2,1,8]=>0000001
[4,7,3,5,6,2,1,8]=>0000001
[3,7,2,5,6,4,1,8]=>0000001
[7,8,3,5,6,1,4,2]=>0000000
[1,6,8,5,2,7,4,3]=>1000000
[6,2,8,5,1,7,4,3]=>0000000
[6,7,4,8,2,1,5,3]=>0000000
[3,2,7,8,6,1,5,4]=>0000000
[6,8,4,1,2,3,7,5]=>0000000
[4,1,8,5,6,3,2,7]=>0000000
[1,8,2,5,6,4,3,7]=>1000000
[6,1,8,5,3,7,4,2]=>0000000
[3,8,1,5,2,7,6,4]=>0000000
[8,2,1,5,3,7,6,4]=>0000000
[1,5,2,4,6,7,8,3]=>1000000
[4,1,5,3,6,7,8,2]=>0000000
[8,1,6,5,3,7,2,4]=>0000000
[7,1,4,6,3,2,8,5]=>0000000
[3,2,6,4,1,7,8,5]=>0000000
[7,6,4,3,1,2,8,5]=>0000000
[8,6,3,5,1,7,2,4]=>0000000
[4,5,3,1,6,7,8,2]=>0000000
[3,5,2,1,6,7,8,4]=>0000000
[5,2,3,1,6,7,8,4]=>0000000
[1,5,3,2,6,7,8,4]=>1000000
[8,4,6,5,1,7,2,3]=>0000000
[7,5,4,6,1,2,8,3]=>0000000
[3,2,5,6,1,7,8,4]=>0000000
[3,2,8,7,6,1,4,5]=>0000000
[6,8,4,7,2,1,3,5]=>0000000
[3,8,7,5,6,1,2,4]=>0000000
[8,2,7,5,6,1,3,4]=>0000000
[4,8,6,5,1,7,3,2]=>0000000
[1,7,4,6,2,3,8,5]=>1000000
[7,6,4,2,1,5,8,3]=>0000000
[5,7,4,6,1,3,8,2]=>0000000
[8,6,4,7,3,1,2,5]=>0000000
[5,2,4,3,7,1,8,6]=>0000000
[3,5,4,2,7,1,8,6]=>0000000
[8,6,4,1,3,5,2,7]=>0000000
[6,7,4,1,5,3,8,2]=>0000000
[7,5,4,1,2,6,8,3]=>0000000
[1,7,4,2,3,6,8,5]=>1000000
[1,8,2,5,3,7,6,4]=>1000000
[6,8,1,5,4,7,3,2]=>0000000
[8,2,1,5,6,4,3,7]=>0000000
[3,8,1,5,6,4,2,7]=>0000000
[6,8,4,1,2,5,3,7]=>0000000
[3,2,8,1,6,5,4,7]=>0000000
[3,2,6,1,5,7,8,4]=>0000000
[7,6,4,1,5,2,8,3]=>0000000
[8,6,1,5,4,7,2,3]=>0000000
[3,5,1,4,6,7,8,2]=>0000000
[5,2,1,4,6,7,8,3]=>0000000
[5,4,1,3,6,7,8,2]=>0000000
[8,4,1,5,3,7,2,6]=>0000000
[7,5,4,1,3,2,8,6]=>0000000
[3,2,5,1,4,7,8,6]=>0000100
[7,1,4,3,5,2,8,6]=>0000000
[8,1,3,5,4,7,2,6]=>0000000
[5,1,3,4,6,7,8,2]=>0000000
[3,1,8,2,5,7,4,6]=>0000000
[8,3,2,6,1,4,7,5]=>0000000
[2,8,1,6,4,3,7,5]=>0000000
[2,6,1,3,8,7,5,4]=>0000000
[2,5,7,1,3,8,6,4]=>0000000
[2,6,8,1,5,7,4,3]=>0000000
[2,7,1,5,8,4,6,3]=>0000000
[2,7,1,6,4,8,3,5]=>0000000
[2,7,1,6,5,3,8,4]=>0000000
[2,8,1,7,6,5,4,3]=>0000000
[8,3,2,7,1,6,5,4]=>0000000
[4,1,8,7,3,2,6,5]=>0000000
[4,1,7,2,8,6,5,3]=>0000000
[3,7,1,8,6,5,4,2]=>0000000
[3,7,6,1,4,2,5,8]=>0000001
[3,7,5,1,4,6,8,2]=>0000000
[3,6,8,5,1,4,7,2]=>0000000
[7,3,5,8,2,1,4,6]=>0000000
[7,3,6,2,1,4,5,8]=>0000001
[7,3,6,2,1,5,4,8]=>0000001
[7,4,2,8,1,6,5,3]=>0000000
[8,7,5,3,2,1,6,4]=>0000000
[7,5,2,6,3,1,4,8]=>0000001
[7,4,6,2,1,8,3,5]=>0000000
[6,8,4,5,2,1,7,3]=>0000000
[4,6,8,5,1,7,3,2]=>0000000
[4,7,5,1,3,8,6,2]=>0000000
[4,7,6,1,5,3,2,8]=>0000001
[5,1,7,6,3,8,2,4]=>0000000
[5,1,7,6,4,2,8,3]=>0000000
[5,1,8,7,6,4,3,2]=>0000000
[8,5,2,1,7,6,4,3]=>0000000
[8,5,2,1,6,3,7,4]=>0000000
[5,1,8,6,3,2,7,4]=>0000000
[3,6,1,7,4,8,2,5]=>0000000
[4,1,8,6,3,7,2,5]=>0000000
[8,4,2,5,7,3,1,6]=>0000000
[3,4,6,8,5,7,1,2]=>0000000
[5,4,8,2,7,3,6,1]=>0000000
[5,4,8,7,3,6,1,2]=>0000000
[8,5,4,7,3,6,2,1]=>0000000
[6,4,3,8,7,1,2,5]=>0000000
[6,3,7,2,4,8,1,5]=>0000000
[5,6,8,4,2,7,3,1]=>0000000
[5,7,4,2,8,1,3,6]=>0000000
[6,5,2,7,1,3,8,4]=>0000000
[8,6,5,4,2,1,7,3]=>0000000
[6,4,7,3,1,8,2,5]=>0000000
[5,7,4,3,8,6,1,2]=>0000000
[7,5,8,4,6,3,2,1]=>0000000
[7,6,4,8,3,5,2,1]=>0000000
[7,6,5,3,8,2,4,1]=>0000000
[5,6,3,7,4,2,1,8]=>0000001
[7,6,3,8,5,1,4,2]=>0000000
[6,4,8,1,3,2,5,7]=>0000000
[7,4,8,6,3,1,5,2]=>0000000
[4,2,7,6,5,3,1,8]=>0000001
[3,7,2,4,6,5,1,8]=>0000001
[8,1,3,4,5,2,6,7]=>0000000
[1,6,8,4,2,5,3,7]=>1000000
[6,2,8,4,1,5,7,3]=>0000000
[6,7,4,8,5,1,2,3]=>0000000
[3,2,7,8,5,1,6,4]=>0000000
[3,2,8,1,5,4,6,7]=>0000000
[6,1,4,8,5,3,7,2]=>0000000
[1,4,8,5,2,6,7,3]=>1000000
[6,1,8,4,3,7,2,5]=>0000000
[3,7,1,4,2,5,8,6]=>0000000
[7,2,1,4,3,5,6,8]=>0000001
[4,1,5,3,6,8,2,7]=>0000000
[6,1,8,5,3,2,7,4]=>0000000
[7,1,4,6,3,8,5,2]=>0000000
[3,2,6,4,1,8,7,5]=>0000000
[7,6,4,3,1,8,2,5]=>0000000
[3,5,2,1,8,7,6,4]=>0000000
[1,5,3,2,8,6,4,7]=>1000000
[5,4,2,1,7,8,6,3]=>0000000
[8,2,7,6,5,1,3,4]=>0000000
[8,6,2,7,1,4,5,3]=>0000000
[1,7,3,6,2,8,5,4]=>1000000
[7,6,3,2,1,8,5,4]=>0000000
[8,6,3,7,4,1,2,5]=>0000000
[5,2,3,4,7,1,8,6]=>0000000
[8,6,3,1,4,5,7,2]=>0000000
[6,7,3,1,5,4,2,8]=>0000001
[5,8,3,1,2,4,7,6]=>0000000
[8,1,3,2,4,5,6,7]=>0000000
[8,4,1,7,2,3,6,5]=>0000000
[8,2,1,6,5,4,7,3]=>0000000
[3,8,1,5,6,4,7,2]=>0000000
[6,8,4,1,2,5,7,3]=>0000000
[3,2,8,1,6,5,7,4]=>0000000
[7,6,4,1,5,2,3,8]=>0000001
[8,6,1,5,4,7,3,2]=>0000000
[3,5,1,4,6,7,2,8]=>0000001
[5,2,1,4,7,6,3,8]=>0000001
[4,5,8,2,1,3,7,6]=>0000000
[5,8,2,3,1,4,6,7]=>0000000
[4,2,1,3,5,8,7,6]=>0001100
[5,4,1,3,6,2,8,7]=>0000010
[8,5,4,1,3,6,2,7]=>0000000
[3,2,5,1,4,6,8,7]=>0000110
[8,1,4,3,5,6,7,2]=>0000000
[7,1,3,5,4,6,2,8]=>0000001
[5,1,3,4,6,2,7,8]=>0000011
[4,1,3,2,5,7,6,8]=>0001101
[4,6,7,3,1,5,2,8]=>0000001
[4,1,8,3,5,7,2,6]=>0000000
[4,5,7,2,3,6,8,1]=>0000000
[2,6,3,4,7,5,8,1]=>0000000
[4,5,2,7,1,6,8,3]=>0000000
[3,4,1,6,5,8,2,7]=>0000000
[6,4,2,8,7,1,5,3]=>0000000
[7,2,4,8,1,5,3,6]=>0000000
[4,6,3,1,7,8,5,2]=>0000000
[5,3,1,6,7,8,4,2]=>0000000
[2,1,3,4,8,7,5,6]=>0111000
[4,8,3,7,6,5,1,2]=>0000000
[6,3,8,7,5,4,1,2]=>0000000
[5,3,8,7,6,4,1,2]=>0000000
[2,8,7,6,1,5,4,3]=>0000000
[5,2,8,7,6,1,4,3]=>0000000
[6,2,8,7,5,1,4,3]=>0000000
[7,8,2,6,5,1,4,3]=>0000000
[6,1,8,7,5,4,3,2]=>0000000
[3,1,8,7,6,5,4,2]=>0000000
[7,8,2,6,1,5,4,3]=>0000000
[6,2,8,7,1,5,4,3]=>0000000
[4,2,8,1,7,6,5,3]=>0000000
[4,8,2,7,6,1,5,3]=>0000000
[3,8,7,2,1,6,5,4]=>0000000
[6,5,8,7,1,4,3,2]=>0000000
[4,8,1,7,6,5,3,2]=>0000000
[5,4,1,8,7,6,3,2]=>0000000
[6,4,8,1,7,5,3,2]=>0000000
[7,8,4,1,6,5,3,2]=>0000000
[7,8,3,1,6,5,4,2]=>0000000
[6,3,8,1,7,5,4,2]=>0000000
[5,3,1,8,7,6,4,2]=>0000000
[7,8,2,1,6,5,4,3]=>0000000
[6,5,3,1,8,7,4,2]=>0000000
[6,4,3,1,8,7,5,2]=>0000000
[5,4,3,1,8,7,6,2]=>0000000
[7,5,2,1,8,6,4,3]=>0000000
[5,4,2,1,8,7,6,3]=>0000000
[7,3,2,1,8,6,5,4]=>0000000
[6,3,2,1,8,7,5,4]=>0000000
[6,1,4,2,3,5,8,7]=>0000010
[8,6,1,4,2,3,5,7]=>0000000
[6,8,1,4,2,3,5,7]=>0000000
[8,1,4,2,3,6,5,7]=>0000000
[6,2,3,8,1,4,5,7]=>0000000
[4,6,2,3,8,1,5,7]=>0000000
[8,4,3,6,2,1,5,7]=>0000000
[6,4,2,3,8,1,5,7]=>0000000
[2,8,4,3,6,1,5,7]=>0000000
[2,8,3,6,1,4,5,7]=>0000000
[8,3,6,4,2,1,5,7]=>0000000
[8,3,6,2,4,1,5,7]=>0000000
[8,3,6,2,1,4,5,7]=>0000000
[3,6,4,7,8,5,1,2]=>0000000
[1,6,4,2,7,5,8,3]=>1000000
[3,6,4,2,7,1,5,8]=>0000001
[1,4,7,2,5,6,8,3]=>1000000
[6,4,8,5,3,7,1,2]=>0000000
[1,6,5,4,2,7,8,3]=>1000000
[4,2,5,3,6,1,7,8]=>0000011
[7,1,5,3,6,2,8,4]=>0000000
[1,6,5,2,4,8,7,3]=>1000000
[1,4,6,2,8,5,7,3]=>1000000
[7,8,1,4,2,5,6,3]=>0000000
[3,4,8,5,2,1,6,7]=>0000000
[4,8,5,3,1,6,2,7]=>0000000
[6,1,3,5,8,2,7,4]=>0000000
[6,1,8,7,4,2,3,5]=>0000000
[1,2,8,5,7,3,6,4]=>1100000
[1,3,6,8,7,5,2,4]=>1000000
[1,8,2,5,4,7,6,3]=>1000000
[7,1,2,4,5,8,6,3]=>0000000
[1,2,7,3,5,8,6,4]=>1100000
[6,1,3,2,5,7,8,4]=>0000000
[4,6,2,1,7,5,3,8]=>0000001
[1,6,3,7,8,5,2,4]=>1000000
[4,6,2,3,7,8,1,5]=>0000000
[4,6,3,7,1,2,8,5]=>0000000
[4,2,1,3,5,7,8,6]=>0001100
[7,3,2,4,5,1,8,6]=>0000000
[3,8,2,5,4,1,7,6]=>0000000
[7,8,4,2,6,3,1,5]=>0000000
[4,2,6,3,8,7,1,5]=>0000000
[5,8,2,7,4,3,1,6]=>0000000
[4,3,8,5,1,7,2,6]=>0000000
[4,3,6,8,1,2,7,5]=>0000000
[6,4,3,5,2,8,1,7]=>0000000
[6,5,3,8,4,2,1,7]=>0000000
[1,8,6,7,5,3,4,2]=>1000000
[1,5,8,7,2,6,4,3]=>1000000
[4,1,3,6,5,8,7,2]=>0000000
[2,1,6,3,5,8,7,4]=>0100000
[2,4,1,3,8,5,7,6]=>0001000
[2,4,1,3,5,8,7,6]=>0001100
[2,6,1,3,5,8,7,4]=>0000000
[4,6,1,3,5,8,7,2]=>0000000
[6,1,4,3,5,8,7,2]=>0000000
[6,4,1,3,5,8,7,2]=>0000000
[6,2,1,3,5,8,7,4]=>0000000
[4,2,1,3,6,5,7,8]=>0001011
[4,2,1,6,3,5,7,8]=>0000011
[6,2,1,8,3,5,7,4]=>0000000
[6,2,1,3,8,5,7,4]=>0000000
[6,1,4,3,8,5,7,2]=>0000000
[1,6,4,3,8,5,7,2]=>1000000
[8,1,4,3,6,5,7,2]=>0000000
[8,4,1,3,6,5,7,2]=>0000000
[8,2,1,3,6,5,7,4]=>0000000
[8,2,1,6,3,5,7,4]=>0000000
[8,2,1,4,3,5,7,6]=>0000000
[6,2,1,4,3,5,7,8]=>0000011
[8,2,4,1,3,5,7,6]=>0000000
[8,2,6,1,3,5,7,4]=>0000000
[8,4,6,1,3,5,7,2]=>0000000
[8,4,1,6,3,5,7,2]=>0000000
[8,1,4,6,3,5,7,2]=>0000000
[1,8,4,6,3,5,7,2]=>1000000
[1,6,4,8,3,5,7,2]=>1000000
[6,4,1,8,3,5,7,2]=>0000000
[6,4,8,1,3,5,7,2]=>0000000
[6,2,8,1,3,5,7,4]=>0000000
[4,2,8,1,3,5,7,6]=>0000000
[2,6,8,1,3,5,7,4]=>0000000
[4,6,8,1,3,5,7,2]=>0000000
[4,6,1,8,3,5,7,2]=>0000000
[4,1,6,8,3,5,7,2]=>0000000
[1,4,6,3,8,5,7,2]=>1000000
[4,6,1,3,8,5,7,2]=>0000000
[2,4,1,8,3,5,7,6]=>0000000
[2,1,6,8,3,5,7,4]=>0100000
[4,1,3,6,8,5,7,2]=>0000000
[1,4,3,6,8,5,7,2]=>1000000
[4,1,3,8,6,5,7,2]=>0000000
[2,1,8,3,6,5,7,4]=>0100000
[2,1,6,4,3,5,7,8]=>0100011
[2,6,1,4,3,5,7,8]=>0000011
[2,8,1,4,3,5,7,6]=>0000000
[2,8,1,6,3,5,7,4]=>0000000
[4,8,1,3,6,5,7,2]=>0000000
[1,4,8,3,6,5,7,2]=>1000000
[1,4,8,6,3,5,7,2]=>1000000
[4,1,8,6,3,5,7,2]=>0000000
[4,8,1,6,3,5,7,2]=>0000000
[4,8,6,1,3,5,7,2]=>0000000
[2,8,6,1,3,5,7,4]=>0000000
[2,8,4,1,3,5,7,6]=>0000000
[2,6,4,1,3,5,7,8]=>0000011
[4,6,2,1,3,5,7,8]=>0000011
[6,8,1,4,3,5,7,2]=>0000000
[6,1,8,4,3,5,7,2]=>0000000
[1,6,8,4,3,5,7,2]=>1000000
[1,8,6,4,3,5,7,2]=>1000000
[8,1,6,4,3,5,7,2]=>0000000
[8,6,1,4,3,5,7,2]=>0000000
[8,6,4,1,3,5,7,2]=>0000000
[8,6,2,1,3,5,7,4]=>0000000
[8,4,2,1,3,5,7,6]=>0000000
[7,8,6,5,2,1,4,3]=>0000000
[5,7,4,1,8,6,3,2]=>0000000
[3,6,7,4,5,8,2,1]=>0000000
[5,4,6,1,7,8,3,2]=>0000000
[6,8,1,4,5,3,7,2]=>0000000
[6,7,1,4,5,3,2,8]=>0000001
[3,7,1,5,4,6,8,2]=>0000000
[6,7,1,4,5,3,8,2]=>0000000
[5,6,4,2,7,3,8,1]=>0000000
[5,4,7,2,8,3,1,6]=>0000000
[5,4,7,2,8,3,6,1]=>0000000
[3,8,1,5,4,6,2,7]=>0000000
[3,6,1,5,4,2,7,8]=>0000011
[3,6,1,5,4,8,2,7]=>0000000
[6,7,3,1,4,2,8,5]=>0000000
[3,4,1,2,6,8,7,5]=>0001000
[6,4,7,2,8,5,1,3]=>0000000
[3,8,1,5,4,7,2,6]=>0000000
[7,8,3,1,4,6,2,5]=>0000000
[6,5,8,7,3,4,2,1]=>0000000
[3,7,1,5,4,2,6,8]=>0000001
[3,8,1,5,4,2,7,6]=>0000000
[6,8,4,2,7,5,3,1]=>0000000
[6,8,3,1,4,7,5,2]=>0000000
[3,7,1,5,4,8,6,2]=>0000000
[3,4,1,2,8,5,7,6]=>0001000
[6,7,3,1,4,5,8,2]=>0000000
[8,7,6,3,5,2,1,4]=>0000000
[8,7,4,6,3,2,1,5]=>0000000
[8,5,7,4,3,2,1,6]=>0000000
[8,7,6,2,5,4,1,3]=>0000000
[8,5,4,7,3,2,1,6]=>0000000
[8,7,3,6,5,2,1,4]=>0000000
[6,5,8,4,3,2,1,7]=>0000000
[8,4,7,6,3,2,1,5]=>0000000
[5,8,7,4,3,2,1,6]=>0000000
[4,5,2,7,3,1,8,6]=>0000000
[4,8,2,6,3,5,7,1]=>0000000
[4,1,7,2,5,8,6,3]=>0000000
[7,8,2,1,5,6,4,3]=>0000000
[1,6,2,5,8,4,3,7]=>1000000
[7,3,1,6,8,5,2,4]=>0000000
[5,2,7,1,8,6,3,4]=>0000000
[6,5,2,8,1,7,3,4]=>0000000
[2,8,3,5,1,7,4,6]=>0000000
[5,4,3,8,7,1,6,2]=>0000000
[8,5,4,3,7,2,6,1]=>0000000
[8,3,7,4,2,6,5,1]=>0000000
[2,8,6,5,1,7,4,3]=>0000000
[6,3,2,8,4,1,7,5]=>0000000
[2,8,3,4,1,7,5,6]=>0000000
[5,4,2,8,3,1,7,6]=>0000000
[2,8,4,3,1,7,6,5]=>0000000
[2,8,5,3,1,7,6,4]=>0000000
[2,8,6,4,1,7,5,3]=>0000000
[3,8,7,5,1,6,4,2]=>0000000
[8,3,7,5,2,6,4,1]=>0000000
[8,4,7,6,2,5,3,1]=>0000000
[4,8,7,6,1,5,3,2]=>0000000
[7,4,8,6,2,1,5,3]=>0000000
[7,3,8,5,2,1,6,4]=>0000000
[7,3,8,4,2,1,6,5]=>0000000
[7,5,4,3,8,2,1,6]=>0000000
[3,7,8,4,1,2,6,5]=>0000000
[3,7,8,5,1,2,6,4]=>0000000
[4,7,8,6,1,2,5,3]=>0000000
[8,7,4,6,3,5,2,1]=>0000000
[5,7,8,6,1,2,4,3]=>0000000
[6,4,7,8,3,1,2,5]=>0000000
[7,3,4,8,2,1,5,6]=>0000000
[7,6,4,8,3,2,1,5]=>0000000
[7,5,8,6,2,1,4,3]=>0000000
[6,5,8,7,3,1,4,2]=>0000000
[2,4,8,3,1,5,7,6]=>0000000
[6,3,2,4,8,1,5,7]=>0000000
[2,3,8,4,1,6,7,5]=>0000000
[2,3,8,5,1,6,7,4]=>0000000
[6,4,8,7,3,1,5,2]=>0000000
[8,6,4,7,3,2,5,1]=>0000000
[8,3,4,7,2,5,6,1]=>0000000
[3,4,8,7,1,5,6,2]=>0000000
[2,4,8,6,1,5,7,3]=>0000000
[2,5,8,6,1,4,7,3]=>0000000
[8,3,5,7,2,4,6,1]=>0000000
[8,4,6,7,2,3,5,1]=>0000000
[4,6,8,7,1,3,5,2]=>0000000
[2,6,8,5,1,3,7,4]=>0000000
[2,6,8,4,1,3,7,5]=>0000000
[2,5,8,3,1,4,7,6]=>0000000
[5,6,8,7,1,3,4,2]=>0000000
[7,4,6,8,2,1,3,5]=>0000000
[5,4,8,6,2,1,3,7]=>0000000
[2,5,6,1,4,7,8,3]=>0000000
[1,8,7,6,3,2,5,4]=>1000000
[1,8,7,6,3,2,4,5]=>1000000
[1,8,4,5,2,7,3,6]=>1000000
[1,8,4,5,2,7,6,3]=>1000000
[6,3,5,4,7,1,8,2]=>0000000
[1,8,4,3,6,2,5,7]=>1000000
[2,7,6,4,8,5,3,1]=>0000000
[1,8,4,5,2,6,3,7]=>1000000
[7,3,5,8,4,6,2,1]=>0000000
[2,3,4,6,5,8,1,7]=>0000000
[2,3,4,7,5,1,8,6]=>0000000
[7,4,8,5,3,2,1,6]=>0000000
[8,1,6,2,4,3,5,7]=>0000000
[1,7,6,2,4,3,5,8]=>1000001
[8,7,3,2,4,6,5,1]=>0000000
[1,7,2,5,4,3,6,8]=>1000001
[8,7,1,3,4,5,2,6]=>0000000
[8,1,2,5,4,3,6,7]=>0000000
[8,6,1,2,4,3,5,7]=>0000000
[5,1,8,6,2,3,4,7]=>0000000
[3,7,6,1,8,2,5,4]=>0000000
[7,6,3,1,8,2,4,5]=>0000000
[8,2,1,3,5,7,4,6]=>0000000
[7,5,4,1,3,8,2,6]=>0000000
[7,3,8,5,4,1,2,6]=>0000000
[1,7,2,3,5,8,4,6]=>1000000
[3,5,2,6,7,1,8,4]=>0000000
[3,2,8,4,7,5,1,6]=>0000000
[3,8,1,6,5,2,7,4]=>0000000
[6,8,3,1,7,2,4,5]=>0000000
[2,7,5,3,8,4,1,6]=>0000000
[8,3,2,1,5,7,4,6]=>0000000
[8,3,6,4,7,1,2,5]=>0000000
[1,2,8,3,5,7,4,6]=>1100000
[6,5,1,7,4,2,8,3]=>0000000
[7,3,6,4,8,2,1,5]=>0000000
[4,6,1,7,3,5,2,8]=>0000001
[5,6,1,7,3,4,2,8]=>0000001
[6,1,7,3,4,2,8,5]=>0000000
[7,3,8,1,6,5,2,4]=>0000000
[8,3,7,1,6,5,2,4]=>0000000
[5,1,7,4,2,8,6,3]=>0000000
[2,8,1,7,6,5,3,4]=>0000000
[4,2,8,6,5,1,7,3]=>0000000
[6,4,2,8,5,1,7,3]=>0000000
[8,6,4,7,1,5,2,3]=>0000000
[7,6,4,8,1,5,2,3]=>0000000
[5,1,6,4,2,3,8,7]=>0000010
[4,2,3,8,7,5,1,6]=>0000000
[3,8,7,1,6,5,2,4]=>0000000
[2,4,3,8,1,6,7,5]=>0000000
[2,4,3,7,1,6,8,5]=>0000000
[4,2,3,7,8,5,1,6]=>0000000
[5,1,6,4,2,3,7,8]=>0000011
[6,4,7,8,1,5,2,3]=>0000000
[8,7,4,6,1,5,2,3]=>0000000
[6,5,7,8,1,4,2,3]=>0000000
[4,7,8,6,1,5,2,3]=>0000000
[3,2,4,7,8,1,5,6]=>0000000
[3,2,4,8,7,1,5,6]=>0000000
[4,8,7,6,1,5,2,3]=>0000000
[5,8,7,6,1,4,2,3]=>0000000
[8,6,5,7,1,4,2,3]=>0000000
[5,1,6,7,4,2,3,8]=>0000001
[6,7,4,8,1,5,2,3]=>0000000
[8,4,7,6,1,5,2,3]=>0000000
[8,3,2,4,7,1,5,6]=>0000000
[7,3,2,4,8,1,5,6]=>0000000
[2,5,3,7,1,6,4,8]=>0000001
[8,4,6,7,1,5,2,3]=>0000000
[7,4,6,8,1,5,2,3]=>0000000
[5,1,6,8,4,2,3,7]=>0000000
[4,2,3,7,5,1,6,8]=>0000001
[3,7,5,8,1,6,2,4]=>0000000
[2,4,3,7,1,6,5,8]=>0000001
[2,4,7,1,5,8,6,3]=>0000000
[3,2,4,7,6,1,5,8]=>0000001
[4,7,6,8,1,5,2,3]=>0000000
[8,5,6,7,1,4,2,3]=>0000000
[8,6,7,5,1,4,2,3]=>0000000
[7,6,8,5,1,4,2,3]=>0000000
[6,8,7,5,1,4,2,3]=>0000000
[5,6,8,7,1,4,2,3]=>0000000
[4,6,8,7,1,5,2,3]=>0000000
[2,4,6,7,1,5,8,3]=>0000000
[3,2,4,6,1,5,7,8]=>0000011
[6,7,8,5,1,4,2,3]=>0000000
[7,8,6,5,1,4,2,3]=>0000000
[3,1,7,5,4,2,8,6]=>0000000
[2,1,8,5,4,6,3,7]=>0100000
[4,1,8,5,2,3,6,7]=>0000000
[5,4,1,3,6,7,2,8]=>0000001
[8,4,1,2,6,3,7,5]=>0000000
[8,2,7,1,5,3,4,6]=>0000000
[3,2,7,1,5,8,4,6]=>0000000
[6,3,7,1,5,4,2,8]=>0000001
[7,3,8,1,5,4,2,6]=>0000000
[7,1,5,3,8,4,2,6]=>0000000
[4,5,1,3,6,8,2,7]=>0000000
[3,6,8,1,5,4,2,7]=>0000000
[6,8,3,1,5,4,2,7]=>0000000
[7,6,3,1,5,4,2,8]=>0000001
[3,6,2,1,5,8,4,7]=>0000000
[8,6,2,1,5,3,4,7]=>0000000
[4,8,2,1,7,5,3,6]=>0000000
[2,3,8,1,5,7,4,6]=>0000000
[7,1,3,2,8,6,4,5]=>0000000
[7,1,6,2,8,3,4,5]=>0000000
[4,7,1,2,6,3,8,5]=>0000000
[2,7,8,1,5,3,4,6]=>0000000
[6,7,2,1,5,3,4,8]=>0000001
[4,7,2,1,8,5,3,6]=>0000000
[8,7,2,1,4,5,3,6]=>0000000
[8,7,5,6,1,4,3,2]=>0000000
[5,7,8,6,1,4,3,2]=>0000000
[2,7,4,1,6,5,3,8]=>0000001
[3,7,1,4,5,6,8,2]=>0000000
[7,1,6,4,5,8,3,2]=>0000000
[3,5,1,4,7,6,8,2]=>0000000
[2,6,4,1,7,5,3,8]=>0000001
[5,6,8,7,1,4,3,2]=>0000000
[6,8,5,7,1,4,3,2]=>0000000
[8,6,5,7,1,4,3,2]=>0000000
[8,5,7,6,1,4,3,2]=>0000000
[6,5,7,8,1,4,3,2]=>0000000
[7,2,3,1,5,6,4,8]=>0000001
[4,2,8,1,6,5,3,7]=>0000000
[6,2,4,1,8,5,3,7]=>0000000
[8,3,1,4,5,6,7,2]=>0000000
[5,3,1,4,8,6,7,2]=>0000000
[7,5,1,6,3,4,8,2]=>0000000
[7,1,5,8,4,3,6,2]=>0000000
[5,8,1,6,4,3,7,2]=>0000000
[5,3,1,8,4,6,7,2]=>0000000
[8,3,1,5,4,6,7,2]=>0000000
[8,2,6,1,4,5,3,7]=>0000000
[6,2,8,1,4,5,3,7]=>0000000
[7,2,6,1,5,3,4,8]=>0000001
[2,8,6,1,5,3,4,7]=>0000000
[4,2,1,5,6,3,8,7]=>0000010
[7,1,2,5,8,3,4,6]=>0000000
[7,1,4,5,6,8,3,2]=>0000000
[8,5,6,7,1,4,3,2]=>0000000
[7,6,8,5,1,4,3,2]=>0000000
[6,8,7,5,1,4,3,2]=>0000000
[2,6,7,1,4,5,3,8]=>0000001
[3,5,1,7,4,6,8,2]=>0000000
[7,1,5,6,4,8,3,2]=>0000000
[7,1,6,5,4,8,3,2]=>0000000
[2,7,6,1,4,5,3,8]=>0000001
[5,7,6,8,1,4,3,2]=>0000000
[7,8,6,5,1,4,3,2]=>0000000
[4,3,1,6,5,8,7,2]=>0000000
[5,3,1,2,4,8,7,6]=>0000100
[5,3,6,2,1,8,7,4]=>0000000
[5,3,7,2,1,4,6,8]=>0000001
[5,3,7,2,8,4,1,6]=>0000000
[7,2,4,5,8,3,1,6]=>0000000
[7,2,4,5,1,3,6,8]=>0000001
[6,2,4,5,1,8,7,3]=>0000000
[3,1,4,5,2,8,7,6]=>0000100
[1,6,4,5,2,8,7,3]=>1000000
[3,7,4,5,1,2,6,8]=>0000001
[3,7,4,5,8,2,1,6]=>0000000
[1,7,4,2,6,3,5,8]=>1000001
[8,7,4,5,2,1,6,3]=>0000000
[6,3,7,1,8,4,2,5]=>0000000
[5,7,4,1,6,3,2,8]=>0000001
[1,7,4,8,6,3,2,5]=>1000000
[5,7,4,8,6,3,1,2]=>0000000
[4,8,3,5,6,7,1,2]=>0000000
[1,8,3,5,6,7,2,4]=>1000000
[4,8,1,5,6,7,2,3]=>0000000
[4,1,3,5,6,7,2,8]=>0000001
[5,8,4,3,6,1,2,7]=>0000000
[5,3,8,4,1,7,2,6]=>0000000
[1,5,8,4,6,7,3,2]=>1000000
[1,4,8,3,6,7,5,2]=>1000000
[4,3,8,2,1,7,5,6]=>0000000
[3,8,4,2,6,1,5,7]=>0000000
[1,8,2,5,6,7,4,3]=>1000000
[3,8,1,5,6,7,4,2]=>0000000
[3,8,2,5,6,7,1,4]=>0000000
[8,2,1,5,6,7,4,3]=>0000000
[8,1,3,5,6,7,4,2]=>0000000
[7,1,4,3,6,2,5,8]=>0000001
[7,8,4,3,6,2,1,5]=>0000000
[4,3,1,8,5,7,6,2]=>0000000
[4,3,1,6,8,7,5,2]=>0000000
[6,3,1,8,2,7,4,5]=>0000000
[6,3,5,8,2,7,1,4]=>0000000
[7,5,4,8,6,2,1,3]=>0000000
[7,1,4,8,6,2,3,5]=>0000000
[7,5,4,1,6,2,3,8]=>0000001
[7,6,4,5,8,1,3,2]=>0000000
[1,6,4,5,8,2,3,7]=>1000000
[7,3,6,1,8,2,4,5]=>0000000
[1,7,6,5,8,3,4,2]=>1000000
[1,8,5,3,6,7,4,2]=>1000000
[8,3,5,2,1,7,4,6]=>0000000
[8,4,1,5,6,7,3,2]=>0000000
[8,4,2,5,6,7,1,3]=>0000000
[4,1,8,5,6,7,3,2]=>0000000
[1,2,8,5,6,7,3,4]=>1100000
[4,2,1,5,6,7,3,8]=>0000001
[1,5,3,8,6,7,4,2]=>1000000
[1,4,5,8,6,7,3,2]=>1000000
[4,3,5,8,1,7,2,6]=>0000000
[3,5,4,8,6,1,2,7]=>0000000
[1,4,8,5,6,7,2,3]=>1000000
[3,4,8,5,6,7,1,2]=>0000000
[2,7,1,5,6,3,4,8]=>0000001
[2,7,1,4,3,6,5,8]=>0000001
[4,3,7,2,5,6,8,1]=>0000000
[2,6,3,1,4,5,8,7]=>0000010
[3,7,1,4,2,6,8,5]=>0000000
[3,7,1,5,6,2,8,4]=>0000000
[4,7,1,5,6,8,2,3]=>0000000
[8,5,2,6,7,3,1,4]=>0000000
[8,4,2,6,3,7,1,5]=>0000000
[8,4,2,3,5,7,1,6]=>0000000
[4,7,3,2,5,6,1,8]=>0000001
[5,3,4,6,2,8,1,7]=>0000000
[5,3,7,4,2,8,1,6]=>0000000
[6,4,7,2,3,8,1,5]=>0000000
[6,5,7,2,8,3,1,4]=>0000000
[5,3,7,2,4,8,6,1]=>0000000
[2,6,5,1,8,3,4,7]=>0000000
[8,7,6,1,4,5,2,3]=>0000000
[8,7,6,1,3,2,5,4]=>0000000
[8,7,2,4,3,1,6,5]=>0000000
[8,7,4,5,1,6,2,3]=>0000000
[8,5,6,4,1,7,2,3]=>0000000
[8,5,6,3,1,2,7,4]=>0000000
[8,4,6,2,3,1,7,5]=>0000000
[8,3,5,4,2,1,7,6]=>0000000
[5,7,3,4,2,1,8,6]=>0000000
[6,7,4,2,3,1,8,5]=>0000000
[6,7,5,3,1,2,8,4]=>0000000
[6,7,5,4,1,8,2,3]=>0000000
[7,3,5,4,1,8,6,2]=>0000000
[2,6,5,7,3,1,8,4]=>0000000
[6,3,2,4,7,5,1,8]=>0000001
[4,2,1,6,3,7,5,8]=>0000001
[4,2,1,6,3,7,8,5]=>0000000
[4,2,1,3,7,8,6,5]=>0001000
[5,8,1,7,4,3,2,6]=>0000000
[7,3,4,2,6,8,1,5]=>0000000
[3,6,7,5,2,4,8,1]=>0000000
[4,2,1,7,3,6,5,8]=>0000001
[3,7,8,6,2,4,5,1]=>0000000
[4,2,1,3,5,8,6,7]=>0001100
[4,8,1,7,3,6,5,2]=>0000000
[4,2,1,8,3,7,6,5]=>0000000
[2,6,1,5,4,7,8,3]=>0000000
[4,6,3,5,8,7,1,2]=>0000000
[3,5,6,1,4,8,7,2]=>0000000
[4,7,5,2,1,3,6,8]=>0000001
[3,5,6,2,4,1,7,8]=>0000011
[2,5,6,1,4,8,3,7]=>0000000
[6,7,8,4,1,5,3,2]=>0000000
[7,1,6,8,4,5,3,2]=>0000000
[7,4,6,5,2,8,1,3]=>0000000
[7,1,5,6,4,2,3,8]=>0000001
[5,7,4,6,8,1,3,2]=>0000000
[5,7,8,1,4,6,3,2]=>0000000
[8,1,5,7,4,6,3,2]=>0000000
[1,8,4,6,7,5,3,2]=>1000000
[6,1,8,4,7,5,3,2]=>0000000
[4,5,8,6,1,7,3,2]=>0000000
[4,8,5,1,6,7,3,2]=>0000000
[8,1,4,5,6,7,3,2]=>0000000
[5,6,7,1,4,2,3,8]=>0000001
[8,4,2,6,1,5,7,3]=>0000000
[4,8,5,2,1,6,7,3]=>0000000
[5,1,8,4,2,6,3,7]=>0000000
[1,8,4,6,2,5,3,7]=>1000000
[6,1,5,2,3,4,7,8]=>0000011
[8,3,1,4,6,2,5,7]=>0000000
[3,1,8,2,5,6,4,7]=>0000000
[3,5,1,8,2,6,4,7]=>0000000
[3,5,1,2,8,4,7,6]=>0000000
[2,3,5,8,6,1,7,4]=>0000000
[8,2,4,3,6,7,1,5]=>0000000
[3,2,8,5,7,1,6,4]=>0000000
[3,6,2,8,5,1,7,4]=>0000000
[6,2,1,8,4,7,5,3]=>0000000
[2,8,7,1,4,6,5,3]=>0000000
[8,2,7,1,5,4,6,3]=>0000000
[7,2,5,3,6,8,1,4]=>0000000
[7,3,1,5,6,2,4,8]=>0000001
[3,7,5,1,6,2,4,8]=>0000001
[2,7,3,6,5,8,1,4]=>0000000
[8,7,2,4,1,6,5,3]=>0000000
[1,8,7,2,3,6,5,4]=>1000000
[1,7,8,2,6,4,3,5]=>1000000
[1,7,3,8,2,6,4,5]=>1000000
[1,2,7,3,6,4,5,8]=>1100001
[7,1,5,8,3,2,4,6]=>0000000
[1,6,2,8,4,3,7,5]=>1000000
[1,3,8,7,2,4,6,5]=>1000000
[1,8,3,7,2,5,4,6]=>1000000
[8,1,4,7,3,2,5,6]=>0000000
[4,7,8,1,3,2,5,6]=>0000000
[7,1,4,2,3,5,6,8]=>0000001
[8,2,1,4,7,3,5,6]=>0000000
[2,1,3,8,4,6,7,5]=>0110000
[1,2,3,4,8,5,7,6]=>1111000
[2,4,7,5,6,8,3,1]=>0000000
[2,8,5,7,3,6,4,1]=>0000000
[3,1,8,5,2,7,6,4]=>0000000
[2,5,7,3,4,8,6,1]=>0000000
[7,3,8,5,1,6,4,2]=>0000000
[4,8,1,5,2,7,3,6]=>0000000
[4,1,2,5,3,8,7,6]=>0000100
[4,3,6,8,7,5,1,2]=>0000000
[5,4,1,8,2,7,6,3]=>0000000
[6,4,8,1,2,5,3,7]=>0000000
[5,4,1,6,8,2,7,3]=>0000000
[6,5,1,2,3,7,8,4]=>0000000
[6,5,1,2,3,4,8,7]=>0000010
[6,7,4,1,2,5,3,8]=>0000001
[2,4,6,3,5,7,1,8]=>0000001
[1,4,6,3,7,2,5,8]=>1000001
[8,6,2,5,3,1,7,4]=>0000000
[8,2,3,4,5,1,7,6]=>0000000
[1,8,3,4,2,7,5,6]=>1000000
[2,8,3,4,1,6,7,5]=>0000000
[8,7,2,3,1,6,5,4]=>0000000
[3,8,2,4,6,1,7,5]=>0000000
[7,8,2,4,3,1,6,5]=>0000000
[4,5,8,2,3,1,7,6]=>0000000
[5,1,4,3,7,2,6,8]=>0000001
[6,1,3,5,7,2,4,8]=>0000001
[2,1,4,7,5,3,6,8]=>0100001
[7,1,3,6,2,5,4,8]=>0000001
[8,1,3,6,2,4,7,5]=>0000000
[2,1,8,3,7,5,4,6]=>0100000
[7,1,8,2,5,6,3,4]=>0000000
[6,1,5,8,2,7,3,4]=>0000000
[4,5,2,8,1,6,7,3]=>0000000
[6,2,5,8,1,4,7,3]=>0000000
[3,2,8,5,1,6,7,4]=>0000000
[8,2,7,1,4,6,5,3]=>0000000
[1,3,8,2,5,7,4,6]=>1000000
[2,8,7,1,6,4,5,3]=>0000000
[3,8,7,1,5,6,4,2]=>0000000
[3,4,8,5,6,1,7,2]=>0000000
[8,3,7,4,1,6,5,2]=>0000000
[1,4,8,6,2,7,3,5]=>1000000
[8,4,5,7,1,6,3,2]=>0000000
[3,5,6,8,4,1,7,2]=>0000000
[6,2,3,1,5,4,7,8]=>0000011
[7,2,3,1,4,6,5,8]=>0000001
[8,2,3,1,4,5,7,6]=>0000000
[8,5,1,3,2,4,7,6]=>0000000
[7,5,1,3,2,6,4,8]=>0000001
[2,6,1,4,5,3,7,8]=>0000011
[3,6,4,1,5,2,7,8]=>0000011
[4,5,6,1,3,2,7,8]=>0000011
[4,5,7,1,2,6,3,8]=>0000001
[3,7,4,1,2,6,5,8]=>0000001
[6,7,1,4,2,5,3,8]=>0000001
[2,7,1,3,5,6,4,8]=>0000001
[8,6,1,2,4,3,7,5]=>0000000
[2,8,1,3,4,6,7,5]=>0000000
[7,8,1,2,5,3,6,4]=>0000000
[3,8,4,1,2,5,7,6]=>0000000
[1,2,6,7,5,3,8,4]=>1100000
[1,7,5,3,2,8,4,6]=>1000000
[1,6,7,5,3,8,4,2]=>1000000
[1,6,5,7,2,3,8,4]=>1000000
[1,3,8,2,6,5,7,4]=>1000000
[1,2,5,7,6,3,4,8]=>1100001
[1,3,4,8,2,5,7,6]=>1000000
[1,5,7,6,2,3,4,8]=>1000001
[1,5,3,8,2,6,4,7]=>1000000
[1,4,8,3,2,5,7,6]=>1000000
[1,4,8,3,5,7,6,2]=>1000000
[1,2,4,8,3,5,7,6]=>1100000
[1,3,8,4,2,6,7,5]=>1000000
[1,4,8,2,3,5,7,6]=>1000000
[6,5,7,3,8,2,4,1]=>0000000
[4,2,6,7,5,8,3,1]=>0000000
[6,7,5,2,1,8,4,3]=>0000000
[3,4,8,7,5,2,1,6]=>0000000
[1,7,5,2,8,4,6,3]=>1000000
[5,6,8,3,1,7,2,4]=>0000000
[6,1,4,8,3,2,7,5]=>0000000
[3,4,7,1,8,6,2,5]=>0000000
[3,4,6,8,2,1,5,7]=>0000000
[3,8,2,5,6,1,4,7]=>0000000
[3,5,2,8,6,4,1,7]=>0000000
[4,2,5,7,3,8,6,1]=>0000000
[7,4,2,5,3,8,1,6]=>0000000
[3,1,2,8,5,6,4,7]=>0010000
[5,2,1,6,8,3,4,7]=>0000000
[5,2,6,8,4,1,3,7]=>0000000
[1,5,6,8,3,4,2,7]=>1000000
[4,5,8,1,6,3,2,7]=>0000000
[4,5,1,6,8,3,2,7]=>0000000
[4,5,7,3,8,2,6,1]=>0000000
[6,4,3,7,8,2,5,1]=>0000000
[6,4,3,1,7,8,2,5]=>0000000
[4,5,3,1,7,8,2,6]=>0000000
[7,1,3,5,4,8,2,6]=>0000000
[7,5,2,8,1,4,3,6]=>0000000
[5,7,3,8,4,6,1,2]=>0000000
[1,4,5,7,3,8,6,2]=>1000000
[4,6,3,7,8,5,2,1]=>0000000
[5,3,6,7,8,4,2,1]=>0000000
[1,5,3,6,7,8,4,2]=>1000000
[4,6,1,7,3,8,5,2]=>0000000
[6,3,7,1,8,4,5,2]=>0000000
[6,7,2,4,8,1,5,3]=>0000000
[2,6,1,4,7,3,8,5]=>0000000
[3,2,5,6,7,8,1,4]=>0000000
[5,2,3,6,7,8,4,1]=>0000000
[6,7,1,3,2,8,4,5]=>0000000
[6,2,7,1,3,4,8,5]=>0000000
[5,2,1,7,3,8,4,6]=>0000000
[6,4,2,7,1,8,3,5]=>0000000
[4,2,6,3,7,8,1,5]=>0000000
[4,2,6,3,7,8,5,1]=>0000000
[6,7,3,8,2,4,5,1]=>0000000
[3,6,2,7,4,1,8,5]=>0000000
[6,7,3,2,1,4,8,5]=>0000000
[7,1,8,3,4,2,5,6]=>0000000
[7,2,4,1,8,3,5,6]=>0000000
[7,2,4,8,6,1,3,5]=>0000000
[7,3,4,8,6,2,1,5]=>0000000
[3,5,7,2,1,8,6,4]=>0000000
[6,7,8,3,2,5,1,4]=>0000000
[6,3,7,8,2,5,4,1]=>0000000
[2,6,7,4,8,5,3,1]=>0000000
[6,2,4,7,1,8,5,3]=>0000000
[4,6,2,7,1,8,5,3]=>0000000
[1,7,4,8,5,2,6,3]=>1000000
[1,3,7,8,5,2,6,4]=>1000000
[2,5,7,8,1,6,3,4]=>0000000
[6,3,7,1,8,2,5,4]=>0000000
[1,6,4,7,8,2,5,3]=>1000000
[2,5,6,1,7,8,4,3]=>0000000
[5,6,1,2,7,8,4,3]=>0000000
[6,7,2,1,8,5,3,4]=>0000000
[6,7,2,8,5,4,1,3]=>0000000
[1,6,7,4,8,5,3,2]=>1000000
[1,8,2,4,6,3,5,7]=>1000000
[1,5,7,4,3,6,2,8]=>1000001
[1,8,4,5,3,6,2,7]=>1000000
[1,8,5,3,4,7,2,6]=>1000000
[1,8,2,4,6,3,7,5]=>1000000
[1,8,2,5,4,6,7,3]=>1000000
[3,6,2,7,1,4,5,8]=>0000001
[1,4,7,5,2,6,8,3]=>1000000
[4,6,5,3,7,1,8,2]=>0000000
[5,2,4,8,1,3,7,6]=>0000000
[6,4,3,5,8,2,7,1]=>0000000
[5,2,3,4,8,1,6,7]=>0000000
[3,5,2,4,7,1,6,8]=>0000001
[4,5,3,7,1,6,2,8]=>0000001
[7,6,3,8,5,1,2,4]=>0000000
[4,2,6,7,3,8,1,5]=>0000000
[1,5,7,4,2,8,6,3]=>1000000
[1,3,7,2,8,6,4,5]=>1000000
[1,4,3,7,8,6,2,5]=>1000000
[1,5,3,6,8,2,7,4]=>1000000
[4,3,6,5,7,8,1,2]=>0000000
[4,2,3,5,6,8,1,7]=>0000000
[5,2,6,4,7,8,3,1]=>0000000
[3,2,5,6,8,1,7,4]=>0000000
[6,4,5,2,3,8,7,1]=>0000000
[6,4,2,5,3,8,7,1]=>0000000
[8,6,4,7,5,2,3,1]=>0000000
[6,4,2,5,8,7,3,1]=>0000000
[4,6,2,5,3,8,7,1]=>0000000
[2,6,4,5,8,7,3,1]=>0000000
[2,6,4,8,7,5,3,1]=>0000000
[8,2,4,6,7,5,3,1]=>0000000
[4,2,6,8,7,5,3,1]=>0000000
[4,2,6,5,8,7,3,1]=>0000000
[6,4,8,7,2,5,3,1]=>0000000
[6,4,8,7,5,2,3,1]=>0000000
[4,6,5,8,7,2,3,1]=>0000000
[4,6,5,8,2,7,3,1]=>0000000
[6,8,7,4,2,5,3,1]=>0000000
[4,2,5,6,3,8,1,7]=>0000000
[6,2,5,7,4,8,3,1]=>0000000
[8,5,2,1,4,7,6,3]=>0000000
[6,7,3,2,5,8,4,1]=>0000000
[3,2,6,4,8,1,5,7]=>0000000
[2,3,6,4,7,8,5,1]=>0000000
[7,5,1,8,3,4,6,2]=>0000000
[5,7,8,2,6,3,4,1]=>0000000
[7,1,6,3,5,8,4,2]=>0000000
[6,3,1,7,8,4,5,2]=>0000000
[5,3,6,7,4,1,8,2]=>0000000
[7,3,1,2,5,8,6,4]=>0000000
[1,6,3,5,2,4,8,7]=>1000010
[3,4,8,2,7,5,1,6]=>0000000
[6,3,2,8,5,7,4,1]=>0000000
[3,8,4,7,2,5,6,1]=>0000000
[2,4,8,1,5,3,7,6]=>0000000
[3,4,8,1,6,2,7,5]=>0000000
[1,8,4,6,7,3,5,2]=>1000000
[8,1,6,3,4,5,7,2]=>0000000
[7,6,5,4,1,2,8,3]=>0000000
[5,7,6,8,3,4,2,1]=>0000000
[2,8,1,6,5,7,4,3]=>0000000
[4,6,8,2,5,3,7,1]=>0000000
[5,2,3,7,6,1,8,4]=>0000000
[8,1,2,4,6,7,3,5]=>0000000
[5,2,3,7,4,8,6,1]=>0000000
[5,2,6,8,4,3,1,7]=>0000000
[7,8,1,5,4,3,6,2]=>0000000
[7,2,4,8,5,3,6,1]=>0000000
[3,7,5,1,8,4,6,2]=>0000000
[2,7,8,5,4,6,1,3]=>0000000
[5,7,4,3,8,6,2,1]=>0000000
[4,8,1,6,3,5,2,7]=>0000000
[8,3,1,7,4,2,5,6]=>0000000
[3,1,8,2,4,5,7,6]=>0000000
[8,1,3,7,6,2,4,5]=>0000000
[2,3,6,8,7,1,4,5]=>0000000
[4,3,2,8,5,7,1,6]=>0000000
[3,6,4,2,8,5,7,1]=>0000000
[4,7,3,2,5,1,8,6]=>0000000
[3,2,4,7,5,8,6,1]=>0000000
[4,2,3,8,6,5,1,7]=>0000000
[2,4,3,5,1,8,6,7]=>0000100
[3,2,8,1,4,6,5,7]=>0000000
[4,7,8,3,1,2,6,5]=>0000000
[4,7,8,2,1,3,6,5]=>0000000
[4,1,6,8,2,3,7,5]=>0000000
[4,5,1,2,8,3,7,6]=>0000000
[3,6,2,8,4,7,1,5]=>0000000
[3,2,6,8,4,7,1,5]=>0000000
[4,2,6,8,3,1,7,5]=>0000000
[4,2,5,1,8,3,7,6]=>0000000
[4,1,2,5,8,3,7,6]=>0000000
[4,2,5,3,8,1,7,6]=>0000000
[3,2,5,4,8,7,1,6]=>0000000
[5,4,1,3,2,8,7,6]=>0000100
[5,4,3,1,2,8,7,6]=>0000100
[3,5,1,4,8,7,2,6]=>0000000
[3,4,5,1,8,7,2,6]=>0000000
[2,4,6,8,3,7,5,1]=>0000000
[3,4,5,2,8,7,1,6]=>0000000
[5,3,1,4,2,8,7,6]=>0000100
[5,3,2,1,4,8,7,6]=>0000100
[4,3,2,5,8,1,7,6]=>0000000
[3,2,4,5,8,7,1,6]=>0000000
[5,2,1,3,4,8,7,6]=>0000100
[8,6,2,5,4,1,3,7]=>0000000
[6,5,7,4,2,8,3,1]=>0000000
[6,7,5,3,8,2,4,1]=>0000000
[8,2,1,6,3,4,5,7]=>0000000
[8,3,5,6,2,4,1,7]=>0000000
[8,6,2,1,3,5,4,7]=>0000000
[8,1,2,3,4,6,5,7]=>0000000
[6,2,3,7,8,4,5,1]=>0000000
[7,5,8,2,6,3,4,1]=>0000000
[7,3,1,6,5,8,4,2]=>0000000
[1,5,6,7,3,4,8,2]=>1000000
[6,7,8,2,1,4,5,3]=>0000000
[8,4,7,6,2,1,3,5]=>0000000
[5,3,8,4,7,2,6,1]=>0000000
[8,1,3,7,6,4,2,5]=>0000000
[5,3,1,7,8,6,2,4]=>0000000
[3,5,8,2,7,1,6,4]=>0000000
[6,2,8,5,3,1,7,4]=>0000000
[8,2,6,4,7,1,3,5]=>0000000
[3,4,2,8,5,1,7,6]=>0000000
[3,8,6,5,2,1,7,4]=>0000000
[8,3,7,4,2,5,6,1]=>0000000
[4,8,5,7,2,1,3,6]=>0000000
[3,4,1,8,2,6,7,5]=>0000000
[8,4,6,3,7,1,5,2]=>0000000
[6,8,3,4,1,5,7,2]=>0000000
[5,1,7,6,2,8,4,3]=>0000000
[6,8,2,5,7,4,1,3]=>0000000
[2,8,5,6,7,1,3,4]=>0000000
[2,5,7,6,3,1,8,4]=>0000000
[4,2,8,3,1,5,6,7]=>0000000
[2,5,7,3,8,4,6,1]=>0000000
[4,2,7,1,8,5,3,6]=>0000000
[4,2,1,8,7,5,6,3]=>0000000
[8,3,6,7,1,5,4,2]=>0000000
[1,3,7,5,8,6,4,2]=>1000000
[5,7,8,4,3,1,6,2]=>0000000
[2,7,4,5,8,3,6,1]=>0000000
[3,5,7,1,4,8,6,2]=>0000000
[7,2,8,5,1,4,6,3]=>0000000
[1,6,5,3,8,4,2,7]=>1000000
[5,7,4,8,3,6,2,1]=>0000000
[4,8,6,1,3,5,2,7]=>0000000
[1,8,3,2,4,7,5,6]=>1000000
[8,4,3,2,5,7,1,6]=>0000000
[3,6,4,8,2,5,7,1]=>0000000
[4,3,7,2,5,8,1,6]=>0000000
[3,2,4,7,8,5,6,1]=>0000000
[2,6,4,3,8,5,1,7]=>0000000
[3,8,2,1,6,4,5,7]=>0000000
[8,2,1,3,4,5,7,6]=>0000000
[4,6,8,3,2,1,5,7]=>0000000
[3,2,6,8,5,4,1,7]=>0000000
[7,3,8,2,5,4,1,6]=>0000000
[4,2,5,3,8,7,6,1]=>0000000
[4,8,2,6,5,3,1,7]=>0000000
[2,6,8,5,4,1,3,7]=>0000000
[3,1,8,6,5,4,2,7]=>0000000
[5,4,8,7,3,2,6,1]=>0000000
[6,4,8,3,7,2,5,1]=>0000000
[4,7,3,6,2,1,8,5]=>0000000
[5,4,3,7,1,8,2,6]=>0000000
[7,3,8,5,1,4,2,6]=>0000000
[5,4,8,7,6,2,1,3]=>0000000
[3,8,1,5,7,4,6,2]=>0000000
[4,8,5,7,3,1,6,2]=>0000000
[1,5,4,8,3,7,6,2]=>1000000
[4,8,3,6,7,1,5,2]=>0000000
[4,7,8,3,1,6,5,2]=>0000000
[8,7,5,3,6,4,2,1]=>0000000
[4,6,1,3,8,7,5,2]=>0000000
[6,8,2,1,7,4,5,3]=>0000000
[3,7,1,6,4,2,8,5]=>0000000
[3,1,2,7,5,6,8,4]=>0010000
[3,6,1,2,7,5,8,4]=>0000000
[3,7,6,2,5,8,1,4]=>0000000
[3,6,2,5,8,7,4,1]=>0000000
[8,5,2,3,6,7,4,1]=>0000000
[4,7,2,6,3,8,1,5]=>0000000
[6,3,2,4,8,7,5,1]=>0000000
[3,7,2,4,6,1,8,5]=>0000000
[5,3,7,2,8,1,4,6]=>0000000
[6,3,2,8,7,5,1,4]=>0000000
[7,3,8,2,6,5,1,4]=>0000000
[6,4,8,7,2,5,1,3]=>0000000
[2,5,4,8,1,7,6,3]=>0000000
[5,2,8,1,7,6,3,4]=>0000000
[6,2,1,3,8,7,5,4]=>0000000
[3,6,1,8,7,5,2,4]=>0000000
[5,6,1,2,8,7,4,3]=>0000000
[7,5,2,8,1,6,4,3]=>0000000
[2,7,6,8,1,5,4,3]=>0000000
[7,8,5,1,6,2,4,3]=>0000000
[7,4,8,6,1,2,5,3]=>0000000
[7,2,1,8,3,6,5,4]=>0000000
[5,8,7,1,6,4,3,2]=>0000000
[8,5,4,3,7,2,1,6]=>0000000
[6,5,4,8,3,2,7,1]=>0000000
[7,6,4,3,2,8,5,1]=>0000000
[7,3,1,4,8,2,5,6]=>0000000
[7,4,1,2,5,8,3,6]=>0000000
[6,7,4,2,5,1,3,8]=>0000001
[5,7,2,4,6,8,1,3]=>0000000
[4,7,5,1,6,2,8,3]=>0000000
[5,7,4,6,3,1,8,2]=>0000000
[7,5,1,4,3,2,8,6]=>0000000
[8,6,4,2,3,7,5,1]=>0000000
[6,4,7,1,3,8,5,2]=>0000000
[5,4,2,7,3,1,6,8]=>0000001
[4,5,1,2,7,6,8,3]=>0000000
[5,4,6,8,3,1,2,7]=>0000000
[6,4,8,1,3,7,2,5]=>0000000
[4,6,1,3,8,5,2,7]=>0000000
[1,3,8,4,5,7,2,6]=>1000000
[2,6,7,4,5,3,1,8]=>0000001
[2,6,8,4,3,5,1,7]=>0000000
[1,3,7,4,2,8,5,6]=>1000000
[4,6,1,3,7,2,5,8]=>0000001
[7,5,8,6,2,1,3,4]=>0000000
[2,8,1,3,6,5,4,7]=>0000000
[2,8,7,3,5,4,1,6]=>0000000
[3,4,2,6,8,7,1,5]=>0000000
[7,4,2,3,6,1,8,5]=>0000000
[8,4,2,3,6,5,7,1]=>0000000
[7,3,8,4,1,2,6,5]=>0000000
[6,8,3,2,7,1,5,4]=>0000000
[2,8,5,6,3,7,1,4]=>0000000
[7,4,2,5,8,1,6,3]=>0000000
[2,7,8,3,4,5,1,6]=>0000000
[3,7,1,2,4,6,5,8]=>0000001
[7,5,6,8,2,1,4,3]=>0000000
[3,1,6,5,2,7,4,8]=>0000001
[2,8,6,5,3,4,1,7]=>0000000
[1,7,2,3,5,6,8,4]=>1000000
[3,7,4,2,1,5,6,8]=>0000001
[3,4,6,2,8,5,7,1]=>0000000
[4,2,1,7,5,8,3,6]=>0000000
[4,7,2,6,5,1,3,8]=>0000001
[3,7,4,1,2,5,8,6]=>0000000
[4,7,1,6,5,2,8,3]=>0000000
[4,7,3,6,5,1,8,2]=>0000000
[4,3,7,1,6,8,5,2]=>0000000
[4,2,1,7,5,6,8,3]=>0000000
[3,2,4,8,6,7,1,5]=>0000000
[4,2,6,8,7,3,1,5]=>0000000
[3,4,6,1,8,5,2,7]=>0000000
[4,1,6,7,5,8,2,3]=>0000000
[4,3,6,7,5,1,2,8]=>0000001
[4,3,7,1,6,8,2,5]=>0000000
[4,3,7,5,6,8,2,1]=>0000000
[4,1,7,3,6,5,2,8]=>0000001
[2,8,7,4,5,3,1,6]=>0000000
[2,8,7,4,3,5,1,6]=>0000000
[3,8,1,4,2,6,5,7]=>0000000
[4,1,7,3,6,2,5,8]=>0000001
[5,8,7,6,1,2,4,3]=>0000000
[5,8,7,6,2,1,3,4]=>0000000
[4,1,7,2,6,8,5,3]=>0000000
[4,2,7,3,6,1,8,5]=>0000000
[4,2,7,3,6,5,8,1]=>0000000
[3,8,2,4,5,6,7,1]=>0000000
[3,8,2,4,1,6,7,5]=>0000000
[3,8,5,6,2,4,1,7]=>0000000
[2,8,6,5,3,7,1,4]=>0000000
[3,8,6,5,1,4,7,2]=>0000000
[3,8,2,1,4,6,7,5]=>0000000
[3,8,2,5,4,6,7,1]=>0000000
[4,2,7,5,6,3,8,1]=>0000000
[4,2,7,5,6,1,8,3]=>0000000
[4,2,6,7,5,3,1,8]=>0000001
[3,2,6,1,4,5,8,7]=>0000010
[2,8,7,3,4,5,1,6]=>0000000
[3,8,1,2,4,6,5,7]=>0000000
[5,8,7,6,1,3,4,2]=>0000000
[5,8,7,6,2,3,4,1]=>0000000
[4,1,7,5,6,2,3,8]=>0000001
[3,8,1,5,2,6,4,7]=>0000000
[2,8,7,5,3,4,1,6]=>0000000
[2,8,7,5,4,3,1,6]=>0000000
[4,1,7,5,6,3,2,8]=>0000001
[5,8,7,6,1,3,2,4]=>0000000
[5,8,7,6,4,1,2,3]=>0000000
[7,4,3,5,2,8,1,6]=>0000000
[5,4,1,7,3,6,8,2]=>0000000
[3,4,7,6,2,5,8,1]=>0000000
[5,7,6,4,3,1,8,2]=>0000000
[5,7,6,3,1,4,8,2]=>0000000
[3,2,8,6,7,1,4,5]=>0000000
[4,8,3,6,5,2,1,7]=>0000000
[1,8,7,2,3,5,4,6]=>1000000
[1,8,7,2,5,3,4,6]=>1000000
[3,6,8,5,1,2,4,7]=>0000000
[7,1,2,8,3,5,6,4]=>0000000
[5,6,8,4,7,3,2,1]=>0000000
[6,4,7,8,5,2,1,3]=>0000000
[7,4,3,8,2,6,5,1]=>0000000
[8,7,1,3,5,4,6,2]=>0000000
[5,8,2,6,3,1,4,7]=>0000000
[8,1,7,2,4,5,3,6]=>0000000
[8,1,3,6,2,5,4,7]=>0000000
[7,2,1,6,3,5,4,8]=>0000001
[2,7,1,6,3,5,4,8]=>0000001
[2,7,1,5,4,3,6,8]=>0000001
[7,2,1,5,4,3,6,8]=>0000001
[8,1,3,5,4,2,6,7]=>0000000
[8,1,5,3,4,2,6,7]=>0000000
[8,1,5,6,2,3,7,4]=>0000000
[8,1,4,5,3,2,6,7]=>0000000
[8,1,4,3,5,2,6,7]=>0000000
[7,2,1,4,5,3,6,8]=>0000001
[2,7,1,4,5,3,6,8]=>0000001
[2,6,3,1,5,4,7,8]=>0000011
[6,3,2,1,5,4,7,8]=>0000011
[7,3,1,4,5,2,6,8]=>0000001
[7,3,1,5,4,2,6,8]=>0000001
[7,3,1,6,2,5,4,8]=>0000001
[3,7,1,6,2,5,4,8]=>0000001
[3,7,1,4,5,2,6,8]=>0000001
[3,6,2,1,5,4,7,8]=>0000011
[2,3,6,1,5,4,7,8]=>0000011
[3,5,2,4,1,6,7,8]=>0000111
[6,3,4,1,5,2,7,8]=>0000011
[6,2,4,1,5,3,7,8]=>0000011
[2,6,4,1,5,3,7,8]=>0000011
[2,6,5,1,3,7,4,8]=>0000001
[6,2,5,1,3,7,4,8]=>0000001
[6,5,2,1,3,7,4,8]=>0000001
[7,6,1,2,4,5,3,8]=>0000001
[6,7,1,2,8,3,5,4]=>0000000
[6,7,1,2,5,4,3,8]=>0000001
[5,6,2,1,3,7,4,8]=>0000001
[5,2,6,1,3,7,4,8]=>0000001
[2,4,6,1,5,3,7,8]=>0000011
[4,7,1,3,5,2,6,8]=>0000001
[4,7,1,5,3,2,6,8]=>0000001
[5,7,1,4,2,6,3,8]=>0000001
[5,7,1,6,2,3,8,4]=>0000000
[5,6,3,1,2,7,4,8]=>0000001
[4,2,5,3,1,6,7,8]=>0000111
[5,3,6,1,2,7,4,8]=>0000001
[3,4,6,1,5,2,7,8]=>0000011
[6,5,1,8,7,3,4,2]=>0000000
[8,2,7,5,4,1,3,6]=>0000000
[8,5,6,2,7,1,4,3]=>0000000
[7,6,1,5,3,8,4,2]=>0000000
[5,8,6,1,7,2,4,3]=>0000000
[5,8,7,3,2,6,4,1]=>0000000
[8,1,7,2,5,6,3,4]=>0000000
[4,8,1,5,2,6,7,3]=>0000000
[7,1,2,8,5,6,3,4]=>0000000
[8,7,2,1,5,6,3,4]=>0000000
[8,6,7,1,5,2,3,4]=>0000000
[6,1,7,8,5,2,3,4]=>0000000
[7,5,6,2,1,8,4,3]=>0000000
[8,7,5,2,1,6,4,3]=>0000000
[4,6,7,8,5,1,3,2]=>0000000
[4,6,8,1,5,3,7,2]=>0000000
[6,5,8,1,3,4,7,2]=>0000000
[5,6,8,3,1,2,7,4]=>0000000
[8,7,1,3,5,6,2,4]=>0000000
[6,7,8,3,5,1,2,4]=>0000000
[3,4,8,1,2,6,7,5]=>0000000
[5,8,2,4,3,6,7,1]=>0000000
[3,4,6,5,1,8,2,7]=>0000000
[2,6,3,5,1,8,7,4]=>0000000
[3,2,8,7,5,1,6,4]=>0000000
[3,8,5,1,6,7,2,4]=>0000000
[5,6,7,2,8,1,3,4]=>0000000
[6,2,1,5,3,8,7,4]=>0000000
[8,7,6,2,5,3,1,4]=>0000000
[4,7,6,8,3,2,5,1]=>0000000
[7,6,2,8,5,1,4,3]=>0000000
[8,1,3,7,5,2,6,4]=>0000000
[3,4,8,7,5,1,6,2]=>0000000
[6,3,8,5,7,4,1,2]=>0000000
[7,1,5,8,2,6,4,3]=>0000000
[3,6,8,2,4,1,7,5]=>0000000
[2,5,8,4,6,7,3,1]=>0000000
[2,8,5,7,4,1,3,6]=>0000000
[5,8,4,1,6,7,2,3]=>0000000
[6,2,7,3,8,4,1,5]=>0000000
[7,4,3,2,8,5,1,6]=>0000000
[5,3,2,8,4,6,1,7]=>0000000
[8,4,2,6,5,3,1,7]=>0000000
[7,4,2,5,3,1,6,8]=>0000001
[8,3,6,2,5,4,1,7]=>0000000
[5,4,8,3,2,6,1,7]=>0000000
[3,5,8,2,4,6,1,7]=>0000000
[6,4,7,8,2,3,1,5]=>0000000
[5,8,3,6,4,2,1,7]=>0000000
[4,8,6,2,5,3,1,7]=>0000000
[1,6,4,3,2,8,7,5]=>1000000
[1,5,3,2,8,4,7,6]=>1000000
[5,7,4,3,1,2,6,8]=>0000001
[2,8,7,3,5,1,4,6]=>0000000
[7,3,8,6,4,1,2,5]=>0000000
[6,1,2,7,3,8,5,4]=>0000000
[2,1,7,4,3,8,6,5]=>0100000
[6,1,4,3,8,2,7,5]=>0000000
[5,1,3,2,8,7,4,6]=>0000000
[1,8,4,2,7,6,5,3]=>1000000
[1,8,3,7,2,6,5,4]=>1000000
[5,1,4,8,3,7,2,6]=>0000000
[2,1,6,8,5,4,7,3]=>0100000
[6,1,5,7,8,2,4,3]=>0000000
[8,3,1,6,7,2,5,4]=>0000000
[7,4,8,6,1,3,2,5]=>0000000
[4,7,6,1,2,5,3,8]=>0000001
[3,7,6,1,5,2,4,8]=>0000001
[1,5,4,8,3,2,7,6]=>1000000
[7,3,6,1,2,5,4,8]=>0000001
[5,4,7,1,3,2,6,8]=>0000001
[5,7,4,8,2,1,3,6]=>0000000
[4,6,8,2,5,1,3,7]=>0000000
[7,4,6,2,1,5,3,8]=>0000001
[1,2,6,3,8,5,7,4]=>1100000
[1,5,2,6,8,4,7,3]=>1000000
[5,7,2,3,8,1,4,6]=>0000000
[6,4,7,5,8,1,2,3]=>0000000
[7,4,8,5,1,6,3,2]=>0000000
[5,8,3,6,1,7,4,2]=>0000000
[8,6,4,2,1,7,5,3]=>0000000
[7,4,2,1,5,8,6,3]=>0000000
[7,6,4,1,8,5,2,3]=>0000000
[1,6,4,8,7,5,3,2]=>1000000
[6,3,1,2,8,4,7,5]=>0000000
[7,5,1,3,2,8,6,4]=>0000000
[4,7,1,2,5,8,6,3]=>0000000
[6,8,4,1,2,7,5,3]=>0000000
[7,5,8,1,2,6,4,3]=>0000000
[7,4,8,1,6,3,5,2]=>0000000
[5,8,2,1,7,3,6,4]=>0000000
[3,6,1,8,2,4,7,5]=>0000000
[1,3,8,7,6,2,5,4]=>1000000
[5,4,1,8,7,3,2,6]=>0000000
[3,5,1,8,7,2,4,6]=>0000000
[4,6,1,8,3,7,2,5]=>0000000
[4,7,1,2,8,6,3,5]=>0000000
[5,8,4,1,7,6,2,3]=>0000000
[7,6,8,1,5,4,2,3]=>0000000
[8,6,1,7,5,4,3,2]=>0000000
[7,1,5,8,6,4,3,2]=>0000000
[5,1,8,7,3,6,4,2]=>0000000
[4,1,8,7,6,2,5,3]=>0000000
[3,1,8,7,6,5,2,4]=>0000000
[1,6,4,5,2,3,7,8]=>1000011
[1,7,4,5,2,3,6,8]=>1000001
[1,7,3,5,2,4,6,8]=>1000001
[1,6,3,5,2,4,7,8]=>1000011
[1,6,3,4,2,5,7,8]=>1000011
[1,7,3,4,2,5,6,8]=>1000001
[1,8,6,7,3,4,2,5]=>1000000
[1,8,5,7,3,4,2,6]=>1000000
[1,7,3,4,2,6,5,8]=>1000001
[1,5,2,8,4,7,3,6]=>1000000
[1,4,2,8,5,7,3,6]=>1000000
[1,7,3,5,2,6,4,8]=>1000001
[1,8,4,7,3,5,2,6]=>1000000
[1,7,3,6,2,5,4,8]=>1000001
[1,7,3,6,2,4,5,8]=>1000001
[1,7,4,6,2,3,5,8]=>1000001
[1,8,5,6,2,3,4,7]=>1000000
[1,8,5,6,2,4,3,7]=>1000000
[1,3,2,8,5,6,4,7]=>1010000
[1,4,2,8,5,6,3,7]=>1000000
[1,5,2,8,4,6,3,7]=>1000000
[1,6,2,8,4,5,3,7]=>1000000
[8,1,2,4,5,3,6,7]=>0000000
[8,6,4,7,2,1,3,5]=>0000000
[1,6,4,7,2,8,3,5]=>1000000
[1,4,7,3,5,8,2,6]=>1000000
[8,4,6,2,3,5,1,7]=>0000000
[5,4,8,2,3,6,1,7]=>0000000
[7,4,8,5,2,3,1,6]=>0000000
[3,8,6,2,4,5,1,7]=>0000000
[4,8,6,2,3,5,1,7]=>0000000
[1,7,5,3,4,8,2,6]=>1000000
[1,7,6,4,8,2,3,5]=>1000000
[5,8,7,4,1,2,3,6]=>0000000
[6,8,5,3,4,1,2,7]=>0000000
[6,8,3,7,2,1,4,5]=>0000000
[8,5,1,6,3,7,2,4]=>0000000
[6,1,3,7,4,8,2,5]=>0000000
[4,1,7,3,5,8,2,6]=>0000000
[7,1,6,4,8,2,3,5]=>0000000
[1,8,5,7,2,3,4,6]=>1000000
[6,1,5,8,2,3,4,7]=>0000000
[5,1,7,3,8,2,4,6]=>0000000
[6,1,5,7,8,2,3,4]=>0000000
[7,4,8,6,1,2,3,5]=>0000000
[3,8,7,5,1,2,4,6]=>0000000
[3,7,6,1,2,4,5,8]=>0000001
[4,7,6,1,2,3,5,8]=>0000001
[1,6,5,8,2,3,4,7]=>1000000
[6,5,8,4,1,2,3,7]=>0000000
[8,5,7,4,1,2,3,6]=>0000000
[1,5,7,4,8,2,3,6]=>1000000
[7,6,4,8,2,1,3,5]=>0000000
[7,6,2,3,8,1,4,5]=>0000000
[7,4,8,5,1,6,2,3]=>0000000
[8,6,2,3,1,7,4,5]=>0000000
[8,6,4,1,2,7,3,5]=>0000000
[1,7,2,8,6,3,4,5]=>1000000
[7,6,1,3,8,2,4,5]=>0000000
[7,5,8,1,3,6,2,4]=>0000000
[5,4,1,8,2,3,6,7]=>0000000
[1,4,8,7,2,3,5,6]=>1000000
[1,5,8,7,2,3,4,6]=>1000000
[6,5,1,8,2,3,4,7]=>0000000
[5,7,1,3,8,2,4,6]=>0000000
[7,6,8,1,5,2,3,4]=>0000000
[7,1,5,8,6,2,3,4]=>0000000
[6,1,8,2,7,3,4,5]=>0000000
[4,1,8,7,2,3,5,6]=>0000000
[5,1,8,7,2,3,4,6]=>0000000
[1,8,7,6,4,5,3,2]=>1000000
[1,8,7,3,6,5,4,2]=>1000000
[7,1,5,8,3,4,2,6]=>0000000
[7,1,4,3,2,5,6,8]=>0000001
[6,4,2,3,8,5,7,1]=>0000000
[6,4,2,7,5,8,3,1]=>0000000
[2,4,1,7,5,8,3,6]=>0000000
[7,1,4,6,5,2,3,8]=>0000001
[7,1,4,6,5,8,2,3]=>0000000
[7,1,4,6,3,8,2,5]=>0000000
[7,1,4,3,2,5,8,6]=>0000000
[7,1,4,6,5,2,8,3]=>0000000
[7,1,4,6,5,3,8,2]=>0000000
[7,1,4,6,5,3,2,8]=>0000001
[6,4,2,7,5,3,8,1]=>0000000
[3,4,7,2,6,8,5,1]=>0000000
[3,4,7,1,6,8,2,5]=>0000000
[3,4,7,1,6,8,5,2]=>0000000
[2,4,1,7,5,3,6,8]=>0000001
[3,4,1,7,8,6,2,5]=>0000000
[6,4,2,3,8,5,1,7]=>0000000
[6,4,2,7,5,8,1,3]=>0000000
[6,4,2,7,5,3,1,8]=>0000001
[3,4,7,2,6,8,1,5]=>0000000
[5,4,7,3,6,8,2,1]=>0000000
[3,4,7,2,6,5,1,8]=>0000001
[4,8,3,2,5,6,1,7]=>0000000
[4,8,7,3,5,1,2,6]=>0000000
[4,8,7,1,3,5,2,6]=>0000000
[4,8,3,1,2,6,5,7]=>0000000
[3,4,7,1,6,2,5,8]=>0000001
[3,4,7,1,6,2,8,5]=>0000000
[3,4,7,2,6,5,8,1]=>0000000
[4,8,3,1,2,6,7,5]=>0000000
[5,8,1,6,3,4,2,7]=>0000000
[6,8,5,1,3,7,2,4]=>0000000
[6,8,5,1,3,4,7,2]=>0000000
[5,8,3,4,2,6,7,1]=>0000000
[5,4,7,3,6,2,8,1]=>0000000
[5,4,7,2,6,1,8,3]=>0000000
[6,4,3,7,5,1,2,8]=>0000001
[6,4,3,7,5,1,8,2]=>0000000
[6,2,4,3,1,5,8,7]=>0000010
[3,8,7,4,1,5,2,6]=>0000000
[2,4,7,3,6,1,5,8]=>0000001
[5,8,3,2,1,6,4,7]=>0000000
[5,8,7,4,3,1,2,6]=>0000000
[5,4,7,3,6,2,1,8]=>0000001
[7,3,8,2,1,6,5,4]=>0000000
[7,4,3,8,5,2,1,6]=>0000000
[6,5,2,8,4,3,1,7]=>0000000
[4,3,2,8,6,5,1,7]=>0000000
[4,3,8,7,5,1,6,2]=>0000000
[3,2,5,8,6,1,4,7]=>0000000
[8,4,3,7,5,2,6,1]=>0000000
[4,3,7,8,5,1,2,6]=>0000000
[5,3,7,8,4,1,2,6]=>0000000
[6,2,5,8,3,1,4,7]=>0000000
[6,2,4,8,3,1,5,7]=>0000000
[5,2,3,8,4,1,6,7]=>0000000
[5,3,8,7,4,1,6,2]=>0000000
[5,3,2,8,6,4,1,7]=>0000000
[7,5,3,8,4,2,1,6]=>0000000
[7,5,4,3,8,2,6,1]=>0000000
[6,4,5,3,8,2,7,1]=>0000000
[6,5,8,3,4,2,7,1]=>0000000
[7,5,8,4,6,2,3,1]=>0000000
[7,4,8,3,6,2,5,1]=>0000000
[7,4,8,3,5,2,6,1]=>0000000
[6,4,8,3,5,2,7,1]=>0000000
[5,4,8,3,7,2,6,1]=>0000000
[5,4,6,3,8,2,7,1]=>0000000
[5,3,6,2,4,7,8,1]=>0000000
[5,3,7,2,4,6,8,1]=>0000000
[4,2,1,5,8,6,3,7]=>0000000
[3,2,1,8,5,4,6,7]=>0010000
[6,7,2,1,8,4,5,3]=>0000000
[4,3,1,6,7,8,5,2]=>0000000
[4,2,1,6,8,7,5,3]=>0000000
[4,2,1,6,8,5,3,7]=>0000000
[5,2,6,1,8,3,4,7]=>0000000
[4,2,1,7,8,6,3,5]=>0000000
[3,2,1,8,6,4,7,5]=>0010000
[3,2,1,8,6,4,5,7]=>0010000
[3,2,1,8,4,6,5,7]=>0010000
[3,2,1,8,4,6,7,5]=>0010000
[3,2,1,8,7,4,6,5]=>0010000
[4,2,1,7,8,3,5,6]=>0000000
[3,2,1,8,4,5,7,6]=>0010000
[7,5,2,8,6,3,4,1]=>0000000
[7,4,8,6,2,5,3,1]=>0000000
[7,3,8,6,2,4,5,1]=>0000000
[7,4,3,1,8,2,5,6]=>0000000
[7,4,2,8,5,6,1,3]=>0000000
[7,3,8,5,2,4,6,1]=>0000000
[7,3,8,4,5,6,2,1]=>0000000
[6,3,8,2,4,5,1,7]=>0000000
[6,3,8,2,5,7,4,1]=>0000000
[6,4,3,8,1,5,2,7]=>0000000
[6,3,7,8,2,4,1,5]=>0000000
[5,6,7,3,8,2,4,1]=>0000000
[5,4,7,2,6,8,1,3]=>0000000
[5,3,8,2,4,6,7,1]=>0000000
[6,3,8,2,4,7,5,1]=>0000000
[5,7,4,2,6,8,1,3]=>0000000
[6,4,8,2,7,5,1,3]=>0000000
[6,5,3,1,4,2,7,8]=>0000011
[5,7,4,2,6,1,3,8]=>0000001
[5,6,4,2,3,8,1,7]=>0000000
[5,6,3,7,8,2,4,1]=>0000000
[5,6,3,8,2,4,7,1]=>0000000
[6,3,7,2,4,5,1,8]=>0000001
[6,3,7,2,5,8,4,1]=>0000000
[5,3,6,8,2,4,7,1]=>0000000
[5,4,6,2,3,8,1,7]=>0000000
[5,3,6,7,8,2,4,1]=>0000000
[5,6,3,4,2,1,8,7]=>0000010
[5,6,4,2,1,3,8,7]=>0000010
[2,5,4,1,7,8,6,3]=>0000000
[2,8,6,3,5,4,1,7]=>0000000
[5,8,6,4,2,1,3,7]=>0000000
[4,3,8,5,7,6,2,1]=>0000000
[7,6,2,1,8,4,3,5]=>0000000
[8,4,2,1,5,6,3,7]=>0000000
[3,8,5,6,4,2,1,7]=>0000000
[3,8,6,4,2,1,5,7]=>0000000
[6,4,2,1,3,7,8,5]=>0000000
[6,3,7,8,4,2,1,5]=>0000000
[7,8,4,2,1,6,3,5]=>0000000
[8,5,7,6,2,1,4,3]=>0000000
[4,8,5,7,6,2,1,3]=>0000000
[2,7,5,8,4,3,6,1]=>0000000
[6,4,7,8,3,2,1,5]=>0000000
[6,4,3,7,5,2,1,8]=>0000001
[6,5,3,2,8,4,1,7]=>0000000
[6,5,2,7,8,4,1,3]=>0000000
[6,4,3,2,5,8,1,7]=>0000000
[6,3,7,2,5,4,1,8]=>0000001
[6,3,2,7,5,4,1,8]=>0000001
[8,4,2,6,3,1,7,5]=>0000000
[1,5,3,7,4,2,8,6]=>1000000
[1,6,7,3,4,2,8,5]=>1000000
[8,6,5,2,3,1,7,4]=>0000000
[1,7,6,3,4,2,8,5]=>1000000
[1,8,6,3,2,5,7,4]=>1000000
[8,7,5,2,1,4,6,3]=>0000000
[7,8,5,2,1,4,6,3]=>0000000
[6,8,5,2,3,1,7,4]=>0000000
[5,8,6,2,3,1,7,4]=>0000000
[4,8,2,6,3,1,7,5]=>0000000
[3,2,8,6,4,1,7,5]=>0000000
[3,2,1,7,5,4,8,6]=>0010000
[4,1,3,7,5,2,8,6]=>0000000
[5,1,7,3,4,2,8,6]=>0000000
[7,1,6,3,2,5,8,4]=>0000000
[1,2,7,4,3,6,8,5]=>1100000
[6,1,8,2,4,5,7,3]=>0000000
[5,1,8,3,2,6,7,4]=>0000000
[3,2,8,7,1,5,6,4]=>0000000
[4,8,2,7,1,5,6,3]=>0000000
[5,8,7,2,1,4,6,3]=>0000000
[6,8,7,1,3,4,5,2]=>0000000
[7,8,6,1,3,4,5,2]=>0000000
[1,7,8,2,4,5,6,3]=>1000000
[8,6,7,1,3,4,5,2]=>0000000
[7,6,8,1,3,4,5,2]=>0000000
[6,5,8,2,3,1,7,4]=>0000000
[1,6,8,3,2,5,7,4]=>1000000
[1,5,3,8,2,6,7,4]=>1000000
[8,4,2,7,1,5,6,3]=>0000000
[7,4,2,8,1,5,6,3]=>0000000
[6,4,2,8,3,1,7,5]=>0000000
[5,4,2,3,8,1,7,6]=>0000000
[4,5,2,3,1,6,8,7]=>0000110
[7,4,2,1,3,6,8,5]=>0000000
[8,4,2,1,3,6,7,5]=>0000000
[1,5,3,2,4,7,8,6]=>1000100
[8,5,1,3,2,6,7,4]=>0000000
[5,6,1,3,4,2,8,7]=>0000010
[4,6,2,1,5,3,8,7]=>0000010
[4,7,2,1,3,6,8,5]=>0000000
[5,7,1,3,2,6,8,4]=>0000000
[6,7,1,2,4,5,8,3]=>0000000
[8,6,1,2,4,5,7,3]=>0000000
[1,8,2,3,5,6,7,4]=>1000000
[8,7,1,2,4,5,6,3]=>0000000
[7,8,1,2,4,5,6,3]=>0000000
[5,8,1,3,2,6,7,4]=>0000000
[4,8,2,1,3,6,7,5]=>0000000
[4,1,3,2,5,7,8,6]=>0001100
[5,1,2,4,3,7,8,6]=>0000100
[5,4,8,1,2,3,7,6]=>0000000
[1,4,7,6,3,2,5,8]=>1000001
[4,8,3,2,7,6,1,5]=>0000000
[4,3,8,2,7,1,6,5]=>0000000
[4,3,2,8,1,7,6,5]=>0000000
[4,1,8,7,3,2,5,6]=>0000000
[4,7,8,1,2,5,3,6]=>0000000
[2,3,6,7,4,1,8,5]=>0000000
[2,6,3,4,7,8,1,5]=>0000000
[3,1,7,8,4,2,5,6]=>0000000
[3,7,8,2,6,4,1,5]=>0000000
[3,7,2,4,8,6,1,5]=>0000000
[1,3,6,4,7,2,5,8]=>1000001
[4,7,1,5,8,2,3,6]=>0000000
[2,6,7,3,8,4,1,5]=>0000000
[3,4,6,7,8,5,1,2]=>0000000
[1,2,6,4,7,5,8,3]=>1100000
[3,1,7,5,4,2,6,8]=>0000001
[6,3,8,5,4,7,1,2]=>0000000
[1,6,2,5,4,7,8,3]=>1000000
[1,8,2,5,6,3,7,4]=>1000000
[1,2,6,4,8,5,7,3]=>1100000
[7,8,3,1,4,2,5,6]=>0000000
[4,8,1,5,2,3,6,7]=>0000000
[7,4,1,5,2,3,6,8]=>0000001
[5,6,1,8,4,3,2,7]=>0000000
[5,1,8,6,4,3,2,7]=>0000000
[5,1,6,3,8,7,2,4]=>0000000
[6,1,2,5,8,3,7,4]=>0000000
[6,1,8,7,4,3,2,5]=>0000000
[7,1,2,5,4,8,6,3]=>0000000
[1,2,7,5,8,3,6,4]=>1100000
[4,1,6,3,7,5,2,8]=>0000001
[1,3,6,7,8,5,2,4]=>1000000
[1,2,6,4,7,8,5,3]=>1100000
[4,1,6,3,7,8,2,5]=>0000000
[3,1,6,4,8,2,7,5]=>0000000
[7,8,4,1,6,3,2,5]=>0000000
[4,1,6,3,8,7,2,5]=>0000000
[7,5,1,8,4,3,2,6]=>0000000
[6,5,1,7,4,3,2,8]=>0000001
[4,1,8,5,2,3,7,6]=>0000000
[4,1,6,8,3,7,2,5]=>0000000
[5,4,6,1,3,8,2,7]=>0000000
[6,5,8,1,4,3,2,7]=>0000000
[1,3,5,7,4,6,8,2]=>1000000
[1,3,5,4,7,2,6,8]=>1000001
[1,3,5,4,7,8,2,6]=>1000000
[1,3,5,4,7,2,8,6]=>1000000
[1,3,5,7,8,4,2,6]=>1000000
[1,6,3,2,7,4,8,5]=>1000000
[3,5,1,6,2,8,7,4]=>0000000
[1,3,7,2,5,4,8,6]=>1000000
[1,3,7,5,2,4,8,6]=>1000000
[2,5,7,4,3,8,1,6]=>0000000
[2,5,3,7,4,8,1,6]=>0000000
[3,2,6,7,8,1,5,4]=>0000000
[3,5,2,7,8,4,1,6]=>0000000
[1,5,7,4,8,3,2,6]=>1000000
[3,5,2,6,8,4,7,1]=>0000000
[2,5,7,4,3,8,6,1]=>0000000
[1,5,7,2,4,8,6,3]=>1000000
[4,6,3,7,2,8,5,1]=>0000000
[1,4,7,3,8,6,2,5]=>1000000
[5,1,6,8,2,4,3,7]=>0000000
[5,3,7,8,2,4,1,6]=>0000000
[8,5,3,7,2,4,1,6]=>0000000
[8,2,4,7,3,1,5,6]=>0000000
[2,4,7,8,3,1,5,6]=>0000000
[6,3,1,5,8,2,4,7]=>0000000
[6,5,3,4,2,8,1,7]=>0000000
[5,2,4,3,8,1,6,7]=>0000000
[3,2,4,8,1,5,6,7]=>0000000
[3,2,4,6,8,1,5,7]=>0000000
[8,1,5,7,3,2,4,6]=>0000000
[8,4,6,7,2,3,1,5]=>0000000
[4,6,7,8,2,3,1,5]=>0000000
[7,4,6,8,2,3,1,5]=>0000000
[7,2,4,8,3,1,5,6]=>0000000
[5,3,8,7,2,4,1,6]=>0000000
[2,4,8,7,3,1,5,6]=>0000000
[4,6,8,7,2,3,1,5]=>0000000
[8,7,4,6,2,3,1,5]=>0000000
[5,6,8,7,2,3,1,4]=>0000000
[6,4,8,7,2,3,1,5]=>0000000
[3,1,7,4,2,8,6,5]=>0000000
[3,2,8,4,1,7,6,5]=>0000000
[7,6,4,8,2,3,1,5]=>0000000
[5,7,6,8,2,3,1,4]=>0000000
[4,7,6,8,2,3,1,5]=>0000000
[8,6,4,7,2,3,1,5]=>0000000
[8,2,3,7,4,1,6,5]=>0000000
[2,3,7,8,4,1,6,5]=>0000000
[3,7,4,8,2,5,1,6]=>0000000
[2,3,7,4,1,6,8,5]=>0000000
[8,1,6,4,2,3,7,5]=>0000000
[4,7,8,6,2,3,1,5]=>0000000
[2,4,7,3,1,5,8,6]=>0000000
[6,3,1,7,4,2,8,5]=>0000000
[8,5,7,6,2,3,1,4]=>0000000
[7,5,8,6,2,3,1,4]=>0000000
[7,1,6,4,2,3,8,5]=>0000000
[3,1,7,6,4,2,8,5]=>0000000
[4,8,7,6,2,3,1,5]=>0000000
[6,8,7,5,2,3,1,4]=>0000000
[4,3,6,1,5,8,7,2]=>0000000
[4,3,6,5,1,8,7,2]=>0000000
[4,6,3,5,1,8,7,2]=>0000000
[4,6,3,1,5,8,7,2]=>0000000
[4,1,6,5,3,8,7,2]=>0000000
[4,6,1,5,3,8,7,2]=>0000000
[2,6,5,3,1,8,7,4]=>0000000
[2,6,5,1,8,7,3,4]=>0000000
[2,6,5,8,1,7,3,4]=>0000000
[2,6,5,8,1,3,7,4]=>0000000
[2,6,5,8,3,1,7,4]=>0000000
[2,6,5,3,8,1,7,4]=>0000000
[4,6,1,5,8,3,7,2]=>0000000
[4,1,6,5,8,3,7,2]=>0000000
[1,4,6,5,8,3,7,2]=>1000000
[4,1,6,5,8,7,3,2]=>0000000
[2,6,5,3,8,7,1,4]=>0000000
[6,4,3,8,7,1,5,2]=>0000000
[6,4,8,3,7,1,5,2]=>0000000
[2,6,8,5,3,7,1,4]=>0000000
[4,6,8,1,5,7,3,2]=>0000000
[4,6,1,8,5,7,3,2]=>0000000
[4,1,6,8,5,7,3,2]=>0000000
[1,4,6,8,5,7,3,2]=>1000000
[1,4,6,8,5,3,7,2]=>1000000
[4,6,1,8,5,3,7,2]=>0000000
[2,6,8,5,3,1,7,4]=>0000000
[2,6,8,5,1,7,3,4]=>0000000
[4,6,8,3,5,1,7,2]=>0000000
[4,6,8,3,1,5,7,2]=>0000000
[4,6,3,1,8,5,7,2]=>0000000
[4,6,3,8,1,5,7,2]=>0000000
[4,6,3,8,5,7,1,2]=>0000000
[4,3,6,8,1,5,7,2]=>0000000
[4,3,6,1,8,5,7,2]=>0000000
[4,3,1,6,8,5,7,2]=>0000000
[4,1,3,6,8,7,5,2]=>0000000
[4,3,6,1,8,7,5,2]=>0000000
[4,3,6,8,1,7,5,2]=>0000000
[6,5,2,8,7,3,1,4]=>0000000
[6,5,2,8,7,1,3,4]=>0000000
[6,2,5,8,7,1,3,4]=>0000000
[6,2,5,8,7,3,1,4]=>0000000
[4,6,3,8,1,7,5,2]=>0000000
[4,6,3,1,8,7,5,2]=>0000000
[4,1,6,3,8,7,5,2]=>0000000
[1,4,6,3,8,7,5,2]=>1000000
[4,1,6,8,3,7,5,2]=>0000000
[4,6,1,8,3,7,5,2]=>0000000
[4,6,8,1,3,7,5,2]=>0000000
[6,2,8,5,7,3,1,4]=>0000000
[6,2,8,5,7,1,3,4]=>0000000
[2,4,8,7,1,5,3,6]=>0000000
[4,2,8,7,5,3,1,6]=>0000000
[6,4,1,8,7,5,3,2]=>0000000
[6,1,4,8,7,5,3,2]=>0000000
[1,6,4,8,7,3,5,2]=>1000000
[6,4,1,8,7,3,5,2]=>0000000
[4,2,8,7,5,1,3,6]=>0000000
[2,4,8,7,3,5,1,6]=>0000000
[2,3,4,7,8,5,6,1]=>0000000
[2,3,7,1,4,8,6,5]=>0000000
[1,5,3,2,6,4,7,8]=>1000011
[1,7,3,2,8,5,4,6]=>1000000
[1,3,2,7,5,4,8,6]=>1010000
[1,6,2,8,5,3,4,7]=>1000000
[5,3,2,7,4,6,1,8]=>0000001
[1,5,2,6,8,4,3,7]=>1000000
[1,5,7,2,8,4,3,6]=>1000000
[2,3,1,8,4,5,7,6]=>0010000
[7,8,1,4,3,5,2,6]=>0000000
[6,1,2,3,4,8,7,5]=>0000000
[8,3,2,1,4,5,7,6]=>0000000
[8,4,2,5,3,1,6,7]=>0000000
[2,4,7,8,1,5,3,6]=>0000000
[6,1,2,8,5,3,4,7]=>0000000
[7,1,8,3,5,4,2,6]=>0000000
[6,8,1,3,4,7,2,5]=>0000000
[1,6,2,3,4,8,7,5]=>1000000
[7,6,2,3,4,1,8,5]=>0000000
[8,1,7,3,5,4,2,6]=>0000000
[6,7,2,3,4,1,8,5]=>0000000
[7,6,2,3,4,8,1,5]=>0000000
[6,3,4,8,7,5,1,2]=>0000000
[4,8,7,3,5,6,1,2]=>0000000
[4,8,7,5,3,6,1,2]=>0000000
[5,8,7,3,4,6,1,2]=>0000000
[5,8,4,2,1,6,7,3]=>0000000
[5,8,4,1,2,6,7,3]=>0000000
[5,3,7,2,6,1,8,4]=>0000000
[5,2,8,1,6,3,7,4]=>0000000
[5,8,2,1,4,7,6,3]=>0000000
[4,8,2,5,1,7,6,3]=>0000000
[7,8,4,1,2,6,5,3]=>0000000
[4,8,1,5,2,7,6,3]=>0000000
[5,8,1,2,4,7,6,3]=>0000000
[5,2,8,3,6,7,1,4]=>0000000
[3,8,7,6,2,4,1,5]=>0000000
[2,8,7,6,4,1,3,5]=>0000000
[7,8,2,6,5,1,3,4]=>0000000
[1,8,7,6,4,2,3,5]=>1000000
[2,8,7,6,3,1,4,5]=>0000000
[1,8,7,6,2,4,3,5]=>1000000
[1,8,7,6,3,4,2,5]=>1000000
[2,8,1,4,5,6,7,3]=>0000000
[2,1,7,3,6,5,8,4]=>0100000
[3,1,7,2,6,5,8,4]=>0000000
[3,2,7,1,6,5,8,4]=>0000000
[6,1,2,8,5,7,3,4]=>0000000
[6,2,1,8,5,7,3,4]=>0000000
[6,3,1,8,5,7,2,4]=>0000000
[6,4,2,1,7,5,8,3]=>0000000
[6,1,3,8,5,2,7,4]=>0000000
[2,3,7,1,6,8,5,4]=>0000000
[1,3,7,2,6,8,5,4]=>1000000
[7,8,2,6,5,3,1,4]=>0000000
[3,2,6,7,5,8,1,4]=>0000000
[1,2,7,5,6,3,8,4]=>1100000
[2,8,7,6,4,3,1,5]=>0000000
[3,8,7,6,1,2,5,4]=>0000000
[3,8,7,6,2,1,5,4]=>0000000
[4,8,7,6,2,1,3,5]=>0000000
[4,8,7,6,1,3,2,5]=>0000000
[3,8,7,6,4,1,2,5]=>0000000
[7,8,3,6,5,1,2,4]=>0000000
[2,3,7,5,6,8,1,4]=>0000000
[3,8,7,6,4,2,1,5]=>0000000
[4,6,1,2,5,8,3,7]=>0000000
[1,3,6,5,7,8,2,4]=>1000000
[7,4,8,5,3,1,6,2]=>0000000
[7,1,4,2,3,6,8,5]=>0000000
[6,1,2,7,5,3,8,4]=>0000000
[7,3,2,8,6,4,1,5]=>0000000
[2,7,8,4,6,3,1,5]=>0000000
[8,1,6,3,5,7,2,4]=>0000000
[8,3,2,6,4,7,1,5]=>0000000
[2,3,8,7,6,5,1,4]=>0000000
[1,2,8,7,3,6,5,4]=>1100000
[4,2,8,7,3,6,1,5]=>0000000
[4,5,8,7,1,2,6,3]=>0000000
[1,5,8,7,3,2,6,4]=>1000000
[4,5,8,7,3,2,1,6]=>0000000
[2,6,8,1,7,5,4,3]=>0000000
[3,6,8,4,7,2,1,5]=>0000000
[2,5,8,3,7,6,1,4]=>0000000
[3,2,8,4,7,6,1,5]=>0000000
[1,5,8,3,7,2,6,4]=>1000000
[3,5,8,4,7,2,1,6]=>0000000
[5,6,8,2,3,7,1,4]=>0000000
[1,6,8,4,2,7,5,3]=>1000000
[1,5,8,4,2,7,6,3]=>1000000
[1,5,8,2,3,7,6,4]=>1000000
[2,1,8,4,3,7,6,5]=>0100000
[2,5,8,4,3,7,1,6]=>0000000
[5,6,8,4,1,2,7,3]=>0000000
[5,6,8,1,3,2,7,4]=>0000000
[1,6,8,4,3,2,7,5]=>1000000
[5,6,8,4,3,2,1,7]=>0000000
[7,1,2,8,6,5,4,3]=>0000000
[7,1,4,8,6,2,5,3]=>0000000
[7,3,1,8,6,2,5,4]=>0000000
[7,2,4,8,3,6,1,5]=>0000000
[7,1,4,8,3,2,6,5]=>0000000
[7,4,5,8,3,2,1,6]=>0000000
[1,6,2,8,7,5,4,3]=>1000000
[1,6,4,8,7,2,5,3]=>1000000
[3,6,4,8,7,2,1,5]=>0000000
[3,2,5,8,7,6,1,4]=>0000000
[3,2,4,8,7,6,1,5]=>0000000
[3,1,5,8,7,2,6,4]=>0000000
[3,1,4,8,7,2,6,5]=>0000000
[1,6,4,8,2,7,5,3]=>1000000
[1,4,5,8,2,7,6,3]=>1000000
[2,4,5,8,3,7,1,6]=>0000000
[4,6,5,8,1,2,7,3]=>0000000
[1,6,4,8,3,2,7,5]=>1000000
[1,4,5,8,3,2,7,6]=>1000000
[7,6,1,4,8,2,5,3]=>0000000
[7,6,1,3,8,2,5,4]=>0000000
[7,6,3,4,8,2,1,5]=>0000000
[7,2,5,1,8,6,4,3]=>0000000
[7,2,5,3,8,6,1,4]=>0000000
[7,2,1,4,8,6,5,3]=>0000000
[7,2,1,3,8,6,5,4]=>0000000
[7,2,3,4,8,6,1,5]=>0000000
[7,3,5,4,8,2,1,6]=>0000000
[2,6,5,1,8,7,4,3]=>0000000
[2,3,5,4,8,7,1,6]=>0000000
[1,6,5,4,8,2,7,3]=>1000000
[1,6,5,3,8,2,7,4]=>1000000
[1,6,3,4,8,2,7,5]=>1000000
[1,3,5,4,8,2,7,6]=>1000000
[3,6,5,4,8,2,1,7]=>0000000
[7,6,5,2,3,8,1,4]=>0000000
[7,6,1,4,2,8,5,3]=>0000000
[7,6,1,2,3,8,5,4]=>0000000
[7,6,2,4,3,8,1,5]=>0000000
[7,1,5,4,2,8,6,3]=>0000000
[7,1,5,2,3,8,6,4]=>0000000
[7,1,2,4,3,8,6,5]=>0000000
[2,6,5,4,3,8,1,7]=>0000000
[7,6,1,4,3,2,8,5]=>0000000
[7,1,5,4,3,2,8,6]=>0000000
[3,4,2,6,7,8,1,5]=>0000000
[3,1,4,2,6,8,7,5]=>0001000
[8,3,4,2,6,1,7,5]=>0000000
[2,6,7,3,5,4,1,8]=>0000001
[2,7,8,3,5,4,1,6]=>0000000
[2,6,8,3,5,4,1,7]=>0000000
[4,7,1,2,8,5,3,6]=>0000000
[4,8,1,2,7,5,3,6]=>0000000
[2,1,6,3,7,5,4,8]=>0100001
[2,7,1,3,6,8,4,5]=>0000000
[6,7,3,2,8,1,4,5]=>0000000
[7,3,4,2,6,1,8,5]=>0000000
[7,4,1,2,8,5,3,6]=>0000000
[8,7,4,2,1,5,3,6]=>0000000
[7,4,1,2,6,5,3,8]=>0000001
[7,4,3,1,5,6,8,2]=>0000000
[6,7,4,1,5,8,3,2]=>0000000
[4,7,5,1,6,8,3,2]=>0000000
[4,5,3,1,7,6,8,2]=>0000000
[4,6,1,2,7,5,3,8]=>0000001
[2,7,1,3,6,5,4,8]=>0000001
[4,1,8,2,6,5,3,7]=>0000000
[4,6,1,2,8,5,3,7]=>0000000
[8,4,3,1,5,6,7,2]=>0000000
[4,5,3,1,8,6,7,2]=>0000000
[4,8,5,6,3,1,7,2]=>0000000
[5,1,3,4,8,6,7,2]=>0000000
[5,4,3,8,1,6,7,2]=>0000000
[8,5,3,4,1,6,7,2]=>0000000
[6,4,8,2,1,5,3,7]=>0000000
[6,7,3,2,5,1,4,8]=>0000001
[6,8,3,2,5,1,4,7]=>0000000
[5,7,1,4,6,8,3,2]=>0000000
[5,1,3,4,7,6,8,2]=>0000000
[6,1,4,2,7,5,3,8]=>0000001
[5,4,3,7,1,6,8,2]=>0000000
[6,7,5,4,1,8,3,2]=>0000000
[7,6,4,2,1,5,3,8]=>0000001
[8,2,7,6,5,4,1,3]=>0000000
[7,2,8,6,5,4,3,1]=>0000000
[8,7,2,6,5,4,1,3]=>0000000
[3,2,8,7,6,5,1,4]=>0000000
[4,8,7,6,5,3,1,2]=>0000000
[7,8,6,1,5,4,3,2]=>0000000
[7,3,8,6,5,4,2,1]=>0000000
[4,8,5,7,6,3,2,1]=>0000000
[8,5,6,1,3,2,4,7]=>0000000
[8,6,1,5,3,2,4,7]=>0000000
[7,8,1,5,3,2,4,6]=>0000000
[8,1,7,5,3,2,4,6]=>0000000
[8,6,1,4,5,2,3,7]=>0000000
[8,6,3,1,5,2,4,7]=>0000000
[8,4,6,1,5,2,3,7]=>0000000
[8,6,2,1,5,4,3,7]=>0000000
[8,5,2,6,1,4,3,7]=>0000000
[8,5,2,1,7,4,3,6]=>0000000
[7,8,2,1,5,4,3,6]=>0000000
[7,8,3,1,5,2,4,6]=>0000000
[8,2,7,5,1,3,4,6]=>0000000
[8,4,1,7,5,2,3,6]=>0000000
[8,2,7,1,5,4,3,6]=>0000000
[8,2,6,1,7,4,3,5]=>0000000
[8,1,7,4,3,2,6,5]=>0000000
[8,1,5,7,3,2,6,4]=>0000000
[5,7,8,1,3,2,6,4]=>0000000
[8,2,6,1,5,7,3,4]=>0000000
[5,8,1,6,7,2,3,4]=>0000000
[5,7,6,1,8,2,3,4]=>0000000
[6,7,2,5,1,8,3,4]=>0000000
[7,5,1,6,8,2,3,4]=>0000000
[6,5,7,1,8,2,3,4]=>0000000
[6,7,3,8,1,2,4,5]=>0000000
[7,5,4,1,8,2,3,6]=>0000000
[7,6,1,4,8,2,3,5]=>0000000
[8,1,6,4,7,2,3,5]=>0000000
[7,5,8,1,3,2,4,6]=>0000000
[7,8,4,1,3,2,5,6]=>0000000
[8,3,7,4,1,2,5,6]=>0000000
[8,5,1,7,3,2,4,6]=>0000000
[6,8,1,7,3,2,4,5]=>0000000
[7,1,8,4,3,6,2,5]=>0000000
[7,3,1,8,6,4,2,5]=>0000000
[8,3,1,7,4,6,2,5]=>0000000
[8,4,5,1,7,2,3,6]=>0000000
[5,6,8,1,7,2,3,4]=>0000000
[6,5,8,1,2,7,3,4]=>0000000
[7,3,1,8,5,6,2,4]=>0000000
[6,2,7,8,3,1,5,4]=>0000000
[5,8,1,7,3,2,6,4]=>0000000
[8,4,1,7,3,2,6,5]=>0000000
[8,3,4,7,1,2,6,5]=>0000000
[8,2,7,4,1,3,6,5]=>0000000
[7,4,8,2,1,3,6,5]=>0000000
[7,4,3,8,1,2,6,5]=>0000000
[8,2,3,6,7,1,5,4]=>0000000
[6,8,5,2,3,4,7,1]=>0000000
[3,5,2,6,8,1,4,7]=>0000000
[3,5,2,4,6,8,1,7]=>0000000
[2,4,5,7,3,6,8,1]=>0000000
[2,4,5,3,6,8,1,7]=>0000000
[5,2,4,6,8,1,3,7]=>0000000
[5,1,3,4,6,8,2,7]=>0000000
[4,3,5,2,6,8,1,7]=>0000000
[4,3,5,7,2,8,1,6]=>0000000
[4,3,5,7,2,6,8,1]=>0000000
[4,6,3,7,2,5,8,1]=>0000000
[4,6,3,1,7,8,2,5]=>0000000
[4,3,5,1,7,8,2,6]=>0000000
[5,7,1,3,4,8,2,6]=>0000000
[5,7,1,3,4,6,8,2]=>0000000
[4,5,7,1,3,6,8,2]=>0000000
[4,3,6,7,1,5,8,2]=>0000000
[4,6,3,5,1,7,8,2]=>0000000
[4,6,3,5,7,2,8,1]=>0000000
[3,5,6,4,1,7,8,2]=>0000000
[3,1,5,6,7,4,8,2]=>0000000
[5,1,6,7,3,4,8,2]=>0000000
[6,4,7,1,3,5,8,2]=>0000000
[1,6,7,3,4,5,8,2]=>1000000
[2,6,7,4,5,8,1,3]=>0000000
[2,6,7,4,8,1,3,5]=>0000000
[5,3,6,1,2,7,8,4]=>0000000
[3,5,2,6,1,7,8,4]=>0000000
[3,5,2,6,7,4,8,1]=>0000000
[5,2,3,6,7,4,8,1]=>0000000
[5,2,3,6,1,7,8,4]=>0000000
[5,2,6,1,3,7,8,4]=>0000000
[4,2,6,7,3,5,8,1]=>0000000
[6,3,7,2,4,5,8,1]=>0000000
[3,5,7,2,8,1,4,6]=>0000000
[3,7,2,4,8,1,5,6]=>0000000
[7,2,4,6,8,1,3,5]=>0000000
[7,1,3,4,6,8,2,5]=>0000000
[3,7,2,4,6,8,1,5]=>0000000
[3,5,7,2,6,8,1,4]=>0000000
[6,3,7,2,5,8,1,4]=>0000000
[6,3,5,7,2,8,1,4]=>0000000
[6,3,5,7,2,4,8,1]=>0000000
[6,2,4,5,7,3,8,1]=>0000000
[6,2,4,5,1,7,8,3]=>0000000
[4,7,1,2,5,6,8,3]=>0000000
[2,6,7,5,8,1,3,4]=>0000000
[4,6,7,1,2,5,8,3]=>0000000
[5,6,2,4,7,3,8,1]=>0000000
[5,4,2,6,7,3,8,1]=>0000000
[5,4,2,6,1,7,8,3]=>0000000
[1,5,4,6,2,7,8,3]=>1000000
[5,6,4,1,2,7,8,3]=>0000000
[6,4,5,1,2,7,8,3]=>0000000
[6,3,5,1,7,8,2,4]=>0000000
[6,5,7,2,8,1,3,4]=>0000000
[6,5,7,1,3,4,8,2]=>0000000
[5,6,4,7,1,3,8,2]=>0000000
[5,4,6,3,1,7,8,2]=>0000000
[7,5,3,2,4,8,1,6]=>0000000
[8,4,5,2,6,1,3,7]=>0000000
[8,5,4,2,1,6,3,7]=>0000000
[8,5,3,4,1,6,2,7]=>0000000
[8,4,5,3,1,6,2,7]=>0000000
[7,5,4,2,1,8,3,6]=>0000000
[7,5,4,2,1,6,8,3]=>0000000
[7,4,5,3,1,6,8,2]=>0000000
[7,4,3,5,6,1,8,2]=>0000000
[5,6,3,7,4,1,8,2]=>0000000
[5,6,7,3,1,4,8,2]=>0000000
[6,7,3,4,1,5,8,2]=>0000000
[6,7,4,2,1,5,8,3]=>0000000
[5,6,7,3,1,8,2,4]=>0000000
[5,6,3,7,8,1,2,4]=>0000000
[5,6,3,7,2,4,8,1]=>0000000
[5,6,7,2,3,8,1,4]=>0000000
[7,4,5,2,8,1,3,6]=>0000000
[6,7,3,2,4,8,1,5]=>0000000
[7,6,4,2,1,3,8,5]=>0000000
[7,6,3,4,1,2,8,5]=>0000000
[7,6,3,2,4,1,8,5]=>0000000
[6,7,3,2,5,1,8,4]=>0000000
[6,5,3,2,7,8,1,4]=>0000000
[6,5,3,2,7,4,8,1]=>0000000
[6,4,5,2,7,3,8,1]=>0000000
[6,4,5,2,7,8,1,3]=>0000000
[7,4,5,2,6,1,8,3]=>0000000
[7,4,5,6,1,2,8,3]=>0000000
[7,5,6,2,1,3,8,4]=>0000000
[6,7,3,5,1,2,8,4]=>0000000
[5,6,7,4,1,2,8,3]=>0000000
[5,6,7,2,4,1,8,3]=>0000000
[5,6,4,2,7,8,1,3]=>0000000
[6,5,7,2,1,8,3,4]=>0000000
[6,5,7,2,1,4,8,3]=>0000000
[5,4,6,7,3,1,8,2]=>0000000
[3,7,8,5,6,1,4,2]=>0000000
[1,7,8,5,6,3,4,2]=>1000000
[1,7,5,8,6,3,4,2]=>1000000
[3,7,5,8,6,1,4,2]=>0000000
[5,7,3,8,6,4,1,2]=>0000000
[1,5,7,8,6,3,4,2]=>1000000
[1,5,7,8,3,6,4,2]=>1000000
[5,3,7,8,1,6,4,2]=>0000000
[7,8,1,5,6,3,4,2]=>0000000
[7,1,8,5,6,3,4,2]=>0000000
[7,1,5,8,6,3,4,2]=>0000000
[5,1,7,8,3,6,4,2]=>0000000
[3,1,7,8,5,6,4,2]=>0000000
[1,3,7,8,5,6,4,2]=>1000000
[3,1,7,5,8,6,4,2]=>0000000
[5,1,7,3,8,6,4,2]=>0000000
[7,1,5,3,8,6,4,2]=>0000000
[7,1,5,8,3,6,4,2]=>0000000
[7,3,5,8,1,6,4,2]=>0000000
[5,3,7,1,8,6,4,2]=>0000000
[3,5,7,1,8,6,4,2]=>0000000
[1,7,5,3,8,6,4,2]=>1000000
[5,7,3,1,8,6,4,2]=>0000000
[5,7,3,8,6,1,4,2]=>0000000
[3,7,5,8,1,6,4,2]=>0000000
[1,7,5,8,3,6,4,2]=>1000000
[1,7,8,5,3,6,4,2]=>1000000
[5,7,8,6,3,1,4,2]=>0000000
[7,5,8,6,1,3,4,2]=>0000000
[5,7,8,1,6,3,4,2]=>0000000
[3,7,8,1,5,6,4,2]=>0000000
[1,7,8,3,5,6,4,2]=>1000000
[1,7,3,8,5,6,4,2]=>1000000
[3,7,1,8,5,6,4,2]=>0000000
[5,7,1,8,3,6,4,2]=>0000000
[5,7,1,8,6,3,4,2]=>0000000
[7,5,1,8,6,3,4,2]=>0000000
[7,5,8,1,6,3,4,2]=>0000000
[7,8,5,1,6,3,4,2]=>0000000
[7,5,8,1,3,6,4,2]=>0000000
[7,5,1,8,3,6,4,2]=>0000000
[7,5,1,3,8,6,4,2]=>0000000
[5,7,1,3,8,6,4,2]=>0000000
[3,7,1,5,8,6,4,2]=>0000000
[1,7,3,5,8,6,4,2]=>1000000
[1,5,3,7,8,6,4,2]=>1000000
[3,5,1,7,8,6,4,2]=>0000000
[5,3,1,7,8,6,4,2]=>0000000
[7,3,1,5,8,6,4,2]=>0000000
[7,3,1,8,5,6,4,2]=>0000000
[7,8,3,1,5,6,4,2]=>0000000
[7,1,8,3,5,6,4,2]=>0000000
[7,1,3,8,5,6,4,2]=>0000000
[7,1,3,5,8,6,4,2]=>0000000
[3,1,5,7,8,6,4,2]=>0000000
[5,7,3,4,8,6,1,2]=>0000000
[5,7,3,4,8,1,6,2]=>0000000
[5,7,3,1,4,6,2,8]=>0000001
[5,7,3,1,4,8,6,2]=>0000000
[5,3,7,1,4,2,6,8]=>0000001
[5,3,7,1,4,2,8,6]=>0000000
[3,7,5,1,2,8,6,4]=>0000000
[7,3,5,8,1,2,6,4]=>0000000
[3,7,5,1,2,6,8,4]=>0000000
[3,5,6,2,4,1,8,7]=>0000010
[6,2,7,8,3,4,1,5]=>0000000
[2,5,3,4,8,1,7,6]=>0000000
[5,1,8,2,3,4,7,6]=>0000000
[5,4,7,6,2,8,1,3]=>0000000
[3,8,1,5,6,7,2,4]=>0000000
[2,8,3,6,7,5,1,4]=>0000000
[8,2,1,7,6,3,5,4]=>0000000
[6,4,7,5,2,3,8,1]=>0000000
[4,8,7,2,3,1,5,6]=>0000000
[4,2,3,1,8,7,5,6]=>0001000
[7,6,8,1,3,5,2,4]=>0000000
[8,7,2,6,4,1,5,3]=>0000000
[7,4,8,1,2,5,6,3]=>0000000
[6,1,7,4,3,2,8,5]=>0000000
[6,8,3,4,2,1,7,5]=>0000000
[4,2,6,1,5,7,8,3]=>0000000
[2,4,6,7,3,5,8,1]=>0000000
[7,1,4,8,3,5,6,2]=>0000000
[3,4,8,2,5,7,6,1]=>0000000
[2,5,7,4,8,6,1,3]=>0000000
[2,6,3,7,5,1,8,4]=>0000000
[6,3,7,2,8,5,1,4]=>0000000
[3,6,2,5,8,7,1,4]=>0000000
[5,2,8,4,7,6,1,3]=>0000000
[7,2,4,8,6,5,1,3]=>0000000
[2,5,1,4,7,3,8,6]=>0000000
[3,1,5,6,2,8,7,4]=>0000000
[1,2,4,6,3,8,7,5]=>1100000
[4,1,5,2,8,7,6,3]=>0000000
[7,2,3,5,1,8,6,4]=>0000000
[1,4,5,2,8,7,6,3]=>1000000
[1,6,4,2,8,7,5,3]=>1000000
[7,4,2,5,1,8,6,3]=>0000000
[4,6,2,7,5,1,8,3]=>0000000
[1,5,3,6,2,8,7,4]=>1000000
[4,5,8,2,1,7,6,3]=>0000000
[3,5,2,1,7,4,8,6]=>0000000
[6,3,1,7,2,8,5,4]=>0000000
[7,5,1,2,8,6,4,3]=>0000000
[4,5,1,2,8,7,6,3]=>0000000
[6,4,1,2,8,7,5,3]=>0000000
[5,2,8,1,3,7,6,4]=>0000000
[4,7,5,6,8,3,1,2]=>0000000
[8,6,4,7,5,3,1,2]=>0000000
[7,5,2,6,4,1,3,8]=>0000001
[1,6,3,7,5,8,4,2]=>1000000
[1,3,7,4,5,8,6,2]=>1000000
[7,2,6,3,4,1,5,8]=>0000001
[8,3,7,4,6,5,1,2]=>0000000
[6,8,4,7,5,3,1,2]=>0000000
[4,8,7,5,6,3,1,2]=>0000000
[3,8,7,6,4,5,1,2]=>0000000
[1,6,5,2,8,3,7,4]=>1000000
[8,6,5,2,1,4,3,7]=>0000000
[2,7,6,3,1,4,5,8]=>0000001
[6,8,5,3,2,1,4,7]=>0000000
[2,7,6,4,5,1,3,8]=>0000001
[5,7,2,6,4,1,3,8]=>0000001
[6,1,3,7,5,8,4,2]=>0000000
[4,1,7,3,6,8,5,2]=>0000000
[8,1,6,4,3,7,5,2]=>0000000
[2,1,7,4,8,6,3,5]=>0100000
[1,8,6,3,7,5,4,2]=>1000000
[1,8,2,7,3,6,5,4]=>1000000
[2,1,3,8,4,7,5,6]=>0110000
[8,1,2,7,4,3,6,5]=>0000000
[5,3,1,6,8,4,7,2]=>0000000
[6,2,8,7,1,4,3,5]=>0000000
[8,7,2,1,5,4,3,6]=>0000000
[8,2,3,1,4,6,5,7]=>0000000
[2,4,8,3,1,5,6,7]=>0000000
[3,4,2,7,1,5,6,8]=>0000001
[4,7,3,8,2,1,5,6]=>0000000
[5,2,7,3,1,4,6,8]=>0000001
[8,3,7,2,1,5,4,6]=>0000000
[1,3,7,2,8,4,6,5]=>1000000
[1,4,2,5,8,6,7,3]=>1000000
[6,5,3,8,2,1,4,7]=>0000000
[2,6,4,5,7,1,3,8]=>0000001
[5,4,6,2,7,1,3,8]=>0000001
[7,6,3,1,8,4,5,2]=>0000000
[7,6,2,1,8,5,3,4]=>0000000
[1,7,5,8,6,4,3,2]=>1000000
[6,5,1,2,8,3,7,4]=>0000000
[8,6,1,4,3,7,5,2]=>0000000
[6,8,4,1,3,7,5,2]=>0000000
[6,5,7,1,3,8,4,2]=>0000000
[5,8,3,1,7,4,6,2]=>0000000
[8,3,1,7,5,4,6,2]=>0000000
[1,3,8,7,4,6,5,2]=>1000000
[1,2,8,7,6,3,5,4]=>1100000
[8,2,1,7,6,4,3,5]=>0000000
[2,3,1,8,7,4,5,6]=>0010000
[2,4,1,8,5,7,3,6]=>0000000
[5,8,2,1,7,6,3,4]=>0000000
[6,2,7,1,8,5,3,4]=>0000000
[8,7,1,6,5,4,3,2]=>0000000
[7,1,8,3,6,5,4,2]=>0000000
[4,1,8,7,5,6,3,2]=>0000000
[3,5,8,7,2,6,4,1]=>0000000
[5,8,2,7,1,6,4,3]=>0000000
[2,1,6,4,5,8,3,7]=>0100000
[8,6,3,7,5,2,1,4]=>0000000
[4,6,3,8,5,2,1,7]=>0000000
[4,6,3,7,5,2,8,1]=>0000000
[3,5,7,8,2,6,1,4]=>0000000
[8,2,3,4,6,1,5,7]=>0000000
[4,8,3,7,5,1,6,2]=>0000000
[5,2,3,4,8,7,1,6]=>0000000
[4,2,8,5,7,6,1,3]=>0000000
[4,8,3,7,5,2,1,6]=>0000000
[4,2,7,5,8,6,3,1]=>0000000
[5,2,7,8,4,6,3,1]=>0000000
[5,2,8,3,7,6,1,4]=>0000000
[8,2,7,3,1,6,4,5]=>0000000
[6,2,3,4,8,5,1,7]=>0000000
[7,2,3,4,1,8,6,5]=>0000000
[1,2,3,4,8,7,5,6]=>1111000
[1,2,8,5,3,4,6,7]=>1100000
[1,8,4,2,3,5,6,7]=>1000000
[8,6,7,4,1,5,3,2]=>0000000
[4,8,6,7,5,1,3,2]=>0000000
[7,1,8,4,6,5,2,3]=>0000000
[8,7,1,5,4,6,2,3]=>0000000
[8,5,7,1,4,6,3,2]=>0000000
[6,4,8,5,1,7,3,2]=>0000000
[4,8,5,7,1,6,3,2]=>0000000
[8,4,7,1,5,6,3,2]=>0000000
[8,7,1,4,5,6,3,2]=>0000000
[8,7,4,5,6,1,3,2]=>0000000
[8,7,5,1,4,6,2,3]=>0000000
[8,7,2,5,1,4,6,3]=>0000000
[4,8,7,2,5,1,6,3]=>0000000
[1,6,4,8,5,2,7,3]=>1000000
[8,7,1,4,2,5,6,3]=>0000000
[8,7,5,1,2,4,6,3]=>0000000
[7,1,8,5,6,2,3,4]=>0000000
[3,8,7,1,2,5,6,4]=>0000000
[3,5,8,7,1,2,6,4]=>0000000
[2,3,8,5,7,1,6,4]=>0000000
[3,8,7,1,5,6,2,4]=>0000000
[3,5,8,7,1,6,2,4]=>0000000
[2,3,8,6,7,5,1,4]=>0000000
[3,2,8,6,7,5,1,4]=>0000000
[4,1,8,6,2,7,5,3]=>0000000
[8,7,4,1,2,6,5,3]=>0000000
[1,3,8,6,7,5,2,4]=>1000000
[5,7,1,8,2,6,3,4]=>0000000
[2,8,7,1,5,6,3,4]=>0000000
[8,7,1,5,2,4,6,3]=>0000000
[7,1,8,2,4,6,5,3]=>0000000
[1,6,2,8,4,7,5,3]=>1000000
[1,3,8,5,7,2,6,4]=>1000000
[1,8,3,7,2,5,6,4]=>1000000
[2,8,7,1,3,5,6,4]=>0000000
[5,7,1,8,2,3,6,4]=>0000000
[7,1,8,2,3,5,6,4]=>0000000
[8,6,3,7,4,1,5,2]=>0000000
[4,2,8,6,7,5,1,3]=>0000000
[8,4,2,7,5,6,1,3]=>0000000
[4,8,3,6,1,7,5,2]=>0000000
[8,3,4,7,5,1,6,2]=>0000000
[8,3,7,4,5,1,6,2]=>0000000
[8,7,4,2,5,6,1,3]=>0000000
[8,7,5,1,6,2,3,4]=>0000000
[8,7,2,4,1,5,6,3]=>0000000
[4,8,6,1,7,2,5,3]=>0000000
[4,7,1,8,2,6,5,3]=>0000000
[4,2,8,6,7,1,5,3]=>0000000
[8,7,4,1,2,5,6,3]=>0000000
[8,2,7,1,6,3,4,5]=>0000000
[8,2,7,1,3,6,4,5]=>0000000
[2,8,3,6,7,1,5,4]=>0000000
[8,7,2,1,3,5,6,4]=>0000000
[1,8,7,2,3,6,4,5]=>1000000
[1,8,7,2,6,3,4,5]=>1000000
[8,2,7,3,6,1,4,5]=>0000000
[1,8,7,3,6,2,4,5]=>1000000
[1,8,2,7,6,3,4,5]=>1000000
[8,2,7,4,1,5,6,3]=>0000000
[8,2,1,7,5,6,3,4]=>0000000
[8,7,3,1,5,6,2,4]=>0000000
[2,8,7,3,5,6,1,4]=>0000000
[8,3,1,6,7,5,2,4]=>0000000
[8,5,2,1,6,7,4,3]=>0000000
[1,5,2,8,6,7,4,3]=>1000000
[1,2,8,6,7,5,3,4]=>1100000
[1,8,3,6,7,5,2,4]=>1000000
[8,2,3,6,7,5,1,4]=>0000000
[8,3,7,2,5,6,1,4]=>0000000
[8,1,3,7,5,6,2,4]=>0000000
[8,4,1,2,7,5,6,3]=>0000000
[8,1,4,2,6,7,5,3]=>0000000
[1,2,8,6,7,3,5,4]=>1100000
[8,1,2,7,3,6,4,5]=>0000000
[8,1,7,3,6,2,4,5]=>0000000
[8,1,7,2,6,3,4,5]=>0000000
[8,1,7,2,3,6,4,5]=>0000000
[8,1,3,7,2,5,6,4]=>0000000
[1,8,3,6,7,2,5,4]=>1000000
[1,7,8,2,3,6,5,4]=>1000000
[8,3,7,1,2,5,6,4]=>0000000
[8,7,1,2,3,6,4,5]=>0000000
[2,8,5,7,4,6,3,1]=>0000000
[3,1,8,5,7,4,2,6]=>0000000
[8,3,5,7,4,2,6,1]=>0000000
[8,3,6,2,4,5,7,1]=>0000000
[2,8,6,4,3,5,7,1]=>0000000
[2,6,8,3,5,4,7,1]=>0000000
[2,7,5,8,4,6,3,1]=>0000000
[8,4,2,7,6,1,3,5]=>0000000
[4,8,1,7,6,3,2,5]=>0000000
[4,1,7,6,2,3,5,8]=>0000001
[3,7,1,8,6,2,5,4]=>0000000
[3,1,7,6,4,5,2,8]=>0000001
[3,1,7,5,8,4,2,6]=>0000000
[3,1,6,8,7,5,2,4]=>0000000
[6,3,8,7,5,2,4,1]=>0000000
[7,3,5,8,4,2,6,1]=>0000000
[7,3,6,4,2,8,5,1]=>0000000
[7,8,3,6,2,5,4,1]=>0000000
[7,4,8,2,1,6,3,5]=>0000000
[8,7,4,6,3,2,5,1]=>0000000
[7,8,5,2,1,4,3,6]=>0000000
[7,5,2,3,1,4,8,6]=>0000000
[7,4,6,2,3,8,1,5]=>0000000
[6,4,2,5,8,3,7,1]=>0000000
[4,6,5,8,1,3,2,7]=>0000000
[4,7,1,5,3,8,2,6]=>0000000
[4,7,8,1,3,6,2,5]=>0000000
[5,7,1,3,4,6,2,8]=>0000001
[5,7,1,4,2,3,6,8]=>0000001
[5,8,1,3,2,4,6,7]=>0000000
[4,8,6,1,3,2,7,5]=>0000000
[8,4,6,2,1,3,7,5]=>0000000
[5,4,8,7,2,3,6,1]=>0000000
[5,4,8,7,3,1,2,6]=>0000000
[6,8,3,7,2,5,4,1]=>0000000
[5,4,6,8,2,3,7,1]=>0000000
[5,7,4,2,8,3,6,1]=>0000000
[6,4,7,2,1,8,3,5]=>0000000
[6,5,3,4,1,2,8,7]=>0000010
[6,8,5,4,1,3,2,7]=>0000000
[6,4,3,7,1,5,2,8]=>0000001
[7,4,2,6,1,5,3,8]=>0000001
[7,4,2,5,6,1,3,8]=>0000001
[6,4,2,8,1,5,7,3]=>0000000
[6,3,7,8,2,5,1,4]=>0000000
[7,3,5,6,4,2,1,8]=>0000001
[7,4,3,1,5,6,2,8]=>0000001
[7,4,5,2,6,1,3,8]=>0000001
[5,3,7,2,8,6,4,1]=>0000000
[5,3,8,2,6,7,4,1]=>0000000
[6,3,8,2,5,4,7,1]=>0000000
[6,4,8,2,1,5,7,3]=>0000000
[6,4,3,1,8,2,7,5]=>0000000
[5,3,7,8,2,6,4,1]=>0000000
[4,7,8,5,6,3,2,1]=>0000000
[5,3,7,6,8,2,4,1]=>0000000
[5,7,8,4,6,2,1,3]=>0000000
[5,8,4,3,6,7,1,2]=>0000000
[5,8,6,4,7,2,1,3]=>0000000
[5,3,8,6,2,7,4,1]=>0000000
[4,7,5,8,6,3,2,1]=>0000000
[4,8,6,7,5,3,2,1]=>0000000
[6,3,8,7,2,4,1,5]=>0000000
[5,3,8,7,2,6,4,1]=>0000000
[5,3,8,6,7,2,4,1]=>0000000
[5,3,7,8,6,2,4,1]=>0000000
[5,7,6,4,8,2,1,3]=>0000000
[5,8,4,6,7,2,1,3]=>0000000
[6,4,2,8,1,7,3,5]=>0000000
[6,5,2,4,3,7,8,1]=>0000000
[5,4,6,2,8,7,1,3]=>0000000
[5,6,3,8,7,2,4,1]=>0000000
[6,7,4,3,1,8,2,5]=>0000000
[5,7,4,3,6,8,1,2]=>0000000
[5,7,3,8,6,2,4,1]=>0000000
[4,5,8,6,7,3,2,1]=>0000000
[4,6,8,5,7,3,2,1]=>0000000
[5,6,8,3,7,2,4,1]=>0000000
[5,4,6,8,2,7,1,3]=>0000000
[5,7,8,2,6,4,1,3]=>0000000
[3,6,8,5,7,1,4,2]=>0000000
[1,7,4,8,6,2,3,5]=>1000000
[4,2,5,6,7,1,8,3]=>0000000
[8,1,3,6,7,2,4,5]=>0000000
[6,1,3,8,2,7,4,5]=>0000000
[1,7,5,2,8,6,3,4]=>1000000
[1,5,8,4,2,6,3,7]=>1000000
[3,5,7,4,1,6,8,2]=>0000000
[3,5,7,1,2,6,4,8]=>0000001
[4,5,1,8,2,3,7,6]=>0000000
[4,7,1,8,2,6,3,5]=>0000000
[5,2,6,1,3,4,8,7]=>0000010
[7,8,4,5,1,3,2,6]=>0000000
[6,7,1,3,2,5,4,8]=>0000001
[6,7,1,4,3,5,2,8]=>0000001
[7,8,2,3,1,5,4,6]=>0000000
[7,8,2,4,3,5,1,6]=>0000000
[7,8,2,4,1,5,3,6]=>0000000
[1,4,2,6,5,7,3,8]=>1000001
[5,6,1,4,2,7,3,8]=>0000001
[6,7,2,4,1,5,3,8]=>0000001
[6,7,2,4,3,5,1,8]=>0000001
[6,7,2,3,1,5,4,8]=>0000001
[6,7,3,5,4,8,1,2]=>0000000
[2,4,1,6,5,7,3,8]=>0000001
[1,5,2,6,4,7,3,8]=>1000001
[2,5,1,6,4,7,3,8]=>0000001
[3,6,5,7,4,8,1,2]=>0000000
[5,6,2,4,3,7,1,8]=>0000001
[4,5,2,6,1,7,3,8]=>0000001
[4,5,1,6,3,7,2,8]=>0000001
[4,5,3,6,1,7,2,8]=>0000001
[5,6,3,4,1,7,2,8]=>0000001
[5,6,1,4,3,7,2,8]=>0000001
[5,6,1,3,2,7,4,8]=>0000001
[5,6,4,7,1,3,2,8]=>0000001
[6,7,4,5,1,3,2,8]=>0000001
[6,7,5,8,1,3,2,4]=>0000000
[4,5,1,3,2,7,6,8]=>0000101
[4,6,5,7,1,3,2,8]=>0000001
[4,6,1,3,2,7,5,8]=>0000001
[1,4,3,6,2,7,5,8]=>1000001
[3,4,1,6,5,7,2,8]=>0000001
[4,5,2,3,1,7,6,8]=>0000101
[4,5,3,7,6,8,1,2]=>0000000
[4,6,5,7,3,8,1,2]=>0000000
[4,6,5,7,2,3,1,8]=>0000001
[3,5,4,6,1,7,2,8]=>0000001
[3,5,1,6,4,7,2,8]=>0000001
[1,5,3,6,4,7,2,8]=>1000001
[1,5,3,6,2,7,4,8]=>1000001
[3,5,2,6,1,7,4,8]=>0000001
[3,5,2,6,4,7,1,8]=>0000001
[3,4,2,6,1,7,5,8]=>0000001
[4,6,2,3,1,7,5,8]=>0000001
[2,4,3,6,1,7,5,8]=>0000001
[2,5,3,6,4,7,1,8]=>0000001
[2,5,3,6,1,7,4,8]=>0000001
[3,6,2,7,5,4,8,1]=>0000000
[5,2,6,7,4,3,8,1]=>0000000
[3,5,2,7,6,4,8,1]=>0000000
[2,5,7,3,1,8,4,6]=>0000000
[2,1,5,6,8,4,3,7]=>0100000
[1,3,7,2,8,5,4,6]=>1000000
[4,6,2,7,1,8,3,5]=>0000000
[1,5,4,3,6,8,2,7]=>1000000
[1,6,4,5,7,8,3,2]=>1000000
[2,1,5,6,8,4,7,3]=>0100000
[2,1,5,6,8,7,3,4]=>0100000
[3,6,5,2,7,8,4,1]=>0000000
[6,2,4,7,5,8,3,1]=>0000000
[1,5,7,8,4,2,6,3]=>1000000
[3,7,4,1,8,6,2,5]=>0000000
[3,4,6,8,5,7,2,1]=>0000000
[4,2,5,7,3,1,8,6]=>0000000
[4,5,6,2,8,7,3,1]=>0000000
[2,5,6,8,1,7,4,3]=>0000000
[4,5,6,1,8,7,3,2]=>0000000
[4,5,6,3,1,8,7,2]=>0000000
[4,3,6,2,1,7,5,8]=>0000001
[4,6,3,2,1,7,5,8]=>0000001
[4,6,3,1,7,5,2,8]=>0000001
[4,5,3,7,6,1,8,2]=>0000000
[4,5,1,7,3,8,6,2]=>0000000
[2,5,7,1,4,3,8,6]=>0000000
[4,3,5,7,6,1,8,2]=>0000000
[4,3,6,1,7,5,2,8]=>0000001
[4,3,2,6,1,7,5,8]=>0000001
[5,3,2,1,6,4,7,8]=>0000011
[5,3,1,6,2,7,4,8]=>0000001
[5,1,6,3,2,7,4,8]=>0000001
[2,6,1,4,7,5,3,8]=>0000001
[3,6,1,7,4,2,5,8]=>0000001
[4,6,1,7,5,3,2,8]=>0000001
[5,1,6,3,7,4,2,8]=>0000001
[5,3,6,4,2,1,7,8]=>0000011
[5,3,2,6,4,1,7,8]=>0000011
[5,2,1,6,3,7,4,8]=>0000001
[5,2,6,3,1,7,4,8]=>0000001
[4,2,6,3,1,7,8,5]=>0000000
[3,6,2,1,7,4,5,8]=>0000001
[3,6,2,7,4,1,5,8]=>0000001
[3,5,7,2,8,6,4,1]=>0000000
[2,4,7,1,3,6,5,8]=>0000001
[2,6,1,3,7,5,4,8]=>0000001
[3,6,1,7,5,2,4,8]=>0000001
[5,1,6,2,7,4,3,8]=>0000001
[5,2,6,4,3,1,7,8]=>0000011
[5,2,1,6,4,3,7,8]=>0000011
[5,4,2,1,6,3,7,8]=>0000011
[5,4,2,6,3,1,7,8]=>0000011
[5,4,1,6,2,7,3,8]=>0000001
[5,1,6,4,2,7,3,8]=>0000001
[3,6,1,7,5,4,8,2]=>0000000
[2,6,1,5,4,3,7,8]=>0000011
[3,1,6,2,5,4,7,8]=>0000011
[5,1,6,4,3,2,7,8]=>0000011
[5,4,1,6,3,2,7,8]=>0000011
[5,4,3,1,6,2,7,8]=>0000011
[7,3,1,6,5,4,8,2]=>0000000
[7,2,8,1,5,4,3,6]=>0000000
[4,2,7,6,5,8,1,3]=>0000000
[3,8,2,6,5,4,1,7]=>0000000
[7,3,2,1,5,4,6,8]=>0000001
[7,2,8,6,1,4,3,5]=>0000000
[5,2,7,6,8,4,1,3]=>0000000
[3,8,7,2,5,4,1,6]=>0000000
[7,5,1,6,8,4,3,2]=>0000000
[7,4,2,1,5,6,3,8]=>0000001
[7,2,8,6,5,1,3,4]=>0000000
[5,3,2,6,7,4,1,8]=>0000001
[4,3,7,2,5,6,1,8]=>0000001
[3,5,8,7,2,4,6,1]=>0000000
[1,4,8,2,7,6,3,5]=>1000000
[5,4,2,1,7,8,3,6]=>0000000
[4,7,8,3,5,2,1,6]=>0000000
[6,3,7,2,8,5,4,1]=>0000000
[1,7,5,3,8,2,6,4]=>1000000
[1,7,6,4,3,8,2,5]=>1000000
[5,1,4,3,2,7,8,6]=>0000100
[3,7,8,5,2,4,1,6]=>0000000
[3,7,6,2,4,1,8,5]=>0000000
[5,2,7,8,4,3,1,6]=>0000000
[5,3,1,7,8,4,2,6]=>0000000
[6,3,1,7,5,2,8,4]=>0000000
[6,7,1,8,3,4,2,5]=>0000000
[7,8,3,5,1,4,2,6]=>0000000
[5,6,2,7,1,8,3,4]=>0000000
[6,7,2,4,3,8,1,5]=>0000000
[2,4,3,8,6,7,1,5]=>0000000
[1,8,2,7,4,5,3,6]=>1000000
[2,5,4,8,3,6,1,7]=>0000000
[2,3,1,8,5,6,4,7]=>0010000
[3,8,5,6,4,7,1,2]=>0000000
[5,7,3,6,4,8,1,2]=>0000000
[5,7,2,3,1,6,4,8]=>0000001
[5,7,2,4,3,6,1,8]=>0000001
[4,6,2,7,1,5,3,8]=>0000001
[4,7,1,6,2,5,3,8]=>0000001
[4,7,1,5,3,6,2,8]=>0000001
[4,6,3,5,1,7,2,8]=>0000001
[6,7,3,5,1,4,2,8]=>0000001
[5,6,3,7,1,4,2,8]=>0000001
[5,7,1,6,3,4,2,8]=>0000001
[1,8,5,6,3,4,2,7]=>1000000
[1,8,5,6,4,7,2,3]=>1000000
[5,7,1,6,4,8,2,3]=>0000000
[4,6,5,8,1,7,2,3]=>0000000
[3,7,1,4,2,8,5,6]=>0000000
[3,5,1,4,2,8,6,7]=>0000100
[4,6,5,8,3,7,1,2]=>0000000
[4,6,5,8,2,3,1,7]=>0000000
[3,4,2,6,5,8,1,7]=>0000000
[3,5,4,6,2,8,1,7]=>0000000
[1,8,3,5,4,7,2,6]=>1000000
[3,4,2,7,1,8,5,6]=>0000000
[4,7,2,3,1,8,5,6]=>0000000
[2,4,3,8,1,7,5,6]=>0000000
[2,5,3,8,4,7,1,6]=>0000000
[2,6,3,8,1,7,4,5]=>0000000
[2,7,1,8,3,6,4,5]=>0000000
[4,5,1,8,7,6,2,3]=>0000000
[4,5,7,8,2,6,3,1]=>0000000
[3,1,6,8,7,4,5,2]=>0000000
[6,1,4,8,7,2,5,3]=>0000000
[6,1,8,4,7,3,5,2]=>0000000
[6,8,3,5,7,1,4,2]=>0000000
[6,7,4,2,8,5,3,1]=>0000000
[2,7,5,3,8,6,4,1]=>0000000
[1,5,8,2,7,3,6,4]=>1000000
[6,7,4,8,1,5,3,2]=>0000000
[1,7,4,8,6,2,5,3]=>1000000
[6,8,5,3,7,2,4,1]=>0000000
[6,8,5,2,3,7,4,1]=>0000000
[7,5,3,8,2,6,4,1]=>0000000
[3,6,4,7,8,5,2,1]=>0000000
[6,3,4,7,8,5,2,1]=>0000000
[2,5,8,3,4,1,6,7]=>0000000
[4,6,7,3,2,5,8,1]=>0000000
[2,6,7,3,8,5,4,1]=>0000000
[2,6,1,8,4,5,3,7]=>0000000
[3,6,8,4,5,7,1,2]=>0000000
[1,6,8,4,7,2,3,5]=>1000000
[1,4,5,7,8,2,6,3]=>1000000
[3,4,5,7,8,6,1,2]=>0000000
[3,4,5,7,6,8,1,2]=>0000000
[3,6,7,4,8,5,1,2]=>0000000
[3,4,5,6,8,7,1,2]=>0000000
[1,4,5,8,7,2,3,6]=>1000000
[1,2,5,8,3,6,4,7]=>1100000
[1,4,5,8,6,2,3,7]=>1000000
[7,8,1,4,6,2,3,5]=>0000000
[1,6,7,4,8,2,5,3]=>1000000
[1,4,5,6,8,2,7,3]=>1000000
[1,4,5,8,6,2,7,3]=>1000000
[1,2,5,8,3,4,7,6]=>1100000
[1,6,7,2,3,5,8,4]=>1000000
[7,8,1,2,3,5,4,6]=>0000000
[1,6,7,2,3,5,4,8]=>1000001
[1,4,5,7,6,2,3,8]=>1000001
[1,2,5,7,3,6,4,8]=>1100001
[1,2,5,7,3,6,8,4]=>1100000
[1,6,8,2,3,5,7,4]=>1000000
[1,6,8,4,5,2,3,7]=>1000000
[1,6,8,4,5,2,7,3]=>1000000
[1,6,8,2,3,4,7,5]=>1000000
[1,6,8,2,3,7,4,5]=>1000000
[1,4,5,7,6,2,8,3]=>1000000
[7,8,1,4,5,2,6,3]=>0000000
[7,8,1,2,3,4,6,5]=>0000000
[7,8,1,2,3,6,4,5]=>0000000
[1,6,7,2,3,8,5,4]=>1000000
[1,2,5,6,3,8,7,4]=>1100000
[4,2,1,6,5,3,8,7]=>0000010
[8,6,2,4,3,1,5,7]=>0000000
[4,6,5,2,8,3,7,1]=>0000000
[2,6,4,5,8,3,7,1]=>0000000
[4,2,6,3,5,8,7,1]=>0000000
[8,2,4,3,6,5,1,7]=>0000000
[6,2,1,8,4,3,7,5]=>0000000
[4,6,8,7,5,2,1,3]=>0000000
[4,2,8,6,5,7,1,3]=>0000000
[8,2,6,4,5,1,3,7]=>0000000
[2,8,5,3,1,4,6,7]=>0000000
[2,7,4,8,3,5,1,6]=>0000000
[2,7,4,8,3,5,6,1]=>0000000
[7,2,8,4,3,5,1,6]=>0000000
[8,4,2,1,5,3,6,7]=>0000000
[8,5,1,4,2,3,6,7]=>0000000
[8,4,1,5,3,2,6,7]=>0000000
[6,7,3,8,4,2,5,1]=>0000000
[6,7,3,8,4,2,1,5]=>0000000
[7,1,8,4,3,5,2,6]=>0000000
[1,7,8,4,3,5,2,6]=>1000000
[7,1,4,8,3,5,2,6]=>0000000
[7,4,8,1,5,6,2,3]=>0000000
[7,1,8,4,3,5,6,2]=>0000000
[6,7,3,1,8,4,5,2]=>0000000
[6,7,3,8,4,5,2,1]=>0000000
[6,7,1,4,8,3,5,2]=>0000000
[6,7,4,1,3,8,2,5]=>0000000
[1,6,7,8,4,3,2,5]=>1000000
[7,2,1,8,4,5,3,6]=>0000000
[6,2,7,1,8,4,3,5]=>0000000
[6,2,7,8,4,3,1,5]=>0000000
[6,2,7,8,4,3,5,1]=>0000000
[2,6,7,4,8,3,5,1]=>0000000
[2,6,7,4,8,3,1,5]=>0000000
[7,8,1,3,6,2,4,5]=>0000000
[1,2,7,8,6,3,4,5]=>1100000
[2,6,7,1,8,5,3,4]=>0000000
[2,6,7,8,5,3,1,4]=>0000000
[2,6,7,8,5,3,4,1]=>0000000
[6,2,7,8,4,5,3,1]=>0000000
[7,2,1,8,4,5,6,3]=>0000000
[1,7,2,8,4,5,6,3]=>1000000
[3,7,8,1,5,6,2,4]=>0000000
[6,3,7,8,1,5,2,4]=>0000000
[6,7,1,2,8,5,3,4]=>0000000
[1,6,7,8,4,2,5,3]=>1000000
[4,1,5,7,3,2,6,8]=>0000001
[4,6,1,7,3,2,5,8]=>0000001
[1,6,5,8,7,3,4,2]=>1000000
[1,5,7,3,4,8,6,2]=>1000000
[3,8,1,2,4,5,7,6]=>0000000
[7,6,2,4,3,1,5,8]=>0000001
[8,1,7,4,6,3,2,5]=>0000000
[7,4,5,2,3,8,6,1]=>0000000
[7,2,3,4,5,8,6,1]=>0000000
[8,2,3,4,5,7,1,6]=>0000000
[4,7,3,2,8,6,1,5]=>0000000
[4,8,1,5,6,7,3,2]=>0000000
[3,7,6,1,8,5,2,4]=>0000000
[7,6,1,4,8,5,2,3]=>0000000
[5,4,8,3,6,7,1,2]=>0000000
[4,6,8,3,5,2,7,1]=>0000000
[5,7,8,3,2,4,1,6]=>0000000
[6,8,2,3,1,4,5,7]=>0000000
[5,2,7,4,8,3,1,6]=>0000000
[3,7,8,2,1,4,6,5]=>0000000
[3,7,5,2,8,4,1,6]=>0000000
[6,3,2,4,1,8,7,5]=>0000000
[7,2,3,4,8,5,1,6]=>0000000
[5,7,3,1,4,2,6,8]=>0000001
[3,7,4,1,8,2,5,6]=>0000000
[6,3,7,4,8,1,2,5]=>0000000
[8,3,7,4,2,6,1,5]=>0000000
[3,7,4,1,5,6,2,8]=>0000001
[1,8,3,2,4,5,7,6]=>1000000
[8,4,1,6,3,7,5,2]=>0000000
[8,7,4,2,1,6,3,5]=>0000000
[8,3,5,2,7,4,1,6]=>0000000
[1,5,3,8,7,6,4,2]=>1000000
[7,2,4,8,1,3,6,5]=>0000000
[1,2,8,7,5,6,3,4]=>1100000
[3,1,8,6,7,5,2,4]=>0000000
[1,4,8,6,5,7,2,3]=>1000000
[1,6,5,4,8,2,3,7]=>1000000
[5,1,6,8,3,4,2,7]=>0000000
[6,2,5,1,7,4,3,8]=>0000001
[5,2,1,8,7,4,3,6]=>0000000
[5,2,6,3,8,1,4,7]=>0000000
[5,2,8,3,4,6,1,7]=>0000000
[6,2,8,4,3,1,7,5]=>0000000
[7,2,8,1,3,6,5,4]=>0000000
[7,3,8,1,4,6,2,5]=>0000000
[1,7,8,5,4,6,3,2]=>1000000
[1,5,8,4,6,3,7,2]=>1000000
[5,3,8,4,1,2,7,6]=>0000000
[5,8,4,3,6,2,1,7]=>0000000
[1,8,3,6,5,2,7,4]=>1000000
[1,8,2,4,7,6,5,3]=>1000000
[3,8,1,4,6,7,5,2]=>0000000
[3,8,2,5,1,7,6,4]=>0000000
[4,3,8,2,5,1,6,7]=>0000000
[8,2,4,3,5,1,7,6]=>0000000
[8,2,1,4,6,5,7,3]=>0000000
[8,1,3,4,5,7,6,2]=>0000000
[6,1,5,2,4,7,8,3]=>0000000
[4,1,8,5,2,7,6,3]=>0000000
[4,1,8,2,3,7,5,6]=>0000000
[6,7,3,5,1,4,8,2]=>0000000
[6,4,7,5,8,2,3,1]=>0000000
[5,7,8,4,2,6,3,1]=>0000000
[5,4,7,6,2,8,3,1]=>0000000
[5,7,4,1,6,8,3,2]=>0000000
[6,8,4,5,7,1,3,2]=>0000000
[5,8,4,6,1,7,3,2]=>0000000
[5,6,1,4,7,8,3,2]=>0000000
[5,6,7,2,4,8,3,1]=>0000000
[5,6,3,7,4,8,2,1]=>0000000
[5,3,6,7,4,8,2,1]=>0000000
[5,3,2,8,6,7,4,1]=>0000000
[5,4,8,2,6,7,3,1]=>0000000
[5,4,8,6,2,7,3,1]=>0000000
[6,4,8,5,7,2,3,1]=>0000000
[7,4,8,5,6,2,1,3]=>0000000
[4,6,8,5,7,2,3,1]=>0000000
[5,6,8,2,4,7,3,1]=>0000000
[5,6,3,8,4,7,2,1]=>0000000
[4,6,3,5,8,7,2,1]=>0000000
[4,6,3,2,8,7,5,1]=>0000000
[5,6,3,8,2,7,4,1]=>0000000
[3,6,5,8,7,2,4,1]=>0000000
[5,3,6,8,2,7,4,1]=>0000000
[4,3,7,2,8,6,5,1]=>0000000
[5,4,7,2,6,8,3,1]=>0000000
[5,3,2,7,6,8,4,1]=>0000000
[6,7,3,8,5,2,4,1]=>0000000
[6,3,2,7,5,4,8,1]=>0000000
[6,4,7,2,5,3,8,1]=>0000000
[6,2,7,5,1,4,8,3]=>0000000
[2,7,8,5,3,6,1,4]=>0000000
[6,3,7,8,4,2,5,1]=>0000000
[3,5,7,8,4,6,2,1]=>0000000
[5,3,7,8,4,6,2,1]=>0000000
[5,7,8,2,4,6,3,1]=>0000000
[2,5,8,4,3,7,6,1]=>0000000
[2,6,8,4,7,3,5,1]=>0000000
[3,7,4,8,6,2,1,5]=>0000000
[3,6,4,8,7,2,5,1]=>0000000
[3,5,4,8,2,7,6,1]=>0000000
[4,3,7,5,8,6,2,1]=>0000000
[4,5,7,3,8,6,2,1]=>0000000
[3,5,6,8,4,7,2,1]=>0000000
[6,3,1,8,7,5,4,2]=>0000000
[5,4,8,1,7,6,3,2]=>0000000
[8,5,4,1,7,6,3,2]=>0000000
[1,8,2,5,6,3,4,7]=>1000000
[7,2,8,4,5,1,3,6]=>0000000
[1,3,7,5,6,2,4,8]=>1000001
[1,6,7,4,3,5,2,8]=>1000001
[1,8,5,2,3,7,4,6]=>1000000
[1,8,2,5,3,6,7,4]=>1000000
[2,6,8,4,3,5,7,1]=>0000000
[7,5,8,3,2,1,6,4]=>0000000
[7,2,8,4,1,5,6,3]=>0000000
[7,5,8,1,2,6,3,4]=>0000000
[1,6,7,4,3,2,8,5]=>1000000
[1,5,2,6,4,7,8,3]=>1000000
[1,5,4,6,2,3,7,8]=>1000011
[6,2,5,7,1,4,8,3]=>0000000
[6,5,4,3,8,1,7,2]=>0000000
[7,3,6,8,5,2,4,1]=>0000000
[2,7,8,3,6,5,1,4]=>0000000
[2,7,8,5,4,6,3,1]=>0000000
[2,6,5,8,3,4,1,7]=>0000000
[2,6,5,7,3,4,1,8]=>0000001
[6,2,5,7,4,1,3,8]=>0000001
[6,2,5,8,4,1,3,7]=>0000000
[2,7,8,4,6,1,3,5]=>0000000
[6,1,2,8,3,7,4,5]=>0000000
[6,1,2,8,5,4,7,3]=>0000000
[6,2,5,7,8,1,3,4]=>0000000
[1,5,4,2,6,7,3,8]=>1000001
[2,6,5,7,3,8,1,4]=>0000000
[1,6,2,7,5,8,4,3]=>1000000
[1,3,2,7,8,5,6,4]=>1010000
[1,6,2,4,8,7,3,5]=>1000000
[6,5,2,1,8,7,3,4]=>0000000
[2,6,5,3,7,8,4,1]=>0000000
[6,2,5,3,8,4,7,1]=>0000000
[6,5,2,3,8,7,1,4]=>0000000
[5,4,1,2,3,8,6,7]=>0000100
[5,1,4,2,3,7,8,6]=>0000100
[1,5,4,2,6,3,8,7]=>1000010
[1,8,7,6,2,5,4,3]=>1000000
[5,2,7,4,1,6,3,8]=>0000001
[4,7,3,1,5,6,2,8]=>0000001
[5,8,3,4,1,6,7,2]=>0000000
[1,7,8,4,5,6,2,3]=>1000000
[1,5,8,4,2,6,7,3]=>1000000
[1,6,3,8,5,2,7,4]=>1000000
[5,2,3,7,1,6,4,8]=>0000001
[6,2,3,7,5,1,4,8]=>0000001
[1,7,3,4,8,6,2,5]=>1000000
[6,2,3,4,8,1,7,5]=>0000000
[8,7,3,2,1,6,5,4]=>0000000
[8,7,6,3,1,5,2,4]=>0000000
[8,5,1,7,2,3,4,6]=>0000000
[2,4,8,5,3,7,1,6]=>0000000
[2,4,1,8,5,3,7,6]=>0000000
[2,4,8,6,3,1,7,5]=>0000000
[3,4,6,8,2,1,7,5]=>0000000
[3,4,1,5,8,2,7,6]=>0000000
[8,1,4,5,3,2,7,6]=>0000000
[3,4,1,5,2,8,7,6]=>0000100
[3,4,6,2,1,8,7,5]=>0000000
[3,5,6,2,1,7,8,4]=>0000000
[3,4,6,2,7,8,1,5]=>0000000
[8,1,4,6,3,7,2,5]=>0000000
[8,1,4,6,3,7,5,2]=>0000000
[3,5,6,2,1,7,4,8]=>0000001
[8,1,5,6,7,3,4,2]=>0000000
[8,1,5,6,7,3,2,4]=>0000000
[3,4,1,6,8,7,2,5]=>0000000
[3,5,6,1,8,7,2,4]=>0000000
[2,1,3,8,6,7,4,5]=>0110000
[8,1,3,2,6,7,5,4]=>0000000
[2,3,8,6,7,1,5,4]=>0000000
[2,4,1,8,6,7,5,3]=>0000000
[2,5,8,6,1,7,4,3]=>0000000
[3,5,6,1,8,7,4,2]=>0000000
[3,4,1,6,8,7,5,2]=>0000000
[3,4,6,8,7,1,5,2]=>0000000
[8,1,4,6,2,7,5,3]=>0000000
[3,5,1,6,7,8,4,2]=>0000000
[4,5,6,1,7,8,3,2]=>0000000
[4,5,6,1,7,3,8,2]=>0000000
[3,5,1,6,7,4,8,2]=>0000000
[8,1,5,6,7,4,2,3]=>0000000
[8,1,5,6,7,4,3,2]=>0000000
[3,5,1,6,7,4,2,8]=>0000001
[4,5,6,1,7,3,2,8]=>0000001
[6,5,8,7,4,3,1,2]=>0000000
[6,1,4,8,7,5,2,3]=>0000000
[7,6,2,1,4,8,3,5]=>0000000
[8,1,6,3,4,7,2,5]=>0000000
[1,2,7,5,4,8,3,6]=>1100000
[3,2,7,5,4,8,1,6]=>0000000
[6,8,3,2,4,7,1,5]=>0000000
[3,7,2,5,4,8,1,6]=>0000000
[1,3,7,5,4,8,2,6]=>1000000
[8,7,5,6,2,1,4,3]=>0000000
[2,7,3,5,4,8,1,6]=>0000000
[8,2,5,4,7,3,1,6]=>0000000
[8,1,7,6,4,3,5,2]=>0000000
[7,1,8,6,4,3,5,2]=>0000000
[7,3,6,5,2,1,4,8]=>0000001
[6,4,2,5,1,8,3,7]=>0000000
[6,3,5,2,1,4,7,8]=>0000011
[2,3,5,8,1,4,7,6]=>0000000
[6,3,8,5,2,7,1,4]=>0000000
[7,3,5,2,1,4,6,8]=>0000001
[8,4,2,5,1,3,7,6]=>0000000
[2,3,6,8,1,4,7,5]=>0000000
[7,3,8,5,2,1,4,6]=>0000000
[2,3,6,1,8,4,7,5]=>0000000
[2,4,8,1,3,7,5,6]=>0000000
[2,5,8,1,7,3,6,4]=>0000000
[2,8,1,5,7,3,6,4]=>0000000
[2,6,8,1,5,7,3,4]=>0000000
[2,7,1,5,8,3,4,6]=>0000000
[3,7,5,8,1,2,6,4]=>0000000
[7,3,6,1,2,8,4,5]=>0000000
[6,8,4,5,1,7,2,3]=>0000000
[5,1,8,7,6,2,3,4]=>0000000
[8,5,1,6,2,7,3,4]=>0000000
[4,6,1,8,7,5,2,3]=>0000000
[4,5,1,8,7,2,3,6]=>0000000
[3,4,8,7,1,2,5,6]=>0000000
[5,6,8,3,7,1,4,2]=>0000000
[6,4,7,1,2,8,5,3]=>0000000
[6,5,1,2,7,3,8,4]=>0000000
[6,5,1,8,2,7,3,4]=>0000000
[6,5,1,8,7,2,3,4]=>0000000
[6,5,1,7,2,8,3,4]=>0000000
[6,5,1,7,2,3,8,4]=>0000000
[5,6,8,7,4,1,2,3]=>0000000
[6,8,5,7,4,1,2,3]=>0000000
[7,3,8,1,5,2,4,6]=>0000000
[4,1,7,5,3,6,2,8]=>0000001
[1,8,4,2,3,6,7,5]=>1000000
[2,5,8,3,4,6,7,1]=>0000000
[4,1,7,2,3,6,8,5]=>0000000
[4,6,2,1,5,7,8,3]=>0000000
[4,5,2,3,1,7,8,6]=>0000100
[3,2,6,7,4,1,8,5]=>0000000
[5,6,2,7,1,4,8,3]=>0000000
[6,2,3,8,1,7,4,5]=>0000000
[2,6,8,3,4,7,1,5]=>0000000
[4,6,2,7,5,1,3,8]=>0000001
[2,6,3,1,8,4,5,7]=>0000000
[2,4,3,7,8,1,5,6]=>0000000
[5,3,2,7,4,8,1,6]=>0000000
[5,1,2,7,6,8,4,3]=>0000000
[2,6,3,1,8,7,4,5]=>0000000
[3,5,6,4,7,8,1,2]=>0000000
[5,3,6,4,2,8,7,1]=>0000000
[5,4,2,3,7,8,6,1]=>0000000
[4,1,8,2,5,7,3,6]=>0000000
[3,1,8,4,7,2,5,6]=>0000000
[6,2,3,8,4,1,7,5]=>0000000
[2,6,4,1,5,3,8,7]=>0000010
[3,2,7,6,4,1,8,5]=>0000000
[2,5,4,1,7,6,8,3]=>0000000
[6,2,1,4,7,8,3,5]=>0000000
[2,6,5,1,7,8,3,4]=>0000000
[4,7,5,2,1,6,3,8]=>0000001
[4,2,3,7,8,1,6,5]=>0000000
[6,8,3,1,5,2,4,7]=>0000000
[6,8,3,2,5,1,7,4]=>0000000
[6,8,4,3,1,5,7,2]=>0000000
[6,8,4,2,1,5,7,3]=>0000000
[5,1,7,3,2,4,6,8]=>0000001
[4,3,8,1,6,2,7,5]=>0000000
[4,2,1,8,5,7,3,6]=>0000000
[6,3,2,1,7,4,5,8]=>0000001
[6,4,2,1,7,5,3,8]=>0000001
[6,3,2,8,7,1,4,5]=>0000000
[4,2,8,1,7,3,5,6]=>0000000
[4,3,8,7,2,1,5,6]=>0000000
[4,3,1,6,2,7,5,8]=>0000001
[5,4,1,7,2,8,6,3]=>0000000
[6,5,3,1,7,8,4,2]=>0000000
[5,4,2,1,6,7,3,8]=>0000001
[6,4,2,1,7,8,5,3]=>0000000
[5,3,2,1,6,7,8,4]=>0000000
[8,6,1,4,5,7,2,3]=>0000000
[5,2,8,3,7,4,6,1]=>0000000
[6,2,8,5,4,7,3,1]=>0000000
[1,8,6,3,7,4,2,5]=>1000000
[1,8,6,5,7,2,3,4]=>1000000
[5,2,8,4,3,6,7,1]=>0000000
[5,4,2,7,3,6,1,8]=>0000001
[5,4,2,8,3,6,1,7]=>0000000
[6,5,3,8,4,7,2,1]=>0000000
[5,2,8,4,3,7,1,6]=>0000000
[6,2,8,3,7,4,1,5]=>0000000
[5,4,2,7,3,1,8,6]=>0000000
[6,4,3,7,1,2,8,5]=>0000000
[6,4,3,8,1,2,7,5]=>0000000
[7,6,3,8,4,2,1,5]=>0000000
[7,2,8,5,1,6,3,4]=>0000000
[7,2,8,4,3,1,5,6]=>0000000
[7,5,3,8,4,2,6,1]=>0000000
[6,4,2,7,3,1,5,8]=>0000001
[7,6,4,8,2,3,5,1]=>0000000
[7,6,8,1,2,5,3,4]=>0000000
[5,3,1,7,8,4,6,2]=>0000000
[5,3,2,7,8,4,6,1]=>0000000
[5,4,1,6,3,8,7,2]=>0000000
[6,5,1,7,8,2,3,4]=>0000000
[6,3,1,7,8,4,2,5]=>0000000
[5,4,1,7,3,8,2,6]=>0000000
[6,3,2,7,8,4,1,5]=>0000000
[8,7,6,1,3,5,2,4]=>0000000
[8,4,1,5,7,6,2,3]=>0000000
[8,4,7,6,3,1,5,2]=>0000000
[5,4,1,7,6,2,8,3]=>0000000
[3,5,6,7,1,4,8,2]=>0000000
[5,7,2,1,6,3,8,4]=>0000000
[6,8,7,1,3,2,5,4]=>0000000
[6,4,8,1,3,2,7,5]=>0000000
[1,4,5,2,8,6,7,3]=>1000000
[2,3,1,7,8,6,4,5]=>0010000
[4,5,6,1,2,8,7,3]=>0000000
[5,1,3,2,7,8,4,6]=>0000000
[1,5,4,2,7,8,3,6]=>1000000
[5,3,8,1,7,2,4,6]=>0000000
[3,6,7,8,4,2,1,5]=>0000000
[2,5,8,3,1,6,7,4]=>0000000
[1,5,8,3,2,6,7,4]=>1000000
[1,3,8,6,2,4,7,5]=>1000000
[4,8,7,2,1,6,3,5]=>0000000
[8,3,4,2,1,6,5,7]=>0000000
[2,4,5,8,3,6,1,7]=>0000000
[3,5,8,1,2,6,4,7]=>0000000
[2,6,4,3,7,8,5,1]=>0000000
[7,4,1,8,3,2,5,6]=>0000000
[5,6,1,7,4,2,8,3]=>0000000
[3,6,5,7,1,8,4,2]=>0000000
[6,7,3,8,4,1,2,5]=>0000000
[4,7,5,8,3,1,2,6]=>0000000
[3,6,7,4,8,1,2,5]=>0000000
[5,7,3,1,6,8,4,2]=>0000000
[8,7,6,4,1,2,5,3]=>0000000
[8,5,3,2,7,6,1,4]=>0000000
[2,5,1,3,6,8,7,4]=>0000000
[8,7,5,4,2,1,6,3]=>0000000
[6,7,2,5,1,8,4,3]=>0000000
[3,6,1,2,5,8,4,7]=>0000000
[1,4,5,8,2,3,7,6]=>1000000
[1,2,6,4,5,8,3,7]=>1100000
[1,5,2,4,6,8,3,7]=>1000000
[3,6,1,5,8,2,4,7]=>0000000
[2,6,5,1,4,8,3,7]=>0000000
[5,2,6,1,4,8,3,7]=>0000000
[2,5,1,8,4,7,3,6]=>0000000
[2,7,1,4,3,6,8,5]=>0000000
[1,3,7,5,8,2,4,6]=>1000000
[8,2,1,5,7,3,4,6]=>0000000
[2,5,4,8,1,3,7,6]=>0000000
[2,4,1,3,8,6,7,5]=>0001000
[8,4,3,7,1,2,6,5]=>0000000
[1,7,3,5,8,2,6,4]=>1000000
[1,8,4,2,6,7,3,5]=>1000000
[3,1,6,8,7,2,4,5]=>0000000
[7,2,1,6,8,3,4,5]=>0000000
[3,1,7,6,8,2,4,5]=>0000000
[4,1,7,2,6,8,3,5]=>0000000
[5,1,7,2,3,6,8,4]=>0000000
[7,2,1,6,3,5,8,4]=>0000000
[2,6,1,7,3,5,8,4]=>0000000
[7,1,2,5,3,6,8,4]=>0000000
[5,4,1,2,7,8,3,6]=>0000000
[8,1,3,2,4,6,7,5]=>0000000
[7,3,1,2,4,6,8,5]=>0000000
[1,8,3,4,7,2,5,6]=>1000000
[3,5,8,1,2,7,4,6]=>0000000
[3,6,8,1,2,4,7,5]=>0000000
[4,1,3,8,7,2,6,5]=>0000000
[1,3,7,4,8,2,6,5]=>1000000
[1,4,6,8,2,3,7,5]=>1000000
[3,5,8,1,7,2,4,6]=>0000000
[2,6,8,1,7,3,4,5]=>0000000
[6,1,5,8,2,3,7,4]=>0000000
[1,8,3,2,7,5,6,4]=>1000000
[3,1,7,2,8,5,6,4]=>0000000
[2,6,7,3,8,1,5,4]=>0000000
[8,4,1,7,3,6,2,5]=>0000000
[3,7,2,8,6,1,5,4]=>0000000
[6,2,3,8,7,1,5,4]=>0000000
[6,8,2,4,3,7,5,1]=>0000000
[6,8,2,7,3,5,4,1]=>0000000
[3,7,8,2,4,1,5,6]=>0000000
[8,6,1,7,2,5,4,3]=>0000000
[8,7,6,1,2,3,5,4]=>0000000
[8,3,4,7,1,6,2,5]=>0000000
[2,8,6,7,5,3,4,1]=>0000000
[2,1,8,7,3,6,4,5]=>0100000
[4,6,5,2,7,3,8,1]=>0000000
[6,3,8,7,4,5,1,2]=>0000000
[8,5,7,4,6,2,1,3]=>0000000
[5,8,3,2,4,6,1,7]=>0000000
[2,1,8,6,4,3,7,5]=>0100000
[7,5,4,3,1,8,6,2]=>0000000
[4,1,3,6,7,5,8,2]=>0000000
[1,7,2,4,5,8,3,6]=>1000000
[1,7,4,5,8,3,2,6]=>1000000
[2,6,4,7,8,3,5,1]=>0000000
[1,2,6,4,7,8,3,5]=>1100000
[6,1,4,7,8,3,5,2]=>0000000
[3,6,4,7,8,1,2,5]=>0000000
[4,7,2,1,5,3,8,6]=>0000000
[1,3,6,4,7,2,8,5]=>1000000
[3,6,4,7,2,8,5,1]=>0000000
[5,1,3,4,2,7,8,6]=>0000100
[1,6,7,3,8,2,5,4]=>1000000
[6,1,4,7,8,5,2,3]=>0000000
[8,6,5,1,3,2,4,7]=>0000000
[5,8,6,4,1,3,2,7]=>0000000
[6,8,5,7,4,2,3,1]=>0000000
[2,3,8,7,1,6,4,5]=>0000000
[3,5,8,7,4,1,2,6]=>0000000
[4,8,1,2,7,3,5,6]=>0000000
[6,8,1,2,7,4,5,3]=>0000000
[2,4,8,7,5,6,1,3]=>0000000
[6,4,8,7,5,1,2,3]=>0000000
[6,3,8,7,2,1,4,5]=>0000000
[3,7,6,8,5,1,2,4]=>0000000
[2,6,7,8,5,1,3,4]=>0000000
[2,8,3,4,1,5,7,6]=>0000000
[6,8,7,1,5,2,3,4]=>0000000
[5,8,3,2,7,6,1,4]=>0000000
[4,5,3,2,8,6,7,1]=>0000000
[3,5,8,6,1,4,7,2]=>0000000
[2,6,4,8,5,1,7,3]=>0000000
[7,6,4,8,5,2,1,3]=>0000000
[3,4,8,7,5,6,2,1]=>0000000
[7,5,3,2,8,6,1,4]=>0000000
[4,5,1,2,8,6,7,3]=>0000000
[6,1,5,7,2,4,8,3]=>0000000
[7,4,5,1,2,3,8,6]=>0000000
[8,4,7,6,2,1,5,3]=>0000000
[3,5,7,6,4,1,8,2]=>0000000
[5,7,2,3,6,4,8,1]=>0000000
[4,8,7,6,1,2,5,3]=>0000000
[6,8,3,1,2,4,5,7]=>0000000
[6,2,7,4,8,1,3,5]=>0000000
[4,3,2,6,8,1,7,5]=>0000000
[3,5,4,2,8,1,6,7]=>0000000
[1,5,8,3,7,4,2,6]=>1000000
[3,6,8,5,2,7,4,1]=>0000000
[2,1,6,5,4,8,3,7]=>0100000
[2,1,7,8,4,6,5,3]=>0100000
[7,6,3,8,1,5,4,2]=>0000000
[7,2,4,1,6,3,8,5]=>0000000
[8,4,3,1,7,5,2,6]=>0000000
[4,3,8,7,1,6,5,2]=>0000000
[5,2,4,3,6,8,1,7]=>0000000
[4,2,7,5,8,3,6,1]=>0000000
[5,8,2,7,3,4,6,1]=>0000000
[6,7,2,4,5,3,8,1]=>0000000
[6,3,2,1,4,8,5,7]=>0000000
[8,7,3,5,4,2,1,6]=>0000000
[8,4,6,5,3,2,1,7]=>0000000
[7,6,8,1,5,4,3,2]=>0000000
[5,4,8,7,6,1,3,2]=>0000000
[7,6,1,8,5,4,3,2]=>0000000
[6,5,8,1,7,4,3,2]=>0000000
[6,5,8,7,4,1,3,2]=>0000000
[1,6,4,8,3,2,5,7]=>1000000
[1,8,3,5,6,2,4,7]=>1000000
[1,4,8,5,6,2,3,7]=>1000000
[1,2,8,5,3,7,4,6]=>1100000
[6,1,4,8,2,3,5,7]=>0000000
[8,7,2,5,6,1,4,3]=>0000000
[1,8,2,5,4,7,3,6]=>1000000
[5,7,4,1,2,3,8,6]=>0000000
[1,7,4,2,5,3,8,6]=>1000000
[6,7,4,2,1,3,8,5]=>0000000
[6,4,3,8,5,7,1,2]=>0000000
[7,4,3,6,2,1,5,8]=>0000001
[7,2,5,3,4,1,6,8]=>0000001
[8,3,7,4,5,6,1,2]=>0000000
[2,7,4,3,1,5,6,8]=>0000001
[6,8,4,2,3,1,5,7]=>0000000
[3,7,5,2,4,1,6,8]=>0000001
[7,1,3,2,8,4,5,6]=>0000000
[2,1,7,4,8,3,5,6]=>0100000
[5,2,8,6,1,3,4,7]=>0000000
[2,8,3,1,4,5,6,7]=>0000000
[7,4,8,2,3,1,5,6]=>0000000
[4,2,7,3,1,5,6,8]=>0000001
[8,3,7,2,1,4,5,6]=>0000000
[6,5,2,4,7,1,3,8]=>0000001
[6,5,7,4,1,8,2,3]=>0000000
[7,6,4,5,1,8,2,3]=>0000000
[8,6,4,1,3,7,2,5]=>0000000
[6,4,3,1,8,2,5,7]=>0000000
[7,4,1,2,8,3,5,6]=>0000000
[4,8,1,3,5,7,2,6]=>0000000
[7,8,4,1,3,6,2,5]=>0000000
[6,5,8,1,3,7,2,4]=>0000000
[5,3,6,1,8,2,4,7]=>0000000
[4,7,3,1,8,2,5,6]=>0000000
[8,3,1,7,2,4,5,6]=>0000000
[2,8,1,4,7,3,5,6]=>0000000
[3,1,8,5,4,7,6,2]=>0000000
[4,1,5,8,3,7,6,2]=>0000000
[4,1,5,3,8,7,6,2]=>0000000
[4,5,1,8,2,7,6,3]=>0000000
[4,8,5,3,1,7,6,2]=>0000000
[4,5,2,8,1,7,6,3]=>0000000
[4,5,2,1,8,7,6,3]=>0000000
[5,6,2,7,8,1,4,3]=>0000000
[4,6,2,8,7,1,5,3]=>0000000
[4,8,6,3,7,1,5,2]=>0000000
[4,8,6,3,7,5,1,2]=>0000000
[4,6,8,2,7,5,1,3]=>0000000
[4,6,2,8,7,5,1,3]=>0000000
[5,6,2,7,4,1,8,3]=>0000000
[5,6,7,2,3,1,8,4]=>0000000
[5,6,7,2,8,3,1,4]=>0000000
[5,6,7,2,1,8,3,4]=>0000000
[5,6,7,2,1,3,8,4]=>0000000
[5,6,1,7,8,2,4,3]=>0000000
[5,6,1,7,2,4,8,3]=>0000000
[5,1,6,7,8,3,4,2]=>0000000
[4,1,6,8,7,3,5,2]=>0000000
[3,1,8,6,7,5,4,2]=>0000000
[4,1,6,8,7,5,3,2]=>0000000
[5,1,6,7,4,8,3,2]=>0000000
[5,6,1,7,8,4,2,3]=>0000000
[4,6,8,1,7,5,2,3]=>0000000
[4,8,6,1,7,5,3,2]=>0000000
[5,6,7,1,8,3,2,4]=>0000000
[5,6,7,1,3,8,2,4]=>0000000
[5,6,7,1,3,2,8,4]=>0000000
[5,6,7,3,1,2,8,4]=>0000000
[5,6,7,3,8,1,2,4]=>0000000
[5,6,8,7,4,2,1,3]=>0000000
[5,6,7,3,8,2,1,4]=>0000000
[7,4,6,2,3,5,1,8]=>0000001
[1,4,8,6,3,2,5,7]=>1000000
[7,4,1,6,3,8,5,2]=>0000000
[7,6,3,1,5,8,4,2]=>0000000
[6,4,2,5,7,3,1,8]=>0000001
[4,2,5,7,6,3,1,8]=>0000001
[7,4,5,6,1,8,3,2]=>0000000
[4,1,5,8,6,3,2,7]=>0000000
[3,2,7,6,1,8,5,4]=>0000000
[4,7,5,1,6,8,2,3]=>0000000
[8,6,5,1,2,7,4,3]=>0000000
[3,2,5,1,4,8,7,6]=>0000100
[8,5,4,1,3,2,7,6]=>0000000
[1,4,2,3,6,8,7,5]=>1001000
[5,4,8,3,7,1,6,2]=>0000000
[4,7,1,8,2,5,3,6]=>0000000
[6,4,1,8,5,3,7,2]=>0000000
[8,4,6,1,3,5,2,7]=>0000000
[3,2,5,4,7,8,1,6]=>0000000
[5,2,4,3,7,8,1,6]=>0000000
[8,1,6,7,2,5,3,4]=>0000000
[3,1,7,6,5,8,2,4]=>0000000
[1,2,7,5,6,8,3,4]=>1100000
[6,1,4,7,2,8,3,5]=>0000000
[3,2,1,7,6,8,4,5]=>0010000
[3,2,8,6,4,7,1,5]=>0000000
[7,8,4,6,3,2,1,5]=>0000000
[1,8,6,5,3,7,2,4]=>1000000
[8,2,5,3,6,7,1,4]=>0000000
[3,8,5,2,7,6,1,4]=>0000000
[4,7,5,3,1,8,6,2]=>0000000
[4,5,3,6,8,1,7,2]=>0000000
[3,5,2,6,1,8,7,4]=>0000000
[1,6,3,5,7,2,8,4]=>1000000
[1,5,4,6,7,8,2,3]=>1000000
[8,4,6,5,7,2,1,3]=>0000000
[7,4,5,2,6,8,1,3]=>0000000
[5,4,2,6,8,7,1,3]=>0000000
[6,5,1,4,3,2,8,7]=>0000010
[7,5,4,2,3,8,1,6]=>0000000
[1,7,8,3,5,6,2,4]=>1000000
[1,3,7,5,8,2,6,4]=>1000000
[3,1,7,5,8,2,6,4]=>0000000
[3,5,7,1,8,4,6,2]=>0000000
[3,5,7,8,1,4,6,2]=>0000000
[5,3,7,1,8,4,6,2]=>0000000
[5,1,3,7,8,4,2,6]=>0000000
[5,2,8,1,7,3,4,6]=>0000000
[5,8,3,2,7,1,4,6]=>0000000
[2,6,8,3,7,1,4,5]=>0000000
[5,1,8,3,7,2,4,6]=>0000000
[5,1,8,4,6,2,3,7]=>0000000
[3,1,8,4,2,5,6,7]=>0000000
[4,8,5,2,6,1,3,7]=>0000000
[4,1,7,5,6,2,8,3]=>0000000
[5,7,4,3,8,1,6,2]=>0000000
[5,7,4,3,8,2,6,1]=>0000000
[3,8,4,2,6,7,5,1]=>0000000
[3,8,4,1,6,7,5,2]=>0000000
[6,1,7,5,2,8,4,3]=>0000000
[5,6,4,3,2,8,1,7]=>0000000
[2,6,7,5,3,8,4,1]=>0000000
[6,7,4,8,2,5,3,1]=>0000000
[2,1,6,7,5,3,8,4]=>0100000
[3,8,4,2,1,6,7,5]=>0000000
[5,7,4,3,8,2,1,6]=>0000000
[6,7,4,8,1,2,5,3]=>0000000
[6,7,5,8,1,2,4,3]=>0000000
[6,7,4,8,3,1,2,5]=>0000000
[3,4,8,1,2,5,7,6]=>0000000
[6,1,3,4,8,2,5,7]=>0000000
[6,2,3,4,8,1,5,7]=>0000000
[3,4,8,2,1,5,7,6]=>0000000
[6,7,5,8,2,4,3,1]=>0000000
[6,7,5,8,3,1,4,2]=>0000000
[3,4,8,1,5,7,6,2]=>0000000
[2,5,7,6,1,4,8,3]=>0000000
[6,7,4,8,2,3,5,1]=>0000000
[6,7,4,8,1,3,5,2]=>0000000
[2,6,7,5,1,3,8,4]=>0000000
[6,3,1,4,8,2,5,7]=>0000000
[6,7,4,8,1,3,2,5]=>0000000
[6,7,5,8,4,1,3,2]=>0000000
[6,7,4,8,2,1,3,5]=>0000000
[6,7,4,8,1,2,3,5]=>0000000
[1,5,6,3,4,8,2,7]=>1000000
[1,4,3,6,5,8,2,7]=>1000000
[1,8,3,4,7,6,2,5]=>1000000
[3,8,1,7,5,2,6,4]=>0000000
[2,1,3,8,4,6,5,7]=>0110000
[8,3,1,5,7,2,6,4]=>0000000
[1,4,8,5,7,6,2,3]=>1000000
[2,4,8,5,7,3,6,1]=>0000000
[4,2,8,6,7,3,5,1]=>0000000
[3,2,8,7,5,4,6,1]=>0000000
[3,1,8,7,5,6,2,4]=>0000000
[5,1,7,8,6,4,2,3]=>0000000
[7,8,3,2,6,1,4,5]=>0000000
[3,4,8,2,6,1,7,5]=>0000000
[7,8,4,1,5,6,3,2]=>0000000
[7,8,1,4,5,6,3,2]=>0000000
[7,8,1,2,6,3,4,5]=>0000000
[7,8,5,1,4,6,3,2]=>0000000
[7,8,4,5,1,6,3,2]=>0000000
[5,3,8,4,1,6,7,2]=>0000000
[6,2,4,8,1,5,3,7]=>0000000
[3,4,8,5,1,6,7,2]=>0000000
[3,5,8,1,4,6,7,2]=>0000000
[1,4,8,2,6,3,7,5]=>1000000
[5,3,8,1,4,6,7,2]=>0000000
[4,2,6,8,1,5,3,7]=>0000000
[7,4,2,8,1,5,3,6]=>0000000
[6,1,7,5,8,4,3,2]=>0000000
[6,2,1,8,4,5,3,7]=>0000000
[1,2,7,8,5,3,4,6]=>1100000
[6,3,7,8,5,4,1,2]=>0000000
[6,1,5,7,8,4,3,2]=>0000000
[1,7,5,6,8,4,3,2]=>1000000
[3,1,8,4,5,6,7,2]=>0000000
[2,1,4,8,6,5,3,7]=>0100000
[2,4,1,8,6,5,3,7]=>0000000
[4,2,1,8,6,5,3,7]=>0000000
[3,2,7,8,5,1,4,6]=>0000000
[2,3,7,8,5,1,4,6]=>0000000
[2,7,3,8,5,1,4,6]=>0000000
[3,6,2,8,5,1,4,7]=>0000000
[4,1,2,8,7,5,3,6]=>0000000
[1,4,2,8,7,5,3,6]=>1000000
[7,3,6,8,5,4,1,2]=>0000000
[7,2,1,8,5,3,4,6]=>0000000
[1,2,6,8,4,5,3,7]=>1100000
[7,1,6,5,8,4,3,2]=>0000000
[6,5,7,1,8,4,3,2]=>0000000
[5,7,6,1,8,4,3,2]=>0000000
[6,7,1,5,8,4,3,2]=>0000000
[6,7,3,8,5,4,1,2]=>0000000
[7,1,2,8,4,5,3,6]=>0000000
[7,6,1,5,8,4,3,2]=>0000000
[7,5,6,1,8,4,3,2]=>0000000
[1,8,7,5,3,2,4,6]=>1000000
[1,8,7,4,2,5,3,6]=>1000000
[5,3,7,1,6,4,2,8]=>0000001
[1,5,3,8,7,4,2,6]=>1000000
[1,8,6,3,5,7,4,2]=>1000000
[6,3,8,5,2,1,7,4]=>0000000
[6,3,7,4,1,8,5,2]=>0000000
[6,1,8,7,4,2,5,3]=>0000000
[1,8,6,3,2,4,7,5]=>1000000
[4,3,2,8,7,6,1,5]=>0000000
[1,7,5,8,6,3,2,4]=>1000000
[1,7,4,2,5,8,6,3]=>1000000
[8,6,3,1,7,4,2,5]=>0000000
[8,7,4,2,5,3,1,6]=>0000000
[1,8,5,2,7,4,6,3]=>1000000
[7,4,8,5,2,1,6,3]=>0000000
[1,7,4,6,3,8,5,2]=>1000000
[4,1,8,5,7,3,2,6]=>0000000
[2,1,5,7,8,4,3,6]=>0100000
[5,1,7,4,8,3,2,6]=>0000000
[4,7,2,8,3,6,1,5]=>0000000
[6,2,8,4,1,7,3,5]=>0000000
[1,8,5,4,2,3,7,6]=>1000000
[3,5,4,8,1,2,7,6]=>0000000
[5,6,3,8,7,1,2,4]=>0000000
[2,6,8,4,1,7,3,5]=>0000000
[1,8,7,4,2,6,3,5]=>1000000
[6,3,5,8,7,1,2,4]=>0000000
[5,2,8,6,7,1,3,4]=>0000000
[6,2,8,7,5,1,3,4]=>0000000
[1,8,5,7,6,2,3,4]=>1000000
[3,6,7,8,5,1,2,4]=>0000000
[1,8,6,7,5,2,3,4]=>1000000
[5,4,2,7,6,8,1,3]=>0000000
[4,2,1,8,7,3,5,6]=>0000000
[5,1,6,3,2,8,7,4]=>0000000
[4,3,5,2,8,7,1,6]=>0000000
[2,8,6,1,7,3,5,4]=>0000000
[3,7,5,1,6,8,2,4]=>0000000
[3,6,7,4,1,8,2,5]=>0000000
[2,7,1,6,5,4,8,3]=>0000000
[7,3,2,6,1,8,5,4]=>0000000
[8,4,1,6,3,2,5,7]=>0000000
[4,7,3,8,5,2,1,6]=>0000000
[4,7,5,1,8,6,3,2]=>0000000
[6,1,5,7,3,8,4,2]=>0000000
[7,2,6,5,8,4,1,3]=>0000000
[2,5,8,1,6,4,7,3]=>0000000
[3,6,5,8,4,1,7,2]=>0000000
[5,7,3,1,6,4,8,2]=>0000000
[8,7,2,5,4,1,3,6]=>0000000
[8,7,2,5,3,1,4,6]=>0000000
[5,2,8,7,1,4,3,6]=>0000000
[8,1,6,2,7,5,3,4]=>0000000
[6,3,4,1,7,2,8,5]=>0000000
[5,1,7,4,3,8,2,6]=>0000000
[6,1,7,3,2,8,5,4]=>0000000
[4,7,2,1,6,3,8,5]=>0000000
[6,2,1,5,3,8,4,7]=>0000000
[8,5,1,3,7,4,2,6]=>0000000
[6,1,8,3,7,5,2,4]=>0000000
[7,4,1,5,8,3,2,6]=>0000000
[6,1,8,4,5,2,7,3]=>0000000
[3,5,2,7,1,6,8,4]=>0000000
[6,1,3,7,4,8,5,2]=>0000000
[3,2,1,7,4,8,5,6]=>0010000
[4,1,5,2,7,6,3,8]=>0000001
[2,5,1,3,7,6,4,8]=>0000001
[2,5,1,4,3,8,6,7]=>0000100
[3,7,2,1,5,8,6,4]=>0000000
[6,2,7,1,4,8,5,3]=>0000000
[3,7,4,2,1,8,5,6]=>0000000
[7,2,5,3,1,8,6,4]=>0000000
[7,5,1,4,2,8,6,3]=>0000000
[7,5,4,1,3,8,6,2]=>0000000
[5,3,2,1,7,6,4,8]=>0000001
[6,3,2,8,1,5,7,4]=>0000000
[7,4,3,2,8,1,6,5]=>0000000
[7,6,2,4,8,3,5,1]=>0000000
[7,3,6,4,8,1,5,2]=>0000000
[2,7,5,3,8,1,4,6]=>0000000
[1,8,5,3,6,4,2,7]=>1000000
[8,6,2,3,7,5,4,1]=>0000000
[8,6,3,2,7,5,4,1]=>0000000
[8,3,2,7,1,6,4,5]=>0000000
[7,2,6,1,5,4,3,8]=>0000001
[8,5,7,4,3,6,2,1]=>0000000
[8,5,7,2,4,6,3,1]=>0000000
[8,4,6,7,1,3,2,5]=>0000000
[2,8,5,6,1,4,3,7]=>0000000
[7,2,6,8,4,1,5,3]=>0000000
[7,6,4,8,3,2,5,1]=>0000000
[6,5,8,1,4,2,7,3]=>0000000
[6,5,8,4,1,3,7,2]=>0000000
[5,4,8,3,2,1,7,6]=>0000000
[4,3,7,2,1,6,5,8]=>0000001
[2,5,8,1,4,3,7,6]=>0000000
[3,6,8,2,1,5,7,4]=>0000000
[5,7,4,8,1,3,6,2]=>0000000
[5,7,1,4,8,2,6,3]=>0000000
[2,7,4,1,8,3,6,5]=>0000000
[3,5,1,8,4,2,7,6]=>0000000
[4,1,5,7,3,6,2,8]=>0000001
[4,2,5,8,3,1,7,6]=>0000000
[6,1,2,7,8,3,5,4]=>0000000
[5,3,1,8,6,4,2,7]=>0000000
[3,1,8,4,7,5,2,6]=>0000000
[4,2,8,7,3,5,1,6]=>0000000
[4,8,1,7,6,2,3,5]=>0000000
[6,8,1,4,7,5,2,3]=>0000000
[7,3,8,1,6,4,2,5]=>0000000
[4,7,8,1,5,3,2,6]=>0000000
[7,1,8,6,2,5,3,4]=>0000000
[5,8,7,1,3,6,4,2]=>0000000
[3,8,7,2,1,6,4,5]=>0000000
[2,8,7,1,6,3,5,4]=>0000000
[3,7,6,1,5,4,2,8]=>0000001
[4,8,7,6,1,3,5,2]=>0000000
[5,8,7,2,6,1,4,3]=>0000000
[6,8,1,7,5,2,4,3]=>0000000
[7,3,8,6,5,1,2,4]=>0000000
[5,7,8,4,3,1,2,6]=>0000000
[5,8,6,4,3,2,1,7]=>0000000
[8,7,3,6,4,2,1,5]=>0000000
[6,1,4,2,5,3,7,8]=>0000011
[1,3,7,5,4,2,8,6]=>1000000
[6,1,3,5,4,2,7,8]=>0000011
[6,1,2,5,4,7,3,8]=>0000001
[5,1,6,3,4,7,8,2]=>0000000
[5,2,6,3,4,7,1,8]=>0000001
[3,4,7,5,8,6,1,2]=>0000000
[2,4,7,1,5,3,8,6]=>0000000
[2,3,6,7,4,8,1,5]=>0000000
[1,3,6,7,4,8,5,2]=>1000000
[2,7,6,5,3,1,8,4]=>0000000
[5,2,6,1,4,7,8,3]=>0000000
[4,7,6,5,2,1,8,3]=>0000000
[5,3,6,2,4,1,7,8]=>0000011
[5,7,4,2,1,3,6,8]=>0000001
[6,3,1,5,4,7,8,2]=>0000000
[5,3,6,1,4,2,7,8]=>0000011
[1,7,4,2,6,3,8,5]=>1000000
[5,7,4,1,2,3,6,8]=>0000001
[6,4,1,2,5,3,7,8]=>0000011
[4,7,6,3,8,5,1,2]=>0000000
[3,7,6,5,2,8,1,4]=>0000000
[3,7,6,5,1,2,8,4]=>0000000
[4,7,2,6,1,3,8,5]=>0000000
[2,7,1,6,8,3,5,4]=>0000000
[2,7,6,5,8,1,4,3]=>0000000
[5,2,8,7,6,4,3,1]=>0000000
[8,2,7,6,1,5,4,3]=>0000000
[8,4,1,7,6,5,3,2]=>0000000
[4,5,6,2,3,8,1,7]=>0000000
[3,2,7,4,5,8,1,6]=>0000000
[6,3,4,7,8,2,5,1]=>0000000
[5,3,7,4,8,6,1,2]=>0000000
[5,4,3,1,7,8,2,6]=>0000000
[5,7,6,2,8,4,1,3]=>0000000
[6,8,5,1,7,2,4,3]=>0000000
[8,1,7,4,2,3,6,5]=>0000000
[2,8,3,1,6,7,5,4]=>0000000
[3,8,4,1,2,7,6,5]=>0000000
[6,4,1,3,2,7,8,5]=>0000000
[6,5,7,3,8,2,1,4]=>0000000
[8,1,4,7,2,5,6,3]=>0000000
[4,2,6,8,3,1,5,7]=>0000000
[3,7,6,2,4,5,1,8]=>0000001
[2,3,6,5,8,1,4,7]=>0000000
[2,3,5,8,6,1,4,7]=>0000000
[4,2,3,8,6,1,5,7]=>0000000
[6,4,1,2,8,3,5,7]=>0000000
[1,2,3,7,4,6,8,5]=>1110000
[3,2,7,1,4,5,8,6]=>0000000
[2,1,5,3,8,7,4,6]=>0100000
[5,8,3,2,4,1,6,7]=>0000000
[4,2,7,1,8,3,5,6]=>0000000
[4,1,8,2,7,3,5,6]=>0000000
[1,2,7,5,3,8,4,6]=>1100000
[3,2,7,1,4,8,5,6]=>0000000
[1,2,3,7,6,8,4,5]=>1110000
[1,2,3,6,8,7,4,5]=>1110000
[1,2,3,7,8,4,6,5]=>1110000
[1,2,3,6,8,4,7,5]=>1110000
[1,2,3,7,8,6,4,5]=>1110000
[6,2,8,3,7,5,1,4]=>0000000
[4,2,8,3,7,5,6,1]=>0000000
[7,3,4,8,6,5,1,2]=>0000000
[5,3,4,8,7,2,6,1]=>0000000
[4,3,5,8,7,2,6,1]=>0000000
[4,6,3,8,5,7,2,1]=>0000000
[7,5,3,8,6,2,4,1]=>0000000
[2,6,8,3,7,4,5,1]=>0000000
[1,8,4,3,7,5,6,2]=>1000000
[2,5,8,3,7,4,6,1]=>0000000
[7,4,3,8,6,2,5,1]=>0000000
[3,5,4,8,7,2,6,1]=>0000000
[4,5,3,8,6,7,2,1]=>0000000
[3,6,7,8,4,5,2,1]=>0000000
[2,6,8,5,4,7,3,1]=>0000000
[1,8,5,6,4,7,3,2]=>1000000
[2,5,8,6,4,7,3,1]=>0000000
[7,4,6,5,8,3,2,1]=>0000000
[6,3,7,8,4,5,2,1]=>0000000
[4,3,7,8,5,6,2,1]=>0000000
[5,2,8,6,4,7,3,1]=>0000000
[4,2,8,6,5,7,3,1]=>0000000
[3,2,8,6,7,4,5,1]=>0000000
[2,3,8,7,5,4,6,1]=>0000000
[1,8,2,7,4,5,6,3]=>1000000
[7,2,8,6,3,4,5,1]=>0000000
[6,2,8,4,5,7,3,1]=>0000000
[5,2,8,4,6,7,3,1]=>0000000
[4,2,8,5,6,7,3,1]=>0000000
[4,3,6,8,5,7,2,1]=>0000000
[3,4,6,8,7,2,5,1]=>0000000
[7,3,5,8,6,2,4,1]=>0000000
[1,8,3,5,7,4,6,2]=>1000000
[2,7,8,4,5,6,3,1]=>0000000
[3,7,5,8,4,6,2,1]=>0000000
[5,7,4,6,8,3,2,1]=>0000000
[3,6,5,8,4,7,2,1]=>0000000
[2,6,8,4,5,7,3,1]=>0000000
[4,2,7,1,3,8,5,6]=>0000000
[4,2,5,1,3,8,6,7]=>0000100
[5,3,6,1,7,2,4,8]=>0000001
[3,7,1,2,5,8,6,4]=>0000000
[3,7,4,1,2,8,5,6]=>0000000
[7,5,1,3,4,8,6,2]=>0000000
[7,5,1,2,4,8,6,3]=>0000000
[6,4,2,3,7,1,5,8]=>0000001
[7,6,3,8,1,2,5,4]=>0000000
[7,4,2,3,8,1,6,5]=>0000000
[4,7,5,2,8,1,3,6]=>0000000
[8,2,6,3,7,1,4,5]=>0000000
[8,6,1,2,7,4,5,3]=>0000000
[8,4,7,1,2,3,6,5]=>0000000
[8,5,7,1,2,4,6,3]=>0000000
[8,5,7,1,3,4,6,2]=>0000000
[8,6,2,7,1,3,5,4]=>0000000
[3,8,5,6,1,2,4,7]=>0000000
[3,7,5,8,1,2,4,6]=>0000000
[7,6,4,8,1,3,5,2]=>0000000
[6,5,8,1,2,4,7,3]=>0000000
[3,6,8,1,2,5,7,4]=>0000000
[3,7,2,4,8,1,6,5]=>0000000
[4,6,3,8,1,2,5,7]=>0000000
[4,6,3,7,1,2,5,8]=>0000001
[4,1,7,8,2,3,6,5]=>0000000
[5,1,2,8,6,3,4,7]=>0000000
[5,3,8,1,6,2,4,7]=>0000000
[6,1,8,5,2,3,4,7]=>0000000
[6,1,7,5,2,3,4,8]=>0000001
[6,8,1,3,7,4,5,2]=>0000000
[7,2,8,1,6,3,4,5]=>0000000
[4,7,8,2,5,1,3,6]=>0000000
[6,8,2,7,1,4,5,3]=>0000000
[4,8,7,1,3,5,6,2]=>0000000
[3,8,7,1,2,4,6,5]=>0000000
[4,8,7,1,2,3,6,5]=>0000000
[5,8,7,1,2,4,6,3]=>0000000
[5,8,7,1,3,4,6,2]=>0000000
[7,1,8,6,2,3,5,4]=>0000000
[5,8,6,4,1,2,3,7]=>0000000
[7,8,4,1,2,5,3,6]=>0000000
[7,8,1,2,6,5,3,4]=>0000000
[1,4,8,2,7,5,3,6]=>1000000
[6,1,3,4,7,2,5,8]=>0000001
[7,8,2,1,6,3,5,4]=>0000000
[6,1,2,7,5,4,3,8]=>0000001
[1,2,8,7,5,4,3,6]=>1100000
[5,1,7,3,6,4,8,2]=>0000000
[6,2,1,5,7,4,3,8]=>0000001
[6,2,3,7,4,1,5,8]=>0000001
[3,4,8,7,5,6,1,2]=>0000000
[2,3,8,7,4,1,5,6]=>0000000
[2,7,3,8,6,4,1,5]=>0000000
[1,8,3,7,6,4,5,2]=>1000000
[5,2,7,1,4,6,8,3]=>0000000
[4,6,7,5,2,1,8,3]=>0000000
[6,3,1,4,5,7,8,2]=>0000000
[5,3,1,4,6,2,7,8]=>0000011
[5,1,2,4,7,6,8,3]=>0000000
[5,7,4,1,2,6,3,8]=>0000001
[4,8,1,2,6,7,3,5]=>0000000
[4,1,7,8,2,6,3,5]=>0000000
[1,2,8,7,6,5,3,4]=>1100000
[3,1,2,4,6,8,7,5]=>0011000
[3,1,8,4,5,7,6,2]=>0000000
[3,2,8,5,4,7,1,6]=>0000000
[4,2,8,1,5,3,7,6]=>0000000
[4,3,8,5,7,6,1,2]=>0000000
[4,8,2,1,6,3,7,5]=>0000000
[3,8,6,5,2,7,1,4]=>0000000
[3,8,5,6,1,7,4,2]=>0000000
[3,5,7,8,1,2,6,4]=>0000000
[3,7,8,5,2,1,6,4]=>0000000
[3,7,2,8,4,1,6,5]=>0000000
[2,8,1,7,4,6,5,3]=>0000000
[2,8,7,5,1,6,4,3]=>0000000
[2,8,6,7,5,1,4,3]=>0000000
[5,1,3,4,6,7,2,8]=>0000001
[1,3,4,8,7,5,2,6]=>1000000
[8,2,4,1,7,3,5,6]=>0000000
[8,6,1,4,2,3,7,5]=>0000000
[3,6,1,4,2,8,7,5]=>0000000
[1,6,8,4,3,7,2,5]=>1000000
[3,1,4,7,8,5,2,6]=>0000000
[6,1,7,4,3,8,2,5]=>0000000
[1,8,7,4,3,6,2,5]=>1000000
[7,4,1,3,8,2,6,5]=>0000000
[4,8,2,3,1,5,7,6]=>0000000
[4,8,6,2,1,3,7,5]=>0000000
[2,7,4,1,8,3,5,6]=>0000000
[1,7,8,4,2,3,6,5]=>1000000
[4,7,1,3,8,2,6,5]=>0000000
[8,7,1,3,4,2,6,5]=>0000000
[1,7,4,3,6,2,8,5]=>1000000
[3,8,6,4,5,2,1,7]=>0000000
[3,8,4,6,5,2,1,7]=>0000000
[2,4,3,7,5,8,1,6]=>0000000
[1,4,7,3,6,2,8,5]=>1000000
[1,8,3,4,2,6,7,5]=>1000000
[6,4,1,3,7,2,8,5]=>0000000
[8,1,4,3,6,2,7,5]=>0000000
[4,2,3,8,5,7,1,6]=>0000000
[2,8,5,7,3,4,1,6]=>0000000
[5,8,2,6,4,3,1,7]=>0000000
[7,2,5,8,4,3,1,6]=>0000000
[4,2,3,5,8,7,1,6]=>0000000
[8,2,3,5,4,7,1,6]=>0000000
[6,1,8,3,4,2,7,5]=>0000000
[1,8,6,4,2,3,7,5]=>1000000
[3,8,4,5,6,2,1,7]=>0000000
[2,4,3,5,7,8,1,6]=>0000000
[3,8,6,5,4,2,1,7]=>0000000
[6,3,1,4,2,8,7,5]=>0000000
[7,3,8,1,2,6,4,5]=>0000000
[7,1,4,5,3,2,6,8]=>0000001
[1,8,4,2,6,5,3,7]=>1000000
[5,1,4,8,6,3,2,7]=>0000000
[5,3,1,8,4,7,2,6]=>0000000
[4,3,8,1,5,7,2,6]=>0000000
[6,3,1,2,5,7,4,8]=>0000001
[7,1,4,2,6,5,3,8]=>0000001
[3,8,4,1,6,5,2,7]=>0000000
[7,3,6,4,5,8,2,1]=>0000000
[8,7,2,4,5,1,6,3]=>0000000
[7,1,5,4,8,6,3,2]=>0000000
[5,7,1,4,8,6,3,2]=>0000000
[6,5,3,7,4,8,2,1]=>0000000
[7,5,8,4,1,6,3,2]=>0000000
[2,7,8,4,5,1,6,3]=>0000000
[5,7,3,8,4,1,6,2]=>0000000
[5,6,3,8,1,4,7,2]=>0000000
[3,7,8,4,1,6,5,2]=>0000000
[8,7,3,1,5,4,2,6]=>0000000
[6,8,2,7,4,3,1,5]=>0000000
[6,8,2,3,7,5,1,4]=>0000000
[5,2,7,3,8,6,1,4]=>0000000
[4,8,3,2,1,7,6,5]=>0000000
[6,8,3,7,2,1,5,4]=>0000000
[2,7,6,3,8,1,4,5]=>0000000
[2,1,5,4,8,7,3,6]=>0100000
[3,2,8,7,5,4,1,6]=>0000000
[5,4,2,6,3,1,8,7]=>0000010
[7,6,2,3,4,8,5,1]=>0000000
[2,1,8,7,4,3,5,6]=>0100000
[3,8,7,4,2,1,5,6]=>0000000
[8,5,2,6,1,7,3,4]=>0000000
[5,4,2,6,8,3,7,1]=>0000000
[8,1,2,4,3,5,6,7]=>0000000
[5,8,7,4,6,3,2,1]=>0000000
[4,8,7,6,3,5,2,1]=>0000000
[3,8,7,6,5,2,4,1]=>0000000
[5,8,4,7,6,3,2,1]=>0000000
[6,8,5,4,7,3,2,1]=>0000000
[3,8,7,6,2,5,4,1]=>0000000
[4,8,7,6,3,2,5,1]=>0000000
[3,8,7,6,5,2,1,4]=>0000000
[7,5,8,4,6,3,1,2]=>0000000
[7,6,8,2,5,1,4,3]=>0000000
[3,5,2,4,7,6,1,8]=>0000001
[3,5,4,7,2,6,1,8]=>0000001
[3,5,4,7,6,1,2,8]=>0000001
[3,5,4,7,6,1,8,2]=>0000000
[3,5,7,4,6,1,8,2]=>0000000
[3,5,7,4,6,1,2,8]=>0000001
[3,5,7,4,6,2,1,8]=>0000001
[3,2,5,7,4,6,1,8]=>0000001
[3,5,2,7,6,4,1,8]=>0000001
[3,5,7,2,6,4,1,8]=>0000001
[5,3,7,6,2,4,1,8]=>0000001
[5,3,7,6,1,2,8,4]=>0000000
[5,3,7,6,1,4,2,8]=>0000001
[5,3,7,6,4,1,2,8]=>0000001
[3,5,7,2,6,1,4,8]=>0000001
[3,5,2,7,6,1,4,8]=>0000001
[5,3,7,6,4,1,8,2]=>0000000
[3,7,5,4,1,8,2,6]=>0000000
[3,7,5,4,1,8,6,2]=>0000000
[3,7,5,1,4,8,6,2]=>0000000
[3,7,5,1,4,8,2,6]=>0000000
[3,5,7,1,2,6,8,4]=>0000000
[3,5,7,2,1,6,8,4]=>0000000
[3,5,2,7,1,6,4,8]=>0000001
[3,5,7,2,1,6,4,8]=>0000001
[5,3,7,1,6,2,4,8]=>0000001
[3,5,7,1,4,6,8,2]=>0000000
[3,5,7,1,4,6,2,8]=>0000001
[3,5,7,1,4,2,6,8]=>0000001
[3,5,7,2,1,4,6,8]=>0000001
[3,5,2,7,1,4,6,8]=>0000001
[3,2,5,7,4,1,6,8]=>0000001
[3,5,2,7,4,1,6,8]=>0000001
[3,5,7,4,2,1,6,8]=>0000001
[3,5,7,4,1,2,6,8]=>0000001
[3,5,4,7,1,6,8,2]=>0000000
[3,5,4,7,1,2,6,8]=>0000001
[3,5,4,7,2,1,6,8]=>0000001
[3,5,4,2,7,1,6,8]=>0000001
[3,2,5,4,7,1,6,8]=>0000001
[3,5,4,7,2,1,8,6]=>0000000
[3,5,4,7,1,2,8,6]=>0000000
[5,7,6,3,1,8,4,2]=>0000000
[5,7,6,3,1,8,2,4]=>0000000
[3,5,7,4,1,2,8,6]=>0000000
[3,5,7,4,2,1,8,6]=>0000000
[3,2,5,7,4,1,8,6]=>0000000
[3,2,5,7,1,4,8,6]=>0000000
[3,5,2,7,1,4,8,6]=>0000000
[3,5,7,2,1,4,8,6]=>0000000
[3,5,7,1,4,2,8,6]=>0000000
[3,7,5,2,1,8,6,4]=>0000000
[3,7,2,5,1,8,6,4]=>0000000
[3,2,7,5,1,8,6,4]=>0000000
[3,2,7,5,1,8,4,6]=>0000000
[3,7,2,5,1,8,4,6]=>0000000
[3,7,5,2,1,8,4,6]=>0000000
[2,1,7,5,8,4,6,3]=>0100000
[3,8,6,4,1,7,5,2]=>0000000
[3,8,4,1,7,6,5,2]=>0000000
[3,2,8,7,6,1,5,4]=>0000000
[4,2,5,8,1,7,3,6]=>0000000
[5,8,2,4,1,6,3,7]=>0000000
[8,4,2,6,5,1,3,7]=>0000000
[3,2,6,8,1,5,4,7]=>0000000
[3,2,6,8,7,1,5,4]=>0000000
[8,7,3,2,5,6,1,4]=>0000000
[7,2,4,1,8,3,6,5]=>0000000
[3,2,8,5,7,1,4,6]=>0000000
[2,6,5,7,1,8,3,4]=>0000000
[2,5,1,8,7,4,3,6]=>0000000
[8,1,4,6,3,5,2,7]=>0000000
[8,3,5,4,1,6,2,7]=>0000000
[8,6,3,4,1,5,2,7]=>0000000
[5,4,7,6,8,2,3,1]=>0000000
[4,1,8,2,3,7,6,5]=>0000000
[2,1,8,5,3,4,7,6]=>0100000
[5,2,4,6,8,7,3,1]=>0000000
[1,6,8,3,4,5,7,2]=>1000000
[5,7,4,8,6,1,3,2]=>0000000
[5,4,2,6,7,8,1,3]=>0000000
[6,4,2,7,3,5,8,1]=>0000000
[7,4,1,8,3,5,6,2]=>0000000
[6,5,4,8,7,3,1,2]=>0000000
[8,7,4,2,1,3,6,5]=>0000000
[8,7,1,3,2,5,6,4]=>0000000
[6,8,2,3,1,7,5,4]=>0000000
[7,4,3,2,6,8,5,1]=>0000000
[2,7,4,3,8,5,6,1]=>0000000
[8,3,7,2,1,5,6,4]=>0000000
[5,7,8,2,4,3,1,6]=>0000000
[8,4,7,3,2,6,1,5]=>0000000
[8,3,1,6,7,4,2,5]=>0000000
[3,2,5,7,4,8,1,6]=>0000000
[8,2,7,3,4,1,5,6]=>0000000
[7,1,6,3,5,8,2,4]=>0000000
[2,8,5,6,7,1,4,3]=>0000000
[1,5,2,7,8,6,4,3]=>1000000
[2,6,8,5,1,4,7,3]=>0000000
[1,4,2,8,6,5,7,3]=>1000000
[3,5,1,6,8,7,2,4]=>0000000
[5,7,6,2,1,3,8,4]=>0000000
[2,5,8,7,4,1,6,3]=>0000000
[4,1,7,5,2,6,8,3]=>0000000
[7,6,2,4,5,1,8,3]=>0000000
[7,3,4,2,5,8,6,1]=>0000000
[8,7,4,2,5,1,6,3]=>0000000
[8,1,4,5,2,6,7,3]=>0000000
[5,2,4,8,6,7,1,3]=>0000000
[8,5,6,2,1,3,7,4]=>0000000
[4,2,1,5,6,7,8,3]=>0000000
[3,4,6,5,1,7,8,2]=>0000000
[7,3,5,2,4,6,1,8]=>0000001
[5,3,7,2,4,6,1,8]=>0000001
[3,7,5,2,4,6,1,8]=>0000001
[5,7,3,2,4,6,1,8]=>0000001
[1,5,3,2,4,7,6,8]=>1000101
[1,5,3,2,7,4,6,8]=>1000001
[5,7,3,2,1,4,6,8]=>0000001
[5,7,3,2,4,1,6,8]=>0000001
[3,7,2,5,4,1,6,8]=>0000001
[5,1,3,2,4,7,6,8]=>0000101
[5,1,3,2,7,4,6,8]=>0000001
[7,1,3,2,5,4,6,8]=>0000001
[1,7,3,2,5,4,6,8]=>1000001
[7,1,3,5,2,4,6,8]=>0000001
[5,1,3,7,2,4,6,8]=>0000001
[3,2,7,5,1,4,6,8]=>0000001
[3,7,5,1,2,4,6,8]=>0000001
[5,7,3,1,2,4,6,8]=>0000001
[1,5,3,7,2,4,6,8]=>1000001
[5,3,2,7,4,1,6,8]=>0000001
[5,3,2,4,7,1,6,8]=>0000001
[5,3,2,1,4,7,6,8]=>0000101
[5,3,2,1,7,4,6,8]=>0000001
[1,3,2,7,5,4,6,8]=>1010001
[1,3,7,2,5,4,6,8]=>1000001
[7,3,1,2,5,4,6,8]=>0000001
[5,3,1,2,7,4,6,8]=>0000001
[5,3,1,2,4,7,6,8]=>0000101
[3,2,5,1,4,7,6,8]=>0000101
[7,3,1,5,2,4,6,8]=>0000001
[1,3,7,5,2,4,6,8]=>1000001
[7,5,1,3,2,4,6,8]=>0000001
[5,7,1,3,2,4,6,8]=>0000001
[3,7,1,5,2,4,6,8]=>0000001
[3,7,1,2,5,4,6,8]=>0000001
[3,7,2,1,5,4,6,8]=>0000001
[3,2,1,7,5,4,6,8]=>0010001
[3,1,2,7,5,4,6,8]=>0010001
[3,1,7,2,5,4,6,8]=>0000001
[3,1,7,5,2,4,6,8]=>0000001
[7,1,5,3,2,4,6,8]=>0000001
[1,7,5,3,2,4,6,8]=>1000001
[1,8,7,4,2,6,5,3]=>1000000
[2,8,5,1,7,6,4,3]=>0000000
[6,8,5,1,2,7,4,3]=>0000000
[2,8,1,4,7,6,5,3]=>0000000
[1,8,7,4,3,2,6,5]=>1000000
[1,8,5,4,2,7,6,3]=>1000000
[1,7,2,3,6,8,5,4]=>1000000
[3,5,6,4,8,2,7,1]=>0000000
[3,5,1,4,8,2,7,6]=>0000000
[1,7,5,4,8,2,6,3]=>1000000
[3,7,5,1,6,4,8,2]=>0000000
[2,7,5,4,8,1,3,6]=>0000000
[2,7,5,4,8,6,1,3]=>0000000
[1,7,5,4,8,6,3,2]=>1000000
[2,5,1,4,8,7,3,6]=>0000000
[3,6,4,2,8,7,1,5]=>0000000
[3,5,2,4,8,1,6,7]=>0000000
[3,5,6,4,8,1,2,7]=>0000000
[1,5,6,4,8,7,2,3]=>1000000
[3,6,4,1,8,7,2,5]=>0000000
[3,6,4,5,8,7,2,1]=>0000000
[1,6,4,3,8,5,2,7]=>1000000
[7,1,3,4,5,8,2,6]=>0000000
[7,6,1,4,5,3,8,2]=>0000000
[7,6,1,3,5,4,8,2]=>0000000
[7,1,3,2,5,8,4,6]=>0000000
[1,6,4,2,8,5,3,7]=>1000000
[7,6,5,8,2,4,3,1]=>0000000
[7,6,5,8,3,1,4,2]=>0000000
[2,6,4,3,8,1,7,5]=>0000000
[2,6,4,3,8,5,7,1]=>0000000
[7,2,3,1,5,8,6,4]=>0000000
[7,1,5,6,3,8,4,2]=>0000000
[7,3,6,5,1,4,8,2]=>0000000
[7,2,6,5,3,8,1,4]=>0000000
[7,2,3,1,4,8,6,5]=>0000000
[7,2,3,5,4,8,6,1]=>0000000
[2,6,4,5,8,1,7,3]=>0000000
[1,5,6,4,8,3,7,2]=>1000000
[2,5,6,4,8,3,1,7]=>0000000
[3,5,6,1,4,7,8,2]=>0000000
[7,6,1,3,4,5,8,2]=>0000000
[7,1,3,2,4,8,5,6]=>0000000
[7,6,1,5,3,4,8,2]=>0000000
[7,6,1,5,4,3,8,2]=>0000000
[1,6,4,5,8,3,2,7]=>1000000
[7,6,5,8,1,3,2,4]=>0000000
[3,4,6,8,7,2,1,5]=>0000000
[3,5,6,8,2,1,7,4]=>0000000
[4,2,1,5,3,7,8,6]=>0000100
[4,2,5,6,3,1,8,7]=>0000010
[3,5,6,8,1,7,2,4]=>0000000
[4,1,5,6,3,2,8,7]=>0000010
[4,5,3,1,7,2,8,6]=>0000000
[4,1,3,5,2,7,8,6]=>0000100
[2,5,4,7,3,8,6,1]=>0000000
[3,5,7,1,8,4,2,6]=>0000000
[4,1,5,3,2,7,8,6]=>0000100
[4,5,3,7,1,2,8,6]=>0000000
[4,3,6,1,2,7,5,8]=>0000001
[5,1,3,2,4,6,7,8]=>0000111
[3,6,1,7,4,5,2,8]=>0000001
[5,1,3,4,2,6,7,8]=>0000111
[5,3,1,4,2,6,7,8]=>0000111
[4,5,2,3,7,1,8,6]=>0000000
[4,2,6,1,3,7,5,8]=>0000001
[4,6,2,1,3,7,5,8]=>0000001
[3,6,2,1,7,4,8,5]=>0000000
[3,1,4,7,6,5,2,8]=>0000001
[3,6,2,7,1,5,8,4]=>0000000
[4,6,2,7,1,3,5,8]=>0000001
[3,5,7,1,8,2,6,4]=>0000000
[5,1,4,2,3,6,7,8]=>0000111
[3,6,1,7,2,5,8,4]=>0000000
[2,6,5,3,4,7,8,1]=>0000000
[3,6,1,7,5,4,2,8]=>0000001
[5,1,4,3,2,6,7,8]=>0000111
[5,4,1,3,2,6,7,8]=>0000111
[6,2,4,5,1,8,3,7]=>0000000
[7,6,4,5,1,3,8,2]=>0000000
[1,6,7,5,3,4,8,2]=>1000000
[7,6,2,3,8,4,1,5]=>0000000
[1,6,7,5,8,2,3,4]=>1000000
[6,2,5,8,3,4,7,1]=>0000000
[6,2,3,8,7,4,1,5]=>0000000
[2,4,7,3,5,8,6,1]=>0000000
[2,5,3,7,1,8,4,6]=>0000000
[5,2,8,3,1,4,6,7]=>0000000
[4,8,2,3,6,5,7,1]=>0000000
[5,8,1,3,6,4,7,2]=>0000000
[5,8,1,4,3,6,2,7]=>0000000
[5,8,4,1,3,7,6,2]=>0000000
[6,4,5,3,8,1,7,2]=>0000000
[4,6,5,3,7,1,2,8]=>0000001
[4,5,1,3,6,2,8,7]=>0000010
[4,2,6,5,1,7,3,8]=>0000001
[4,3,5,7,2,1,6,8]=>0000001
[3,4,7,6,8,1,2,5]=>0000000
[3,4,6,2,5,8,7,1]=>0000000
[3,5,2,4,6,1,8,7]=>0000010
[4,2,5,1,6,8,3,7]=>0000000
[1,8,2,3,6,5,7,4]=>1000000
[4,2,8,3,5,7,1,6]=>0000000
[4,3,8,6,5,7,1,2]=>0000000
[1,3,7,2,6,5,8,4]=>1000000
[1,3,6,4,2,5,8,7]=>1000010
[1,5,4,7,3,6,8,2]=>1000000
[5,2,3,8,4,1,7,6]=>0000000
[7,5,3,4,8,2,1,6]=>0000000
[7,2,8,3,4,1,5,6]=>0000000
[7,4,3,8,5,2,6,1]=>0000000
[4,6,2,7,3,1,5,8]=>0000001
[7,6,3,8,2,4,5,1]=>0000000
[7,2,8,5,1,3,4,6]=>0000000
[1,5,3,7,6,8,4,2]=>1000000
[1,6,3,7,8,2,4,5]=>1000000
[1,4,3,7,8,5,2,6]=>1000000
[4,2,6,5,7,8,3,1]=>0000000
[4,2,6,7,5,8,1,3]=>0000000
[3,2,4,7,8,5,1,6]=>0000000
[3,2,6,7,8,1,4,5]=>0000000
[3,8,5,6,1,7,2,4]=>0000000
[3,4,8,1,7,6,2,5]=>0000000
[6,7,4,8,5,1,3,2]=>0000000
[3,6,5,8,7,1,4,2]=>0000000
[5,6,8,3,1,7,4,2]=>0000000
[5,3,8,1,7,2,6,4]=>0000000
[6,5,3,8,2,7,4,1]=>0000000
[6,4,8,1,3,7,5,2]=>0000000
[7,6,3,1,4,2,5,8]=>0000001
[1,5,4,3,7,8,2,6]=>1000000
[4,2,8,7,6,3,1,5]=>0000000
[6,3,1,8,7,5,2,4]=>0000000
[7,6,3,1,8,4,2,5]=>0000000
[7,6,4,2,1,8,3,5]=>0000000
[8,3,5,7,6,4,2,1]=>0000000
[1,8,2,7,5,3,6,4]=>1000000
[7,5,2,1,8,3,6,4]=>0000000
[5,2,7,4,1,8,6,3]=>0000000
[8,7,4,1,5,2,6,3]=>0000000
[8,7,5,2,6,3,1,4]=>0000000
[1,3,7,6,5,8,2,4]=>1000000
[8,6,4,7,5,2,1,3]=>0000000
[6,3,1,4,7,5,2,8]=>0000001
[8,6,3,1,4,7,5,2]=>0000000
[1,8,2,6,4,7,5,3]=>1000000
[7,5,2,1,6,4,8,3]=>0000000
[1,4,7,3,5,2,6,8]=>1000001
[5,7,4,2,6,3,1,8]=>0000001
[4,2,6,3,5,7,1,8]=>0000001
[6,1,3,7,4,2,5,8]=>0000001
[3,2,6,8,1,5,7,4]=>0000000
[8,6,2,7,1,5,4,3]=>0000000
[6,3,7,2,8,1,5,4]=>0000000
[7,5,2,8,6,1,4,3]=>0000000
[1,6,8,5,2,4,3,7]=>1000000
[4,5,7,2,8,1,6,3]=>0000000
[4,5,3,1,7,2,6,8]=>0000001
[6,1,3,4,2,8,5,7]=>0000000
[1,7,4,3,6,8,2,5]=>1000000
[8,7,1,3,6,5,4,2]=>0000000
[4,7,5,3,8,2,1,6]=>0000000
[6,3,5,8,7,4,1,2]=>0000000
[4,7,2,8,5,6,3,1]=>0000000
[1,4,8,7,3,5,6,2]=>1000000
[8,1,7,6,3,5,4,2]=>0000000
[3,6,8,5,7,4,1,2]=>0000000
[3,8,7,5,6,4,2,1]=>0000000
[2,8,7,6,4,5,3,1]=>0000000
[1,8,7,6,5,3,4,2]=>1000000
[4,6,7,2,5,3,1,8]=>0000001
[4,2,6,8,7,1,5,3]=>0000000
[2,7,3,8,1,6,5,4]=>0000000
[2,6,8,4,1,7,5,3]=>0000000
[3,6,1,8,2,7,5,4]=>0000000
[6,3,7,1,2,8,5,4]=>0000000
[1,7,8,5,4,3,2,6]=>1000000
[1,2,6,7,8,4,3,5]=>1100000
[4,7,1,3,6,8,2,5]=>0000000
[3,7,6,4,8,1,2,5]=>0000000
[1,3,6,7,4,2,8,5]=>1000000
[3,6,4,8,2,7,5,1]=>0000000
[8,1,6,7,5,3,2,4]=>0000000
[8,7,2,4,6,5,3,1]=>0000000
[1,7,8,2,6,4,5,3]=>1000000
[8,7,2,5,4,6,1,3]=>0000000
[8,7,3,2,1,5,6,4]=>0000000
[8,7,6,1,4,5,3,2]=>0000000
[4,8,1,2,3,7,5,6]=>0000000
[1,8,2,3,6,5,4,7]=>1000000
[3,5,8,4,7,2,6,1]=>0000000
[1,8,5,4,6,2,3,7]=>1000000
[3,8,5,4,6,1,2,7]=>0000000
[3,8,5,1,6,4,2,7]=>0000000
[2,8,5,4,6,1,3,7]=>0000000
[2,8,5,4,6,3,1,7]=>0000000
[1,8,5,4,6,3,2,7]=>1000000
[2,5,8,4,7,3,6,1]=>0000000
[3,6,4,2,7,8,5,1]=>0000000
[3,5,4,1,6,2,7,8]=>0000011
[4,5,8,1,7,6,2,3]=>0000000
[3,5,8,4,7,1,6,2]=>0000000
[1,5,8,4,7,3,6,2]=>1000000
[3,6,4,1,7,8,5,2]=>0000000
[3,6,4,8,7,5,2,1]=>0000000
[1,6,4,3,7,8,5,2]=>1000000
[7,1,3,4,8,6,5,2]=>0000000
[7,6,1,3,8,4,2,5]=>0000000
[1,6,4,2,7,8,3,5]=>1000000
[2,6,4,3,7,1,8,5]=>0000000
[2,6,4,1,7,8,3,5]=>0000000
[7,2,3,4,8,6,5,1]=>0000000
[7,2,3,1,8,6,4,5]=>0000000
[7,2,3,4,1,6,8,5]=>0000000
[1,2,4,3,8,5,7,6]=>1101000
[7,3,8,6,1,4,2,5]=>0000000
[7,2,8,6,3,4,1,5]=>0000000
[7,2,3,1,5,6,8,4]=>0000000
[7,2,3,8,1,6,5,4]=>0000000
[7,2,3,8,5,6,4,1]=>0000000
[2,6,4,8,7,1,5,3]=>0000000
[1,5,8,4,7,6,2,3]=>1000000
[3,5,8,1,6,7,2,4]=>0000000
[7,6,1,3,5,8,2,4]=>0000000
[7,1,3,2,5,6,8,4]=>0000000
[7,1,3,8,2,6,5,4]=>0000000
[7,6,1,8,5,4,2,3]=>0000000
[4,3,7,1,6,5,8,2]=>0000000
[5,2,6,4,8,1,7,3]=>0000000
[5,3,7,4,8,1,6,2]=>0000000
[4,3,7,1,5,2,8,6]=>0000000
[4,3,7,1,6,2,8,5]=>0000000
[5,4,8,1,6,3,7,2]=>0000000
[4,1,7,8,6,3,2,5]=>0000000
[1,2,6,8,3,7,4,5]=>1100000
[7,5,8,4,3,1,6,2]=>0000000
[6,8,2,4,1,3,7,5]=>0000000
[6,1,2,7,5,8,4,3]=>0000000
[4,5,2,6,8,3,7,1]=>0000000
[6,8,4,1,5,3,7,2]=>0000000
[6,8,3,5,1,4,7,2]=>0000000
[8,1,3,4,2,6,5,7]=>0000000
[8,1,3,2,5,6,4,7]=>0000000
[8,1,2,4,5,3,7,6]=>0000000
[7,4,5,1,6,2,8,3]=>0000000
[8,3,6,1,5,7,4,2]=>0000000
[3,2,7,5,8,6,1,4]=>0000000
[2,4,6,7,8,1,5,3]=>0000000
[2,4,6,8,1,7,5,3]=>0000000
[7,4,3,8,6,2,1,5]=>0000000
[4,3,6,2,1,8,5,7]=>0000000
[4,6,2,3,7,5,8,1]=>0000000
[8,4,5,3,2,1,7,6]=>0000000
[5,8,3,4,2,1,7,6]=>0000000
[6,4,8,3,2,7,1,5]=>0000000
[5,8,3,7,2,1,6,4]=>0000000
[6,4,7,3,8,2,1,5]=>0000000
[6,7,4,3,2,1,8,5]=>0000000
[8,4,3,7,2,1,5,6]=>0000000
[1,2,6,5,8,7,3,4]=>1100000
[1,5,2,8,4,6,7,3]=>1000000
[1,5,2,7,4,6,8,3]=>1000000
[5,1,2,7,3,6,8,4]=>0000000
[5,6,3,4,8,7,2,1]=>0000000
[6,5,3,4,8,7,2,1]=>0000000
[4,1,2,8,3,6,7,5]=>0000000
[4,1,2,7,3,6,8,5]=>0000000
[7,5,3,8,4,6,2,1]=>0000000
[8,5,3,7,4,6,2,1]=>0000000
[5,8,1,2,3,4,7,6]=>0000000
[7,1,2,8,3,6,4,5]=>0000000
[1,6,8,2,4,5,7,3]=>1000000
[4,3,8,7,5,6,2,1]=>0000000
[1,8,2,7,4,6,5,3]=>1000000
[5,8,3,7,4,6,2,1]=>0000000
[6,8,7,3,4,5,2,1]=>0000000
[1,8,7,2,4,5,3,6]=>1000000
[8,1,6,2,3,5,4,7]=>0000000
[1,7,6,2,4,5,3,8]=>1000001
[1,8,7,4,6,3,5,2]=>1000000
[1,8,3,5,7,2,6,4]=>1000000
[2,3,4,6,8,5,7,1]=>0000000
[2,4,6,3,7,8,5,1]=>0000000
[2,5,7,1,8,6,3,4]=>0000000
[8,2,4,5,1,3,7,6]=>0000000
[1,6,2,7,8,5,3,4]=>1000000
[3,5,2,6,7,8,4,1]=>0000000
[4,5,1,6,7,3,8,2]=>0000000
[2,8,4,1,7,5,3,6]=>0000000
[8,5,3,1,7,4,2,6]=>0000000
[3,1,6,7,8,4,2,5]=>0000000
[8,6,2,3,5,1,4,7]=>0000000
[8,2,4,5,7,3,1,6]=>0000000
[2,6,3,8,7,5,4,1]=>0000000
[8,2,3,7,5,4,1,6]=>0000000
[8,2,6,3,5,4,1,7]=>0000000
[8,6,1,5,2,4,3,7]=>0000000
[8,6,2,4,1,5,3,7]=>0000000
[8,4,1,6,5,3,2,7]=>0000000
[8,3,6,1,5,4,2,7]=>0000000
[8,3,2,6,5,4,1,7]=>0000000
[8,3,2,5,7,4,1,6]=>0000000
[8,3,1,7,5,4,2,6]=>0000000
[8,2,7,4,1,5,3,6]=>0000000
[6,1,3,8,7,5,4,2]=>0000000
[3,6,1,8,7,5,4,2]=>0000000
[3,8,1,5,7,6,4,2]=>0000000
[3,5,2,8,7,6,4,1]=>0000000
[3,4,8,2,7,6,5,1]=>0000000
[3,4,8,7,1,6,5,2]=>0000000
[8,1,3,5,7,6,4,2]=>0000000
[4,1,8,5,7,6,3,2]=>0000000
[8,2,7,1,4,5,6,3]=>0000000
[8,1,7,3,4,6,2,5]=>0000000
[8,3,1,7,2,6,5,4]=>0000000
[3,8,2,4,7,6,5,1]=>0000000
[2,8,3,7,4,6,5,1]=>0000000
[8,2,3,7,1,6,5,4]=>0000000
[8,2,7,1,3,6,5,4]=>0000000
[8,1,7,2,6,4,3,5]=>0000000
[8,1,7,5,2,4,3,6]=>0000000
[8,2,3,7,4,6,1,5]=>0000000
[2,4,8,5,7,6,3,1]=>0000000
[8,2,4,3,7,6,1,5]=>0000000
[8,2,7,3,5,1,4,6]=>0000000
[8,2,7,4,3,1,5,6]=>0000000
[8,2,7,3,1,5,6,4]=>0000000
[8,2,1,5,7,6,4,3]=>0000000
[6,2,1,8,7,5,4,3]=>0000000
[6,1,8,2,7,5,4,3]=>0000000
[8,1,7,3,5,2,6,4]=>0000000
[8,1,5,2,7,6,4,3]=>0000000
[8,1,7,2,4,6,5,3]=>0000000
[8,2,4,1,7,6,5,3]=>0000000
[4,2,8,3,7,6,5,1]=>0000000
[4,8,2,1,7,6,5,3]=>0000000
[5,1,8,7,2,6,4,3]=>0000000
[5,8,1,3,7,6,2,4]=>0000000
[8,2,5,4,1,7,6,3]=>0000000
[5,1,4,8,7,6,3,2]=>0000000
[8,1,4,3,7,6,5,2]=>0000000
[4,8,1,3,7,6,5,2]=>0000000
[4,3,8,1,7,6,5,2]=>0000000
[5,7,6,3,2,4,1,8]=>0000001
[6,5,7,2,4,3,1,8]=>0000001
[5,7,1,3,2,8,6,4]=>0000000
[5,8,1,3,2,7,4,6]=>0000000
[8,5,1,3,2,4,6,7]=>0000000
[7,5,8,2,1,4,3,6]=>0000000
[8,1,6,4,2,3,5,7]=>0000000
[1,7,8,2,3,5,6,4]=>1000000
[7,4,1,2,6,8,3,5]=>0000000
[6,2,8,1,5,7,3,4]=>0000000
[7,3,5,4,2,1,8,6]=>0000000
[7,3,2,8,5,6,1,4]=>0000000
[4,7,6,5,1,3,8,2]=>0000000
[6,7,4,2,1,8,5,3]=>0000000
[1,7,6,3,2,8,4,5]=>1000000
[5,4,2,1,7,3,6,8]=>0000001
[3,5,8,2,6,1,7,4]=>0000000
[3,7,6,1,5,2,8,4]=>0000000
[1,7,6,2,5,8,4,3]=>1000000
[3,7,6,5,8,1,2,4]=>0000000
[3,7,6,2,8,4,5,1]=>0000000
[4,3,6,8,5,1,2,7]=>0000000
[2,7,1,5,8,4,3,6]=>0000000
[7,1,2,6,3,5,4,8]=>0000001
[6,7,8,4,2,5,3,1]=>0000000
[6,1,2,5,7,8,4,3]=>0000000
[4,7,3,1,2,6,8,5]=>0000000
[3,7,6,1,5,8,2,4]=>0000000
[3,8,5,6,4,2,7,1]=>0000000
[3,2,6,4,7,8,5,1]=>0000000
[4,2,7,5,8,3,1,6]=>0000000
[4,2,7,1,3,8,6,5]=>0000000
[5,2,1,4,7,8,3,6]=>0000000
[5,6,2,7,3,4,8,1]=>0000000
[2,7,6,8,5,3,1,4]=>0000000
[1,5,8,6,4,2,3,7]=>1000000
[1,6,2,3,5,8,7,4]=>1000000
[7,4,6,2,8,3,5,1]=>0000000
[7,5,4,3,8,6,2,1]=>0000000
[4,3,8,2,5,7,1,6]=>0000000
[6,7,2,3,1,5,8,4]=>0000000
[4,5,1,7,6,3,8,2]=>0000000
[8,6,3,1,4,2,5,7]=>0000000
[4,5,1,6,2,8,7,3]=>0000000
[4,8,3,6,1,7,2,5]=>0000000
[6,2,7,8,3,4,5,1]=>0000000
[1,2,4,6,8,5,7,3]=>1100000
[7,3,8,4,6,5,1,2]=>0000000
[7,4,3,6,5,8,1,2]=>0000000
[4,5,8,7,2,6,1,3]=>0000000
[3,8,6,7,5,1,4,2]=>0000000
[4,6,7,8,5,2,3,1]=>0000000
[6,3,8,7,5,1,4,2]=>0000000
[3,2,4,5,1,8,6,7]=>0000100
[4,2,5,1,7,8,3,6]=>0000000
[2,5,4,1,3,8,6,7]=>0000100
[1,4,5,3,8,2,6,7]=>1000000
[5,1,8,2,4,3,6,7]=>0000000
[3,6,2,4,8,7,1,5]=>0000000
[7,3,4,6,8,1,2,5]=>0000000
[1,5,6,8,3,7,2,4]=>1000000
[6,1,5,8,3,4,7,2]=>0000000
[5,6,8,1,3,4,7,2]=>0000000
[3,1,7,8,5,4,6,2]=>0000000
[1,6,2,7,4,8,5,3]=>1000000
[2,7,1,8,4,3,5,6]=>0000000
[6,7,1,8,3,2,4,5]=>0000000
[6,7,2,8,1,3,4,5]=>0000000
[5,1,6,8,7,2,3,4]=>0000000
[1,5,7,6,8,2,3,4]=>1000000
[7,4,6,8,5,3,1,2]=>0000000
[4,7,5,8,6,3,1,2]=>0000000
[2,6,8,1,5,4,7,3]=>0000000
[1,5,4,7,6,2,8,3]=>1000000
[2,3,7,6,5,1,8,4]=>0000000
[6,1,5,8,3,2,7,4]=>0000000
[3,1,2,4,8,5,7,6]=>0011000
[7,1,5,4,8,3,2,6]=>0000000
[6,4,1,7,5,3,2,8]=>0000001
[1,7,2,5,3,8,6,4]=>1000000
[7,3,2,5,8,1,6,4]=>0000000
[5,3,8,4,1,2,6,7]=>0000000
[2,4,8,3,7,1,5,6]=>0000000
[5,2,8,4,1,6,3,7]=>0000000
[7,6,5,2,1,8,4,3]=>0000000
[2,7,5,1,8,3,6,4]=>0000000
[5,7,1,3,2,4,8,6]=>0000000
[4,2,7,6,3,5,8,1]=>0000000
[8,1,7,4,2,3,5,6]=>0000000
[4,7,8,3,2,5,1,6]=>0000000
[8,6,5,1,7,4,3,2]=>0000000
[7,6,4,1,3,5,8,2]=>0000000
[8,2,3,7,1,4,5,6]=>0000000
[5,6,2,7,4,3,1,8]=>0000001
[8,6,2,7,4,1,3,5]=>0000000
[6,8,4,7,3,1,5,2]=>0000000
[4,8,6,5,1,2,7,3]=>0000000
[4,8,6,5,1,2,3,7]=>0000000
[3,4,5,1,7,6,8,2]=>0000000
[5,8,2,6,1,4,7,3]=>0000000
[3,8,7,5,6,1,4,2]=>0000000
[6,8,4,7,2,1,5,3]=>0000000
[7,4,6,5,1,3,8,2]=>0000000
[1,7,3,4,5,2,8,6]=>1000000
[4,8,2,1,3,5,6,7]=>0000000
[1,7,2,5,4,3,8,6]=>1000000
[2,6,7,3,4,8,1,5]=>0000000
[2,1,5,7,4,3,8,6]=>0100000
[4,1,8,7,5,6,2,3]=>0000000
[1,5,8,7,4,3,6,2]=>1000000
[6,4,1,3,8,7,5,2]=>0000000
[2,1,7,4,6,8,3,5]=>0100000
[1,7,2,4,6,8,3,5]=>1000000
[8,6,4,2,7,3,5,1]=>0000000
[7,4,6,1,2,3,8,5]=>0000000
[1,8,6,2,7,3,5,4]=>1000000
[1,7,8,6,2,3,5,4]=>1000000
[2,1,8,3,5,7,6,4]=>0100000
[3,5,8,1,7,6,2,4]=>0000000
[2,8,1,3,6,7,5,4]=>0000000
[7,2,4,8,6,1,5,3]=>0000000
[5,4,7,3,2,6,8,1]=>0000000
[4,8,1,7,5,3,2,6]=>0000000
[5,4,3,7,2,8,6,1]=>0000000
[2,6,5,8,7,3,1,4]=>0000000
[6,3,8,4,1,7,2,5]=>0000000
[7,2,8,1,6,4,3,5]=>0000000
[5,4,2,8,6,3,7,1]=>0000000
[2,4,7,8,5,3,1,6]=>0000000
[6,5,8,7,3,2,4,1]=>0000000
[8,3,1,6,5,7,4,2]=>0000000
[8,5,6,7,3,1,4,2]=>0000000
[8,7,5,3,2,6,4,1]=>0000000
[8,5,3,1,4,6,7,2]=>0000000
[8,5,1,6,4,3,7,2]=>0000000
[6,1,4,3,7,8,2,5]=>0000000
[6,1,2,7,5,8,3,4]=>0000000
[2,7,3,1,4,6,8,5]=>0000000
[3,8,5,6,7,1,2,4]=>0000000
[6,5,1,2,8,4,7,3]=>0000000
[2,5,8,1,4,6,7,3]=>0000000
[2,1,8,7,5,4,6,3]=>0100000
[7,8,3,4,1,6,5,2]=>0000000
[6,4,7,5,2,8,3,1]=>0000000
[4,6,3,8,7,5,1,2]=>0000000
[2,8,4,1,5,7,6,3]=>0000000
[1,8,4,2,5,7,6,3]=>1000000
[2,8,5,4,1,7,6,3]=>0000000
[2,5,8,3,7,1,6,4]=>0000000
[1,8,5,2,4,7,6,3]=>1000000
[1,4,6,2,8,7,5,3]=>1000000
[7,8,2,4,1,6,5,3]=>0000000
[2,4,6,1,8,7,5,3]=>0000000
[2,8,4,5,1,7,6,3]=>0000000
[3,5,8,2,7,6,1,4]=>0000000
[2,1,6,8,7,5,3,4]=>0100000
[1,8,2,4,5,7,6,3]=>1000000
[1,2,8,3,5,7,6,4]=>1100000
[1,3,8,2,5,7,6,4]=>1000000
[2,3,8,1,5,7,6,4]=>0000000
[2,6,1,8,7,5,3,4]=>0000000
[1,6,2,8,7,5,3,4]=>1000000
[1,6,3,8,7,5,2,4]=>1000000
[2,6,3,8,7,5,1,4]=>0000000
[3,2,8,1,5,7,6,4]=>0000000
[3,1,8,2,5,7,6,4]=>0000000
[2,8,1,4,5,7,6,3]=>0000000
[7,8,2,1,4,6,5,3]=>0000000
[2,3,6,8,7,5,1,4]=>0000000
[3,1,6,8,7,2,5,4]=>0000000
[3,8,4,5,1,6,2,7]=>0000000
[6,1,4,5,7,2,3,8]=>0000001
[8,1,4,7,6,3,2,5]=>0000000
[8,3,1,6,4,7,2,5]=>0000000
[5,3,8,6,2,7,1,4]=>0000000
[8,3,6,1,5,7,2,4]=>0000000
[8,4,6,3,1,2,5,7]=>0000000
[6,8,1,4,5,2,3,7]=>0000000
[1,5,8,4,6,2,3,7]=>1000000
[2,1,6,5,3,8,4,7]=>0100000
[5,6,8,1,4,2,3,7]=>0000000
[5,7,4,8,1,2,3,6]=>0000000
[8,2,1,5,3,7,4,6]=>0000000
[4,7,8,1,2,6,3,5]=>0000000
[8,7,1,5,6,2,3,4]=>0000000
[1,6,5,8,7,2,3,4]=>1000000
[3,7,1,6,2,4,8,5]=>0000000
[5,1,2,7,6,8,3,4]=>0000000
[6,1,7,2,5,8,3,4]=>0000000
[1,7,6,5,8,2,3,4]=>1000000
[1,6,8,5,7,2,3,4]=>1000000
[7,5,1,2,6,8,3,4]=>0000000
[6,1,5,2,7,8,3,4]=>0000000
[1,6,3,8,7,2,4,5]=>1000000
[1,7,3,2,4,6,8,5]=>1000000
[8,3,1,4,2,5,7,6]=>0000000
[3,1,2,7,8,4,6,5]=>0010000
[5,1,2,6,8,7,3,4]=>0000000
[1,8,6,2,5,7,3,4]=>1000000
[5,7,8,1,2,6,3,4]=>0000000
[8,1,5,7,6,2,3,4]=>0000000
[7,1,6,8,5,2,3,4]=>0000000
[3,7,1,2,8,4,6,5]=>0000000
[8,3,1,2,7,6,4,5]=>0000000
[1,5,8,7,6,2,3,4]=>1000000
[7,8,6,1,5,2,3,4]=>0000000
[1,7,4,8,2,5,3,6]=>1000000
[6,4,7,3,2,5,1,8]=>0000001
[3,1,2,7,6,8,5,4]=>0010000
[6,3,2,8,4,5,1,7]=>0000000
[3,8,5,2,4,6,1,7]=>0000000
[5,7,8,4,6,3,2,1]=>0000000
[5,3,2,8,6,4,7,1]=>0000000
[3,1,6,4,7,5,2,8]=>0000001
[2,6,4,7,5,3,8,1]=>0000000
[4,7,6,2,3,1,8,5]=>0000000
[2,6,8,7,5,3,1,4]=>0000000
[6,4,1,7,5,2,8,3]=>0000000
[8,6,2,1,5,7,4,3]=>0000000
[1,3,8,5,2,7,4,6]=>1000000
[1,3,8,6,7,2,4,5]=>1000000
[2,8,3,7,6,1,4,5]=>0000000
[1,3,8,7,6,2,4,5]=>1000000
[4,5,6,8,1,2,7,3]=>0000000
[3,5,8,6,1,2,7,4]=>0000000
[4,2,6,8,7,1,3,5]=>0000000
[1,4,6,8,7,2,3,5]=>1000000
[3,5,8,4,1,7,2,6]=>0000000
[7,6,4,8,5,1,3,2]=>0000000
[6,3,7,5,2,4,8,1]=>0000000
[8,2,7,3,1,5,4,6]=>0000000
[2,6,4,8,3,1,7,5]=>0000000
[4,1,6,5,7,8,2,3]=>0000000
[6,1,3,7,4,2,8,5]=>0000000
[1,3,8,2,5,6,7,4]=>1000000
[1,8,6,7,2,5,4,3]=>1000000
[7,6,8,3,5,4,2,1]=>0000000
[1,6,7,3,8,5,4,2]=>1000000
[7,8,6,5,2,4,3,1]=>0000000
[5,4,6,7,8,1,3,2]=>0000000
[5,3,6,7,8,1,4,2]=>0000000
[5,3,7,6,8,4,1,2]=>0000000
[2,5,4,7,8,1,3,6]=>0000000
[5,3,7,4,6,2,8,1]=>0000000
[4,5,6,2,7,3,8,1]=>0000000
[5,4,6,2,8,3,7,1]=>0000000
[8,4,6,1,7,2,5,3]=>0000000
[5,2,1,6,3,8,7,4]=>0000000
[6,3,2,8,5,4,1,7]=>0000000
[4,3,1,5,2,8,6,7]=>0000100
[8,5,4,1,3,2,6,7]=>0000000
[4,3,5,1,2,7,6,8]=>0000101
[4,2,1,8,6,3,7,5]=>0000000
[7,3,2,1,6,4,5,8]=>0000001
[2,8,6,1,7,4,3,5]=>0000000
[2,5,4,6,1,3,7,8]=>0000011
[2,5,6,4,1,3,7,8]=>0000011
[8,5,2,6,1,3,7,4]=>0000000
[7,1,5,6,3,2,4,8]=>0000001
[4,1,2,7,5,6,3,8]=>0000001
[7,1,2,6,5,4,3,8]=>0000001
[8,2,1,5,6,3,7,4]=>0000000
[2,8,5,1,6,4,7,3]=>0000000
[6,1,4,5,3,2,7,8]=>0000011
[3,1,6,5,4,2,7,8]=>0000011
[2,1,8,6,3,7,5,4]=>0100000
[5,8,3,1,7,6,4,2]=>0000000
[5,6,3,8,7,4,1,2]=>0000000
[5,2,6,8,7,4,1,3]=>0000000
[4,3,8,5,7,2,6,1]=>0000000
[6,3,8,4,5,1,2,7]=>0000000
[5,2,3,1,4,8,6,7]=>0000100
[5,4,1,3,2,8,6,7]=>0000100
[5,1,3,4,2,8,6,7]=>0000100
[4,2,7,3,8,5,1,6]=>0000000
[5,4,3,1,2,8,6,7]=>0000100
[5,1,7,3,4,6,8,2]=>0000000
[5,8,7,4,3,1,6,2]=>0000000
[6,8,1,3,4,5,7,2]=>0000000
[3,1,7,8,2,5,4,6]=>0000000
[6,2,3,7,4,1,8,5]=>0000000
[6,3,7,4,1,2,5,8]=>0000001
[7,2,6,8,4,3,1,5]=>0000000
[3,6,7,5,1,2,4,8]=>0000001
[2,1,4,8,3,7,5,6]=>0100000
[1,2,7,8,4,3,6,5]=>1100000
[5,3,7,8,4,2,6,1]=>0000000
[6,3,7,8,2,4,5,1]=>0000000
[8,5,2,4,3,1,7,6]=>0000000
[7,5,4,2,3,1,8,6]=>0000000
[1,4,2,6,5,8,7,3]=>1000000
[1,3,2,6,4,8,7,5]=>1010000
[1,4,2,5,3,8,7,6]=>1000100
[1,5,2,6,4,8,7,3]=>1000000
[1,6,2,5,3,8,7,4]=>1000000
[1,7,3,5,4,8,6,2]=>1000000
[1,8,2,6,3,7,5,4]=>1000000
[1,8,3,6,4,7,5,2]=>1000000
[1,7,2,6,4,8,5,3]=>1000000
[1,7,2,6,3,8,5,4]=>1000000
[1,5,2,7,4,8,6,3]=>1000000
[1,4,2,8,5,7,6,3]=>1000000
[4,8,1,3,2,6,5,7]=>0000000
[1,5,3,8,4,7,6,2]=>1000000
[1,8,4,7,3,6,5,2]=>1000000
[8,3,5,7,4,1,2,6]=>0000000
[6,8,7,3,1,5,4,2]=>0000000
[2,5,8,7,4,6,3,1]=>0000000
[4,8,7,6,5,1,3,2]=>0000000
[6,8,4,1,5,2,7,3]=>0000000
[6,8,2,1,7,5,3,4]=>0000000
[4,8,7,6,5,2,1,3]=>0000000
[4,8,7,5,1,6,2,3]=>0000000
[4,5,2,1,8,6,7,3]=>0000000
[4,5,8,3,1,6,7,2]=>0000000
[5,7,2,8,4,6,1,3]=>0000000
[6,7,3,2,4,8,5,1]=>0000000
[7,2,8,6,4,5,1,3]=>0000000
[8,7,2,6,5,1,3,4]=>0000000
[5,2,7,8,4,1,3,6]=>0000000
[2,7,8,6,4,1,3,5]=>0000000
[7,6,3,5,2,8,4,1]=>0000000
[6,2,7,4,8,5,3,1]=>0000000
[8,6,5,1,7,2,4,3]=>0000000
[6,8,5,1,7,3,2,4]=>0000000
[1,6,8,3,7,4,2,5]=>1000000
[5,1,6,3,4,8,2,7]=>0000000
[3,5,2,6,4,8,1,7]=>0000000
[3,5,2,4,8,1,7,6]=>0000000
[6,3,8,2,4,1,7,5]=>0000000
[4,6,3,8,7,5,2,1]=>0000000
[6,3,8,7,5,4,2,1]=>0000000
[6,8,4,2,1,7,5,3]=>0000000
[5,2,6,4,3,8,1,7]=>0000000
[6,5,3,1,4,8,2,7]=>0000000
[3,1,7,8,6,4,2,5]=>0000000
[3,8,1,7,6,2,5,4]=>0000000
[8,1,7,6,4,2,5,3]=>0000000
[7,2,6,3,8,5,4,1]=>0000000
[7,3,8,6,4,1,5,2]=>0000000
[1,7,5,8,2,4,3,6]=>1000000
[6,1,5,2,4,8,3,7]=>0000000
[1,5,6,3,8,2,4,7]=>1000000
[8,7,1,3,6,5,2,4]=>0000000
[2,6,7,4,3,8,5,1]=>0000000
[5,2,4,7,3,8,6,1]=>0000000
[1,5,8,7,2,4,6,3]=>1000000
[1,4,8,7,3,6,5,2]=>1000000
[8,3,7,2,5,1,6,4]=>0000000
[3,7,2,8,1,5,4,6]=>0000000
[3,2,6,1,5,8,4,7]=>0000000
[7,2,1,5,8,4,3,6]=>0000000
[7,2,8,1,4,3,6,5]=>0000000
[1,7,8,3,2,6,5,4]=>1000000
[1,7,4,8,3,2,6,5]=>1000000
[1,7,5,4,8,3,2,6]=>1000000
[6,1,5,4,3,8,2,7]=>0000000
[1,6,4,2,3,5,7,8]=>1000011
[1,8,7,2,3,4,5,6]=>1000000
[1,5,8,6,2,3,4,7]=>1000000
[1,2,3,7,6,4,5,8]=>1110001
[1,5,4,2,3,8,6,7]=>1000100
[1,7,5,8,2,3,4,6]=>1000000
[1,8,7,5,2,3,4,6]=>1000000
[2,1,5,8,6,3,7,4]=>0100000
[2,5,8,4,6,1,7,3]=>0000000
[5,8,4,6,1,3,7,2]=>0000000
[8,3,5,7,2,6,4,1]=>0000000
[2,4,6,8,5,3,7,1]=>0000000
[2,4,8,1,7,6,5,3]=>0000000
[4,3,8,1,5,7,6,2]=>0000000
[4,3,6,8,5,2,7,1]=>0000000
[8,5,4,7,2,6,3,1]=>0000000
[3,6,8,5,4,2,7,1]=>0000000
[3,6,4,1,8,2,7,5]=>0000000
[4,8,6,5,1,3,7,2]=>0000000
[2,3,7,4,6,1,8,5]=>0000000
[2,6,7,4,1,3,8,5]=>0000000
[2,4,6,3,5,7,8,1]=>0000000
[2,3,6,1,5,7,8,4]=>0000000
[4,7,3,1,8,6,5,2]=>0000000
[5,6,4,2,7,1,8,3]=>0000000
[4,2,7,5,3,1,8,6]=>0000000
[5,3,6,4,8,2,1,7]=>0000000
[7,3,2,5,4,1,8,6]=>0000000
[7,3,2,5,1,8,6,4]=>0000000
[4,6,3,8,7,2,1,5]=>0000000
[4,7,3,8,6,2,1,5]=>0000000
[5,7,3,2,6,1,8,4]=>0000000
[5,7,3,2,6,4,1,8]=>0000001
[2,7,5,3,1,8,6,4]=>0000000
[7,5,2,8,4,3,1,6]=>0000000
[4,3,7,5,8,2,1,6]=>0000000
[4,3,7,5,2,6,1,8]=>0000001
[4,3,5,2,8,6,1,7]=>0000000
[1,2,8,6,4,5,7,3]=>1100000
[3,2,6,4,1,8,5,7]=>0000000
[5,4,8,6,2,3,1,7]=>0000000
[4,8,7,5,2,3,1,6]=>0000000
[6,4,1,8,7,3,2,5]=>0000000
[1,8,5,4,2,7,3,6]=>1000000
[3,7,6,1,5,8,4,2]=>0000000
[3,6,5,8,2,7,4,1]=>0000000
[8,3,2,7,4,6,5,1]=>0000000
[7,5,8,4,1,3,6,2]=>0000000
[7,1,6,2,3,8,4,5]=>0000000
[6,4,7,1,3,2,8,5]=>0000000
[5,1,3,8,7,2,6,4]=>0000000
[8,7,1,6,2,5,3,4]=>0000000
[3,8,5,2,4,7,6,1]=>0000000
[7,1,5,2,4,8,3,6]=>0000000
[3,8,5,1,4,7,2,6]=>0000000
[7,2,5,4,1,3,8,6]=>0000000
[7,4,6,1,3,2,5,8]=>0000001
[1,4,5,8,6,3,2,7]=>1000000
[5,2,6,3,1,7,8,4]=>0000000
[4,3,5,1,6,7,8,2]=>0000000
[5,7,6,1,2,3,8,4]=>0000000
[3,6,7,5,1,2,8,4]=>0000000
[1,7,6,8,5,2,4,3]=>1000000
[6,5,8,3,7,2,1,4]=>0000000
[1,8,4,3,2,6,7,5]=>1000000
[5,4,3,8,2,1,7,6]=>0000000
[6,4,8,3,2,1,7,5]=>0000000
[5,4,3,8,2,1,6,7]=>0000000
[1,8,4,3,2,5,7,6]=>1000000
[7,2,3,4,5,8,1,6]=>0000000
[7,3,6,2,8,1,5,4]=>0000000
[8,1,5,2,3,7,6,4]=>0000000
[4,3,6,2,1,8,7,5]=>0000000
[3,7,4,5,1,6,2,8]=>0000001
[3,6,4,5,8,2,1,7]=>0000000
[6,1,4,5,2,8,7,3]=>0000000
[7,2,4,5,1,6,3,8]=>0000001
[7,5,4,1,6,3,2,8]=>0000001
[1,5,4,8,6,3,2,7]=>1000000
[7,5,4,8,6,3,1,2]=>0000000
[1,8,7,5,3,6,4,2]=>1000000
[8,3,7,4,1,6,2,5]=>0000000
[8,5,4,1,6,3,2,7]=>0000000
[1,7,4,2,6,5,3,8]=>1000001
[8,2,1,5,6,7,3,4]=>0000000
[6,3,1,8,4,7,2,5]=>0000000
[7,1,4,8,6,3,2,5]=>0000000
[4,1,8,5,6,7,2,3]=>0000000
[5,7,4,8,6,2,1,3]=>0000000
[5,3,6,8,2,7,1,4]=>0000000
[6,3,7,4,8,2,1,5]=>0000000
[5,3,6,1,4,7,2,8]=>0000001
[4,3,6,8,2,7,1,5]=>0000000
[5,3,7,4,8,2,1,6]=>0000000
[5,3,8,4,1,6,2,7]=>0000000
[5,3,8,1,4,7,2,6]=>0000000
[5,8,4,1,6,3,2,7]=>0000000
[7,3,8,4,1,6,2,5]=>0000000
[1,5,8,3,6,7,4,2]=>1000000
[1,8,2,5,6,7,3,4]=>1000000
[7,8,4,1,6,5,2,3]=>0000000
[6,3,8,1,5,7,2,4]=>0000000
[8,3,1,2,5,7,4,6]=>0000000
[8,1,4,2,6,5,3,7]=>0000000
[5,1,3,7,4,8,2,6]=>0000000
[5,1,3,4,7,8,2,6]=>0000000
[2,5,8,7,4,3,6,1]=>0000000
[5,1,7,8,3,4,2,6]=>0000000
[2,5,4,8,3,7,6,1]=>0000000
[5,6,8,2,3,4,1,7]=>0000000
[4,5,2,3,8,6,1,7]=>0000000
[5,8,2,1,6,3,4,7]=>0000000
[2,4,7,8,5,3,6,1]=>0000000
[5,3,1,4,7,2,8,6]=>0000000
[2,4,7,5,8,3,6,1]=>0000000
[4,3,5,8,2,1,7,6]=>0000000
[4,8,5,3,7,1,2,6]=>0000000
[4,8,5,7,3,1,2,6]=>0000000
[4,8,7,5,1,3,2,6]=>0000000
[1,8,5,7,2,4,3,6]=>1000000
[1,8,5,4,2,3,6,7]=>1000000
[1,3,6,8,5,4,2,7]=>1000000
[1,6,3,8,2,7,4,5]=>1000000
[1,4,2,7,5,8,3,6]=>1000000
[1,8,2,3,6,7,5,4]=>1000000
[1,3,6,8,2,7,5,4]=>1000000
[1,6,5,4,3,8,2,7]=>1000000
[1,8,3,4,5,6,2,7]=>1000000
[1,8,3,6,2,4,5,7]=>1000000
[1,4,5,8,3,6,2,7]=>1000000
[6,2,8,7,5,4,1,3]=>0000000
[6,2,8,4,3,7,1,5]=>0000000
[5,2,8,4,3,1,7,6]=>0000000
[1,2,5,4,8,3,7,6]=>1100000
[1,4,3,6,8,7,2,5]=>1000000
[5,3,2,6,8,4,7,1]=>0000000
[3,1,8,6,4,7,2,5]=>0000000
[3,1,6,8,5,4,2,7]=>0000000
[5,3,8,2,7,6,1,4]=>0000000
[6,5,4,8,3,7,2,1]=>0000000
[4,8,5,1,3,7,2,6]=>0000000
[4,3,8,7,2,6,5,1]=>0000000
[2,7,5,1,8,4,6,3]=>0000000
[7,8,5,2,1,6,4,3]=>0000000
[7,6,4,8,1,2,5,3]=>0000000
[7,5,4,8,3,2,6,1]=>0000000
[3,8,5,6,2,7,1,4]=>0000000
[2,4,5,8,7,3,1,6]=>0000000
[4,3,7,5,6,2,8,1]=>0000000
[4,5,1,8,6,7,3,2]=>0000000
[3,4,5,8,6,7,2,1]=>0000000
[2,1,5,8,6,7,4,3]=>0100000
[3,4,5,8,7,1,2,6]=>0000000
[6,5,4,7,1,3,8,2]=>0000000
[6,1,4,7,2,3,8,5]=>0000000
[1,6,2,5,4,8,3,7]=>1000000
[4,1,2,7,5,8,3,6]=>0000000
[6,1,3,5,8,2,4,7]=>0000000
[5,6,4,3,1,8,2,7]=>0000000
[6,2,3,5,8,1,4,7]=>0000000
[6,7,2,3,8,4,5,1]=>0000000
[6,7,2,1,3,8,4,5]=>0000000
[5,7,4,1,8,3,2,6]=>0000000
[4,1,7,5,8,3,6,2]=>0000000
[6,7,1,3,8,4,5,2]=>0000000
[1,6,7,4,3,8,5,2]=>1000000
[6,1,7,4,2,8,5,3]=>0000000
[2,1,6,7,4,3,8,5]=>0100000
[6,7,3,2,1,8,4,5]=>0000000
[2,5,7,3,1,4,8,6]=>0000000
[6,7,3,2,8,4,5,1]=>0000000
[1,2,6,7,4,3,8,5]=>1100000
[2,7,1,8,4,6,3,5]=>0000000
[2,7,5,8,1,6,3,4]=>0000000
[6,7,1,8,4,5,3,2]=>0000000
[8,3,5,7,6,1,4,2]=>0000000
[8,7,3,6,2,1,5,4]=>0000000
[8,6,2,4,7,3,1,5]=>0000000
[8,6,1,5,4,3,2,7]=>0000000
[2,4,5,8,3,1,6,7]=>0000000
[7,8,3,2,5,4,6,1]=>0000000
[1,5,6,7,3,8,2,4]=>1000000
[1,6,5,4,8,3,2,7]=>1000000
[7,2,1,6,4,8,5,3]=>0000000
[1,3,7,6,4,8,5,2]=>1000000
[3,1,8,7,6,4,2,5]=>0000000
[3,1,8,7,5,4,2,6]=>0000000
[3,1,7,6,5,4,2,8]=>0000001
[4,7,1,6,5,3,2,8]=>0000001
[4,8,1,6,5,3,2,7]=>0000000
[8,4,1,7,6,3,2,5]=>0000000
[5,4,1,8,6,3,2,7]=>0000000
[5,4,1,7,6,3,2,8]=>0000001
[6,4,1,8,5,3,2,7]=>0000000
[8,4,1,7,5,3,2,6]=>0000000
[7,4,1,6,5,3,2,8]=>0000001
[7,5,6,1,4,3,2,8]=>0000001
[8,5,6,1,4,3,2,7]=>0000000
[8,5,7,1,4,3,2,6]=>0000000
[5,7,6,1,4,3,2,8]=>0000001
[5,8,6,1,4,3,2,7]=>0000000
[6,7,5,1,4,3,2,8]=>0000001
[8,7,5,1,4,3,2,6]=>0000000
[8,6,5,1,4,3,2,7]=>0000000
[1,8,6,3,4,2,5,7]=>1000000
[3,1,6,4,5,8,7,2]=>0000000
[3,1,6,4,5,8,2,7]=>0000000
[4,6,8,7,2,5,1,3]=>0000000
[7,6,3,8,4,5,2,1]=>0000000
[8,2,7,6,1,4,3,5]=>0000000
[5,2,7,8,1,4,3,6]=>0000000
[5,6,3,8,4,1,2,7]=>0000000
[5,2,3,4,7,1,6,8]=>0000001
[5,2,3,7,1,6,8,4]=>0000000
[8,7,5,3,1,6,4,2]=>0000000
[1,4,7,8,5,2,3,6]=>1000000
[3,2,6,7,4,1,5,8]=>0000001
[5,8,3,7,6,4,1,2]=>0000000
[4,7,5,8,2,1,3,6]=>0000000
[8,1,2,7,5,4,3,6]=>0000000
[6,5,1,8,3,7,2,4]=>0000000
[7,6,3,1,2,8,5,4]=>0000000
[6,3,5,7,1,4,2,8]=>0000001
[1,7,5,2,6,4,8,3]=>1000000
[7,1,3,6,8,2,4,5]=>0000000
[1,2,5,7,8,4,6,3]=>1100000
[3,1,2,7,5,4,8,6]=>0010000
[6,7,4,1,3,2,8,5]=>0000000
[1,7,2,8,4,3,5,6]=>1000000
[1,6,3,5,7,8,2,4]=>1000000
[8,6,1,7,5,2,4,3]=>0000000
[7,6,4,1,8,3,2,5]=>0000000
[8,4,1,6,5,2,7,3]=>0000000
[1,5,3,4,7,8,2,6]=>1000000
[4,2,1,5,7,8,3,6]=>0000000
[5,4,1,6,7,8,2,3]=>0000000
[5,1,4,6,7,8,2,3]=>0000000
[4,1,5,3,7,8,2,6]=>0000000
[8,1,4,6,5,2,7,3]=>0000000
[7,1,5,4,6,3,2,8]=>0000001
[8,2,1,6,7,5,4,3]=>0000000
[1,2,4,7,6,3,8,5]=>1100000
[6,7,4,1,8,5,2,3]=>0000000
[8,6,4,1,5,7,3,2]=>0000000
[5,2,4,3,7,1,6,8]=>0000001
[6,1,5,4,8,3,2,7]=>0000000
[1,2,8,7,4,3,6,5]=>1100000
[3,2,1,7,5,8,4,6]=>0010000
[1,3,6,4,7,8,2,5]=>1000000
[4,5,1,3,7,8,2,6]=>0000000
[5,2,3,1,7,8,4,6]=>0000000
[1,6,4,3,7,8,2,5]=>1000000
[7,6,4,3,1,5,2,8]=>0000001
[7,5,4,6,1,3,2,8]=>0000001
[8,4,6,5,1,2,7,3]=>0000000
[1,5,6,3,7,8,2,4]=>1000000
[1,5,2,4,3,8,7,6]=>1000100
[8,6,5,7,2,1,4,3]=>0000000
[1,6,3,8,4,5,7,2]=>1000000
[7,5,4,2,6,3,8,1]=>0000000
[4,3,7,8,6,2,5,1]=>0000000
[2,4,7,8,6,1,5,3]=>0000000
[2,4,8,5,1,7,3,6]=>0000000
[2,8,3,5,1,6,4,7]=>0000000
[8,2,4,6,3,7,5,1]=>0000000
[4,5,3,8,2,1,7,6]=>0000000
[8,2,1,4,5,6,7,3]=>0000000
[7,8,2,1,5,4,6,3]=>0000000
[1,4,8,5,2,6,3,7]=>1000000
[1,2,8,4,3,6,7,5]=>1100000
[1,2,7,5,3,4,6,8]=>1100001
[1,7,3,2,6,8,4,5]=>1000000
[7,2,1,3,6,8,4,5]=>0000000
[4,7,8,1,6,5,3,2]=>0000000
[1,8,4,2,7,6,3,5]=>1000000
[7,3,8,1,6,5,4,2]=>0000000
[7,1,3,8,6,5,4,2]=>0000000
[8,1,3,7,6,5,4,2]=>0000000
[2,4,1,8,7,3,6,5]=>0000000
[7,3,8,6,1,5,4,2]=>0000000
[3,5,1,7,8,2,6,4]=>0000000
[5,4,7,8,2,1,6,3]=>0000000
[6,4,7,1,5,3,2,8]=>0000001
[3,4,6,2,1,8,5,7]=>0000000
[4,5,7,2,1,6,3,8]=>0000001
[5,6,4,8,3,2,1,7]=>0000000
[5,7,4,8,2,1,6,3]=>0000000
[4,7,5,8,2,1,6,3]=>0000000
[5,7,4,2,6,3,8,1]=>0000000
[8,5,6,1,7,3,2,4]=>0000000
[4,5,1,6,7,8,3,2]=>0000000
[8,4,6,7,2,5,1,3]=>0000000
[7,1,4,6,8,3,5,2]=>0000000
[6,7,1,2,4,8,5,3]=>0000000
[1,6,3,4,7,8,5,2]=>1000000
[7,8,1,3,4,5,6,2]=>0000000
[1,8,2,6,7,3,4,5]=>1000000
[4,7,3,2,8,1,5,6]=>0000000
[7,1,2,6,3,8,5,4]=>0000000
[8,1,2,6,3,7,5,4]=>0000000
[8,1,2,7,6,3,5,4]=>0000000
[4,8,7,3,1,6,2,5]=>0000000
[4,7,8,3,1,6,2,5]=>0000000
[7,4,3,1,6,2,8,5]=>0000000
[3,7,6,2,4,8,1,5]=>0000000
[4,3,7,2,8,6,1,5]=>0000000
[6,1,2,7,4,3,8,5]=>0000000
[5,1,2,7,3,8,6,4]=>0000000
[6,1,2,7,3,5,8,4]=>0000000
[7,5,3,2,1,8,6,4]=>0000000
[4,2,1,5,3,6,7,8]=>0000111
[6,2,5,4,1,8,7,3]=>0000000
[4,6,3,2,1,8,7,5]=>0000000
[6,5,3,2,1,8,7,4]=>0000000
[8,4,3,2,7,6,1,5]=>0000000
[1,5,8,4,7,6,3,2]=>1000000
[3,2,7,4,8,6,1,5]=>0000000
[7,4,3,2,8,6,1,5]=>0000000
[6,8,3,7,5,2,1,4]=>0000000
[5,7,8,4,3,2,1,6]=>0000000
[6,4,3,8,5,2,1,7]=>0000000
[8,2,5,4,7,6,1,3]=>0000000
[7,2,5,4,8,6,1,3]=>0000000
[4,5,3,2,8,6,1,7]=>0000000
[3,2,5,4,8,6,1,7]=>0000000
[3,2,8,6,5,4,1,7]=>0000000
[8,4,3,6,5,2,1,7]=>0000000
[8,4,3,7,5,2,1,6]=>0000000
[3,2,7,8,5,4,1,6]=>0000000
[6,8,7,4,3,2,1,5]=>0000000
[3,6,1,4,8,7,2,5]=>0000000
[5,8,1,3,7,2,6,4]=>0000000
[4,7,5,1,8,2,6,3]=>0000000
[6,3,2,1,8,7,4,5]=>0000000
[6,2,3,1,8,7,4,5]=>0000000
[3,4,8,1,7,5,6,2]=>0000000
[7,2,1,5,8,4,6,3]=>0000000
[4,2,8,1,7,5,6,3]=>0000000
[3,7,4,1,5,8,6,2]=>0000000
[5,8,6,1,2,7,4,3]=>0000000
[6,7,1,4,3,8,5,2]=>0000000
[6,8,1,2,4,7,5,3]=>0000000
[8,6,4,1,3,7,5,2]=>0000000
[8,5,3,6,1,7,4,2]=>0000000
[7,2,1,4,5,8,6,3]=>0000000
[8,5,6,1,2,7,4,3]=>0000000
[2,8,4,1,3,6,7,5]=>0000000
[8,1,2,4,5,6,7,3]=>0000000
[1,8,3,6,7,2,4,5]=>1000000
[1,2,8,3,7,4,6,5]=>1100000
[8,2,6,5,4,3,1,7]=>0000000
[8,2,7,6,4,5,3,1]=>0000000
[8,7,3,5,4,2,6,1]=>0000000
[3,7,8,4,5,1,6,2]=>0000000
[3,6,1,5,7,8,2,4]=>0000000
[3,7,8,5,4,1,6,2]=>0000000
[4,6,5,2,7,8,1,3]=>0000000
[1,6,5,2,3,4,8,7]=>1000010
[4,6,5,1,7,3,8,2]=>0000000
[5,7,3,1,2,4,8,6]=>0000000
[6,3,2,5,1,7,4,8]=>0000001
[6,3,1,7,2,5,8,4]=>0000000
[1,3,5,8,6,4,7,2]=>1000000
[1,3,5,8,6,7,2,4]=>1000000
[6,1,7,4,8,5,3,2]=>0000000
[7,4,3,1,6,5,8,2]=>0000000
[8,6,1,7,5,3,2,4]=>0000000
[7,8,1,4,6,5,3,2]=>0000000
[7,8,6,1,4,5,3,2]=>0000000
[6,2,7,3,8,5,4,1]=>0000000
[1,2,7,5,3,4,8,6]=>1100000
[6,2,7,8,3,1,4,5]=>0000000
[1,2,8,7,3,4,6,5]=>1100000
[8,2,7,4,5,1,6,3]=>0000000
[3,8,1,5,7,2,6,4]=>0000000
[7,5,4,8,6,1,2,3]=>0000000
[7,1,8,6,4,5,2,3]=>0000000
[6,8,4,3,1,7,2,5]=>0000000
[4,8,1,3,7,5,6,2]=>0000000
[2,1,6,8,5,3,4,7]=>0100000
[4,5,1,3,8,6,7,2]=>0000000
[1,2,6,8,5,3,4,7]=>1100000
[6,8,5,7,3,1,2,4]=>0000000
[5,1,4,2,6,8,7,3]=>0000000
[6,3,2,4,7,1,8,5]=>0000000
[5,1,8,6,2,4,3,7]=>0000000
[5,7,6,3,8,1,2,4]=>0000000
[1,2,5,3,6,8,7,4]=>1100000
[6,8,7,2,1,5,3,4]=>0000000
[7,8,1,6,5,3,4,2]=>0000000
[8,7,3,2,1,4,6,5]=>0000000
[5,8,2,6,4,3,7,1]=>0000000
[1,7,2,3,5,8,6,4]=>1000000
[6,4,8,7,2,1,5,3]=>0000000
[1,6,7,8,2,4,3,5]=>1000000
[1,8,5,6,4,3,2,7]=>1000000
[7,6,8,3,2,5,1,4]=>0000000
[2,7,1,4,5,3,8,6]=>0000000
[1,5,2,7,4,3,6,8]=>1000001
[5,1,3,8,4,6,2,7]=>0000000
[6,5,8,7,1,3,2,4]=>0000000
[2,7,3,5,1,6,8,4]=>0000000
[5,7,6,8,2,1,4,3]=>0000000
[1,3,6,5,2,7,4,8]=>1000001
[1,2,6,5,3,4,7,8]=>1100011
[1,7,2,5,6,8,3,4]=>1000000
[1,7,2,4,8,3,5,6]=>1000000
[1,6,2,4,5,3,7,8]=>1000011
[1,3,2,8,4,5,7,6]=>1010000
[1,6,8,2,4,3,5,7]=>1000000
[1,6,7,2,5,3,4,8]=>1000001
[1,2,8,3,6,7,4,5]=>1100000
[1,7,2,5,3,4,8,6]=>1000000
[7,1,5,6,2,3,8,4]=>0000000
[8,2,1,4,6,7,3,5]=>0000000
[7,2,6,1,3,4,8,5]=>0000000
[4,1,3,7,2,5,8,6]=>0000000
[6,2,7,5,1,3,8,4]=>0000000
[1,7,5,6,2,3,8,4]=>1000000
[3,7,6,1,2,4,8,5]=>0000000
[8,6,1,3,5,7,2,4]=>0000000
[1,7,4,3,8,2,5,6]=>1000000
[6,1,5,3,4,8,2,7]=>0000000
[3,6,7,5,2,8,1,4]=>0000000
[7,8,4,1,5,6,2,3]=>0000000
[5,8,1,3,6,7,2,4]=>0000000
[2,8,4,3,7,1,5,6]=>0000000
[3,8,4,6,7,1,2,5]=>0000000
[6,3,8,4,7,1,2,5]=>0000000
[1,2,5,4,8,3,6,7]=>1100000
[7,1,3,8,2,4,5,6]=>0000000
[8,1,3,7,2,4,5,6]=>0000000
[3,5,4,7,8,1,2,6]=>0000000
[8,3,1,4,7,2,5,6]=>0000000
[1,6,4,7,8,2,3,5]=>1000000
[5,2,3,6,7,8,1,4]=>0000000
[6,2,7,3,8,5,1,4]=>0000000
[1,3,7,8,5,6,2,4]=>1000000
[8,2,6,7,5,1,3,4]=>0000000
[8,1,7,4,6,2,3,5]=>0000000
[2,5,8,4,7,1,3,6]=>0000000
[4,5,8,7,1,2,3,6]=>0000000
[4,1,8,5,7,2,3,6]=>0000000
[1,8,7,4,6,2,3,5]=>1000000
[2,6,5,4,1,8,3,7]=>0000000
[8,5,4,1,3,6,7,2]=>0000000
[8,4,7,6,5,3,1,2]=>0000000
[1,8,4,2,3,7,6,5]=>1000000
[2,3,1,8,7,6,4,5]=>0010000
[8,2,7,5,6,4,1,3]=>0000000
[6,8,5,4,1,7,2,3]=>0000000
[8,4,7,2,1,6,5,3]=>0000000
[1,8,4,7,6,5,2,3]=>1000000
[3,8,1,2,5,6,4,7]=>0000000
[3,7,1,2,5,6,4,8]=>0000001
[8,5,2,1,4,6,7,3]=>0000000
[4,2,6,3,8,5,7,1]=>0000000
[8,3,5,4,2,7,1,6]=>0000000
[3,1,8,6,5,2,7,4]=>0000000
[3,8,2,4,1,5,7,6]=>0000000
[5,8,3,2,4,1,7,6]=>0000000
[7,2,6,8,4,3,5,1]=>0000000
[6,5,3,2,4,8,1,7]=>0000000
[5,2,4,6,1,3,8,7]=>0000010
[3,7,5,2,8,6,1,4]=>0000000
[2,1,7,5,8,3,6,4]=>0100000
[6,1,5,8,3,7,4,2]=>0000000
[2,6,3,5,8,7,4,1]=>0000000
[8,6,5,3,7,2,1,4]=>0000000
[7,4,8,6,5,3,2,1]=>0000000
[5,1,6,3,8,2,4,7]=>0000000
[3,6,5,1,4,8,7,2]=>0000000
[7,3,6,2,8,4,1,5]=>0000000
[7,5,4,8,1,6,2,3]=>0000000
[4,3,5,8,7,1,2,6]=>0000000
[4,3,5,8,2,1,6,7]=>0000000
[7,8,6,3,1,4,2,5]=>0000000
[6,1,8,4,7,2,3,5]=>0000000
[5,6,4,3,7,1,8,2]=>0000000
[6,5,3,7,2,4,8,1]=>0000000
[5,6,2,8,4,3,7,1]=>0000000
[5,7,4,3,6,8,2,1]=>0000000
[4,6,2,7,8,3,5,1]=>0000000
[4,6,3,5,2,8,7,1]=>0000000
[5,6,3,4,8,2,7,1]=>0000000
[5,2,6,4,1,7,8,3]=>0000000
[5,8,4,6,3,2,7,1]=>0000000
[5,4,3,8,6,2,7,1]=>0000000
[5,7,8,2,4,3,6,1]=>0000000
[5,6,2,4,8,3,7,1]=>0000000
[6,4,7,8,2,3,5,1]=>0000000
[3,7,5,2,4,8,1,6]=>0000000
[4,7,5,2,3,8,6,1]=>0000000
[6,4,7,3,2,5,8,1]=>0000000
[5,7,3,2,8,4,6,1]=>0000000
[5,3,7,2,8,4,6,1]=>0000000
[4,3,7,2,5,8,6,1]=>0000000
[4,7,3,2,5,8,6,1]=>0000000
[4,7,3,2,6,8,5,1]=>0000000
[7,5,3,2,6,4,8,1]=>0000000
[8,5,2,6,7,3,4,1]=>0000000
[8,4,2,6,3,7,5,1]=>0000000
[7,4,6,2,3,8,5,1]=>0000000
[7,5,6,2,8,3,4,1]=>0000000
[5,7,6,2,8,3,4,1]=>0000000
[4,7,6,2,3,8,5,1]=>0000000
[7,6,3,2,5,8,1,4]=>0000000
[7,6,4,2,5,8,3,1]=>0000000
[2,4,6,3,8,7,5,1]=>0000000
[2,4,3,6,8,7,1,5]=>0000000
[2,4,6,3,8,7,1,5]=>0000000
[2,4,6,5,8,7,1,3]=>0000000
[2,4,6,8,5,7,3,1]=>0000000
[2,4,6,8,5,7,1,3]=>0000000
[2,4,6,8,3,7,1,5]=>0000000
[2,4,6,8,1,7,3,5]=>0000000
[2,4,6,5,8,3,7,1]=>0000000
[2,4,6,5,8,1,7,3]=>0000000
[2,4,6,8,5,1,7,3]=>0000000
[2,4,6,8,7,3,5,1]=>0000000
[2,4,6,8,7,1,5,3]=>0000000
[2,4,6,8,7,1,3,5]=>0000000
[2,4,6,8,5,1,3,7]=>0000000
[2,4,6,5,3,8,1,7]=>0000000
[2,4,6,5,8,3,1,7]=>0000000
[2,4,6,8,5,3,1,7]=>0000000
[2,4,6,8,7,3,1,5]=>0000000
[2,4,6,8,7,5,1,3]=>0000000
[4,8,7,5,2,1,3,6]=>0000000
[6,1,4,7,5,8,2,3]=>0000000
[1,8,6,5,3,2,7,4]=>1000000
[1,6,3,5,8,2,4,7]=>1000000
[4,6,1,7,8,5,3,2]=>0000000
[6,1,2,7,8,4,5,3]=>0000000
[6,1,3,2,7,8,5,4]=>0000000
[5,6,3,1,7,4,8,2]=>0000000
[4,8,3,7,1,6,5,2]=>0000000
[8,7,2,6,5,1,4,3]=>0000000
[5,8,3,2,1,7,6,4]=>0000000
[5,4,3,8,1,7,6,2]=>0000000
[6,5,3,8,7,1,4,2]=>0000000
[4,3,8,2,7,6,5,1]=>0000000
[4,8,2,7,6,5,3,1]=>0000000
[7,8,2,6,5,4,1,3]=>0000000
[3,8,7,6,2,5,1,4]=>0000000
[4,8,3,7,2,1,6,5]=>0000000
[8,6,3,1,7,5,4,2]=>0000000
[8,6,3,7,1,5,4,2]=>0000000
[4,8,3,7,6,2,5,1]=>0000000
[5,8,2,7,6,4,1,3]=>0000000
[8,4,2,1,7,6,5,3]=>0000000
[1,6,4,2,5,3,7,8]=>1000011
[1,8,6,2,7,3,4,5]=>1000000
[1,6,3,2,4,5,7,8]=>1000011
[1,5,2,6,4,3,7,8]=>1000011
[1,5,2,4,6,3,7,8]=>1000011
[1,8,6,2,3,7,4,5]=>1000000
[1,5,2,8,6,3,4,7]=>1000000
[1,3,6,8,2,7,4,5]=>1000000
[1,4,3,8,2,5,6,7]=>1000000
[1,7,2,3,8,5,4,6]=>1000000
[1,3,8,4,2,5,6,7]=>1000000
[1,6,2,8,5,4,3,7]=>1000000
[1,7,2,3,8,6,4,5]=>1000000
[1,5,3,8,2,7,4,6]=>1000000
[1,4,8,2,5,6,3,7]=>1000000
[1,5,7,3,2,8,4,6]=>1000000
[1,2,7,3,6,8,4,5]=>1100000
[1,7,2,3,6,8,4,5]=>1000000
[1,4,8,3,2,5,6,7]=>1000000
[1,7,2,5,8,3,4,6]=>1000000
[1,3,6,7,4,5,8,2]=>1000000
[1,5,6,3,4,2,7,8]=>1000011
[1,5,3,6,4,2,7,8]=>1000011
[1,5,3,7,4,6,2,8]=>1000001
[2,5,7,4,1,3,8,6]=>0000000
[4,6,3,5,8,2,1,7]=>0000000
[7,2,4,8,6,3,1,5]=>0000000
[7,4,5,2,1,8,6,3]=>0000000
[8,5,3,6,2,1,7,4]=>0000000
[4,5,7,3,1,2,8,6]=>0000000
[4,5,1,8,3,2,7,6]=>0000000
[2,5,3,8,4,1,7,6]=>0000000
[6,3,1,2,4,8,7,5]=>0000000
[4,7,5,2,3,6,1,8]=>0000001
[7,2,6,5,3,4,1,8]=>0000001
[8,2,6,5,4,1,3,7]=>0000000
[6,2,8,4,5,1,3,7]=>0000000
[4,5,3,8,2,1,6,7]=>0000000
[3,7,2,1,8,4,6,5]=>0000000
[1,2,6,4,7,5,3,8]=>1100001
[2,6,8,4,7,5,1,3]=>0000000
[1,6,5,7,3,8,4,2]=>1000000
[7,8,6,1,4,3,2,5]=>0000000
[2,4,7,8,6,1,3,5]=>0000000
[4,6,2,5,3,1,7,8]=>0000011
[4,1,5,6,3,2,7,8]=>0000011
[6,8,5,3,7,2,1,4]=>0000000
[4,7,1,5,8,2,6,3]=>0000000
[7,3,4,8,5,2,1,6]=>0000000
[4,5,2,3,8,6,7,1]=>0000000
[6,7,4,8,5,3,2,1]=>0000000
[4,1,2,8,5,7,6,3]=>0000000
[3,1,4,6,7,5,8,2]=>0000000
[2,6,4,5,8,1,3,7]=>0000000
[6,4,1,3,5,8,2,7]=>0000000
[3,4,1,7,2,6,8,5]=>0000000
[2,4,7,5,8,1,3,6]=>0000000
[3,1,6,4,8,7,5,2]=>0000000
[4,2,6,1,3,7,8,5]=>0000000
[8,5,4,2,7,6,3,1]=>0000000
[2,8,4,6,7,1,3,5]=>0000000
[5,8,2,1,4,6,7,3]=>0000000
[2,6,7,1,3,5,8,4]=>0000000
[3,6,7,1,8,2,5,4]=>0000000
[3,1,5,7,2,8,6,4]=>0000000
[3,8,1,4,7,2,6,5]=>0000000
[4,8,1,3,2,7,6,5]=>0000000
[4,1,8,3,2,7,6,5]=>0000000
[4,3,8,1,2,7,6,5]=>0000000
[3,8,4,2,7,1,6,5]=>0000000
[2,8,4,3,7,6,1,5]=>0000000
[3,8,2,4,7,1,6,5]=>0000000
[3,2,4,8,7,1,6,5]=>0000000
[3,2,5,7,1,8,6,4]=>0000000
[4,2,8,3,1,7,6,5]=>0000000
[4,8,2,1,3,7,6,5]=>0000000
[4,2,8,1,3,7,6,5]=>0000000
[2,3,4,6,8,7,1,5]=>0000000
[4,5,1,7,6,8,2,3]=>0000000
[6,7,2,8,3,1,4,5]=>0000000
[6,2,7,8,4,1,3,5]=>0000000
[6,3,7,8,4,1,2,5]=>0000000
[7,6,2,3,1,8,4,5]=>0000000
[3,4,1,7,8,5,2,6]=>0000000
[4,5,1,3,2,7,8,6]=>0000100
[2,3,7,8,5,4,1,6]=>0000000
[8,3,5,6,1,7,2,4]=>0000000
[4,5,8,1,2,6,7,3]=>0000000
[5,3,6,7,8,2,1,4]=>0000000
[1,3,4,8,6,2,7,5]=>1000000
[4,6,8,2,3,7,5,1]=>0000000
[4,5,7,2,3,6,1,8]=>0000001
[2,7,3,4,1,5,6,8]=>0000001
[4,2,6,3,5,7,8,1]=>0000000
[1,4,8,5,6,2,7,3]=>1000000
[2,8,7,4,5,1,6,3]=>0000000
[1,3,8,5,2,6,7,4]=>1000000
[7,2,8,4,5,1,6,3]=>0000000
[8,6,2,4,1,5,7,3]=>0000000
[1,6,4,3,2,7,8,5]=>1000000
[8,5,3,2,1,6,7,4]=>0000000
[7,1,5,2,3,6,8,4]=>0000000
[8,1,2,5,3,6,7,4]=>0000000
[8,4,1,6,3,7,2,5]=>0000000
[5,2,6,8,3,7,1,4]=>0000000
[4,2,5,8,6,7,1,3]=>0000000
[3,7,2,4,1,8,6,5]=>0000000
[2,4,7,8,5,1,3,6]=>0000000
[3,1,7,4,5,6,2,8]=>0000001
[2,4,8,3,5,7,1,6]=>0000000
[8,1,7,2,4,3,5,6]=>0000000
[1,3,8,2,4,7,5,6]=>1000000
[1,3,7,2,4,6,5,8]=>1000001
[1,7,3,2,4,6,5,8]=>1000001
[1,8,3,7,4,2,5,6]=>1000000
[8,7,3,1,4,2,5,6]=>0000000
[2,8,4,3,5,7,1,6]=>0000000
[3,2,8,7,4,1,5,6]=>0000000
[3,2,1,7,4,6,5,8]=>0010001
[3,2,6,5,1,7,8,4]=>0000000
[5,3,2,6,7,1,8,4]=>0000000
[3,2,8,6,7,4,1,5]=>0000000
[8,4,6,2,7,3,1,5]=>0000000
[4,3,8,6,7,2,1,5]=>0000000
[4,3,6,2,8,7,1,5]=>0000000
[3,8,4,7,6,5,1,2]=>0000000
[7,8,4,2,6,3,5,1]=>0000000
[3,2,7,8,6,4,5,1]=>0000000
[3,2,7,5,6,8,4,1]=>0000000
[5,7,8,6,3,2,4,1]=>0000000
[6,5,4,2,1,7,8,3]=>0000000
[5,4,2,1,7,6,3,8]=>0000001
[4,1,6,5,2,7,8,3]=>0000000
[5,4,1,6,7,2,8,3]=>0000000
[6,8,5,3,1,7,2,4]=>0000000
[5,2,6,3,8,7,1,4]=>0000000
[8,6,1,7,3,4,2,5]=>0000000
[1,8,3,6,7,4,2,5]=>1000000
[1,6,3,5,2,7,8,4]=>1000000
[1,5,7,3,2,6,4,8]=>1000001
[5,1,3,7,2,6,4,8]=>0000001
[8,1,6,7,2,4,3,5]=>0000000
[6,1,4,8,2,7,3,5]=>0000000
[6,2,4,8,3,7,1,5]=>0000000
[8,7,2,6,3,5,1,4]=>0000000
[8,1,7,6,5,2,3,4]=>0000000
[7,1,5,6,8,2,4,3]=>0000000
[6,7,1,5,2,4,8,3]=>0000000
[7,6,1,5,2,4,3,8]=>0000001
[7,1,6,3,5,4,2,8]=>0000001
[1,6,7,3,5,4,8,2]=>1000000
[1,7,3,5,6,8,4,2]=>1000000
[1,7,8,3,6,4,5,2]=>1000000
[1,8,7,6,4,5,2,3]=>1000000
[8,2,7,4,6,5,1,3]=>0000000
[2,8,5,7,6,4,1,3]=>0000000
[7,4,5,1,6,8,3,2]=>0000000
[4,1,7,5,6,8,3,2]=>0000000
[5,6,7,4,3,1,8,2]=>0000000
[6,7,8,5,3,1,4,2]=>0000000
[1,4,6,2,5,3,7,8]=>1000011
[1,6,3,2,5,4,7,8]=>1000011
[1,6,8,2,5,4,7,3]=>1000000
[1,5,4,2,6,3,7,8]=>1000011
[1,2,6,4,3,5,7,8]=>1100011
[1,6,8,2,7,5,4,3]=>1000000
[1,7,4,3,2,6,8,5]=>1000000
[1,5,4,7,2,6,8,3]=>1000000
[1,3,7,6,2,8,5,4]=>1000000
[1,7,6,2,8,4,3,5]=>1000000
[1,5,2,8,4,3,7,6]=>1000000
[1,2,8,4,3,6,5,7]=>1100000
[1,2,8,5,6,3,4,7]=>1100000
[1,7,3,5,2,8,6,4]=>1000000
[1,6,7,2,5,8,4,3]=>1000000
[1,5,8,3,2,7,4,6]=>1000000
[1,4,5,8,2,6,3,7]=>1000000
[1,7,6,4,8,2,5,3]=>1000000
[1,4,8,6,5,2,7,3]=>1000000
[1,3,8,2,6,5,4,7]=>1000000
[1,7,6,3,8,2,4,5]=>1000000
[1,5,2,7,6,4,8,3]=>1000000
[1,2,4,3,8,7,5,6]=>1101000
[1,4,3,8,7,2,5,6]=>1000000
[1,3,8,6,2,4,5,7]=>1000000
[1,3,8,5,4,2,6,7]=>1000000
[1,7,2,4,8,6,5,3]=>1000000
[1,6,5,3,2,8,7,4]=>1000000
[1,3,2,8,7,5,4,6]=>1010000
[1,2,8,6,5,4,3,7]=>1100000
[8,5,3,2,1,6,4,7]=>0000000
[7,6,8,4,1,3,2,5]=>0000000
[8,7,6,1,5,2,3,4]=>0000000
[8,7,5,1,3,6,2,4]=>0000000
[7,4,8,2,6,3,1,5]=>0000000
[8,7,3,1,6,4,5,2]=>0000000
[8,7,3,1,4,6,5,2]=>0000000
[8,7,3,1,6,2,5,4]=>0000000
[7,8,2,4,6,5,1,3]=>0000000
[8,7,3,2,6,1,5,4]=>0000000
[8,4,6,7,5,3,2,1]=>0000000
[1,4,8,6,7,5,3,2]=>1000000
[7,1,3,6,8,5,4,2]=>0000000
[1,8,3,6,7,5,4,2]=>1000000
[8,1,7,6,4,5,3,2]=>0000000
[1,6,2,7,4,5,3,8]=>1000001
[1,8,2,6,4,3,5,7]=>1000000
[1,7,2,6,4,3,5,8]=>1000001
[1,7,2,5,4,6,3,8]=>1000001
[6,7,2,5,8,1,4,3]=>0000000
[6,5,7,3,8,1,4,2]=>0000000
[6,3,7,4,8,2,5,1]=>0000000
[6,3,7,4,8,1,5,2]=>0000000
[6,2,7,4,8,1,5,3]=>0000000
[7,2,1,5,3,8,6,4]=>0000000
[5,8,2,7,6,1,3,4]=>0000000
[8,2,3,6,7,1,4,5]=>0000000
[4,2,3,1,5,8,6,7]=>0001100
[2,4,8,7,5,3,1,6]=>0000000
[4,6,8,7,5,3,1,2]=>0000000
[4,8,7,3,1,2,6,5]=>0000000
[8,7,3,2,6,5,1,4]=>0000000
[2,8,7,1,6,5,3,4]=>0000000
[2,8,7,1,4,3,6,5]=>0000000
[2,4,3,1,8,7,5,6]=>0001000
[4,3,1,2,6,8,7,5]=>0001000
[2,6,8,7,5,1,4,3]=>0000000
[2,4,8,7,3,6,5,1]=>0000000
[8,7,2,4,3,6,5,1]=>0000000
[7,1,2,6,4,5,3,8]=>0000001
[4,7,3,6,5,1,2,8]=>0000001
[7,5,4,2,8,3,1,6]=>0000000
[8,3,6,1,5,2,4,7]=>0000000
[3,1,6,8,5,7,2,4]=>0000000
[7,2,8,6,4,3,1,5]=>0000000
[6,3,8,7,4,2,1,5]=>0000000
[7,6,3,2,8,4,1,5]=>0000000
[5,8,3,7,4,2,1,6]=>0000000
[4,1,7,3,5,8,6,2]=>0000000
[8,4,7,3,5,2,1,6]=>0000000
[5,4,8,1,3,2,6,7]=>0000000
[4,5,8,2,1,3,6,7]=>0000000
[1,8,3,5,7,2,4,6]=>1000000
[1,2,4,7,8,5,3,6]=>1100000
[5,1,7,3,6,8,2,4]=>0000000
[5,8,6,1,7,3,2,4]=>0000000
[2,1,3,8,6,5,4,7]=>0110000
[1,3,2,8,6,5,4,7]=>1010000
[2,5,7,1,8,4,3,6]=>0000000
[3,5,7,1,6,8,2,4]=>0000000
[5,4,7,6,8,3,1,2]=>0000000
[1,5,8,4,3,7,6,2]=>1000000
[8,1,7,2,5,6,4,3]=>0000000
[8,1,3,5,2,7,6,4]=>0000000
[2,7,1,5,4,8,6,3]=>0000000
[8,6,2,4,3,7,5,1]=>0000000
[2,4,1,6,7,5,8,3]=>0000000
[8,1,4,5,6,3,7,2]=>0000000
[8,1,4,5,6,2,7,3]=>0000000
[8,1,4,7,6,2,5,3]=>0000000
[2,5,1,7,8,6,4,3]=>0000000
[3,5,6,2,8,7,4,1]=>0000000
[2,4,5,1,7,6,3,8]=>0000001
[7,3,1,5,6,4,2,8]=>0000001
[8,3,2,5,6,7,1,4]=>0000000
[8,4,5,3,7,6,2,1]=>0000000
[3,4,5,6,2,8,1,7]=>0000000
[3,7,4,2,8,5,1,6]=>0000000
[7,3,4,1,6,8,2,5]=>0000000
[2,6,3,1,4,7,5,8]=>0000001
[7,2,1,6,3,4,8,5]=>0000000
[7,3,4,1,6,5,8,2]=>0000000
[3,7,4,2,5,8,6,1]=>0000000
[2,3,5,1,4,8,7,6]=>0000100
[2,7,1,3,6,8,5,4]=>0000000
[2,7,1,3,8,4,6,5]=>0000000
[3,8,7,1,6,2,5,4]=>0000000
[3,8,7,1,4,5,2,6]=>0000000
[3,7,4,2,1,8,6,5]=>0000000
[4,8,5,7,2,6,3,1]=>0000000
[8,4,5,7,3,2,6,1]=>0000000
[8,3,7,2,4,1,5,6]=>0000000
[8,6,7,2,1,4,3,5]=>0000000
[8,3,7,5,1,2,6,4]=>0000000
[7,3,4,6,2,1,5,8]=>0000001
[3,7,4,6,1,5,2,8]=>0000001
[3,4,7,6,1,2,8,5]=>0000000
[4,5,8,7,6,1,3,2]=>0000000
[8,7,3,5,6,1,4,2]=>0000000
[8,5,2,7,6,1,3,4]=>0000000
[6,4,7,2,1,5,8,3]=>0000000
[8,5,3,1,6,4,7,2]=>0000000
[8,6,4,1,7,5,2,3]=>0000000
[8,5,3,7,1,6,4,2]=>0000000
[7,6,3,8,1,4,2,5]=>0000000
[7,4,8,2,6,1,5,3]=>0000000
[6,4,7,3,1,5,2,8]=>0000001
[8,5,3,1,6,4,2,7]=>0000000
[8,7,4,1,2,5,3,6]=>0000000
[6,5,3,7,4,2,1,8]=>0000001
[1,6,3,8,4,2,5,7]=>1000000
[4,7,2,5,3,6,1,8]=>0000001
[1,8,3,4,5,2,6,7]=>1000000
[1,8,6,4,2,5,3,7]=>1000000
[8,2,6,4,1,5,7,3]=>0000000
[7,8,3,4,6,1,5,2]=>0000000
[4,8,7,5,3,1,6,2]=>0000000
[6,1,4,8,3,2,5,7]=>0000000
[4,1,8,5,3,2,6,7]=>0000000
[8,1,6,4,2,7,3,5]=>0000000
[3,1,7,4,2,5,8,6]=>0000000
[1,2,7,4,3,5,6,8]=>1100001
[6,1,8,5,2,4,3,7]=>0000000
[6,8,2,5,1,4,7,3]=>0000000
[4,5,2,1,6,8,7,3]=>0000000
[7,2,8,6,5,1,4,3]=>0000000
[7,4,8,6,1,5,3,2]=>0000000
[8,7,2,6,1,4,5,3]=>0000000
[1,7,8,6,2,4,3,5]=>1000000
[7,6,3,1,2,5,4,8]=>0000001
[8,5,3,1,2,4,7,6]=>0000000
[8,2,1,6,5,3,4,7]=>0000000
[3,8,1,5,6,2,4,7]=>0000000
[6,8,4,1,5,2,3,7]=>0000000
[3,2,8,1,6,4,5,7]=>0000000
[5,2,1,3,7,6,4,8]=>0000001
[5,4,1,2,8,3,7,6]=>0000000
[5,8,4,1,2,3,7,6]=>0000000
[7,1,2,5,3,4,6,8]=>0000001
[1,6,7,3,2,8,4,5]=>1000000
[1,4,6,2,8,5,3,7]=>1000000
[1,5,6,2,8,4,3,7]=>1000000
[3,4,8,6,5,7,2,1]=>0000000
[1,2,5,7,4,6,8,3]=>1100000
[1,2,4,7,6,8,3,5]=>1100000
[3,5,8,6,1,7,2,4]=>0000000
[3,2,1,6,8,4,7,5]=>0010000
[1,6,8,5,4,2,7,3]=>1000000
[6,5,8,4,2,1,7,3]=>0000000
[1,7,8,6,5,4,2,3]=>1000000
[6,8,7,4,5,1,3,2]=>0000000
[5,7,1,2,3,8,6,4]=>0000000
[7,4,6,2,8,1,5,3]=>0000000
[7,6,4,8,2,1,5,3]=>0000000
[6,1,8,4,2,3,5,7]=>0000000
[7,3,6,2,1,8,5,4]=>0000000
[5,6,2,1,8,4,7,3]=>0000000
[2,8,1,6,5,7,3,4]=>0000000
[5,1,6,4,3,8,7,2]=>0000000
[5,4,6,8,1,3,7,2]=>0000000
[3,5,2,1,4,6,7,8]=>0000111
[1,3,8,7,5,4,6,2]=>1000000
[6,7,3,4,8,5,1,2]=>0000000
[7,3,1,6,2,8,5,4]=>0000000
[4,8,2,5,3,1,6,7]=>0000000
[5,1,3,4,8,2,6,7]=>0000000
[6,3,4,7,1,8,5,2]=>0000000
[7,8,5,1,3,4,6,2]=>0000000
[1,8,3,5,6,2,7,4]=>1000000
[4,2,5,1,6,8,7,3]=>0000000
[5,4,2,7,8,6,1,3]=>0000000
[6,8,7,2,1,3,4,5]=>0000000
[3,7,6,8,5,2,4,1]=>0000000
[1,7,8,5,2,6,3,4]=>1000000
[7,6,1,2,5,3,8,4]=>0000000
[7,6,2,4,8,1,5,3]=>0000000
[1,5,7,3,8,6,2,4]=>1000000
[4,3,2,8,7,1,6,5]=>0000000
[4,8,3,1,7,6,5,2]=>0000000
[5,3,8,7,1,6,4,2]=>0000000
[5,8,7,3,1,6,4,2]=>0000000
[5,3,8,2,1,7,6,4]=>0000000
[3,8,7,2,6,5,1,4]=>0000000
[7,4,1,8,6,5,3,2]=>0000000
[5,4,2,8,1,7,6,3]=>0000000
[5,8,4,2,1,7,6,3]=>0000000
[5,8,4,7,1,6,3,2]=>0000000
[5,4,8,3,1,7,6,2]=>0000000
[8,5,6,1,4,7,2,3]=>0000000
[6,7,4,1,2,5,8,3]=>0000000
[1,6,7,4,2,5,8,3]=>1000000
[3,6,7,5,8,1,2,4]=>0000000
[3,8,6,5,7,4,1,2]=>0000000
[6,5,8,7,4,2,3,1]=>0000000
[6,8,5,7,4,2,1,3]=>0000000
[4,7,5,3,6,1,2,8]=>0000001
[4,7,5,3,1,6,2,8]=>0000001
[2,7,5,3,6,4,8,1]=>0000000
[4,7,5,3,8,1,6,2]=>0000000
[2,7,5,8,6,3,4,1]=>0000000
[2,7,5,6,8,3,4,1]=>0000000
[2,7,5,6,8,3,1,4]=>0000000
[4,7,5,3,6,8,1,2]=>0000000
[8,7,5,3,1,4,6,2]=>0000000
[5,7,6,1,8,3,2,4]=>0000000
[6,1,7,2,8,4,3,5]=>0000000
[6,1,7,3,8,5,2,4]=>0000000
[7,1,8,3,2,5,4,6]=>0000000
[2,4,6,7,8,5,1,3]=>0000000
[2,4,6,7,8,3,1,5]=>0000000
[4,6,5,8,7,3,1,2]=>0000000
[4,5,1,2,8,7,3,6]=>0000000
[5,8,7,1,6,2,4,3]=>0000000
[8,4,5,1,7,6,2,3]=>0000000
[6,3,1,4,8,2,7,5]=>0000000
[8,5,6,1,7,2,4,3]=>0000000
[7,5,6,1,3,8,4,2]=>0000000
[5,7,6,1,3,8,4,2]=>0000000
[6,7,1,4,2,8,5,3]=>0000000
[2,1,6,4,8,3,7,5]=>0100000
[7,4,5,1,3,8,6,2]=>0000000
[1,5,7,8,4,2,3,6]=>1000000
[1,3,6,4,2,5,7,8]=>1000011
[1,4,5,7,8,3,6,2]=>1000000
[1,5,7,8,3,6,2,4]=>1000000
[1,5,7,8,2,4,3,6]=>1000000
[6,8,4,7,3,2,1,5]=>0000000
[6,8,5,4,2,7,1,3]=>0000000
[1,8,4,6,3,2,7,5]=>1000000
[3,5,6,1,4,2,7,8]=>0000011
[1,6,3,8,4,2,7,5]=>1000000
[2,6,5,7,8,3,1,4]=>0000000
[4,1,8,2,6,7,5,3]=>0000000
[3,6,7,8,2,1,4,5]=>0000000
[2,5,7,1,6,3,4,8]=>0000001
[4,2,8,3,6,5,1,7]=>0000000
[6,3,8,7,2,4,5,1]=>0000000
[2,4,5,7,1,8,6,3]=>0000000
[8,1,6,2,3,4,7,5]=>0000000
[6,1,4,2,5,7,8,3]=>0000000
[1,8,3,4,5,2,7,6]=>1000000
[1,8,3,6,4,7,2,5]=>1000000
[1,4,7,2,5,6,3,8]=>1000001
[7,3,5,8,2,6,1,4]=>0000000
[3,4,8,6,7,2,1,5]=>0000000
[3,4,8,2,5,1,7,6]=>0000000
[1,7,2,5,8,4,3,6]=>1000000
[1,4,6,7,8,3,5,2]=>1000000
[4,1,5,3,6,8,7,2]=>0000000
[5,8,7,4,6,2,3,1]=>0000000
[6,4,8,1,5,7,3,2]=>0000000
[1,6,8,3,5,2,7,4]=>1000000
[7,2,1,8,6,4,5,3]=>0000000
[2,4,7,8,5,6,1,3]=>0000000
[2,8,5,4,1,3,7,6]=>0000000
[5,4,6,3,1,7,2,8]=>0000001
[1,5,6,8,7,3,2,4]=>1000000
[1,4,8,3,6,5,2,7]=>1000000
[1,2,8,6,4,3,7,5]=>1100000
[1,8,4,7,6,2,3,5]=>1000000
[6,5,1,8,7,2,4,3]=>0000000
[6,1,2,8,7,3,4,5]=>0000000
[6,5,1,8,7,4,3,2]=>0000000
[7,5,1,8,6,4,3,2]=>0000000
[8,5,1,7,6,4,3,2]=>0000000
[8,5,3,7,6,1,4,2]=>0000000
[3,8,7,6,1,5,4,2]=>0000000
[8,3,7,5,4,1,6,2]=>0000000
[1,5,8,6,2,7,4,3]=>1000000
[3,1,8,5,7,2,6,4]=>0000000
[8,5,2,6,1,4,7,3]=>0000000
[2,7,5,8,1,4,6,3]=>0000000
[3,2,6,7,1,8,5,4]=>0000000
[3,4,6,7,8,2,1,5]=>0000000
[6,2,7,4,8,5,1,3]=>0000000
[6,7,1,3,8,5,4,2]=>0000000
[1,2,6,7,8,5,3,4]=>1100000
[1,6,7,4,8,3,2,5]=>1000000
[1,4,6,7,8,3,2,5]=>1000000
[3,2,6,4,8,7,5,1]=>0000000
[4,7,2,8,6,5,1,3]=>0000000
[4,7,1,8,6,5,3,2]=>0000000
[2,7,4,8,3,6,1,5]=>0000000
[4,7,3,8,6,1,5,2]=>0000000
[4,3,6,8,7,2,5,1]=>0000000
[4,3,8,2,5,7,6,1]=>0000000
[4,1,2,6,8,7,5,3]=>0000000
[3,1,6,4,8,7,2,5]=>0000000
[4,1,6,8,7,5,2,3]=>0000000
[3,8,1,4,5,7,2,6]=>0000000
[3,8,1,4,2,5,7,6]=>0000000
[4,1,8,3,5,2,7,6]=>0000000
[3,8,1,2,5,4,7,6]=>0000000
[4,2,3,6,8,7,1,5]=>0000000
[4,2,8,3,5,1,7,6]=>0000000
[4,2,8,3,5,7,6,1]=>0000000
[3,8,2,4,5,7,6,1]=>0000000
[3,8,2,5,1,4,7,6]=>0000000
[4,2,8,5,7,1,3,6]=>0000000
[3,8,1,5,2,4,7,6]=>0000000
[7,3,2,1,4,6,5,8]=>0000001
[2,7,1,3,5,6,8,4]=>0000000
[2,3,6,1,5,8,7,4]=>0000000
[4,8,5,3,2,6,7,1]=>0000000
[6,4,1,8,5,2,7,3]=>0000000
[2,6,1,8,5,4,7,3]=>0000000
[3,7,6,4,8,5,2,1]=>0000000
[3,1,6,8,5,4,7,2]=>0000000
[2,3,5,8,4,6,7,1]=>0000000
[6,2,1,7,8,5,4,3]=>0000000
[7,5,6,1,2,3,8,4]=>0000000
[1,5,7,6,3,2,8,4]=>1000000
[8,4,6,2,3,1,5,7]=>0000000
[7,5,2,1,4,3,8,6]=>0000000
[3,1,7,8,5,4,2,6]=>0000000
[7,6,4,8,3,1,2,5]=>0000000
[7,4,8,5,6,1,2,3]=>0000000
[6,2,8,5,1,3,4,7]=>0000000
[3,2,7,8,6,1,4,5]=>0000000
[6,8,2,5,1,3,7,4]=>0000000
[6,7,4,2,1,5,3,8]=>0000001
[5,7,4,1,3,6,2,8]=>0000001
[4,2,7,5,1,8,3,6]=>0000000
[4,1,6,5,3,8,2,7]=>0000000
[1,5,4,6,3,8,2,7]=>1000000
[1,8,6,4,7,3,2,5]=>1000000
[4,7,1,8,6,3,5,2]=>0000000
[5,4,8,1,7,3,6,2]=>0000000
[4,3,8,6,2,1,7,5]=>0000000
[8,3,6,2,4,1,7,5]=>0000000
[7,8,3,2,4,6,5,1]=>0000000
[7,2,8,5,3,1,6,4]=>0000000
[2,5,4,8,7,3,6,1]=>0000000
[6,4,2,8,7,3,1,5]=>0000000
[3,6,8,1,7,4,2,5]=>0000000
[7,8,6,3,1,4,5,2]=>0000000
[3,8,6,1,7,5,2,4]=>0000000
[2,7,5,4,8,3,1,6]=>0000000
[6,8,7,5,2,1,3,4]=>0000000
[7,6,2,8,5,1,3,4]=>0000000
[1,5,7,6,2,8,4,3]=>1000000
[1,6,5,2,7,8,4,3]=>1000000
[2,7,8,5,6,1,4,3]=>0000000
[6,7,8,4,2,1,5,3]=>0000000
[8,6,4,1,2,5,7,3]=>0000000
[6,1,4,7,2,5,8,3]=>0000000
[6,7,8,3,5,4,2,1]=>0000000
[6,7,8,2,1,5,3,4]=>0000000
[5,6,3,2,7,4,1,8]=>0000001
[2,6,4,3,7,5,8,1]=>0000000
[7,6,2,3,5,4,8,1]=>0000000
[8,5,2,4,3,6,1,7]=>0000000
[7,4,8,2,1,5,6,3]=>0000000
[8,3,7,1,6,4,2,5]=>0000000
[8,2,1,7,6,5,3,4]=>0000000
[5,7,4,1,6,8,2,3]=>0000000
[6,5,1,2,8,3,4,7]=>0000000
[5,6,8,1,3,7,2,4]=>0000000
[3,7,4,8,6,1,2,5]=>0000000
[1,6,8,5,3,2,4,7]=>1000000
[5,8,1,6,7,4,2,3]=>0000000
[7,2,8,4,6,1,3,5]=>0000000
[6,2,7,4,3,8,1,5]=>0000000
[1,7,8,4,6,2,3,5]=>1000000
[8,1,6,5,4,7,2,3]=>0000000
[4,1,6,8,7,3,2,5]=>0000000
[5,1,4,6,7,3,8,2]=>0000000
[7,1,3,4,6,2,8,5]=>0000000
[1,4,7,5,8,6,3,2]=>1000000
[1,8,6,3,5,2,7,4]=>1000000
[4,7,1,6,8,3,5,2]=>0000000
[3,6,5,2,8,4,1,7]=>0000000
[7,1,8,4,2,5,3,6]=>0000000
[1,4,8,7,5,2,6,3]=>1000000
[1,5,6,4,2,3,7,8]=>1000011
[5,7,3,6,8,4,2,1]=>0000000
[5,8,7,4,2,1,3,6]=>0000000
[1,8,7,3,2,5,4,6]=>1000000
[1,2,5,4,8,7,3,6]=>1100000
[1,2,4,8,6,3,5,7]=>1100000
[1,5,2,4,7,3,8,6]=>1000000
[1,2,7,6,8,4,3,5]=>1100000
[1,6,3,2,5,7,8,4]=>1000000
[1,7,3,4,2,6,8,5]=>1000000
[1,6,3,5,8,4,2,7]=>1000000
[1,5,3,2,7,8,4,6]=>1000000
[1,7,6,4,3,8,5,2]=>1000000
[1,8,5,7,6,3,2,4]=>1000000
[1,6,3,5,7,8,4,2]=>1000000
[6,8,5,2,1,7,4,3]=>0000000
[1,2,6,8,4,3,7,5]=>1100000
[5,3,7,2,6,4,1,8]=>0000001
[7,6,2,5,3,4,1,8]=>0000001
[7,6,2,4,5,3,1,8]=>0000001
[7,6,2,4,3,5,1,8]=>0000001
[7,6,2,3,5,4,1,8]=>0000001
[8,4,2,7,1,6,3,5]=>0000000
[8,7,6,1,5,3,2,4]=>0000000
[8,7,6,1,4,3,5,2]=>0000000
[8,7,6,1,3,5,4,2]=>0000000
[8,7,6,1,5,4,2,3]=>0000000
[8,6,2,7,1,5,3,4]=>0000000
[8,7,6,1,2,5,3,4]=>0000000
[8,7,6,1,2,5,4,3]=>0000000
[8,7,6,1,4,2,5,3]=>0000000
[6,5,7,3,8,4,1,2]=>0000000
[5,7,1,3,4,2,8,6]=>0000000
[1,5,3,7,8,4,6,2]=>1000000
[1,3,7,5,8,6,2,4]=>1000000
[5,3,7,6,8,1,2,4]=>0000000
[3,1,2,7,5,8,4,6]=>0010000
[6,1,4,8,5,2,7,3]=>0000000
[3,4,5,8,1,6,7,2]=>0000000
[3,1,6,8,5,2,7,4]=>0000000
[5,4,8,1,2,6,7,3]=>0000000
[5,2,3,8,1,7,4,6]=>0000000
[1,5,3,8,2,4,6,7]=>1000000
[8,6,2,7,5,1,4,3]=>0000000
[2,7,1,8,6,3,5,4]=>0000000
[5,7,6,1,3,2,8,4]=>0000000
[3,5,4,6,1,7,8,2]=>0000000
[8,1,5,4,6,3,7,2]=>0000000
[2,7,1,5,6,4,3,8]=>0000001
[8,4,6,3,1,7,2,5]=>0000000
[8,4,2,5,6,3,7,1]=>0000000
[5,4,7,2,8,6,1,3]=>0000000
[3,5,6,4,1,7,2,8]=>0000001
[2,5,6,1,7,4,3,8]=>0000001
[2,7,1,8,6,5,4,3]=>0000000
[3,7,6,1,8,5,4,2]=>0000000
[6,2,8,3,1,4,5,7]=>0000000
[2,7,8,3,1,4,5,6]=>0000000
[1,8,5,3,2,6,7,4]=>1000000
[1,5,6,7,3,2,8,4]=>1000000
[1,7,5,2,3,4,8,6]=>1000000
[1,7,5,2,4,8,6,3]=>1000000
[1,4,8,6,2,3,5,7]=>1000000
[1,2,8,6,3,5,7,4]=>1100000
[1,8,6,7,4,2,3,5]=>1000000
[1,6,7,8,4,2,3,5]=>1000000
[1,7,8,4,2,3,5,6]=>1000000
[1,7,3,5,6,2,8,4]=>1000000
[1,7,8,3,4,2,5,6]=>1000000
[1,2,3,7,8,5,4,6]=>1110000
[1,2,7,4,6,3,8,5]=>1100000
[1,7,8,4,5,2,3,6]=>1000000
[1,2,8,4,5,6,3,7]=>1100000
[5,8,2,7,3,4,1,6]=>0000000
[6,8,7,2,3,4,1,5]=>0000000
[5,3,8,1,6,7,4,2]=>0000000
[5,1,8,3,6,7,4,2]=>0000000
[3,1,8,4,6,2,7,5]=>0000000
[8,4,1,6,5,2,3,7]=>0000000
[1,8,7,6,4,3,5,2]=>1000000
[6,8,7,3,2,4,1,5]=>0000000
[2,3,7,5,6,8,4,1]=>0000000
[3,2,4,7,5,8,1,6]=>0000000
[2,8,7,6,4,5,1,3]=>0000000
[4,8,7,6,3,1,5,2]=>0000000
[3,5,2,4,7,6,8,1]=>0000000
[5,3,2,7,6,4,8,1]=>0000000
[3,5,2,7,4,6,8,1]=>0000000
[3,4,7,6,8,2,5,1]=>0000000
[5,2,8,4,1,3,6,7]=>0000000
[3,8,5,2,1,4,6,7]=>0000000
[7,6,4,1,8,2,5,3]=>0000000
[7,5,4,2,1,6,3,8]=>0000001
[8,1,6,7,3,4,2,5]=>0000000
[8,2,1,6,7,4,3,5]=>0000000
[5,2,8,6,3,7,1,4]=>0000000
[7,6,8,1,2,5,4,3]=>0000000
[2,1,3,4,8,5,7,6]=>0111000
[5,7,1,2,6,8,3,4]=>0000000
[1,5,2,3,6,8,7,4]=>1000000
[8,6,4,7,5,1,2,3]=>0000000
[8,6,4,1,2,5,3,7]=>0000000
[2,8,4,3,1,6,5,7]=>0000000
[8,3,5,6,1,4,7,2]=>0000000
[6,8,7,3,5,4,2,1]=>0000000
[3,1,2,8,5,7,4,6]=>0010000
[2,1,4,7,6,3,5,8]=>0100001
[7,2,4,5,3,8,1,6]=>0000000
[8,4,2,5,6,7,3,1]=>0000000
[5,4,1,6,3,7,8,2]=>0000000
[4,5,1,3,6,7,8,2]=>0000000
[5,1,7,6,3,4,8,2]=>0000000
[6,1,7,5,4,8,2,3]=>0000000
[3,7,2,1,6,8,4,5]=>0000000
[1,5,8,2,4,7,6,3]=>1000000
[5,8,1,6,4,7,3,2]=>0000000
[3,8,6,5,7,2,4,1]=>0000000
[6,8,1,4,7,3,5,2]=>0000000
[1,6,8,2,7,4,5,3]=>1000000
[5,7,2,1,8,4,3,6]=>0000000
[5,7,1,6,8,3,2,4]=>0000000
[5,6,2,1,8,3,4,7]=>0000000
[6,4,1,7,3,8,2,5]=>0000000
[8,2,5,6,7,1,4,3]=>0000000
[7,2,4,6,8,3,1,5]=>0000000
[6,2,4,7,8,1,3,5]=>0000000
[6,1,4,3,2,8,5,7]=>0000000
[2,7,4,8,6,1,5,3]=>0000000
[2,4,8,6,5,7,3,1]=>0000000
[3,7,8,6,4,2,5,1]=>0000000
[6,2,8,4,7,5,1,3]=>0000000
[4,2,8,5,1,6,3,7]=>0000000
[2,3,8,4,1,6,5,7]=>0000000
[4,5,7,3,1,6,2,8]=>0000001
[5,1,8,7,4,6,3,2]=>0000000
[3,5,7,6,1,8,4,2]=>0000000
[3,5,7,6,2,8,4,1]=>0000000
[6,1,4,3,8,7,5,2]=>0000000
[6,3,1,8,7,4,2,5]=>0000000
[5,3,6,2,8,7,4,1]=>0000000
[6,2,3,8,7,5,4,1]=>0000000
[4,1,3,5,8,7,6,2]=>0000000
[2,7,8,3,4,1,5,6]=>0000000
[6,8,2,7,4,1,5,3]=>0000000
[5,8,3,4,6,1,7,2]=>0000000
[5,3,8,2,7,1,6,4]=>0000000
[3,7,1,5,2,6,8,4]=>0000000
[6,7,1,8,3,4,5,2]=>0000000
[3,8,5,2,6,7,1,4]=>0000000
[7,1,8,4,6,3,5,2]=>0000000
[3,8,6,4,7,1,5,2]=>0000000
[3,7,1,4,8,6,5,2]=>0000000
[2,3,7,6,5,8,1,4]=>0000000
[3,5,7,6,8,2,1,4]=>0000000
[4,2,5,3,7,6,1,8]=>0000001
[6,2,4,3,7,5,1,8]=>0000001
[1,3,6,4,7,5,2,8]=>1000001
[8,2,5,3,6,4,1,7]=>0000000
[7,2,5,3,6,4,1,8]=>0000001
[6,2,5,3,7,4,1,8]=>0000001
[4,2,6,3,7,5,1,8]=>0000001
[5,2,7,3,6,4,1,8]=>0000001
[7,3,6,2,5,4,1,8]=>0000001
[6,3,8,2,5,4,1,7]=>0000000
[7,3,1,4,6,5,2,8]=>0000001
[8,3,7,2,5,4,1,6]=>0000000
[5,2,8,3,6,4,1,7]=>0000000
[3,2,8,4,6,5,1,7]=>0000000
[1,4,7,3,6,5,2,8]=>1000001
[8,2,5,4,1,6,3,7]=>0000000
[8,2,6,4,1,5,3,7]=>0000000
[1,4,8,3,7,5,2,6]=>1000000
[6,2,1,4,8,5,3,7]=>0000000
[5,2,1,4,8,6,3,7]=>0000000
[3,2,1,5,8,6,4,7]=>0010000
[4,2,8,3,7,5,1,6]=>0000000
[5,2,8,3,7,4,1,6]=>0000000
[8,3,7,2,6,4,1,5]=>0000000
[7,3,1,4,8,5,2,6]=>0000000
[1,3,7,4,8,5,2,6]=>1000000
[8,2,6,3,7,4,1,5]=>0000000
[7,2,6,3,8,4,1,5]=>0000000
[5,2,7,3,8,4,1,6]=>0000000
[3,2,7,4,8,5,1,6]=>0000000
[5,2,6,3,8,4,1,7]=>0000000
[6,2,5,3,8,4,1,7]=>0000000
[7,2,5,3,8,4,1,6]=>0000000
[8,2,5,3,7,4,1,6]=>0000000
[1,3,6,4,8,5,2,7]=>1000000
[1,3,5,4,8,6,2,7]=>1000000
[8,2,4,3,7,5,1,6]=>0000000
[7,2,4,3,8,5,1,6]=>0000000
[6,2,4,3,8,5,1,7]=>0000000
[5,2,4,3,8,6,1,7]=>0000000
[4,2,5,3,8,6,1,7]=>0000000
[4,2,5,3,1,7,6,8]=>0000101
[6,2,4,3,1,7,5,8]=>0000001
[7,2,4,3,1,6,5,8]=>0000001
[8,5,1,3,6,4,2,7]=>0000000
[8,4,1,3,6,5,2,7]=>0000000
[1,5,2,4,7,6,3,8]=>1000001
[7,2,5,3,1,6,4,8]=>0000001
[6,2,5,3,1,7,4,8]=>0000001
[4,2,6,3,1,7,5,8]=>0000001
[3,2,6,4,1,7,5,8]=>0000001
[3,2,7,4,1,6,5,8]=>0000001
[4,2,7,3,1,6,5,8]=>0000001
[5,2,7,3,1,6,4,8]=>0000001
[6,2,7,3,1,5,4,8]=>0000001
[7,2,6,3,1,5,4,8]=>0000001
[1,5,2,4,8,6,3,7]=>1000000
[8,4,1,3,7,5,2,6]=>0000000
[6,2,1,5,3,7,4,8]=>0000001
[3,2,1,6,4,7,5,8]=>0010001
[3,2,8,5,1,6,4,7]=>0000000
[6,2,8,4,1,5,3,7]=>0000000
[8,3,7,4,1,5,2,6]=>0000000
[7,1,3,2,5,6,4,8]=>0000001
[6,3,5,2,4,8,1,7]=>0000000
[1,5,2,8,7,4,3,6]=>1000000
[5,7,2,8,1,4,3,6]=>0000000
[5,8,2,7,1,4,3,6]=>0000000
[8,6,2,3,1,5,7,4]=>0000000
[1,4,2,7,3,6,8,5]=>1000000
[3,2,1,7,8,5,4,6]=>0010000
[1,7,6,3,2,4,8,5]=>1000000
[2,1,6,4,7,8,5,3]=>0100000
[1,6,3,2,4,7,8,5]=>1000000
[1,2,3,7,5,8,4,6]=>1110000
[1,8,5,3,2,4,7,6]=>1000000
[4,7,8,1,5,6,2,3]=>0000000
[3,6,7,1,8,4,2,5]=>0000000
[1,3,7,6,2,4,5,8]=>1000001
[7,1,4,3,8,5,6,2]=>0000000
[5,6,2,7,8,3,4,1]=>0000000
[7,2,5,8,1,6,3,4]=>0000000
[6,4,8,1,5,7,2,3]=>0000000
[2,7,4,1,3,6,8,5]=>0000000
[6,2,1,4,7,5,8,3]=>0000000
[2,6,1,5,4,7,3,8]=>0000001
[2,3,6,8,4,1,7,5]=>0000000
[1,7,2,8,6,3,5,4]=>1000000
[8,3,2,6,7,4,1,5]=>0000000
[5,2,6,8,1,3,7,4]=>0000000
[8,3,5,2,6,1,4,7]=>0000000
[8,3,2,4,6,7,1,5]=>0000000
[4,2,7,6,1,8,5,3]=>0000000
[7,3,2,1,8,5,4,6]=>0000000
[7,3,2,1,6,4,8,5]=>0000000
[3,6,5,2,1,8,4,7]=>0000000
[6,7,2,4,3,5,8,1]=>0000000
[4,3,8,2,1,5,7,6]=>0000000
[4,3,2,8,1,6,7,5]=>0000000
[4,5,8,3,2,7,1,6]=>0000000
[5,4,7,8,2,3,6,1]=>0000000
[4,3,8,2,1,6,7,5]=>0000000
[5,3,7,6,2,4,8,1]=>0000000
[4,6,7,2,5,3,8,1]=>0000000
[6,4,7,8,3,1,5,2]=>0000000
[5,8,1,7,6,4,2,3]=>0000000
[5,6,7,1,8,3,4,2]=>0000000
[7,1,8,6,2,5,4,3]=>0000000
[1,5,8,2,6,4,7,3]=>1000000
[1,5,7,4,6,8,3,2]=>1000000
[5,6,7,4,8,1,3,2]=>0000000
[2,6,7,1,5,4,8,3]=>0000000
[3,2,7,6,5,8,1,4]=>0000000
[1,7,3,4,5,8,2,6]=>1000000
[7,1,8,4,5,6,3,2]=>0000000
[1,2,7,4,5,8,3,6]=>1100000
[6,7,3,2,5,8,1,4]=>0000000
[6,1,8,4,5,3,7,2]=>0000000
[5,1,4,6,2,8,7,3]=>0000000
[7,3,5,2,1,6,8,4]=>0000000
[1,5,8,7,4,6,3,2]=>1000000
[5,7,2,1,3,6,8,4]=>0000000
[3,7,2,6,8,1,5,4]=>0000000
[7,4,8,6,5,1,3,2]=>0000000
[1,5,4,7,8,6,2,3]=>1000000
[1,5,7,8,6,2,4,3]=>1000000
[3,6,2,1,4,7,8,5]=>0000000
[6,8,2,7,5,4,3,1]=>0000000
[5,8,1,7,6,4,3,2]=>0000000
[8,6,3,2,1,5,4,7]=>0000000
[8,5,3,2,4,1,7,6]=>0000000
[7,5,2,4,3,6,8,1]=>0000000
[8,5,1,4,6,3,2,7]=>0000000
[8,5,1,6,3,4,2,7]=>0000000
[8,4,3,6,1,5,2,7]=>0000000
[8,4,3,5,2,1,7,6]=>0000000
[6,4,3,2,8,7,1,5]=>0000000
[8,5,1,4,3,7,2,6]=>0000000
[8,5,4,2,1,3,7,6]=>0000000
[4,7,3,6,1,8,5,2]=>0000000
[7,6,2,4,1,5,8,3]=>0000000
[8,1,6,3,7,4,2,5]=>0000000
[5,3,8,2,6,7,1,4]=>0000000
[8,2,5,1,7,6,3,4]=>0000000
[8,2,4,6,3,7,1,5]=>0000000
[7,2,6,4,3,5,8,1]=>0000000
[7,3,6,2,4,5,8,1]=>0000000
[8,3,7,2,1,4,6,5]=>0000000
[7,6,4,1,3,2,8,5]=>0000000
[7,3,8,2,1,5,6,4]=>0000000
[6,2,5,7,4,3,8,1]=>0000000
[6,2,5,4,8,7,1,3]=>0000000
[7,2,4,8,5,1,6,3]=>0000000
[4,2,7,6,8,5,1,3]=>0000000
[7,1,6,2,8,5,4,3]=>0000000
[7,1,6,3,8,5,2,4]=>0000000
[7,2,6,8,1,3,5,4]=>0000000
[7,2,8,5,1,3,6,4]=>0000000
[7,1,8,5,3,2,6,4]=>0000000
[7,1,8,2,5,6,4,3]=>0000000
[6,1,5,8,7,2,4,3]=>0000000
[6,1,5,7,4,8,3,2]=>0000000
[6,1,5,7,8,3,4,2]=>0000000
[4,6,7,3,1,8,5,2]=>0000000
[4,2,6,3,1,8,7,5]=>0000000
[6,1,4,2,5,8,7,3]=>0000000
[1,5,3,8,4,6,2,7]=>1000000
[7,2,3,5,8,4,1,6]=>0000000
[7,6,4,2,8,5,1,3]=>0000000
[1,7,6,4,8,5,3,2]=>1000000
[8,7,4,2,1,5,6,3]=>0000000
[8,2,3,5,1,4,6,7]=>0000000
[8,7,4,1,3,2,6,5]=>0000000
[7,1,4,8,3,6,2,5]=>0000000
[4,1,8,5,7,6,2,3]=>0000000
[3,7,5,8,4,2,1,6]=>0000000
[6,1,5,8,3,4,2,7]=>0000000
[6,7,5,1,3,2,4,8]=>0000001
[5,2,6,1,7,3,4,8]=>0000001
[4,2,6,8,3,7,1,5]=>0000000
[6,8,5,1,4,2,3,7]=>0000000
[7,8,4,5,1,3,6,2]=>0000000
[1,7,8,5,3,4,6,2]=>1000000
[1,5,8,3,6,4,7,2]=>1000000
[6,3,8,1,4,2,7,5]=>0000000
[4,8,1,5,6,3,7,2]=>0000000
[1,8,2,6,5,3,7,4]=>1000000
[3,8,1,7,2,6,5,4]=>0000000
[7,3,8,1,2,6,5,4]=>0000000
[8,1,4,2,3,5,7,6]=>0000000
[8,1,2,4,6,5,7,3]=>0000000
[8,4,7,1,5,3,6,2]=>0000000
[7,2,5,3,4,6,1,8]=>0000001
[7,6,4,2,5,3,1,8]=>0000001
[5,8,4,3,6,2,7,1]=>0000000
[1,7,2,6,3,4,8,5]=>1000000
[7,5,1,6,3,2,4,8]=>0000001
[7,1,2,6,3,4,5,8]=>0000001
[7,3,1,4,6,2,5,8]=>0000001
[7,1,6,5,4,2,3,8]=>0000001
[3,6,8,5,2,4,7,1]=>0000000
[5,7,8,4,3,2,6,1]=>0000000
[1,3,8,4,7,2,6,5]=>1000000
[6,7,1,3,2,8,5,4]=>0000000
[1,5,3,2,6,8,4,7]=>1000000
[5,4,3,1,7,2,8,6]=>0000000
[3,7,6,5,8,2,4,1]=>0000000
[5,7,4,2,8,6,1,3]=>0000000
[3,8,5,7,6,2,4,1]=>0000000
[1,3,6,8,7,2,5,4]=>1000000
[7,6,8,4,3,1,5,2]=>0000000
[1,7,6,5,3,2,4,8]=>1000001
[2,7,6,5,4,1,3,8]=>0000001
[4,7,6,1,5,8,3,2]=>0000000
[6,8,7,1,5,4,3,2]=>0000000
[4,7,3,6,8,2,1,5]=>0000000
[5,4,7,3,8,2,1,6]=>0000000
[4,3,5,7,2,6,1,8]=>0000001
[1,7,2,8,5,4,3,6]=>1000000
[5,4,8,3,6,2,1,7]=>0000000
[5,8,4,2,7,3,6,1]=>0000000
[8,6,1,3,4,5,7,2]=>0000000
[8,5,1,2,4,6,7,3]=>0000000
[2,6,8,7,3,4,5,1]=>0000000
[1,7,8,5,6,4,2,3]=>1000000
[3,1,7,5,8,2,4,6]=>0000000
[8,1,3,2,4,6,5,7]=>0000000
[8,1,6,5,4,3,2,7]=>0000000
[3,5,8,2,1,4,7,6]=>0000000
[4,2,8,5,3,7,6,1]=>0000000
[4,2,7,5,3,8,6,1]=>0000000
[6,4,5,1,8,3,2,7]=>0000000
[5,4,7,8,3,1,2,6]=>0000000
[4,5,8,1,3,7,2,6]=>0000000
[1,5,3,6,8,7,2,4]=>1000000
[7,6,2,8,1,4,3,5]=>0000000
[4,7,2,6,8,3,5,1]=>0000000
[6,3,2,8,7,4,5,1]=>0000000
[7,4,3,8,5,6,2,1]=>0000000
[3,1,5,8,7,6,2,4]=>0000000
[8,2,1,6,5,7,3,4]=>0000000
[3,1,8,6,5,7,2,4]=>0000000
[1,2,7,6,4,5,8,3]=>1100000
[7,2,6,5,1,8,3,4]=>0000000
[4,2,8,5,6,3,1,7]=>0000000
[4,7,3,2,5,1,6,8]=>0000001
[4,2,5,3,8,7,1,6]=>0000000
[7,5,6,1,8,3,2,4]=>0000000
[4,5,6,2,7,3,1,8]=>0000001
[3,5,1,4,6,8,2,7]=>0000000
[8,5,7,4,2,1,3,6]=>0000000
[4,6,2,7,5,8,1,3]=>0000000
[6,5,2,4,8,7,1,3]=>0000000
[8,5,2,4,1,3,7,6]=>0000000
[5,1,2,4,3,6,8,7]=>0000110
[8,6,2,7,5,3,1,4]=>0000000
[7,8,1,6,5,2,4,3]=>0000000
[7,4,8,6,5,1,2,3]=>0000000
[3,7,8,6,5,1,2,4]=>0000000
[4,5,8,2,7,3,1,6]=>0000000
[6,5,8,2,7,3,1,4]=>0000000
[6,4,8,2,7,3,1,5]=>0000000
[7,8,1,3,6,4,2,5]=>0000000
[4,5,7,8,3,2,1,6]=>0000000
[5,7,3,4,2,6,8,1]=>0000000
[5,7,4,2,3,6,8,1]=>0000000
[5,4,7,3,2,8,1,6]=>0000000
[6,8,3,2,4,5,1,7]=>0000000
[5,8,3,4,6,1,2,7]=>0000000
[6,4,3,8,5,1,2,7]=>0000000
[6,4,8,2,3,5,1,7]=>0000000
[5,4,6,8,2,3,1,7]=>0000000
[5,6,8,4,1,2,3,7]=>0000000
[6,4,8,5,1,2,3,7]=>0000000
[7,4,8,3,1,2,5,6]=>0000000
[5,7,8,2,3,1,4,6]=>0000000
[5,4,7,8,2,1,3,6]=>0000000
[5,8,6,3,1,2,4,7]=>0000000
[6,8,5,2,1,3,4,7]=>0000000
[5,3,7,2,1,8,6,4]=>0000000
[6,1,5,4,7,2,8,3]=>0000000
[5,4,8,3,2,7,1,6]=>0000000
[5,4,3,7,2,1,6,8]=>0000001
[5,4,3,7,8,2,1,6]=>0000000
[1,4,8,6,3,2,7,5]=>1000000
[6,1,3,5,8,7,4,2]=>0000000
[3,5,8,7,4,6,2,1]=>0000000
[6,8,5,7,3,4,2,1]=>0000000
[5,3,6,8,4,2,1,7]=>0000000
[5,1,6,8,4,7,3,2]=>0000000
[6,2,8,3,4,1,5,7]=>0000000
[2,4,1,8,7,6,3,5]=>0000000
[1,3,5,8,4,7,2,6]=>1000000
[2,3,8,7,5,1,6,4]=>0000000
[8,5,4,7,6,1,3,2]=>0000000
[5,8,7,2,4,1,3,6]=>0000000
[4,1,3,5,6,2,8,7]=>0000010
[6,3,8,5,1,7,4,2]=>0000000
[8,2,4,6,1,3,7,5]=>0000000
[6,4,8,7,3,5,2,1]=>0000000
[8,2,3,5,6,1,4,7]=>0000000
[4,3,5,6,8,2,7,1]=>0000000
[8,2,3,4,6,1,7,5]=>0000000
[1,7,4,3,5,2,8,6]=>1000000
[2,7,4,3,8,1,5,6]=>0000000
[3,8,2,7,6,4,1,5]=>0000000
[5,3,6,2,1,8,4,7]=>0000000
[4,3,8,6,2,7,1,5]=>0000000
[8,2,1,4,6,3,7,5]=>0000000
[3,1,6,8,2,7,5,4]=>0000000
[5,3,8,6,7,2,1,4]=>0000000
[5,8,7,2,4,6,1,3]=>0000000
[1,5,2,8,7,6,4,3]=>1000000
[2,7,1,4,6,5,3,8]=>0000001
[4,7,1,2,6,5,8,3]=>0000000
[4,2,5,6,8,7,3,1]=>0000000
[6,5,8,3,7,4,2,1]=>0000000
[8,2,5,1,6,3,7,4]=>0000000
[8,3,4,5,1,6,7,2]=>0000000
[7,8,1,3,5,4,6,2]=>0000000
[3,5,7,6,4,8,1,2]=>0000000
[1,3,7,8,5,4,6,2]=>1000000
[1,3,2,7,8,5,4,6]=>1010000
[6,5,8,4,3,7,1,2]=>0000000
[6,7,3,1,5,2,4,8]=>0000001
[5,2,4,1,8,3,6,7]=>0000000
[7,2,3,8,5,4,1,6]=>0000000
[4,1,5,7,6,3,8,2]=>0000000
[1,4,8,2,3,6,5,7]=>1000000
[1,4,6,7,3,5,2,8]=>1000001
[1,4,8,2,6,7,5,3]=>1000000
[1,7,3,2,4,5,6,8]=>1000001
[1,7,3,2,4,5,8,6]=>1000000
[4,2,6,5,3,1,7,8]=>0000011
[5,2,1,6,8,7,4,3]=>0000000
[1,3,5,8,6,2,7,4]=>1000000
[1,3,8,5,7,4,2,6]=>1000000
[1,2,3,7,5,4,6,8]=>1110001
[1,4,2,8,6,3,5,7]=>1000000
[2,8,6,3,5,7,4,1]=>0000000
[6,1,8,2,5,3,4,7]=>0000000
[1,5,4,2,3,6,8,7]=>1000110
[6,1,5,2,3,4,8,7]=>0000010
[3,1,2,4,8,6,7,5]=>0011000
[3,1,2,5,8,7,4,6]=>0010000
[6,5,2,1,8,4,7,3]=>0000000
[5,6,2,4,3,8,1,7]=>0000000
[3,7,5,2,8,1,4,6]=>0000000
[5,1,4,7,3,2,8,6]=>0000000
[4,1,5,8,6,2,3,7]=>0000000
[5,4,8,6,3,7,1,2]=>0000000
[6,5,2,3,1,8,7,4]=>0000000
[6,4,7,5,3,8,1,2]=>0000000
[5,7,4,8,3,1,6,2]=>0000000
[4,3,5,1,8,7,2,6]=>0000000
[2,5,3,6,1,8,4,7]=>0000000
[1,7,2,4,5,3,6,8]=>1000001
[1,7,4,5,3,2,6,8]=>1000001
[1,6,4,7,3,5,2,8]=>1000001
[3,5,6,4,8,2,1,7]=>0000000
[1,6,4,7,5,2,3,8]=>1000001
[1,5,2,6,7,4,3,8]=>1000001
[8,5,6,1,4,3,7,2]=>0000000
[2,5,4,7,8,3,1,6]=>0000000
[6,4,5,8,2,3,1,7]=>0000000
[8,6,1,3,2,5,7,4]=>0000000
[7,5,8,1,4,6,3,2]=>0000000
[4,2,6,7,8,1,5,3]=>0000000
[3,4,6,7,8,1,5,2]=>0000000
[4,7,3,8,5,1,6,2]=>0000000
[4,3,2,7,5,8,1,6]=>0000000
[4,8,5,3,2,6,1,7]=>0000000
[2,8,4,5,3,6,1,7]=>0000000
[8,1,5,3,2,4,7,6]=>0000000
[7,8,4,1,3,6,5,2]=>0000000
[8,6,1,3,2,7,4,5]=>0000000
[7,3,8,2,4,1,6,5]=>0000000
[6,2,3,7,8,1,5,4]=>0000000
[6,3,7,8,1,5,4,2]=>0000000
[2,6,3,7,8,1,5,4]=>0000000
[7,5,8,1,6,4,2,3]=>0000000
[8,1,4,3,7,5,6,2]=>0000000
[8,2,7,6,4,1,5,3]=>0000000
[2,7,4,3,8,5,1,6]=>0000000
[4,1,5,8,3,6,7,2]=>0000000
[4,8,5,7,1,3,2,6]=>0000000
[4,8,2,7,1,3,6,5]=>0000000
[8,2,1,7,4,6,3,5]=>0000000
[4,5,2,8,7,3,1,6]=>0000000
[4,8,5,3,1,6,7,2]=>0000000
[5,2,7,8,4,1,6,3]=>0000000
[6,7,8,3,2,5,4,1]=>0000000
[6,2,3,7,8,1,4,5]=>0000000
[1,7,6,4,2,3,5,8]=>1000001
[1,3,2,5,8,6,4,7]=>1010000
[6,1,4,7,2,8,5,3]=>0000000
[1,6,7,2,4,8,5,3]=>1000000
[5,7,2,4,3,6,8,1]=>0000000
[5,7,3,4,6,2,8,1]=>0000000
[2,8,3,6,1,7,4,5]=>0000000
[4,3,1,8,5,2,6,7]=>0000000
[1,8,4,5,6,2,7,3]=>1000000
[7,3,8,2,1,4,5,6]=>0000000
[8,2,5,3,1,7,4,6]=>0000000
[6,3,5,8,1,7,4,2]=>0000000
[3,5,4,8,6,1,7,2]=>0000000
[7,5,2,3,8,4,6,1]=>0000000
[2,7,5,1,4,8,3,6]=>0000000
[5,7,6,1,2,8,3,4]=>0000000
[7,4,6,5,1,8,2,3]=>0000000
[7,1,3,2,6,8,4,5]=>0000000
[4,3,5,2,8,1,6,7]=>0000000
[1,7,3,8,2,4,6,5]=>1000000
[2,7,4,8,5,3,1,6]=>0000000
[6,1,3,8,4,2,7,5]=>0000000
[5,4,1,8,6,2,7,3]=>0000000
[5,4,6,8,1,3,2,7]=>0000000
[3,6,1,5,8,4,7,2]=>0000000
[6,4,8,3,5,7,2,1]=>0000000
[3,5,8,2,4,1,7,6]=>0000000
[7,2,8,4,1,3,6,5]=>0000000
[5,8,1,2,4,3,6,7]=>0000000
[4,1,5,2,3,8,7,6]=>0000100
[6,3,5,8,2,4,7,1]=>0000000
[2,8,7,1,4,6,3,5]=>0000000
[7,5,6,2,8,4,3,1]=>0000000
[1,5,7,2,4,3,6,8]=>1000001
[1,6,5,3,2,4,7,8]=>1000011
[1,7,2,4,6,5,3,8]=>1000001
[1,4,7,2,6,5,3,8]=>1000001
[1,2,6,8,7,4,3,5]=>1100000
[1,2,7,4,3,5,8,6]=>1100000
[1,6,2,8,7,4,3,5]=>1000000
[1,7,4,2,3,5,8,6]=>1000000
[1,8,5,2,3,6,4,7]=>1000000
[1,7,4,8,5,2,3,6]=>1000000
[1,4,7,5,2,8,6,3]=>1000000
[1,6,3,7,4,2,8,5]=>1000000
[1,8,5,2,7,4,3,6]=>1000000
[1,4,8,7,5,3,2,6]=>1000000
[1,2,5,8,6,3,7,4]=>1100000
[1,2,4,7,5,8,6,3]=>1100000
[1,5,8,7,6,2,4,3]=>1000000
[1,3,5,8,7,6,2,4]=>1000000
[1,5,2,4,3,6,8,7]=>1000110
[1,6,8,7,5,3,2,4]=>1000000
[1,2,5,7,4,3,8,6]=>1100000
[1,5,3,2,6,8,7,4]=>1000000
[1,4,2,6,8,7,5,3]=>1000000
[1,5,8,6,3,2,7,4]=>1000000
[1,8,5,2,6,3,4,7]=>1000000
[1,7,4,6,3,2,8,5]=>1000000
[1,6,3,2,8,5,4,7]=>1000000
[1,3,8,6,4,2,5,7]=>1000000
[1,5,7,4,2,3,8,6]=>1000000
[6,3,7,5,4,2,8,1]=>0000000
[7,5,2,6,3,4,8,1]=>0000000
[3,8,2,7,5,4,1,6]=>0000000
[5,4,8,6,7,1,2,3]=>0000000
[2,7,3,6,8,5,4,1]=>0000000
[3,7,2,8,1,6,4,5]=>0000000
[2,5,8,7,1,4,3,6]=>0000000
[3,4,6,5,8,2,7,1]=>0000000
[4,2,7,1,6,8,3,5]=>0000000
[5,2,8,6,4,7,1,3]=>0000000
[8,4,7,2,5,3,1,6]=>0000000
[8,3,4,5,2,1,7,6]=>0000000
[8,6,1,4,7,3,5,2]=>0000000
[5,3,6,7,2,8,4,1]=>0000000
[8,6,1,4,7,5,2,3]=>0000000
[1,5,8,2,6,7,4,3]=>1000000
[7,1,3,6,5,2,8,4]=>0000000
[8,2,1,4,5,7,6,3]=>0000000
[1,4,7,5,2,3,8,6]=>1000000
[6,1,7,5,4,2,8,3]=>0000000
[2,7,3,6,5,1,8,4]=>0000000
[8,6,5,1,3,7,4,2]=>0000000
[5,7,6,2,4,8,1,3]=>0000000
[3,7,5,6,4,8,1,2]=>0000000
[7,6,8,1,3,5,4,2]=>0000000
[2,8,4,6,1,7,5,3]=>0000000
[2,8,6,4,7,3,5,1]=>0000000
[8,7,1,4,6,5,3,2]=>0000000
[3,5,8,6,7,1,4,2]=>0000000
[1,2,4,6,8,5,3,7]=>1100000
[3,1,5,8,6,2,4,7]=>0000000
[2,5,4,6,8,1,3,7]=>0000000
[6,5,2,4,7,8,1,3]=>0000000
[7,2,5,8,6,4,1,3]=>0000000
[5,2,8,3,4,7,6,1]=>0000000
[2,4,3,8,7,1,6,5]=>0000000
[1,5,8,7,4,2,6,3]=>1000000
[6,8,7,5,4,3,1,2]=>0000000
[3,4,5,8,6,2,7,1]=>0000000
[5,1,7,4,3,6,8,2]=>0000000
[4,3,7,6,8,2,1,5]=>0000000
[6,1,8,5,2,7,3,4]=>0000000
[8,7,1,6,4,5,2,3]=>0000000
[5,4,1,3,7,2,8,6]=>0000000
[3,1,8,7,5,2,4,6]=>0000000
[6,5,8,7,2,4,3,1]=>0000000
[4,3,6,5,8,2,1,7]=>0000000
[4,7,3,1,8,5,2,6]=>0000000
[7,5,1,4,2,3,6,8]=>0000001
[7,8,6,1,2,4,5,3]=>0000000
[5,1,7,8,6,2,3,4]=>0000000
[8,5,1,6,7,2,3,4]=>0000000
[1,8,3,6,4,5,7,2]=>1000000
[7,1,6,2,5,3,4,8]=>0000001
[8,1,2,7,4,5,6,3]=>0000000
[7,1,8,2,5,3,4,6]=>0000000
[5,1,7,2,6,3,4,8]=>0000001
[1,6,3,7,4,5,8,2]=>1000000
[2,4,7,3,5,1,6,8]=>0000001
[2,4,8,6,3,5,1,7]=>0000000
[2,3,7,5,4,1,6,8]=>0000001
[3,4,6,2,1,5,8,7]=>0000010
[3,4,7,2,1,6,5,8]=>0000001
[2,3,6,1,5,8,4,7]=>0000000
[2,3,7,1,6,5,8,4]=>0000000
[2,4,7,1,3,6,8,5]=>0000000
[5,4,7,8,1,3,2,6]=>0000000
[2,5,7,1,4,6,3,8]=>0000001
[2,4,7,1,6,3,5,8]=>0000001
[2,3,7,1,6,5,4,8]=>0000001
[2,5,7,1,4,3,6,8]=>0000001
[2,5,7,3,1,4,6,8]=>0000001
[3,4,7,2,1,6,8,5]=>0000000
[4,6,3,7,1,5,2,8]=>0000001
[5,7,3,2,8,1,4,6]=>0000000
[2,6,5,7,1,8,4,3]=>0000000
[5,4,7,8,1,3,6,2]=>0000000
[2,5,7,1,4,6,8,3]=>0000000
[2,4,7,1,6,3,8,5]=>0000000
[2,4,7,1,6,8,3,5]=>0000000
[6,5,1,4,8,3,2,7]=>0000000
[8,7,5,1,4,2,3,6]=>0000000
[8,7,5,1,4,2,6,3]=>0000000
[4,2,5,7,3,1,6,8]=>0000001
[8,2,4,5,3,1,6,7]=>0000000
[8,4,5,1,3,2,6,7]=>0000000
[4,3,7,5,2,1,6,8]=>0000001
[1,6,7,4,3,2,5,8]=>1000001
[1,4,5,7,3,2,6,8]=>1000001
[3,5,1,4,7,2,6,8]=>0000001
[2,5,1,4,7,8,3,6]=>0000000
[4,3,7,1,5,2,6,8]=>0000001
[3,5,1,6,4,2,7,8]=>0000011
[6,4,3,1,7,2,5,8]=>0000001
[6,2,7,4,3,1,5,8]=>0000001
[2,6,4,1,7,3,5,8]=>0000001
[6,3,2,7,4,5,1,8]=>0000001
[7,2,4,1,3,6,8,5]=>0000000
[6,3,2,5,7,1,4,8]=>0000001
[3,2,6,5,7,1,4,8]=>0000001
[1,7,3,2,5,6,4,8]=>1000001
[2,1,7,3,5,6,8,4]=>0100000
[2,1,6,3,5,7,8,4]=>0100000
[1,6,3,2,5,7,4,8]=>1000001
[1,4,6,5,2,7,3,8]=>1000001
[5,6,2,1,4,3,7,8]=>0000011
[2,5,1,6,4,3,7,8]=>0000011
[2,5,4,1,6,3,7,8]=>0000011
[4,6,1,5,2,7,3,8]=>0000001
[1,6,5,3,7,2,4,8]=>1000001
[1,2,5,3,4,8,7,6]=>1100100
[5,8,2,6,1,7,4,3]=>0000000
[1,5,8,3,6,2,7,4]=>1000000
[1,2,6,4,7,3,8,5]=>1100000
[1,2,7,8,3,5,6,4]=>1100000
[2,6,1,8,5,4,3,7]=>0000000
[5,8,6,2,1,4,3,7]=>0000000
[4,5,8,6,2,1,3,7]=>0000000
[6,4,7,5,8,2,1,3]=>0000000
[4,2,8,5,3,6,1,7]=>0000000
[8,1,7,4,5,6,2,3]=>0000000
[2,1,7,8,4,5,6,3]=>0100000
[8,2,1,4,3,7,6,5]=>0000000
[7,6,5,3,1,2,8,4]=>0000000
[5,4,1,6,2,8,3,7]=>0000000
[6,2,3,1,7,8,4,5]=>0000000
[3,1,8,6,7,2,4,5]=>0000000
[4,5,3,7,1,6,8,2]=>0000000
[4,2,8,5,3,6,7,1]=>0000000
[3,5,2,8,6,4,7,1]=>0000000
[7,3,5,1,6,4,8,2]=>0000000
[5,1,4,7,2,6,8,3]=>0000000
[2,7,1,4,8,5,6,3]=>0000000
[8,3,7,6,2,1,5,4]=>0000000
[8,5,2,7,6,1,4,3]=>0000000
[5,8,2,7,6,1,4,3]=>0000000
[2,6,3,7,5,4,8,1]=>0000000
[2,8,5,1,4,7,3,6]=>0000000
[7,2,6,5,8,4,3,1]=>0000000
[6,1,3,4,2,5,7,8]=>0000011
[1,5,6,3,2,4,7,8]=>1000011
[6,3,5,2,4,1,7,8]=>0000011
[7,8,3,5,2,4,6,1]=>0000000
[2,4,5,7,3,6,1,8]=>0000001
[2,5,3,1,6,4,7,8]=>0000011
[6,5,1,3,4,2,7,8]=>0000011
[5,7,4,3,2,6,1,8]=>0000001
[6,8,7,4,3,5,1,2]=>0000000
[2,6,7,8,4,3,5,1]=>0000000
[1,7,8,4,5,3,6,2]=>1000000
[7,1,8,5,3,4,6,2]=>0000000
[5,7,4,2,1,6,3,8]=>0000001
[5,1,4,7,3,6,2,8]=>0000001
[7,4,8,6,3,5,2,1]=>0000000
[4,7,6,3,5,2,1,8]=>0000001
[1,6,5,8,7,4,2,3]=>1000000
[6,1,3,8,7,5,2,4]=>0000000
[7,6,2,1,8,3,5,4]=>0000000
[7,1,3,6,8,2,5,4]=>0000000
[1,7,5,6,8,2,4,3]=>1000000
[3,6,7,5,8,2,4,1]=>0000000
[1,7,4,5,2,8,6,3]=>1000000
[7,5,4,2,1,8,6,3]=>0000000
[3,6,7,4,2,8,5,1]=>0000000
[4,6,3,2,7,8,5,1]=>0000000
[7,6,1,3,4,2,5,8]=>0000001
[7,8,2,6,4,5,3,1]=>0000000
[7,2,5,4,6,1,3,8]=>0000001
[7,1,2,4,5,6,3,8]=>0000001
[7,3,2,1,5,6,4,8]=>0000001
[3,6,2,1,7,5,4,8]=>0000001
[2,6,7,3,1,5,4,8]=>0000001
[2,1,6,4,7,5,3,8]=>0100001
[7,2,8,5,6,4,3,1]=>0000000
[7,6,8,5,4,1,3,2]=>0000000
[7,1,8,4,6,5,3,2]=>0000000
[7,8,6,3,1,5,4,2]=>0000000
[7,6,1,4,5,3,2,8]=>0000001
[7,1,5,6,4,3,2,8]=>0000001
[5,6,3,2,8,1,7,4]=>0000000
[8,2,6,3,1,5,7,4]=>0000000
[8,2,5,3,4,7,6,1]=>0000000
[7,5,3,2,4,1,8,6]=>0000000
[7,1,2,3,6,8,4,5]=>0000000
[3,1,8,4,6,5,7,2]=>0000000
[8,1,6,7,4,2,3,5]=>0000000
[8,1,6,4,5,2,3,7]=>0000000
[8,6,4,1,2,3,7,5]=>0000000
[8,6,1,4,2,5,7,3]=>0000000
[8,6,4,1,5,7,2,3]=>0000000
[8,6,1,4,7,2,5,3]=>0000000
[8,6,4,1,5,2,3,7]=>0000000
[8,6,7,1,4,5,2,3]=>0000000
[3,4,7,5,8,2,6,1]=>0000000
[8,7,1,4,6,5,2,3]=>0000000
[8,3,7,6,4,5,1,2]=>0000000
[5,3,8,6,4,1,7,2]=>0000000
[6,4,7,1,8,5,2,3]=>0000000
[3,8,2,5,1,7,4,6]=>0000000
[4,8,5,2,1,7,3,6]=>0000000
[6,8,7,5,2,4,1,3]=>0000000
[8,6,4,1,7,3,2,5]=>0000000
[3,4,7,8,5,1,2,6]=>0000000
[4,7,3,2,5,6,8,1]=>0000000
[3,2,7,6,4,5,8,1]=>0000000
[1,7,3,6,8,4,2,5]=>1000000
[2,3,6,5,1,8,7,4]=>0000000
[8,3,1,2,6,4,7,5]=>0000000
[1,7,8,2,4,3,5,6]=>1000000
[3,6,4,7,1,2,8,5]=>0000000
[5,7,4,8,1,3,2,6]=>0000000
[4,3,7,8,1,5,2,6]=>0000000
[8,5,4,2,6,1,7,3]=>0000000
[3,2,6,8,7,4,1,5]=>0000000
[2,3,7,5,1,8,6,4]=>0000000
[6,3,1,2,8,7,4,5]=>0000000
[5,2,1,3,8,7,6,4]=>0000000
[7,2,1,5,3,8,4,6]=>0000000
[1,5,8,2,4,3,6,7]=>1000000
[4,3,6,8,1,5,2,7]=>0000000
[5,4,6,8,3,1,7,2]=>0000000
[3,6,8,4,5,1,7,2]=>0000000
[8,6,1,7,2,4,3,5]=>0000000
[7,3,1,2,8,6,4,5]=>0000000
[2,3,7,6,1,8,5,4]=>0000000
[3,2,7,8,6,4,1,5]=>0000000
[6,2,8,3,1,4,7,5]=>0000000
[3,1,2,8,7,4,5,6]=>0010000
[2,1,3,8,7,4,6,5]=>0110000
[2,1,3,8,7,4,5,6]=>0110000
[1,6,8,3,2,4,7,5]=>1000000
[8,5,1,7,2,4,3,6]=>0000000
[8,4,1,7,3,2,5,6]=>0000000
[8,3,1,6,2,7,5,4]=>0000000
[1,3,2,8,7,6,4,5]=>1010000
[2,1,3,8,7,6,4,5]=>0110000
[1,6,3,7,2,5,4,8]=>1000001
[1,7,2,4,6,3,5,8]=>1000001
[3,5,8,4,2,1,6,7]=>0000000
[2,5,8,3,1,4,6,7]=>0000000
[2,8,1,3,5,7,4,6]=>0000000
[3,4,8,5,7,1,2,6]=>0000000
[3,6,8,7,2,5,4,1]=>0000000
[2,4,6,7,8,3,5,1]=>0000000
[1,4,2,5,7,6,3,8]=>1000001
[1,4,2,6,8,5,3,7]=>1000000
[1,2,6,8,3,5,4,7]=>1100000
[1,6,8,3,5,4,2,7]=>1000000
[1,5,3,2,4,6,8,7]=>1000110
[1,5,8,7,6,3,2,4]=>1000000
[1,5,7,6,3,2,4,8]=>1000001
[1,6,3,2,4,7,5,8]=>1000001
[1,6,3,2,4,8,7,5]=>1000000
[1,2,7,6,4,3,5,8]=>1100001
[1,8,7,5,2,4,6,3]=>1000000
[1,7,5,2,4,6,3,8]=>1000001
[1,7,4,2,5,3,6,8]=>1000001
[1,8,4,7,5,2,6,3]=>1000000
[1,7,5,2,3,6,4,8]=>1000001
[1,7,5,2,6,3,4,8]=>1000001
[1,6,3,7,4,2,5,8]=>1000001
[1,6,3,2,7,5,4,8]=>1000001
[1,4,7,5,2,6,3,8]=>1000001
[1,3,6,4,8,7,5,2]=>1000000
[1,3,7,6,4,2,5,8]=>1000001
[1,3,2,4,8,5,7,6]=>1011000
[1,3,8,7,5,2,4,6]=>1000000
[1,4,6,3,2,7,5,8]=>1000001
[1,4,6,3,2,8,7,5]=>1000000
[1,5,7,6,4,2,3,8]=>1000001
[1,6,3,2,8,4,7,5]=>1000000
[1,6,3,5,2,7,4,8]=>1000001
[1,6,3,5,2,8,7,4]=>1000000
[1,8,3,7,5,2,4,6]=>1000000
[1,3,4,2,8,5,7,6]=>1001000
[3,2,1,4,8,5,7,6]=>0011000
[7,4,1,6,2,5,3,8]=>0000001
[5,4,1,8,2,6,3,7]=>0000000
[6,5,1,4,2,7,3,8]=>0000001
[1,8,7,3,4,5,2,6]=>1000000
[1,8,7,4,5,2,3,6]=>1000000
[1,2,6,8,7,3,4,5]=>1100000
[1,3,7,8,4,5,6,2]=>1000000
[6,4,2,1,8,5,3,7]=>0000000
[2,8,6,4,5,1,7,3]=>0000000
[2,6,3,1,7,4,8,5]=>0000000
[1,8,7,4,5,3,2,6]=>1000000
[2,8,3,1,4,5,7,6]=>0000000
[6,1,7,2,8,4,5,3]=>0000000
[8,3,2,1,5,6,7,4]=>0000000
[3,2,6,7,8,4,5,1]=>0000000
[4,5,3,1,8,7,6,2]=>0000000
[6,3,4,2,7,8,5,1]=>0000000
[5,1,8,4,3,7,2,6]=>0000000
[7,2,8,1,4,5,6,3]=>0000000
[8,1,6,7,2,5,4,3]=>0000000
[8,1,4,6,5,3,2,7]=>0000000
[8,1,4,7,6,5,2,3]=>0000000
[8,1,2,7,6,5,4,3]=>0000000
[3,2,8,6,1,5,7,4]=>0000000
[3,7,2,5,8,4,6,1]=>0000000
[6,7,8,4,1,5,2,3]=>0000000
[6,2,7,4,5,3,1,8]=>0000001
[6,1,8,7,4,5,2,3]=>0000000
[1,3,2,6,8,7,4,5]=>1010000
[1,3,8,2,5,4,6,7]=>1000000
[1,6,2,5,8,7,3,4]=>1000000
[1,6,8,7,2,3,5,4]=>1000000
[1,6,8,7,2,5,3,4]=>1000000
[1,5,2,4,8,3,6,7]=>1000000
[1,2,4,5,8,6,3,7]=>1100000
[1,2,8,3,5,4,7,6]=>1100000
[1,3,8,2,5,4,7,6]=>1000000
[1,6,7,5,2,4,8,3]=>1000000
[1,5,6,4,7,2,3,8]=>1000001
[1,7,4,2,5,8,3,6]=>1000000
[1,6,4,3,7,5,2,8]=>1000001
[1,6,5,4,7,2,3,8]=>1000001
[1,7,3,2,6,4,8,5]=>1000000
[1,5,8,2,3,6,7,4]=>1000000
[1,3,2,6,8,5,4,7]=>1010000
[1,6,3,2,7,4,5,8]=>1000001
[1,7,8,5,4,2,3,6]=>1000000
[1,8,4,2,3,6,5,7]=>1000000
[1,4,2,7,5,3,8,6]=>1000000
[1,5,7,6,2,4,3,8]=>1000001
[1,8,4,7,3,2,6,5]=>1000000
[1,3,8,4,2,6,5,7]=>1000000
[1,7,4,2,6,5,8,3]=>1000000
[1,6,5,8,3,7,4,2]=>1000000
[1,7,4,8,3,2,5,6]=>1000000
[1,4,8,3,2,7,5,6]=>1000000
[1,8,3,6,4,5,2,7]=>1000000
[1,6,4,7,3,2,8,5]=>1000000
[7,6,3,2,1,8,4,5]=>0000000
[7,1,6,5,4,3,8,2]=>0000000
[5,1,7,3,8,6,2,4]=>0000000
[3,2,5,8,7,4,1,6]=>0000000
[4,2,5,8,7,3,1,6]=>0000000
[8,3,4,1,6,5,2,7]=>0000000
[3,4,8,5,7,2,1,6]=>0000000
[3,6,4,8,5,7,2,1]=>0000000
[5,8,4,7,3,6,2,1]=>0000000
[4,2,8,7,3,1,6,5]=>0000000
[6,5,8,2,1,7,4,3]=>0000000
[6,1,4,3,8,7,2,5]=>0000000
[5,1,3,2,6,8,7,4]=>0000000
[6,1,3,8,7,2,4,5]=>0000000
[1,2,8,4,5,7,3,6]=>1100000
[4,2,1,8,7,6,3,5]=>0000000
[3,2,5,8,7,1,4,6]=>0000000
[5,6,3,8,7,2,1,4]=>0000000
[2,5,8,4,7,1,6,3]=>0000000
[1,6,2,4,8,5,7,3]=>1000000
[3,1,6,5,8,7,2,4]=>0000000
[4,8,5,3,6,7,1,2]=>0000000
[1,8,5,3,4,7,6,2]=>1000000
[2,7,1,3,6,4,5,8]=>0000001
[3,2,4,8,5,7,1,6]=>0000000
[8,1,2,4,7,5,6,3]=>0000000
[6,4,5,8,3,1,7,2]=>0000000
[4,6,2,8,5,3,7,1]=>0000000
[8,7,2,4,1,5,3,6]=>0000000
[7,5,3,4,8,6,2,1]=>0000000
[4,3,6,5,1,2,7,8]=>0000011
[5,8,3,7,6,4,2,1]=>0000000
[1,3,8,7,6,5,2,4]=>1000000
[1,8,7,2,6,3,5,4]=>1000000
[8,7,2,1,4,3,5,6]=>0000000
[2,8,7,1,6,3,4,5]=>0000000
[4,2,8,7,6,5,1,3]=>0000000
[1,2,5,7,4,8,6,3]=>1100000
[6,2,1,8,7,5,3,4]=>0000000
[2,8,3,4,1,5,6,7]=>0000000
[1,3,7,5,4,8,6,2]=>1000000
[1,5,6,3,8,4,2,7]=>1000000
[2,6,5,3,8,4,1,7]=>0000000
[5,7,3,8,4,2,6,1]=>0000000
[5,3,6,2,8,4,1,7]=>0000000
[2,3,6,5,4,8,1,7]=>0000000
[5,3,7,1,2,8,4,6]=>0000000
[6,3,8,7,2,5,4,1]=>0000000
[8,1,4,6,7,5,2,3]=>0000000
[6,4,8,1,2,7,5,3]=>0000000
[8,2,1,6,7,4,5,3]=>0000000
[4,2,8,1,6,7,5,3]=>0000000
[4,8,2,1,6,7,5,3]=>0000000
[8,2,4,6,1,7,5,3]=>0000000
[4,6,1,3,2,8,7,5]=>0000000
[7,1,4,8,2,3,6,5]=>0000000
[4,5,3,6,7,1,8,2]=>0000000
[1,4,7,8,3,5,2,6]=>1000000
[4,6,1,3,5,2,8,7]=>0000010
[2,5,1,4,8,3,7,6]=>0000000
[6,1,2,5,4,8,7,3]=>0000000
[8,4,1,2,5,7,3,6]=>0000000
[2,4,5,6,8,3,1,7]=>0000000
[3,4,5,8,6,2,1,7]=>0000000
[8,3,7,2,1,6,5,4]=>0000000
[8,4,7,6,2,5,1,3]=>0000000
[8,4,7,3,6,2,1,5]=>0000000
[3,8,7,5,6,4,1,2]=>0000000
[3,8,7,5,6,2,1,4]=>0000000
[3,8,7,5,6,2,4,1]=>0000000
[2,8,7,5,6,4,1,3]=>0000000
[1,5,6,3,8,2,7,4]=>1000000
[2,6,3,8,4,7,1,5]=>0000000
[2,6,3,5,7,8,1,4]=>0000000
[1,5,6,3,7,2,8,4]=>1000000
[1,7,5,3,6,2,8,4]=>1000000
[1,5,7,3,4,2,8,6]=>1000000
[1,5,8,3,4,2,7,6]=>1000000
[1,4,5,3,7,2,8,6]=>1000000
[1,4,5,3,8,2,7,6]=>1000000
[6,5,1,4,2,7,8,3]=>0000000
[6,5,1,4,2,8,7,3]=>0000000
[1,7,5,4,2,8,6,3]=>1000000
[1,4,8,2,6,5,3,7]=>1000000
[7,5,1,8,3,4,2,6]=>0000000
[1,2,5,6,8,7,3,4]=>1100000
[2,6,7,3,4,1,8,5]=>0000000
[1,6,5,7,8,2,4,3]=>1000000
[1,3,7,2,6,4,8,5]=>1000000
[1,6,5,8,7,2,4,3]=>1000000
[3,6,5,8,1,2,7,4]=>0000000
[5,4,7,8,1,6,3,2]=>0000000
[2,5,6,8,1,3,7,4]=>0000000
[5,3,6,8,1,2,7,4]=>0000000
[4,6,5,8,3,2,7,1]=>0000000
[4,5,6,8,2,3,7,1]=>0000000
[2,5,8,7,1,6,4,3]=>0000000
[4,7,5,8,3,6,2,1]=>0000000
[7,3,6,8,5,2,1,4]=>0000000
[8,3,6,7,5,2,4,1]=>0000000
[8,4,5,7,3,6,2,1]=>0000000
[2,4,7,8,5,6,3,1]=>0000000
[3,6,8,7,5,2,4,1]=>0000000
[6,4,7,8,5,1,3,2]=>0000000
[7,8,4,6,5,3,1,2]=>0000000
[6,8,4,7,5,1,3,2]=>0000000
[7,6,1,2,3,5,4,8]=>0000001
[2,8,7,5,1,6,3,4]=>0000000
[8,7,6,4,2,1,5,3]=>0000000
[3,8,7,5,2,6,4,1]=>0000000
[3,8,7,5,1,2,6,4]=>0000000
[5,3,8,2,4,6,1,7]=>0000000
[4,5,8,3,2,6,1,7]=>0000000
[5,8,2,1,4,6,3,7]=>0000000
[4,1,5,8,3,6,2,7]=>0000000
[4,5,8,3,6,1,2,7]=>0000000
[3,2,7,1,8,5,4,6]=>0000000
[4,7,8,5,2,3,1,6]=>0000000
[6,2,7,8,1,5,3,4]=>0000000
[2,6,7,8,4,1,3,5]=>0000000
[2,6,7,8,4,3,1,5]=>0000000
[8,1,2,6,5,3,7,4]=>0000000
[8,5,4,6,1,2,7,3]=>0000000
[7,4,1,8,2,5,3,6]=>0000000
[8,4,5,3,1,6,7,2]=>0000000
[8,2,3,1,6,7,4,5]=>0000000
[8,2,1,7,4,3,5,6]=>0000000
[3,7,5,8,2,4,6,1]=>0000000
[3,5,6,8,4,7,1,2]=>0000000
[6,2,8,4,5,3,7,1]=>0000000
[4,7,3,1,8,6,2,5]=>0000000
[7,2,5,8,1,3,6,4]=>0000000
[6,1,2,4,5,7,8,3]=>0000000
[3,6,4,5,2,8,1,7]=>0000000
[8,1,5,4,7,3,6,2]=>0000000
[7,6,5,4,1,8,2,3]=>0000000
[8,1,5,4,7,6,3,2]=>0000000
[2,5,1,4,6,7,3,8]=>0000001
[7,6,5,2,8,4,1,3]=>0000000
[3,1,6,5,2,8,7,4]=>0000000
[1,7,2,4,3,5,8,6]=>1000000
[3,8,1,7,4,2,6,5]=>0000000
[8,1,7,4,3,5,6,2]=>0000000
[6,8,2,4,5,3,7,1]=>0000000
[4,8,5,3,6,1,7,2]=>0000000
[2,7,3,1,8,4,5,6]=>0000000
[1,2,8,3,5,6,4,7]=>1100000
[3,5,7,4,8,1,6,2]=>0000000
[1,5,2,8,6,4,3,7]=>1000000
[7,4,8,6,3,1,2,5]=>0000000
[3,6,8,4,1,2,5,7]=>0000000
[4,7,8,5,2,1,3,6]=>0000000
[6,1,5,2,8,7,3,4]=>0000000
[8,1,3,5,7,4,2,6]=>0000000
[3,1,8,5,4,7,2,6]=>0000000
[3,1,6,4,8,5,2,7]=>0000000
[5,1,3,4,2,6,8,7]=>0000110
[3,2,6,4,1,5,7,8]=>0000011
[5,4,2,1,8,3,6,7]=>0000000
[4,2,5,1,8,7,3,6]=>0000000
[6,8,2,7,1,4,3,5]=>0000000
[1,8,4,7,3,2,5,6]=>1000000
[8,6,3,1,5,7,2,4]=>0000000
[5,8,3,1,4,7,6,2]=>0000000
[1,2,5,4,7,8,3,6]=>1100000
[1,8,3,2,6,4,7,5]=>1000000
[4,7,1,2,5,3,6,8]=>0000001
[6,8,4,1,3,7,2,5]=>0000000
[3,2,6,1,7,8,5,4]=>0000000
[7,6,4,1,8,3,5,2]=>0000000
[5,4,1,6,7,3,2,8]=>0000001
[7,4,1,6,5,8,2,3]=>0000000
[8,5,4,1,6,7,3,2]=>0000000
[1,3,4,8,5,2,6,7]=>1000000
[7,3,1,4,2,5,8,6]=>0000000
[3,2,5,7,8,4,1,6]=>0000000
[8,6,3,5,4,1,2,7]=>0000000
[8,3,2,6,1,5,4,7]=>0000000
[8,5,1,7,4,6,2,3]=>0000000
[4,8,1,7,6,3,5,2]=>0000000
[8,5,1,7,4,3,6,2]=>0000000
[8,5,7,6,2,1,3,4]=>0000000
[5,4,8,3,1,7,2,6]=>0000000
[5,1,4,8,3,2,7,6]=>0000000
[4,8,1,7,6,5,2,3]=>0000000
[4,3,8,7,2,6,1,5]=>0000000
[3,8,7,2,6,4,1,5]=>0000000
[8,2,5,7,4,3,6,1]=>0000000
[3,8,7,4,6,1,2,5]=>0000000
[8,7,6,3,5,4,1,2]=>0000000
[2,8,4,7,6,1,5,3]=>0000000
[2,5,4,8,3,1,7,6]=>0000000
[5,4,8,2,1,3,7,6]=>0000000
[3,8,7,2,6,1,5,4]=>0000000
[1,8,4,7,6,3,5,2]=>1000000
[1,8,3,7,6,5,2,4]=>1000000
[1,4,3,8,7,2,6,5]=>1000000
[7,1,5,4,6,2,3,8]=>0000001
[7,4,1,3,6,2,5,8]=>0000001
[5,4,3,1,7,6,2,8]=>0000001
[2,5,4,8,1,7,3,6]=>0000000
[7,5,2,4,8,3,6,1]=>0000000
[7,8,2,6,3,5,4,1]=>0000000
[7,2,6,5,8,3,4,1]=>0000000
[5,6,3,1,4,2,7,8]=>0000011
[2,6,5,3,4,8,7,1]=>0000000
[2,6,1,5,3,4,7,8]=>0000011
[3,4,7,8,5,1,6,2]=>0000000
[3,6,2,4,7,8,5,1]=>0000000
[5,3,6,4,8,7,2,1]=>0000000
[1,5,4,8,6,2,7,3]=>1000000
[4,5,2,7,6,3,8,1]=>0000000
[5,8,3,1,2,7,6,4]=>0000000
[8,4,6,1,3,7,2,5]=>0000000
[4,8,5,1,2,3,6,7]=>0000000
[4,5,1,3,8,6,2,7]=>0000000
[7,4,2,3,6,8,5,1]=>0000000
[7,8,1,3,6,4,5,2]=>0000000
[7,2,6,8,4,5,3,1]=>0000000
[7,3,6,8,5,1,4,2]=>0000000
[7,5,8,1,6,2,4,3]=>0000000
[5,7,8,1,6,3,2,4]=>0000000
[7,2,6,8,5,1,4,3]=>0000000
[7,5,2,4,8,3,1,6]=>0000000
[7,8,3,1,6,2,5,4]=>0000000
[6,7,8,4,3,1,5,2]=>0000000
[7,8,3,6,4,1,5,2]=>0000000
[7,3,8,1,6,4,5,2]=>0000000
[1,7,5,8,2,4,6,3]=>1000000
[7,5,2,8,1,4,6,3]=>0000000
[3,7,8,2,6,5,1,4]=>0000000
[3,7,8,2,1,6,4,5]=>0000000
[7,8,1,6,3,5,4,2]=>0000000
[6,7,8,2,5,4,3,1]=>0000000
[6,7,8,3,1,5,4,2]=>0000000
[7,8,1,6,2,5,4,3]=>0000000
[5,6,1,4,3,8,2,7]=>0000000
[5,1,6,8,3,4,7,2]=>0000000
[7,1,6,8,5,4,3,2]=>0000000
[5,6,8,1,2,3,7,4]=>0000000
[4,8,1,2,7,6,5,3]=>0000000
[6,4,7,3,5,2,1,8]=>0000001
[3,1,6,2,5,7,8,4]=>0000000
[1,6,4,5,2,7,3,8]=>1000001
[6,2,1,4,5,3,7,8]=>0000011
[6,2,1,5,7,3,4,8]=>0000001
[1,2,4,6,8,3,7,5]=>1100000
[6,1,3,7,2,8,5,4]=>0000000
[6,4,5,8,3,7,1,2]=>0000000
[2,6,8,4,3,1,7,5]=>0000000
[8,1,5,2,6,4,3,7]=>0000000
[1,6,7,4,2,8,3,5]=>1000000
[1,7,8,4,3,6,2,5]=>1000000
[1,4,7,2,3,6,8,5]=>1000000
[3,1,2,6,7,8,5,4]=>0010000
[1,6,3,4,7,8,2,5]=>1000000
[3,1,5,7,6,2,8,4]=>0000000
[6,3,1,4,2,7,8,5]=>0000000
[2,4,3,7,6,1,8,5]=>0000000
[3,1,7,6,5,2,8,4]=>0000000
[1,4,7,6,8,3,2,5]=>1000000
[7,2,1,5,6,3,8,4]=>0000000
[4,3,1,8,6,2,7,5]=>0000000
[3,1,5,2,8,7,6,4]=>0000000
[1,2,8,4,3,7,6,5]=>1100000
[2,6,1,8,7,4,3,5]=>0000000
[7,5,1,8,3,2,6,4]=>0000000
[4,7,6,3,1,8,2,5]=>0000000
[5,3,1,8,6,2,4,7]=>0000000
[5,1,8,6,3,2,4,7]=>0000000
[1,5,4,2,8,6,3,7]=>1000000
[1,4,2,8,5,3,7,6]=>1000000
[8,3,1,6,4,2,5,7]=>0000000
[1,7,4,8,3,5,2,6]=>1000000
[7,3,2,4,8,5,1,6]=>0000000
[5,7,8,1,4,2,6,3]=>0000000
[2,6,3,8,1,7,5,4]=>0000000
[2,5,1,8,6,3,7,4]=>0000000
[2,8,6,4,1,7,3,5]=>0000000
[1,8,4,2,7,5,3,6]=>1000000
[6,5,1,7,2,8,4,3]=>0000000
[2,8,1,7,5,3,6,4]=>0000000
[1,2,8,7,6,4,3,5]=>1100000
[4,3,5,7,1,6,2,8]=>0000001
[4,1,8,5,3,6,2,7]=>0000000
[6,4,2,5,3,1,7,8]=>0000011
[3,1,5,8,2,7,4,6]=>0000000
[6,4,1,5,3,2,7,8]=>0000011
[6,2,1,5,4,3,7,8]=>0000011
[3,1,8,5,4,6,2,7]=>0000000
[6,1,8,4,5,3,2,7]=>0000000
[4,5,2,7,1,6,3,8]=>0000001
[4,3,5,7,1,6,8,2]=>0000000
[4,1,8,5,3,6,7,2]=>0000000
[6,3,8,4,5,1,7,2]=>0000000
[3,1,6,8,5,7,4,2]=>0000000
[2,6,1,8,5,7,4,3]=>0000000
[6,3,8,4,5,2,1,7]=>0000000
[6,5,8,7,2,3,4,1]=>0000000
[6,3,8,4,5,2,7,1]=>0000000
[2,1,6,8,5,3,7,4]=>0100000
[3,2,6,8,5,4,7,1]=>0000000
[4,1,8,5,2,6,3,7]=>0000000
[3,1,6,8,5,2,4,7]=>0000000
[6,5,8,7,4,1,2,3]=>0000000
[6,5,8,7,4,2,1,3]=>0000000
[6,5,8,7,2,4,1,3]=>0000000
[6,2,8,4,5,7,1,3]=>0000000
[6,1,8,4,5,7,3,2]=>0000000
[4,2,7,3,5,8,6,1]=>0000000
[3,6,2,4,8,5,7,1]=>0000000
[3,5,1,8,4,7,6,2]=>0000000
[3,6,1,8,5,4,7,2]=>0000000
[2,4,8,3,7,6,5,1]=>0000000
[3,6,8,2,5,7,4,1]=>0000000
[2,6,8,5,4,3,7,1]=>0000000
[3,6,8,2,5,4,7,1]=>0000000
[4,6,8,3,2,5,7,1]=>0000000
[4,6,2,8,3,5,7,1]=>0000000
[3,6,1,8,5,7,4,2]=>0000000
[5,2,6,8,4,1,7,3]=>0000000
[3,5,8,2,7,4,6,1]=>0000000
[2,6,8,5,7,4,3,1]=>0000000
[2,4,8,7,6,3,5,1]=>0000000
[7,5,1,6,3,2,8,4]=>0000000
[2,7,6,3,4,1,8,5]=>0000000
[4,8,2,1,7,5,6,3]=>0000000
[1,5,4,8,6,2,3,7]=>1000000
[8,2,1,6,7,3,5,4]=>0000000
[6,2,8,1,7,5,3,4]=>0000000
[3,5,1,8,7,6,2,4]=>0000000
[5,6,2,7,8,1,3,4]=>0000000
[3,2,5,6,8,4,7,1]=>0000000
[2,5,6,4,8,3,7,1]=>0000000
[4,2,5,7,3,8,1,6]=>0000000
[4,7,3,1,6,8,2,5]=>0000000
[4,2,7,6,8,1,3,5]=>0000000
[1,7,4,6,8,3,2,5]=>1000000
[4,7,2,5,6,3,1,8]=>0000001
[5,4,1,3,7,8,2,6]=>0000000
[6,1,5,8,3,7,2,4]=>0000000
[4,5,2,1,7,8,3,6]=>0000000
[2,3,7,8,5,1,6,4]=>0000000
[1,2,6,7,4,3,5,8]=>1100001
[6,8,2,7,5,3,1,4]=>0000000
[6,3,2,5,8,4,1,7]=>0000000
[5,6,7,2,8,4,1,3]=>0000000
[5,8,3,6,4,1,7,2]=>0000000
[3,2,5,8,4,7,1,6]=>0000000
[2,5,8,1,3,4,7,6]=>0000000
[3,5,1,8,7,4,2,6]=>0000000
[5,1,7,8,3,2,4,6]=>0000000
[3,1,7,6,2,8,5,4]=>0000000
[5,3,6,7,4,2,8,1]=>0000000
[5,4,2,8,6,7,3,1]=>0000000
[6,1,4,2,8,7,3,5]=>0000000
[3,7,2,6,8,4,5,1]=>0000000
[4,6,5,2,7,8,3,1]=>0000000
[5,4,6,2,7,8,3,1]=>0000000
[2,1,7,6,8,4,5,3]=>0100000
[6,4,7,2,8,3,1,5]=>0000000
[4,7,3,1,5,2,8,6]=>0000000
[2,4,7,3,8,5,1,6]=>0000000
[2,7,3,1,8,5,4,6]=>0000000
[1,2,6,8,3,4,7,5]=>1100000
[1,6,3,5,7,4,8,2]=>1000000
[1,5,4,7,2,8,3,6]=>1000000
[3,8,5,2,6,1,7,4]=>0000000
[3,7,4,8,5,2,6,1]=>0000000
[6,8,7,1,3,4,2,5]=>0000000
[3,4,2,8,6,7,5,1]=>0000000
[3,6,1,5,2,7,8,4]=>0000000
[7,1,6,8,3,4,2,5]=>0000000
[6,2,8,4,7,1,3,5]=>0000000
[6,8,2,7,5,4,1,3]=>0000000
[1,8,4,3,7,6,2,5]=>1000000
[4,3,8,7,1,2,6,5]=>0000000
[1,8,4,5,7,6,2,3]=>1000000
[4,3,8,5,7,1,6,2]=>0000000
[6,3,4,8,7,2,1,5]=>0000000
[5,3,8,4,7,1,6,2]=>0000000
[5,2,8,7,1,4,6,3]=>0000000
[3,2,8,7,1,6,4,5]=>0000000
[2,7,8,3,1,6,4,5]=>0000000
[2,7,8,5,1,4,6,3]=>0000000
[3,5,8,7,4,1,6,2]=>0000000
[7,4,6,8,3,5,1,2]=>0000000
[2,7,8,1,3,6,4,5]=>0000000
[2,7,8,1,5,4,6,3]=>0000000
[2,7,8,1,4,5,6,3]=>0000000
[3,6,7,8,2,4,1,5]=>0000000
[4,5,7,8,6,3,1,2]=>0000000
[5,4,6,8,7,3,1,2]=>0000000
[4,5,8,6,7,1,3,2]=>0000000
[5,7,6,8,2,1,3,4]=>0000000
[3,7,6,8,2,4,1,5]=>0000000
[5,4,7,8,6,3,1,2]=>0000000
[4,5,7,8,2,6,1,3]=>0000000
[4,5,6,8,7,3,1,2]=>0000000
[6,1,5,3,8,4,7,2]=>0000000
[1,8,6,2,5,4,7,3]=>1000000
[3,8,4,1,7,5,2,6]=>0000000
[6,2,7,4,8,3,1,5]=>0000000
[2,8,5,1,4,3,7,6]=>0000000
[6,8,2,7,5,1,4,3]=>0000000
[5,3,6,4,7,2,1,8]=>0000001
[4,2,6,5,7,3,1,8]=>0000001
[5,4,6,2,7,3,1,8]=>0000001
[3,2,6,5,8,4,1,7]=>0000000
[3,2,6,5,8,7,1,4]=>0000000
[4,2,6,5,8,7,1,3]=>0000000
[5,2,6,4,8,7,1,3]=>0000000
[5,4,7,6,8,2,1,3]=>0000000
[6,4,7,5,8,3,1,2]=>0000000
[4,2,7,5,8,6,1,3]=>0000000
[3,2,7,5,8,4,1,6]=>0000000
[4,3,7,2,8,5,1,6]=>0000000
[4,3,6,2,8,5,1,7]=>0000000
[4,3,7,6,8,5,1,2]=>0000000
[5,3,7,6,8,2,1,4]=>0000000
[5,3,7,2,8,6,1,4]=>0000000
[3,2,6,4,8,7,1,5]=>0000000
[4,2,7,3,8,6,1,5]=>0000000
[5,2,7,6,8,3,1,4]=>0000000
[3,2,7,6,8,4,1,5]=>0000000
[3,2,7,6,8,5,1,4]=>0000000
[6,2,7,5,8,4,1,3]=>0000000
[6,7,1,3,2,5,8,4]=>0000000
[8,7,6,4,1,5,3,2]=>0000000
[7,2,5,3,4,8,1,6]=>0000000
[5,3,6,2,4,1,8,7]=>0000010
[5,8,2,6,3,7,4,1]=>0000000
[4,8,2,3,7,5,6,1]=>0000000
[4,5,3,7,1,2,6,8]=>0000001
[8,5,6,4,1,3,2,7]=>0000000
[6,7,2,8,4,3,1,5]=>0000000
[6,7,3,2,8,4,1,5]=>0000000
[4,7,8,3,1,5,2,6]=>0000000
[4,5,8,1,3,2,6,7]=>0000000
[4,7,8,1,6,3,2,5]=>0000000
[4,7,1,3,8,6,5,2]=>0000000
[5,7,2,8,3,4,6,1]=>0000000
[3,7,2,8,5,6,4,1]=>0000000
[3,1,5,8,6,4,7,2]=>0000000
[2,5,6,1,8,7,3,4]=>0000000
[3,6,2,8,4,7,5,1]=>0000000
[2,3,8,6,7,5,4,1]=>0000000
[5,7,8,3,4,6,2,1]=>0000000
[3,5,1,8,6,4,2,7]=>0000000
[7,5,3,8,6,4,2,1]=>0000000
[1,5,8,3,6,4,2,7]=>1000000
[1,5,8,6,3,4,2,7]=>1000000
[3,7,5,8,2,6,4,1]=>0000000
[5,7,8,1,4,6,2,3]=>0000000
[1,3,7,8,4,2,6,5]=>1000000
[1,4,6,5,7,2,3,8]=>1000001
[8,1,6,7,3,5,4,2]=>0000000
[7,2,4,1,6,5,3,8]=>0000001
[1,3,2,6,8,4,7,5]=>1010000
[8,1,7,5,4,2,6,3]=>0000000
[1,2,6,4,7,3,5,8]=>1100001
[1,6,4,3,7,2,5,8]=>1000001
[8,4,5,1,3,7,6,2]=>0000000
[8,6,4,3,7,1,5,2]=>0000000
[3,1,6,5,7,8,4,2]=>0000000
[1,7,2,5,6,8,4,3]=>1000000
[4,7,6,8,3,1,5,2]=>0000000
[3,5,4,7,1,8,6,2]=>0000000
[6,1,3,8,4,5,2,7]=>0000000
[4,1,5,7,6,3,2,8]=>0000001
[4,5,1,7,6,3,2,8]=>0000001
[1,4,2,6,7,8,5,3]=>1000000
[1,4,2,5,6,8,7,3]=>1000000
[1,8,6,2,4,3,5,7]=>1000000
[3,2,4,5,7,8,1,6]=>0000000
[6,5,2,8,7,4,3,1]=>0000000
[7,8,5,4,2,1,6,3]=>0000000
[7,5,2,8,6,4,3,1]=>0000000
[7,8,3,2,6,5,4,1]=>0000000
[8,6,7,2,5,3,1,4]=>0000000
[1,6,2,7,8,4,5,3]=>1000000
[1,6,8,2,7,5,3,4]=>1000000
[5,1,7,4,3,8,6,2]=>0000000
[8,6,3,7,2,4,1,5]=>0000000
[1,7,8,6,4,2,3,5]=>1000000
[7,2,8,6,4,1,3,5]=>0000000
[1,5,3,7,4,2,6,8]=>1000001
[1,7,6,4,3,2,8,5]=>1000000
[1,5,4,2,3,8,7,6]=>1000100
[1,5,4,2,3,7,8,6]=>1000100
[1,2,7,6,3,5,8,4]=>1100000
[3,2,7,5,6,1,8,4]=>0000000
[7,4,5,1,6,3,8,2]=>0000000
[3,2,6,4,8,5,7,1]=>0000000
[7,2,8,1,6,3,5,4]=>0000000
[8,3,6,5,4,1,2,7]=>0000000
[1,7,5,8,4,6,3,2]=>1000000
[6,5,7,1,2,8,3,4]=>0000000
[7,1,4,2,3,8,6,5]=>0000000
[8,1,2,5,3,7,6,4]=>0000000
[3,6,5,2,4,1,7,8]=>0000011
[6,8,5,2,4,3,1,7]=>0000000
[4,6,7,2,5,1,8,3]=>0000000
[3,6,2,5,1,7,8,4]=>0000000
[5,8,1,4,3,6,7,2]=>0000000
[7,2,3,8,6,4,1,5]=>0000000
[5,2,3,8,7,4,1,6]=>0000000
[4,6,2,7,8,1,3,5]=>0000000
[6,2,3,7,1,4,5,8]=>0000001
[4,6,7,8,2,1,3,5]=>0000000
[6,1,3,4,2,5,8,7]=>0000010
[1,5,7,6,8,2,4,3]=>1000000
[5,7,1,3,8,4,2,6]=>0000000
[2,6,1,4,3,7,8,5]=>0000000
[1,6,2,4,3,5,8,7]=>1000010
[5,3,7,6,1,8,4,2]=>0000000
[1,5,6,3,7,8,4,2]=>1000000
[7,3,5,6,1,8,4,2]=>0000000
[7,3,6,1,5,8,4,2]=>0000000
[1,6,3,7,8,5,4,2]=>1000000
[1,7,8,6,3,5,4,2]=>1000000
[3,7,5,6,1,8,4,2]=>0000000
[7,3,5,4,1,2,6,8]=>0000001
[7,8,5,1,3,2,4,6]=>0000000
[7,1,3,8,2,5,4,6]=>0000000
[3,1,5,4,7,2,6,8]=>0000001
[1,6,3,7,2,4,5,8]=>1000001
[5,3,2,4,8,1,7,6]=>0000000
[6,8,5,3,2,7,1,4]=>0000000
[8,3,7,2,6,5,1,4]=>0000000
[3,5,1,4,7,2,8,6]=>0000000
[6,1,3,4,2,7,8,5]=>0000000
[6,5,2,3,7,8,1,4]=>0000000
[1,5,3,8,4,2,7,6]=>1000000
[5,4,2,1,8,3,7,6]=>0000000
[3,1,7,4,2,6,8,5]=>0000000
[8,1,7,3,2,5,6,4]=>0000000
[3,1,6,8,4,2,7,5]=>0000000
[4,5,1,2,7,8,6,3]=>0000000
[2,8,4,6,3,1,5,7]=>0000000
[1,7,8,6,3,4,2,5]=>1000000
[1,7,3,8,6,4,2,5]=>1000000
[7,8,1,5,6,4,2,3]=>0000000
[7,1,5,8,6,4,2,3]=>0000000
[8,1,3,5,6,4,2,7]=>0000000
[1,3,8,5,6,4,2,7]=>1000000
[1,3,5,8,6,4,2,7]=>1000000
[1,5,7,8,6,4,2,3]=>1000000
[8,1,3,5,6,7,2,4]=>0000000
[6,8,7,5,2,1,4,3]=>0000000
[1,2,8,6,4,5,3,7]=>1100000
[1,4,7,8,5,6,3,2]=>1000000
[1,6,4,8,5,7,3,2]=>1000000
[1,6,8,5,2,7,3,4]=>1000000
[1,3,4,8,5,2,7,6]=>1000000
[3,5,8,7,6,2,4,1]=>0000000
[6,5,3,7,4,1,8,2]=>0000000
[3,1,5,4,6,8,7,2]=>0000000
[3,1,6,4,2,5,8,7]=>0000010
[3,6,1,4,5,7,8,2]=>0000000
[1,8,4,7,2,3,6,5]=>1000000
[5,7,8,2,4,6,1,3]=>0000000
[5,4,2,3,6,8,1,7]=>0000000
[3,8,1,6,4,2,5,7]=>0000000
[7,3,2,1,8,6,4,5]=>0000000
[8,7,2,4,1,3,6,5]=>0000000
[8,2,6,3,5,7,1,4]=>0000000
[1,8,3,7,4,6,5,2]=>1000000
[8,2,3,1,7,4,5,6]=>0000000
[3,1,7,8,6,2,5,4]=>0000000
[4,8,1,2,6,5,7,3]=>0000000
[5,6,1,8,3,7,2,4]=>0000000
[2,8,1,6,5,3,7,4]=>0000000
[2,1,5,7,6,3,8,4]=>0100000
[4,1,2,5,7,6,8,3]=>0000000
[4,3,5,1,7,8,6,2]=>0000000
[1,8,5,2,3,4,7,6]=>1000000
[1,5,8,2,3,4,7,6]=>1000000
[1,2,7,8,4,5,6,3]=>1100000
[4,3,8,7,6,2,5,1]=>0000000
[5,4,8,2,7,6,3,1]=>0000000
[2,3,6,1,7,5,8,4]=>0000000
[4,6,5,2,1,7,8,3]=>0000000
[3,5,6,2,1,4,7,8]=>0000011
[4,3,6,5,1,7,8,2]=>0000000
[4,6,5,3,1,7,8,2]=>0000000
[5,8,1,4,2,3,6,7]=>0000000
[4,5,8,2,3,1,6,7]=>0000000
[3,5,4,8,1,7,2,6]=>0000000
[5,3,6,8,1,4,7,2]=>0000000
[3,5,1,8,6,4,7,2]=>0000000
[4,7,2,8,3,1,6,5]=>0000000
[1,2,5,6,8,3,7,4]=>1100000
[5,3,8,4,6,2,7,1]=>0000000
[7,4,8,1,5,2,6,3]=>0000000
[8,3,2,1,6,5,7,4]=>0000000
[4,1,5,6,8,7,2,3]=>0000000
[1,2,5,6,8,4,7,3]=>1100000
[1,5,6,8,4,7,2,3]=>1000000
[5,6,8,1,2,4,7,3]=>0000000
[6,8,1,4,5,7,2,3]=>0000000
[4,3,5,1,8,6,7,2]=>0000000
[1,3,5,6,8,4,7,2]=>1000000
[5,6,8,2,3,4,7,1]=>0000000
[6,5,1,2,4,8,7,3]=>0000000
[5,8,7,2,1,3,6,4]=>0000000
[5,1,7,2,8,6,3,4]=>0000000
[6,1,5,3,4,8,7,2]=>0000000
[5,8,6,3,2,1,4,7]=>0000000
[8,7,1,6,3,5,4,2]=>0000000
[3,2,1,7,8,6,4,5]=>0010000
[8,6,7,1,2,5,3,4]=>0000000
[1,5,6,4,2,8,7,3]=>1000000
[7,5,1,4,8,2,3,6]=>0000000
[3,2,8,1,7,5,6,4]=>0000000
[8,4,3,1,7,5,6,2]=>0000000
[6,1,7,8,4,2,3,5]=>0000000
[7,4,3,1,8,5,2,6]=>0000000
[7,8,1,6,3,4,5,2]=>0000000
[6,8,1,7,3,4,2,5]=>0000000
[4,6,5,3,8,2,7,1]=>0000000
[6,3,7,5,2,4,1,8]=>0000001
[7,8,1,5,6,4,3,2]=>0000000
[1,3,8,2,4,6,7,5]=>1000000
[6,1,7,3,4,2,5,8]=>0000001
[2,8,7,1,5,6,4,3]=>0000000
[3,5,6,2,8,1,7,4]=>0000000
[4,1,5,7,3,8,2,6]=>0000000
[3,8,6,1,4,5,7,2]=>0000000
[2,3,1,7,6,8,4,5]=>0010000
[5,8,7,2,6,4,1,3]=>0000000
[6,8,5,1,7,4,3,2]=>0000000
[6,8,5,2,7,4,1,3]=>0000000
[7,3,8,6,5,2,1,4]=>0000000
[7,5,8,1,6,4,3,2]=>0000000
[7,5,8,2,6,4,1,3]=>0000000
[6,3,2,8,1,7,5,4]=>0000000
[4,5,3,1,2,8,6,7]=>0000100
[7,5,4,1,3,2,6,8]=>0000001
[5,3,4,8,7,6,2,1]=>0000000
[8,3,1,6,7,5,4,2]=>0000000
[1,8,2,6,7,4,5,3]=>1000000
[8,5,7,2,4,3,6,1]=>0000000
[1,2,8,3,4,7,6,5]=>1100000
[6,8,5,2,7,1,3,4]=>0000000
[8,7,5,1,4,6,3,2]=>0000000
[6,3,4,7,2,8,5,1]=>0000000
[6,8,4,3,1,5,2,7]=>0000000
[1,4,5,8,3,2,6,7]=>1000000
[1,5,2,4,7,8,6,3]=>1000000
[2,7,6,8,3,5,4,1]=>0000000
[6,2,3,7,4,5,8,1]=>0000000
[6,4,2,7,1,5,8,3]=>0000000
[1,6,5,2,4,7,3,8]=>1000001
[1,8,7,2,4,6,3,5]=>1000000
[1,8,7,2,5,4,3,6]=>1000000
[1,5,4,2,7,3,6,8]=>1000001
[1,5,4,2,8,7,3,6]=>1000000
[1,6,8,3,5,2,4,7]=>1000000
[1,7,6,2,3,5,8,4]=>1000000
[1,2,8,3,6,5,4,7]=>1100000
[1,3,8,6,5,2,4,7]=>1000000
[1,4,7,3,2,8,6,5]=>1000000
[1,8,6,5,2,4,7,3]=>1000000
[1,6,8,4,3,2,5,7]=>1000000
[1,7,5,3,2,6,4,8]=>1000001
[1,2,6,5,3,8,4,7]=>1100000
[1,7,3,2,8,4,6,5]=>1000000
[1,6,5,2,8,4,7,3]=>1000000
[1,8,3,7,2,4,6,5]=>1000000
[5,4,2,8,7,6,1,3]=>0000000
[8,6,3,2,5,7,4,1]=>0000000
[7,3,2,1,6,5,8,4]=>0000000
[6,8,5,2,7,1,4,3]=>0000000
[6,8,2,5,1,7,4,3]=>0000000
[6,8,5,7,2,1,4,3]=>0000000
[6,5,8,2,7,4,1,3]=>0000000
[6,2,1,7,5,8,4,3]=>0000000
[1,6,4,8,5,3,7,2]=>1000000
[4,2,6,7,8,1,3,5]=>0000000
[4,1,7,6,5,8,2,3]=>0000000
[2,4,3,6,7,8,1,5]=>0000000
[7,2,1,4,3,5,8,6]=>0000000
[8,1,5,4,2,3,6,7]=>0000000
[6,1,4,8,7,2,3,5]=>0000000
[6,1,7,5,8,2,3,4]=>0000000
[6,1,4,7,8,2,3,5]=>0000000
[6,7,1,4,2,3,5,8]=>0000001
[6,1,7,4,8,2,3,5]=>0000000
[4,3,8,5,6,2,7,1]=>0000000
[6,2,5,4,7,1,8,3]=>0000000
[8,2,1,6,5,7,4,3]=>0000000
[2,7,1,8,5,6,4,3]=>0000000
[3,5,8,6,2,1,4,7]=>0000000
[8,7,3,6,5,2,4,1]=>0000000
[7,3,8,6,2,1,4,5]=>0000000
[8,3,5,6,4,7,2,1]=>0000000
[8,5,6,2,4,3,7,1]=>0000000
[6,5,8,1,3,4,2,7]=>0000000
[6,8,4,5,1,3,2,7]=>0000000
[6,4,8,7,5,3,2,1]=>0000000
[6,7,1,4,3,2,8,5]=>0000000
[7,2,5,1,4,8,3,6]=>0000000
[5,8,1,3,4,2,7,6]=>0000000
[1,5,6,3,2,8,7,4]=>1000000
[1,3,7,6,8,4,2,5]=>1000000
[1,6,7,3,2,8,5,4]=>1000000
[3,2,7,6,8,4,5,1]=>0000000
[1,3,8,5,2,7,6,4]=>1000000
[6,4,1,5,2,8,7,3]=>0000000
[7,6,5,3,1,8,2,4]=>0000000
[2,5,1,4,7,3,6,8]=>0000001
[3,1,6,5,7,2,4,8]=>0000001
[2,6,1,5,7,4,8,3]=>0000000
[2,5,7,1,6,3,8,4]=>0000000
[2,6,1,5,7,4,3,8]=>0000001
[3,1,6,5,2,4,7,8]=>0000011
[3,6,5,1,4,2,7,8]=>0000011
[3,6,5,1,7,2,4,8]=>0000001
[3,6,5,2,1,4,7,8]=>0000011
[5,4,3,6,1,7,2,8]=>0000001
[4,5,2,7,6,1,3,8]=>0000001
[4,6,5,3,1,2,7,8]=>0000011
[5,4,1,6,3,7,2,8]=>0000001
[5,4,2,6,3,7,8,1]=>0000000
[3,6,5,7,1,4,2,8]=>0000001
[3,6,5,1,4,7,2,8]=>0000001
[4,3,6,5,7,1,2,8]=>0000001
[4,2,6,5,1,3,7,8]=>0000011
[4,1,6,5,3,7,8,2]=>0000000
[4,2,5,7,6,1,3,8]=>0000001
[3,4,7,6,1,2,5,8]=>0000001
[4,2,5,7,6,3,8,1]=>0000000
[4,1,6,5,2,7,3,8]=>0000001
[3,6,5,7,2,1,4,8]=>0000001
[3,5,7,6,2,4,1,8]=>0000001
[5,4,2,6,3,7,1,8]=>0000001
[4,6,5,2,7,3,1,8]=>0000001
[4,6,5,2,1,7,3,8]=>0000001
[3,5,8,2,1,4,6,7]=>0000000
[3,5,8,2,4,6,7,1]=>0000000
[5,3,8,2,1,4,6,7]=>0000000
[5,3,1,8,2,4,6,7]=>0000000
[5,1,3,8,2,4,6,7]=>0000000
[1,5,8,4,2,3,6,7]=>1000000
[5,8,2,1,4,3,6,7]=>0000000
[5,8,2,4,1,6,7,3]=>0000000
[5,8,2,4,6,3,1,7]=>0000000
[5,8,2,4,3,6,1,7]=>0000000
[5,8,1,4,6,2,3,7]=>0000000
[1,5,8,4,6,7,2,3]=>1000000
[5,1,8,4,6,7,2,3]=>0000000
[5,8,2,4,6,3,7,1]=>0000000
[3,8,4,6,7,2,1,5]=>0000000
[3,8,4,6,7,2,5,1]=>0000000
[8,4,3,6,7,2,5,1]=>0000000
[8,4,3,6,7,2,1,5]=>0000000
[8,6,2,4,5,3,7,1]=>0000000
[1,8,6,4,5,7,2,3]=>1000000
[8,6,2,4,5,3,1,7]=>0000000
[1,8,6,4,2,3,5,7]=>1000000
[3,8,1,6,2,4,5,7]=>0000000
[3,8,6,2,1,4,5,7]=>0000000
[3,8,6,2,4,1,5,7]=>0000000
[3,8,6,2,4,5,7,1]=>0000000
[8,3,6,2,4,5,1,7]=>0000000
[8,1,3,6,2,4,5,7]=>0000000
[8,3,6,7,2,1,4,5]=>0000000
[3,8,6,7,2,1,4,5]=>0000000
[8,2,6,4,5,1,7,3]=>0000000
[1,8,4,6,7,5,2,3]=>1000000
[8,4,6,2,3,7,5,1]=>0000000
[8,4,7,2,1,3,6,5]=>0000000
[8,4,2,1,5,3,7,6]=>0000000
[8,2,1,4,7,3,6,5]=>0000000
[1,6,2,5,8,4,7,3]=>1000000
[2,1,5,8,7,3,6,4]=>0100000
[4,3,1,7,8,5,2,6]=>0000000
[2,8,5,3,6,4,7,1]=>0000000
[1,2,8,6,4,7,3,5]=>1100000
[5,3,2,7,8,6,4,1]=>0000000
[4,2,7,8,3,5,6,1]=>0000000
[2,8,3,7,1,4,6,5]=>0000000
[3,2,4,8,7,5,6,1]=>0000000
[3,2,5,6,8,1,4,7]=>0000000
[5,7,2,3,1,4,8,6]=>0000000
[8,4,2,7,3,5,6,1]=>0000000
[1,8,6,4,7,5,3,2]=>1000000
[2,8,5,1,7,4,6,3]=>0000000
[2,7,4,6,3,8,5,1]=>0000000
[1,2,8,6,4,7,5,3]=>1100000
[4,1,8,6,3,7,5,2]=>0000000
[8,4,3,1,6,2,5,7]=>0000000
[7,5,4,3,8,1,6,2]=>0000000
[3,5,4,1,7,8,2,6]=>0000000
[6,4,2,1,5,7,3,8]=>0000001
[3,1,5,8,7,2,4,6]=>0000000
[3,2,5,7,8,4,6,1]=>0000000
[5,3,7,4,2,6,8,1]=>0000000
[5,3,7,4,2,6,1,8]=>0000001
[5,3,8,4,2,1,6,7]=>0000000
[5,2,8,4,3,1,6,7]=>0000000
[5,1,8,4,3,2,6,7]=>0000000
[5,2,7,4,3,6,1,8]=>0000001
[5,2,7,4,3,6,8,1]=>0000000
[5,3,7,4,1,6,8,2]=>0000000
[3,1,5,7,8,4,6,2]=>0000000
[3,1,5,7,8,4,2,6]=>0000000
[5,2,7,4,1,3,8,6]=>0000000
[6,2,3,7,4,8,5,1]=>0000000
[6,2,3,7,4,8,1,5]=>0000000
[6,2,3,7,4,5,1,8]=>0000001
[6,1,3,7,4,5,8,2]=>0000000
[1,2,8,6,4,3,5,7]=>1100000
[6,1,3,7,4,5,2,8]=>0000001
[1,8,6,3,5,4,2,7]=>1000000
[2,6,1,8,5,3,4,7]=>0000000
[4,5,7,8,1,6,3,2]=>0000000
[2,5,7,8,4,6,3,1]=>0000000
[1,8,2,7,5,3,4,6]=>1000000
[2,5,4,1,8,6,7,3]=>0000000
[5,6,8,3,4,2,7,1]=>0000000
[4,1,5,3,8,6,7,2]=>0000000
[7,1,3,2,4,5,6,8]=>0000001
[3,8,7,1,4,2,5,6]=>0000000
[5,1,7,8,2,4,3,6]=>0000000
[5,3,2,1,4,6,8,7]=>0000110
[5,3,2,4,8,1,6,7]=>0000000
[5,3,2,4,7,1,8,6]=>0000000
[8,4,5,3,7,1,2,6]=>0000000
[5,3,2,4,6,8,1,7]=>0000000
[1,7,6,4,2,5,3,8]=>1000001
[7,6,4,2,8,3,1,5]=>0000000
[8,5,1,4,3,7,6,2]=>0000000
[7,5,4,1,3,6,8,2]=>0000000
[3,6,7,2,5,1,8,4]=>0000000
[2,6,5,7,1,4,8,3]=>0000000
[3,5,1,7,8,4,6,2]=>0000000
[1,5,2,4,6,8,7,3]=>1000000
[8,1,2,4,7,6,5,3]=>0000000
[3,4,1,8,6,7,5,2]=>0000000
[4,3,8,5,1,7,6,2]=>0000000
[6,1,3,2,8,5,7,4]=>0000000
[8,5,2,1,6,4,3,7]=>0000000
[4,5,2,1,6,7,8,3]=>0000000
[3,5,1,4,2,8,7,6]=>0000100
[3,5,1,4,2,6,8,7]=>0000110
[3,5,1,4,2,6,7,8]=>0000111
[1,3,8,4,6,2,5,7]=>1000000
[1,8,4,2,3,7,5,6]=>1000000
[1,4,8,3,2,7,6,5]=>1000000
[1,2,8,6,7,5,4,3]=>1100000
[1,7,5,4,3,2,6,8]=>1000001
[3,8,5,7,4,6,2,1]=>0000000
[6,7,2,4,5,1,8,3]=>0000000
[5,2,7,8,3,6,1,4]=>0000000
[8,5,1,2,3,7,4,6]=>0000000
[5,2,8,3,1,4,7,6]=>0000000
[8,3,5,1,2,4,7,6]=>0000000
[8,4,1,7,5,2,6,3]=>0000000
[8,4,2,7,5,3,1,6]=>0000000
[8,3,5,7,6,2,4,1]=>0000000
[1,4,6,8,2,5,7,3]=>1000000
[3,6,2,4,8,1,7,5]=>0000000
[1,5,2,6,8,3,7,4]=>1000000
[4,5,3,1,8,2,6,7]=>0000000
[7,2,8,4,1,3,5,6]=>0000000
[6,1,7,3,2,8,4,5]=>0000000
[6,2,1,7,3,8,4,5]=>0000000
[5,8,2,1,3,4,6,7]=>0000000
[4,2,5,1,8,3,6,7]=>0000000
[7,4,2,8,3,1,5,6]=>0000000
[6,7,8,5,2,1,4,3]=>0000000
[1,6,2,7,8,4,3,5]=>1000000
[7,3,4,1,8,6,2,5]=>0000000
[4,7,6,3,5,8,2,1]=>0000000
[3,7,6,5,2,4,8,1]=>0000000
[1,4,7,8,6,2,5,3]=>1000000
[1,3,2,7,8,4,6,5]=>1010000
[5,7,1,4,6,2,8,3]=>0000000
[4,5,7,1,8,6,2,3]=>0000000
[4,3,8,6,5,2,7,1]=>0000000
[2,3,8,6,5,1,7,4]=>0000000
[5,4,7,3,1,2,6,8]=>0000001
[7,3,2,6,1,4,8,5]=>0000000
[7,2,6,8,5,4,3,1]=>0000000
[3,7,5,6,2,4,1,8]=>0000001
[5,3,4,2,7,1,8,6]=>0000000
[6,5,2,1,3,8,4,7]=>0000000
[2,4,3,5,6,8,1,7]=>0000000
[6,3,2,4,8,5,1,7]=>0000000
[6,3,1,2,7,8,4,5]=>0000000
[8,4,7,1,2,5,3,6]=>0000000
[7,4,6,1,8,5,2,3]=>0000000
[8,5,6,7,2,1,4,3]=>0000000
[1,7,6,2,8,3,5,4]=>1000000
[8,2,5,6,4,3,1,7]=>0000000
[2,4,3,8,6,5,1,7]=>0000000
[3,1,4,5,8,6,2,7]=>0000000
[5,1,7,3,2,8,4,6]=>0000000
[5,7,8,1,3,2,4,6]=>0000000
[7,8,6,1,3,5,4,2]=>0000000
[1,2,5,7,8,3,6,4]=>1100000
[3,4,5,8,1,7,2,6]=>0000000
[5,6,3,7,8,2,1,4]=>0000000
[4,3,8,6,7,5,1,2]=>0000000
[4,5,6,2,7,8,3,1]=>0000000
[4,5,6,2,7,1,8,3]=>0000000
[4,5,6,2,1,7,8,3]=>0000000
[4,5,6,2,1,7,3,8]=>0000001
[4,5,1,6,7,3,2,8]=>0000001
[2,5,1,8,3,7,4,6]=>0000000
[5,7,2,1,3,8,4,6]=>0000000
[2,3,4,6,8,1,7,5]=>0000000
[2,5,4,8,6,7,3,1]=>0000000
[8,5,2,1,7,6,3,4]=>0000000
[2,7,3,6,4,1,8,5]=>0000000
[7,2,1,8,5,6,4,3]=>0000000
[3,6,5,1,4,8,2,7]=>0000000
[6,3,5,4,8,1,2,7]=>0000000
[2,5,1,4,6,3,8,7]=>0000010
[8,5,6,4,3,1,7,2]=>0000000
[3,7,6,4,2,8,1,5]=>0000000
[8,6,1,4,3,7,2,5]=>0000000
[8,4,7,5,1,6,3,2]=>0000000
[8,4,1,3,7,6,5,2]=>0000000
[5,8,1,4,3,2,6,7]=>0000000
[5,6,4,3,8,2,7,1]=>0000000
[1,6,4,3,8,2,7,5]=>1000000
[7,8,1,4,3,2,5,6]=>0000000
[7,1,8,4,5,3,6,2]=>0000000
[4,3,1,8,6,5,7,2]=>0000000
[4,3,2,7,5,1,8,6]=>0000000
[5,2,3,7,4,1,8,6]=>0000000
[2,1,7,4,3,6,8,5]=>0100000
[7,1,2,4,5,6,8,3]=>0000000
[2,8,7,1,4,5,6,3]=>0000000
[8,7,1,3,4,5,6,2]=>0000000
[5,8,3,1,4,6,7,2]=>0000000
[1,7,2,5,4,6,8,3]=>1000000
[2,5,3,8,1,6,7,4]=>0000000
[1,6,4,2,5,7,8,3]=>1000000
[6,5,3,4,1,7,8,2]=>0000000
[5,6,3,4,1,7,8,2]=>0000000
[2,5,3,1,4,7,8,6]=>0000100
[6,8,2,3,1,5,7,4]=>0000000
[4,3,1,5,2,7,8,6]=>0000100
[5,2,3,1,4,7,8,6]=>0000100
[7,2,1,3,5,6,8,4]=>0000000
[5,2,4,7,8,6,3,1]=>0000000
[5,4,8,7,2,3,1,6]=>0000000
[8,1,4,5,3,6,2,7]=>0000000
[8,3,5,1,4,6,2,7]=>0000000
[5,8,2,1,7,4,3,6]=>0000000
[6,5,7,2,1,8,4,3]=>0000000
[1,5,4,7,3,8,6,2]=>1000000
[7,4,1,3,8,5,6,2]=>0000000
[3,6,8,4,1,7,2,5]=>0000000
[2,1,8,4,7,6,3,5]=>0100000
[2,7,5,6,8,4,3,1]=>0000000
[3,5,2,4,7,8,6,1]=>0000000
[7,5,6,3,8,2,1,4]=>0000000
[1,6,2,7,4,5,8,3]=>1000000
[7,4,2,6,1,5,8,3]=>0000000
[8,4,1,6,2,5,7,3]=>0000000
[7,3,4,5,1,6,8,2]=>0000000
[8,4,2,7,6,1,5,3]=>0000000
[6,8,7,4,2,5,1,3]=>0000000
[3,1,6,5,4,7,2,8]=>0000001
[4,1,2,6,5,3,7,8]=>0000011
[4,6,1,3,5,2,7,8]=>0000011
[4,2,6,3,5,1,7,8]=>0000011
[5,8,4,7,1,3,6,2]=>0000000
[6,4,7,1,3,5,2,8]=>0000001
[6,8,3,1,5,4,7,2]=>0000000
[4,2,8,6,7,1,3,5]=>0000000
[6,1,2,4,7,3,5,8]=>0000001
[5,3,1,6,4,7,2,8]=>0000001
[3,6,4,1,7,2,8,5]=>0000000
[5,2,6,3,7,8,4,1]=>0000000
[2,4,1,3,7,8,6,5]=>0001000
[2,6,1,5,7,8,4,3]=>0000000
[5,1,6,4,7,8,2,3]=>0000000
[8,4,6,3,7,5,1,2]=>0000000
[4,7,6,8,2,3,5,1]=>0000000
[5,7,4,8,1,2,6,3]=>0000000
[3,6,7,5,8,1,4,2]=>0000000
[3,7,5,6,8,2,4,1]=>0000000
[2,7,1,6,8,4,5,3]=>0000000
[1,5,4,7,2,6,3,8]=>1000001
[2,4,5,8,3,1,7,6]=>0000000
[1,4,7,5,8,3,6,2]=>1000000
[2,6,8,7,3,5,1,4]=>0000000
[4,7,8,6,2,5,1,3]=>0000000
[4,8,7,3,5,6,2,1]=>0000000
[1,7,6,3,5,4,2,8]=>1000001
[4,3,8,1,6,5,7,2]=>0000000
[1,3,6,2,5,8,7,4]=>1000000
[5,8,7,1,4,6,3,2]=>0000000
[6,2,5,1,3,4,8,7]=>0000010
[2,6,5,1,3,4,8,7]=>0000010
[4,6,5,1,2,7,3,8]=>0000001
[5,6,4,1,2,7,3,8]=>0000001
[8,1,5,6,2,4,3,7]=>0000000
[6,4,5,1,2,7,3,8]=>0000001
[5,4,6,1,3,2,7,8]=>0000011
[5,7,1,4,3,2,6,8]=>0000001
[2,6,4,1,3,7,5,8]=>0000001
[7,8,5,3,2,1,6,4]=>0000000
[1,2,6,7,8,4,5,3]=>1100000
[6,1,4,8,2,7,5,3]=>0000000
[5,4,1,7,3,2,8,6]=>0000000
[1,5,6,7,4,8,2,3]=>1000000
[6,3,2,5,7,4,8,1]=>0000000
[4,5,2,7,6,3,1,8]=>0000001
[4,5,2,1,7,6,3,8]=>0000001
[2,6,7,8,3,1,4,5]=>0000000
[6,3,2,5,1,7,8,4]=>0000000
[4,6,3,7,8,2,1,5]=>0000000
[5,6,7,1,8,4,2,3]=>0000000
[1,7,3,2,8,6,5,4]=>1000000
[3,7,1,2,8,6,5,4]=>0000000
[8,1,5,7,3,4,6,2]=>0000000
[5,8,2,7,6,3,1,4]=>0000000
[2,8,4,7,6,3,1,5]=>0000000
[1,8,2,4,7,6,3,5]=>1000000
[1,8,2,4,6,7,5,3]=>1000000
[2,5,1,8,4,7,6,3]=>0000000
[3,4,2,8,1,7,6,5]=>0000000
[2,4,5,8,1,7,6,3]=>0000000
[3,1,8,2,6,7,5,4]=>0000000
[2,6,8,1,4,3,7,5]=>0000000
[1,6,5,2,8,7,3,4]=>1000000
[2,6,1,5,8,7,3,4]=>0000000
[7,5,8,1,6,2,3,4]=>0000000
[6,8,4,5,3,1,7,2]=>0000000
[7,6,1,3,5,2,4,8]=>0000001
[6,2,4,5,3,8,1,7]=>0000000
[6,8,5,4,7,1,3,2]=>0000000
[7,5,8,1,3,4,2,6]=>0000000
[1,4,2,8,3,5,7,6]=>1000000
[1,3,5,4,8,7,2,6]=>1000000
[1,6,2,4,8,3,7,5]=>1000000
[1,7,8,5,4,2,6,3]=>1000000
[1,5,2,8,6,4,7,3]=>1000000
[1,6,5,2,7,4,8,3]=>1000000
[1,5,4,2,8,6,7,3]=>1000000
[1,7,5,4,6,2,8,3]=>1000000
[6,4,5,1,7,2,8,3]=>0000000
[4,8,1,3,7,6,2,5]=>0000000
[4,5,3,1,2,8,7,6]=>0000100
[6,4,2,3,1,8,7,5]=>0000000
[6,5,2,1,3,8,7,4]=>0000000
[7,6,1,8,2,5,3,4]=>0000000
[8,4,2,3,7,6,1,5]=>0000000
[5,7,8,1,2,4,3,6]=>0000000
[1,7,6,8,3,5,4,2]=>1000000
[5,7,6,4,2,1,3,8]=>0000001
[6,5,7,4,1,3,2,8]=>0000001
[4,6,1,8,3,5,2,7]=>0000000
[7,1,6,8,2,5,4,3]=>0000000
[4,7,1,8,3,2,5,6]=>0000000
[4,8,3,6,1,5,2,7]=>0000000
[1,7,8,6,4,5,3,2]=>1000000
[3,2,8,6,4,5,1,7]=>0000000
[8,4,3,6,2,5,1,7]=>0000000
[1,6,8,7,4,3,5,2]=>1000000
[3,1,2,6,8,7,5,4]=>0010000
[7,4,6,3,8,1,5,2]=>0000000
[7,4,8,3,6,2,1,5]=>0000000
[6,4,8,2,5,7,1,3]=>0000000
[6,8,4,2,7,1,3,5]=>0000000
[6,8,2,4,1,7,3,5]=>0000000
[7,5,1,6,2,4,8,3]=>0000000
[4,2,5,7,1,6,8,3]=>0000000
[4,5,2,3,8,7,1,6]=>0000000
[2,5,4,7,6,1,3,8]=>0000001
[5,2,3,7,6,1,4,8]=>0000001
[4,2,3,7,6,1,5,8]=>0000001
[4,2,7,3,5,1,6,8]=>0000001
[5,6,2,3,8,4,7,1]=>0000000
[5,6,2,3,1,7,8,4]=>0000000
[5,7,2,3,4,1,6,8]=>0000001
[6,2,7,3,5,1,4,8]=>0000001
[7,2,6,3,5,1,4,8]=>0000001
[6,5,2,3,1,7,8,4]=>0000000
[6,5,2,3,8,4,7,1]=>0000000
[7,5,2,1,4,6,8,3]=>0000000
[8,5,2,3,1,6,4,7]=>0000000
[8,6,2,3,1,5,4,7]=>0000000
[8,2,6,3,1,7,4,5]=>0000000
[1,6,3,4,2,7,5,8]=>1000001
[8,5,2,7,3,4,6,1]=>0000000
[1,7,2,4,5,6,8,3]=>1000000
[1,8,3,2,5,6,4,7]=>1000000
[7,2,8,1,4,6,3,5]=>0000000
[2,7,8,1,5,6,3,4]=>0000000
[6,8,2,3,1,5,4,7]=>0000000
[5,8,2,3,1,6,4,7]=>0000000
[5,7,2,1,4,6,8,3]=>0000000
[4,2,7,1,5,6,8,3]=>0000000
[4,2,3,8,1,7,5,6]=>0000000
[4,2,1,5,3,7,6,8]=>0000101
[5,1,3,8,4,6,7,2]=>0000000
[5,1,3,2,6,7,8,4]=>0000000
[5,1,3,4,2,7,6,8]=>0000101
[6,1,3,4,2,7,5,8]=>0000001
[7,2,1,3,5,8,4,6]=>0000000
[6,8,7,2,3,4,5,1]=>0000000
[2,8,7,5,1,3,4,6]=>0000000
[5,2,1,3,6,7,8,4]=>0000000
[8,3,7,5,1,4,2,6]=>0000000
[4,3,7,5,1,6,2,8]=>0000001
[5,2,6,1,4,3,7,8]=>0000011
[3,5,2,8,6,7,4,1]=>0000000
[5,3,7,4,2,8,6,1]=>0000000
[7,4,8,2,3,5,6,1]=>0000000
[5,6,2,8,7,1,4,3]=>0000000
[4,6,3,5,2,7,8,1]=>0000000
[4,1,6,3,5,7,2,8]=>0000001
[3,1,5,7,4,6,8,2]=>0000000
[7,2,5,8,6,1,4,3]=>0000000
[4,3,6,1,5,7,8,2]=>0000000
[3,5,4,1,2,6,7,8]=>0000111
[5,3,1,4,6,7,8,2]=>0000000
[4,6,7,1,3,5,8,2]=>0000000
[5,6,1,3,4,7,2,8]=>0000001
[2,5,3,7,8,4,6,1]=>0000000
[4,6,2,1,3,7,8,5]=>0000000
[3,6,2,4,1,7,5,8]=>0000001
[3,2,6,7,4,8,5,1]=>0000000
[7,1,3,8,4,5,2,6]=>0000000
[7,1,8,3,4,6,2,5]=>0000000
[6,3,2,7,5,8,4,1]=>0000000
[6,2,7,1,4,5,3,8]=>0000001
[4,2,6,1,5,7,3,8]=>0000001
[2,5,4,1,3,6,7,8]=>0000111
[5,4,1,2,6,7,3,8]=>0000001
[6,5,2,7,4,1,3,8]=>0000001
[6,5,7,3,1,4,2,8]=>0000001
[6,7,4,3,1,5,8,2]=>0000000
[3,1,6,7,8,4,5,2]=>0000000
[6,4,5,2,7,1,8,3]=>0000000
[3,7,5,6,2,1,8,4]=>0000000
[6,4,1,2,7,8,3,5]=>0000000
[6,5,4,7,2,8,3,1]=>0000000
[3,2,4,6,5,8,1,7]=>0000000
[3,5,4,8,7,1,6,2]=>0000000
[7,5,2,1,6,3,4,8]=>0000001
[6,3,1,7,4,2,5,8]=>0000001
[8,7,2,1,5,3,6,4]=>0000000
[6,8,5,3,7,4,2,1]=>0000000
[7,2,8,1,5,6,4,3]=>0000000
[8,3,6,4,1,5,7,2]=>0000000
[7,5,6,1,4,8,2,3]=>0000000
[5,7,2,6,3,8,4,1]=>0000000
[8,4,1,2,3,6,7,5]=>0000000
[5,6,4,2,1,8,3,7]=>0000000
[6,8,1,3,2,7,5,4]=>0000000
[5,7,3,6,4,1,2,8]=>0000001
[7,2,4,3,8,1,5,6]=>0000000
[2,5,4,6,1,3,8,7]=>0000010
[2,4,3,5,8,1,6,7]=>0000000
[6,1,2,4,3,5,7,8]=>0000011
[1,7,6,8,4,3,2,5]=>1000000
[1,7,6,5,3,8,2,4]=>1000000
[6,1,2,4,3,5,8,7]=>0000010
[8,4,1,5,2,6,7,3]=>0000000
[6,4,5,3,1,8,7,2]=>0000000
[2,8,6,1,5,4,7,3]=>0000000
[3,8,6,4,7,1,2,5]=>0000000
[1,8,7,5,4,3,2,6]=>1000000
[8,6,4,7,1,3,2,5]=>0000000
[6,1,5,8,2,7,4,3]=>0000000
[7,1,2,3,6,4,5,8]=>0000001
[7,4,1,3,6,5,2,8]=>0000001
[5,7,2,8,1,3,6,4]=>0000000
[5,4,1,2,6,3,8,7]=>0000010
[2,7,8,4,1,3,6,5]=>0000000
[2,4,6,5,7,8,1,3]=>0000000
[2,4,6,7,5,8,1,3]=>0000000
[2,4,6,3,7,8,1,5]=>0000000
[2,4,5,6,8,7,1,3]=>0000000
[2,4,5,6,8,3,7,1]=>0000000
[2,4,5,6,3,8,1,7]=>0000000
[2,3,4,6,8,5,1,7]=>0000000
[3,6,4,1,2,7,8,5]=>0000000
[4,1,7,3,8,6,2,5]=>0000000
[8,4,1,2,5,3,7,6]=>0000000
[1,5,2,7,6,8,4,3]=>1000000
[4,7,6,8,3,1,2,5]=>0000000
[4,8,2,7,6,5,1,3]=>0000000
[7,4,2,8,6,5,1,3]=>0000000
[8,6,5,2,7,1,4,3]=>0000000
[6,5,8,2,7,1,4,3]=>0000000
[7,5,8,2,1,6,4,3]=>0000000
[3,2,1,6,5,8,4,7]=>0010000
[2,6,4,8,5,7,3,1]=>0000000
[6,3,1,4,5,8,2,7]=>0000000
[3,4,8,5,2,1,7,6]=>0000000
[4,8,7,1,3,2,6,5]=>0000000
[5,8,7,4,6,1,3,2]=>0000000
[3,4,1,8,7,6,2,5]=>0000000
[1,3,5,6,8,7,2,4]=>1000000
[2,8,7,5,4,1,6,3]=>0000000
[8,1,5,7,4,2,6,3]=>0000000
[5,8,7,3,4,1,6,2]=>0000000
[3,1,2,8,7,6,4,5]=>0010000
[3,4,5,7,8,1,6,2]=>0000000
[1,8,7,4,3,5,2,6]=>1000000
[2,4,5,8,1,3,7,6]=>0000000
[2,7,8,6,5,3,1,4]=>0000000
[2,8,3,5,6,1,4,7]=>0000000
[1,3,6,4,2,7,5,8]=>1000001
[2,3,7,5,8,1,4,6]=>0000000
[3,2,8,5,6,1,4,7]=>0000000
[7,2,5,8,1,4,6,3]=>0000000
[4,7,5,8,1,2,6,3]=>0000000
[4,7,5,8,1,2,3,6]=>0000000
[3,4,7,5,2,8,1,6]=>0000000
[4,3,2,5,7,8,1,6]=>0000000
[2,4,7,5,8,3,1,6]=>0000000
[2,5,4,7,3,8,1,6]=>0000000
[3,7,8,4,2,1,6,5]=>0000000
[1,5,4,8,7,6,2,3]=>1000000
[1,3,6,8,2,4,7,5]=>1000000
[1,6,7,4,3,8,2,5]=>1000000
[7,3,1,6,5,2,8,4]=>0000000
[4,7,2,8,5,1,6,3]=>0000000
[2,1,3,8,7,5,6,4]=>0110000
[1,6,4,7,3,8,5,2]=>1000000
[8,5,4,1,6,3,7,2]=>0000000
[1,7,6,2,4,8,5,3]=>1000000
[2,6,8,5,4,3,1,7]=>0000000
[8,3,6,1,2,7,4,5]=>0000000
[7,6,2,4,8,5,1,3]=>0000000
[4,7,5,2,6,3,8,1]=>0000000
[3,5,6,2,8,1,4,7]=>0000000
[1,6,8,2,5,3,4,7]=>1000000
[8,6,3,5,2,1,4,7]=>0000000
[4,1,3,8,5,6,2,7]=>0000000
[5,2,8,3,1,6,7,4]=>0000000
[1,7,8,6,3,2,5,4]=>1000000
[3,2,8,1,5,7,4,6]=>0000000
[3,4,6,7,2,1,5,8]=>0000001
[2,6,7,1,4,3,8,5]=>0000000
[4,2,5,3,8,6,7,1]=>0000000
[3,2,7,4,8,5,6,1]=>0000000
[7,2,5,1,6,3,8,4]=>0000000
[4,5,2,8,3,7,1,6]=>0000000
[7,8,5,1,6,4,3,2]=>0000000
[8,7,5,1,6,4,3,2]=>0000000
[4,5,8,3,1,2,7,6]=>0000000
[1,4,6,3,7,5,2,8]=>1000001
[1,7,6,3,8,5,2,4]=>1000000
[6,2,4,3,7,5,8,1]=>0000000
[3,8,2,1,5,7,6,4]=>0000000
[1,3,2,8,7,4,6,5]=>1010000
[7,5,2,8,3,1,6,4]=>0000000
[4,6,3,7,8,1,2,5]=>0000000
[6,2,5,4,1,7,8,3]=>0000000
[4,1,5,6,3,8,7,2]=>0000000
[8,5,1,6,3,2,4,7]=>0000000
[8,1,5,4,6,7,3,2]=>0000000
[2,4,5,8,3,7,6,1]=>0000000
[6,4,5,1,3,8,7,2]=>0000000
[6,1,3,5,4,8,2,7]=>0000000
[1,3,8,7,2,5,6,4]=>1000000
[2,5,4,1,8,3,7,6]=>0000000
[5,1,4,8,3,7,6,2]=>0000000
[8,4,1,2,7,6,5,3]=>0000000
[4,8,3,2,7,6,5,1]=>0000000
[1,8,7,3,4,6,5,2]=>1000000
[5,3,1,2,4,6,8,7]=>0000110
[1,4,3,8,5,7,2,6]=>1000000
[4,8,1,3,6,2,7,5]=>0000000
[1,8,2,4,7,3,6,5]=>1000000
[2,7,1,6,5,8,3,4]=>0000000
[6,2,3,8,1,5,7,4]=>0000000
[2,5,7,4,8,3,6,1]=>0000000
[4,3,7,1,2,8,5,6]=>0000000
[3,8,6,2,7,5,4,1]=>0000000
[1,8,4,2,5,7,3,6]=>1000000
[5,8,3,1,2,4,6,7]=>0000000
[1,4,8,5,2,3,6,7]=>1000000
[7,1,4,2,6,8,3,5]=>0000000
[1,5,8,7,2,4,3,6]=>1000000
[1,5,4,2,8,3,7,6]=>1000000
[8,7,1,3,2,5,4,6]=>0000000
[6,7,4,2,8,1,3,5]=>0000000
[4,1,6,8,7,2,3,5]=>0000000
[6,1,7,3,5,8,2,4]=>0000000
[1,3,7,6,4,8,2,5]=>1000000
[2,1,8,7,3,5,4,6]=>0100000
[6,1,8,5,7,4,3,2]=>0000000
[8,5,1,4,7,6,3,2]=>0000000
[8,1,3,7,2,4,6,5]=>0000000
[5,3,1,6,4,8,2,7]=>0000000
[2,5,6,7,1,4,8,3]=>0000000
[4,7,5,3,2,8,1,6]=>0000000
[3,8,6,7,2,5,4,1]=>0000000
[5,8,1,2,7,4,3,6]=>0000000
[6,3,1,8,2,4,5,7]=>0000000
[4,6,3,7,8,1,5,2]=>0000000
[7,6,2,4,8,3,1,5]=>0000000
[8,1,4,2,7,5,6,3]=>0000000
[3,7,1,4,6,8,2,5]=>0000000
[2,4,7,3,6,8,1,5]=>0000000
[6,5,2,8,7,1,4,3]=>0000000
[2,6,1,3,8,5,4,7]=>0000000
[6,4,1,8,3,2,5,7]=>0000000
[5,8,1,4,2,7,3,6]=>0000000
[2,3,1,6,8,7,4,5]=>0010000
[6,4,8,2,1,7,3,5]=>0000000
[1,6,5,3,8,2,4,7]=>1000000
[5,6,1,2,4,8,3,7]=>0000000
[8,5,1,2,7,4,3,6]=>0000000
[1,4,7,5,8,2,3,6]=>1000000
[1,6,8,4,7,3,2,5]=>1000000
[2,1,5,7,4,6,8,3]=>0100000
[2,3,5,7,8,1,6,4]=>0000000
[1,5,7,4,2,3,6,8]=>1000001
[2,4,7,5,3,6,8,1]=>0000000
[8,1,7,2,4,6,3,5]=>0000000
[1,2,4,7,8,6,3,5]=>1100000
[2,4,7,8,3,5,1,6]=>0000000
[1,3,6,2,5,8,4,7]=>1000000
[1,5,3,6,8,2,4,7]=>1000000
[4,8,1,2,6,3,7,5]=>0000000
[5,8,1,2,6,3,7,4]=>0000000
[1,6,2,3,7,5,8,4]=>1000000
[4,1,2,6,5,7,8,3]=>0000000
[1,8,4,2,7,3,6,5]=>1000000
[1,7,5,2,3,8,6,4]=>1000000
[8,1,4,7,3,5,2,6]=>0000000
[8,4,3,6,1,7,2,5]=>0000000
[2,6,1,8,3,7,4,5]=>0000000
[8,4,2,1,3,7,5,6]=>0000000
[2,5,1,7,6,8,3,4]=>0000000
[5,3,1,8,2,4,7,6]=>0000000
[1,2,6,3,7,5,8,4]=>1100000
[5,1,8,3,2,4,7,6]=>0000000
[3,1,5,4,6,7,8,2]=>0000000
[2,8,5,7,3,1,4,6]=>0000000
[2,6,8,7,3,1,4,5]=>0000000
[7,4,2,1,3,8,5,6]=>0000000
[7,2,1,3,8,5,4,6]=>0000000
[2,1,7,3,8,6,4,5]=>0100000
[1,7,5,3,2,4,8,6]=>1000000
[1,4,2,7,6,5,8,3]=>1000000
[3,4,1,6,5,7,8,2]=>0000000
[2,8,7,3,4,1,5,6]=>0000000
[5,7,6,2,3,8,1,4]=>0000000
[4,5,7,6,2,8,1,3]=>0000000
[3,1,8,7,5,2,6,4]=>0000000
[4,5,6,8,7,2,1,3]=>0000000
[3,8,4,1,5,2,7,6]=>0000000
[1,8,6,2,4,3,7,5]=>1000000
[6,2,7,1,5,8,4,3]=>0000000
[4,1,6,5,2,3,7,8]=>0000011
[4,1,3,6,7,2,5,8]=>0000001
[2,7,5,8,1,3,6,4]=>0000000
[5,1,6,7,3,2,4,8]=>0000001
[1,2,5,7,8,6,3,4]=>1100000
[1,2,6,7,4,5,3,8]=>1100001
[1,2,7,8,4,6,3,5]=>1100000
[8,6,5,2,1,7,4,3]=>0000000
[4,3,8,6,7,1,5,2]=>0000000
[8,3,2,4,7,1,6,5]=>0000000
[7,3,2,8,6,1,5,4]=>0000000
[7,5,8,2,6,1,4,3]=>0000000
[5,6,8,2,7,4,1,3]=>0000000
[7,4,1,2,6,5,8,3]=>0000000
[5,2,7,4,6,1,8,3]=>0000000
[7,4,1,2,3,6,8,5]=>0000000
[5,4,8,6,3,2,1,7]=>0000000
[8,4,6,7,3,1,5,2]=>0000000
[4,1,3,6,8,5,2,7]=>0000000
[6,3,5,7,1,2,8,4]=>0000000
[1,8,5,3,2,4,6,7]=>1000000
[1,6,8,3,4,2,5,7]=>1000000
[1,7,6,8,4,2,3,5]=>1000000
[5,1,7,8,4,2,3,6]=>0000000
[3,8,2,1,6,7,5,4]=>0000000
[2,8,3,1,7,5,6,4]=>0000000
[2,7,4,1,5,8,3,6]=>0000000
[4,7,5,3,8,2,6,1]=>0000000
[2,6,4,7,8,5,3,1]=>0000000
[2,5,1,8,4,6,7,3]=>0000000
[2,1,7,6,3,4,5,8]=>0100001
[6,1,5,3,8,2,4,7]=>0000000
[2,3,6,8,5,1,7,4]=>0000000
[3,2,4,8,6,1,7,5]=>0000000
[2,1,3,8,4,5,7,6]=>0110000
[3,1,2,8,5,4,7,6]=>0010000
[2,1,3,7,8,4,6,5]=>0110000
[2,1,3,8,4,7,6,5]=>0110000
[3,1,2,8,4,5,7,6]=>0010000
[1,2,8,7,5,4,6,3]=>1100000
[2,1,8,7,4,6,5,3]=>0100000
[1,4,6,8,5,7,2,3]=>1000000
[2,8,5,1,6,4,3,7]=>0000000
[5,8,4,3,6,7,2,1]=>0000000
[3,2,6,5,1,8,4,7]=>0000000
[6,5,3,8,1,7,2,4]=>0000000
[8,3,7,1,6,2,4,5]=>0000000
[8,1,4,6,5,7,2,3]=>0000000
[8,1,7,5,6,4,2,3]=>0000000
[8,6,1,5,3,7,2,4]=>0000000
[2,6,3,7,8,1,4,5]=>0000000
[7,2,3,6,8,5,4,1]=>0000000
[5,1,3,2,4,6,8,7]=>0000110
[6,5,3,4,1,8,2,7]=>0000000
[2,8,3,7,6,1,5,4]=>0000000
[5,4,2,6,8,7,3,1]=>0000000
[3,7,2,5,8,6,4,1]=>0000000
[4,6,5,3,8,1,7,2]=>0000000
[2,4,8,7,6,1,5,3]=>0000000
[8,2,6,5,1,4,3,7]=>0000000
[4,8,5,2,7,6,3,1]=>0000000
[2,8,6,5,7,1,3,4]=>0000000
[4,8,5,1,7,6,3,2]=>0000000
[5,8,1,7,6,2,3,4]=>0000000
[1,5,8,2,6,4,3,7]=>1000000
[3,1,8,2,5,4,6,7]=>0000000
[4,2,5,1,8,7,6,3]=>0000000
[5,2,4,8,1,7,6,3]=>0000000
[7,3,2,4,6,8,1,5]=>0000000
[1,4,8,6,7,2,5,3]=>1000000
[1,4,5,7,3,8,2,6]=>1000000
[8,2,5,4,1,3,7,6]=>0000000
[2,4,5,8,6,3,1,7]=>0000000
[2,5,7,8,6,1,4,3]=>0000000
[5,1,7,6,8,2,3,4]=>0000000
[1,7,6,2,4,3,8,5]=>1000000
[5,7,1,6,2,3,4,8]=>0000001
[5,6,8,7,1,3,2,4]=>0000000
[1,5,3,4,8,2,6,7]=>1000000
[2,1,3,6,5,8,4,7]=>0110000
[4,6,1,5,7,2,8,3]=>0000000
[2,5,8,4,6,3,7,1]=>0000000
[8,1,6,5,2,7,4,3]=>0000000
[6,8,1,5,2,7,4,3]=>0000000
[1,7,3,2,4,8,6,5]=>1000000
[4,3,1,8,2,6,7,5]=>0000000
[4,8,1,3,2,5,7,6]=>0000000
[1,7,5,3,8,6,2,4]=>1000000
[2,5,3,8,1,4,7,6]=>0000000
[4,2,5,8,1,3,7,6]=>0000000
[8,1,2,4,3,5,7,6]=>0000000
[2,4,3,8,1,5,7,6]=>0000000
[3,1,7,4,8,6,5,2]=>0000000
[6,4,5,3,2,8,7,1]=>0000000
[2,7,3,8,5,1,6,4]=>0000000
[8,7,3,2,5,6,4,1]=>0000000
[3,1,8,2,6,5,4,7]=>0000000
[7,6,2,8,1,4,5,3]=>0000000
[2,3,8,4,1,5,7,6]=>0000000
[8,4,2,3,1,5,7,6]=>0000000
[8,2,3,4,1,5,7,6]=>0000000
[5,7,2,8,4,1,6,3]=>0000000
[2,5,6,3,8,1,4,7]=>0000000
[7,4,5,6,8,1,3,2]=>0000000
[7,5,1,8,4,6,3,2]=>0000000
[1,7,8,5,6,4,3,2]=>1000000
[2,8,1,7,4,5,3,6]=>0000000
[7,3,6,2,5,4,8,1]=>0000000
[1,6,2,3,5,8,4,7]=>1000000
[1,8,5,6,4,3,7,2]=>1000000
[2,6,8,4,5,1,7,3]=>0000000
[5,3,2,1,7,8,4,6]=>0000000
[8,4,1,3,6,7,2,5]=>0000000
[1,6,5,3,8,4,7,2]=>1000000
[7,6,2,3,5,1,4,8]=>0000001
[6,2,5,3,4,8,1,7]=>0000000
[6,2,5,3,4,8,7,1]=>0000000
[2,6,5,3,4,8,1,7]=>0000000
[5,3,4,8,1,7,2,6]=>0000000
[5,1,3,4,8,7,2,6]=>0000000
[1,5,3,4,8,7,2,6]=>1000000
[5,1,3,8,4,7,6,2]=>0000000
[5,3,8,1,4,7,6,2]=>0000000
[4,3,5,8,1,7,6,2]=>0000000
[3,6,5,4,8,1,2,7]=>0000000
[3,6,5,4,8,2,7,1]=>0000000
[3,5,2,4,8,7,6,1]=>0000000
[2,3,6,5,8,4,1,7]=>0000000
[2,3,1,7,4,8,6,5]=>0010000
[1,8,3,6,4,2,7,5]=>1000000
[2,1,7,4,8,5,3,6]=>0100000
[6,8,7,4,1,5,2,3]=>0000000
[8,6,4,7,5,1,3,2]=>0000000
[2,4,6,5,7,1,8,3]=>0000000
[3,5,2,1,7,8,6,4]=>0000000
[4,2,7,8,6,5,1,3]=>0000000
[1,2,7,8,6,4,5,3]=>1100000
[4,8,1,2,6,5,3,7]=>0000000
[7,1,6,3,2,4,8,5]=>0000000
[6,4,8,1,2,3,7,5]=>0000000
[7,4,1,3,6,8,5,2]=>0000000
[7,1,8,3,2,6,5,4]=>0000000
[7,2,5,1,6,4,3,8]=>0000001
[5,2,7,1,4,6,3,8]=>0000001
[2,4,3,8,5,7,1,6]=>0000000
[3,7,1,6,5,8,2,4]=>0000000
[7,4,3,6,8,2,1,5]=>0000000
[3,8,5,4,7,6,1,2]=>0000000
[1,4,6,8,7,3,5,2]=>1000000
[4,6,5,1,3,8,7,2]=>0000000
[5,4,6,2,1,8,7,3]=>0000000
[5,3,8,1,4,2,6,7]=>0000000
[5,3,8,1,4,2,7,6]=>0000000
[7,3,5,6,4,1,8,2]=>0000000
[4,6,7,2,3,8,5,1]=>0000000
[2,3,5,8,7,4,1,6]=>0000000
[2,3,5,8,7,4,6,1]=>0000000
[2,3,5,8,1,6,4,7]=>0000000
[1,7,4,5,8,3,6,2]=>1000000
[8,6,1,5,4,2,7,3]=>0000000
[2,8,5,6,3,1,4,7]=>0000000
[2,3,7,8,1,5,4,6]=>0000000
[5,2,6,7,8,3,1,4]=>0000000
[5,6,2,7,8,3,1,4]=>0000000
[2,3,7,5,8,4,6,1]=>0000000
[3,7,8,5,1,4,6,2]=>0000000
[2,3,7,8,5,4,6,1]=>0000000
[6,4,7,8,1,2,5,3]=>0000000
[7,5,8,1,2,3,6,4]=>0000000
[1,2,8,7,4,6,5,3]=>1100000
[5,1,4,8,7,3,6,2]=>0000000
[4,3,1,8,7,5,6,2]=>0000000
[4,3,2,7,6,1,5,8]=>0000001
[7,2,6,5,3,1,4,8]=>0000001
[1,3,7,6,2,4,8,5]=>1000000
[1,3,8,2,7,4,6,5]=>1000000
[8,2,7,1,6,4,3,5]=>0000000
[4,3,2,8,1,7,5,6]=>0000000
[7,5,4,1,6,3,8,2]=>0000000
[1,6,5,3,2,4,8,7]=>1000010
[1,7,3,5,2,4,8,6]=>1000000
[4,3,7,2,5,1,6,8]=>0000001
[5,1,4,3,2,6,8,7]=>0000110
[7,2,1,3,5,4,6,8]=>0000001
[8,3,7,5,4,2,6,1]=>0000000
[1,6,8,7,5,2,3,4]=>1000000
[1,3,6,2,5,4,8,7]=>1000010
[5,4,1,8,7,3,6,2]=>0000000
[6,2,4,7,5,3,1,8]=>0000001
[3,2,6,1,5,8,7,4]=>0000000
[1,6,3,8,4,7,2,5]=>1000000
[8,1,5,2,4,7,3,6]=>0000000
[7,5,8,1,4,2,3,6]=>0000000
[1,3,4,8,5,6,2,7]=>1000000
[3,2,7,1,8,6,5,4]=>0000000
[6,7,2,3,8,1,4,5]=>0000000
[5,2,8,1,7,4,6,3]=>0000000
[2,5,4,7,3,1,8,6]=>0000000
[4,6,3,1,2,5,7,8]=>0000011
[7,4,6,8,3,1,2,5]=>0000000
[8,5,4,7,3,1,2,6]=>0000000
[7,3,2,1,5,4,8,6]=>0000000
[2,5,6,4,8,1,3,7]=>0000000
[5,4,1,6,2,3,7,8]=>0000011
[5,4,1,2,7,6,3,8]=>0000001
[8,4,3,7,2,5,6,1]=>0000000
[6,8,2,4,5,1,7,3]=>0000000
[8,3,7,6,2,4,5,1]=>0000000
[8,1,2,7,6,4,5,3]=>0000000
[2,8,1,5,3,7,6,4]=>0000000
[2,3,8,4,7,1,6,5]=>0000000
[1,8,2,3,5,6,4,7]=>1000000
[1,4,7,6,2,3,5,8]=>1000001
[1,7,6,2,3,8,4,5]=>1000000
[1,8,2,3,7,6,4,5]=>1000000
[1,7,3,8,6,2,5,4]=>1000000
[1,3,5,6,4,8,2,7]=>1000000
[4,6,1,8,2,7,5,3]=>0000000
[3,4,8,5,6,1,2,7]=>0000000
[1,7,6,2,5,4,8,3]=>1000000
[3,7,2,1,5,6,8,4]=>0000000
[3,1,5,6,4,2,7,8]=>0000011
[8,1,6,4,3,5,2,7]=>0000000
[2,1,6,5,3,8,7,4]=>0100000
[3,7,5,6,4,2,1,8]=>0000001
[4,6,8,5,3,7,2,1]=>0000000
[4,6,8,5,1,3,7,2]=>0000000
[8,3,5,4,6,1,2,7]=>0000000
[1,7,4,5,2,6,8,3]=>1000000
[1,4,2,6,5,3,8,7]=>1000010
[3,1,5,8,4,6,2,7]=>0000000
[8,2,6,3,4,1,5,7]=>0000000
[4,6,5,8,2,1,3,7]=>0000000
[1,4,8,3,5,6,2,7]=>1000000
[1,8,7,4,2,3,6,5]=>1000000
[4,3,1,8,5,7,2,6]=>0000000
[7,3,2,4,8,1,6,5]=>0000000
[3,7,2,4,5,8,1,6]=>0000000
[3,2,7,4,6,1,8,5]=>0000000
[8,3,2,4,6,1,7,5]=>0000000
[8,3,2,4,5,7,1,6]=>0000000
[7,4,6,2,1,3,8,5]=>0000000
[3,6,7,2,4,1,8,5]=>0000000
[8,4,7,2,3,5,6,1]=>0000000
[3,8,6,7,1,5,4,2]=>0000000
[4,3,2,8,6,1,5,7]=>0000000
[4,1,6,3,2,5,7,8]=>0000011
[5,7,1,8,4,3,6,2]=>0000000
[5,4,8,7,6,2,3,1]=>0000000
[8,4,6,3,1,5,2,7]=>0000000
[3,6,1,5,2,4,7,8]=>0000011
[3,7,6,2,5,4,1,8]=>0000001
[2,7,1,5,3,4,6,8]=>0000001
[8,4,5,1,2,7,6,3]=>0000000
[5,2,3,8,7,1,6,4]=>0000000
[7,5,2,4,1,3,8,6]=>0000000
[7,2,6,8,5,1,3,4]=>0000000
[8,6,5,4,1,3,7,2]=>0000000
[8,2,3,4,1,6,7,5]=>0000000
[7,4,3,8,1,6,5,2]=>0000000
[6,5,1,4,3,8,7,2]=>0000000
[4,7,6,2,5,8,1,3]=>0000000
[6,3,2,4,5,8,1,7]=>0000000
[7,3,5,2,8,1,4,6]=>0000000
[1,5,8,7,4,2,3,6]=>1000000
[1,7,2,4,5,8,6,3]=>1000000
[1,4,6,8,7,2,5,3]=>1000000
[1,6,2,7,5,3,4,8]=>1000001
[1,3,7,2,6,4,5,8]=>1000001
[1,7,3,2,8,5,6,4]=>1000000
[1,6,5,2,4,8,3,7]=>1000000
[1,7,3,8,4,2,5,6]=>1000000
[1,6,2,4,7,5,8,3]=>1000000
[1,6,2,7,4,3,8,5]=>1000000
[1,5,8,2,3,6,4,7]=>1000000
[1,2,7,3,8,5,6,4]=>1100000
[1,5,7,4,3,8,6,2]=>1000000
[2,7,3,1,4,5,8,6]=>0000000
[6,5,8,3,2,7,1,4]=>0000000
[8,4,3,1,7,6,5,2]=>0000000
[1,2,6,7,5,3,4,8]=>1100001
[3,4,5,6,8,2,7,1]=>0000000
[7,2,1,4,5,6,3,8]=>0000001
[1,6,7,8,2,4,5,3]=>1000000
[1,3,5,8,7,2,6,4]=>1000000
[6,4,1,8,5,7,3,2]=>0000000
[7,2,5,6,1,3,8,4]=>0000000
[6,4,1,2,5,8,3,7]=>0000000
[2,3,5,4,7,1,8,6]=>0000000
[6,8,4,1,5,7,3,2]=>0000000
[8,1,6,2,3,7,5,4]=>0000000
[2,8,3,6,4,1,7,5]=>0000000
[1,7,8,4,3,6,5,2]=>1000000
[1,7,8,3,6,5,4,2]=>1000000
[1,6,5,7,3,8,2,4]=>1000000
[1,8,5,3,7,6,2,4]=>1000000
[6,5,1,3,8,4,2,7]=>0000000
[6,1,4,2,7,8,3,5]=>0000000
[6,5,1,3,7,8,4,2]=>0000000
[5,6,8,2,4,7,1,3]=>0000000
[5,1,3,2,6,8,4,7]=>0000000
[1,4,3,7,6,2,8,5]=>1000000
[1,6,2,5,7,3,8,4]=>1000000
[1,4,3,8,2,5,7,6]=>1000000
[1,5,7,3,6,4,2,8]=>1000001
[1,6,7,2,4,8,3,5]=>1000000
[3,7,2,8,4,1,5,6]=>0000000
[5,3,4,1,7,8,6,2]=>0000000
[7,2,6,3,1,8,4,5]=>0000000
[5,8,4,1,3,7,2,6]=>0000000
[8,1,3,5,6,4,7,2]=>0000000
[3,4,7,1,5,6,2,8]=>0000001
[8,1,7,4,2,5,3,6]=>0000000
[5,2,6,4,1,3,8,7]=>0000010
[8,6,4,7,1,3,5,2]=>0000000
[2,1,8,5,4,3,7,6]=>0100000
[8,5,4,6,2,7,1,3]=>0000000
[6,8,5,4,7,2,3,1]=>0000000
[2,5,7,3,4,8,1,6]=>0000000
[5,2,4,7,8,1,3,6]=>0000000
[4,6,8,1,5,2,7,3]=>0000000
[8,2,3,6,4,1,7,5]=>0000000
[2,3,7,5,8,6,1,4]=>0000000
[3,8,5,1,2,4,7,6]=>0000000
[1,3,6,4,8,2,7,5]=>1000000
[1,7,6,2,8,5,3,4]=>1000000
[1,5,8,6,4,7,2,3]=>1000000
[5,6,2,8,1,7,3,4]=>0000000
[1,6,8,3,2,4,5,7]=>1000000
[1,6,5,7,4,2,8,3]=>1000000
[1,2,7,4,8,5,6,3]=>1100000
[5,6,3,4,2,8,7,1]=>0000000
[2,5,7,4,6,8,1,3]=>0000000
[2,5,6,4,1,3,8,7]=>0000010
[4,6,1,3,5,7,2,8]=>0000001
[3,2,7,5,8,1,6,4]=>0000000
[4,3,6,8,5,2,1,7]=>0000000
[4,5,3,2,1,8,6,7]=>0000100
[3,6,5,8,1,7,4,2]=>0000000
[4,1,6,8,5,2,3,7]=>0000000
[4,5,2,8,6,7,1,3]=>0000000
[4,5,2,8,6,7,3,1]=>0000000
[3,5,8,6,2,4,7,1]=>0000000
[2,5,1,6,4,8,3,7]=>0000000
[3,2,4,5,8,6,1,7]=>0000000
[4,5,2,1,3,8,6,7]=>0000100
[4,2,3,6,8,5,1,7]=>0000000
[4,5,1,3,2,8,6,7]=>0000100
[3,4,5,8,6,1,7,2]=>0000000
[3,4,5,8,6,1,2,7]=>0000000
[6,4,1,3,7,8,2,5]=>0000000
[8,2,6,4,1,3,7,5]=>0000000
[1,5,8,2,4,3,7,6]=>1000000
[1,4,8,5,7,2,3,6]=>1000000
[1,8,7,3,2,4,5,6]=>1000000
[8,6,2,7,3,4,1,5]=>0000000
[8,6,2,7,3,4,5,1]=>0000000
[5,6,3,2,8,7,1,4]=>0000000
[5,1,6,7,8,3,2,4]=>0000000
[1,5,6,3,7,2,4,8]=>1000001
[1,5,6,7,4,2,3,8]=>1000001
[5,1,6,7,3,4,2,8]=>0000001
[8,6,1,7,3,4,5,2]=>0000000
[6,8,5,1,7,4,2,3]=>0000000
[8,4,2,3,5,7,6,1]=>0000000
[4,8,5,2,3,1,6,7]=>0000000
[5,4,8,3,1,2,6,7]=>0000000
[8,4,7,3,2,5,6,1]=>0000000
[6,8,5,1,7,3,4,2]=>0000000
[6,2,7,3,8,1,4,5]=>0000000
[8,4,2,6,7,1,5,3]=>0000000
[1,7,8,3,6,5,2,4]=>1000000
[4,6,7,5,1,8,2,3]=>0000000
[3,5,2,6,8,7,4,1]=>0000000
[7,3,6,8,4,1,2,5]=>0000000
[6,4,2,3,7,5,8,1]=>0000000
[6,3,7,5,1,2,8,4]=>0000000
[7,2,5,4,8,6,3,1]=>0000000
[6,2,3,8,7,4,5,1]=>0000000
[7,1,2,8,4,6,5,3]=>0000000
[3,5,8,1,2,7,6,4]=>0000000
[1,4,3,6,8,5,2,7]=>1000000
[7,6,2,8,5,3,4,1]=>0000000
[6,8,3,5,4,7,2,1]=>0000000
[8,2,7,6,4,1,3,5]=>0000000
[8,3,7,5,1,6,2,4]=>0000000
[8,5,7,1,4,2,6,3]=>0000000
[4,7,1,5,6,3,2,8]=>0000001
[4,5,7,1,6,3,8,2]=>0000000
[4,6,5,7,2,3,8,1]=>0000000
[3,6,7,2,5,8,4,1]=>0000000
[5,3,6,7,4,8,1,2]=>0000000
[4,2,7,8,3,6,5,1]=>0000000
[4,2,7,8,5,6,1,3]=>0000000
[5,4,3,7,8,1,6,2]=>0000000
[3,5,7,8,4,2,1,6]=>0000000
[4,6,7,3,2,8,1,5]=>0000000
[4,6,5,3,7,8,1,2]=>0000000
[5,6,2,4,7,8,3,1]=>0000000
[5,6,3,2,8,4,7,1]=>0000000
[5,6,2,8,3,4,7,1]=>0000000
[3,7,4,8,1,6,5,2]=>0000000
[5,2,4,8,6,7,3,1]=>0000000
[5,2,6,4,8,7,3,1]=>0000000
[2,4,7,8,6,5,1,3]=>0000000
[5,2,6,7,8,1,4,3]=>0000000
[4,8,2,7,5,3,1,6]=>0000000
[3,5,8,1,7,4,2,6]=>0000000
[5,8,6,1,7,2,3,4]=>0000000
[5,1,4,3,8,2,6,7]=>0000000
[8,4,7,5,6,2,1,3]=>0000000
[3,8,6,7,5,2,4,1]=>0000000
[8,2,5,4,7,3,6,1]=>0000000
[4,2,8,7,3,6,5,1]=>0000000
[3,7,8,6,1,4,5,2]=>0000000
[4,6,7,8,2,1,5,3]=>0000000
[4,7,6,3,8,1,5,2]=>0000000
[3,8,1,4,6,2,5,7]=>0000000
[2,4,5,3,8,7,1,6]=>0000000
[6,8,4,7,3,5,2,1]=>0000000
[3,6,4,2,8,1,7,5]=>0000000
[3,4,8,6,2,1,7,5]=>0000000
[3,1,8,2,4,6,5,7]=>0000000
[8,1,7,6,2,5,4,3]=>0000000
[8,5,4,3,7,6,1,2]=>0000000
[4,8,1,3,6,7,5,2]=>0000000
[3,5,8,6,1,7,4,2]=>0000000
[8,1,4,7,5,2,6,3]=>0000000
[1,4,8,6,7,3,5,2]=>1000000
[4,1,6,7,8,5,3,2]=>0000000
[3,7,8,6,4,1,5,2]=>0000000
[4,6,1,5,7,2,3,8]=>0000001
[3,4,7,8,6,1,2,5]=>0000000
[1,8,5,6,4,2,3,7]=>1000000
[1,8,7,6,2,4,5,3]=>1000000
[1,6,4,7,2,5,8,3]=>1000000
[8,3,1,4,6,2,7,5]=>0000000
[7,2,6,4,5,8,1,3]=>0000000
[2,7,1,5,3,8,6,4]=>0000000
[3,5,7,2,8,4,1,6]=>0000000
[7,3,2,1,4,8,6,5]=>0000000
[8,7,2,6,1,5,3,4]=>0000000
[7,1,3,8,2,6,4,5]=>0000000
[2,7,3,4,1,5,8,6]=>0000000
[2,5,8,1,6,7,3,4]=>0000000
[8,3,6,2,7,5,4,1]=>0000000
[8,4,2,6,5,3,7,1]=>0000000
[5,4,2,7,1,8,6,3]=>0000000
[4,1,7,6,5,3,2,8]=>0000001
[2,3,6,7,1,8,5,4]=>0000000
[3,6,1,2,7,8,5,4]=>0000000
[4,5,1,8,7,6,3,2]=>0000000
[8,4,5,2,7,6,3,1]=>0000000
[4,1,3,6,7,5,2,8]=>0000001
[3,1,4,5,7,6,2,8]=>0000001
[4,5,1,3,6,8,7,2]=>0000000
[3,8,5,1,2,4,6,7]=>0000000
[8,5,1,2,4,3,6,7]=>0000000
[5,8,4,1,2,3,6,7]=>0000000
[3,5,8,1,4,2,7,6]=>0000000
[2,8,5,7,1,4,3,6]=>0000000
[4,8,7,5,1,2,3,6]=>0000000
[8,1,2,4,6,3,7,5]=>0000000
[7,6,1,4,2,3,8,5]=>0000000
[6,1,2,7,8,4,3,5]=>0000000
[7,8,1,2,5,3,4,6]=>0000000
[1,8,4,7,5,2,3,6]=>1000000
[8,4,7,2,1,6,3,5]=>0000000
[4,5,8,2,1,6,7,3]=>0000000
[7,4,2,5,3,6,1,8]=>0000001
[3,1,6,7,5,2,4,8]=>0000001
[8,4,2,5,3,6,7,1]=>0000000
[4,8,1,5,3,6,7,2]=>0000000
[4,1,7,5,2,6,3,8]=>0000001
[5,1,8,6,7,3,4,2]=>0000000
[6,5,2,4,1,7,8,3]=>0000000
[5,4,8,2,1,3,6,7]=>0000000
[1,4,8,3,2,6,5,7]=>1000000
[1,3,8,4,2,7,5,6]=>1000000
[7,2,8,3,1,4,5,6]=>0000000
[7,6,1,8,2,5,4,3]=>0000000
[5,8,4,2,1,6,3,7]=>0000000
[7,6,4,1,2,5,3,8]=>0000001
[7,2,8,4,3,6,1,5]=>0000000
[1,7,5,4,8,6,2,3]=>1000000
[4,8,6,3,5,2,1,7]=>0000000
[5,8,6,3,2,7,1,4]=>0000000
[5,7,6,3,2,4,8,1]=>0000000
[1,6,3,7,2,4,8,5]=>1000000
[4,3,1,6,7,2,5,8]=>0000001
[6,3,1,5,7,2,4,8]=>0000001
[5,2,1,4,8,6,7,3]=>0000000
[4,5,2,1,3,7,6,8]=>0000101
[7,1,6,5,4,2,8,3]=>0000000
[2,7,6,4,5,1,8,3]=>0000000
[2,8,3,1,6,7,4,5]=>0000000
[4,5,6,8,2,1,7,3]=>0000000
[4,5,6,8,1,3,7,2]=>0000000
[4,5,8,3,2,1,7,6]=>0000000
[4,5,1,3,2,6,7,8]=>0000111
[4,7,3,2,1,6,5,8]=>0000001
[4,7,8,3,5,1,6,2]=>0000000
[4,7,1,3,5,6,2,8]=>0000001
[4,8,3,2,1,6,7,5]=>0000000
[5,2,8,1,4,6,7,3]=>0000000
[5,6,3,7,8,1,4,2]=>0000000
[5,7,1,4,3,6,2,8]=>0000001
[6,2,3,7,1,5,4,8]=>0000001
[6,2,8,1,5,4,7,3]=>0000000
[6,1,3,4,5,2,7,8]=>0000011
[7,1,3,4,5,6,2,8]=>0000001
[7,2,5,1,3,6,4,8]=>0000001
[7,5,3,6,4,2,1,8]=>0000001
[2,3,6,5,8,4,7,1]=>0000000
[5,3,4,7,2,1,6,8]=>0000001
[4,8,5,7,1,2,3,6]=>0000000
[4,2,6,3,1,5,7,8]=>0000011
[5,8,4,3,2,6,1,7]=>0000000
[1,5,7,4,8,6,2,3]=>1000000
[6,1,5,7,3,8,2,4]=>0000000
[1,2,7,8,6,4,3,5]=>1100000
[3,5,1,7,8,6,2,4]=>0000000
[5,2,4,1,7,6,8,3]=>0000000
[5,4,3,8,1,7,2,6]=>0000000
[7,2,3,1,6,8,4,5]=>0000000
[5,7,8,1,6,2,3,4]=>0000000
[1,4,2,5,8,6,3,7]=>1000000
[4,8,2,1,5,7,3,6]=>0000000
[5,2,7,1,6,3,4,8]=>0000001
[4,8,2,5,1,6,3,7]=>0000000
[5,8,1,2,4,6,3,7]=>0000000
[5,1,7,3,6,4,2,8]=>0000001
[3,2,7,5,6,1,4,8]=>0000001
[3,2,7,1,6,4,5,8]=>0000001
[6,3,1,7,5,4,2,8]=>0000001
[5,6,2,8,3,1,7,4]=>0000000
[1,4,7,5,6,2,8,3]=>1000000
[1,7,4,8,3,5,6,2]=>1000000
[7,4,5,1,8,6,2,3]=>0000000
[8,1,5,7,6,3,2,4]=>0000000
[7,4,8,3,1,6,5,2]=>0000000
[8,1,5,3,7,6,2,4]=>0000000
[6,4,8,7,3,5,1,2]=>0000000
[6,1,4,2,3,5,7,8]=>0000011
[6,5,1,8,3,7,4,2]=>0000000
[7,1,4,3,8,6,5,2]=>0000000
[8,5,4,1,7,3,2,6]=>0000000
[4,5,3,8,1,7,6,2]=>0000000
[4,7,6,3,2,8,5,1]=>0000000
[5,7,6,3,8,2,4,1]=>0000000
[6,8,4,7,1,2,5,3]=>0000000
[1,3,7,6,8,4,5,2]=>1000000
[6,1,5,7,2,8,3,4]=>0000000
[1,8,7,2,5,6,3,4]=>1000000
[1,8,2,6,7,4,3,5]=>1000000
[2,5,4,8,7,6,1,3]=>0000000
[1,8,7,6,3,5,4,2]=>1000000
[1,8,5,7,6,4,3,2]=>1000000
[7,2,4,1,8,5,3,6]=>0000000
[7,3,2,1,4,6,8,5]=>0000000
[7,5,3,2,1,6,8,4]=>0000000
[1,4,7,2,5,3,6,8]=>1000001
[4,5,3,1,2,6,8,7]=>0000110
[4,5,1,3,8,2,6,7]=>0000000
[4,1,5,3,2,7,6,8]=>0000101
[7,3,5,1,4,2,6,8]=>0000001
[6,2,1,7,4,3,8,5]=>0000000
[2,4,3,6,7,1,5,8]=>0000001
[7,3,5,2,1,6,4,8]=>0000001
[4,6,5,2,1,3,7,8]=>0000011
[2,5,6,1,4,3,7,8]=>0000011
[6,1,5,3,7,2,4,8]=>0000001
[3,6,5,4,1,7,2,8]=>0000001
[6,8,7,5,4,2,1,3]=>0000000
[1,6,8,7,3,2,4,5]=>1000000
[8,7,5,4,6,1,3,2]=>0000000
[1,7,8,2,4,6,3,5]=>1000000
[7,5,4,8,1,3,6,2]=>0000000
[1,8,2,6,7,5,4,3]=>1000000
[8,5,4,2,7,3,6,1]=>0000000
[3,8,6,1,2,4,5,7]=>0000000
[1,8,5,3,2,7,4,6]=>1000000
[1,8,4,7,2,3,5,6]=>1000000
[3,2,8,1,7,5,4,6]=>0000000
[7,1,5,6,2,3,4,8]=>0000001
[6,5,1,7,2,3,4,8]=>0000001
[1,6,8,2,7,3,4,5]=>1000000
[4,1,3,6,7,8,5,2]=>0000000
[4,1,2,6,7,8,5,3]=>0000000
[3,7,8,2,1,4,5,6]=>0000000
[5,1,4,7,8,3,6,2]=>0000000
[4,8,1,5,6,2,3,7]=>0000000
[5,6,4,1,7,3,8,2]=>0000000
[4,6,1,7,3,2,8,5]=>0000000
[1,7,3,6,4,2,8,5]=>1000000
[4,7,3,5,1,2,8,6]=>0000000
[1,6,4,2,3,5,8,7]=>1000010
[4,8,3,5,2,1,6,7]=>0000000
[1,6,8,4,7,5,3,2]=>1000000
[5,2,3,8,7,1,4,6]=>0000000
[8,7,1,3,2,6,4,5]=>0000000
[7,5,1,2,3,8,4,6]=>0000000
[4,2,3,6,8,5,7,1]=>0000000
[4,7,3,2,6,5,1,8]=>0000001
[4,3,7,8,2,1,6,5]=>0000000
[4,8,7,2,1,5,6,3]=>0000000
[7,3,8,2,5,1,6,4]=>0000000
[4,5,3,8,6,1,2,7]=>0000000
[6,3,5,8,4,1,2,7]=>0000000
[7,3,8,4,5,1,2,6]=>0000000
[4,8,7,5,1,2,6,3]=>0000000
[7,8,4,6,1,3,5,2]=>0000000
[4,8,7,5,1,3,6,2]=>0000000
[4,5,3,6,8,1,2,7]=>0000000
[7,8,6,2,1,4,3,5]=>0000000
[7,8,6,3,1,2,5,4]=>0000000
[5,2,8,4,7,1,3,6]=>0000000
[7,3,1,2,8,6,5,4]=>0000000
[8,7,1,3,2,4,5,6]=>0000000
[4,3,1,2,6,5,7,8]=>0001011
[6,1,5,2,8,7,4,3]=>0000000
[4,6,3,5,7,1,2,8]=>0000001
[1,4,7,2,6,5,8,3]=>1000000
[1,5,7,2,6,4,8,3]=>1000000
[1,2,7,8,3,5,4,6]=>1100000
[1,7,6,2,8,5,4,3]=>1000000
[1,2,7,8,3,4,6,5]=>1100000
[3,4,1,7,8,6,5,2]=>0000000
[2,4,8,6,5,7,1,3]=>0000000
[5,1,3,4,8,2,7,6]=>0000000
[8,7,3,6,1,4,2,5]=>0000000
[6,5,1,8,3,4,7,2]=>0000000
[8,2,1,5,6,4,7,3]=>0000000
[7,5,6,1,3,4,8,2]=>0000000
[5,7,2,4,6,1,8,3]=>0000000
[2,1,5,6,3,8,7,4]=>0100000
[3,2,7,5,8,6,4,1]=>0000000
[2,4,5,3,8,1,7,6]=>0000000
[7,2,5,4,3,8,6,1]=>0000000
[8,5,3,1,2,6,7,4]=>0000000
[7,2,5,1,3,6,8,4]=>0000000
[1,8,7,3,5,2,6,4]=>1000000
[4,6,7,8,5,2,1,3]=>0000000
[4,7,2,1,8,6,5,3]=>0000000
[5,6,2,8,4,1,7,3]=>0000000
[5,7,2,4,8,6,1,3]=>0000000
[6,7,2,4,8,5,1,3]=>0000000
[6,7,3,2,8,5,1,4]=>0000000
[7,2,3,1,8,6,5,4]=>0000000
[7,2,8,3,5,6,1,4]=>0000000
[7,2,3,8,4,6,1,5]=>0000000
[1,7,3,4,8,5,2,6]=>1000000
[1,7,3,8,5,4,2,6]=>1000000
[7,2,8,4,5,3,1,6]=>0000000
[2,8,6,4,3,1,7,5]=>0000000
[1,7,3,4,8,2,5,6]=>1000000
[1,5,8,3,4,6,2,7]=>1000000
[1,3,8,4,2,5,7,6]=>1000000
[1,4,7,6,2,3,8,5]=>1000000
[1,8,4,6,7,2,3,5]=>1000000
[1,4,2,3,7,8,6,5]=>1001000
[5,7,1,6,4,8,3,2]=>0000000
[7,4,5,8,1,3,6,2]=>0000000
[1,4,3,6,2,5,8,7]=>1000010
[1,3,6,5,8,2,4,7]=>1000000
[1,4,6,3,2,8,5,7]=>1000000
[6,8,4,1,5,7,2,3]=>0000000
[5,2,6,7,4,1,8,3]=>0000000
[8,5,6,4,1,7,3,2]=>0000000
[7,8,3,1,6,4,5,2]=>0000000
[5,8,2,6,3,1,7,4]=>0000000
[4,5,8,1,6,3,7,2]=>0000000
[8,1,4,6,2,5,7,3]=>0000000
[4,5,8,1,6,2,7,3]=>0000000
[5,2,6,8,1,4,3,7]=>0000000
[6,7,3,8,2,1,4,5]=>0000000
[2,7,3,5,4,1,8,6]=>0000000
[2,6,3,7,4,1,8,5]=>0000000
[4,8,7,2,5,3,1,6]=>0000000
[1,6,3,2,8,7,4,5]=>1000000
[8,7,3,1,2,5,6,4]=>0000000
[7,4,5,1,2,6,8,3]=>0000000
[5,4,3,6,1,7,8,2]=>0000000
[3,2,7,8,5,6,1,4]=>0000000
[4,8,3,2,1,7,5,6]=>0000000
[1,8,4,5,6,3,2,7]=>1000000
[8,5,1,7,4,6,3,2]=>0000000
[1,3,7,8,4,6,2,5]=>1000000
[5,8,4,3,7,1,2,6]=>0000000
[5,6,4,8,7,2,1,3]=>0000000
[2,8,4,7,1,3,6,5]=>0000000
[6,8,3,4,5,2,1,7]=>0000000
[3,7,1,4,5,6,2,8]=>0000001
[3,6,1,4,5,2,7,8]=>0000011
[3,8,2,4,5,1,7,6]=>0000000
[3,7,2,1,5,6,4,8]=>0000001
[3,6,8,1,5,4,7,2]=>0000000
[1,7,4,6,3,5,2,8]=>1000001
[1,3,6,5,7,2,4,8]=>1000001
[1,7,2,5,6,4,3,8]=>1000001
[1,6,8,5,4,3,7,2]=>1000000
[2,5,7,8,4,3,1,6]=>0000000
[6,8,5,3,2,4,1,7]=>0000000
[1,6,8,5,3,2,7,4]=>1000000
[4,6,1,8,7,5,3,2]=>0000000
[1,3,7,6,8,5,2,4]=>1000000
[4,1,7,8,6,5,2,3]=>0000000
[5,4,3,7,6,1,2,8]=>0000001
[4,7,6,1,2,3,8,5]=>0000000
[4,5,2,6,7,8,1,3]=>0000000
[1,7,6,2,3,8,5,4]=>1000000
[4,5,1,3,7,6,2,8]=>0000001
[7,2,3,8,6,4,5,1]=>0000000
[1,5,4,3,8,6,2,7]=>1000000
[1,3,7,5,8,4,6,2]=>1000000
[5,8,1,2,7,6,4,3]=>0000000
[1,4,2,6,7,5,3,8]=>1000001
[1,8,2,4,6,5,3,7]=>1000000
[7,2,1,6,4,3,8,5]=>0000000
[1,4,8,7,2,3,6,5]=>1000000
[4,1,3,6,5,8,2,7]=>0000000
[4,3,7,1,5,8,2,6]=>0000000
[1,8,6,5,2,7,4,3]=>1000000
[1,8,6,2,7,4,3,5]=>1000000
[3,5,4,1,7,8,6,2]=>0000000
[6,8,7,2,1,5,4,3]=>0000000
[8,1,6,3,7,5,4,2]=>0000000
[8,5,1,3,7,6,4,2]=>0000000
[8,3,6,5,4,2,1,7]=>0000000
[6,1,3,5,7,2,8,4]=>0000000
[2,8,1,5,6,4,3,7]=>0000000
[1,6,7,5,8,4,2,3]=>1000000
[7,4,2,8,6,5,3,1]=>0000000
[6,8,4,7,3,2,5,1]=>0000000
[5,8,7,3,2,1,6,4]=>0000000
[5,8,7,2,6,4,3,1]=>0000000
[6,8,7,3,5,1,4,2]=>0000000
[4,8,5,2,6,7,3,1]=>0000000
[1,5,7,2,4,3,8,6]=>1000000
[1,2,7,5,8,4,3,6]=>1100000
[5,1,3,8,2,7,4,6]=>0000000
[5,7,1,3,2,8,4,6]=>0000000
[7,1,6,3,2,8,4,5]=>0000000
[8,1,7,2,3,6,5,4]=>0000000
[7,1,2,6,4,3,8,5]=>0000000
[1,4,7,8,3,2,5,6]=>1000000
[8,7,1,3,2,4,6,5]=>0000000
[8,1,6,3,2,4,7,5]=>0000000
[1,8,2,7,6,3,5,4]=>1000000
[8,1,6,3,2,7,4,5]=>0000000
[8,2,1,7,6,3,4,5]=>0000000
[8,7,2,4,3,1,5,6]=>0000000
[4,7,6,1,3,2,8,5]=>0000000
[2,8,1,3,5,6,4,7]=>0000000
[2,6,3,4,7,8,5,1]=>0000000
[7,6,3,1,8,5,2,4]=>0000000
[7,2,1,3,6,8,5,4]=>0000000
[7,6,3,8,1,5,2,4]=>0000000
[1,6,4,7,8,5,3,2]=>1000000
[7,2,5,8,6,1,3,4]=>0000000
[4,1,3,6,2,5,8,7]=>0000010
[7,1,4,6,3,2,5,8]=>0000001
[6,7,2,3,8,4,1,5]=>0000000
[2,7,8,1,5,4,3,6]=>0000000
[1,5,2,6,8,7,4,3]=>1000000
[1,8,3,7,5,2,6,4]=>1000000
[8,1,3,6,5,2,7,4]=>0000000
[7,1,3,8,5,2,6,4]=>0000000
[4,7,1,5,2,6,8,3]=>0000000
[7,4,1,5,2,6,8,3]=>0000000
[3,1,6,7,5,2,8,4]=>0000000
[8,6,2,4,5,1,7,3]=>0000000
[8,6,7,5,2,1,4,3]=>0000000
[7,1,4,5,2,6,8,3]=>0000000
[4,1,7,6,5,2,8,3]=>0000000
[8,4,1,5,6,2,7,3]=>0000000
[2,8,4,7,3,5,6,1]=>0000000
[1,5,4,8,3,2,6,7]=>1000000
[1,5,7,6,3,8,2,4]=>1000000
[2,6,3,1,7,8,4,5]=>0000000
[2,1,7,8,3,5,4,6]=>0100000
[1,5,8,6,7,4,2,3]=>1000000
[5,3,7,4,6,1,8,2]=>0000000
[3,6,7,1,5,4,8,2]=>0000000
[6,4,7,1,5,2,8,3]=>0000000
[1,6,5,2,8,7,4,3]=>1000000
[4,1,7,2,5,8,3,6]=>0000000
[3,2,5,8,6,1,7,4]=>0000000
[4,7,1,8,5,3,6,2]=>0000000
[6,4,7,2,5,3,1,8]=>0000001
[4,8,7,3,5,1,6,2]=>0000000
[5,3,8,7,1,6,2,4]=>0000000
[5,2,6,7,4,3,1,8]=>0000001
[8,5,1,6,4,3,2,7]=>0000000
[8,6,3,5,2,7,1,4]=>0000000
[8,4,6,2,1,5,7,3]=>0000000
[8,5,2,1,6,4,7,3]=>0000000
[1,7,2,8,5,4,6,3]=>1000000
[6,7,1,4,8,5,3,2]=>0000000
[7,3,2,8,5,1,4,6]=>0000000
[4,1,7,3,2,8,5,6]=>0000000
[8,3,5,2,4,7,1,6]=>0000000
[4,3,7,8,6,1,5,2]=>0000000
[1,2,6,3,7,8,5,4]=>1100000
[6,1,3,7,8,5,4,2]=>0000000
[2,6,4,7,5,3,1,8]=>0000001
[5,6,1,8,7,2,3,4]=>0000000
[3,8,6,1,5,2,4,7]=>0000000
[3,2,8,1,5,6,4,7]=>0000000
[5,8,7,3,2,1,4,6]=>0000000
[3,4,7,6,8,2,1,5]=>0000000
[2,8,1,3,7,5,6,4]=>0000000
[1,8,7,2,5,6,4,3]=>1000000
[3,4,7,1,5,8,2,6]=>0000000
[1,4,7,5,2,3,6,8]=>1000001
[1,5,3,6,8,4,7,2]=>1000000
[8,5,1,4,6,7,3,2]=>0000000
[3,4,7,5,6,8,2,1]=>0000000
[3,4,7,8,5,2,6,1]=>0000000
[4,8,1,7,5,6,3,2]=>0000000
[1,8,7,5,2,6,3,4]=>1000000
[1,7,6,3,4,5,8,2]=>1000000
[1,8,7,4,5,6,2,3]=>1000000
[1,8,7,3,6,4,2,5]=>1000000
[1,4,7,5,8,2,6,3]=>1000000
[1,4,7,2,3,6,5,8]=>1000001
[1,7,2,5,6,3,4,8]=>1000001
[1,2,6,5,8,3,4,7]=>1100000
[1,5,8,2,6,3,4,7]=>1000000
[6,8,3,2,7,5,1,4]=>0000000
[7,3,6,8,1,2,5,4]=>0000000
[4,1,5,7,2,6,3,8]=>0000001
[5,7,2,1,3,6,4,8]=>0000001
[3,5,6,7,2,4,1,8]=>0000001
[6,4,7,5,2,3,1,8]=>0000001
[1,5,6,4,8,3,2,7]=>1000000
[2,1,5,6,4,8,3,7]=>0100000
[5,1,4,7,8,6,2,3]=>0000000
[1,6,7,2,8,5,4,3]=>1000000
[5,3,2,1,7,8,6,4]=>0000000
[7,4,3,8,6,1,5,2]=>0000000
[4,3,7,1,5,8,6,2]=>0000000
[8,2,4,5,3,1,7,6]=>0000000
[1,4,3,2,7,5,8,6]=>1001000
[6,3,1,8,2,7,5,4]=>0000000
[4,1,7,8,3,2,5,6]=>0000000
[5,8,2,1,3,6,4,7]=>0000000
[5,7,6,3,4,1,8,2]=>0000000
[7,1,2,6,4,3,5,8]=>0000001
[7,1,2,6,5,3,4,8]=>0000001
[4,7,8,6,2,3,5,1]=>0000000
[7,1,2,4,8,6,5,3]=>0000000
[7,4,3,1,6,5,2,8]=>0000001
[3,5,1,2,6,8,7,4]=>0000000
[3,1,2,4,8,7,5,6]=>0011000
[2,7,4,6,3,8,1,5]=>0000000
[8,2,4,1,3,7,5,6]=>0000000
[4,2,6,7,5,1,8,3]=>0000000
[4,7,2,5,3,8,1,6]=>0000000
[3,5,7,4,2,8,1,6]=>0000000
[2,4,7,6,3,8,1,5]=>0000000
[4,6,8,5,1,2,3,7]=>0000000
[4,6,5,7,1,2,3,8]=>0000001
[4,6,5,7,1,3,8,2]=>0000000
[3,4,7,6,1,8,2,5]=>0000000
[8,5,2,1,6,3,4,7]=>0000000
[7,1,8,5,3,2,4,6]=>0000000
[4,2,8,5,7,1,6,3]=>0000000
[6,8,7,4,5,3,2,1]=>0000000
[6,4,8,1,5,2,3,7]=>0000000
[7,2,4,1,6,3,5,8]=>0000001
[2,8,7,3,1,4,5,6]=>0000000
[8,4,7,6,3,1,2,5]=>0000000
[6,4,7,5,3,2,8,1]=>0000000
[6,7,3,4,2,1,8,5]=>0000000
[6,4,8,3,1,5,7,2]=>0000000
[7,4,2,3,5,1,8,6]=>0000000
[3,1,6,5,2,4,8,7]=>0000010
[5,8,4,1,3,2,7,6]=>0000000
[5,3,4,7,6,1,8,2]=>0000000
[4,5,2,1,6,3,8,7]=>0000010
[4,5,2,1,6,7,3,8]=>0000001
[5,3,8,6,2,4,7,1]=>0000000
[2,5,1,6,4,3,8,7]=>0000010
[3,6,2,8,5,7,1,4]=>0000000
[4,6,8,1,5,7,2,3]=>0000000
[4,1,2,5,7,6,3,8]=>0000001
[4,6,5,8,1,7,3,2]=>0000000
[2,1,3,6,4,8,7,5]=>0110000
[4,8,1,2,7,5,6,3]=>0000000
[1,6,4,3,8,7,5,2]=>1000000
[4,5,1,6,8,7,2,3]=>0000000
[3,4,7,2,5,8,6,1]=>0000000
[2,5,1,8,6,4,7,3]=>0000000
[2,5,8,7,3,1,4,6]=>0000000
[3,8,7,2,6,1,4,5]=>0000000
[8,4,5,1,6,7,2,3]=>0000000
[2,5,1,8,3,6,4,7]=>0000000
[5,8,4,7,3,2,1,6]=>0000000
[5,8,1,3,4,7,2,6]=>0000000
[7,2,4,5,3,1,6,8]=>0000001
[3,7,4,6,2,1,8,5]=>0000000
[4,3,7,6,5,1,8,2]=>0000000
[5,1,4,8,2,3,7,6]=>0000000
[3,2,8,5,4,1,6,7]=>0000000
[1,2,8,3,4,6,5,7]=>1100000
[8,1,2,7,3,5,4,6]=>0000000
[5,7,1,2,6,3,4,8]=>0000001
[1,2,7,5,6,3,4,8]=>1100001
[5,1,4,7,2,3,6,8]=>0000001
[4,8,1,2,3,6,5,7]=>0000000
[6,2,3,8,7,1,4,5]=>0000000
[8,2,3,6,4,7,5,1]=>0000000
[7,2,3,6,4,8,1,5]=>0000000
[4,5,1,3,2,6,8,7]=>0000110
[6,4,7,5,1,3,2,8]=>0000001
[5,3,1,6,2,7,8,4]=>0000000
[6,7,2,4,1,8,3,5]=>0000000
[5,1,6,3,2,7,8,4]=>0000000
[5,2,1,6,4,7,3,8]=>0000001
[5,4,1,6,2,7,8,3]=>0000000
[6,7,2,5,4,1,3,8]=>0000001
[7,1,3,5,4,2,8,6]=>0000000
[6,3,2,4,8,7,1,5]=>0000000
[2,7,1,5,8,6,4,3]=>0000000
[7,1,4,3,6,5,8,2]=>0000000
[7,1,5,6,3,4,8,2]=>0000000
[6,1,8,5,4,7,3,2]=>0000000
[7,6,1,5,4,2,8,3]=>0000000
[5,1,6,8,7,2,4,3]=>0000000
[4,6,7,5,3,1,8,2]=>0000000
[5,3,2,6,8,7,4,1]=>0000000
[5,4,6,2,8,7,3,1]=>0000000
[4,5,8,6,7,2,3,1]=>0000000
[4,5,7,6,1,2,8,3]=>0000000
[4,6,5,7,2,1,8,3]=>0000000
[7,4,8,6,3,5,1,2]=>0000000
[4,6,3,5,1,8,2,7]=>0000000
[8,5,7,6,2,3,4,1]=>0000000
[3,4,6,7,8,2,5,1]=>0000000
[2,5,6,7,3,8,1,4]=>0000000
[2,4,7,5,8,6,3,1]=>0000000
[1,6,8,3,4,2,7,5]=>1000000
[2,6,5,3,7,4,8,1]=>0000000
[1,4,6,5,3,8,2,7]=>1000000
[2,4,5,8,7,1,3,6]=>0000000
[3,1,6,8,7,5,4,2]=>0000000
[3,1,8,7,5,6,4,2]=>0000000
[5,1,8,7,6,3,4,2]=>0000000
[8,2,7,5,3,6,4,1]=>0000000
[8,7,2,3,1,5,6,4]=>0000000
[2,8,5,7,6,1,3,4]=>0000000
[1,8,7,2,6,4,5,3]=>1000000
[8,7,2,1,6,4,5,3]=>0000000
[1,8,4,7,6,2,5,3]=>1000000
[8,7,1,6,4,3,5,2]=>0000000
[8,4,1,7,3,6,5,2]=>0000000
[4,5,1,8,7,3,6,2]=>0000000
[4,3,8,5,2,6,1,7]=>0000000
[5,7,4,1,2,6,8,3]=>0000000
[2,8,6,7,5,3,1,4]=>0000000
[8,4,7,3,1,2,5,6]=>0000000
[4,8,3,2,6,1,7,5]=>0000000
[4,3,7,6,1,5,2,8]=>0000001
[7,5,4,3,6,1,8,2]=>0000000
[4,6,8,5,3,1,2,7]=>0000000
[5,6,8,4,3,7,2,1]=>0000000
[7,5,8,4,2,1,6,3]=>0000000
[8,4,2,6,5,7,3,1]=>0000000
[1,7,4,2,8,5,6,3]=>1000000
[3,2,1,7,4,6,8,5]=>0010000
[6,2,5,7,1,4,3,8]=>0000001
[4,8,5,3,1,2,6,7]=>0000000
[8,5,2,4,6,1,3,7]=>0000000
[1,5,3,4,7,2,6,8]=>1000001
[8,4,6,1,5,7,3,2]=>0000000
[6,4,7,2,1,3,8,5]=>0000000
[6,7,3,1,2,4,8,5]=>0000000
[3,1,8,7,6,2,5,4]=>0000000
[1,3,8,6,7,2,5,4]=>1000000
[5,2,3,6,1,8,4,7]=>0000000
[3,2,6,4,7,1,5,8]=>0000001
[3,6,2,5,7,8,4,1]=>0000000
[2,7,4,6,8,3,5,1]=>0000000
[3,7,6,8,1,5,4,2]=>0000000
[1,5,7,6,8,4,2,3]=>1000000
[2,7,4,6,8,5,3,1]=>0000000
[3,7,6,8,5,1,4,2]=>0000000
[7,1,3,8,6,2,4,5]=>0000000
[2,7,1,8,6,5,3,4]=>0000000
[5,3,4,7,6,2,1,8]=>0000001
[7,4,5,3,8,1,6,2]=>0000000
[7,3,6,1,4,2,8,5]=>0000000
[1,2,4,8,5,7,3,6]=>1100000
[7,1,4,6,8,5,3,2]=>0000000
[7,2,5,1,6,4,8,3]=>0000000
[2,7,1,5,6,4,8,3]=>0000000
[1,5,7,8,4,6,3,2]=>1000000
[1,4,8,5,7,6,3,2]=>1000000
[2,8,1,5,6,4,7,3]=>0000000
[3,7,2,8,1,5,6,4]=>0000000
[7,3,2,5,1,6,8,4]=>0000000
[8,7,2,1,3,6,5,4]=>0000000
[7,3,2,8,1,4,6,5]=>0000000
[3,6,2,1,8,4,7,5]=>0000000
[4,6,5,3,1,8,7,2]=>0000000
[8,6,7,4,3,1,5,2]=>0000000
[8,6,7,1,4,3,5,2]=>0000000
[8,6,7,2,1,3,5,4]=>0000000
[8,5,6,1,7,4,2,3]=>0000000
[6,1,5,4,2,7,8,3]=>0000000
[3,8,6,1,5,7,4,2]=>0000000
[6,4,2,3,7,8,1,5]=>0000000
[4,3,6,2,5,8,1,7]=>0000000
[8,2,4,3,1,7,5,6]=>0000000
[8,2,1,4,3,7,5,6]=>0000000
[7,1,6,8,3,2,4,5]=>0000000
[5,7,2,6,4,1,8,3]=>0000000
[5,7,1,8,3,2,6,4]=>0000000
[2,6,1,8,4,7,5,3]=>0000000
[5,4,7,2,1,3,8,6]=>0000000
[5,1,4,6,2,7,8,3]=>0000000
[1,2,5,3,7,8,6,4]=>1100000
[4,8,3,5,1,2,7,6]=>0000000
[6,1,3,7,2,8,4,5]=>0000000
[3,8,5,4,1,7,2,6]=>0000000
[3,1,5,8,2,6,7,4]=>0000000
[2,8,5,3,1,7,4,6]=>0000000
[6,5,2,3,7,1,8,4]=>0000000
[7,2,1,6,4,8,3,5]=>0000000
[2,1,3,7,5,8,4,6]=>0110000
[6,2,4,5,7,1,8,3]=>0000000
[2,3,8,7,1,4,6,5]=>0000000
[4,2,7,5,6,8,1,3]=>0000000
[6,8,2,5,4,7,3,1]=>0000000
[5,3,2,7,6,1,8,4]=>0000000
[6,4,7,1,2,3,8,5]=>0000000
[6,1,7,3,8,4,5,2]=>0000000
[8,2,3,1,6,4,7,5]=>0000000
[1,8,7,2,3,4,6,5]=>1000000
[1,8,3,7,6,2,5,4]=>1000000
[1,3,8,2,5,6,4,7]=>1000000
[1,3,2,7,4,6,8,5]=>1010000
[1,3,8,4,6,2,7,5]=>1000000
[8,2,3,6,7,4,5,1]=>0000000
[5,6,4,2,1,7,3,8]=>0000001
[6,4,7,1,2,5,3,8]=>0000001
[1,2,7,5,8,6,3,4]=>1100000
[7,4,5,1,6,8,2,3]=>0000000
[1,7,8,4,2,6,3,5]=>1000000
[6,3,2,5,7,4,1,8]=>0000001
[6,2,1,5,3,7,8,4]=>0000000
[4,1,7,8,3,6,5,2]=>0000000
[6,4,2,1,7,3,5,8]=>0000001
[5,8,4,2,1,3,6,7]=>0000000
[1,7,5,8,4,3,6,2]=>1000000
[5,8,1,6,4,7,2,3]=>0000000
[2,4,7,5,1,8,6,3]=>0000000
[2,3,7,1,8,5,6,4]=>0000000
[6,5,1,2,7,4,8,3]=>0000000
[3,6,5,7,8,2,4,1]=>0000000
[3,6,5,1,8,7,4,2]=>0000000
[7,8,1,2,5,4,3,6]=>0000000
[5,2,4,7,6,8,1,3]=>0000000
[3,1,5,7,4,8,6,2]=>0000000
[4,1,7,6,8,2,5,3]=>0000000
[7,2,6,4,1,5,3,8]=>0000001
[1,2,6,5,8,3,7,4]=>1100000
[7,3,5,6,1,4,2,8]=>0000001
[5,8,3,1,6,7,4,2]=>0000000
[4,5,8,1,7,3,6,2]=>0000000
[4,7,1,6,8,5,2,3]=>0000000
[5,8,7,1,6,4,2,3]=>0000000
[1,7,3,8,2,5,4,6]=>1000000
[8,4,1,3,6,7,5,2]=>0000000
[6,2,7,1,4,3,5,8]=>0000001
[8,3,2,6,5,1,7,4]=>0000000
[1,6,4,8,2,3,5,7]=>1000000
[1,4,7,3,5,8,6,2]=>1000000
[3,7,8,2,5,1,6,4]=>0000000
[8,6,1,4,3,2,7,5]=>0000000
[7,3,8,2,4,1,5,6]=>0000000
[6,3,7,8,1,2,5,4]=>0000000
[7,6,1,5,2,3,8,4]=>0000000
[5,1,8,6,7,2,3,4]=>0000000
[5,7,1,6,8,2,3,4]=>0000000
[6,8,4,2,1,7,3,5]=>0000000
[6,3,2,8,1,7,4,5]=>0000000
[6,4,1,3,7,8,5,2]=>0000000
[6,8,5,4,3,7,1,2]=>0000000
[6,1,2,4,8,3,7,5]=>0000000
[2,5,6,8,1,4,7,3]=>0000000
[7,4,1,6,5,2,3,8]=>0000001
[4,1,6,5,2,3,8,7]=>0000010
[4,5,1,7,8,6,2,3]=>0000000
[4,8,6,2,5,7,3,1]=>0000000
[1,6,8,7,4,5,3,2]=>1000000
[4,3,1,6,2,5,8,7]=>0000010
[5,3,1,4,7,8,2,6]=>0000000
[5,2,4,1,6,8,3,7]=>0000000
[2,5,3,4,6,8,1,7]=>0000000
[4,7,1,2,5,6,3,8]=>0000001
[6,7,3,1,8,2,4,5]=>0000000
[7,3,1,4,6,2,8,5]=>0000000
[7,4,1,2,5,6,3,8]=>0000001
[5,4,1,3,6,8,7,2]=>0000000
[5,7,4,8,1,6,3,2]=>0000000
[4,3,1,2,5,7,6,8]=>0001101
[1,2,4,7,8,5,6,3]=>1100000
[2,1,6,5,8,7,3,4]=>0100000
[3,1,8,4,2,7,6,5]=>0000000
[2,8,7,4,1,3,6,5]=>0000000
[8,2,3,1,7,6,4,5]=>0000000
[8,7,2,3,1,6,4,5]=>0000000
[7,2,5,8,3,1,4,6]=>0000000
[6,8,2,3,1,7,4,5]=>0000000
[8,2,5,7,3,1,4,6]=>0000000
[8,2,7,3,1,4,5,6]=>0000000
[5,3,2,8,7,1,6,4]=>0000000
[4,8,3,2,6,5,7,1]=>0000000
[3,5,4,6,1,2,8,7]=>0000010
[7,3,5,6,1,8,2,4]=>0000000
[5,7,6,3,4,2,8,1]=>0000000
[4,6,7,2,3,5,8,1]=>0000000
[6,5,4,8,7,2,3,1]=>0000000
[5,7,4,3,6,2,1,8]=>0000001
[1,8,5,6,2,3,7,4]=>1000000
[8,5,6,1,3,2,7,4]=>0000000
[4,5,8,3,6,1,7,2]=>0000000
[4,5,8,7,2,3,1,6]=>0000000
[8,2,6,4,3,7,5,1]=>0000000
[6,3,1,8,7,4,5,2]=>0000000
[8,6,3,2,7,4,5,1]=>0000000
[1,3,6,8,7,4,5,2]=>1000000
[5,7,1,3,6,2,4,8]=>0000001
[4,7,1,3,2,5,8,6]=>0000000
[6,3,1,5,4,8,2,7]=>0000000
[4,7,6,3,5,2,8,1]=>0000000
[1,7,5,3,4,8,6,2]=>1000000
[5,8,2,3,4,7,6,1]=>0000000
[8,7,3,2,6,4,5,1]=>0000000
[8,3,1,4,7,5,2,6]=>0000000
[5,3,1,6,4,8,7,2]=>0000000
[3,4,8,5,7,2,6,1]=>0000000
[8,5,1,2,7,6,4,3]=>0000000
[3,7,8,5,6,2,4,1]=>0000000
[7,4,3,6,2,5,8,1]=>0000000
[4,3,8,7,1,6,2,5]=>0000000
[1,5,3,8,4,7,2,6]=>1000000
[8,2,3,1,6,5,7,4]=>0000000
[8,4,2,7,1,3,6,5]=>0000000
[8,4,2,3,1,6,7,5]=>0000000
[4,7,2,3,6,5,8,1]=>0000000
[3,8,2,6,4,7,1,5]=>0000000
[1,7,5,8,6,2,4,3]=>1000000
[6,5,1,7,4,8,3,2]=>0000000
[7,6,3,5,1,4,8,2]=>0000000
[6,5,4,1,7,2,3,8]=>0000001
[8,3,6,1,7,4,5,2]=>0000000
[7,1,2,6,4,8,3,5]=>0000000
[3,5,1,8,6,2,4,7]=>0000000
[1,8,7,5,4,6,2,3]=>1000000
[8,1,6,7,4,5,3,2]=>0000000
[8,1,6,4,7,5,3,2]=>0000000
[1,6,4,3,5,8,2,7]=>1000000
[5,1,4,3,7,8,6,2]=>0000000
[5,7,1,8,6,3,2,4]=>0000000
[5,7,6,3,4,2,1,8]=>0000001
[4,1,3,7,6,5,2,8]=>0000001
[4,3,6,1,2,7,8,5]=>0000000
[5,8,3,6,7,2,4,1]=>0000000
[8,1,6,2,5,7,4,3]=>0000000
[2,7,1,5,3,6,8,4]=>0000000
[6,8,7,3,4,2,5,1]=>0000000
[1,8,6,2,4,7,5,3]=>1000000
[5,7,3,6,4,2,1,8]=>0000001
[5,7,3,6,4,1,8,2]=>0000000
[3,7,5,6,4,1,8,2]=>0000000
[2,8,5,7,3,4,6,1]=>0000000
[2,1,3,8,5,4,6,7]=>0110000
[5,3,6,8,2,4,1,7]=>0000000
[1,7,8,6,3,2,4,5]=>1000000
[7,1,2,5,3,8,4,6]=>0000000
[3,7,4,2,5,1,8,6]=>0000000
[1,8,3,4,5,7,2,6]=>1000000
[4,5,7,6,2,1,3,8]=>0000001
[7,8,2,6,5,4,3,1]=>0000000
[5,3,7,8,4,2,1,6]=>0000000
[7,3,6,8,1,5,4,2]=>0000000
[3,8,5,2,1,6,7,4]=>0000000
[4,8,7,1,2,5,3,6]=>0000000
[8,7,2,6,1,4,3,5]=>0000000
[6,1,7,3,8,2,4,5]=>0000000
[7,1,8,6,4,2,3,5]=>0000000
[4,1,3,5,8,2,6,7]=>0000000
[1,8,5,7,4,6,3,2]=>1000000
[1,4,7,6,8,3,5,2]=>1000000
[1,7,2,8,6,5,3,4]=>1000000
[5,7,1,6,4,2,3,8]=>0000001
[4,8,2,7,5,1,6,3]=>0000000
[2,8,4,6,7,1,5,3]=>0000000
[3,8,5,1,4,2,6,7]=>0000000
[1,7,6,2,5,3,8,4]=>1000000
[1,7,5,2,4,3,8,6]=>1000000
[2,8,5,1,4,3,6,7]=>0000000
[5,1,7,3,2,6,8,4]=>0000000
[4,1,7,5,6,8,2,3]=>0000000
[3,7,6,2,1,4,5,8]=>0000001
[1,6,8,7,2,5,4,3]=>1000000
[1,4,8,7,6,3,5,2]=>1000000
[4,6,7,5,2,3,1,8]=>0000001
[6,2,5,3,1,8,7,4]=>0000000
[6,2,5,3,8,7,1,4]=>0000000
[6,4,5,3,8,7,1,2]=>0000000
[1,6,4,5,8,7,3,2]=>1000000
[8,4,7,5,2,3,1,6]=>0000000
[8,2,7,4,5,3,1,6]=>0000000
[8,2,4,7,5,3,1,6]=>0000000
[8,2,6,7,5,3,1,4]=>0000000
[8,4,6,7,5,3,1,2]=>0000000
[6,4,5,8,7,3,1,2]=>0000000
[6,2,8,7,5,3,1,4]=>0000000
[4,6,5,3,8,7,1,2]=>0000000
[6,7,2,4,5,3,1,8]=>0000001
[6,8,7,4,5,3,1,2]=>0000000
[2,8,4,7,5,3,1,6]=>0000000
[5,8,7,4,6,3,1,2]=>0000000
[6,5,8,4,7,2,1,3]=>0000000
[4,8,6,2,5,7,1,3]=>0000000
[8,1,6,2,5,7,3,4]=>0000000
[6,8,1,2,4,7,3,5]=>0000000
[8,1,5,3,2,7,4,6]=>0000000
[8,3,7,6,2,5,4,1]=>0000000
[1,6,2,3,8,5,7,4]=>1000000
[3,4,2,6,8,5,7,1]=>0000000
[7,4,1,3,6,8,2,5]=>0000000
[6,8,1,2,7,3,4,5]=>0000000
[1,6,2,8,7,3,4,5]=>1000000
[2,3,8,1,4,6,5,7]=>0000000
[3,6,2,4,7,5,8,1]=>0000000
[3,1,8,4,6,2,5,7]=>0000000
[4,2,7,3,5,8,1,6]=>0000000
[3,1,8,4,5,6,2,7]=>0000000
[4,2,7,8,6,3,1,5]=>0000000
[7,1,4,2,8,6,3,5]=>0000000
[2,3,7,4,8,1,6,5]=>0000000
[1,6,3,5,8,7,4,2]=>1000000
[8,4,6,3,5,1,7,2]=>0000000
[7,3,2,6,8,4,5,1]=>0000000
[2,4,5,7,1,6,8,3]=>0000000
[8,4,2,6,7,3,5,1]=>0000000
[5,6,2,4,8,7,3,1]=>0000000
[8,5,6,2,3,7,4,1]=>0000000
[7,8,1,4,5,6,2,3]=>0000000
[8,3,1,2,5,4,7,6]=>0000000
[8,1,5,3,7,4,2,6]=>0000000
[1,2,6,7,8,3,5,4]=>1100000
[1,2,4,8,6,7,3,5]=>1100000
[8,1,2,6,5,7,3,4]=>0000000
[7,1,2,6,5,8,3,4]=>0000000
[2,6,1,4,7,5,8,3]=>0000000
[3,1,5,7,2,6,8,4]=>0000000
[3,1,7,5,2,6,8,4]=>0000000
[3,2,7,5,1,6,8,4]=>0000000
[5,2,7,3,1,6,8,4]=>0000000
[6,7,2,1,3,4,8,5]=>0000000
[4,6,3,1,2,7,8,5]=>0000000
[2,3,5,6,8,4,7,1]=>0000000
[2,4,5,8,3,6,7,1]=>0000000
[8,1,4,3,6,2,5,7]=>0000000
[1,6,3,7,8,4,2,5]=>1000000
[5,2,1,3,8,4,6,7]=>0000000
[1,4,3,5,8,2,6,7]=>1000000
[2,1,3,8,6,4,5,7]=>0110000
[1,3,6,4,5,8,2,7]=>1000000
[6,1,4,3,5,8,2,7]=>0000000
[6,5,1,3,8,2,4,7]=>0000000
[1,4,3,8,6,2,5,7]=>1000000
[4,1,3,8,6,2,5,7]=>0000000
[6,4,7,8,3,5,1,2]=>0000000
[3,5,6,7,1,8,4,2]=>0000000
[3,5,2,4,8,6,7,1]=>0000000
[3,7,6,1,4,8,5,2]=>0000000
[8,4,7,1,5,6,2,3]=>0000000
[2,6,3,1,4,7,8,5]=>0000000
[2,7,3,4,1,8,5,6]=>0000000
[8,6,4,5,1,3,7,2]=>0000000
[7,4,8,5,3,6,1,2]=>0000000
[8,4,6,5,1,3,7,2]=>0000000
[4,5,3,8,7,1,2,6]=>0000000
[8,5,4,7,6,1,2,3]=>0000000
[2,3,7,8,1,4,6,5]=>0000000
[8,2,3,5,4,1,7,6]=>0000000
[7,1,3,8,2,4,6,5]=>0000000
[7,2,3,6,4,1,8,5]=>0000000
[6,5,2,4,1,8,3,7]=>0000000
[5,7,2,4,1,3,8,6]=>0000000
[6,2,5,4,1,8,3,7]=>0000000
[4,2,6,3,5,8,1,7]=>0000000
[1,8,5,4,2,6,3,7]=>1000000
[6,2,5,7,4,1,8,3]=>0000000
[3,6,1,8,7,4,5,2]=>0000000
[5,3,2,7,6,4,1,8]=>0000001
[5,3,7,4,6,2,1,8]=>0000001
[5,7,3,2,1,8,6,4]=>0000000
[5,7,6,3,2,1,8,4]=>0000000
[3,2,7,5,4,1,8,6]=>0000000
[1,7,3,5,4,2,6,8]=>1000001
[5,3,7,4,1,8,6,2]=>0000000
[7,3,5,4,1,6,8,2]=>0000000
[7,5,1,6,8,3,2,4]=>0000000
[5,3,1,7,6,8,2,4]=>0000000
[7,1,5,3,2,4,8,6]=>0000000
[1,8,3,6,2,4,7,5]=>1000000
[1,8,7,5,6,4,2,3]=>1000000
[6,8,2,1,5,4,3,7]=>0000000
[6,3,2,1,5,8,4,7]=>0000000
[4,3,5,6,2,8,1,7]=>0000000
[6,3,5,2,7,8,4,1]=>0000000
[4,5,3,1,6,8,2,7]=>0000000
[3,4,6,7,5,1,8,2]=>0000000
[7,4,1,2,5,6,8,3]=>0000000
[4,8,2,6,7,1,5,3]=>0000000
[1,5,2,4,7,6,8,3]=>1000000
[3,7,8,4,5,6,1,2]=>0000000
[3,7,5,6,4,2,8,1]=>0000000
[5,2,3,8,6,1,4,7]=>0000000
[1,4,3,8,5,6,2,7]=>1000000
[7,8,2,6,4,3,5,1]=>0000000
[4,5,8,7,2,3,6,1]=>0000000
[7,8,6,1,4,2,5,3]=>0000000
[8,3,6,5,2,7,1,4]=>0000000
[5,1,3,6,4,2,7,8]=>0000011
[6,1,2,4,7,5,3,8]=>0000001
[6,4,5,1,8,7,3,2]=>0000000
[8,6,2,1,7,3,5,4]=>0000000
[7,8,6,1,4,3,5,2]=>0000000
[8,2,6,5,1,7,4,3]=>0000000
[7,6,4,1,2,5,8,3]=>0000000
[2,6,5,4,8,7,1,3]=>0000000
[5,6,7,1,3,2,4,8]=>0000001
[7,1,8,4,3,2,6,5]=>0000000
[1,8,5,2,7,6,4,3]=>1000000
[1,7,6,8,2,5,4,3]=>1000000
[1,7,8,6,2,5,4,3]=>1000000
[1,6,3,4,2,5,8,7]=>1000010
[1,5,7,6,2,3,8,4]=>1000000
[1,4,3,7,6,2,5,8]=>1000001
[1,3,7,4,6,8,5,2]=>1000000
[3,7,4,6,8,1,5,2]=>0000000
[5,6,1,4,3,8,7,2]=>0000000
[5,8,6,4,3,1,7,2]=>0000000
[4,1,3,7,8,6,5,2]=>0000000
[9,1,2,3,4,5,6,7,8]=>00000000
[8,1,2,3,4,5,6,9,7]=>00000000
[7,1,2,3,4,5,9,6,8]=>00000000
[7,1,2,3,4,5,8,9,6]=>00000000
[6,1,2,3,4,7,8,9,5]=>00000000
[5,1,2,3,9,4,6,7,8]=>00000000
[9,1,2,3,6,4,5,7,8]=>00000000
[5,1,2,3,6,7,8,9,4]=>00000000
[9,1,2,5,3,4,6,7,8]=>00000000
[4,1,2,5,6,7,8,9,3]=>00000000
[3,1,9,2,4,5,6,7,8]=>00000000
[3,1,5,2,7,4,9,6,8]=>00000000
[3,1,4,8,9,2,5,6,7]=>00000000
[3,1,4,5,6,7,9,2,8]=>00000000
[3,1,4,5,6,7,8,9,2]=>00000000
[2,9,1,3,4,5,6,7,8]=>00000000
[2,5,1,3,6,7,8,9,4]=>00000000
[2,4,1,6,3,8,5,9,7]=>00000000
[9,3,1,2,4,5,6,7,8]=>00000000
[9,7,1,2,3,4,5,6,8]=>00000000
[8,9,1,2,3,4,5,6,7]=>00000000
[8,7,1,2,3,4,5,9,6]=>00000000
[9,6,1,2,3,4,8,5,7]=>00000000
[7,6,1,2,3,4,8,9,5]=>00000000
[5,6,1,2,3,7,8,9,4]=>00000000
[5,4,1,2,6,7,8,9,3]=>00000000
[9,4,1,6,2,8,3,5,7]=>00000000
[8,9,1,5,6,7,2,3,4]=>00000000
[4,3,1,5,6,7,8,9,2]=>00000000
[2,3,5,1,6,7,8,9,4]=>00000000
[2,6,7,1,3,4,8,9,5]=>00000000
[6,3,4,1,2,7,8,9,5]=>00000000
[9,7,8,1,2,3,4,5,6]=>00000000
[6,7,8,1,2,3,4,9,5]=>00000000
[9,8,5,1,7,2,3,4,6]=>00000000
[9,5,4,1,8,7,2,3,6]=>00000000
[2,7,8,9,1,3,4,5,6]=>00000000
[7,3,4,8,1,2,5,9,6]=>00000000
[7,3,8,9,1,2,4,5,6]=>00000000
[8,9,4,5,6,1,2,3,7]=>00000000
[2,3,4,5,6,7,9,1,8]=>00000000
[9,3,4,5,6,7,8,1,2]=>00000000
[2,3,4,5,6,7,8,9,1]=>00000000
[2,3,4,5,6,7,8,1,9]=>00000001
[2,3,4,5,6,8,9,1,7]=>00000000
[2,3,4,5,7,8,9,1,6]=>00000000
[2,3,4,6,7,8,9,1,5]=>00000000
[2,3,5,6,7,8,9,1,4]=>00000000
[2,4,5,6,7,8,9,1,3]=>00000000
[3,4,5,6,7,8,9,1,2]=>00000000
[2,3,4,5,6,7,1,8,9]=>00000011
[2,3,4,5,6,1,9,7,8]=>00000100
[2,3,4,5,1,8,9,6,7]=>00001000
[2,3,4,1,7,8,9,5,6]=>00010000
[2,3,1,6,7,8,9,4,5]=>00100000
[2,1,5,6,7,8,9,3,4]=>01000000
[1,4,5,6,7,8,9,2,3]=>10000000
[1,2,3,4,5,6,7,9,8]=>11111110
[2,1,3,4,5,6,7,8,9]=>01111111
[1,8,2,3,4,5,6,9,7]=>10000000
[7,1,2,3,4,5,6,9,8]=>00000010
[2,1,9,3,4,5,6,7,8]=>01000000
[2,8,1,3,4,5,6,7,9]=>00000001
[1,2,3,4,5,6,7,8,9]=>11111111
[1,2,3,4,5,6,8,9,7]=>11111100
[1,2,3,4,5,7,8,9,6]=>11111000
[1,2,3,4,6,7,8,9,5]=>11110000
[1,2,3,5,6,7,8,9,4]=>11100000
[1,2,4,5,6,7,8,9,3]=>11000000
[1,3,4,5,6,7,8,9,2]=>10000000
[1,2,3,4,5,6,9,8,7]=>11111100
[1,2,3,4,5,8,7,9,6]=>11111000
[1,2,3,4,7,6,8,9,5]=>11110000
[1,2,3,6,5,7,8,9,4]=>11100000
[1,2,5,4,6,7,8,9,3]=>11000000
[1,4,3,5,6,7,8,9,2]=>10000000
[3,2,4,5,6,7,8,9,1]=>00000000
[9,8,7,6,5,4,3,2,1]=>00000000
[8,9,7,6,5,4,3,2,1]=>00000000
[8,7,9,6,5,4,3,2,1]=>00000000
[8,7,6,9,5,4,3,2,1]=>00000000
[8,7,6,5,9,4,3,2,1]=>00000000
[8,7,6,5,4,9,3,2,1]=>00000000
[8,7,6,5,4,3,9,2,1]=>00000000
[8,7,6,5,4,3,2,9,1]=>00000000
[8,7,6,5,4,3,2,1,9]=>00000001
[7,8,9,6,5,4,3,2,1]=>00000000
[8,6,7,9,5,4,3,2,1]=>00000000
[8,7,5,6,9,4,3,2,1]=>00000000
[8,7,6,4,5,9,3,2,1]=>00000000
[8,7,6,5,3,4,9,2,1]=>00000000
[8,7,6,5,4,2,3,9,1]=>00000000
[8,7,6,5,4,3,1,2,9]=>00000001
[1,9,8,7,6,5,4,3,2]=>10000000
[8,7,6,4,5,3,2,1,9]=>00000001
[1,9,8,7,5,6,4,3,2]=>10000000
[8,7,5,4,6,3,2,1,9]=>00000001
[8,7,4,6,5,3,2,1,9]=>00000001
[1,9,8,6,5,7,4,3,2]=>10000000
[1,9,8,5,7,6,4,3,2]=>10000000
[9,2,1,3,4,5,6,7,8]=>00000000
[9,2,3,1,4,5,6,7,8]=>00000000
[4,2,3,5,6,7,8,9,1]=>00000000
[3,4,2,5,6,7,8,9,1]=>00000000
[1,2,3,4,5,6,9,7,8]=>11111100
[1,2,3,4,5,8,6,9,7]=>11111000
[1,4,2,5,6,7,8,9,3]=>10000000
[9,8,1,2,3,4,5,6,7]=>00000000
[7,8,9,1,2,3,4,5,6]=>00000000
[9,8,7,1,2,3,4,5,6]=>00000000
[6,7,8,9,1,2,3,4,5]=>00000000
[9,6,7,8,1,2,3,4,5]=>00000000
[8,9,6,7,1,2,3,4,5]=>00000000
[9,8,6,7,1,2,3,4,5]=>00000000
[9,8,7,6,1,2,3,4,5]=>00000000
[9,5,6,7,8,1,2,3,4]=>00000000
[8,9,5,6,7,1,2,3,4]=>00000000
[9,8,5,6,7,1,2,3,4]=>00000000
[9,7,8,5,6,1,2,3,4]=>00000000
[9,8,7,5,6,1,2,3,4]=>00000000
[9,8,7,6,5,1,2,3,4]=>00000000
[7,8,9,4,5,6,1,2,3]=>00000000
[9,7,8,4,5,6,1,2,3]=>00000000
[9,8,7,4,5,6,1,2,3]=>00000000
[8,9,6,7,4,5,1,2,3]=>00000000
[9,8,6,7,4,5,1,2,3]=>00000000
[9,8,7,6,4,5,1,2,3]=>00000000
[9,8,7,6,5,4,1,2,3]=>00000000
[9,7,8,5,6,3,4,1,2]=>00000000
[9,8,7,5,6,3,4,1,2]=>00000000
[9,8,7,6,5,3,4,1,2]=>00000000
[9,8,7,6,5,4,3,1,2]=>00000000
[7,8,6,5,4,3,2,1,9]=>00000001
[7,6,8,5,4,3,2,1,9]=>00000001
[8,1,2,3,4,5,6,7,9]=>00000001
[1,9,2,3,4,5,6,7,8]=>10000000
[1,8,9,2,3,4,5,6,7]=>10000000
[2,1,4,3,6,5,8,7,9]=>01010101
[2,4,1,3,6,5,8,7,9]=>00010101
[2,4,1,6,3,5,8,7,9]=>00000101
[2,4,1,6,3,8,5,7,9]=>00000001
[2,4,1,6,3,7,5,9,8]=>00000010
[2,4,1,5,3,7,6,9,8]=>00001010
[2,3,1,5,4,7,6,9,8]=>00101010
[1,3,2,5,4,7,6,9,8]=>10101010
[2,4,6,1,3,5,8,7,9]=>00000101
[2,4,1,6,8,3,5,7,9]=>00000001
[2,4,1,6,3,8,9,5,7]=>00000000
[2,4,1,6,3,7,5,8,9]=>00000011
[2,4,1,5,3,8,6,9,7]=>00001000
[2,3,1,6,4,7,5,9,8]=>00100010
[1,4,2,5,3,7,6,9,8]=>10001010
[7,1,2,3,4,5,6,8,9]=>00000011
[3,4,1,2,5,6,7,8,9]=>00011111
[3,2,1,4,5,6,7,8,9]=>00111111
[4,5,6,1,2,3,7,8,9]=>00000111
[4,2,5,1,3,6,7,8,9]=>00001111
[4,3,2,1,5,6,7,8,9]=>00011111
[5,6,7,8,1,2,3,4,9]=>00000001
[5,2,6,7,1,3,4,8,9]=>00000011
[5,6,3,4,1,2,7,8,9]=>00000111
[5,3,2,6,1,4,7,8,9]=>00000111
[5,4,3,2,1,6,7,8,9]=>00001111
[6,2,7,8,9,1,3,4,5]=>00000000
[6,7,3,4,8,1,2,5,9]=>00000001
[6,3,2,7,8,1,4,5,9]=>00000001
[6,4,7,2,5,1,3,8,9]=>00000011
[6,4,3,2,7,1,5,8,9]=>00000011
[6,5,4,3,2,1,7,8,9]=>00000111
[7,4,8,2,5,9,1,3,6]=>00000000
[7,4,3,2,8,9,1,5,6]=>00000000
[7,8,5,6,3,4,1,2,9]=>00000001
[7,5,3,8,2,6,1,4,9]=>00000001
[7,5,4,3,2,8,1,6,9]=>00000001
[7,6,5,4,3,2,1,8,9]=>00000011
[8,6,9,4,7,2,5,1,3]=>00000000
[8,6,4,3,9,2,7,1,5]=>00000000
[8,6,5,4,3,2,9,1,7]=>00000000
[2,3,1,4,5,6,7,8,9]=>00111111
[2,3,4,1,5,6,7,8,9]=>00011111
[2,3,4,5,1,6,7,8,9]=>00001111
[2,3,4,5,6,1,7,8,9]=>00000111
[2,4,3,1,5,6,7,8,9]=>00011111
[2,3,4,5,6,7,9,8,1]=>00000000
[3,4,1,5,6,7,8,9,2]=>00000000
[3,4,5,1,6,7,8,9,2]=>00000000
[3,4,5,6,1,7,8,9,2]=>00000000
[3,4,5,6,7,1,8,9,2]=>00000000
[3,4,5,6,7,8,1,9,2]=>00000000
[3,1,2,5,6,7,8,9,4]=>00100000
[3,4,1,2,6,7,8,9,5]=>00010000
[3,4,5,1,2,7,8,9,6]=>00001000
[3,4,5,6,1,2,8,9,7]=>00000100
[3,4,5,6,7,1,2,9,8]=>00000010
[3,4,5,6,7,8,1,2,9]=>00000001
[8,7,6,5,4,3,1,9,2]=>00000000
[7,9,6,5,4,3,2,1,8]=>00000000
[1,7,6,5,4,3,9,8,2]=>10000000
[1,9,6,5,4,3,2,8,7]=>10000000
[8,1,6,5,4,3,9,7,2]=>00000000
[3,7,6,5,4,9,1,8,2]=>00000000
[7,9,1,5,4,3,2,8,6]=>00000000
[2,9,6,5,4,3,8,1,7]=>00000000
[8,7,1,5,4,3,9,6,2]=>00000000
[1,3,6,5,4,9,8,7,2]=>10000000
[4,7,6,5,9,3,1,8,2]=>00000000
[7,9,6,1,4,3,2,8,5]=>00000000
[1,9,2,5,4,3,8,7,6]=>10000000
[3,9,6,5,4,8,2,1,7]=>00000000
[7,9,6,5,4,3,2,8,1]=>00000000
[8,9,6,5,4,3,2,1,7]=>00000000
[8,7,6,5,4,3,9,1,2]=>00000000
[9,7,6,5,4,3,1,8,2]=>00000000
[7,9,8,6,5,4,3,2,1]=>00000000
[6,9,8,7,5,4,3,2,1]=>00000000
[5,9,8,7,6,4,3,2,1]=>00000000
[4,9,8,7,6,5,3,2,1]=>00000000
[3,9,8,7,6,5,4,2,1]=>00000000
[2,9,8,7,6,5,4,3,1]=>00000000
[6,9,7,8,5,4,3,2,1]=>00000000
[5,9,8,6,7,4,3,2,1]=>00000000
[4,9,8,7,5,6,3,2,1]=>00000000
[3,9,8,7,6,4,5,2,1]=>00000000
[2,9,8,7,6,5,3,4,1]=>00000000
[1,9,8,7,6,5,4,2,3]=>10000000
[1,2,3,4,5,9,6,7,8]=>11111000
[1,2,3,4,9,5,6,7,8]=>11110000
[1,2,3,9,4,5,6,7,8]=>11100000
[1,2,9,3,4,5,6,7,8]=>11000000
[7,6,9,8,5,4,3,2,1]=>00000000
[6,5,4,9,8,7,3,2,1]=>00000000
[6,8,5,9,7,4,3,2,1]=>00000000
[6,7,8,9,5,4,3,2,1]=>00000000
[5,4,3,2,9,8,7,6,1]=>00000000
[5,8,4,3,9,7,6,2,1]=>00000000
[5,4,7,6,9,8,3,2,1]=>00000000
[5,7,8,4,9,6,3,2,1]=>00000000
[5,6,7,8,9,4,3,2,1]=>00000000
[4,8,3,2,1,9,7,6,5]=>00000000
[4,3,7,6,2,9,8,5,1]=>00000000
[4,7,8,3,2,9,6,5,1]=>00000000
[4,6,3,8,5,9,7,2,1]=>00000000
[4,6,7,8,3,9,5,2,1]=>00000000
[4,5,6,7,8,9,3,2,1]=>00000000
[3,2,1,6,5,4,9,8,7]=>00100100
[3,6,2,8,5,1,9,7,4]=>00000000
[3,6,7,8,2,1,9,5,4]=>00000000
[3,2,5,4,7,6,9,8,1]=>00000000
[3,5,7,2,8,4,9,6,1]=>00000000
[3,5,6,7,8,2,9,4,1]=>00000000
[3,4,5,6,7,8,9,2,1]=>00000000
[2,4,6,7,1,8,3,9,5]=>00000000
[2,4,5,6,7,8,1,9,3]=>00000000
[3,1,2,4,5,6,7,8,9]=>00111111
[2,4,1,3,5,6,7,8,9]=>00011111
[2,3,5,1,4,6,7,8,9]=>00001111
[2,3,4,6,1,5,7,8,9]=>00000111
[2,3,4,5,7,1,6,8,9]=>00000011
[2,3,4,5,6,8,1,7,9]=>00000001
[7,6,5,4,3,2,9,1,8]=>00000000
[6,5,4,3,9,2,8,1,7]=>00000000
[6,5,4,3,2,8,1,7,9]=>00000001
[5,4,9,3,8,2,7,1,6]=>00000000
[5,4,3,8,2,7,1,6,9]=>00000001
[5,4,3,2,7,9,1,6,8]=>00000000
[5,4,3,2,7,1,6,8,9]=>00000011
[4,8,3,7,2,6,1,5,9]=>00000001
[4,3,7,2,6,9,1,5,8]=>00000000
[4,3,7,2,6,1,5,8,9]=>00000011
[4,3,2,6,8,1,5,7,9]=>00000001
[4,3,2,6,1,5,7,8,9]=>00000111
[3,6,9,2,5,8,1,4,7]=>00000000
[3,6,2,5,8,1,4,7,9]=>00000001
[3,6,2,5,1,4,7,8,9]=>00000111
[3,2,5,7,9,1,4,6,8]=>00000000
[3,2,5,7,1,4,6,8,9]=>00000011
[3,2,5,1,4,6,7,8,9]=>00001111
[2,4,6,8,1,3,5,7,9]=>00000001
[2,4,6,1,3,5,7,8,9]=>00000111
[8,7,6,5,4,2,1,9,3]=>00000000
[8,7,6,5,3,2,1,9,4]=>00000000
[8,7,6,4,3,2,1,9,5]=>00000000
[8,7,5,4,3,2,1,9,6]=>00000000
[8,6,5,4,3,2,1,9,7]=>00000000
[7,6,5,4,3,2,1,9,8]=>00000010
[8,7,6,5,4,9,1,3,2]=>00000000
[8,7,6,5,9,2,1,4,3]=>00000000
[8,7,6,9,3,2,1,5,4]=>00000000
[8,7,9,4,3,2,1,6,5]=>00000000
[8,9,5,4,3,2,1,7,6]=>00000000
[9,6,5,4,3,2,1,8,7]=>00000000
[2,9,8,7,6,5,4,1,3]=>00000000
[1,4,5,6,7,8,2,9,3]=>10000000
[9,7,8,5,6,3,1,4,2]=>00000000
[9,7,8,5,3,6,1,4,2]=>00000000
[9,7,5,8,3,6,1,4,2]=>00000000
[7,9,5,8,3,6,1,4,2]=>00000000
[8,9,5,7,3,6,1,4,2]=>00000000
[8,9,6,7,3,5,1,4,2]=>00000000
[8,9,6,7,4,5,1,3,2]=>00000000
[8,9,6,7,4,5,2,3,1]=>00000000
[9,7,8,5,3,1,6,4,2]=>00000000
[9,7,5,3,8,6,1,4,2]=>00000000
[7,5,9,8,3,6,1,4,2]=>00000000
[9,8,5,7,3,6,1,4,2]=>00000000
[7,9,6,8,3,5,1,4,2]=>00000000
[8,9,5,7,4,6,1,3,2]=>00000000
[8,9,6,7,3,5,2,4,1]=>00000000
[6,5,4,3,2,1,9,8,7]=>00000100
[6,5,4,3,2,1,8,7,9]=>00000101
[5,4,3,2,1,9,8,7,6]=>00001000
[5,4,3,2,1,8,7,6,9]=>00001001
[5,4,3,2,1,7,6,9,8]=>00001010
[5,4,3,2,1,7,6,8,9]=>00001011
[4,3,2,1,8,7,6,5,9]=>00010001
[4,3,2,1,7,6,5,9,8]=>00010010
[4,3,2,1,7,6,5,8,9]=>00010011
[4,3,2,1,6,5,8,7,9]=>00010101
[4,3,2,1,6,5,7,8,9]=>00010111
[3,2,1,6,5,4,8,7,9]=>00100101
[3,2,1,6,5,4,7,8,9]=>00100111
[3,2,1,5,4,7,6,9,8]=>00101010
[3,2,1,5,4,7,6,8,9]=>00101011
[3,2,1,5,4,6,7,8,9]=>00101111
[2,1,4,3,6,5,7,8,9]=>01010111
[2,1,4,3,5,6,7,8,9]=>01011111
[3,1,4,2,6,5,8,7,9]=>00010101
[3,1,5,2,6,4,8,7,9]=>00000101
[3,1,5,2,4,7,6,9,8]=>00001010
[3,1,2,5,4,7,6,9,8]=>00101010
[4,1,5,2,6,3,8,7,9]=>00000101
[3,1,6,2,7,4,8,5,9]=>00000001
[1,3,5,2,4,7,6,9,8]=>10001010
[4,5,6,7,8,9,1,2,3]=>00000000
[4,5,6,7,8,9,2,3,1]=>00000000
[5,6,7,8,9,1,2,3,4]=>00000000
[6,7,8,9,2,3,4,5,1]=>00000000
[8,9,6,7,5,4,3,2,1]=>00000000
[9,8,7,6,5,4,2,1,3]=>00000000
[9,8,7,6,5,3,2,1,4]=>00000000
[9,8,7,6,4,3,2,1,5]=>00000000
[9,8,7,5,4,3,2,1,6]=>00000000
[9,8,6,5,4,3,2,1,7]=>00000000
[9,7,6,5,4,3,2,1,8]=>00000000
[9,8,7,6,5,4,1,3,2]=>00000000
[9,8,7,6,5,2,4,1,3]=>00000000
[9,8,7,6,3,5,2,1,4]=>00000000
[9,8,7,4,6,3,2,1,5]=>00000000
[9,8,5,7,4,3,2,1,6]=>00000000
[9,6,8,5,4,3,2,1,7]=>00000000
[9,8,7,3,6,2,5,1,4]=>00000000
[9,8,7,6,3,5,1,2,4]=>00000000
[9,4,8,3,7,2,6,1,5]=>00000000
[9,8,4,7,3,6,1,2,5]=>00000000
[9,8,7,2,4,6,1,3,5]=>00000000
[9,8,7,4,6,1,2,3,5]=>00000000
[5,9,4,8,3,7,1,2,6]=>00000000
[9,5,8,2,4,7,1,3,6]=>00000000
[9,5,8,4,7,1,2,3,6]=>00000000
[9,8,3,5,7,1,2,4,6]=>00000000
[9,8,5,7,1,2,3,4,6]=>00000000
[6,9,3,5,8,1,2,4,7]=>00000000
[6,9,5,8,1,2,3,4,7]=>00000000
[9,2,4,6,8,1,3,5,7]=>00000000
[9,4,6,8,1,2,3,5,7]=>00000000
[9,6,8,1,2,3,4,5,7]=>00000000
[3,5,7,9,1,2,4,6,8]=>00000000
[5,7,9,1,2,3,4,6,8]=>00000000
[7,9,1,2,3,4,5,6,8]=>00000000
[7,6,5,4,3,2,9,8,1]=>00000000
[9,6,5,4,3,2,8,1,7]=>00000000
[9,7,5,4,3,2,1,8,6]=>00000000
[7,6,5,4,3,9,2,8,1]=>00000000
[8,6,5,4,3,2,9,7,1]=>00000000
[9,1,2,3,5,4,6,7,8]=>00000000
[2,3,4,6,5,7,8,9,1]=>00000000
[9,1,2,3,5,6,4,7,8]=>00000000
[2,3,4,7,5,6,8,9,1]=>00000000
[2,3,4,6,7,5,8,9,1]=>00000000
[7,6,5,8,4,3,2,1,9]=>00000001
[7,6,5,4,9,3,2,1,8]=>00000000
[7,6,5,4,3,8,2,1,9]=>00000001
[7,6,5,4,3,2,8,1,9]=>00000001
[6,9,8,5,4,3,2,1,7]=>00000000
[7,5,8,9,4,3,2,1,6]=>00000000
[7,6,4,8,9,3,2,1,5]=>00000000
[7,6,5,3,9,8,2,1,4]=>00000000
[7,6,5,4,2,8,9,1,3]=>00000000
[7,6,5,4,3,1,8,9,2]=>00000000
[6,5,8,7,4,3,2,1,9]=>00000001
[7,5,4,8,6,3,2,1,9]=>00000001
[5,9,8,7,4,3,2,1,6]=>00000000
[7,6,4,3,9,5,2,1,8]=>00000000
[7,4,8,9,6,3,2,1,5]=>00000000
[7,6,5,3,2,8,4,1,9]=>00000001
[7,6,3,8,9,5,2,1,4]=>00000000
[7,6,5,4,2,1,8,3,9]=>00000001
[7,6,5,2,9,8,4,1,3]=>00000000
[7,6,5,4,1,8,9,3,2]=>00000000
[2,3,4,5,6,8,9,7,1]=>00000000
[8,1,9,7,6,5,4,3,2]=>00000000
[9,2,8,7,6,5,4,1,3]=>00000000
[3,9,8,7,6,5,4,1,2]=>00000000
[8,9,1,7,6,5,4,3,2]=>00000000
[8,2,9,7,6,5,4,3,1]=>00000000
[8,1,2,3,4,5,9,6,7]=>00000000
[8,1,2,3,4,9,5,6,7]=>00000000
[8,1,2,9,3,4,5,6,7]=>00000000
[8,1,9,2,3,4,5,6,7]=>00000000
[2,1,8,9,3,4,5,6,7]=>01000000
[9,8,7,6,5,2,3,1,4]=>00000000
[9,8,7,6,3,4,2,1,5]=>00000000
[9,8,7,4,5,3,2,1,6]=>00000000
[9,8,5,6,4,3,2,1,7]=>00000000
[9,6,7,5,4,3,2,1,8]=>00000000
[8,2,1,7,6,5,4,3,9]=>00000001
[3,2,8,7,6,5,4,1,9]=>00000001
[8,3,1,7,6,5,4,9,2]=>00000000
[8,2,9,1,6,5,4,3,7]=>00000000
[4,2,8,7,6,5,9,1,3]=>00000000
[3,9,2,7,6,5,4,1,8]=>00000000
[8,4,1,7,6,5,9,3,2]=>00000000
[8,3,2,1,6,5,4,7,9]=>00000001
[8,2,9,7,1,5,4,3,6]=>00000000
[5,2,8,7,6,9,4,1,3]=>00000000
[4,3,2,7,6,5,8,1,9]=>00000001
[3,9,8,2,6,5,4,1,7]=>00000000
[8,7,6,5,4,2,1,3,9]=>00000001
[1,9,8,7,6,5,3,2,4]=>10000000
[1,9,8,7,6,5,2,4,3]=>10000000
[2,1,9,8,7,6,5,4,3]=>01000000
[1,2,9,8,7,6,5,4,3]=>11000000
[3,2,1,9,8,7,6,5,4]=>00100000
[1,3,2,9,8,7,6,5,4]=>10100000
[1,2,3,9,8,7,6,5,4]=>11100000
[4,3,2,1,9,8,7,6,5]=>00010000
[1,4,3,2,9,8,7,6,5]=>10010000
[2,1,4,3,9,8,7,6,5]=>01010000
[1,2,4,3,9,8,7,6,5]=>11010000
[1,2,3,4,9,8,7,6,5]=>11110000
[1,5,4,3,2,9,8,7,6]=>10001000
[2,1,5,4,3,9,8,7,6]=>01001000
[1,2,5,4,3,9,8,7,6]=>11001000
[1,3,2,5,4,9,8,7,6]=>10101000
[1,2,3,5,4,9,8,7,6]=>11101000
[1,2,3,4,5,9,8,7,6]=>11111000
[1,3,2,6,5,4,9,8,7]=>10100100
[1,2,3,6,5,4,9,8,7]=>11100100
[2,1,4,3,6,5,9,8,7]=>01010100
[1,2,4,3,6,5,9,8,7]=>11010100
[1,2,3,4,6,5,9,8,7]=>11110100
[1,2,3,5,4,7,6,9,8]=>11101010
[1,2,3,4,5,7,6,9,8]=>11111010
[9,8,7,6,5,2,1,4,3]=>00000000
[9,8,7,3,2,1,6,5,4]=>00000000
[9,8,7,6,3,1,5,2,4]=>00000000
[9,4,3,2,1,8,7,6,5]=>00000000
[9,8,4,3,1,7,6,2,5]=>00000000
[9,8,7,2,1,4,3,6,5]=>00000000
[9,8,7,4,1,6,2,3,5]=>00000000
[5,4,3,1,9,8,7,2,6]=>00000000
[9,5,2,1,8,4,3,7,6]=>00000000
[9,8,3,1,5,2,7,4,6]=>00000000
[6,3,1,9,5,2,8,4,7]=>00000000
[6,5,1,9,8,2,3,4,7]=>00000000
[9,2,1,4,3,6,5,8,7]=>00000000
[9,6,1,8,2,3,4,5,7]=>00000000
[5,1,7,2,9,3,4,6,8]=>00000000
[7,1,9,2,3,4,5,6,8]=>00000000
[9,1,8,7,6,5,4,3,2]=>00000000
[7,1,9,8,6,5,4,3,2]=>00000000
[6,1,9,8,7,5,4,3,2]=>00000000
[5,1,9,8,7,6,4,3,2]=>00000000
[4,1,9,8,7,6,5,3,2]=>00000000
[3,1,9,8,7,6,5,4,2]=>00000000
[9,8,1,7,6,5,4,3,2]=>00000000
[8,7,9,1,6,5,4,3,2]=>00000000
[7,6,9,8,1,5,4,3,2]=>00000000
[6,5,9,8,7,1,4,3,2]=>00000000
[5,4,9,8,7,6,1,3,2]=>00000000
[4,3,9,8,7,6,5,1,2]=>00000000
[3,2,9,8,7,6,5,4,1]=>00000000
[2,3,4,5,6,9,7,8,1]=>00000000
[9,2,1,8,7,6,5,4,3]=>00000000
[3,9,2,8,7,6,5,4,1]=>00000000
[4,2,9,8,7,6,5,3,1]=>00000000
[9,2,8,1,7,6,5,4,3]=>00000000
[9,3,1,8,7,6,5,4,2]=>00000000
[2,3,5,6,4,7,8,9,1]=>00000000
[2,3,6,4,5,7,8,9,1]=>00000000
[9,1,2,4,5,3,6,7,8]=>00000000
[7,9,6,8,5,4,3,2,1]=>00000000
[6,9,8,5,7,4,3,2,1]=>00000000
[5,9,8,7,4,6,3,2,1]=>00000000
[4,9,8,7,6,3,5,2,1]=>00000000
[3,9,8,7,6,5,2,4,1]=>00000000
[8,6,9,7,4,5,2,3,1]=>00000000
[8,6,9,4,7,5,2,3,1]=>00000000
[8,6,9,4,7,2,5,3,1]=>00000000
[8,6,9,4,7,3,5,1,2]=>00000000
[8,6,9,5,7,3,4,1,2]=>00000000
[8,7,9,5,6,3,4,1,2]=>00000000
[8,6,4,9,7,5,2,3,1]=>00000000
[8,6,9,4,2,7,5,3,1]=>00000000
[8,6,9,4,7,2,1,5,3]=>00000000
[8,6,9,4,7,3,5,2,1]=>00000000
[8,6,9,5,7,2,4,1,3]=>00000000
[8,7,9,4,6,3,5,1,2]=>00000000
[9,6,8,5,7,3,4,1,2]=>00000000
[1,3,4,5,6,7,9,2,8]=>10000000
[2,3,4,5,6,7,1,9,8]=>00000010
[2,1,4,5,6,7,8,9,3]=>01000000
[3,1,4,5,6,7,8,2,9]=>00000001
[1,2,3,4,5,7,9,6,8]=>11111000
[1,2,3,5,9,4,6,7,8]=>11100000
[1,9,8,7,6,2,5,4,3]=>10000000
[2,9,8,7,1,6,5,4,3]=>00000000
[1,9,8,2,7,6,5,4,3]=>10000000
[1,9,2,8,7,6,5,4,3]=>10000000
[3,9,8,7,6,5,2,1,4]=>00000000
[4,9,8,7,6,1,2,5,3]=>00000000
[5,9,8,7,1,2,6,4,3]=>00000000
[6,9,8,2,1,7,5,4,3]=>00000000
[7,9,1,2,8,6,5,4,3]=>00000000
[8,1,2,9,7,6,5,4,3]=>00000000
[1,9,8,7,6,3,2,5,4]=>10000000
[1,9,8,7,4,2,6,5,3]=>10000000
[4,9,8,7,6,3,2,1,5]=>00000000
[2,9,8,5,1,7,6,4,3]=>00000000
[5,9,8,7,4,1,2,6,3]=>00000000
[1,9,6,2,8,7,5,4,3]=>10000000
[6,9,8,5,1,2,7,4,3]=>00000000
[1,7,2,9,8,6,5,4,3]=>10000000
[7,9,6,2,1,8,5,4,3]=>00000000
[8,7,1,2,9,6,5,4,3]=>00000000
[1,6,7,8,9,2,3,4,5]=>10000000
[1,7,8,9,2,3,4,5,6]=>10000000
[9,2,3,4,5,6,7,8,1]=>00000000
[8,2,3,4,5,6,7,1,9]=>00000001
[7,2,3,4,5,6,1,8,9]=>00000011
[6,2,3,4,5,1,7,8,9]=>00000111
[5,2,3,4,1,6,7,8,9]=>00001111
[4,2,3,1,5,6,7,8,9]=>00011111
[1,2,4,3,5,6,7,8,9]=>11011111
[1,2,4,6,8,9,7,5,3]=>11000000
[1,2,4,5,3,6,7,8,9]=>11001111
[2,4,1,3,6,8,5,7,9]=>00010001
[8,2,1,3,4,5,6,7,9]=>00000001
[3,2,4,5,6,7,8,1,9]=>00000001
[8,3,1,2,4,5,6,7,9]=>00000001
[8,2,3,1,4,5,6,7,9]=>00000001
[4,2,3,5,6,7,8,1,9]=>00000001
[1,9,3,4,5,6,7,8,2]=>10000000
[1,9,8,4,5,6,7,3,2]=>10000000
[1,9,4,3,5,6,7,8,2]=>10000000
[9,3,2,4,5,6,7,8,1]=>00000000
[1,2,3,5,7,4,6,9,8]=>11100010
[1,2,3,6,4,7,5,9,8]=>11100010
[1,2,3,4,6,8,5,7,9]=>11110001
[1,2,3,4,7,5,8,6,9]=>11110001
[1,2,5,7,3,4,6,9,8]=>11000010
[1,2,4,5,7,3,6,9,8]=>11000010
[1,2,6,3,4,7,5,9,8]=>11000010
[1,2,5,6,3,7,4,9,8]=>11000010
[4,9,1,2,3,5,6,7,8]=>00000000
[3,9,1,2,4,5,6,7,8]=>00000000
[1,8,2,3,4,5,6,7,9]=>10000001
[9,8,7,5,6,4,3,2,1]=>00000000
[2,1,9,8,6,7,5,4,3]=>01000000
[9,8,7,5,4,6,3,2,1]=>00000000
[9,8,7,4,6,5,3,2,1]=>00000000
[2,1,9,8,6,5,7,4,3]=>01000000
[2,1,9,8,5,7,6,4,3]=>01000000
[1,8,7,6,5,4,3,2,9]=>10000001
[2,1,8,7,6,5,4,3,9]=>01000001
[4,5,6,7,8,1,2,9,3]=>00000000
[4,5,6,7,1,2,8,9,3]=>00000000
[4,5,6,1,2,7,8,9,3]=>00000000
[4,5,1,2,6,7,8,9,3]=>00000000
[7,8,1,2,3,4,5,9,6]=>00000000
[2,8,9,1,3,4,5,6,7]=>00000000
[7,1,8,2,9,3,4,5,6]=>00000000
[6,1,7,2,8,3,9,4,5]=>00000000
[5,1,6,2,7,3,8,4,9]=>00000001
[7,1,8,2,3,9,4,5,6]=>00000000
[6,1,7,2,8,3,4,9,5]=>00000000
[5,1,6,2,7,3,9,4,8]=>00000000
[4,1,5,2,7,3,8,6,9]=>00000001
[2,1,3,4,5,6,8,9,7]=>01111100
[2,1,3,4,5,6,7,9,8]=>01111110
[2,3,1,4,5,6,8,9,7]=>00111100
[1,3,2,4,5,6,8,9,7]=>10111100
[2,3,1,4,5,6,7,9,8]=>00111110
[1,3,2,4,5,6,7,9,8]=>10111110
[6,7,1,2,3,4,8,9,5]=>00000000
[7,8,6,5,4,3,2,9,1]=>00000000
[9,7,6,5,4,3,1,2,8]=>00000000
[2,4,3,5,6,7,8,9,1]=>00000000
[4,5,6,7,8,9,2,1,3]=>00000000
[5,6,7,8,9,2,1,3,4]=>00000000
[6,7,8,9,2,1,3,4,5]=>00000000
[7,8,9,2,1,3,4,5,6]=>00000000
[8,9,2,1,3,4,5,6,7]=>00000000
[8,6,4,3,2,1,9,7,5]=>00000000
[7,5,4,3,2,1,8,6,9]=>00000001
[8,6,4,2,1,9,7,5,3]=>00000000
[7,5,3,2,1,8,6,4,9]=>00000001
[7,4,3,2,1,8,5,9,6]=>00000000
[6,4,3,2,1,7,5,8,9]=>00000011
[7,5,3,1,8,6,4,2,9]=>00000001
[7,4,2,1,8,5,3,9,6]=>00000000
[6,4,2,1,7,5,3,8,9]=>00000011
[6,3,2,1,7,4,8,5,9]=>00000001
[5,3,2,1,6,4,7,8,9]=>00000111
[7,4,1,8,5,2,9,6,3]=>00000000
[6,3,1,7,4,2,8,5,9]=>00000001
[5,3,1,6,4,2,7,8,9]=>00000111
[6,2,1,7,3,8,4,9,5]=>00000000
[5,2,1,6,3,7,4,8,9]=>00000011
[4,2,1,5,3,6,7,8,9]=>00001111
[4,1,5,2,6,3,7,8,9]=>00000111
[3,1,4,2,5,6,7,8,9]=>00011111
[1,7,2,3,4,5,6,8,9]=>10000011
[1,2,3,4,5,6,8,7,9]=>11111101
[1,2,3,4,5,7,6,8,9]=>11111011
[9,2,3,4,5,6,7,1,8]=>00000000
[8,2,3,4,5,6,9,1,7]=>00000000
[8,2,3,9,5,6,7,1,4]=>00000000
[8,2,9,4,5,6,7,1,3]=>00000000
[8,9,3,4,5,6,7,1,2]=>00000000
[4,2,3,1,9,8,7,6,5]=>00010000
[1,3,2,4,5,6,7,8,9]=>10111111
[1,4,2,3,5,6,7,8,9]=>10011111
[8,2,3,4,5,6,7,9,1]=>00000000
[2,9,3,4,5,6,7,8,1]=>00000000
[2,3,4,5,6,1,8,7,9]=>00000101
[2,3,4,5,1,7,6,8,9]=>00001011
[2,3,4,1,6,5,7,8,9]=>00010111
[2,3,1,5,4,6,7,8,9]=>00101111
[1,8,6,4,2,9,7,5,3]=>10000000
[8,6,5,4,3,2,1,7,9]=>00000001
[1,9,2,3,4,5,6,8,7]=>10000000
[1,3,4,5,6,7,8,2,9]=>10000001
[2,1,4,5,6,7,9,3,8]=>01000000
[2,1,4,5,6,7,8,3,9]=>01000001
[1,3,9,8,7,6,5,4,2]=>10000000
[1,2,3,4,5,7,9,8,6]=>11111000
[1,2,3,4,6,7,9,8,5]=>11110000
[1,2,3,4,6,8,9,7,5]=>11110000
[1,2,3,4,6,9,8,7,5]=>11110000
[1,2,3,5,6,7,9,8,4]=>11100000
[1,2,3,5,6,8,9,7,4]=>11100000
[1,2,3,5,6,9,8,7,4]=>11100000
[1,2,3,5,7,9,8,6,4]=>11100000
[1,2,3,5,9,8,7,6,4]=>11100000
[1,2,4,5,7,8,9,6,3]=>11000000
[1,2,4,5,7,9,8,6,3]=>11000000
[1,2,4,5,9,8,7,6,3]=>11000000
[1,2,4,6,9,8,7,5,3]=>11000000
[1,2,4,9,8,7,6,5,3]=>11000000
[1,3,5,7,9,8,6,4,2]=>10000000
[1,3,5,9,8,7,6,4,2]=>10000000
[6,5,1,2,3,7,8,9,4]=>00000000
[3,4,1,6,2,5,8,7,9]=>00000101
[3,4,1,2,6,5,8,7,9]=>00010101
[3,5,1,6,2,4,8,7,9]=>00000101
[2,5,1,6,3,4,8,7,9]=>00000101
[3,5,1,2,6,4,8,7,9]=>00000101
[2,5,1,3,6,4,8,7,9]=>00000101
[8,6,4,2,1,3,5,7,9]=>00000001
[8,6,2,1,4,3,5,7,9]=>00000001
[8,4,2,1,6,3,5,7,9]=>00000001
[6,4,2,1,8,3,5,7,9]=>00000001
[8,6,4,2,9,1,3,5,7]=>00000000
[9,6,4,2,7,1,3,5,8]=>00000000
[9,7,4,2,5,1,3,6,8]=>00000000
[9,7,5,2,3,1,4,6,8]=>00000000
[9,7,5,3,1,2,4,6,8]=>00000000
[8,2,1,4,3,6,5,7,9]=>00000001
[4,2,1,6,3,5,8,7,9]=>00000101
[6,4,2,1,8,3,5,9,7]=>00000000
[6,4,2,7,1,3,5,8,9]=>00000011
[8,9,4,2,5,1,3,6,7]=>00000000
[9,6,7,2,3,1,4,5,8]=>00000000
[9,7,4,5,1,2,3,6,8]=>00000000
[1,2,9,3,4,5,6,8,7]=>11000000
[1,2,3,8,4,5,9,6,7]=>11100000
[1,2,3,4,9,5,6,8,7]=>11110000
[1,2,3,4,5,9,6,8,7]=>11111000
[7,1,2,3,4,8,5,9,6]=>00000000
[6,9,1,2,3,4,8,5,7]=>00000000
[5,1,9,2,3,4,8,6,7]=>00000000
[4,1,2,3,5,8,6,9,7]=>00011000
[3,1,2,4,9,5,8,6,7]=>00110000
[2,1,3,4,5,9,6,8,7]=>01111000
[1,7,2,3,4,5,9,8,6]=>10000000
[1,6,2,3,4,5,9,8,7]=>10000100
[6,1,2,3,7,4,8,9,5]=>00000000
[1,2,3,8,5,4,6,9,7]=>11100000
[5,9,1,2,6,3,4,8,7]=>00000000
[1,4,2,3,5,6,9,8,7]=>10011100
[4,1,9,5,2,3,6,8,7]=>00000000
[1,3,2,4,5,6,9,8,7]=>10111100
[3,4,1,2,5,6,8,9,7]=>00011100
[2,3,1,4,9,5,6,8,7]=>00110000
[4,3,5,6,7,8,9,1,2]=>00000000
[6,7,8,5,4,3,2,1,9]=>00000001
[6,5,7,8,4,3,2,1,9]=>00000001
[6,5,4,7,8,3,2,1,9]=>00000001
[6,5,4,3,7,8,2,1,9]=>00000001
[6,5,4,3,2,7,8,1,9]=>00000001
[7,8,9,5,4,3,2,1,6]=>00000000
[6,7,8,9,4,3,2,1,5]=>00000000
[6,5,7,8,9,3,2,1,4]=>00000000
[6,5,4,7,8,9,2,1,3]=>00000000
[6,5,4,3,7,8,9,1,2]=>00000000
[6,5,4,3,2,7,8,9,1]=>00000000
[8,7,6,5,3,2,1,4,9]=>00000001
[8,7,6,4,3,2,1,5,9]=>00000001
[8,7,5,4,3,2,1,6,9]=>00000001
[8,7,6,5,4,1,2,3,9]=>00000001
[8,7,6,5,2,3,1,4,9]=>00000001
[8,7,6,3,4,2,1,5,9]=>00000001
[8,7,4,5,3,2,1,6,9]=>00000001
[8,5,6,4,3,2,1,7,9]=>00000001
[6,7,5,4,3,2,1,8,9]=>00000011
[6,8,7,9,5,4,3,2,1]=>00000000
[5,8,7,6,9,4,3,2,1]=>00000000
[4,8,7,6,5,9,3,2,1]=>00000000
[3,8,7,6,5,4,9,2,1]=>00000000
[2,8,7,6,5,4,3,9,1]=>00000000
[9,1,3,4,5,6,7,8,2]=>00000000
[1,8,3,4,5,6,9,2,7]=>10000000
[8,2,3,4,5,1,9,7,6]=>00000000
[8,1,9,4,5,6,7,3,2]=>00000000
[7,9,3,4,5,6,1,8,2]=>00000000
[1,2,8,4,5,6,9,3,7]=>11000000
[7,8,3,4,5,2,9,1,6]=>00000000
[8,2,3,4,1,6,9,7,5]=>00000000
[8,1,3,9,5,6,7,4,2]=>00000000
[7,8,9,4,5,6,3,1,2]=>00000000
[6,9,3,4,5,1,7,8,2]=>00000000
[4,1,5,6,7,8,9,2,3]=>00000000
[2,3,6,7,1,8,9,4,5]=>00000000
[3,5,2,4,7,6,9,8,1]=>00000000
[2,4,3,6,5,8,7,1,9]=>00000001
[3,5,1,2,4,7,6,9,8]=>00001010
[3,4,5,6,7,8,2,9,1]=>00000000
[8,7,6,4,5,3,2,9,1]=>00000000
[2,9,8,7,5,6,4,3,1]=>00000000
[8,6,9,7,5,4,3,2,1]=>00000000
[1,8,3,4,5,6,7,9,2]=>10000000
[6,1,2,3,4,5,7,8,9]=>00000111
[5,1,2,3,4,6,7,8,9]=>00001111
[4,1,2,3,5,6,7,8,9]=>00011111
[8,9,2,3,4,5,6,7,1]=>00000000
[9,8,7,6,4,5,3,2,1]=>00000000
[5,6,7,8,9,1,4,3,2]=>00000000
[1,8,9,3,4,5,6,7,2]=>10000000
[3,4,5,6,1,8,9,2,7]=>00000000
[3,4,5,6,8,1,9,2,7]=>00000000
[3,4,5,6,8,9,1,2,7]=>00000000
[2,4,5,1,6,7,8,9,3]=>00000000
[2,3,4,1,6,7,8,9,5]=>00010000
[3,4,5,6,1,2,9,7,8]=>00000100
[3,4,5,6,8,1,2,7,9]=>00000001
[3,4,5,1,6,7,8,2,9]=>00000001
[5,6,1,7,8,9,2,3,4]=>00000000
[1,3,5,2,6,7,8,9,4]=>10000000
[2,1,4,3,6,7,8,9,5]=>01010000
[2,3,1,5,6,7,8,9,4]=>00100000
[1,2,3,4,6,5,7,8,9]=>11110111
[1,2,3,5,4,6,7,8,9]=>11101111
[1,8,2,3,4,5,9,6,7]=>10000000
[4,5,2,3,6,7,8,9,1]=>00000000
[4,3,2,5,6,7,8,9,1]=>00000000
[5,6,7,2,3,4,8,9,1]=>00000000
[5,3,6,2,4,7,8,9,1]=>00000000
[5,4,3,2,6,7,8,9,1]=>00000000
[6,3,7,8,2,4,5,9,1]=>00000000
[6,7,4,5,2,3,8,9,1]=>00000000
[6,4,3,7,2,5,8,9,1]=>00000000
[7,8,4,5,9,2,3,6,1]=>00000000
[7,4,3,8,9,2,5,6,1]=>00000000
[7,5,8,3,6,2,4,9,1]=>00000000
[7,5,4,3,8,2,6,9,1]=>00000000
[7,6,5,4,3,2,8,9,1]=>00000000
[8,6,4,9,3,7,2,5,1]=>00000000
[8,6,5,4,3,9,2,7,1]=>00000000
[2,4,1,5,3,6,7,8,9]=>00001111
[8,9,2,3,4,5,1,6,7]=>00000000
[6,5,7,8,9,1,2,3,4]=>00000000
[7,1,2,3,4,5,8,6,9]=>00000001
[6,1,2,3,4,7,5,8,9]=>00000011
[5,1,2,3,6,4,7,8,9]=>00000111
[4,1,2,5,3,6,7,8,9]=>00001111
[1,2,3,4,5,8,9,6,7]=>11111000
[3,9,1,4,5,6,7,8,2]=>00000000
[1,4,2,3,6,5,8,7,9]=>10010101
[1,3,4,2,6,5,8,7,9]=>10010101
[2,3,1,4,6,5,8,7,9]=>00110101
[4,6,1,2,3,5,8,7,9]=>00000101
[3,4,5,1,6,2,8,7,9]=>00000101
[3,1,2,4,6,5,8,7,9]=>00110101
[2,1,3,4,5,6,9,7,8]=>01111100
[1,2,3,4,5,7,8,6,9]=>11111001
[8,7,9,1,2,3,4,5,6]=>00000000
[7,6,8,9,1,2,3,4,5]=>00000000
[5,4,6,7,8,9,1,2,3]=>00000000
[1,4,3,2,5,6,7,8,9]=>10011111
[2,3,4,5,6,9,8,7,1]=>00000000
[3,4,5,6,7,1,2,8,9]=>00000011
[2,3,5,1,4,7,6,9,8]=>00001010
[3,4,1,5,2,7,6,9,8]=>00001010
[4,1,2,5,3,7,6,9,8]=>00001010
[4,2,6,8,1,3,5,7,9]=>00000001
[4,6,2,8,1,3,5,7,9]=>00000001
[4,6,8,2,1,3,5,7,9]=>00000001
[4,6,8,2,9,1,3,5,7]=>00000000
[4,6,2,7,9,1,3,5,8]=>00000000
[4,2,5,7,9,1,3,6,8]=>00000000
[2,3,5,7,9,1,4,6,8]=>00000000
[6,4,2,8,1,3,5,7,9]=>00000001
[8,4,6,2,1,3,5,7,9]=>00000001
[4,6,8,9,2,1,3,5,7]=>00000000
[4,6,2,7,1,3,5,8,9]=>00000011
[4,8,2,5,9,1,3,6,7]=>00000000
[6,2,3,7,9,1,4,5,8]=>00000000
[1,4,5,7,9,2,3,6,8]=>10000000
[8,6,4,9,7,5,3,2,1]=>00000000
[7,8,5,9,6,4,3,2,1]=>00000000
[8,6,4,2,9,7,5,3,1]=>00000000
[7,8,5,3,9,6,4,2,1]=>00000000
[7,4,8,5,9,6,3,2,1]=>00000000
[6,7,8,4,9,5,3,2,1]=>00000000
[7,8,5,3,1,9,6,4,2]=>00000000
[7,4,8,5,2,9,6,3,1]=>00000000
[6,7,8,4,2,9,5,3,1]=>00000000
[6,7,3,8,4,9,5,2,1]=>00000000
[5,6,7,8,3,9,4,2,1]=>00000000
[6,7,3,8,4,1,9,5,2]=>00000000
[5,6,7,8,3,1,9,4,2]=>00000000
[6,2,7,3,8,4,9,5,1]=>00000000
[5,6,7,2,8,3,9,4,1]=>00000000
[4,5,6,7,8,2,9,3,1]=>00000000
[5,6,1,7,2,8,3,9,4]=>00000000
[4,5,6,7,1,8,2,9,3]=>00000000
[2,3,4,5,9,6,7,8,1]=>00000000
[2,3,4,9,5,6,7,8,1]=>00000000
[2,3,9,4,5,6,7,8,1]=>00000000
[2,3,4,5,9,7,6,8,1]=>00000000
[2,3,4,9,6,5,7,8,1]=>00000000
[2,3,9,5,4,6,7,8,1]=>00000000
[2,9,4,3,5,6,7,8,1]=>00000000
[1,9,6,2,3,4,5,8,7]=>10000000
[9,8,7,4,5,6,3,2,1]=>00000000
[1,5,6,7,8,9,2,3,4]=>10000000
[3,4,2,1,5,6,7,8,9]=>00011111
[4,3,1,2,5,6,7,8,9]=>00011111
[4,5,2,1,3,6,7,8,9]=>00001111
[3,4,2,5,1,6,7,8,9]=>00001111
[5,3,1,2,4,6,7,8,9]=>00001111
[4,3,5,1,2,6,7,8,9]=>00001111
[5,4,3,1,2,6,7,8,9]=>00001111
[6,5,4,3,1,2,7,8,9]=>00000111
[8,5,4,3,9,1,2,6,7]=>00000000
[2,1,3,4,5,6,8,7,9]=>01111101
[2,3,4,5,6,8,7,9,1]=>00000000
[8,6,5,4,3,2,7,9,1]=>00000000
[8,9,5,4,3,2,1,6,7]=>00000000
[7,6,5,4,3,8,9,1,2]=>00000000
[9,6,5,4,3,2,7,1,8]=>00000000
[9,2,3,4,5,6,1,7,8]=>00000000
[3,1,5,6,7,8,9,2,4]=>00000000
[2,1,3,5,6,7,8,9,4]=>01100000
[3,4,5,6,7,9,1,2,8]=>00000000
[3,4,5,7,8,9,1,2,6]=>00000000
[3,5,6,7,8,9,1,2,4]=>00000000
[3,4,5,6,9,1,2,7,8]=>00000000
[3,4,5,6,1,2,7,8,9]=>00000111
[1,2,4,3,5,7,8,9,6]=>11011000
[3,1,2,4,5,6,7,9,8]=>00111110
[9,8,7,1,5,6,4,3,2]=>00000000
[9,1,7,8,6,5,4,3,2]=>00000000
[1,3,4,5,6,7,2,9,8]=>10000010
[3,4,5,6,7,1,9,2,8]=>00000000
[1,4,2,6,3,7,5,9,8]=>10000010
[1,3,2,6,4,7,5,9,8]=>10100010
[2,1,6,3,7,4,8,5,9]=>01000001
[6,5,4,3,2,7,1,8,9]=>00000011
[5,4,3,2,6,1,7,8,9]=>00000111
[4,3,2,5,1,6,7,8,9]=>00001111
[3,2,4,1,5,6,7,8,9]=>00011111
[1,3,5,2,7,4,6,9,8]=>10000010
[1,2,4,3,6,5,8,7,9]=>11010101
[1,3,5,7,2,4,6,9,8]=>10000010
[1,3,5,7,2,9,4,6,8]=>10000000
[5,6,2,1,3,7,4,8,9]=>00000011
[3,2,5,1,6,4,7,8,9]=>00000111
[6,7,2,1,8,3,4,9,5]=>00000000
[3,6,4,1,7,2,8,5,9]=>00000001
[3,6,7,2,1,4,8,5,9]=>00000001
[4,2,6,1,7,5,3,8,9]=>00000011
[4,3,2,6,1,7,5,8,9]=>00000011
[4,7,2,5,1,8,3,9,6]=>00000000
[4,3,7,8,2,1,5,9,6]=>00000000
[3,5,2,7,1,8,6,4,9]=>00000001
[5,4,3,2,7,1,8,6,9]=>00000001
[6,4,2,8,1,9,7,5,3]=>00000000
[4,3,6,2,8,1,9,7,5]=>00000000
[6,5,4,3,2,8,1,9,7]=>00000000
[9,7,5,3,1,8,6,4,2]=>00000000
[9,5,1,6,2,7,3,8,4]=>00000000
[4,2,5,6,7,8,9,1,3]=>00000000
[4,5,6,7,8,1,2,3,9]=>00000001
[1,7,6,5,4,3,2,9,8]=>10000010
[1,4,5,6,7,8,9,3,2]=>10000000
[9,8,7,6,5,2,1,3,4]=>00000000
[1,3,4,5,6,7,2,8,9]=>10000011
[2,5,6,7,8,9,1,3,4]=>00000000
[2,1,6,7,8,9,3,4,5]=>01000000
[4,1,2,3,6,5,8,7,9]=>00010101
[4,1,6,2,3,5,8,7,9]=>00000101
[2,3,1,9,8,7,6,5,4]=>00100000
[3,4,5,6,1,7,2,9,8]=>00000010
[1,4,5,9,6,7,2,8,3]=>10000000
[2,4,5,9,6,1,7,3,8]=>00000000
[3,4,5,7,6,1,9,2,8]=>00000000
[3,5,6,9,7,1,8,2,4]=>00000000
[1,4,8,5,6,2,7,9,3]=>10000000
[2,5,9,6,7,3,1,4,8]=>00000000
[4,1,5,2,7,6,3,9,8]=>00000010
[3,4,1,6,9,5,7,2,8]=>00000000
[6,7,9,8,1,3,4,2,5]=>00000000
[9,1,5,2,8,6,3,7,4]=>00000000
[1,7,4,5,2,6,8,9,3]=>10000000
[6,8,9,1,2,3,4,5,7]=>00000000
[5,8,9,1,2,3,4,6,7]=>00000000
[2,3,4,5,1,7,6,9,8]=>00001010
[2,3,4,1,6,5,8,7,9]=>00010101
[2,3,4,5,1,8,6,9,7]=>00001000
[2,3,4,1,7,5,8,6,9]=>00010001
[3,4,5,6,7,9,1,8,2]=>00000000
[3,4,5,6,7,9,2,8,1]=>00000000
[3,4,5,6,7,1,9,8,2]=>00000000
[5,3,4,2,1,9,8,7,6]=>00001000
[6,5,3,4,2,1,9,8,7]=>00000100
[7,6,4,5,3,2,1,9,8]=>00000010
[2,4,1,5,3,6,8,7,9]=>00001101
[2,4,1,7,3,8,5,6,9]=>00000001
[8,5,9,3,6,1,2,4,7]=>00000000
[9,7,1,5,8,3,6,2,4]=>00000000
[9,7,5,4,1,3,8,2,6]=>00000000
[9,6,5,4,3,2,1,7,8]=>00000000
[9,8,5,4,3,2,1,6,7]=>00000000
[3,4,5,6,8,9,1,7,2]=>00000000
[3,4,6,7,8,9,1,5,2]=>00000000
[3,5,6,7,8,9,1,4,2]=>00000000
[4,5,6,7,8,9,1,3,2]=>00000000
[5,4,2,3,6,7,8,9,1]=>00000000
[6,5,4,2,3,7,8,9,1]=>00000000
[7,6,5,4,2,3,8,9,1]=>00000000
[4,6,7,8,9,1,2,3,5]=>00000000
[5,7,8,9,1,2,3,4,6]=>00000000
[8,7,5,4,6,3,2,9,1]=>00000000
[8,7,4,6,5,3,2,9,1]=>00000000
[8,9,7,6,5,4,3,1,2]=>00000000
[8,6,7,5,4,3,2,1,9]=>00000001
[8,7,9,6,5,4,3,1,2]=>00000000
[9,7,8,6,5,4,3,1,2]=>00000000
[8,7,5,4,3,6,9,2,1]=>00000000
[8,7,6,9,5,3,4,2,1]=>00000000
[8,7,9,6,5,4,2,3,1]=>00000000
[3,2,1,5,6,7,8,9,4]=>00100000
[3,2,6,1,4,7,8,9,5]=>00000000
[4,3,2,1,6,7,8,9,5]=>00010000
[3,2,7,8,1,4,5,9,6]=>00000000
[4,7,2,5,1,3,8,9,6]=>00000000
[4,3,2,7,1,5,8,9,6]=>00000000
[5,4,3,2,1,7,8,9,6]=>00001000
[4,3,2,8,9,1,5,6,7]=>00000000
[8,5,6,3,4,1,2,9,7]=>00000000
[5,3,8,2,6,1,4,9,7]=>00000000
[5,4,3,2,8,1,6,9,7]=>00000000
[6,5,4,3,2,1,8,9,7]=>00000100
[6,9,4,7,2,5,1,3,8]=>00000000
[6,4,3,9,2,7,1,5,8]=>00000000
[6,5,4,3,2,9,1,7,8]=>00000000
[1,9,4,5,6,7,8,3,2]=>10000000
[1,6,2,7,3,8,4,9,5]=>10000000
[3,4,5,8,9,1,2,6,7]=>00000000
[3,4,7,8,9,1,2,5,6]=>00000000
[3,6,7,8,9,1,2,4,5]=>00000000
[3,4,5,6,1,7,2,8,9]=>00000011
[3,4,5,1,6,2,7,8,9]=>00000111
[3,4,1,5,9,2,6,7,8]=>00000000
[1,3,7,8,9,2,4,5,6]=>10000000
[2,6,7,8,9,1,3,4,5]=>00000000
[1,3,5,7,2,8,4,9,6]=>10000000
[1,3,5,6,2,7,4,9,8]=>10000010
[1,3,4,5,2,7,6,9,8]=>10001010
[3,5,7,1,2,4,6,9,8]=>00000010
[3,5,7,8,1,9,2,4,6]=>00000000
[3,5,6,7,1,8,2,9,4]=>00000000
[1,9,8,7,6,4,3,2,5]=>10000000
[1,9,8,7,5,4,3,2,6]=>10000000
[1,9,8,6,5,4,3,2,7]=>10000000
[1,9,7,6,5,4,3,2,8]=>10000000
[1,9,8,7,6,5,2,3,4]=>10000000
[1,9,8,7,6,3,4,2,5]=>10000000
[1,9,8,7,4,5,3,2,6]=>10000000
[1,9,8,5,6,4,3,2,7]=>10000000
[1,9,6,7,5,4,3,2,8]=>10000000
[1,7,8,6,5,4,3,2,9]=>10000001
[8,9,2,3,4,5,6,1,7]=>00000000
[7,8,9,2,3,4,5,1,6]=>00000000
[6,7,8,9,2,3,4,1,5]=>00000000
[5,6,7,8,9,2,3,1,4]=>00000000
[7,8,9,2,3,4,1,5,6]=>00000000
[6,7,8,9,2,3,1,4,5]=>00000000
[4,5,6,7,8,1,9,2,3]=>00000000
[7,9,3,4,5,6,2,1,8]=>00000000
[3,9,2,1,5,6,7,8,4]=>00000000
[3,8,1,4,5,6,7,2,9]=>00000001
[6,9,3,4,5,2,7,1,8]=>00000000
[3,9,2,4,1,6,7,8,5]=>00000000
[3,8,9,1,5,6,7,4,2]=>00000000
[3,7,1,4,5,6,2,8,9]=>00000011
[2,8,7,6,5,4,3,1,9]=>00000001
[2,1,4,9,8,7,6,5,3]=>01000000
[7,8,1,9,2,3,4,5,6]=>00000000
[6,7,8,1,9,2,3,4,5]=>00000000
[5,6,7,8,1,9,2,3,4]=>00000000
[9,1,2,3,4,5,7,6,8]=>00000000
[2,1,3,4,5,9,6,7,8]=>01111000
[7,2,6,5,4,3,1,9,8]=>00000010
[3,2,1,9,5,8,7,6,4]=>00100000
[6,3,5,4,2,1,9,8,7]=>00000100
[4,3,2,1,9,7,8,6,5]=>00010000
[1,3,4,5,2,6,7,8,9]=>10001111
[2,3,4,5,1,6,7,9,8]=>00001110
[2,1,4,5,3,6,7,8,9]=>01001111
[1,3,2,5,4,6,7,8,9]=>10101111
[4,1,6,2,8,3,5,7,9]=>00000001
[4,1,6,2,8,3,9,5,7]=>00000000
[4,1,6,2,7,3,8,5,9]=>00000001
[3,9,2,4,5,6,7,8,1]=>00000000
[1,3,5,2,4,6,7,8,9]=>10001111
[4,1,2,3,5,6,8,7,9]=>00011101
[1,2,4,7,3,5,6,8,9]=>11000011
[5,1,2,3,4,7,6,8,9]=>00001011
[5,6,4,3,2,1,7,8,9]=>00000111
[4,5,3,2,1,6,7,8,9]=>00001111
[6,7,4,3,2,1,5,8,9]=>00000011
[5,6,4,3,2,7,1,8,9]=>00000011
[7,5,4,3,1,2,6,8,9]=>00000011
[6,5,4,3,7,1,2,8,9]=>00000011
[7,6,4,3,5,2,1,9,8]=>00000010
[7,6,3,5,4,2,1,9,8]=>00000010
[9,8,6,1,2,3,4,5,7]=>00000000
[9,8,7,5,1,2,3,4,6]=>00000000
[9,8,7,6,4,1,2,3,5]=>00000000
[9,8,7,6,5,3,1,2,4]=>00000000
[9,8,4,7,6,5,3,2,1]=>00000000
[9,8,3,7,6,5,4,2,1]=>00000000
[9,3,8,7,6,5,4,2,1]=>00000000
[9,2,8,7,6,5,4,3,1]=>00000000
[9,8,4,6,5,7,3,2,1]=>00000000
[9,8,3,6,5,4,7,2,1]=>00000000
[9,3,7,6,5,4,8,2,1]=>00000000
[9,2,7,6,5,4,3,8,1]=>00000000
[9,8,4,5,7,6,3,2,1]=>00000000
[9,8,5,4,6,7,3,2,1]=>00000000
[9,8,4,5,3,7,6,2,1]=>00000000
[9,8,3,5,7,6,4,2,1]=>00000000
[9,8,5,4,6,3,7,2,1]=>00000000
[9,8,4,3,6,7,5,2,1]=>00000000
[9,8,7,4,3,2,1,5,6]=>00000000
[9,8,7,6,3,2,1,4,5]=>00000000
[7,8,9,1,3,4,5,6,2]=>00000000
[6,1,2,9,3,4,5,7,8]=>00000000
[4,1,2,3,5,9,6,7,8]=>00011000
[3,1,2,4,5,6,9,7,8]=>00111100
[1,3,4,2,5,6,7,8,9]=>10011111
[1,2,4,5,6,3,7,8,9]=>11000111
[1,2,3,5,6,7,8,4,9]=>11100001
[2,1,5,3,6,7,4,8,9]=>01000011
[1,3,5,6,4,2,7,8,9]=>10000111
[3,5,2,1,6,4,7,8,9]=>00000111
[2,1,3,6,4,7,8,9,5]=>01100000
[1,3,4,6,7,2,8,5,9]=>10000001
[3,2,6,1,4,7,8,5,9]=>00000001
[2,4,6,1,7,5,3,8,9]=>00000011
[4,6,3,2,1,7,5,8,9]=>00000011
[2,4,1,7,5,8,3,9,6]=>00000000
[4,3,7,2,1,5,8,9,6]=>00000000
[1,3,5,7,8,6,4,2,9]=>10000001
[3,5,7,2,1,8,6,4,9]=>00000001
[5,7,4,3,2,1,8,6,9]=>00000001
[2,4,6,8,1,9,7,5,3]=>00000000
[4,6,8,3,2,1,9,7,5]=>00000000
[6,8,5,4,3,2,1,9,7]=>00000000
[3,5,6,7,8,9,2,4,1]=>00000000
[2,4,6,7,8,9,1,3,5]=>00000000
[2,5,6,7,8,9,3,1,4]=>00000000
[2,5,6,7,8,1,9,3,4]=>00000000
[4,5,6,7,1,2,8,3,9]=>00000001
[1,3,6,7,8,9,2,4,5]=>10000000
[3,5,6,7,8,1,2,9,4]=>00000000
[2,3,4,5,7,6,8,9,1]=>00000000
[2,3,4,5,8,7,6,9,1]=>00000000
[1,2,3,4,7,9,5,6,8]=>11110000
[1,2,3,4,6,7,9,5,8]=>11110000
[1,2,3,4,8,5,6,9,7]=>11110000
[1,2,3,4,7,8,5,9,6]=>11110000
[8,7,9,6,5,4,2,1,3]=>00000000
[8,9,7,6,5,4,2,1,3]=>00000000
[8,9,7,6,5,4,2,3,1]=>00000000
[2,3,4,5,8,6,7,9,1]=>00000000
[2,3,4,5,9,6,8,7,1]=>00000000
[9,3,4,5,2,6,7,8,1]=>00000000
[2,1,3,4,5,8,6,7,9]=>01111001
[4,5,6,7,8,1,3,9,2]=>00000000
[4,5,3,6,7,8,9,1,2]=>00000000
[5,3,4,6,7,8,9,1,2]=>00000000
[1,2,3,7,4,8,5,9,6]=>11100000
[1,2,3,4,7,5,9,8,6]=>11110000
[1,2,6,3,7,4,9,8,5]=>11000000
[1,2,3,8,6,4,9,7,5]=>11100000
[1,2,3,6,4,9,8,7,5]=>11100000
[5,1,6,2,7,3,9,8,4]=>00000000
[1,5,2,8,6,3,9,7,4]=>10000000
[1,5,2,6,3,9,8,7,4]=>10000000
[1,2,7,5,3,9,8,6,4]=>11000000
[1,2,5,3,9,8,7,6,4]=>11000000
[4,1,7,5,2,9,8,6,3]=>00000000
[4,1,5,2,9,8,7,6,3]=>00000000
[1,6,4,2,9,8,7,5,3]=>10000000
[1,4,2,9,8,7,6,5,3]=>10000000
[7,5,3,1,9,8,6,4,2]=>00000000
[5,3,1,9,8,7,6,4,2]=>00000000
[1,2,3,4,5,8,9,7,6]=>11111000
[1,2,3,4,8,9,6,7,5]=>11110000
[1,2,3,8,9,5,6,7,4]=>11100000
[1,2,8,9,4,5,6,7,3]=>11000000
[1,4,2,5,6,7,9,8,3]=>10000000
[2,1,4,5,6,9,7,3,8]=>01000000
[3,1,5,2,9,6,7,8,4]=>00000000
[4,5,1,6,8,7,9,2,3]=>00000000
[2,3,1,5,9,6,7,4,8]=>00100000
[1,2,4,5,7,9,6,3,8]=>11000000
[3,4,6,5,7,1,2,9,8]=>00000010
[3,1,9,4,2,6,7,8,5]=>00000000
[1,2,5,3,9,6,8,7,4]=>11000000
[4,5,1,7,6,8,2,9,3]=>00000000
[4,8,7,6,5,3,2,1,9]=>00000001
[5,8,7,4,6,3,2,1,9]=>00000001
[8,4,7,6,5,3,2,1,9]=>00000001
[6,9,8,5,7,4,1,3,2]=>00000000
[9,8,7,5,1,6,4,3,2]=>00000000
[1,2,8,3,4,5,6,9,7]=>11000000
[1,9,5,2,3,8,4,6,7]=>10000000
[1,8,2,9,4,3,5,6,7]=>10000000
[1,3,2,4,9,8,5,6,7]=>10110000
[2,1,3,4,5,9,8,6,7]=>01111000
[9,1,7,2,3,4,5,8,6]=>00000000
[1,8,5,2,3,4,6,9,7]=>10000000
[9,8,1,2,3,5,6,4,7]=>00000000
[1,4,2,3,9,5,6,8,7]=>10010000
[4,9,8,1,2,5,3,6,7]=>00000000
[1,3,2,4,5,9,6,8,7]=>10111000
[1,8,3,9,4,2,5,6,7]=>10000000
[2,3,1,4,9,8,5,6,7]=>00110000
[8,7,5,6,4,3,2,1,9]=>00000001
[8,6,5,7,4,3,2,1,9]=>00000001
[9,8,7,6,4,3,2,5,1]=>00000000
[9,8,7,6,4,3,5,2,1]=>00000000
[8,5,6,7,4,3,2,1,9]=>00000001
[6,7,5,8,4,3,2,1,9]=>00000001
[8,9,7,6,4,3,2,1,5]=>00000000
[7,6,5,3,2,1,4,8,9]=>00000011
[9,8,7,6,4,3,5,1,2]=>00000000
[9,8,7,6,4,5,2,3,1]=>00000000
[9,8,7,6,5,3,4,2,1]=>00000000
[2,9,8,6,5,7,4,3,1]=>00000000
[9,6,7,4,5,2,3,1,8]=>00000000
[9,7,6,5,4,3,2,8,1]=>00000000
[3,1,4,6,2,5,8,7,9]=>00000101
[1,3,2,5,7,4,6,9,8]=>10100010
[1,9,8,5,6,7,4,3,2]=>10000000
[1,9,8,5,4,6,7,3,2]=>10000000
[1,9,5,4,6,7,8,3,2]=>10000000
[1,2,3,4,7,5,6,9,8]=>11110010
[9,8,7,6,5,3,1,4,2]=>00000000
[1,2,7,4,5,6,8,9,3]=>11000000
[1,2,3,4,7,8,5,6,9]=>11110001
[1,2,3,4,6,5,8,7,9]=>11110101
[1,2,3,4,8,9,5,6,7]=>11110000
[2,1,7,8,9,3,4,5,6]=>01000000
[2,3,1,5,6,8,9,4,7]=>00100000
[5,6,7,8,9,1,3,4,2]=>00000000
[6,7,8,9,1,3,4,5,2]=>00000000
[6,7,8,9,1,4,5,2,3]=>00000000
[6,7,8,9,1,4,5,3,2]=>00000000
[6,7,8,9,1,5,4,3,2]=>00000000
[7,8,9,1,4,5,6,2,3]=>00000000
[7,8,9,1,4,5,6,3,2]=>00000000
[7,8,9,1,5,6,3,4,2]=>00000000
[7,8,9,1,5,6,4,3,2]=>00000000
[7,8,9,1,6,5,4,3,2]=>00000000
[8,9,1,5,6,7,3,4,2]=>00000000
[8,9,1,5,6,7,4,3,2]=>00000000
[8,9,1,6,7,4,5,2,3]=>00000000
[8,9,1,6,7,4,5,3,2]=>00000000
[8,9,1,6,7,5,4,3,2]=>00000000
[9,1,7,8,5,6,3,4,2]=>00000000
[9,1,7,8,5,6,4,3,2]=>00000000
[2,3,4,5,7,9,6,8,1]=>00000000
[2,3,4,6,9,5,7,8,1]=>00000000
[2,3,5,9,4,6,7,8,1]=>00000000
[2,4,9,3,5,6,7,8,1]=>00000000
[2,3,4,5,6,1,8,9,7]=>00000100
[2,3,4,5,1,7,8,9,6]=>00001000
[2,9,3,4,5,6,1,7,8]=>00000000
[2,8,3,4,5,1,6,9,7]=>00000000
[2,7,3,4,1,5,8,9,6]=>00000000
[2,6,3,1,4,7,8,9,5]=>00000000
[4,2,5,3,7,6,9,8,1]=>00000000
[4,2,6,3,7,5,9,8,1]=>00000000
[4,2,6,3,8,5,9,7,1]=>00000000
[4,2,6,3,8,5,1,7,9]=>00000001
[4,2,6,3,8,5,7,1,9]=>00000001
[4,2,6,3,5,8,7,1,9]=>00000001
[4,2,3,6,5,8,7,1,9]=>00000001
[5,2,6,3,7,4,9,8,1]=>00000000
[4,2,7,3,8,5,9,6,1]=>00000000
[4,2,6,3,9,5,1,7,8]=>00000000
[4,2,6,3,8,5,7,9,1]=>00000000
[4,2,6,3,5,8,1,7,9]=>00000001
[4,2,3,6,8,5,7,1,9]=>00000001
[2,4,6,3,5,8,7,1,9]=>00000001
[3,4,5,6,9,2,1,8,7]=>00000000
[3,4,5,8,2,9,1,7,6]=>00000000
[3,4,7,2,8,9,1,5,6]=>00000000
[3,6,2,7,8,9,1,5,4]=>00000000
[5,2,6,7,8,9,1,4,3]=>00000000
[3,4,5,6,9,1,7,8,2]=>00000000
[3,4,5,8,9,6,1,7,2]=>00000000
[3,4,7,8,5,9,1,2,6]=>00000000
[3,4,5,9,2,6,1,8,7]=>00000000
[3,6,7,4,8,9,1,5,2]=>00000000
[3,4,8,2,5,9,1,7,6]=>00000000
[5,6,3,7,8,9,1,4,2]=>00000000
[3,7,2,4,8,9,1,5,6]=>00000000
[6,2,3,7,8,9,1,5,4]=>00000000
[1,3,2,4,5,6,9,7,8]=>10111100
[2,3,1,4,5,6,9,7,8]=>00111100
[5,6,7,8,9,3,2,1,4]=>00000000
[6,7,8,9,3,4,1,2,5]=>00000000
[6,7,8,9,3,4,2,1,5]=>00000000
[7,8,9,3,4,5,1,2,6]=>00000000
[7,8,9,3,4,5,2,1,6]=>00000000
[7,8,9,4,5,2,3,1,6]=>00000000
[7,8,9,4,5,3,2,1,6]=>00000000
[8,9,4,5,6,2,3,1,7]=>00000000
[8,9,4,5,6,3,2,1,7]=>00000000
[8,9,5,6,3,4,1,2,7]=>00000000
[8,9,5,6,3,4,2,1,7]=>00000000
[8,9,5,6,4,3,2,1,7]=>00000000
[9,6,7,4,5,3,2,1,8]=>00000000
[9,7,1,8,2,3,4,5,6]=>00000000
[9,6,1,7,2,8,3,4,5]=>00000000
[8,6,1,9,7,2,3,4,5]=>00000000
[9,8,6,1,7,2,3,4,5]=>00000000
[8,5,1,9,6,2,7,3,4]=>00000000
[9,8,5,1,6,2,7,3,4]=>00000000
[9,7,5,1,8,6,2,3,4]=>00000000
[9,8,7,5,1,6,2,3,4]=>00000000
[9,7,4,1,8,5,2,6,3]=>00000000
[9,8,7,4,1,5,2,6,3]=>00000000
[8,6,4,1,9,7,5,2,3]=>00000000
[9,8,6,4,1,7,5,2,3]=>00000000
[9,8,7,6,4,1,5,2,3]=>00000000
[9,8,7,5,3,1,6,4,2]=>00000000
[1,4,3,6,5,8,7,9,2]=>10000000
[1,4,2,6,5,8,7,9,3]=>10000000
[1,5,2,6,4,8,7,9,3]=>10000000
[1,5,2,7,4,8,6,9,3]=>10000000
[1,5,2,7,4,9,6,8,3]=>10000000
[1,5,2,7,4,6,9,8,3]=>10000000
[1,5,2,4,7,6,9,8,3]=>10000000
[1,2,5,4,7,6,9,8,3]=>11000000
[1,5,2,6,3,8,7,9,4]=>10000000
[1,6,2,7,4,8,5,9,3]=>10000000
[1,5,2,8,4,9,6,7,3]=>10000000
[1,5,2,7,4,6,8,9,3]=>10000000
[1,5,2,4,7,9,6,8,3]=>10000000
[1,2,5,7,4,6,9,8,3]=>11000000
[3,4,5,6,8,9,7,1,2]=>00000000
[3,4,5,7,8,9,6,1,2]=>00000000
[3,5,6,7,8,9,4,1,2]=>00000000
[4,5,6,7,8,9,3,1,2]=>00000000
[3,4,5,8,1,9,7,6,2]=>00000000
[3,4,7,1,8,9,6,5,2]=>00000000
[3,6,1,7,8,9,4,5,2]=>00000000
[5,1,6,7,8,9,4,3,2]=>00000000
[1,5,6,7,8,9,3,2,4]=>10000000
[3,4,5,8,9,6,7,1,2]=>00000000
[3,4,7,8,5,9,6,1,2]=>00000000
[3,4,5,9,1,6,7,8,2]=>00000000
[3,4,8,1,5,9,7,6,2]=>00000000
[5,6,3,7,8,9,4,1,2]=>00000000
[3,7,1,4,8,9,6,5,2]=>00000000
[5,2,6,7,8,9,3,1,4]=>00000000
[6,1,3,7,8,9,4,5,2]=>00000000
[1,2,6,7,8,9,4,3,5]=>11000000
[1,2,3,4,8,5,9,6,7]=>11110000
[1,2,3,7,4,5,8,6,9]=>11100001
[1,2,3,4,8,6,5,7,9]=>11110001
[1,2,3,4,9,7,5,6,8]=>11110000
[2,1,4,3,6,5,8,7,10,9]=>010101010
[3,4,1,2,6,5,8,7,10,9]=>000101010
[4,3,2,1,6,5,8,7,10,9]=>000101010
[6,3,2,5,4,1,8,7,10,9]=>000001010
[8,3,2,5,4,7,6,1,10,9]=>000000010
[10,3,2,5,4,7,6,9,8,1]=>000000000
[2,1,6,5,4,3,8,7,10,9]=>010001010
[6,5,4,3,2,1,8,7,10,9]=>000001010
[8,5,4,3,2,7,6,1,10,9]=>000000010
[10,5,4,3,2,7,6,9,8,1]=>000000000
[2,1,8,5,4,7,6,3,10,9]=>010000010
[8,7,4,3,6,5,2,1,10,9]=>000000010
[10,7,4,3,6,5,2,9,8,1]=>000000000
[2,1,10,5,4,7,6,9,8,3]=>010000000
[10,9,4,3,6,5,8,7,2,1]=>000000000
[8,9,5,6,3,4,10,1,2,7]=>000000000
[2,1,4,3,8,7,6,5,10,9]=>010100010
[4,3,2,1,8,7,6,5,10,9]=>000100010
[8,3,2,7,6,5,4,1,10,9]=>000000010
[10,3,2,7,6,5,4,9,8,1]=>000000000
[2,1,8,7,6,5,4,3,10,9]=>010000010
[8,7,6,5,4,3,2,1,10,9]=>000000010
[9,7,6,5,4,3,2,10,1,8]=>000000000
[10,7,6,5,4,3,2,9,8,1]=>000000000
[2,1,10,7,6,5,4,9,8,3]=>010000000
[10,9,6,5,4,3,8,7,2,1]=>000000000
[2,1,4,3,10,7,6,9,8,5]=>010100000
[4,3,2,1,10,7,6,9,8,5]=>000100000
[10,3,2,9,6,5,8,7,4,1]=>000000000
[2,1,10,9,6,5,8,7,4,3]=>010000000
[10,9,8,5,4,7,6,3,2,1]=>000000000
[10,8,9,6,7,4,5,2,3,1]=>000000000
[6,7,8,9,10,1,2,3,4,5]=>000000000
[7,3,2,8,9,10,1,4,5,6]=>000000000
[8,5,4,3,2,9,10,1,6,7]=>000000000
[2,1,4,3,6,5,10,9,8,7]=>010101000
[4,3,2,1,6,5,10,9,8,7]=>000101000
[6,3,2,5,4,1,10,9,8,7]=>000001000
[10,3,2,5,4,9,8,7,6,1]=>000000000
[2,1,6,5,4,3,10,9,8,7]=>010001000
[6,5,4,3,2,1,10,9,8,7]=>000001000
[10,5,4,3,2,9,8,7,6,1]=>000000000
[2,1,10,5,4,9,8,7,6,3]=>010000000
[10,9,4,3,8,7,6,5,2,1]=>000000000
[9,7,5,10,3,8,2,6,1,4]=>000000000
[2,1,4,3,10,9,8,7,6,5]=>010100000
[4,3,2,1,10,9,8,7,6,5]=>000100000
[10,3,2,9,8,7,6,5,4,1]=>000000000
[2,1,10,9,8,7,6,5,4,3]=>010000000
[9,10,8,7,6,5,4,3,1,2]=>000000000
[10,9,8,7,6,5,4,3,2,1]=>000000000
[3,5,2,7,4,9,6,10,8,1]=>000000000
[4,6,8,3,9,5,10,7,2,1]=>000000000
[5,7,8,9,4,10,6,3,2,1]=>000000000
[6,7,8,9,10,1,4,5,3,2]=>000000000
[6,7,8,9,10,1,4,5,2,3]=>000000000
[6,7,8,9,10,4,3,2,1,5]=>000000000
[6,7,8,9,10,1,3,4,5,2]=>000000000
[6,7,8,9,10,3,4,1,2,5]=>000000000
[6,7,8,9,10,3,4,2,1,5]=>000000000
[6,7,8,9,10,2,3,4,1,5]=>000000000
[6,7,8,9,10,1,5,4,3,2]=>000000000
[6,7,8,9,10,5,4,3,2,1]=>000000000
[2,3,4,5,6,7,8,9,10,1]=>000000000
[2,3,4,5,6,7,8,9,1,10]=>000000001
[2,3,4,5,6,7,8,10,1,9]=>000000000
[2,3,4,5,6,7,9,10,1,8]=>000000000
[2,3,4,5,6,8,9,10,1,7]=>000000000
[2,3,4,5,7,8,9,10,1,6]=>000000000
[2,3,4,6,7,8,9,10,1,5]=>000000000
[2,3,5,6,7,8,9,10,1,4]=>000000000
[2,4,5,6,7,8,9,10,1,3]=>000000000
[3,4,5,6,7,8,9,10,1,2]=>000000000
[10,8,9,5,6,7,1,2,3,4]=>000000000
[10,8,9,4,5,6,1,2,3,7]=>000000000
[10,7,8,5,6,9,1,2,3,4]=>000000000
[10,7,8,4,5,9,1,2,3,6]=>000000000
[10,6,7,4,5,8,1,2,3,9]=>000000000
[10,7,8,3,4,9,1,2,5,6]=>000000000
[10,6,7,3,4,8,1,2,5,9]=>000000000
[9,8,10,5,6,7,1,2,3,4]=>000000000
[9,8,10,4,5,6,1,2,3,7]=>000000000
[9,7,10,5,6,8,1,2,3,4]=>000000000
[9,7,10,4,5,8,1,2,3,6]=>000000000
[9,6,10,4,5,7,1,2,3,8]=>000000000
[9,7,10,3,4,8,1,2,5,6]=>000000000
[9,6,10,3,4,7,1,2,5,8]=>000000000
[8,7,9,5,6,10,1,2,3,4]=>000000000
[8,7,9,4,5,10,1,2,3,6]=>000000000
[8,6,9,4,5,10,1,2,3,7]=>000000000
[7,6,8,4,5,9,1,2,3,10]=>000000001
[8,7,9,3,4,10,1,2,5,6]=>000000000
[8,6,9,3,4,10,1,2,5,7]=>000000000
[7,6,8,3,4,9,1,2,5,10]=>000000001
[9,6,10,5,7,8,1,2,3,4]=>000000000
[9,6,10,4,7,8,1,2,3,5]=>000000000
[9,5,10,4,6,7,1,2,3,8]=>000000000
[9,6,10,3,7,8,1,2,4,5]=>000000000
[9,5,10,3,6,7,1,2,4,8]=>000000000
[8,6,9,5,7,10,1,2,3,4]=>000000000
[8,6,9,4,7,10,1,2,3,5]=>000000000
[8,5,9,4,6,10,1,2,3,7]=>000000000
[7,5,8,4,6,9,1,2,3,10]=>000000001
[8,6,9,3,7,10,1,2,4,5]=>000000000
[8,5,9,3,6,10,1,2,4,7]=>000000000
[7,5,8,3,6,9,1,2,4,10]=>000000001
[8,4,9,3,5,10,1,2,6,7]=>000000000
[7,4,8,3,5,9,1,2,6,10]=>000000001
[9,6,10,2,7,8,1,3,4,5]=>000000000
[9,5,10,2,6,7,1,3,4,8]=>000000000
[8,6,9,2,7,10,1,3,4,5]=>000000000
[8,5,9,2,6,10,1,3,4,7]=>000000000
[7,5,8,2,6,9,1,3,4,10]=>000000001
[8,4,9,2,5,10,1,3,6,7]=>000000000
[7,4,8,2,5,9,1,3,6,10]=>000000001
[1,2,3,4,5,6,7,8,10,9]=>111111110
[2,1,3,4,5,6,7,8,9,10]=>011111111
[9,1,2,3,4,5,6,7,10,8]=>000000000
[2,10,1,3,4,5,6,7,8,9]=>000000000
[1,2,3,4,5,6,7,8,9,10]=>111111111
[1,2,3,4,5,6,7,9,10,8]=>111111100
[1,2,3,4,5,6,8,9,10,7]=>111111000
[1,2,3,4,5,7,8,9,10,6]=>111110000
[1,2,3,4,6,7,8,9,10,5]=>111100000
[1,2,3,5,6,7,8,9,10,4]=>111000000
[1,2,4,5,6,7,8,9,10,3]=>110000000
[1,3,4,5,6,7,8,9,10,2]=>100000000
[9,10,8,7,6,5,4,3,2,1]=>000000000
[9,8,10,7,6,5,4,3,2,1]=>000000000
[9,8,7,10,6,5,4,3,2,1]=>000000000
[9,8,7,6,10,5,4,3,2,1]=>000000000
[9,8,7,6,5,10,4,3,2,1]=>000000000
[9,8,7,6,5,4,10,3,2,1]=>000000000
[9,8,7,6,5,4,3,10,2,1]=>000000000
[9,8,7,6,5,4,3,2,10,1]=>000000000
[9,8,7,6,5,4,3,2,1,10]=>000000001
[10,1,2,3,4,5,6,7,8,9]=>000000000
[9,1,10,2,3,4,5,6,7,8]=>000000000
[10,9,1,2,3,4,5,6,7,8]=>000000000
[8,1,2,3,4,5,6,9,10,7]=>000000000
[2,9,10,1,3,4,5,6,7,8]=>000000000
[1,10,9,8,7,6,5,4,3,2]=>100000000
[9,8,7,5,6,4,3,2,1,10]=>000000001
[1,10,9,8,6,7,5,4,3,2]=>100000000
[10,2,1,3,4,5,6,7,8,9]=>000000000
[3,2,4,5,6,7,8,9,10,1]=>000000000
[2,4,6,8,10,1,3,5,7,9]=>000000000
[2,4,6,9,10,1,3,5,7,8]=>000000000
[2,4,7,8,10,1,3,5,6,9]=>000000000
[2,4,7,9,10,1,3,5,6,8]=>000000000
[2,4,8,9,10,1,3,5,6,7]=>000000000
[2,5,6,8,10,1,3,4,7,9]=>000000000
[2,5,6,9,10,1,3,4,7,8]=>000000000
[2,5,7,8,10,1,3,4,6,9]=>000000000
[2,5,7,9,10,1,3,4,6,8]=>000000000
[2,5,8,9,10,1,3,4,6,7]=>000000000
[2,6,7,8,10,1,3,4,5,9]=>000000000
[2,6,7,9,10,1,3,4,5,8]=>000000000
[2,6,8,9,10,1,3,4,5,7]=>000000000
[2,7,8,9,10,1,3,4,5,6]=>000000000
[3,4,6,8,10,1,2,5,7,9]=>000000000
[3,4,6,9,10,1,2,5,7,8]=>000000000
[3,4,7,8,10,1,2,5,6,9]=>000000000
[3,4,7,9,10,1,2,5,6,8]=>000000000
[3,4,8,9,10,1,2,5,6,7]=>000000000
[3,5,6,8,10,1,2,4,7,9]=>000000000
[3,5,6,9,10,1,2,4,7,8]=>000000000
[3,5,7,8,10,1,2,4,6,9]=>000000000
[3,5,7,9,10,1,2,4,6,8]=>000000000
[3,5,8,9,10,1,2,4,6,7]=>000000000
[3,6,7,8,10,1,2,4,5,9]=>000000000
[3,6,7,9,10,1,2,4,5,8]=>000000000
[3,6,8,9,10,1,2,4,5,7]=>000000000
[3,7,8,9,10,1,2,4,5,6]=>000000000
[4,5,6,8,10,1,2,3,7,9]=>000000000
[4,5,6,9,10,1,2,3,7,8]=>000000000
[4,5,7,8,10,1,2,3,6,9]=>000000000
[4,5,7,9,10,1,2,3,6,8]=>000000000
[4,5,8,9,10,1,2,3,6,7]=>000000000
[4,6,7,8,10,1,2,3,5,9]=>000000000
[4,6,7,9,10,1,2,3,5,8]=>000000000
[4,6,8,9,10,1,2,3,5,7]=>000000000
[4,7,8,9,10,1,2,3,5,6]=>000000000
[5,6,7,8,10,1,2,3,4,9]=>000000000
[5,6,7,9,10,1,2,3,4,8]=>000000000
[5,6,8,9,10,1,2,3,4,7]=>000000000
[5,7,8,9,10,1,2,3,4,6]=>000000000
[3,1,4,5,6,7,8,9,10,2]=>000000000
[9,10,1,2,3,4,5,6,7,8]=>000000000
[8,9,10,1,2,3,4,5,6,7]=>000000000
[10,8,9,1,2,3,4,5,6,7]=>000000000
[10,9,8,1,2,3,4,5,6,7]=>000000000
[7,8,9,10,1,2,3,4,5,6]=>000000000
[10,7,8,9,1,2,3,4,5,6]=>000000000
[9,10,7,8,1,2,3,4,5,6]=>000000000
[10,9,7,8,1,2,3,4,5,6]=>000000000
[10,9,8,7,1,2,3,4,5,6]=>000000000
[10,6,7,8,9,1,2,3,4,5]=>000000000
[9,10,6,7,8,1,2,3,4,5]=>000000000
[10,9,6,7,8,1,2,3,4,5]=>000000000
[10,8,9,6,7,1,2,3,4,5]=>000000000
[10,9,8,6,7,1,2,3,4,5]=>000000000
[10,9,8,7,6,1,2,3,4,5]=>000000000
[9,10,5,6,7,8,1,2,3,4]=>000000000
[10,9,5,6,7,8,1,2,3,4]=>000000000
[8,9,10,5,6,7,1,2,3,4]=>000000000
[10,9,8,5,6,7,1,2,3,4]=>000000000
[9,10,7,8,5,6,1,2,3,4]=>000000000
[10,9,7,8,5,6,1,2,3,4]=>000000000
[10,9,8,7,5,6,1,2,3,4]=>000000000
[10,9,8,7,6,5,1,2,3,4]=>000000000
[10,7,8,9,4,5,6,1,2,3]=>000000000
[9,10,7,8,4,5,6,1,2,3]=>000000000
[10,9,7,8,4,5,6,1,2,3]=>000000000
[10,9,8,7,4,5,6,1,2,3]=>000000000
[10,8,9,6,7,4,5,1,2,3]=>000000000
[10,9,8,6,7,4,5,1,2,3]=>000000000
[10,9,8,7,6,4,5,1,2,3]=>000000000
[10,9,8,7,6,5,4,1,2,3]=>000000000
[9,10,7,8,5,6,3,4,1,2]=>000000000
[10,9,7,8,5,6,3,4,1,2]=>000000000
[10,9,8,7,5,6,3,4,1,2]=>000000000
[10,9,8,7,6,5,3,4,1,2]=>000000000
[10,9,8,7,6,5,4,3,1,2]=>000000000
[8,9,7,6,5,4,3,2,1,10]=>000000001
[9,1,2,3,4,5,6,7,8,10]=>000000001
[1,10,2,3,4,5,6,7,8,9]=>100000000
[2,4,1,3,6,5,8,7,10,9]=>000101010
[2,4,1,6,3,5,8,7,10,9]=>000001010
[2,4,1,6,3,8,5,7,10,9]=>000000010
[2,4,1,6,3,8,5,10,7,9]=>000000000
[2,4,1,6,3,8,5,9,7,10]=>000000001
[2,4,1,6,3,7,5,9,8,10]=>000000101
[2,4,1,5,3,7,6,9,8,10]=>000010101
[2,3,1,5,4,7,6,9,8,10]=>001010101
[1,3,2,5,4,7,6,9,8,10]=>101010101
[3,4,1,2,5,6,7,8,9,10]=>000111111
[3,2,1,4,5,6,7,8,9,10]=>001111111
[4,5,6,1,2,3,7,8,9,10]=>000001111
[4,2,5,1,3,6,7,8,9,10]=>000011111
[4,3,2,1,5,6,7,8,9,10]=>000111111
[5,6,7,8,1,2,3,4,9,10]=>000000011
[5,2,6,7,1,3,4,8,9,10]=>000000111
[5,6,3,4,1,2,7,8,9,10]=>000001111
[5,3,2,6,1,4,7,8,9,10]=>000001111
[5,4,3,2,1,6,7,8,9,10]=>000011111
[6,2,7,8,9,1,3,4,5,10]=>000000001
[6,7,3,4,8,1,2,5,9,10]=>000000011
[6,3,2,7,8,1,4,5,9,10]=>000000011
[6,4,7,2,5,1,3,8,9,10]=>000000111
[6,4,3,2,7,1,5,8,9,10]=>000000111
[6,5,4,3,2,1,7,8,9,10]=>000001111
[7,8,3,4,9,10,1,2,5,6]=>000000000
[7,8,9,4,5,6,1,2,3,10]=>000000001
[7,4,3,2,8,9,1,5,6,10]=>000000001
[7,8,5,6,3,4,1,2,9,10]=>000000011
[7,5,3,8,2,6,1,4,9,10]=>000000011
[7,5,4,3,2,8,1,6,9,10]=>000000011
[7,6,5,4,3,2,1,8,9,10]=>000000111
[8,5,9,10,2,6,7,1,3,4]=>000000000
[8,5,3,9,2,6,10,1,4,7]=>000000000
[8,6,9,4,7,2,5,1,3,10]=>000000001
[8,6,4,3,9,2,7,1,5,10]=>000000001
[8,6,5,4,3,2,9,1,7,10]=>000000001
[8,7,6,5,4,3,2,1,9,10]=>000000011
[9,7,5,4,3,10,2,8,1,6]=>000000000
[2,3,1,4,5,6,7,8,9,10]=>001111111
[2,3,4,1,5,6,7,8,9,10]=>000111111
[2,3,4,5,1,6,7,8,9,10]=>000011111
[2,3,4,5,6,1,7,8,9,10]=>000001111
[2,3,4,5,6,7,1,8,9,10]=>000000111
[2,3,4,5,6,7,8,1,9,10]=>000000011
[3,4,1,5,6,7,8,9,10,2]=>000000000
[3,4,5,1,6,7,8,9,10,2]=>000000000
[3,4,5,6,1,7,8,9,10,2]=>000000000
[3,4,5,6,7,1,8,9,10,2]=>000000000
[3,4,5,6,7,8,1,9,10,2]=>000000000
[3,4,5,6,7,8,9,1,10,2]=>000000000
[9,8,7,6,5,4,3,1,10,2]=>000000000
[8,10,7,6,5,4,3,2,1,9]=>000000000
[1,8,7,6,5,4,3,10,9,2]=>100000000
[1,10,7,6,5,4,3,2,9,8]=>100000000
[9,1,7,6,5,4,3,10,8,2]=>000000000
[3,8,7,6,5,4,10,1,9,2]=>000000000
[8,10,1,6,5,4,3,2,9,7]=>000000000
[2,10,7,6,5,4,3,9,1,8]=>000000000
[8,10,9,7,6,5,4,3,2,1]=>000000000
[7,10,9,8,6,5,4,3,2,1]=>000000000
[6,10,9,8,7,5,4,3,2,1]=>000000000
[5,10,9,8,7,6,4,3,2,1]=>000000000
[4,10,9,8,7,6,5,3,2,1]=>000000000
[3,10,9,8,7,6,5,4,2,1]=>000000000
[2,10,9,8,7,6,5,4,3,1]=>000000000
[1,2,3,4,5,6,7,10,8,9]=>111111100
[1,2,3,4,5,6,10,7,8,9]=>111111000
[1,2,3,4,5,10,6,7,8,9]=>111110000
[1,2,3,4,10,5,6,7,8,9]=>111100000
[1,2,3,10,4,5,6,7,8,9]=>111000000
[1,2,10,3,4,5,6,7,8,9]=>110000000
[8,7,10,9,6,5,4,3,2,1]=>000000000
[8,9,10,7,6,5,4,3,2,1]=>000000000
[7,6,5,10,9,8,4,3,2,1]=>000000000
[7,9,6,10,8,5,4,3,2,1]=>000000000
[7,8,9,10,6,5,4,3,2,1]=>000000000
[6,5,4,3,10,9,8,7,2,1]=>000000000
[6,9,5,4,10,8,7,3,2,1]=>000000000
[6,5,8,7,10,9,4,3,2,1]=>000000000
[6,8,9,5,10,7,4,3,2,1]=>000000000
[5,4,3,2,1,10,9,8,7,6]=>000010000
[5,9,4,3,2,10,8,7,6,1]=>000000000
[5,4,8,7,3,10,9,6,2,1]=>000000000
[5,8,9,4,3,10,7,6,2,1]=>000000000
[5,7,4,9,6,10,8,3,2,1]=>000000000
[5,6,7,8,9,10,4,3,2,1]=>000000000
[4,3,8,7,2,1,10,9,6,5]=>000000000
[4,8,9,3,2,1,10,7,6,5]=>000000000
[4,3,2,7,6,5,10,9,8,1]=>000000000
[4,7,3,9,6,2,10,8,5,1]=>000000000
[4,7,8,9,3,2,10,6,5,1]=>000000000
[4,3,6,5,8,7,10,9,2,1]=>000000000
[4,6,7,8,9,3,10,5,2,1]=>000000000
[4,5,6,7,8,9,10,3,2,1]=>000000000
[3,6,2,1,9,5,4,10,8,7]=>000000000
[3,2,6,5,8,7,1,10,9,4]=>000000000
[3,6,8,2,9,5,1,10,7,4]=>000000000
[3,6,7,8,9,2,1,10,5,4]=>000000000
[3,5,7,8,2,9,4,10,6,1]=>000000000
[3,5,6,7,8,9,2,10,4,1]=>000000000
[3,4,5,6,7,8,9,10,2,1]=>000000000
[2,4,6,1,8,3,9,5,10,7]=>000000000
[2,4,6,7,8,1,9,3,10,5]=>000000000
[2,4,5,6,7,8,9,1,10,3]=>000000000
[7,8,10,9,5,6,3,4,1,2]=>000000000
[9,10,5,6,8,7,3,4,1,2]=>000000000
[5,8,10,6,9,7,3,4,1,2]=>000000000
[5,6,7,10,9,8,3,4,1,2]=>000000000
[9,10,7,8,3,4,6,5,1,2]=>000000000
[7,8,10,9,3,4,6,5,1,2]=>000000000
[9,10,3,6,8,4,7,5,1,2]=>000000000
[3,8,10,6,9,4,7,5,1,2]=>000000000
[3,6,7,10,9,4,8,5,1,2]=>000000000
[9,10,3,4,5,8,7,6,1,2]=>000000000
[3,8,10,4,5,9,7,6,1,2]=>000000000
[3,4,7,10,5,9,8,6,1,2]=>000000000
[3,4,5,6,10,9,8,7,1,2]=>000000000
[9,10,7,8,5,6,1,2,4,3]=>000000000
[7,8,10,9,5,6,1,2,4,3]=>000000000
[9,10,5,6,8,7,1,2,4,3]=>000000000
[5,8,10,6,9,7,1,2,4,3]=>000000000
[5,6,7,10,9,8,1,2,4,3]=>000000000
[9,10,7,8,1,4,6,2,5,3]=>000000000
[7,8,10,9,1,4,6,2,5,3]=>000000000
[9,10,1,6,8,4,7,2,5,3]=>000000000
[1,8,10,6,9,4,7,2,5,3]=>100000000
[1,6,7,10,9,4,8,2,5,3]=>100000000
[9,10,1,4,5,8,7,2,6,3]=>000000000
[1,8,10,4,5,9,7,2,6,3]=>100000000
[1,4,7,10,5,9,8,2,6,3]=>100000000
[1,4,5,6,10,9,8,2,7,3]=>100000000
[9,10,7,8,1,2,3,6,5,4]=>000000000
[7,8,10,9,1,2,3,6,5,4]=>000000000
[9,10,1,6,8,2,3,7,5,4]=>000000000
[1,8,10,6,9,2,3,7,5,4]=>100000000
[1,6,7,10,9,2,3,8,5,4]=>100000000
[9,10,1,2,5,8,3,7,6,4]=>000000000
[1,8,10,2,5,9,3,7,6,4]=>100000000
[1,2,7,10,5,9,3,8,6,4]=>110000000
[1,2,5,6,10,9,3,8,7,4]=>110000000
[9,10,1,2,3,4,8,7,6,5]=>000000000
[1,8,10,2,3,4,9,7,6,5]=>100000000
[1,2,7,10,3,4,9,8,6,5]=>110000000
[1,2,3,6,10,4,9,8,7,5]=>111000000
[1,2,3,4,5,10,9,8,7,6]=>111110000
[4,3,2,1,7,6,5,9,8,10]=>000100101
[7,3,2,1,6,5,4,9,8,10]=>000000101
[4,3,2,1,9,6,5,8,7,10]=>000100001
[6,3,2,1,9,5,4,8,7,10]=>000000001
[9,3,2,1,8,5,4,7,6,10]=>000000001
[6,5,2,1,9,4,3,8,7,10]=>000000001
[9,5,2,1,8,4,3,7,6,10]=>000000001
[4,3,2,1,7,6,5,10,8,9]=>000100100
[7,3,2,1,6,5,4,10,8,9]=>000000100
[4,3,2,1,8,6,5,10,7,9]=>000100000
[6,3,2,1,8,5,4,10,7,9]=>000000000
[8,3,2,1,7,5,4,10,6,9]=>000000000
[6,5,2,1,8,4,3,10,7,9]=>000000000
[8,5,2,1,7,4,3,10,6,9]=>000000000
[4,3,2,1,10,6,5,9,7,8]=>000100000
[6,3,2,1,10,5,4,9,7,8]=>000000000
[7,3,2,1,10,5,4,9,6,8]=>000000000
[10,3,2,1,9,5,4,8,6,7]=>000000000
[6,5,2,1,10,4,3,9,7,8]=>000000000
[7,5,2,1,10,4,3,9,6,8]=>000000000
[10,5,2,1,9,4,3,8,6,7]=>000000000
[4,3,2,1,8,7,5,10,6,9]=>000100000
[5,3,2,1,8,7,4,10,6,9]=>000000000
[8,3,2,1,7,6,4,10,5,9]=>000000000
[5,4,2,1,8,7,3,10,6,9]=>000000000
[8,4,2,1,7,6,3,10,5,9]=>000000000
[4,3,2,1,10,7,5,9,6,8]=>000100000
[5,3,2,1,10,7,4,9,6,8]=>000000000
[7,3,2,1,10,6,4,9,5,8]=>000000000
[10,3,2,1,9,6,4,8,5,7]=>000000000
[5,4,2,1,10,7,3,9,6,8]=>000000000
[7,4,2,1,10,6,3,9,5,8]=>000000000
[10,4,2,1,9,6,3,8,5,7]=>000000000
[7,6,2,1,10,5,3,9,4,8]=>000000000
[10,6,2,1,9,5,3,8,4,7]=>000000000
[5,4,3,1,8,7,2,10,6,9]=>000000000
[8,4,3,1,7,6,2,10,5,9]=>000000000
[5,4,3,1,10,7,2,9,6,8]=>000000000
[7,4,3,1,10,6,2,9,5,8]=>000000000
[10,4,3,1,9,6,2,8,5,7]=>000000000
[7,6,3,1,10,5,2,9,4,8]=>000000000
[10,6,3,1,9,5,2,8,4,7]=>000000000
[10,3,1,5,2,7,4,9,6,8]=>000000000
[10,9,4,1,6,2,8,3,5,7]=>000000000
[10,9,8,5,1,7,2,3,4,6]=>000000000
[8,7,6,5,4,3,2,10,1,9]=>000000000
[7,6,5,4,3,10,2,9,1,8]=>000000000
[7,6,5,4,3,2,9,1,8,10]=>000000001
[6,5,4,10,3,9,2,8,1,7]=>000000000
[6,5,4,3,9,2,8,1,7,10]=>000000001
[6,5,4,3,2,8,10,1,7,9]=>000000000
[6,5,4,3,2,8,1,7,9,10]=>000000011
[5,10,4,9,3,8,2,7,1,6]=>000000000
[5,4,9,3,8,2,7,1,6,10]=>000000001
[5,4,3,8,2,7,10,1,6,9]=>000000000
[5,4,3,8,2,7,1,6,9,10]=>000000011
[5,4,3,2,7,9,1,6,8,10]=>000000001
[5,4,3,2,7,1,6,8,9,10]=>000000111
[4,8,3,7,2,6,10,1,5,9]=>000000000
[4,8,3,7,2,6,1,5,9,10]=>000000011
[4,3,7,10,2,6,9,1,5,8]=>000000000
[4,3,7,2,6,9,1,5,8,10]=>000000001
[4,3,7,2,6,1,5,8,9,10]=>000000111
[4,3,2,6,8,10,1,5,7,9]=>000000000
[4,3,2,6,8,1,5,7,9,10]=>000000011
[4,3,2,6,1,5,7,8,9,10]=>000001111
[3,6,9,2,5,8,1,4,7,10]=>000000001
[3,6,2,5,8,10,1,4,7,9]=>000000000
[3,6,2,5,8,1,4,7,9,10]=>000000011
[3,6,2,5,1,4,7,8,9,10]=>000001111
[3,2,5,7,9,1,4,6,8,10]=>000000001
[3,2,5,7,1,4,6,8,9,10]=>000000111
[3,2,5,1,4,6,7,8,9,10]=>000011111
[2,4,6,8,1,3,5,7,9,10]=>000000011
[2,4,6,1,3,5,7,8,9,10]=>000001111
[2,4,1,3,5,6,7,8,9,10]=>000111111
[9,8,7,6,5,4,2,1,10,3]=>000000000
[9,8,7,6,5,3,2,1,10,4]=>000000000
[9,8,7,6,4,3,2,1,10,5]=>000000000
[9,8,7,5,4,3,2,1,10,6]=>000000000
[9,8,6,5,4,3,2,1,10,7]=>000000000
[9,7,6,5,4,3,2,1,10,8]=>000000000
[7,8,4,5,9,2,3,6,10,1]=>000000000
[8,10,7,9,5,6,3,4,1,2]=>000000000
[9,10,6,8,5,7,3,4,1,2]=>000000000
[8,10,6,9,5,7,3,4,1,2]=>000000000
[7,10,6,9,5,8,3,4,1,2]=>000000000
[9,10,7,8,4,6,3,5,1,2]=>000000000
[8,10,7,9,4,6,3,5,1,2]=>000000000
[9,10,6,8,4,7,3,5,1,2]=>000000000
[8,10,6,9,4,7,3,5,1,2]=>000000000
[7,10,6,9,4,8,3,5,1,2]=>000000000
[9,10,5,8,4,7,3,6,1,2]=>000000000
[8,10,5,9,4,7,3,6,1,2]=>000000000
[7,10,5,9,4,8,3,6,1,2]=>000000000
[6,10,5,9,4,8,3,7,1,2]=>000000000
[9,10,7,8,5,6,2,4,1,3]=>000000000
[8,10,7,9,5,6,2,4,1,3]=>000000000
[9,10,6,8,5,7,2,4,1,3]=>000000000
[8,10,6,9,5,7,2,4,1,3]=>000000000
[7,10,6,9,5,8,2,4,1,3]=>000000000
[9,10,7,8,4,6,2,5,1,3]=>000000000
[8,10,7,9,4,6,2,5,1,3]=>000000000
[9,10,6,8,4,7,2,5,1,3]=>000000000
[8,10,6,9,4,7,2,5,1,3]=>000000000
[7,10,6,9,4,8,2,5,1,3]=>000000000
[9,10,5,8,4,7,2,6,1,3]=>000000000
[8,10,5,9,4,7,2,6,1,3]=>000000000
[7,10,5,9,4,8,2,6,1,3]=>000000000
[6,10,5,9,4,8,2,7,1,3]=>000000000
[9,10,7,8,3,6,2,5,1,4]=>000000000
[8,10,7,9,3,6,2,5,1,4]=>000000000
[9,10,6,8,3,7,2,5,1,4]=>000000000
[8,10,6,9,3,7,2,5,1,4]=>000000000
[7,10,6,9,3,8,2,5,1,4]=>000000000
[9,10,5,8,3,7,2,6,1,4]=>000000000
[8,10,5,9,3,7,2,6,1,4]=>000000000
[7,10,5,9,3,8,2,6,1,4]=>000000000
[6,10,5,9,3,8,2,7,1,4]=>000000000
[9,10,4,8,3,7,2,6,1,5]=>000000000
[8,10,4,9,3,7,2,6,1,5]=>000000000
[7,10,4,9,3,8,2,6,1,5]=>000000000
[6,10,4,9,3,8,2,7,1,5]=>000000000
[3,4,5,6,7,8,9,1,2,10]=>000000001
[1,4,5,6,7,8,9,10,2,3]=>100000000
[9,10,7,8,5,6,3,1,4,2]=>000000000
[9,10,7,8,5,3,6,1,4,2]=>000000000
[9,10,7,5,8,3,6,1,4,2]=>000000000
[9,7,10,5,8,3,6,1,4,2]=>000000000
[10,7,9,5,8,3,6,1,4,2]=>000000000
[10,8,9,5,7,3,6,1,4,2]=>000000000
[10,8,9,6,7,3,5,1,4,2]=>000000000
[10,8,9,6,7,4,5,1,3,2]=>000000000
[7,6,5,4,3,2,1,10,9,8]=>000000100
[7,6,5,4,3,2,1,9,8,10]=>000000101
[6,5,4,3,2,1,9,8,7,10]=>000001001
[6,5,4,3,2,1,8,7,9,10]=>000001011
[5,4,3,2,1,9,8,7,6,10]=>000010001
[5,4,3,2,1,8,7,6,10,9]=>000010010
[5,4,3,2,1,8,7,6,9,10]=>000010011
[5,4,3,2,1,7,6,9,8,10]=>000010101
[5,4,3,2,1,7,6,8,9,10]=>000010111
[4,3,2,1,8,7,6,5,9,10]=>000100011
[4,3,2,1,7,6,5,10,9,8]=>000100100
[4,3,2,1,7,6,5,8,9,10]=>000100111
[4,3,2,1,6,5,8,7,9,10]=>000101011
[4,3,2,1,6,5,7,8,9,10]=>000101111
[3,2,1,6,5,4,9,8,7,10]=>001001001
[3,2,1,6,5,4,8,7,10,9]=>001001010
[3,2,1,6,5,4,8,7,9,10]=>001001011
[3,2,1,6,5,4,7,8,9,10]=>001001111
[3,2,1,5,4,7,6,9,8,10]=>001010101
[3,2,1,5,4,7,6,8,9,10]=>001010111
[3,2,1,5,4,6,7,8,9,10]=>001011111
[2,1,4,3,6,5,8,7,9,10]=>010101011
[2,1,4,3,6,5,7,8,9,10]=>010101111
[2,1,4,3,5,6,7,8,9,10]=>010111111
[3,1,4,2,6,5,8,7,10,9]=>000101010
[3,1,5,2,6,4,8,7,10,9]=>000001010
[3,1,5,2,7,4,8,6,10,9]=>000000010
[3,1,5,2,7,4,9,6,10,8]=>000000000
[3,1,2,5,4,7,6,9,8,10]=>001010101
[4,5,6,7,8,9,10,1,2,3]=>000000000
[4,5,6,7,8,9,10,2,3,1]=>000000000
[5,6,7,8,9,10,1,2,3,4]=>000000000
[5,6,7,8,9,10,3,4,1,2]=>000000000
[7,8,9,10,3,4,5,6,1,2]=>000000000
[7,8,9,10,5,6,3,4,1,2]=>000000000
[8,9,10,5,6,7,2,3,4,1]=>000000000
[9,7,5,3,1,10,8,6,4,2]=>000000000
[8,7,5,3,1,10,9,6,4,2]=>000000000
[9,6,5,3,1,10,8,7,4,2]=>000000000
[8,6,5,3,1,10,9,7,4,2]=>000000000
[7,6,5,3,1,10,9,8,4,2]=>000000000
[9,7,4,3,1,10,8,6,5,2]=>000000000
[8,7,4,3,1,10,9,6,5,2]=>000000000
[9,6,4,3,1,10,8,7,5,2]=>000000000
[8,6,4,3,1,10,9,7,5,2]=>000000000
[7,6,4,3,1,10,9,8,5,2]=>000000000
[9,5,4,3,1,10,8,7,6,2]=>000000000
[8,5,4,3,1,10,9,7,6,2]=>000000000
[7,5,4,3,1,10,9,8,6,2]=>000000000
[6,5,4,3,1,10,9,8,7,2]=>000000000
[9,7,5,2,1,10,8,6,4,3]=>000000000
[8,7,5,2,1,10,9,6,4,3]=>000000000
[9,6,5,2,1,10,8,7,4,3]=>000000000
[8,6,5,2,1,10,9,7,4,3]=>000000000
[7,6,5,2,1,10,9,8,4,3]=>000000000
[9,7,4,2,1,10,8,6,5,3]=>000000000
[8,7,4,2,1,10,9,6,5,3]=>000000000
[9,6,4,2,1,10,8,7,5,3]=>000000000
[8,6,4,2,1,10,9,7,5,3]=>000000000
[7,6,4,2,1,10,9,8,5,3]=>000000000
[9,5,4,2,1,10,8,7,6,3]=>000000000
[8,5,4,2,1,10,9,7,6,3]=>000000000
[7,5,4,2,1,10,9,8,6,3]=>000000000
[6,5,4,2,1,10,9,8,7,3]=>000000000
[9,7,3,2,1,10,8,6,5,4]=>000000000
[8,7,3,2,1,10,9,6,5,4]=>000000000
[9,6,3,2,1,10,8,7,5,4]=>000000000
[8,6,3,2,1,10,9,7,5,4]=>000000000
[7,6,3,2,1,10,9,8,5,4]=>000000000
[9,5,3,2,1,10,8,7,6,4]=>000000000
[8,5,3,2,1,10,9,7,6,4]=>000000000
[7,5,3,2,1,10,9,8,6,4]=>000000000
[6,5,3,2,1,10,9,8,7,4]=>000000000
[9,4,3,2,1,10,8,7,6,5]=>000000000
[8,4,3,2,1,10,9,7,6,5]=>000000000
[7,4,3,2,1,10,9,8,6,5]=>000000000
[6,4,3,2,1,10,9,8,7,5]=>000000000
[6,1,7,2,8,3,9,4,10,5]=>000000000
[10,9,8,7,6,5,4,2,1,3]=>000000000
[10,9,8,7,6,5,3,2,1,4]=>000000000
[10,9,8,7,6,4,3,2,1,5]=>000000000
[10,9,8,7,5,4,3,2,1,6]=>000000000
[10,9,8,6,5,4,3,2,1,7]=>000000000
[10,9,7,6,5,4,3,2,1,8]=>000000000
[10,8,7,6,5,4,3,2,1,9]=>000000000
[8,10,1,2,3,4,5,6,7,9]=>000000000
[10,9,8,7,6,5,2,4,1,3]=>000000000
[10,9,8,7,3,6,2,5,1,4]=>000000000
[10,9,8,7,6,3,5,1,2,4]=>000000000
[10,9,4,8,3,7,2,6,1,5]=>000000000
[10,9,8,4,7,3,6,1,2,5]=>000000000
[10,9,8,7,2,4,6,1,3,5]=>000000000
[10,9,8,7,4,6,1,2,3,5]=>000000000
[10,5,9,4,8,3,7,1,2,6]=>000000000
[10,9,5,8,2,4,7,1,3,6]=>000000000
[10,9,5,8,4,7,1,2,3,6]=>000000000
[10,9,8,3,5,7,1,2,4,6]=>000000000
[10,9,8,5,7,1,2,3,4,6]=>000000000
[6,10,5,9,2,4,8,1,3,7]=>000000000
[6,10,5,9,4,8,1,2,3,7]=>000000000
[10,3,6,9,2,5,8,1,4,7]=>000000000
[10,6,9,3,5,8,1,2,4,7]=>000000000
[10,6,9,5,8,1,2,3,4,7]=>000000000
[10,9,2,4,6,8,1,3,5,7]=>000000000
[10,9,4,6,8,1,2,3,5,7]=>000000000
[10,9,6,8,1,2,3,4,5,7]=>000000000
[4,7,10,3,6,9,1,2,5,8]=>000000000
[7,10,2,4,6,9,1,3,5,8]=>000000000
[7,10,4,6,9,1,2,3,5,8]=>000000000
[7,10,6,9,1,2,3,4,5,8]=>000000000
[10,3,5,7,9,1,2,4,6,8]=>000000000
[10,5,7,9,1,2,3,4,6,8]=>000000000
[10,7,9,1,2,3,4,5,6,8]=>000000000
[4,6,8,10,1,2,3,5,7,9]=>000000000
[6,8,10,1,2,3,4,5,7,9]=>000000000
[10,7,6,5,4,3,2,1,9,8]=>000000000
[8,7,6,5,4,3,2,10,9,1]=>000000000
[10,1,2,3,4,6,5,7,8,9]=>000000000
[2,3,4,5,7,6,8,9,10,1]=>000000000
[9,10,5,6,7,8,3,4,1,2]=>000000000
[5,8,9,6,7,10,3,4,1,2]=>000000000
[9,10,7,8,3,4,5,6,1,2]=>000000000
[9,10,3,6,7,4,5,8,1,2]=>000000000
[3,8,9,6,7,4,5,10,1,2]=>000000000
[3,6,7,8,9,4,5,10,1,2]=>000000000
[9,10,3,4,5,6,7,8,1,2]=>000000000
[3,8,9,4,5,6,7,10,1,2]=>000000000
[3,4,7,8,5,6,9,10,1,2]=>000000000
[7,8,9,10,5,6,1,2,3,4]=>000000000
[5,8,9,6,7,10,1,2,3,4]=>000000000
[9,10,7,8,1,4,5,2,3,6]=>000000000
[7,8,9,10,1,4,5,2,3,6]=>000000000
[9,10,1,6,7,4,5,2,3,8]=>000000000
[1,8,9,6,7,4,5,2,3,10]=>100000001
[1,6,7,8,9,4,5,2,3,10]=>100000001
[9,10,1,4,5,6,7,2,3,8]=>000000000
[1,8,9,4,5,6,7,2,3,10]=>100000001
[1,4,7,8,5,6,9,2,3,10]=>100000001
[1,4,5,6,7,8,9,2,3,10]=>100000001
[9,10,1,6,7,2,3,4,5,8]=>000000000
[1,8,9,6,7,2,3,4,5,10]=>100000001
[1,6,7,8,9,2,3,4,5,10]=>100000001
[9,10,1,2,5,6,3,4,7,8]=>000000000
[1,8,9,2,5,6,3,4,7,10]=>100000001
[1,2,7,8,5,6,3,4,9,10]=>110000011
[1,2,5,6,7,8,3,4,9,10]=>110000011
[1,8,9,2,3,4,5,6,7,10]=>100000001
[1,2,7,8,3,4,5,6,9,10]=>110000011
[1,2,3,6,7,4,5,8,9,10]=>111000111
[9,8,7,6,4,5,3,2,1,10]=>000000001
[8,7,9,6,5,4,3,2,1,10]=>000000001
[8,7,6,9,5,4,3,2,1,10]=>000000001
[8,7,6,5,10,4,3,2,1,9]=>000000000
[8,7,6,5,4,9,3,2,1,10]=>000000001
[8,7,6,5,4,3,9,2,1,10]=>000000001
[7,10,9,6,5,4,3,2,1,8]=>000000000
[8,6,9,10,5,4,3,2,1,7]=>000000000
[8,7,5,9,10,4,3,2,1,6]=>000000000
[8,7,6,4,10,9,3,2,1,5]=>000000000
[8,7,6,5,3,9,10,2,1,4]=>000000000
[8,7,6,5,4,2,9,10,1,3]=>000000000
[8,7,6,5,4,3,1,10,9,2]=>000000000
[2,10,9,8,7,6,5,4,1,3]=>000000000
[9,1,10,8,7,6,5,4,3,2]=>000000000
[9,1,2,3,4,5,6,10,7,8]=>000000000
[9,2,1,8,7,6,5,4,3,10]=>000000001
[3,2,9,8,7,6,5,4,1,10]=>000000001
[9,3,1,8,7,6,5,4,10,2]=>000000000
[9,2,10,1,7,6,5,4,3,8]=>000000000
[4,2,9,8,7,6,5,10,1,3]=>000000000
[3,10,2,8,7,6,5,4,1,9]=>000000000
[9,8,7,6,5,4,3,1,2,10]=>000000001
[1,10,9,8,7,6,5,4,2,3]=>100000000
[1,2,10,9,8,7,6,5,4,3]=>110000000
[3,2,1,10,9,8,7,6,5,4]=>001000000
[1,3,2,10,9,8,7,6,5,4]=>101000000
[1,2,3,10,9,8,7,6,5,4]=>111000000
[1,4,3,2,10,9,8,7,6,5]=>100100000
[1,2,4,3,10,9,8,7,6,5]=>110100000
[1,2,3,4,10,9,8,7,6,5]=>111100000
[1,5,4,3,2,10,9,8,7,6]=>100010000
[2,1,5,4,3,10,9,8,7,6]=>010010000
[1,2,5,4,3,10,9,8,7,6]=>110010000
[1,3,2,5,4,10,9,8,7,6]=>101010000
[1,2,3,5,4,10,9,8,7,6]=>111010000
[1,2,6,5,4,3,10,9,8,7]=>110001000
[3,2,1,6,5,4,10,9,8,7]=>001001000
[1,3,2,6,5,4,10,9,8,7]=>101001000
[1,2,3,6,5,4,10,9,8,7]=>111001000
[1,2,4,3,6,5,10,9,8,7]=>110101000
[1,2,3,4,6,5,10,9,8,7]=>111101000
[1,2,3,4,5,6,10,9,8,7]=>111111000
[1,4,3,2,7,6,5,10,9,8]=>100100100
[2,1,4,3,7,6,5,10,9,8]=>010100100
[1,2,4,3,7,6,5,10,9,8]=>110100100
[1,2,3,4,7,6,5,10,9,8]=>111100100
[1,3,2,5,4,7,6,10,9,8]=>101010100
[1,2,3,5,4,7,6,10,9,8]=>111010100
[1,2,3,4,5,7,6,10,9,8]=>111110100
[1,2,3,4,5,6,7,10,9,8]=>111111100
[1,2,4,3,6,5,8,7,10,9]=>110101010
[1,2,3,4,6,5,8,7,10,9]=>111101010
[1,2,3,4,5,6,8,7,10,9]=>111111010
[10,9,8,7,6,5,2,1,4,3]=>000000000
[10,9,8,7,3,2,1,6,5,4]=>000000000
[10,9,8,7,6,3,1,5,2,4]=>000000000
[10,9,4,3,2,1,8,7,6,5]=>000000000
[10,9,8,4,3,1,7,6,2,5]=>000000000
[10,9,8,7,2,1,4,3,6,5]=>000000000
[10,9,8,7,4,1,6,2,3,5]=>000000000
[10,5,4,3,1,9,8,7,2,6]=>000000000
[10,9,5,2,1,8,4,3,7,6]=>000000000
[10,9,5,4,1,8,7,2,3,6]=>000000000
[10,9,8,3,1,5,2,7,4,6]=>000000000
[6,5,2,1,10,9,4,3,8,7]=>000000000
[6,5,4,1,10,9,8,2,3,7]=>000000000
[10,3,2,1,6,5,4,9,8,7]=>000000000
[10,6,5,1,9,8,2,3,4,7]=>000000000
[10,9,2,1,4,3,6,5,8,7]=>000000000
[10,9,6,1,8,2,3,4,5,7]=>000000000
[4,3,1,7,6,2,10,9,5,8]=>000000000
[7,2,1,10,4,3,6,5,9,8]=>000000000
[7,4,1,10,6,2,9,3,5,8]=>000000000
[7,6,1,10,9,2,3,4,5,8]=>000000000
[10,5,1,7,2,9,3,4,6,8]=>000000000
[10,7,1,9,2,3,4,5,6,8]=>000000000
[4,1,6,2,8,3,10,5,7,9]=>000000000
[6,1,8,2,10,3,4,5,7,9]=>000000000
[8,1,10,2,3,4,5,6,7,9]=>000000000
[10,1,9,8,7,6,5,4,3,2]=>000000000
[8,1,10,9,7,6,5,4,3,2]=>000000000
[7,1,10,9,8,6,5,4,3,2]=>000000000
[6,1,10,9,8,7,5,4,3,2]=>000000000
[5,1,10,9,8,7,6,4,3,2]=>000000000
[4,1,10,9,8,7,6,5,3,2]=>000000000
[3,1,10,9,8,7,6,5,4,2]=>000000000
[9,10,7,8,5,6,2,1,3,4]=>000000000
[9,10,7,8,4,3,5,6,1,2]=>000000000
[9,10,7,8,4,2,5,1,3,6]=>000000000
[9,10,7,8,3,2,1,4,5,6]=>000000000
[9,10,6,5,7,8,3,4,1,2]=>000000000
[9,10,6,5,7,8,2,1,3,4]=>000000000
[9,10,6,4,7,3,5,8,1,2]=>000000000
[9,10,6,4,7,2,5,1,3,8]=>000000000
[9,10,6,3,7,2,1,4,5,8]=>000000000
[9,10,5,4,3,6,7,8,1,2]=>000000000
[9,10,5,4,2,6,7,1,3,8]=>000000000
[9,10,5,3,2,6,1,4,7,8]=>000000000
[9,10,4,3,2,1,5,6,7,8]=>000000000
[8,7,9,10,5,6,3,4,1,2]=>000000000
[8,7,9,10,5,6,2,1,3,4]=>000000000
[8,7,9,10,4,3,5,6,1,2]=>000000000
[8,7,9,10,4,2,5,1,3,6]=>000000000
[8,7,9,10,3,2,1,4,5,6]=>000000000
[8,6,9,5,7,10,3,4,1,2]=>000000000
[8,6,9,5,7,10,2,1,3,4]=>000000000
[8,6,9,4,7,3,5,10,1,2]=>000000000
[8,6,9,3,7,2,1,4,5,10]=>000000001
[8,5,9,4,3,6,7,10,1,2]=>000000000
[8,5,9,4,2,6,7,1,3,10]=>000000001
[8,5,9,3,2,6,1,4,7,10]=>000000001
[8,4,9,3,2,1,5,6,7,10]=>000000001
[7,6,5,8,9,10,3,4,1,2]=>000000000
[7,6,5,8,9,10,2,1,3,4]=>000000000
[7,6,4,8,9,3,5,10,1,2]=>000000000
[7,6,4,8,9,2,5,1,3,10]=>000000001
[7,6,3,8,9,2,1,4,5,10]=>000000001
[7,5,4,8,3,6,9,10,1,2]=>000000000
[7,5,4,8,2,6,9,1,3,10]=>000000001
[7,4,3,8,2,1,5,6,9,10]=>000000011
[6,5,4,3,7,8,9,10,1,2]=>000000000
[6,5,4,2,7,8,9,1,3,10]=>000000001
[6,5,3,2,7,8,1,4,9,10]=>000000011
[1,3,2,7,6,5,10,9,8,4]=>101000000
[1,4,3,6,5,2,10,9,8,7]=>100001000
[1,4,3,7,6,2,10,9,8,5]=>100000000
[1,5,4,7,6,3,10,9,8,2]=>100000000
[1,4,3,8,7,2,10,9,6,5]=>100000000
[1,5,4,8,7,3,10,9,6,2]=>100000000
[2,3,1,6,5,4,10,9,8,7]=>001001000
[2,3,1,7,6,5,10,9,8,4]=>001000000
[2,4,1,6,5,3,10,9,8,7]=>000001000
[2,4,1,7,6,3,10,9,8,5]=>000000000
[2,5,1,7,6,4,10,9,8,3]=>000000000
[2,4,1,8,7,3,10,9,6,5]=>000000000
[2,5,1,8,7,4,10,9,6,3]=>000000000
[3,4,2,6,5,1,10,9,8,7]=>000001000
[3,4,2,7,6,1,10,9,8,5]=>000000000
[3,5,2,7,6,1,10,9,8,4]=>000000000
[4,5,3,7,6,2,10,9,8,1]=>000000000
[3,4,2,8,7,1,10,9,6,5]=>000000000
[3,5,2,8,7,1,10,9,6,4]=>000000000
[4,5,3,8,7,2,10,9,6,1]=>000000000
[2,5,1,6,4,3,10,9,8,7]=>000001000
[2,5,1,7,4,3,10,9,8,6]=>000000000
[2,6,1,7,5,4,10,9,8,3]=>000000000
[2,5,1,8,4,3,10,9,7,6]=>000000000
[2,6,1,8,5,4,10,9,7,3]=>000000000
[3,5,2,6,4,1,10,9,8,7]=>000001000
[3,5,2,7,4,1,10,9,8,6]=>000000000
[3,6,2,7,5,1,10,9,8,4]=>000000000
[4,6,3,7,5,2,10,9,8,1]=>000000000
[3,5,2,8,4,1,10,9,7,6]=>000000000
[3,6,2,8,5,1,10,9,7,4]=>000000000
[4,6,3,8,5,2,10,9,7,1]=>000000000
[3,7,2,8,6,1,10,9,5,4]=>000000000
[4,7,3,8,6,2,10,9,5,1]=>000000000
[2,5,1,9,4,3,10,8,7,6]=>000000000
[2,6,1,9,5,4,10,8,7,3]=>000000000
[3,5,2,9,4,1,10,8,7,6]=>000000000
[3,6,2,9,5,1,10,8,7,4]=>000000000
[4,6,3,9,5,2,10,8,7,1]=>000000000
[3,7,2,9,6,1,10,8,5,4]=>000000000
[2,3,4,5,6,7,8,10,9,1]=>000000000
[3,2,10,9,8,7,6,5,4,1]=>000000000
[10,2,1,9,8,7,6,5,4,3]=>000000000
[2,3,4,6,5,7,8,9,10,1]=>000000000
[10,1,2,3,5,4,6,7,8,9]=>000000000
[9,7,10,8,5,6,3,4,1,2]=>000000000
[9,7,10,5,8,6,3,4,1,2]=>000000000
[9,7,10,5,8,3,6,4,1,2]=>000000000
[9,7,10,5,8,3,6,2,4,1]=>000000000
[9,7,10,5,8,4,6,2,3,1]=>000000000
[9,7,10,6,8,4,5,2,3,1]=>000000000
[9,8,10,6,7,4,5,2,3,1]=>000000000
[1,10,9,8,7,6,5,2,4,3]=>100000000
[1,10,9,8,7,6,2,5,4,3]=>100000000
[2,10,9,8,7,1,6,5,4,3]=>000000000
[1,10,9,8,2,7,6,5,4,3]=>100000000
[1,10,9,2,8,7,6,5,4,3]=>100000000
[2,10,1,9,8,7,6,5,4,3]=>000000000
[3,10,9,8,7,6,5,2,1,4]=>000000000
[4,10,9,8,7,6,1,2,5,3]=>000000000
[5,10,9,8,7,1,2,6,4,3]=>000000000
[6,10,9,8,2,1,7,5,4,3]=>000000000
[7,10,9,1,2,8,6,5,4,3]=>000000000
[8,10,1,2,9,7,6,5,4,3]=>000000000
[9,2,1,10,8,7,6,5,4,3]=>000000000
[1,7,8,9,10,2,3,4,5,6]=>100000000
[1,2,4,3,5,6,7,8,9,10]=>110111111
[1,2,4,6,8,10,9,7,5,3]=>110000000
[2,3,4,5,6,8,1,9,10,7]=>000000000
[4,1,2,5,6,7,8,9,10,3]=>000000000
[9,2,1,3,4,5,6,7,8,10]=>000000001
[8,7,2,4,6,10,1,3,5,9]=>000000000
[2,10,7,9,4,6,8,1,3,5]=>000000000
[6,5,2,4,8,10,1,3,7,9]=>000000000
[2,8,5,7,4,6,10,1,3,9]=>000000000
[10,5,2,4,7,9,6,8,1,3]=>000000000
[10,9,2,8,5,7,4,6,1,3]=>000000000
[8,7,6,5,2,4,10,1,3,9]=>000000000
[10,7,2,6,5,9,4,8,1,3]=>000000000
[6,10,5,9,8,7,2,4,1,3]=>000000000
[4,10,3,9,2,6,8,1,5,7]=>000000000
[4,3,10,7,9,2,6,8,1,5]=>000000000
[3,6,2,5,4,8,10,1,7,9]=>000000000
[3,6,10,2,5,9,4,8,1,7]=>000000000
[3,5,8,2,4,7,6,10,1,9]=>000000000
[3,5,7,10,2,4,6,9,8,1]=>000000000
[10,9,3,5,8,2,4,7,6,1]=>000000000
[8,7,3,6,2,5,4,10,1,9]=>000000000
[7,6,3,5,10,2,4,9,8,1]=>000000000
[3,6,10,9,8,2,5,7,4,1]=>000000000
[10,9,8,7,3,6,2,5,4,1]=>000000000
[5,4,3,8,2,7,6,10,1,9]=>000000000
[5,4,3,7,10,2,6,9,8,1]=>000000000
[5,10,4,9,3,8,2,7,6,1]=>000000000
[4,8,3,7,6,5,2,10,1,9]=>000000000
[4,7,3,6,5,10,2,9,8,1]=>000000000
[4,6,10,3,5,9,8,7,2,1]=>000000000
[10,9,4,8,3,7,6,5,2,1]=>000000000
[7,6,5,4,3,10,2,9,8,1]=>000000000
[6,5,4,10,3,9,8,7,2,1]=>000000000
[5,10,4,9,8,7,6,3,2,1]=>000000000
[1,10,3,4,5,6,7,8,9,2]=>100000000
[1,10,9,4,5,6,7,8,3,2]=>100000000
[10,2,3,4,5,6,7,8,9,1]=>000000000
[1,2,3,4,6,8,5,7,10,9]=>111100010
[1,2,3,4,7,5,8,6,10,9]=>111100010
[1,2,3,5,7,4,6,9,8,10]=>111000101
[1,2,3,6,4,7,5,9,8,10]=>111000101
[10,9,8,7,5,6,4,3,2,1]=>000000000
[2,1,10,9,8,6,7,5,4,3]=>010000000
[1,9,8,7,6,5,4,3,2,10]=>100000001
[2,8,9,10,1,3,4,5,6,7]=>000000000
[8,1,9,2,10,3,4,5,6,7]=>000000000
[7,1,8,2,9,3,10,4,5,6]=>000000000
[5,1,6,2,7,3,8,4,10,9]=>000000010
[4,1,5,2,6,3,8,7,10,9]=>000001010
[2,1,3,4,5,6,7,9,10,8]=>011111100
[2,1,3,4,5,6,7,8,10,9]=>011111110
[7,1,2,3,4,5,8,9,10,6]=>000000000
[6,1,2,3,4,7,8,9,10,5]=>000000000
[5,1,2,3,6,7,8,9,10,4]=>000000000
[9,7,5,4,3,2,1,10,8,6]=>000000000
[8,6,5,4,3,2,1,9,7,10]=>000000001
[9,7,5,3,2,1,10,8,6,4]=>000000000
[8,6,4,3,2,1,9,7,5,10]=>000000001
[8,5,4,3,2,1,9,6,10,7]=>000000000
[7,5,4,3,2,1,8,6,9,10]=>000000011
[8,6,4,2,1,9,7,5,3,10]=>000000001
[8,5,3,2,1,9,6,4,10,7]=>000000000
[7,5,3,2,1,8,6,4,9,10]=>000000011
[7,4,3,2,1,8,5,9,6,10]=>000000001
[6,4,3,2,1,7,5,8,9,10]=>000000111
[8,5,3,1,9,6,4,2,10,7]=>000000000
[7,5,3,1,8,6,4,2,9,10]=>000000011
[8,5,2,1,9,6,3,10,7,4]=>000000000
[7,4,2,1,8,5,3,9,6,10]=>000000001
[6,4,2,1,7,5,3,8,9,10]=>000000111
[7,3,2,1,8,4,9,5,10,6]=>000000000
[6,3,2,1,7,4,8,5,9,10]=>000000011
[5,3,2,1,6,4,7,8,9,10]=>000001111
[7,4,1,8,5,2,9,6,3,10]=>000000001
[7,3,1,8,4,2,9,5,10,6]=>000000000
[6,3,1,7,4,2,8,5,9,10]=>000000011
[5,3,1,6,4,2,7,8,9,10]=>000001111
[6,2,1,7,3,8,4,9,5,10]=>000000001
[5,2,1,6,3,7,4,8,9,10]=>000000111
[4,2,1,5,3,6,7,8,9,10]=>000011111
[5,1,6,2,7,3,8,4,9,10]=>000000011
[4,1,5,2,6,3,7,8,9,10]=>000001111
[3,1,4,2,5,6,7,8,9,10]=>000111111
[1,9,2,3,4,5,6,7,8,10]=>100000001
[1,2,3,4,5,6,7,9,8,10]=>111111101
[9,2,3,4,5,6,7,10,1,8]=>000000000
[9,2,10,4,5,6,7,8,1,3]=>000000000
[1,3,2,4,5,6,7,8,9,10]=>101111111
[2,10,3,4,5,6,7,8,9,1]=>000000000
[3,1,2,4,5,6,7,8,9,10]=>001111111
[9,7,6,5,4,3,2,1,8,10]=>000000001
[1,10,2,3,4,5,6,7,9,8]=>100000000
[1,3,4,5,6,7,8,10,2,9]=>100000000
[1,3,4,5,6,7,8,9,2,10]=>100000001
[1,2,3,4,5,6,8,10,9,7]=>111111000
[1,2,3,4,5,7,8,10,9,6]=>111110000
[1,2,3,4,5,7,9,10,8,6]=>111110000
[1,2,3,4,5,7,10,9,8,6]=>111110000
[1,2,3,4,6,7,8,10,9,5]=>111100000
[1,2,3,4,6,7,9,10,8,5]=>111100000
[1,2,3,4,6,7,10,9,8,5]=>111100000
[1,2,3,4,6,8,10,9,7,5]=>111100000
[1,2,3,4,6,10,9,8,7,5]=>111100000
[1,2,3,5,6,7,9,10,8,4]=>111000000
[1,2,3,5,6,7,10,9,8,4]=>111000000
[1,2,3,5,6,8,9,10,7,4]=>111000000
[1,2,3,5,6,8,10,9,7,4]=>111000000
[1,2,3,5,6,10,9,8,7,4]=>111000000
[1,2,3,5,7,9,10,8,6,4]=>111000000
[1,2,3,5,7,10,9,8,6,4]=>111000000
[1,2,3,5,10,9,8,7,6,4]=>111000000
[1,2,4,5,7,8,10,9,6,3]=>110000000
[1,2,4,5,7,9,10,8,6,3]=>110000000
[1,2,4,5,7,10,9,8,6,3]=>110000000
[1,2,4,5,10,9,8,7,6,3]=>110000000
[1,2,4,6,10,9,8,7,5,3]=>110000000
[1,2,4,10,9,8,7,6,5,3]=>110000000
[1,3,5,7,9,10,8,6,4,2]=>100000000
[1,3,5,7,10,9,8,6,4,2]=>100000000
[1,3,5,10,9,8,7,6,4,2]=>100000000
[1,3,10,9,8,7,6,5,4,2]=>100000000
[3,5,7,9,1,2,4,6,8,10]=>000000001
[4,1,2,3,5,6,7,8,9,10]=>000111111
[5,1,2,3,4,6,7,8,9,10]=>000011111
[8,1,2,3,4,5,6,7,9,10]=>000000011
[7,1,2,3,4,5,6,8,9,10]=>000000111
[6,1,2,3,4,5,7,8,9,10]=>000001111
[3,4,1,6,2,5,8,7,10,9]=>000001010
[10,8,6,4,2,1,3,5,7,9]=>000000000
[10,8,6,2,1,4,3,5,7,9]=>000000000
[10,8,4,2,1,6,3,5,7,9]=>000000000
[10,6,4,2,1,8,3,5,7,9]=>000000000
[8,6,4,2,1,10,3,5,7,9]=>000000000
[8,6,4,2,9,1,3,5,7,10]=>000000001
[9,6,4,2,7,1,3,5,8,10]=>000000001
[9,7,4,2,5,1,3,6,8,10]=>000000001
[9,7,5,2,3,1,4,6,8,10]=>000000001
[9,7,5,3,1,2,4,6,8,10]=>000000001
[1,2,10,3,4,5,6,7,9,8]=>110000000
[1,2,3,9,4,5,6,10,7,8]=>111000000
[1,2,3,4,10,5,6,7,9,8]=>111100000
[1,2,3,4,5,10,6,7,9,8]=>111110000
[1,2,3,4,5,6,9,10,7,8]=>111111000
[8,1,2,3,4,5,9,6,10,7]=>000000000
[7,10,1,2,3,4,5,9,6,8]=>000000000
[6,1,10,2,3,4,5,9,7,8]=>000000000
[5,1,2,3,4,6,9,7,10,8]=>000011000
[4,1,2,3,10,5,6,9,7,8]=>000100000
[3,1,2,4,5,10,6,9,7,8]=>001110000
[7,8,9,6,5,4,3,2,1,10]=>000000001
[7,6,8,9,5,4,3,2,1,10]=>000000001
[7,6,5,8,9,4,3,2,1,10]=>000000001
[7,6,5,4,8,9,3,2,1,10]=>000000001
[7,6,5,4,3,8,9,2,1,10]=>000000001
[7,6,5,4,3,2,8,9,1,10]=>000000001
[9,8,7,6,5,4,2,1,3,10]=>000000001
[9,8,7,6,5,3,2,1,4,10]=>000000001
[9,8,7,6,4,3,2,1,5,10]=>000000001
[9,8,7,5,4,3,2,1,6,10]=>000000001
[9,8,6,5,4,3,2,1,7,10]=>000000001
[10,1,3,4,5,6,7,8,9,2]=>000000000
[1,9,3,4,5,6,7,10,2,8]=>100000000
[9,2,3,4,5,6,1,10,8,7]=>000000000
[9,1,10,4,5,6,7,8,3,2]=>000000000
[8,10,3,4,5,6,7,1,9,2]=>000000000
[9,10,1,8,7,6,5,4,3,2]=>000000000
[3,2,5,4,7,6,9,8,1,10]=>000000001
[2,4,3,6,5,8,7,10,9,1]=>000000000
[3,2,5,4,7,6,1,10,9,8]=>000000100
[3,2,5,4,9,8,7,6,1,10]=>000000001
[3,2,5,4,1,8,7,10,9,6]=>000010000
[3,2,5,4,1,10,9,8,7,6]=>000010000
[3,2,7,6,5,4,9,8,1,10]=>000000001
[3,2,7,6,5,4,1,10,9,8]=>000000100
[3,2,9,6,5,8,7,4,1,10]=>000000001
[3,2,1,6,5,8,7,10,9,4]=>001000000
[3,2,1,6,5,10,9,8,7,4]=>001000000
[3,2,1,8,7,6,5,10,9,4]=>001000000
[3,2,1,10,7,6,9,8,5,4]=>001000000
[5,4,3,2,7,6,9,8,1,10]=>000000001
[5,4,3,2,7,6,1,10,9,8]=>000000100
[5,4,3,2,9,8,7,6,1,10]=>000000001
[5,4,3,2,1,8,7,10,9,6]=>000010000
[7,4,3,6,5,2,9,8,1,10]=>000000001
[7,4,3,6,5,2,1,10,9,8]=>000000100
[9,4,3,6,5,8,7,2,1,10]=>000000001
[1,4,3,6,5,8,7,10,9,2]=>100000000
[1,4,3,6,5,10,9,8,7,2]=>100000000
[9,4,3,8,7,6,5,2,1,10]=>000000001
[1,4,3,8,7,6,5,10,9,2]=>100000000
[1,4,3,10,7,6,9,8,5,2]=>100000000
[1,4,3,10,9,8,7,6,5,2]=>100000000
[7,6,5,4,3,2,9,8,1,10]=>000000001
[9,6,5,4,3,8,7,2,1,10]=>000000001
[1,6,5,4,3,8,7,10,9,2]=>100000000
[1,6,5,4,3,10,9,8,7,2]=>100000000
[9,8,5,4,7,6,3,2,1,10]=>000000001
[1,8,5,4,7,6,3,10,9,2]=>100000000
[1,10,5,4,7,6,9,8,3,2]=>100000000
[1,10,5,4,9,8,7,6,3,2]=>100000000
[1,10,7,6,5,4,9,8,3,2]=>100000000
[1,10,9,6,5,8,7,4,3,2]=>100000000
[10,8,1,9,2,3,4,5,6,7]=>000000000
[7,8,4,9,5,2,10,6,3,1]=>000000000
[2,3,4,5,10,6,7,8,9,1]=>000000000
[2,3,4,5,6,1,8,9,10,7]=>000001000
[2,3,4,5,6,8,9,1,10,7]=>000000000
[4,5,6,1,7,8,9,10,2,3]=>000000000
[3,5,6,1,7,8,9,10,2,4]=>000000000
[3,4,6,1,7,8,9,10,2,5]=>000000000
[3,4,5,1,7,8,9,10,2,6]=>000000000
[2,1,4,5,6,7,8,9,10,3]=>010000000
[2,3,4,1,6,5,8,7,10,9]=>000101010
[2,3,4,1,6,7,8,9,10,5]=>000100000
[4,3,5,6,7,8,9,10,1,2]=>000000000
[2,3,4,5,6,1,8,7,10,9]=>000001010
[2,3,4,5,6,7,8,1,10,9]=>000000010
[4,5,2,3,6,7,8,9,10,1]=>000000000
[4,3,2,5,6,7,8,9,10,1]=>000000000
[5,6,7,2,3,4,8,9,10,1]=>000000000
[5,3,6,2,4,7,8,9,10,1]=>000000000
[5,4,3,2,6,7,8,9,10,1]=>000000000
[6,7,8,9,2,3,4,5,10,1]=>000000000
[6,3,7,8,2,4,5,9,10,1]=>000000000
[6,7,4,5,2,3,8,9,10,1]=>000000000
[6,4,3,7,2,5,8,9,10,1]=>000000000
[6,5,4,3,2,7,8,9,10,1]=>000000000
[7,8,9,10,1,3,4,5,6,2]=>000000000
[7,3,8,9,10,2,4,5,6,1]=>000000000
[7,4,3,8,9,2,5,6,10,1]=>000000000
[7,5,8,3,6,2,4,9,10,1]=>000000000
[7,5,4,3,8,2,6,9,10,1]=>000000000
[7,6,5,4,3,2,8,9,10,1]=>000000000
[8,5,9,3,6,10,2,4,7,1]=>000000000
[8,5,4,3,9,10,2,6,7,1]=>000000000
[8,9,6,7,4,5,2,3,10,1]=>000000000
[8,6,4,9,3,7,2,5,10,1]=>000000000
[8,6,5,4,3,9,2,7,10,1]=>000000000
[8,7,6,5,4,3,2,9,10,1]=>000000000
[9,7,5,4,10,3,8,2,6,1]=>000000000
[9,7,6,5,4,3,10,2,8,1]=>000000000
[1,4,2,3,6,5,8,7,10,9]=>100101010
[1,3,4,2,6,5,8,7,10,9]=>100101010
[2,1,3,4,5,6,7,10,8,9]=>011111100
[10,2,3,4,5,6,7,8,1,9]=>000000000
[3,10,1,4,5,6,7,8,9,2]=>000000000
[1,3,5,2,4,7,6,9,8,10]=>100010101
[1,4,2,5,3,7,6,9,8,10]=>100010101
[4,2,6,8,10,1,3,5,7,9]=>000000000
[4,6,2,8,10,1,3,5,7,9]=>000000000
[4,6,8,2,10,1,3,5,7,9]=>000000000
[4,6,8,10,2,1,3,5,7,9]=>000000000
[4,6,8,2,9,1,3,5,7,10]=>000000001
[4,6,2,7,9,1,3,5,8,10]=>000000001
[4,2,5,7,9,1,3,6,8,10]=>000000001
[2,3,5,7,9,1,4,6,8,10]=>000000001
[9,7,10,8,6,5,4,3,2,1]=>000000000
[9,7,5,10,8,6,4,3,2,1]=>000000000
[8,9,6,10,7,5,4,3,2,1]=>000000000
[9,7,5,3,10,8,6,4,2,1]=>000000000
[8,9,6,4,10,7,5,3,2,1]=>000000000
[8,5,9,6,10,7,4,3,2,1]=>000000000
[7,8,9,5,10,6,4,3,2,1]=>000000000
[8,9,6,4,2,10,7,5,3,1]=>000000000
[8,5,9,6,3,10,7,4,2,1]=>000000000
[7,8,9,5,3,10,6,4,2,1]=>000000000
[7,8,4,9,5,10,6,3,2,1]=>000000000
[6,7,8,9,4,10,5,3,2,1]=>000000000
[8,5,9,6,3,1,10,7,4,2]=>000000000
[7,8,9,5,3,1,10,6,4,2]=>000000000
[8,5,2,9,6,3,10,7,4,1]=>000000000
[6,7,8,9,4,2,10,5,3,1]=>000000000
[7,3,8,4,9,5,10,6,2,1]=>000000000
[6,7,8,3,9,4,10,5,2,1]=>000000000
[5,6,7,8,9,3,10,4,2,1]=>000000000
[7,8,4,1,9,5,2,10,6,3]=>000000000
[7,3,8,4,9,5,1,10,6,2]=>000000000
[6,7,8,3,9,4,1,10,5,2]=>000000000
[5,6,7,8,9,3,1,10,4,2]=>000000000
[6,7,2,8,3,9,4,10,5,1]=>000000000
[5,6,7,8,2,9,3,10,4,1]=>000000000
[4,5,6,7,8,9,2,10,3,1]=>000000000
[5,6,7,1,8,2,9,3,10,4]=>000000000
[4,5,6,7,8,1,9,2,10,3]=>000000000
[2,3,4,5,6,7,10,8,9,1]=>000000000
[2,3,4,5,6,10,7,8,9,1]=>000000000
[2,3,4,10,5,6,7,8,9,1]=>000000000
[2,3,10,4,5,6,7,8,9,1]=>000000000
[3,2,5,4,7,6,9,8,10,1]=>000000000
[1,2,3,4,5,6,9,7,10,8]=>111111000
[1,2,3,4,5,7,6,8,9,10]=>111110111
[1,2,3,5,4,6,7,8,9,10]=>111011111
[1,2,3,5,4,7,6,9,8,10]=>111010101
[1,5,6,7,8,9,10,2,3,4]=>100000000
[3,4,2,1,5,6,7,8,9,10]=>000111111
[4,3,1,2,5,6,7,8,9,10]=>000111111
[6,5,4,3,1,2,7,8,9,10]=>000001111
[7,6,5,4,3,1,2,8,9,10]=>000000111
[9,6,5,4,3,10,1,2,7,8]=>000000000
[8,7,6,5,4,3,2,9,1,10]=>000000001
[3,4,5,6,8,9,10,1,2,7]=>000000000
[3,5,6,7,8,9,10,1,2,4]=>000000000
[3,4,5,6,7,8,1,2,9,10]=>000000011
[8,9,10,1,5,6,7,3,4,2]=>000000000
[8,9,10,5,6,7,1,3,4,2]=>000000000
[8,9,10,1,5,6,3,4,7,2]=>000000000
[8,9,10,5,6,1,3,4,7,2]=>000000000
[8,9,10,5,6,3,4,7,1,2]=>000000000
[8,9,5,6,10,1,3,4,7,2]=>000000000
[8,9,5,6,10,3,4,7,1,2]=>000000000
[8,9,10,1,5,6,7,3,2,4]=>000000000
[8,9,10,5,6,7,1,3,2,4]=>000000000
[8,9,10,1,5,6,3,7,2,4]=>000000000
[8,9,10,5,6,1,3,7,2,4]=>000000000
[8,9,10,5,6,3,7,1,2,4]=>000000000
[8,9,5,6,10,1,3,7,2,4]=>000000000
[8,9,5,6,10,3,7,1,2,4]=>000000000
[8,9,10,1,5,6,3,2,4,7]=>000000000
[8,9,10,5,6,1,3,2,4,7]=>000000000
[8,9,10,5,6,3,1,2,4,7]=>000000000
[8,9,10,5,6,3,2,4,7,1]=>000000000
[8,9,5,6,10,1,3,2,4,7]=>000000000
[8,9,5,6,10,3,1,2,4,7]=>000000000
[8,9,5,6,10,3,2,4,7,1]=>000000000
[8,9,10,1,5,3,6,7,2,4]=>000000000
[8,9,10,5,1,3,6,7,2,4]=>000000000
[8,9,10,5,3,6,7,1,2,4]=>000000000
[8,9,5,10,1,3,6,7,2,4]=>000000000
[8,9,5,10,3,6,7,1,2,4]=>000000000
[8,9,10,1,5,3,6,2,4,7]=>000000000
[8,9,10,5,1,3,6,2,4,7]=>000000000
[8,9,10,5,3,6,1,2,4,7]=>000000000
[8,9,10,5,3,6,2,4,7,1]=>000000000
[8,9,5,10,1,3,6,2,4,7]=>000000000
[8,9,5,10,3,6,1,2,4,7]=>000000000
[8,9,5,10,3,6,2,4,7,1]=>000000000
[8,9,5,3,6,10,1,2,4,7]=>000000000
[8,9,5,3,6,10,2,4,7,1]=>000000000
[8,5,9,10,1,3,6,7,2,4]=>000000000
[8,5,9,10,3,6,7,1,2,4]=>000000000
[8,5,9,10,1,3,6,2,4,7]=>000000000
[8,5,9,10,3,6,1,2,4,7]=>000000000
[8,5,9,10,3,6,2,4,7,1]=>000000000
[1,3,5,7,2,4,6,9,8,10]=>100000101
[2,4,1,5,3,6,7,8,9,10]=>000011111
[5,6,2,1,3,7,4,8,9,10]=>000000111
[3,2,5,1,6,4,7,8,9,10]=>000001111
[6,7,2,1,8,3,4,9,5,10]=>000000001
[3,6,4,1,7,2,8,5,9,10]=>000000011
[3,6,7,2,1,4,8,5,9,10]=>000000011
[4,2,6,1,7,5,3,8,9,10]=>000000111
[4,3,2,6,1,7,5,8,9,10]=>000000111
[3,4,7,1,8,2,9,5,10,6]=>000000000
[7,8,9,3,2,1,4,5,10,6]=>000000000
[4,7,2,5,1,8,3,9,6,10]=>000000001
[4,3,7,8,2,1,5,9,6,10]=>000000001
[3,5,2,7,1,8,6,4,9,10]=>000000011
[5,4,3,2,7,1,8,6,9,10]=>000000011
[5,8,9,2,1,6,3,10,7,4]=>000000000
[5,3,8,6,4,1,9,2,10,7]=>000000000
[3,5,8,2,6,1,9,4,10,7]=>000000000
[5,4,3,8,9,2,1,6,10,7]=>000000000
[6,4,2,8,1,9,7,5,3,10]=>000000001
[4,3,6,2,8,1,9,7,5,10]=>000000001
[6,5,4,3,2,8,1,9,7,10]=>000000001
[5,3,7,2,9,1,10,8,6,4]=>000000000
[5,4,3,7,2,9,1,10,8,6]=>000000000
[7,6,5,4,3,2,9,1,10,8]=>000000000
[2,1,10,3,4,5,6,7,8,9]=>010000000
[10,7,4,1,8,5,2,9,6,3]=>000000000
[1,2,3,4,5,6,8,10,7,9]=>111111000
[8,9,10,4,5,6,2,3,1,7]=>000000000
[8,9,4,5,6,10,2,3,1,7]=>000000000
[8,9,10,4,5,2,3,6,1,7]=>000000000
[8,9,4,5,10,2,3,6,1,7]=>000000000
[8,9,4,5,2,3,6,10,1,7]=>000000000
[8,4,5,9,10,2,3,6,1,7]=>000000000
[8,4,5,9,2,3,6,10,1,7]=>000000000
[8,9,10,4,5,6,2,1,3,7]=>000000000
[8,9,4,5,6,10,2,1,3,7]=>000000000
[8,9,10,4,5,2,6,1,3,7]=>000000000
[8,9,4,5,10,2,6,1,3,7]=>000000000
[8,9,4,5,2,6,10,1,3,7]=>000000000
[8,4,5,9,10,2,6,1,3,7]=>000000000
[8,4,5,9,2,6,10,1,3,7]=>000000000
[8,9,10,4,5,2,1,3,6,7]=>000000000
[8,9,4,5,10,2,1,3,6,7]=>000000000
[8,9,4,5,2,10,1,3,6,7]=>000000000
[8,9,4,5,2,1,3,6,10,7]=>000000000
[8,4,5,9,10,2,1,3,6,7]=>000000000
[8,4,5,9,2,10,1,3,6,7]=>000000000
[8,4,5,9,2,1,3,6,10,7]=>000000000
[8,9,10,4,2,5,6,1,3,7]=>000000000
[8,9,4,10,2,5,6,1,3,7]=>000000000
[8,9,4,2,5,6,10,1,3,7]=>000000000
[8,4,9,10,2,5,6,1,3,7]=>000000000
[8,4,9,2,5,6,10,1,3,7]=>000000000
[8,9,10,4,2,5,1,3,6,7]=>000000000
[8,9,4,10,2,5,1,3,6,7]=>000000000
[8,9,4,2,5,10,1,3,6,7]=>000000000
[8,9,4,2,5,1,3,6,10,7]=>000000000
[8,4,9,10,2,5,1,3,6,7]=>000000000
[8,4,9,2,5,1,3,6,10,7]=>000000000
[8,4,2,5,9,10,1,3,6,7]=>000000000
[8,4,2,5,9,1,3,6,10,7]=>000000000
[4,8,9,10,2,5,6,1,3,7]=>000000000
[4,8,9,2,5,6,10,1,3,7]=>000000000
[4,8,9,10,2,5,1,3,6,7]=>000000000
[4,8,9,2,5,10,1,3,6,7]=>000000000
[4,8,9,2,5,1,3,6,10,7]=>000000000
[4,8,2,5,9,10,1,3,6,7]=>000000000
[4,8,2,5,9,1,3,6,10,7]=>000000000
[2,1,4,3,6,5,9,7,10,8]=>010101000
[2,1,4,3,7,5,8,6,10,9]=>010100010
[2,1,4,3,7,5,9,6,10,8]=>010100000
[2,1,4,3,8,5,9,6,10,7]=>010100000
[2,1,5,3,6,4,8,7,10,9]=>010001010
[2,1,5,3,6,4,9,7,10,8]=>010001000
[2,1,5,3,7,4,8,6,10,9]=>010000010
[2,1,5,3,7,4,9,6,10,8]=>010000000
[2,1,5,3,8,4,9,6,10,7]=>010000000
[2,1,6,3,7,4,8,5,10,9]=>010000010
[2,1,6,3,7,4,9,5,10,8]=>010000000
[2,1,6,3,8,4,9,5,10,7]=>010000000
[2,1,7,3,8,4,9,5,10,6]=>010000000
[3,1,4,2,6,5,9,7,10,8]=>000101000
[3,1,4,2,7,5,8,6,10,9]=>000100010
[3,1,4,2,7,5,9,6,10,8]=>000100000
[3,1,4,2,8,5,9,6,10,7]=>000100000
[3,1,5,2,6,4,9,7,10,8]=>000001000
[3,1,5,2,8,4,9,6,10,7]=>000000000
[3,1,6,2,7,4,8,5,10,9]=>000000010
[3,1,6,2,7,4,9,5,10,8]=>000000000
[3,1,6,2,8,4,9,5,10,7]=>000000000
[3,1,7,2,8,4,9,5,10,6]=>000000000
[4,1,5,2,6,3,9,7,10,8]=>000001000
[4,1,5,2,7,3,8,6,10,9]=>000000010
[4,1,5,2,7,3,9,6,10,8]=>000000000
[4,1,5,2,8,3,9,6,10,7]=>000000000
[4,1,6,2,7,3,8,5,10,9]=>000000010
[4,1,6,2,7,3,9,5,10,8]=>000000000
[4,1,6,2,8,3,9,5,10,7]=>000000000
[4,1,7,2,8,3,9,5,10,6]=>000000000
[5,1,6,2,7,3,9,4,10,8]=>000000000
[5,1,6,2,8,3,9,4,10,7]=>000000000
[5,1,7,2,8,3,9,4,10,6]=>000000000
[1,7,2,8,3,9,4,10,5,6]=>100000000
[1,7,2,8,3,9,10,4,5,6]=>100000000
[1,7,2,8,9,3,4,10,5,6]=>100000000
[1,7,2,8,9,3,10,4,5,6]=>100000000
[1,7,2,8,9,10,3,4,5,6]=>100000000
[1,7,8,2,3,9,4,10,5,6]=>100000000
[1,7,8,2,3,9,10,4,5,6]=>100000000
[1,7,8,2,9,3,4,10,5,6]=>100000000
[1,7,8,2,9,3,10,4,5,6]=>100000000
[1,7,8,2,9,10,3,4,5,6]=>100000000
[1,7,8,9,2,3,4,10,5,6]=>100000000
[1,7,8,9,2,3,10,4,5,6]=>100000000
[1,7,8,9,2,10,3,4,5,6]=>100000000
[7,1,2,8,3,9,4,10,5,6]=>000000000
[7,1,2,8,3,9,10,4,5,6]=>000000000
[7,1,2,8,9,3,4,10,5,6]=>000000000
[7,1,2,8,9,3,10,4,5,6]=>000000000
[7,1,2,8,9,10,3,4,5,6]=>000000000
[7,1,8,2,3,9,4,10,5,6]=>000000000
[7,1,8,2,3,9,10,4,5,6]=>000000000
[7,1,8,2,9,3,4,10,5,6]=>000000000
[7,1,8,2,9,10,3,4,5,6]=>000000000
[7,1,8,9,2,3,4,10,5,6]=>000000000
[7,1,8,9,2,3,10,4,5,6]=>000000000
[7,1,8,9,2,10,3,4,5,6]=>000000000
[7,1,8,9,10,2,3,4,5,6]=>000000000
[7,8,1,2,3,9,4,10,5,6]=>000000000
[7,8,1,2,3,9,10,4,5,6]=>000000000
[7,8,1,2,9,3,4,10,5,6]=>000000000
[7,8,1,2,9,3,10,4,5,6]=>000000000
[7,8,1,2,9,10,3,4,5,6]=>000000000
[7,8,1,9,2,3,4,10,5,6]=>000000000
[7,8,1,9,2,3,10,4,5,6]=>000000000
[7,8,1,9,2,10,3,4,5,6]=>000000000
[7,8,1,9,10,2,3,4,5,6]=>000000000
[7,8,9,1,2,3,4,10,5,6]=>000000000
[7,8,9,1,2,3,10,4,5,6]=>000000000
[7,8,9,1,2,10,3,4,5,6]=>000000000
[7,8,9,1,10,2,3,4,5,6]=>000000000
[7,2,8,9,10,1,3,4,5,6]=>000000000
[9,10,6,4,2,1,3,5,8,7]=>000000000
[10,7,8,4,2,1,3,6,5,9]=>000000000
[9,7,10,4,2,1,3,6,8,5]=>000000000
[8,9,10,4,2,1,3,7,6,5]=>000000000
[10,8,5,6,2,1,4,3,7,9]=>000000000
[9,10,5,6,2,1,4,3,8,7]=>000000000
[10,7,5,8,2,1,4,6,3,9]=>000000000
[9,7,5,10,2,1,4,6,8,3]=>000000000
[8,9,5,10,2,1,4,7,6,3]=>000000000
[10,6,7,8,2,1,5,4,3,9]=>000000000
[9,6,7,10,2,1,5,4,8,3]=>000000000
[8,6,9,10,2,1,5,7,4,3]=>000000000
[7,8,9,10,2,1,6,5,4,3]=>000000000
[10,8,6,3,4,2,1,5,7,9]=>000000000
[9,10,6,3,4,2,1,5,8,7]=>000000000
[10,7,8,3,4,2,1,6,5,9]=>000000000
[9,7,10,3,4,2,1,6,8,5]=>000000000
[8,9,10,3,4,2,1,7,6,5]=>000000000
[10,8,5,3,6,2,4,1,7,9]=>000000000
[9,10,5,3,6,2,4,1,8,7]=>000000000
[10,7,5,3,8,2,4,6,1,9]=>000000000
[9,7,5,3,10,2,4,6,8,1]=>000000000
[8,9,5,3,10,2,4,7,6,1]=>000000000
[10,6,7,3,8,2,5,4,1,9]=>000000000
[9,6,7,3,10,2,5,4,8,1]=>000000000
[8,6,9,3,10,2,5,7,4,1]=>000000000
[7,8,9,3,10,2,6,5,4,1]=>000000000
[10,8,4,5,6,3,2,1,7,9]=>000000000
[9,10,4,5,6,3,2,1,8,7]=>000000000
[10,7,4,5,8,3,2,6,1,9]=>000000000
[9,7,4,5,10,3,2,6,8,1]=>000000000
[8,9,4,5,10,3,2,7,6,1]=>000000000
[10,6,4,7,8,3,5,2,1,9]=>000000000
[9,6,4,7,10,3,5,2,8,1]=>000000000
[8,6,4,9,10,3,5,7,2,1]=>000000000
[7,8,4,9,10,3,6,5,2,1]=>000000000
[10,5,6,7,8,4,3,2,1,9]=>000000000
[9,5,6,7,10,4,3,2,8,1]=>000000000
[8,5,6,9,10,4,3,7,2,1]=>000000000
[7,5,8,9,10,4,6,3,2,1]=>000000000
[10,9,8,6,4,2,1,3,5,7]=>000000000
[10,8,7,6,4,2,1,3,5,9]=>000000000
[10,7,9,6,4,2,1,3,8,5]=>000000000
[10,9,8,7,6,4,2,1,3,5]=>000000000
[10,8,6,5,4,2,1,3,7,9]=>000000000
[10,9,8,6,5,4,2,1,3,7]=>000000000
[10,8,5,7,4,2,1,6,3,9]=>000000000
[10,5,9,7,4,2,1,6,8,3]=>000000000
[10,9,8,5,7,4,2,1,6,3]=>000000000
[10,8,7,6,5,4,2,1,3,9]=>000000000
[10,7,9,6,5,4,2,1,8,3]=>000000000
[10,6,9,8,5,7,2,1,4,3]=>000000000
[10,8,6,4,3,2,1,5,7,9]=>000000000
[10,9,8,6,4,3,2,1,5,7]=>000000000
[10,8,7,6,4,3,2,1,5,9]=>000000000
[10,7,9,6,4,3,2,1,8,5]=>000000000
[10,8,6,3,5,2,4,1,7,9]=>000000000
[10,9,8,6,3,5,2,4,1,7]=>000000000
[10,8,3,7,5,2,4,6,1,9]=>000000000
[10,3,9,7,5,2,4,6,8,1]=>000000000
[10,9,8,3,7,5,2,4,6,1]=>000000000
[10,8,7,6,3,5,2,4,1,9]=>000000000
[10,7,9,6,3,5,2,4,8,1]=>000000000
[10,9,3,8,6,5,2,7,4,1]=>000000000
[10,9,8,7,6,3,5,2,4,1]=>000000000
[10,8,6,5,4,3,2,1,7,9]=>000000000
[10,8,5,7,4,3,2,6,1,9]=>000000000
[10,5,9,7,4,3,2,6,8,1]=>000000000
[10,9,8,5,7,4,3,2,6,1]=>000000000
[10,8,4,7,6,3,5,2,1,9]=>000000000
[10,4,9,7,6,3,5,2,8,1]=>000000000
[10,4,9,6,8,3,5,7,2,1]=>000000000
[10,9,8,4,7,6,3,5,2,1]=>000000000
[10,7,9,6,5,4,3,2,8,1]=>000000000
[10,6,9,8,5,4,3,7,2,1]=>000000000
[10,5,9,8,7,4,6,3,2,1]=>000000000
[3,2,8,9,10,1,4,5,6,7]=>000000000
[2,5,6,7,8,9,10,1,3,4]=>000000000
[1,2,7,3,8,4,9,5,10,6]=>110000000
[3,4,5,6,7,1,8,2,10,9]=>000000010
[1,4,5,6,10,7,8,2,9,3]=>100000000
[2,4,5,6,10,7,1,8,3,9]=>000000000
[3,4,5,6,8,7,1,10,2,9]=>000000000
[3,5,6,7,10,8,1,9,2,4]=>000000000
[1,4,5,9,6,7,2,8,10,3]=>100000000
[2,3,4,5,6,7,1,9,8,10]=>000000101
[2,3,4,5,1,7,6,9,8,10]=>000010101
[3,4,5,6,7,8,10,1,9,2]=>000000000
[4,2,3,5,6,7,8,9,10,1]=>000000000
[9,10,6,7,4,5,2,3,1,8]=>000000000
[8,9,4,5,10,1,2,3,6,7]=>000000000
[8,4,3,9,10,1,2,5,6,7]=>000000000
[9,6,10,1,3,7,8,2,4,5]=>000000000
[9,10,6,7,4,5,1,2,3,8]=>000000000
[9,6,4,10,3,7,1,2,5,8]=>000000000
[10,1,8,9,6,7,4,5,2,3]=>000000000
[10,8,6,1,4,9,3,7,2,5]=>000000000
[10,8,6,5,4,1,3,9,2,7]=>000000000
[10,8,7,6,5,4,3,1,2,9]=>000000000
[1,2,3,4,6,5,7,8,9,10]=>111101111
[1,2,3,4,5,6,8,7,9,10]=>111111011
[3,4,5,6,7,9,10,1,8,2]=>000000000
[3,4,5,7,8,9,10,1,6,2]=>000000000
[3,4,6,7,8,9,10,1,5,2]=>000000000
[4,5,6,7,8,9,10,1,3,2]=>000000000
[9,8,7,5,6,4,3,2,10,1]=>000000000
[1,2,4,5,6,8,10,9,3,7]=>110000000
[1,2,3,5,7,8,10,6,9,4]=>111000000
[1,2,4,5,7,8,10,3,9,6]=>110000000
[1,2,4,6,7,5,10,8,3,9]=>110000000
[1,3,4,2,7,8,10,5,9,6]=>100100000
[1,3,4,6,7,2,10,8,5,9]=>100000000
[1,2,3,5,6,9,8,10,7,4]=>111000000
[1,2,4,5,6,9,8,10,3,7]=>110000000
[1,2,3,5,7,9,6,10,8,4]=>111000000
[1,2,4,5,7,9,3,10,8,6]=>110000000
[1,2,4,6,5,9,7,10,3,8]=>110000000
[1,3,4,2,7,9,5,10,8,6]=>100100000
[1,3,4,6,2,9,7,10,5,8]=>100000000
[1,2,3,5,8,7,9,6,10,4]=>111000000
[1,2,4,5,8,7,9,3,10,6]=>110000000
[1,2,4,6,8,5,9,3,10,7]=>110000000
[1,2,4,7,6,8,5,9,3,10]=>110000001
[1,3,4,2,8,7,9,5,10,6]=>100100000
[1,3,4,6,8,2,9,5,10,7]=>100000000
[1,3,4,7,6,8,2,9,5,10]=>100000001
[1,2,3,6,5,9,7,10,8,4]=>111000000
[1,2,4,6,3,9,7,10,8,5]=>110000000
[1,2,5,4,6,9,7,10,3,8]=>110000000
[1,3,2,6,4,9,7,10,8,5]=>101000000
[1,3,5,2,6,9,7,10,4,8]=>100000000
[1,2,3,6,8,5,9,7,10,4]=>111000000
[1,2,4,6,8,3,9,7,10,5]=>110000000
[1,2,5,4,8,6,9,3,10,7]=>110000000
[1,2,5,7,4,8,6,9,3,10]=>110000001
[1,3,2,6,8,4,9,7,10,5]=>101000000
[1,3,5,2,8,6,9,4,10,7]=>100000000
[1,3,5,7,2,8,6,9,4,10]=>100000001
[1,4,3,5,8,2,9,6,10,7]=>100000000
[1,4,3,7,5,8,2,9,6,10]=>100000001
[2,1,3,6,4,9,7,10,8,5]=>011000000
[2,1,5,3,6,9,7,10,4,8]=>010000000
[2,1,3,6,8,4,9,7,10,5]=>011000000
[2,1,5,3,8,6,9,4,10,7]=>010000000
[2,1,5,7,3,8,6,9,4,10]=>010000001
[2,4,1,5,8,3,9,6,10,7]=>000000000
[2,4,1,7,5,8,3,9,6,10]=>000000001
[5,6,1,2,3,7,8,9,10,4]=>000000000
[2,5,1,3,6,7,8,9,10,4]=>000000000
[3,2,1,5,6,7,8,9,10,4]=>001000000
[6,7,8,1,2,3,4,9,10,5]=>000000000
[2,6,7,1,3,4,8,9,10,5]=>000000000
[6,3,4,1,2,7,8,9,10,5]=>000000000
[3,2,6,1,4,7,8,9,10,5]=>000000000
[4,3,2,1,6,7,8,9,10,5]=>000100000
[2,7,8,9,1,3,4,5,10,6]=>000000000
[7,3,4,8,1,2,5,9,10,6]=>000000000
[3,2,7,8,1,4,5,9,10,6]=>000000000
[4,7,2,5,1,3,8,9,10,6]=>000000000
[4,3,2,7,1,5,8,9,10,6]=>000000000
[5,4,3,2,1,7,8,9,10,6]=>000010000
[8,3,4,9,10,1,2,5,6,7]=>000000000
[8,9,4,5,6,1,2,3,10,7]=>000000000
[4,3,2,8,9,1,5,6,10,7]=>000000000
[8,5,6,3,4,1,2,9,10,7]=>000000000
[5,3,8,2,6,1,4,9,10,7]=>000000000
[5,4,3,2,8,1,6,9,10,7]=>000000000
[6,5,4,3,2,1,8,9,10,7]=>000001000
[5,9,10,2,6,7,1,3,4,8]=>000000000
[9,5,6,3,4,10,1,2,7,8]=>000000000
[5,3,9,2,6,10,1,4,7,8]=>000000000
[5,4,3,2,9,10,1,6,7,8]=>000000000
[6,9,4,7,2,5,1,3,10,8]=>000000000
[6,4,3,9,2,7,1,5,10,8]=>000000000
[6,5,4,3,2,9,1,7,10,8]=>000000000
[7,6,5,4,3,2,1,9,10,8]=>000000100
[10,7,8,5,6,3,4,1,2,9]=>000000000
[7,5,10,3,8,2,6,1,4,9]=>000000000
[7,5,4,3,10,2,8,1,6,9]=>000000000
[7,6,5,4,3,2,10,1,8,9]=>000000000
[2,1,4,3,6,5,7,9,10,8]=>010101100
[2,1,4,3,5,7,8,6,10,9]=>010110010
[2,1,4,3,5,7,6,9,10,8]=>010110100
[2,1,4,3,5,6,8,9,10,7]=>010111000
[2,1,3,5,6,4,8,7,10,9]=>011001010
[2,1,3,5,6,4,7,9,10,8]=>011001100
[2,1,3,5,4,7,8,6,10,9]=>011010010
[2,1,3,5,4,7,6,9,10,8]=>011010100
[2,1,3,5,4,6,8,9,10,7]=>011011000
[2,1,3,4,6,7,8,5,10,9]=>011100010
[2,1,3,4,6,7,5,9,10,8]=>011100100
[2,1,3,4,6,5,8,9,10,7]=>011101000
[2,1,3,4,5,7,8,9,10,6]=>011110000
[1,3,4,2,6,5,7,9,10,8]=>100101100
[1,3,4,2,5,7,8,6,10,9]=>100110010
[1,3,4,2,5,7,6,9,10,8]=>100110100
[1,3,4,2,5,6,8,9,10,7]=>100111000
[1,3,2,5,6,4,8,7,10,9]=>101001010
[1,3,2,5,6,4,7,9,10,8]=>101001100
[1,3,2,5,4,7,8,6,10,9]=>101010010
[1,3,2,5,4,7,6,9,10,8]=>101010100
[1,3,2,5,4,6,8,9,10,7]=>101011000
[1,3,2,4,6,7,8,5,10,9]=>101100010
[1,3,2,4,6,7,5,9,10,8]=>101100100
[1,3,2,4,6,5,8,9,10,7]=>101101000
[1,3,2,4,5,7,8,9,10,6]=>101110000
[1,2,4,5,6,3,8,7,10,9]=>110001010
[1,2,4,5,6,3,7,9,10,8]=>110001100
[1,2,4,5,3,7,8,6,10,9]=>110010010
[1,2,4,5,3,7,6,9,10,8]=>110010100
[1,2,4,5,3,6,8,9,10,7]=>110011000
[1,2,4,3,6,7,8,5,10,9]=>110100010
[1,2,4,3,6,7,5,9,10,8]=>110100100
[1,2,4,3,6,5,8,9,10,7]=>110101000
[1,2,4,3,5,7,8,9,10,6]=>110110000
[1,2,3,5,6,7,8,4,10,9]=>111000010
[1,2,3,5,6,7,4,9,10,8]=>111000100
[1,2,3,5,6,4,8,9,10,7]=>111001000
[1,2,3,5,4,7,8,9,10,6]=>111010000
[1,8,5,2,9,6,3,10,7,4]=>100000000
[10,9,3,8,7,6,5,4,2,1]=>000000000
[8,7,6,4,5,3,2,1,10,9]=>000000010
[3,4,5,6,7,10,1,2,8,9]=>000000000
[3,4,5,6,9,10,1,2,7,8]=>000000000
[3,4,5,8,9,10,1,2,6,7]=>000000000
[3,4,7,8,9,10,1,2,5,6]=>000000000
[3,6,7,8,9,10,1,2,4,5]=>000000000
[1,2,9,7,5,3,10,8,6,4]=>110000000
[1,3,5,7,2,9,4,6,8,10]=>100000001
[1,3,5,7,2,9,4,10,6,8]=>100000000
[1,3,5,7,2,8,4,9,6,10]=>100000001
[1,3,5,6,2,7,4,9,8,10]=>100000101
[1,3,4,5,2,7,6,9,8,10]=>100010101
[1,10,9,8,7,6,5,3,2,4]=>100000000
[1,10,9,8,7,6,4,3,2,5]=>100000000
[1,10,9,8,7,5,4,3,2,6]=>100000000
[1,10,9,8,6,5,4,3,2,7]=>100000000
[1,10,9,7,6,5,4,3,2,8]=>100000000
[1,10,8,7,6,5,4,3,2,9]=>100000000
[9,10,2,3,4,5,6,7,1,8]=>000000000
[8,9,10,2,3,4,5,6,1,7]=>000000000
[7,8,9,10,2,3,4,5,1,6]=>000000000
[5,6,7,8,9,10,2,3,1,4]=>000000000
[4,5,6,7,8,9,10,2,1,3]=>000000000
[8,10,3,4,5,6,7,2,1,9]=>000000000
[3,10,2,1,5,6,7,8,9,4]=>000000000
[3,9,1,4,5,6,7,8,2,10]=>000000001
[1,2,3,4,5,6,8,9,7,10]=>111111001
[1,2,3,4,5,7,8,6,9,10]=>111110011
[1,2,3,4,5,7,8,9,6,10]=>111110001
[1,5,2,8,6,3,10,9,7,4]=>100000000
[4,1,5,2,8,6,3,10,9,7]=>000000000
[1,7,5,2,8,6,3,10,9,4]=>100000000
[4,1,7,5,2,8,3,10,9,6]=>000000000
[6,4,1,7,5,2,8,3,10,9]=>000000010
[3,4,1,7,2,8,5,10,9,6]=>000000000
[3,6,4,1,7,2,8,5,10,9]=>000000010
[1,5,2,9,8,6,3,10,7,4]=>100000000
[4,1,5,2,9,8,6,3,10,7]=>000000000
[1,7,5,2,9,6,3,10,8,4]=>100000000
[4,1,7,5,2,9,3,10,8,6]=>000000000
[4,1,9,6,5,2,7,3,10,8]=>000000000
[3,4,1,7,2,9,5,10,8,6]=>000000000
[3,6,1,9,4,2,7,5,10,8]=>000000000
[1,8,7,5,2,9,6,3,10,4]=>100000000
[4,1,8,7,5,2,9,3,10,6]=>000000000
[6,4,1,8,5,2,9,3,10,7]=>000000000
[7,6,4,1,8,5,2,9,3,10]=>000000001
[3,4,1,8,7,2,9,5,10,6]=>000000000
[3,6,4,1,8,2,9,5,10,7]=>000000000
[3,7,6,4,1,8,2,9,5,10]=>000000001
[1,9,6,5,2,7,3,10,8,4]=>100000000
[6,1,9,4,2,7,3,10,8,5]=>000000000
[5,4,1,9,6,2,7,3,10,8]=>000000000
[9,3,1,6,2,7,4,10,8,5]=>000000000
[9,5,3,1,6,2,7,4,10,8]=>000000000
[6,1,8,5,2,9,7,3,10,4]=>000000000
[6,4,1,8,2,9,7,3,10,5]=>000000000
[8,5,4,1,6,2,9,3,10,7]=>000000000
[5,7,4,1,8,6,2,9,3,10]=>000000001
[3,6,1,8,2,9,7,4,10,5]=>000000000
[5,8,3,1,6,2,9,4,10,7]=>000000000
[5,3,7,1,8,6,2,9,4,10]=>000000001
[4,3,8,1,9,5,2,6,10,7]=>000000000
[7,4,3,5,1,8,2,9,6,10]=>000000001
[9,6,2,1,3,7,4,10,8,5]=>000000000
[5,9,2,1,6,3,7,4,10,8]=>000000000
[6,8,2,1,3,9,7,4,10,5]=>000000000
[8,2,5,1,6,3,9,4,10,7]=>000000000
[2,5,7,1,8,6,3,9,4,10]=>000000001
[2,4,8,1,9,5,3,6,10,7]=>000000000
[5,6,4,3,2,1,7,8,9,10]=>000001111
[6,7,5,4,3,2,1,8,9,10]=>000000111
[7,8,9,10,1,5,6,3,4,2]=>000000000
[10,9,8,5,7,6,4,3,2,1]=>000000000
[10,9,8,4,7,6,5,3,2,1]=>000000000
[10,9,4,8,7,6,5,3,2,1]=>000000000
[10,3,9,8,7,6,5,4,2,1]=>000000000
[10,2,9,8,7,6,5,4,3,1]=>000000000
[9,10,2,1,6,4,3,5,7,8]=>000000000
[7,10,2,1,8,4,3,5,6,9]=>000000000
[2,9,1,10,7,4,3,5,6,8]=>000000000
[2,8,1,9,4,3,10,5,6,7]=>000000000
[10,8,5,2,1,6,3,4,7,9]=>000000000
[9,5,2,1,10,6,3,4,7,8]=>000000000
[10,7,2,1,8,5,3,4,6,9]=>000000000
[9,2,1,10,7,5,3,4,6,8]=>000000000
[2,8,1,9,3,10,5,4,6,7]=>000000000
[10,6,2,1,7,3,8,4,5,9]=>000000000
[9,2,1,10,6,3,7,4,5,8]=>000000000
[8,2,1,9,3,10,6,4,5,7]=>000000000
[7,2,1,8,3,9,4,10,5,6]=>000000000
[10,8,6,3,1,4,2,5,7,9]=>000000000
[3,9,1,10,6,4,2,5,7,8]=>000000000
[10,7,3,1,8,4,2,5,6,9]=>000000000
[9,3,1,10,7,4,2,5,6,8]=>000000000
[8,3,1,9,4,2,10,5,6,7]=>000000000
[10,8,5,1,6,3,2,4,7,9]=>000000000
[9,5,1,10,6,3,2,4,7,8]=>000000000
[10,7,1,8,5,3,2,4,6,9]=>000000000
[9,1,10,7,5,3,2,4,6,8]=>000000000
[8,3,1,9,2,10,5,4,6,7]=>000000000
[10,6,1,7,3,2,8,4,5,9]=>000000000
[9,1,10,6,3,2,7,4,5,8]=>000000000
[8,1,9,3,2,10,6,4,5,7]=>000000000
[7,1,8,3,2,9,4,10,5,6]=>000000000
[10,8,4,1,5,2,6,3,7,9]=>000000000
[9,4,1,10,5,2,6,3,7,8]=>000000000
[10,7,1,8,4,2,5,3,6,9]=>000000000
[9,1,10,7,4,2,5,3,6,8]=>000000000
[8,1,9,4,2,10,5,3,6,7]=>000000000
[10,6,1,7,2,8,4,3,5,9]=>000000000
[9,1,10,6,2,7,4,3,5,8]=>000000000
[8,1,9,2,10,6,4,3,5,7]=>000000000
[7,1,8,2,9,4,3,10,5,6]=>000000000
[10,5,1,6,2,7,3,8,4,9]=>000000000
[9,1,10,5,2,6,3,7,4,8]=>000000000
[8,1,9,2,10,5,3,6,4,7]=>000000000
[7,1,8,2,9,3,10,5,4,6]=>000000000
[10,9,8,6,5,7,4,3,2,1]=>000000000
[10,9,8,4,5,7,6,3,2,1]=>000000000
[10,9,8,5,4,6,7,3,2,1]=>000000000
[1,3,4,2,5,6,7,8,9,10]=>100111111
[1,2,4,5,6,3,7,8,9,10]=>110001111
[1,2,3,5,6,7,8,4,9,10]=>111000011
[2,1,5,3,6,7,4,8,9,10]=>010000111
[1,3,5,6,4,2,7,8,9,10]=>100001111
[3,5,2,1,6,4,7,8,9,10]=>000001111
[2,1,3,6,4,7,8,9,5,10]=>011000001
[1,3,4,6,7,2,8,5,9,10]=>100000011
[3,2,6,1,4,7,8,5,9,10]=>000000011
[2,4,6,1,7,5,3,8,9,10]=>000000111
[4,6,3,2,1,7,5,8,9,10]=>000000111
[1,3,4,2,7,8,5,9,10,6]=>100100000
[3,2,1,7,4,5,8,9,10,6]=>001000000
[1,2,4,5,7,8,9,6,3,10]=>110000001
[4,3,7,2,1,5,8,9,6,10]=>000000001
[1,3,5,7,8,6,4,2,9,10]=>100000011
[3,5,7,2,1,8,6,4,9,10]=>000000011
[5,7,4,3,2,1,8,6,9,10]=>000000011
[2,1,5,3,8,6,9,10,7,4]=>010000000
[1,3,5,6,8,9,4,2,10,7]=>100000000
[3,5,2,8,1,6,9,4,10,7]=>000000000
[5,4,8,3,2,1,6,9,10,7]=>000000000
[2,4,6,8,1,9,7,5,3,10]=>000000001
[4,6,8,3,2,1,9,7,5,10]=>000000001
[6,8,5,4,3,2,1,9,7,10]=>000000001
[3,5,7,9,2,1,10,8,6,4]=>000000000
[5,7,9,4,3,2,1,10,8,6]=>000000000
[7,9,6,5,4,3,2,1,10,8]=>000000000
[4,5,6,7,8,9,1,10,2,3]=>000000000
[9,8,10,7,6,5,4,3,1,2]=>000000000
[6,2,3,4,5,7,8,9,10,1]=>000000000
[2,6,3,4,5,7,8,9,10,1]=>000000000
[2,3,6,4,5,7,8,9,10,1]=>000000000
[10,7,1,2,3,4,5,9,6,8]=>000000000
[4,5,6,7,8,9,1,2,10,3]=>000000000
[1,2,3,4,8,5,9,6,10,7]=>111100000
[1,2,3,4,5,8,6,10,9,7]=>111110000
[1,2,3,7,4,8,5,10,9,6]=>111000000
[1,2,3,4,9,7,5,10,8,6]=>111100000
[1,2,3,4,7,5,10,9,8,6]=>111100000
[1,6,2,7,3,8,4,10,9,5]=>100000000
[1,2,6,3,9,7,4,10,8,5]=>110000000
[1,2,6,3,7,4,10,9,8,5]=>110000000
[1,2,3,8,6,4,10,9,7,5]=>111000000
[1,2,3,6,4,10,9,8,7,5]=>111000000
[5,1,6,2,9,7,3,10,8,4]=>000000000
[5,1,6,2,7,3,10,9,8,4]=>000000000
[1,5,2,6,3,10,9,8,7,4]=>100000000
[1,2,7,5,3,10,9,8,6,4]=>110000000
[1,2,5,3,10,9,8,7,6,4]=>110000000
[7,4,1,8,5,2,10,9,6,3]=>000000000
[4,1,9,7,5,2,10,8,6,3]=>000000000
[4,1,7,5,2,10,9,8,6,3]=>000000000
[4,1,5,2,10,9,8,7,6,3]=>000000000
[1,8,6,4,2,10,9,7,5,3]=>100000000
[1,6,4,2,10,9,8,7,5,3]=>100000000
[1,4,2,10,9,8,7,6,5,3]=>100000000
[7,5,3,1,10,9,8,6,4,2]=>000000000
[5,3,1,10,9,8,7,6,4,2]=>000000000
[1,4,2,5,6,7,8,10,9,3]=>100000000
[2,1,4,5,6,7,10,8,3,9]=>010000000
[3,1,5,2,6,10,7,8,9,4]=>000000000
[4,5,1,6,7,9,8,10,2,3]=>000000000
[7,2,8,3,9,4,10,5,1,6]=>000000000
[7,2,8,3,9,4,10,1,5,6]=>000000000
[7,2,8,3,9,10,4,5,1,6]=>000000000
[7,2,8,3,9,10,4,1,5,6]=>000000000
[7,2,8,3,9,10,1,4,5,6]=>000000000
[7,2,8,9,3,4,10,5,1,6]=>000000000
[7,2,8,9,3,4,10,1,5,6]=>000000000
[7,2,8,9,3,10,4,5,1,6]=>000000000
[7,2,8,9,3,10,4,1,5,6]=>000000000
[7,2,8,9,3,10,1,4,5,6]=>000000000
[7,2,8,9,10,3,4,5,1,6]=>000000000
[7,2,8,9,10,3,4,1,5,6]=>000000000
[7,2,8,9,10,3,1,4,5,6]=>000000000
[7,8,2,3,9,4,10,5,1,6]=>000000000
[7,8,2,3,9,4,10,1,5,6]=>000000000
[7,8,2,3,9,10,4,5,1,6]=>000000000
[7,8,2,3,9,10,4,1,5,6]=>000000000
[7,8,2,3,9,10,1,4,5,6]=>000000000
[7,8,2,9,3,4,10,5,1,6]=>000000000
[7,8,2,9,3,4,10,1,5,6]=>000000000
[7,8,2,9,3,10,4,5,1,6]=>000000000
[7,8,2,9,3,10,4,1,5,6]=>000000000
[7,8,2,9,3,10,1,4,5,6]=>000000000
[7,8,2,9,10,3,4,5,1,6]=>000000000
[7,8,2,9,10,3,4,1,5,6]=>000000000
[7,8,2,9,10,3,1,4,5,6]=>000000000
[7,8,2,9,10,1,3,4,5,6]=>000000000
[7,8,9,2,3,4,10,5,1,6]=>000000000
[7,8,9,2,3,4,10,1,5,6]=>000000000
[7,8,9,2,3,10,4,5,1,6]=>000000000
[7,8,9,2,3,10,4,1,5,6]=>000000000
[7,8,9,2,3,10,1,4,5,6]=>000000000
[7,8,9,2,10,3,4,5,1,6]=>000000000
[7,8,9,2,10,3,4,1,5,6]=>000000000
[7,8,9,2,10,3,1,4,5,6]=>000000000
[7,8,9,2,10,1,3,4,5,6]=>000000000
[7,8,9,10,2,3,4,1,5,6]=>000000000
[7,8,9,10,2,3,1,4,5,6]=>000000000
[7,8,9,10,2,1,3,4,5,6]=>000000000
[5,9,8,7,6,4,3,2,1,10]=>000000001
[10,9,8,6,1,7,5,4,3,2]=>000000000
[1,2,9,3,4,5,6,7,10,8]=>110000000
[1,2,3,4,5,9,6,7,10,8]=>111110000
[1,10,6,2,3,4,9,5,7,8]=>100000000
[1,5,2,9,3,10,4,6,7,8]=>100000000
[1,2,4,3,10,9,5,6,7,8]=>110100000
[1,3,2,4,5,10,9,6,7,8]=>101110000
[2,1,3,4,5,9,6,10,7,8]=>011110000
[10,9,8,6,7,5,4,3,2,1]=>000000000
[10,9,7,6,8,5,4,3,2,1]=>000000000
[10,8,7,6,9,5,4,3,2,1]=>000000000
[9,8,7,6,4,3,2,5,1,10]=>000000001
[9,8,7,6,4,3,5,2,1,10]=>000000001
[1,10,9,8,6,5,7,4,3,2]=>100000000
[1,10,9,8,5,6,7,4,3,2]=>100000000
[1,10,9,5,6,7,8,4,3,2]=>100000000
[1,10,4,5,6,7,8,9,3,2]=>100000000
[2,6,7,8,9,10,1,3,4,5]=>000000000
[5,6,7,8,9,10,1,3,4,2]=>000000000
[5,6,7,8,9,10,1,4,3,2]=>000000000
[7,8,9,10,1,4,5,6,2,3]=>000000000
[7,8,9,10,1,4,5,6,3,2]=>000000000
[7,8,9,10,1,5,6,4,3,2]=>000000000
[7,8,9,10,1,6,5,4,3,2]=>000000000
[8,9,10,1,4,5,6,7,2,3]=>000000000
[8,9,10,1,4,5,6,7,3,2]=>000000000
[8,9,10,1,5,6,7,2,3,4]=>000000000
[8,9,10,1,5,6,7,4,3,2]=>000000000
[8,9,10,1,6,7,4,5,2,3]=>000000000
[8,9,10,1,6,7,4,5,3,2]=>000000000
[8,9,10,1,6,7,5,4,3,2]=>000000000
[8,9,10,1,7,6,5,4,3,2]=>000000000
[9,10,1,6,7,8,3,4,5,2]=>000000000
[9,10,1,6,7,8,4,5,2,3]=>000000000
[9,10,1,6,7,8,4,5,3,2]=>000000000
[9,10,1,6,7,8,5,4,3,2]=>000000000
[9,10,1,7,8,5,6,3,4,2]=>000000000
[9,10,1,7,8,5,6,4,3,2]=>000000000
[9,10,1,7,8,6,5,4,3,2]=>000000000
[10,1,8,9,6,7,4,5,3,2]=>000000000
[10,1,8,9,6,7,5,4,3,2]=>000000000
[10,1,8,9,7,6,5,4,3,2]=>000000000
[2,3,4,5,6,7,1,9,10,8]=>000000100
[2,3,4,5,1,7,8,9,10,6]=>000010000
[2,3,1,5,6,7,8,9,10,4]=>001000000
[4,2,5,3,7,6,9,8,1,10]=>000000001
[4,2,6,3,7,5,9,8,1,10]=>000000001
[4,2,6,3,8,5,9,7,1,10]=>000000001
[4,2,6,3,8,5,10,7,1,9]=>000000000
[4,2,6,3,8,5,10,7,9,1]=>000000000
[4,2,6,3,8,5,7,10,9,1]=>000000000
[4,2,6,3,5,8,7,10,9,1]=>000000000
[4,2,3,6,5,8,7,10,9,1]=>000000000
[3,4,5,6,7,10,2,1,9,8]=>000000000
[3,4,5,6,9,2,10,1,8,7]=>000000000
[3,4,5,8,2,9,10,1,6,7]=>000000000
[3,4,7,2,8,9,10,1,6,5]=>000000000
[3,6,2,7,8,9,10,1,5,4]=>000000000
[5,2,6,7,8,9,10,1,3,4]=>000000000
[5,6,7,8,9,10,3,2,1,4]=>000000000
[7,8,9,10,3,4,5,1,2,6]=>000000000
[7,8,9,10,3,4,5,2,1,6]=>000000000
[7,8,9,10,4,5,2,3,1,6]=>000000000
[7,8,9,10,4,5,3,2,1,6]=>000000000
[7,8,9,10,5,4,3,2,1,6]=>000000000
[8,9,10,3,4,5,6,1,2,7]=>000000000
[8,9,10,3,4,5,6,2,1,7]=>000000000
[8,9,10,4,5,6,1,2,3,7]=>000000000
[8,9,10,4,5,6,3,2,1,7]=>000000000
[8,9,10,5,6,3,4,1,2,7]=>000000000
[8,9,10,5,6,3,4,2,1,7]=>000000000
[8,9,10,5,6,4,3,2,1,7]=>000000000
[8,9,10,6,5,4,3,2,1,7]=>000000000
[9,10,5,6,7,2,3,4,1,8]=>000000000
[9,10,5,6,7,3,4,1,2,8]=>000000000
[9,10,5,6,7,3,4,2,1,8]=>000000000
[9,10,5,6,7,4,3,2,1,8]=>000000000
[9,10,6,7,4,5,3,2,1,8]=>000000000
[9,10,6,7,5,4,3,2,1,8]=>000000000
[9,10,7,6,5,4,3,2,1,8]=>000000000
[10,7,8,5,6,3,4,2,1,9]=>000000000
[10,7,8,5,6,4,3,2,1,9]=>000000000
[10,7,8,6,5,4,3,2,1,9]=>000000000
[10,7,1,8,2,9,3,4,5,6]=>000000000
[9,7,1,10,8,2,3,4,5,6]=>000000000
[10,9,7,1,8,2,3,4,5,6]=>000000000
[10,6,1,7,2,8,3,9,4,5]=>000000000
[9,6,1,10,7,2,8,3,4,5]=>000000000
[10,9,6,1,7,2,8,3,4,5]=>000000000
[10,8,6,1,9,7,2,3,4,5]=>000000000
[10,9,8,6,1,7,2,3,4,5]=>000000000
[9,5,1,10,6,2,7,3,8,4]=>000000000
[10,9,5,1,6,2,7,3,8,4]=>000000000
[8,5,1,9,6,2,10,7,3,4]=>000000000
[10,8,5,1,9,6,2,7,3,4]=>000000000
[10,9,8,5,1,6,2,7,3,4]=>000000000
[9,7,5,1,10,8,6,2,3,4]=>000000000
[10,9,7,5,1,8,6,2,3,4]=>000000000
[10,9,8,7,5,1,6,2,3,4]=>000000000
[9,7,4,1,10,8,5,2,6,3]=>000000000
[10,9,7,4,1,8,5,2,6,3]=>000000000
[10,9,8,7,4,1,5,2,6,3]=>000000000
[10,8,6,4,1,9,7,5,2,3]=>000000000
[10,9,8,6,4,1,7,5,2,3]=>000000000
[10,9,8,7,6,4,1,5,2,3]=>000000000
[10,9,7,5,3,1,8,6,4,2]=>000000000
[10,9,8,7,5,3,1,6,4,2]=>000000000
[10,9,8,7,6,5,3,1,4,2]=>000000000
[1,4,2,6,5,8,7,10,9,3]=>100000000
[1,5,2,6,4,8,7,10,9,3]=>100000000
[1,5,2,7,4,8,6,10,9,3]=>100000000
[1,5,2,7,4,9,6,10,8,3]=>100000000
[1,5,2,7,4,9,6,8,10,3]=>100000000
[1,5,2,7,4,6,9,8,10,3]=>100000000
[1,5,2,4,7,6,9,8,10,3]=>100000000
[1,2,5,4,7,6,9,8,10,3]=>110000000
[3,4,5,6,7,9,10,8,1,2]=>000000000
[3,4,5,6,8,9,10,7,1,2]=>000000000
[3,4,6,7,8,9,10,5,1,2]=>000000000
[3,5,6,7,8,9,10,4,1,2]=>000000000
[3,4,5,6,7,10,1,8,9,2]=>000000000
[3,4,5,6,9,1,10,8,7,2]=>000000000
[3,4,5,8,1,9,10,7,6,2]=>000000000
[3,4,7,1,8,9,10,5,6,2]=>000000000
[3,6,1,7,8,9,10,5,4,2]=>000000000
[5,1,6,7,8,9,10,4,3,2]=>000000000
[1,2,3,4,5,8,6,9,7,10]=>111110001
[1,2,3,4,5,9,6,10,7,8]=>111110000
[1,2,3,4,5,6,7,8,9,11,10]=>1111111110
[2,1,3,4,5,6,7,8,9,10,11]=>0111111111
[11,1,2,3,4,5,6,7,8,9,10]=>0000000000
[10,9,8,7,6,5,4,3,2,1,11]=>0000000001
[1,11,10,9,8,7,6,5,4,3,2]=>1000000000
[2,3,4,5,6,7,8,9,10,11,1]=>0000000000
[2,3,4,5,6,7,8,9,11,1,10]=>0000000000
[10,1,2,3,4,5,6,7,8,9,11]=>0000000001
[1,11,2,3,4,5,6,7,8,9,10]=>1000000000
[10,9,8,7,6,5,4,3,1,11,2]=>0000000000
[9,11,8,7,6,5,4,3,2,1,10]=>0000000000
[1,9,8,7,6,5,4,3,11,10,2]=>1000000000
[1,11,8,7,6,5,4,3,2,10,9]=>1000000000
[10,11,9,8,7,6,5,4,3,2,1]=>0000000000
[11,10,9,8,7,6,5,4,3,1,2]=>0000000000
[2,3,4,5,6,7,8,9,10,1,11]=>0000000001
[1,3,4,5,6,7,8,9,10,11,2]=>1000000000
[11,9,8,7,6,5,4,3,2,1,10]=>0000000000
[10,9,8,7,6,5,4,3,2,11,1]=>0000000000
[9,8,10,7,6,5,4,3,2,1,11]=>0000000001
[9,8,7,10,6,5,4,3,2,1,11]=>0000000001
[9,8,7,6,11,5,4,3,2,1,10]=>0000000000
[9,8,7,6,5,10,4,3,2,1,11]=>0000000001
[9,8,7,6,5,4,10,3,2,1,11]=>0000000001
[9,8,7,6,5,4,3,11,2,1,10]=>0000000000
[9,8,7,6,5,4,3,2,10,1,11]=>0000000001
[9,8,7,6,5,4,3,2,1,10,11]=>0000000011
[3,4,5,6,7,8,9,10,11,2,1]=>0000000000
[10,1,11,9,8,7,6,5,4,3,2]=>0000000000
[2,11,10,9,8,7,6,5,4,1,3]=>0000000000
[10,2,1,9,8,7,6,5,4,3,11]=>0000000001
[3,2,10,9,8,7,6,5,4,1,11]=>0000000001
[2,11,10,9,8,7,6,5,4,3,1]=>0000000000
[11,1,10,9,8,7,6,5,4,3,2]=>0000000000
[1,11,10,9,8,7,6,5,2,4,3]=>1000000000
[1,11,10,9,8,7,6,2,5,4,3]=>1000000000
[2,11,10,9,8,7,1,6,5,4,3]=>0000000000
[1,11,10,9,8,2,7,6,5,4,3]=>1000000000
[1,11,10,9,2,8,7,6,5,4,3]=>1000000000
[2,11,10,1,9,8,7,6,5,4,3]=>0000000000
[1,11,2,10,9,8,7,6,5,4,3]=>1000000000
[1,2,11,10,9,8,7,6,5,4,3]=>1100000000
[1,2,3,4,6,8,5,7,10,9,11]=>1111000101
[1,2,3,4,7,5,8,6,10,9,11]=>1111000101
[11,10,9,8,7,6,5,4,3,2,1]=>0000000000
[2,1,11,10,9,8,7,6,5,4,3]=>0100000000
[1,2,3,4,5,6,7,8,10,11,9]=>1111111100
[2,4,1,3,6,5,8,7,10,9,11]=>0001010101
[2,4,1,6,3,5,8,7,10,9,11]=>0000010101
[10,1,2,3,4,5,6,7,11,8,9]=>0000000000
[1,11,2,3,4,5,6,7,8,10,9]=>1000000000
[1,2,11,3,4,5,6,7,8,10,9]=>1100000000
[1,2,3,10,4,5,6,7,11,8,9]=>1110000000
[1,2,3,4,11,5,6,7,8,10,9]=>1111000000
[1,2,3,4,5,11,6,7,8,10,9]=>1111100000
[1,2,3,4,5,6,10,7,11,8,9]=>1111110000
[1,2,3,4,5,6,7,11,8,10,9]=>1111111000
[1,2,3,4,5,6,7,8,11,10,9]=>1111111100
[1,2,3,4,5,6,7,8,11,9,10]=>1111111100
[11,1,3,4,5,6,7,8,9,10,2]=>0000000000
[10,2,3,4,5,6,7,8,11,1,9]=>0000000000
[10,11,3,4,5,6,7,8,9,1,2]=>0000000000
[2,4,5,6,7,8,9,10,11,1,3]=>0000000000
[3,4,5,6,7,8,9,10,11,1,2]=>0000000000
[1,2,3,4,5,6,7,8,9,10,11]=>1111111111
[3,1,4,2,6,5,8,7,10,9,11]=>0001010101
[1,2,3,4,5,6,7,8,10,9,11]=>1111111101
[11,2,3,4,5,6,7,8,9,1,10]=>0000000000
[3,11,1,4,5,6,7,8,9,10,2]=>0000000000
[2,3,4,5,6,7,8,9,11,10,1]=>0000000000
[2,3,1,4,5,6,7,8,9,10,11]=>0011111111
[3,1,2,4,5,6,7,8,9,10,11]=>0011111111
[3,4,5,6,7,8,9,10,1,2,11]=>0000000001
[3,4,5,6,7,9,10,11,1,2,8]=>0000000000
[3,4,6,7,8,9,10,11,1,2,5]=>0000000000
[9,8,7,6,5,4,3,2,1,11,10]=>0000000010
[1,3,2,5,4,7,6,9,8,11,10]=>1010101010
[10,9,11,8,7,6,5,4,3,2,1]=>0000000000
[3,4,5,6,7,8,9,10,1,11,2]=>0000000000
[3,4,5,6,7,8,1,9,2,11,10]=>0000000010
[1,4,5,6,7,11,8,9,2,10,3]=>1000000000
[11,10,9,8,6,7,5,4,3,2,1]=>0000000000
[6,7,5,4,3,2,1,8,9,10,11]=>0000001111
[7,6,5,4,3,1,2,8,9,10,11]=>0000001111
[11,10,9,8,5,7,6,4,3,2,1]=>0000000000
[11,10,9,8,6,5,7,4,3,2,1]=>0000000000
[2,3,4,5,6,7,8,9,1,11,10]=>0000000010
[3,4,1,5,6,7,8,9,10,11,2]=>0000000000
[1,3,4,5,6,7,8,9,11,2,10]=>1000000000
[1,4,2,5,6,7,8,9,11,10,3]=>1000000000
[1,2,10,3,4,5,6,7,8,11,9]=>1100000000
[1,2,3,4,5,10,6,7,8,11,9]=>1111100000
[3,4,5,6,7,8,9,11,1,10,2]=>0000000000
[3,4,5,6,7,8,10,11,1,9,2]=>0000000000
[3,4,5,6,8,9,10,11,1,7,2]=>0000000000
[3,4,5,7,8,9,10,11,1,6,2]=>0000000000
[3,5,6,7,8,9,10,11,1,4,2]=>0000000000
[4,5,6,7,8,9,10,11,1,3,2]=>0000000000
[3,4,5,6,7,8,10,11,9,1,2]=>0000000000
[3,4,5,6,7,9,10,11,8,1,2]=>0000000000
[3,4,5,7,8,9,10,11,6,1,2]=>0000000000
[3,4,6,7,8,9,10,11,5,1,2]=>0000000000
[4,5,6,7,8,9,10,11,3,1,2]=>0000000000
[4,5,6,7,8,9,10,11,2,1,3]=>0000000000
[2,1,4,3,6,5,8,7,10,9,12,11]=>01010101010
[2,1,4,3,6,5,8,7,12,11,10,9]=>01010101000
[2,1,4,3,6,5,10,9,8,7,12,11]=>01010100010
[2,1,4,3,6,5,12,9,8,11,10,7]=>01010100000
[2,1,4,3,6,5,12,11,10,9,8,7]=>01010100000
[2,1,4,3,8,7,6,5,10,9,12,11]=>01010001010
[2,1,4,3,8,7,6,5,12,11,10,9]=>01010001000
[2,1,4,3,10,7,6,9,8,5,12,11]=>01010000010
[2,1,4,3,12,7,6,9,8,11,10,5]=>01010000000
[2,1,4,3,12,7,6,11,10,9,8,5]=>01010000000
[2,1,4,3,10,9,8,7,6,5,12,11]=>01010000010
[2,1,4,3,12,9,8,7,6,11,10,5]=>01010000000
[2,1,4,3,12,11,8,7,10,9,6,5]=>01010000000
[2,1,4,3,12,11,10,9,8,7,6,5]=>01010000000
[2,1,6,5,4,3,8,7,10,9,12,11]=>01000101010
[2,1,6,5,4,3,8,7,12,11,10,9]=>01000101000
[2,1,6,5,4,3,10,9,8,7,12,11]=>01000100010
[2,1,6,5,4,3,12,9,8,11,10,7]=>01000100000
[2,1,6,5,4,3,12,11,10,9,8,7]=>01000100000
[2,1,8,5,4,7,6,3,10,9,12,11]=>01000001010
[2,1,8,5,4,7,6,3,12,11,10,9]=>01000001000
[2,1,10,5,4,7,6,9,8,3,12,11]=>01000000010
[2,1,12,5,4,7,6,9,8,11,10,3]=>01000000000
[2,1,12,5,4,7,6,11,10,9,8,3]=>01000000000
[2,1,10,5,4,9,8,7,6,3,12,11]=>01000000010
[2,1,12,5,4,9,8,7,6,11,10,3]=>01000000000
[2,1,12,5,4,11,8,7,10,9,6,3]=>01000000000
[2,1,12,5,4,11,10,9,8,7,6,3]=>01000000000
[2,1,8,7,6,5,4,3,10,9,12,11]=>01000001010
[2,1,8,7,6,5,4,3,12,11,10,9]=>01000001000
[2,1,10,7,6,5,4,9,8,3,12,11]=>01000000010
[2,1,12,7,6,5,4,9,8,11,10,3]=>01000000000
[2,1,12,7,6,5,4,11,10,9,8,3]=>01000000000
[2,1,10,9,6,5,8,7,4,3,12,11]=>01000000010
[2,1,12,9,6,5,8,7,4,11,10,3]=>01000000000
[2,1,12,11,6,5,8,7,10,9,4,3]=>01000000000
[2,1,12,11,6,5,10,9,8,7,4,3]=>01000000000
[2,1,10,9,8,7,6,5,4,3,12,11]=>01000000010
[2,1,12,9,8,7,6,5,4,11,10,3]=>01000000000
[2,1,12,11,8,7,6,5,10,9,4,3]=>01000000000
[2,1,12,11,10,7,6,9,8,5,4,3]=>01000000000
[2,1,12,11,10,9,8,7,6,5,4,3]=>01000000000
[4,3,2,1,6,5,8,7,10,9,12,11]=>00010101010
[4,3,2,1,6,5,8,7,12,11,10,9]=>00010101000
[4,3,2,1,6,5,10,9,8,7,12,11]=>00010100010
[4,3,2,1,6,5,12,9,8,11,10,7]=>00010100000
[4,3,2,1,6,5,12,11,10,9,8,7]=>00010100000
[4,3,2,1,8,7,6,5,10,9,12,11]=>00010001010
[4,3,2,1,8,7,6,5,12,11,10,9]=>00010001000
[4,3,2,1,10,7,6,9,8,5,12,11]=>00010000010
[4,3,2,1,12,7,6,9,8,11,10,5]=>00010000000
[4,3,2,1,12,7,6,11,10,9,8,5]=>00010000000
[4,3,2,1,10,9,8,7,6,5,12,11]=>00010000010
[4,3,2,1,12,9,8,7,6,11,10,5]=>00010000000
[4,3,2,1,12,11,8,7,10,9,6,5]=>00010000000
[4,3,2,1,12,11,10,9,8,7,6,5]=>00010000000
[6,3,2,5,4,1,8,7,10,9,12,11]=>00000101010
[6,3,2,5,4,1,8,7,12,11,10,9]=>00000101000
[6,3,2,5,4,1,10,9,8,7,12,11]=>00000100010
[6,3,2,5,4,1,12,9,8,11,10,7]=>00000100000
[6,3,2,5,4,1,12,11,10,9,8,7]=>00000100000
[8,3,2,5,4,7,6,1,10,9,12,11]=>00000001010
[8,3,2,5,4,7,6,1,12,11,10,9]=>00000001000
[10,3,2,5,4,7,6,9,8,1,12,11]=>00000000010
[12,3,2,5,4,7,6,9,8,11,10,1]=>00000000000
[12,3,2,5,4,7,6,11,10,9,8,1]=>00000000000
[10,3,2,5,4,9,8,7,6,1,12,11]=>00000000010
[12,3,2,5,4,9,8,7,6,11,10,1]=>00000000000
[12,3,2,5,4,11,8,7,10,9,6,1]=>00000000000
[12,3,2,5,4,11,10,9,8,7,6,1]=>00000000000
[8,3,2,7,6,5,4,1,10,9,12,11]=>00000001010
[8,3,2,7,6,5,4,1,12,11,10,9]=>00000001000
[10,3,2,7,6,5,4,9,8,1,12,11]=>00000000010
[12,3,2,7,6,5,4,9,8,11,10,1]=>00000000000
[12,3,2,7,6,5,4,11,10,9,8,1]=>00000000000
[10,3,2,9,6,5,8,7,4,1,12,11]=>00000000010
[12,3,2,9,6,5,8,7,4,11,10,1]=>00000000000
[12,3,2,11,6,5,8,7,10,9,4,1]=>00000000000
[12,3,2,11,6,5,10,9,8,7,4,1]=>00000000000
[10,3,2,9,8,7,6,5,4,1,12,11]=>00000000010
[12,3,2,9,8,7,6,5,4,11,10,1]=>00000000000
[12,3,2,11,8,7,6,5,10,9,4,1]=>00000000000
[12,3,2,11,10,7,6,9,8,5,4,1]=>00000000000
[12,3,2,11,10,9,8,7,6,5,4,1]=>00000000000
[6,5,4,3,2,1,8,7,10,9,12,11]=>00000101010
[6,5,4,3,2,1,8,7,12,11,10,9]=>00000101000
[6,5,4,3,2,1,10,9,8,7,12,11]=>00000100010
[6,5,4,3,2,1,12,9,8,11,10,7]=>00000100000
[6,5,4,3,2,1,12,11,10,9,8,7]=>00000100000
[8,5,4,3,2,7,6,1,10,9,12,11]=>00000001010
[8,5,4,3,2,7,6,1,12,11,10,9]=>00000001000
[10,5,4,3,2,7,6,9,8,1,12,11]=>00000000010
[12,5,4,3,2,7,6,9,8,11,10,1]=>00000000000
[12,5,4,3,2,7,6,11,10,9,8,1]=>00000000000
[10,5,4,3,2,9,8,7,6,1,12,11]=>00000000010
[12,5,4,3,2,9,8,7,6,11,10,1]=>00000000000
[12,5,4,3,2,11,8,7,10,9,6,1]=>00000000000
[12,5,4,3,2,11,10,9,8,7,6,1]=>00000000000
[8,7,4,3,6,5,2,1,10,9,12,11]=>00000001010
[8,7,4,3,6,5,2,1,12,11,10,9]=>00000001000
[10,7,4,3,6,5,2,9,8,1,12,11]=>00000000010
[12,7,4,3,6,5,2,9,8,11,10,1]=>00000000000
[12,7,4,3,6,5,2,11,10,9,8,1]=>00000000000
[10,9,4,3,6,5,8,7,2,1,12,11]=>00000000010
[12,9,4,3,6,5,8,7,2,11,10,1]=>00000000000
[12,11,4,3,6,5,8,7,10,9,2,1]=>00000000000
[12,11,4,3,6,5,10,9,8,7,2,1]=>00000000000
[10,9,4,3,8,7,6,5,2,1,12,11]=>00000000010
[12,9,4,3,8,7,6,5,2,11,10,1]=>00000000000
[12,11,4,3,8,7,6,5,10,9,2,1]=>00000000000
[12,11,4,3,10,7,6,9,8,5,2,1]=>00000000000
[12,11,4,3,10,9,8,7,6,5,2,1]=>00000000000
[8,7,6,5,4,3,2,1,10,9,12,11]=>00000001010
[8,7,6,5,4,3,2,1,12,11,10,9]=>00000001000
[10,7,6,5,4,3,2,9,8,1,12,11]=>00000000010
[12,7,6,5,4,3,2,9,8,11,10,1]=>00000000000
[12,7,6,5,4,3,2,11,10,9,8,1]=>00000000000
[10,9,6,5,4,3,8,7,2,1,12,11]=>00000000010
[12,9,6,5,4,3,8,7,2,11,10,1]=>00000000000
[12,11,6,5,4,3,8,7,10,9,2,1]=>00000000000
[12,11,6,5,4,3,10,9,8,7,2,1]=>00000000000
[10,9,8,5,4,7,6,3,2,1,12,11]=>00000000010
[12,9,8,5,4,7,6,3,2,11,10,1]=>00000000000
[12,11,8,5,4,7,6,3,10,9,2,1]=>00000000000
[12,11,10,5,4,7,6,9,8,3,2,1]=>00000000000
[12,11,10,5,4,9,8,7,6,3,2,1]=>00000000000
[10,9,8,7,6,5,4,3,2,1,12,11]=>00000000010
[12,9,8,7,6,5,4,3,2,11,10,1]=>00000000000
[12,11,8,7,6,5,4,3,10,9,2,1]=>00000000000
[12,11,10,7,6,5,4,9,8,3,2,1]=>00000000000
[12,11,10,9,6,5,8,7,4,3,2,1]=>00000000000
[12,11,10,9,8,7,6,5,4,3,2,1]=>00000000000
[2,4,6,8,10,12,1,3,5,7,9,11]=>00000000000
[2,4,6,8,11,12,1,3,5,7,9,10]=>00000000000
[2,4,6,9,10,12,1,3,5,7,8,11]=>00000000000
[2,4,6,9,11,12,1,3,5,7,8,10]=>00000000000
[2,4,6,10,11,12,1,3,5,7,8,9]=>00000000000
[2,4,7,8,10,12,1,3,5,6,9,11]=>00000000000
[2,4,7,8,11,12,1,3,5,6,9,10]=>00000000000
[2,4,7,9,10,12,1,3,5,6,8,11]=>00000000000
[2,4,7,9,11,12,1,3,5,6,8,10]=>00000000000
[2,4,7,10,11,12,1,3,5,6,8,9]=>00000000000
[2,4,8,9,10,12,1,3,5,6,7,11]=>00000000000
[2,4,8,9,11,12,1,3,5,6,7,10]=>00000000000
[2,4,8,10,11,12,1,3,5,6,7,9]=>00000000000
[2,4,9,10,11,12,1,3,5,6,7,8]=>00000000000
[2,5,6,8,10,12,1,3,4,7,9,11]=>00000000000
[2,5,6,8,11,12,1,3,4,7,9,10]=>00000000000
[2,5,6,9,10,12,1,3,4,7,8,11]=>00000000000
[2,5,6,9,11,12,1,3,4,7,8,10]=>00000000000
[2,5,6,10,11,12,1,3,4,7,8,9]=>00000000000
[2,5,7,8,10,12,1,3,4,6,9,11]=>00000000000
[2,5,7,8,11,12,1,3,4,6,9,10]=>00000000000
[2,5,7,9,10,12,1,3,4,6,8,11]=>00000000000
[2,5,7,9,11,12,1,3,4,6,8,10]=>00000000000
[2,5,7,10,11,12,1,3,4,6,8,9]=>00000000000
[2,5,8,9,10,12,1,3,4,6,7,11]=>00000000000
[2,5,8,9,11,12,1,3,4,6,7,10]=>00000000000
[2,5,8,10,11,12,1,3,4,6,7,9]=>00000000000
[2,5,9,10,11,12,1,3,4,6,7,8]=>00000000000
[2,6,7,8,10,12,1,3,4,5,9,11]=>00000000000
[2,6,7,8,11,12,1,3,4,5,9,10]=>00000000000
[2,6,7,9,10,12,1,3,4,5,8,11]=>00000000000
[2,6,7,9,11,12,1,3,4,5,8,10]=>00000000000
[2,6,7,10,11,12,1,3,4,5,8,9]=>00000000000
[2,6,8,9,10,12,1,3,4,5,7,11]=>00000000000
[2,6,8,9,11,12,1,3,4,5,7,10]=>00000000000
[2,6,8,10,11,12,1,3,4,5,7,9]=>00000000000
[2,6,9,10,11,12,1,3,4,5,7,8]=>00000000000
[2,7,8,9,10,12,1,3,4,5,6,11]=>00000000000
[2,7,8,9,11,12,1,3,4,5,6,10]=>00000000000
[2,7,8,10,11,12,1,3,4,5,6,9]=>00000000000
[2,7,9,10,11,12,1,3,4,5,6,8]=>00000000000
[2,8,9,10,11,12,1,3,4,5,6,7]=>00000000000
[3,4,6,8,10,12,1,2,5,7,9,11]=>00000000000
[3,4,6,8,11,12,1,2,5,7,9,10]=>00000000000
[3,4,6,9,10,12,1,2,5,7,8,11]=>00000000000
[3,4,6,9,11,12,1,2,5,7,8,10]=>00000000000
[3,4,6,10,11,12,1,2,5,7,8,9]=>00000000000
[3,4,7,8,10,12,1,2,5,6,9,11]=>00000000000
[3,4,7,8,11,12,1,2,5,6,9,10]=>00000000000
[3,4,7,9,10,12,1,2,5,6,8,11]=>00000000000
[3,4,7,9,11,12,1,2,5,6,8,10]=>00000000000
[3,4,7,10,11,12,1,2,5,6,8,9]=>00000000000
[3,4,8,9,10,12,1,2,5,6,7,11]=>00000000000
[3,4,8,9,11,12,1,2,5,6,7,10]=>00000000000
[3,4,8,10,11,12,1,2,5,6,7,9]=>00000000000
[3,4,9,10,11,12,1,2,5,6,7,8]=>00000000000
[3,5,6,8,10,12,1,2,4,7,9,11]=>00000000000
[3,5,6,8,11,12,1,2,4,7,9,10]=>00000000000
[3,5,6,9,10,12,1,2,4,7,8,11]=>00000000000
[3,5,6,9,11,12,1,2,4,7,8,10]=>00000000000
[3,5,6,10,11,12,1,2,4,7,8,9]=>00000000000
[3,5,7,8,10,12,1,2,4,6,9,11]=>00000000000
[3,5,7,8,11,12,1,2,4,6,9,10]=>00000000000
[3,5,7,9,10,12,1,2,4,6,8,11]=>00000000000
[3,5,7,9,11,12,1,2,4,6,8,10]=>00000000000
[3,5,7,10,11,12,1,2,4,6,8,9]=>00000000000
[3,5,8,9,10,12,1,2,4,6,7,11]=>00000000000
[3,5,8,9,11,12,1,2,4,6,7,10]=>00000000000
[3,5,8,10,11,12,1,2,4,6,7,9]=>00000000000
[3,5,9,10,11,12,1,2,4,6,7,8]=>00000000000
[3,6,7,8,10,12,1,2,4,5,9,11]=>00000000000
[3,6,7,8,11,12,1,2,4,5,9,10]=>00000000000
[3,6,7,9,10,12,1,2,4,5,8,11]=>00000000000
[3,6,7,9,11,12,1,2,4,5,8,10]=>00000000000
[3,6,7,10,11,12,1,2,4,5,8,9]=>00000000000
[3,6,8,9,10,12,1,2,4,5,7,11]=>00000000000
[3,6,8,9,11,12,1,2,4,5,7,10]=>00000000000
[3,6,8,10,11,12,1,2,4,5,7,9]=>00000000000
[3,6,9,10,11,12,1,2,4,5,7,8]=>00000000000
[3,7,8,9,10,12,1,2,4,5,6,11]=>00000000000
[3,7,8,9,11,12,1,2,4,5,6,10]=>00000000000
[3,7,8,10,11,12,1,2,4,5,6,9]=>00000000000
[3,7,9,10,11,12,1,2,4,5,6,8]=>00000000000
[3,8,9,10,11,12,1,2,4,5,6,7]=>00000000000
[4,5,6,8,10,12,1,2,3,7,9,11]=>00000000000
[4,5,6,8,11,12,1,2,3,7,9,10]=>00000000000
[4,5,6,9,10,12,1,2,3,7,8,11]=>00000000000
[4,5,6,9,11,12,1,2,3,7,8,10]=>00000000000
[4,5,6,10,11,12,1,2,3,7,8,9]=>00000000000
[4,5,7,8,10,12,1,2,3,6,9,11]=>00000000000
[4,5,7,8,11,12,1,2,3,6,9,10]=>00000000000
[4,5,7,9,10,12,1,2,3,6,8,11]=>00000000000
[4,5,7,9,11,12,1,2,3,6,8,10]=>00000000000
[4,5,7,10,11,12,1,2,3,6,8,9]=>00000000000
[4,5,8,9,10,12,1,2,3,6,7,11]=>00000000000
[4,5,8,9,11,12,1,2,3,6,7,10]=>00000000000
[4,5,8,10,11,12,1,2,3,6,7,9]=>00000000000
[4,5,9,10,11,12,1,2,3,6,7,8]=>00000000000
[4,6,7,8,10,12,1,2,3,5,9,11]=>00000000000
[4,6,7,8,11,12,1,2,3,5,9,10]=>00000000000
[4,6,7,9,10,12,1,2,3,5,8,11]=>00000000000
[4,6,7,9,11,12,1,2,3,5,8,10]=>00000000000
[4,6,7,10,11,12,1,2,3,5,8,9]=>00000000000
[4,6,8,9,10,12,1,2,3,5,7,11]=>00000000000
[4,6,8,9,11,12,1,2,3,5,7,10]=>00000000000
[4,6,8,10,11,12,1,2,3,5,7,9]=>00000000000
[4,6,9,10,11,12,1,2,3,5,7,8]=>00000000000
[4,7,8,9,10,12,1,2,3,5,6,11]=>00000000000
[4,7,8,9,11,12,1,2,3,5,6,10]=>00000000000
[4,7,8,10,11,12,1,2,3,5,6,9]=>00000000000
[4,7,9,10,11,12,1,2,3,5,6,8]=>00000000000
[4,8,9,10,11,12,1,2,3,5,6,7]=>00000000000
[5,6,7,8,10,12,1,2,3,4,9,11]=>00000000000
[5,6,7,8,11,12,1,2,3,4,9,10]=>00000000000
[5,6,7,9,10,12,1,2,3,4,8,11]=>00000000000
[5,6,7,9,11,12,1,2,3,4,8,10]=>00000000000
[5,6,7,10,11,12,1,2,3,4,8,9]=>00000000000
[5,6,8,9,10,12,1,2,3,4,7,11]=>00000000000
[5,6,8,9,11,12,1,2,3,4,7,10]=>00000000000
[5,6,8,10,11,12,1,2,3,4,7,9]=>00000000000
[5,6,9,10,11,12,1,2,3,4,7,8]=>00000000000
[5,7,8,9,10,12,1,2,3,4,6,11]=>00000000000
[5,7,8,9,11,12,1,2,3,4,6,10]=>00000000000
[5,7,8,10,11,12,1,2,3,4,6,9]=>00000000000
[5,7,9,10,11,12,1,2,3,4,6,8]=>00000000000
[5,8,9,10,11,12,1,2,3,4,6,7]=>00000000000
[6,7,8,9,10,12,1,2,3,4,5,11]=>00000000000
[6,7,8,9,11,12,1,2,3,4,5,10]=>00000000000
[6,7,8,10,11,12,1,2,3,4,5,9]=>00000000000
[6,7,9,10,11,12,1,2,3,4,5,8]=>00000000000
[6,8,9,10,11,12,1,2,3,4,5,7]=>00000000000
[7,8,9,10,11,12,1,2,3,4,5,6]=>00000000000
[7,8,9,10,11,12,6,5,4,3,2,1]=>00000000000
[11,10,9,8,7,6,5,4,3,1,12,2]=>00000000000
[10,12,9,8,7,6,5,4,3,2,1,11]=>00000000000
[11,12,9,10,7,8,5,6,3,4,1,2]=>00000000000
[9,10,12,11,7,8,5,6,3,4,1,2]=>00000000000
[11,12,7,8,10,9,5,6,3,4,1,2]=>00000000000
[7,10,12,8,11,9,5,6,3,4,1,2]=>00000000000
[7,8,9,12,11,10,5,6,3,4,1,2]=>00000000000
[11,12,9,10,5,6,8,7,3,4,1,2]=>00000000000
[9,10,12,11,5,6,8,7,3,4,1,2]=>00000000000
[11,12,5,8,10,6,9,7,3,4,1,2]=>00000000000
[5,10,12,8,11,6,9,7,3,4,1,2]=>00000000000
[5,8,9,12,11,6,10,7,3,4,1,2]=>00000000000
[11,12,5,6,7,10,9,8,3,4,1,2]=>00000000000
[5,10,12,6,7,11,9,8,3,4,1,2]=>00000000000
[5,6,9,12,7,11,10,8,3,4,1,2]=>00000000000
[5,6,7,8,12,11,10,9,3,4,1,2]=>00000000000
[11,12,9,10,7,8,3,4,6,5,1,2]=>00000000000
[9,10,12,11,7,8,3,4,6,5,1,2]=>00000000000
[11,12,7,8,10,9,3,4,6,5,1,2]=>00000000000
[7,10,12,8,11,9,3,4,6,5,1,2]=>00000000000
[7,8,9,12,11,10,3,4,6,5,1,2]=>00000000000
[11,12,9,10,3,6,8,4,7,5,1,2]=>00000000000
[9,10,12,11,3,6,8,4,7,5,1,2]=>00000000000
[11,12,3,8,10,6,9,4,7,5,1,2]=>00000000000
[3,10,12,8,11,6,9,4,7,5,1,2]=>00000000000
[3,8,9,12,11,6,10,4,7,5,1,2]=>00000000000
[11,12,3,6,7,10,9,4,8,5,1,2]=>00000000000
[3,10,12,6,7,11,9,4,8,5,1,2]=>00000000000
[3,6,9,12,7,11,10,4,8,5,1,2]=>00000000000
[3,6,7,8,12,11,10,4,9,5,1,2]=>00000000000
[11,12,9,10,3,4,5,8,7,6,1,2]=>00000000000
[9,10,12,11,3,4,5,8,7,6,1,2]=>00000000000
[11,12,3,8,10,4,5,9,7,6,1,2]=>00000000000
[3,10,12,8,11,4,5,9,7,6,1,2]=>00000000000
[3,8,9,12,11,4,5,10,7,6,1,2]=>00000000000
[11,12,3,4,7,10,5,9,8,6,1,2]=>00000000000
[3,10,12,4,7,11,5,9,8,6,1,2]=>00000000000
[3,4,9,12,7,11,5,10,8,6,1,2]=>00000000000
[3,4,7,8,12,11,5,10,9,6,1,2]=>00000000000
[11,12,3,4,5,6,10,9,8,7,1,2]=>00000000000
[3,10,12,4,5,6,11,9,8,7,1,2]=>00000000000
[3,4,9,12,5,6,11,10,8,7,1,2]=>00000000000
[3,4,5,8,12,6,11,10,9,7,1,2]=>00000000000
[3,4,5,6,7,12,11,10,9,8,1,2]=>00000000000
[11,12,9,10,7,8,5,6,1,2,4,3]=>00000000000
[9,10,12,11,7,8,5,6,1,2,4,3]=>00000000000
[11,12,7,8,10,9,5,6,1,2,4,3]=>00000000000
[7,10,12,8,11,9,5,6,1,2,4,3]=>00000000000
[7,8,9,12,11,10,5,6,1,2,4,3]=>00000000000
[11,12,9,10,5,6,8,7,1,2,4,3]=>00000000000
[9,10,12,11,5,6,8,7,1,2,4,3]=>00000000000
[11,12,5,8,10,6,9,7,1,2,4,3]=>00000000000
[5,10,12,8,11,6,9,7,1,2,4,3]=>00000000000
[5,8,9,12,11,6,10,7,1,2,4,3]=>00000000000
[11,12,5,6,7,10,9,8,1,2,4,3]=>00000000000
[5,10,12,6,7,11,9,8,1,2,4,3]=>00000000000
[5,6,9,12,7,11,10,8,1,2,4,3]=>00000000000
[5,6,7,8,12,11,10,9,1,2,4,3]=>00000000000
[11,12,9,10,7,8,1,4,6,2,5,3]=>00000000000
[9,10,12,11,7,8,1,4,6,2,5,3]=>00000000000
[11,12,7,8,10,9,1,4,6,2,5,3]=>00000000000
[7,10,12,8,11,9,1,4,6,2,5,3]=>00000000000
[7,8,9,12,11,10,1,4,6,2,5,3]=>00000000000
[11,12,9,10,1,6,8,4,7,2,5,3]=>00000000000
[9,10,12,11,1,6,8,4,7,2,5,3]=>00000000000
[11,12,1,8,10,6,9,4,7,2,5,3]=>00000000000
[1,10,12,8,11,6,9,4,7,2,5,3]=>10000000000
[1,8,9,12,11,6,10,4,7,2,5,3]=>10000000000
[11,12,1,6,7,10,9,4,8,2,5,3]=>00000000000
[1,10,12,6,7,11,9,4,8,2,5,3]=>10000000000
[1,6,9,12,7,11,10,4,8,2,5,3]=>10000000000
[1,6,7,8,12,11,10,4,9,2,5,3]=>10000000000
[11,12,9,10,1,4,5,8,7,2,6,3]=>00000000000
[9,10,12,11,1,4,5,8,7,2,6,3]=>00000000000
[11,12,1,8,10,4,5,9,7,2,6,3]=>00000000000
[1,10,12,8,11,4,5,9,7,2,6,3]=>10000000000
[1,8,9,12,11,4,5,10,7,2,6,3]=>10000000000
[11,12,1,4,7,10,5,9,8,2,6,3]=>00000000000
[1,10,12,4,7,11,5,9,8,2,6,3]=>10000000000
[1,4,9,12,7,11,5,10,8,2,6,3]=>10000000000
[1,4,7,8,12,11,5,10,9,2,6,3]=>10000000000
[11,12,1,4,5,6,10,9,8,2,7,3]=>00000000000
[1,10,12,4,5,6,11,9,8,2,7,3]=>10000000000
[1,4,9,12,5,6,11,10,8,2,7,3]=>10000000000
[1,4,5,8,12,6,11,10,9,2,7,3]=>10000000000
[1,4,5,6,7,12,11,10,9,2,8,3]=>10000000000
[11,12,9,10,7,8,1,2,3,6,5,4]=>00000000000
[9,10,12,11,7,8,1,2,3,6,5,4]=>00000000000
[11,12,7,8,10,9,1,2,3,6,5,4]=>00000000000
[7,10,12,8,11,9,1,2,3,6,5,4]=>00000000000
[7,8,9,12,11,10,1,2,3,6,5,4]=>00000000000
[11,12,9,10,1,6,8,2,3,7,5,4]=>00000000000
[9,10,12,11,1,6,8,2,3,7,5,4]=>00000000000
[11,12,1,8,10,6,9,2,3,7,5,4]=>00000000000
[1,10,12,8,11,6,9,2,3,7,5,4]=>10000000000
[1,8,9,12,11,6,10,2,3,7,5,4]=>10000000000
[11,12,1,6,7,10,9,2,3,8,5,4]=>00000000000
[1,10,12,6,7,11,9,2,3,8,5,4]=>10000000000
[1,6,9,12,7,11,10,2,3,8,5,4]=>10000000000
[1,6,7,8,12,11,10,2,3,9,5,4]=>10000000000
[11,12,9,10,1,2,5,8,3,7,6,4]=>00000000000
[9,10,12,11,1,2,5,8,3,7,6,4]=>00000000000
[11,12,1,8,10,2,5,9,3,7,6,4]=>00000000000
[1,10,12,8,11,2,5,9,3,7,6,4]=>10000000000
[1,8,9,12,11,2,5,10,3,7,6,4]=>10000000000
[11,12,1,2,7,10,5,9,3,8,6,4]=>00000000000
[1,10,12,2,7,11,5,9,3,8,6,4]=>10000000000
[1,2,9,12,7,11,5,10,3,8,6,4]=>11000000000
[1,2,7,8,12,11,5,10,3,9,6,4]=>11000000000
[11,12,1,2,5,6,10,9,3,8,7,4]=>00000000000
[1,10,12,2,5,6,11,9,3,8,7,4]=>10000000000
[1,2,9,12,5,6,11,10,3,8,7,4]=>11000000000
[1,2,5,8,12,6,11,10,3,9,7,4]=>11000000000
[1,2,5,6,7,12,11,10,3,9,8,4]=>11000000000
[11,12,9,10,1,2,3,4,8,7,6,5]=>00000000000
[9,10,12,11,1,2,3,4,8,7,6,5]=>00000000000
[11,12,1,8,10,2,3,4,9,7,6,5]=>00000000000
[1,10,12,8,11,2,3,4,9,7,6,5]=>10000000000
[1,8,9,12,11,2,3,4,10,7,6,5]=>10000000000
[11,12,1,2,7,10,3,4,9,8,6,5]=>00000000000
[1,10,12,2,7,11,3,4,9,8,6,5]=>10000000000
[1,2,9,12,7,11,3,4,10,8,6,5]=>11000000000
[1,2,7,8,12,11,3,4,10,9,6,5]=>11000000000
[11,12,1,2,3,6,10,4,9,8,7,5]=>00000000000
[1,10,12,2,3,6,11,4,9,8,7,5]=>10000000000
[1,2,9,12,3,6,11,4,10,8,7,5]=>11000000000
[1,2,3,8,12,6,11,4,10,9,7,5]=>11100000000
[1,2,3,6,7,12,11,4,10,9,8,5]=>11100000000
[11,12,1,2,3,4,5,10,9,8,7,6]=>00000000000
[1,10,12,2,3,4,5,11,9,8,7,6]=>10000000000
[1,2,9,12,3,4,5,11,10,8,7,6]=>11000000000
[1,2,3,8,12,4,5,11,10,9,7,6]=>11100000000
[1,2,3,4,7,12,5,11,10,9,8,6]=>11110000000
[1,2,3,4,5,6,12,11,10,9,8,7]=>11111100000
[10,12,9,11,7,8,5,6,3,4,1,2]=>00000000000
[11,12,8,10,7,9,5,6,3,4,1,2]=>00000000000
[10,12,8,11,7,9,5,6,3,4,1,2]=>00000000000
[9,12,8,11,7,10,5,6,3,4,1,2]=>00000000000
[11,12,9,10,6,8,5,7,3,4,1,2]=>00000000000
[10,12,9,11,6,8,5,7,3,4,1,2]=>00000000000
[11,12,8,10,6,9,5,7,3,4,1,2]=>00000000000
[10,12,8,11,6,9,5,7,3,4,1,2]=>00000000000
[9,12,8,11,6,10,5,7,3,4,1,2]=>00000000000
[11,12,7,10,6,9,5,8,3,4,1,2]=>00000000000
[10,12,7,11,6,9,5,8,3,4,1,2]=>00000000000
[9,12,7,11,6,10,5,8,3,4,1,2]=>00000000000
[8,12,7,11,6,10,5,9,3,4,1,2]=>00000000000
[11,12,9,10,7,8,4,6,3,5,1,2]=>00000000000
[10,12,9,11,7,8,4,6,3,5,1,2]=>00000000000
[11,12,8,10,7,9,4,6,3,5,1,2]=>00000000000
[10,12,8,11,7,9,4,6,3,5,1,2]=>00000000000
[9,12,8,11,7,10,4,6,3,5,1,2]=>00000000000
[11,12,9,10,6,8,4,7,3,5,1,2]=>00000000000
[10,12,9,11,6,8,4,7,3,5,1,2]=>00000000000
[11,12,8,10,6,9,4,7,3,5,1,2]=>00000000000
[10,12,8,11,6,9,4,7,3,5,1,2]=>00000000000
[9,12,8,11,6,10,4,7,3,5,1,2]=>00000000000
[11,12,7,10,6,9,4,8,3,5,1,2]=>00000000000
[10,12,7,11,6,9,4,8,3,5,1,2]=>00000000000
[9,12,7,11,6,10,4,8,3,5,1,2]=>00000000000
[8,12,7,11,6,10,4,9,3,5,1,2]=>00000000000
[11,12,9,10,5,8,4,7,3,6,1,2]=>00000000000
[10,12,9,11,5,8,4,7,3,6,1,2]=>00000000000
[11,12,8,10,5,9,4,7,3,6,1,2]=>00000000000
[10,12,8,11,5,9,4,7,3,6,1,2]=>00000000000
[9,12,8,11,5,10,4,7,3,6,1,2]=>00000000000
[11,12,7,10,5,9,4,8,3,6,1,2]=>00000000000
[10,12,7,11,5,9,4,8,3,6,1,2]=>00000000000
[9,12,7,11,5,10,4,8,3,6,1,2]=>00000000000
[8,12,7,11,5,10,4,9,3,6,1,2]=>00000000000
[11,12,6,10,5,9,4,8,3,7,1,2]=>00000000000
[10,12,6,11,5,9,4,8,3,7,1,2]=>00000000000
[9,12,6,11,5,10,4,8,3,7,1,2]=>00000000000
[8,12,6,11,5,10,4,9,3,7,1,2]=>00000000000
[7,12,6,11,5,10,4,9,3,8,1,2]=>00000000000
[11,12,9,10,7,8,5,6,2,4,1,3]=>00000000000
[10,12,9,11,7,8,5,6,2,4,1,3]=>00000000000
[11,12,8,10,7,9,5,6,2,4,1,3]=>00000000000
[10,12,8,11,7,9,5,6,2,4,1,3]=>00000000000
[9,12,8,11,7,10,5,6,2,4,1,3]=>00000000000
[11,12,9,10,6,8,5,7,2,4,1,3]=>00000000000
[10,12,9,11,6,8,5,7,2,4,1,3]=>00000000000
[11,12,8,10,6,9,5,7,2,4,1,3]=>00000000000
[10,12,8,11,6,9,5,7,2,4,1,3]=>00000000000
[9,12,8,11,6,10,5,7,2,4,1,3]=>00000000000
[11,12,7,10,6,9,5,8,2,4,1,3]=>00000000000
[10,12,7,11,6,9,5,8,2,4,1,3]=>00000000000
[9,12,7,11,6,10,5,8,2,4,1,3]=>00000000000
[8,12,7,11,6,10,5,9,2,4,1,3]=>00000000000
[11,12,9,10,7,8,4,6,2,5,1,3]=>00000000000
[10,12,9,11,7,8,4,6,2,5,1,3]=>00000000000
[11,12,8,10,7,9,4,6,2,5,1,3]=>00000000000
[10,12,8,11,7,9,4,6,2,5,1,3]=>00000000000
[9,12,8,11,7,10,4,6,2,5,1,3]=>00000000000
[11,12,9,10,6,8,4,7,2,5,1,3]=>00000000000
[10,12,9,11,6,8,4,7,2,5,1,3]=>00000000000
[11,12,8,10,6,9,4,7,2,5,1,3]=>00000000000
[10,12,8,11,6,9,4,7,2,5,1,3]=>00000000000
[9,12,8,11,6,10,4,7,2,5,1,3]=>00000000000
[11,12,7,10,6,9,4,8,2,5,1,3]=>00000000000
[10,12,7,11,6,9,4,8,2,5,1,3]=>00000000000
[9,12,7,11,6,10,4,8,2,5,1,3]=>00000000000
[8,12,7,11,6,10,4,9,2,5,1,3]=>00000000000
[11,12,9,10,5,8,4,7,2,6,1,3]=>00000000000
[10,12,9,11,5,8,4,7,2,6,1,3]=>00000000000
[11,12,8,10,5,9,4,7,2,6,1,3]=>00000000000
[10,12,8,11,5,9,4,7,2,6,1,3]=>00000000000
[9,12,8,11,5,10,4,7,2,6,1,3]=>00000000000
[11,12,7,10,5,9,4,8,2,6,1,3]=>00000000000
[10,12,7,11,5,9,4,8,2,6,1,3]=>00000000000
[9,12,7,11,5,10,4,8,2,6,1,3]=>00000000000
[8,12,7,11,5,10,4,9,2,6,1,3]=>00000000000
[11,12,6,10,5,9,4,8,2,7,1,3]=>00000000000
[10,12,6,11,5,9,4,8,2,7,1,3]=>00000000000
[9,12,6,11,5,10,4,8,2,7,1,3]=>00000000000
[8,12,6,11,5,10,4,9,2,7,1,3]=>00000000000
[7,12,6,11,5,10,4,9,2,8,1,3]=>00000000000
[11,12,9,10,7,8,3,6,2,5,1,4]=>00000000000
[10,12,9,11,7,8,3,6,2,5,1,4]=>00000000000
[11,12,8,10,7,9,3,6,2,5,1,4]=>00000000000
[10,12,8,11,7,9,3,6,2,5,1,4]=>00000000000
[9,12,8,11,7,10,3,6,2,5,1,4]=>00000000000
[11,12,9,10,6,8,3,7,2,5,1,4]=>00000000000
[10,12,9,11,6,8,3,7,2,5,1,4]=>00000000000
[11,12,8,10,6,9,3,7,2,5,1,4]=>00000000000
[10,12,8,11,6,9,3,7,2,5,1,4]=>00000000000
[9,12,8,11,6,10,3,7,2,5,1,4]=>00000000000
[11,12,7,10,6,9,3,8,2,5,1,4]=>00000000000
[10,12,7,11,6,9,3,8,2,5,1,4]=>00000000000
[9,12,7,11,6,10,3,8,2,5,1,4]=>00000000000
[8,12,7,11,6,10,3,9,2,5,1,4]=>00000000000
[11,12,9,10,5,8,3,7,2,6,1,4]=>00000000000
[10,12,9,11,5,8,3,7,2,6,1,4]=>00000000000
[11,12,8,10,5,9,3,7,2,6,1,4]=>00000000000
[10,12,8,11,5,9,3,7,2,6,1,4]=>00000000000
[9,12,8,11,5,10,3,7,2,6,1,4]=>00000000000
[11,12,7,10,5,9,3,8,2,6,1,4]=>00000000000
[10,12,7,11,5,9,3,8,2,6,1,4]=>00000000000
[9,12,7,11,5,10,3,8,2,6,1,4]=>00000000000
[8,12,7,11,5,10,3,9,2,6,1,4]=>00000000000
[11,12,6,10,5,9,3,8,2,7,1,4]=>00000000000
[10,12,6,11,5,9,3,8,2,7,1,4]=>00000000000
[9,12,6,11,5,10,3,8,2,7,1,4]=>00000000000
[8,12,6,11,5,10,3,9,2,7,1,4]=>00000000000
[7,12,6,11,5,10,3,9,2,8,1,4]=>00000000000
[11,12,9,10,4,8,3,7,2,6,1,5]=>00000000000
[10,12,9,11,4,8,3,7,2,6,1,5]=>00000000000
[11,12,8,10,4,9,3,7,2,6,1,5]=>00000000000
[10,12,8,11,4,9,3,7,2,6,1,5]=>00000000000
[9,12,8,11,4,10,3,7,2,6,1,5]=>00000000000
[11,12,7,10,4,9,3,8,2,6,1,5]=>00000000000
[10,12,7,11,4,9,3,8,2,6,1,5]=>00000000000
[9,12,7,11,4,10,3,8,2,6,1,5]=>00000000000
[8,12,7,11,4,10,3,9,2,6,1,5]=>00000000000
[11,12,6,10,4,9,3,8,2,7,1,5]=>00000000000
[10,12,6,11,4,9,3,8,2,7,1,5]=>00000000000
[9,12,6,11,4,10,3,8,2,7,1,5]=>00000000000
[8,12,6,11,4,10,3,9,2,7,1,5]=>00000000000
[7,12,6,11,4,10,3,9,2,8,1,5]=>00000000000
[11,12,5,10,4,9,3,8,2,7,1,6]=>00000000000
[10,12,5,11,4,9,3,8,2,7,1,6]=>00000000000
[9,12,5,11,4,10,3,8,2,7,1,6]=>00000000000
[8,12,5,11,4,10,3,9,2,7,1,6]=>00000000000
[7,12,5,11,4,10,3,9,2,8,1,6]=>00000000000
[6,12,5,11,4,10,3,9,2,8,1,7]=>00000000000
[11,9,7,5,3,1,12,10,8,6,4,2]=>00000000000
[10,9,7,5,3,1,12,11,8,6,4,2]=>00000000000
[11,8,7,5,3,1,12,10,9,6,4,2]=>00000000000
[10,8,7,5,3,1,12,11,9,6,4,2]=>00000000000
[9,8,7,5,3,1,12,11,10,6,4,2]=>00000000000
[11,9,6,5,3,1,12,10,8,7,4,2]=>00000000000
[10,9,6,5,3,1,12,11,8,7,4,2]=>00000000000
[11,8,6,5,3,1,12,10,9,7,4,2]=>00000000000
[10,8,6,5,3,1,12,11,9,7,4,2]=>00000000000
[9,8,6,5,3,1,12,11,10,7,4,2]=>00000000000
[11,7,6,5,3,1,12,10,9,8,4,2]=>00000000000
[10,7,6,5,3,1,12,11,9,8,4,2]=>00000000000
[9,7,6,5,3,1,12,11,10,8,4,2]=>00000000000
[8,7,6,5,3,1,12,11,10,9,4,2]=>00000000000
[11,9,7,4,3,1,12,10,8,6,5,2]=>00000000000
[10,9,7,4,3,1,12,11,8,6,5,2]=>00000000000
[11,8,7,4,3,1,12,10,9,6,5,2]=>00000000000
[10,8,7,4,3,1,12,11,9,6,5,2]=>00000000000
[9,8,7,4,3,1,12,11,10,6,5,2]=>00000000000
[11,9,6,4,3,1,12,10,8,7,5,2]=>00000000000
[10,9,6,4,3,1,12,11,8,7,5,2]=>00000000000
[11,8,6,4,3,1,12,10,9,7,5,2]=>00000000000
[10,8,6,4,3,1,12,11,9,7,5,2]=>00000000000
[9,8,6,4,3,1,12,11,10,7,5,2]=>00000000000
[11,7,6,4,3,1,12,10,9,8,5,2]=>00000000000
[10,7,6,4,3,1,12,11,9,8,5,2]=>00000000000
[9,7,6,4,3,1,12,11,10,8,5,2]=>00000000000
[8,7,6,4,3,1,12,11,10,9,5,2]=>00000000000
[11,9,5,4,3,1,12,10,8,7,6,2]=>00000000000
[10,9,5,4,3,1,12,11,8,7,6,2]=>00000000000
[11,8,5,4,3,1,12,10,9,7,6,2]=>00000000000
[10,8,5,4,3,1,12,11,9,7,6,2]=>00000000000
[9,8,5,4,3,1,12,11,10,7,6,2]=>00000000000
[11,7,5,4,3,1,12,10,9,8,6,2]=>00000000000
[10,7,5,4,3,1,12,11,9,8,6,2]=>00000000000
[9,7,5,4,3,1,12,11,10,8,6,2]=>00000000000
[8,7,5,4,3,1,12,11,10,9,6,2]=>00000000000
[11,6,5,4,3,1,12,10,9,8,7,2]=>00000000000
[10,6,5,4,3,1,12,11,9,8,7,2]=>00000000000
[9,6,5,4,3,1,12,11,10,8,7,2]=>00000000000
[8,6,5,4,3,1,12,11,10,9,7,2]=>00000000000
[7,6,5,4,3,1,12,11,10,9,8,2]=>00000000000
[11,9,7,5,2,1,12,10,8,6,4,3]=>00000000000
[10,9,7,5,2,1,12,11,8,6,4,3]=>00000000000
[11,8,7,5,2,1,12,10,9,6,4,3]=>00000000000
[10,8,7,5,2,1,12,11,9,6,4,3]=>00000000000
[9,8,7,5,2,1,12,11,10,6,4,3]=>00000000000
[11,9,6,5,2,1,12,10,8,7,4,3]=>00000000000
[10,9,6,5,2,1,12,11,8,7,4,3]=>00000000000
[11,8,6,5,2,1,12,10,9,7,4,3]=>00000000000
[10,8,6,5,2,1,12,11,9,7,4,3]=>00000000000
[9,8,6,5,2,1,12,11,10,7,4,3]=>00000000000
[11,7,6,5,2,1,12,10,9,8,4,3]=>00000000000
[10,7,6,5,2,1,12,11,9,8,4,3]=>00000000000
[9,7,6,5,2,1,12,11,10,8,4,3]=>00000000000
[8,7,6,5,2,1,12,11,10,9,4,3]=>00000000000
[11,9,7,4,2,1,12,10,8,6,5,3]=>00000000000
[10,9,7,4,2,1,12,11,8,6,5,3]=>00000000000
[11,8,7,4,2,1,12,10,9,6,5,3]=>00000000000
[10,8,7,4,2,1,12,11,9,6,5,3]=>00000000000
[9,8,7,4,2,1,12,11,10,6,5,3]=>00000000000
[11,9,6,4,2,1,12,10,8,7,5,3]=>00000000000
[10,9,6,4,2,1,12,11,8,7,5,3]=>00000000000
[11,8,6,4,2,1,12,10,9,7,5,3]=>00000000000
[10,8,6,4,2,1,12,11,9,7,5,3]=>00000000000
[9,8,6,4,2,1,12,11,10,7,5,3]=>00000000000
[11,7,6,4,2,1,12,10,9,8,5,3]=>00000000000
[10,7,6,4,2,1,12,11,9,8,5,3]=>00000000000
[9,7,6,4,2,1,12,11,10,8,5,3]=>00000000000
[8,7,6,4,2,1,12,11,10,9,5,3]=>00000000000
[11,9,5,4,2,1,12,10,8,7,6,3]=>00000000000
[10,9,5,4,2,1,12,11,8,7,6,3]=>00000000000
[11,8,5,4,2,1,12,10,9,7,6,3]=>00000000000
[10,8,5,4,2,1,12,11,9,7,6,3]=>00000000000
[9,8,5,4,2,1,12,11,10,7,6,3]=>00000000000
[11,7,5,4,2,1,12,10,9,8,6,3]=>00000000000
[10,7,5,4,2,1,12,11,9,8,6,3]=>00000000000
[9,7,5,4,2,1,12,11,10,8,6,3]=>00000000000
[8,7,5,4,2,1,12,11,10,9,6,3]=>00000000000
[11,6,5,4,2,1,12,10,9,8,7,3]=>00000000000
[10,6,5,4,2,1,12,11,9,8,7,3]=>00000000000
[9,6,5,4,2,1,12,11,10,8,7,3]=>00000000000
[8,6,5,4,2,1,12,11,10,9,7,3]=>00000000000
[7,6,5,4,2,1,12,11,10,9,8,3]=>00000000000
[11,9,7,3,2,1,12,10,8,6,5,4]=>00000000000
[10,9,7,3,2,1,12,11,8,6,5,4]=>00000000000
[11,8,7,3,2,1,12,10,9,6,5,4]=>00000000000
[10,8,7,3,2,1,12,11,9,6,5,4]=>00000000000
[9,8,7,3,2,1,12,11,10,6,5,4]=>00000000000
[11,9,6,3,2,1,12,10,8,7,5,4]=>00000000000
[10,9,6,3,2,1,12,11,8,7,5,4]=>00000000000
[11,8,6,3,2,1,12,10,9,7,5,4]=>00000000000
[10,8,6,3,2,1,12,11,9,7,5,4]=>00000000000
[9,8,6,3,2,1,12,11,10,7,5,4]=>00000000000
[11,7,6,3,2,1,12,10,9,8,5,4]=>00000000000
[10,7,6,3,2,1,12,11,9,8,5,4]=>00000000000
[9,7,6,3,2,1,12,11,10,8,5,4]=>00000000000
[8,7,6,3,2,1,12,11,10,9,5,4]=>00000000000
[11,9,5,3,2,1,12,10,8,7,6,4]=>00000000000
[10,9,5,3,2,1,12,11,8,7,6,4]=>00000000000
[11,8,5,3,2,1,12,10,9,7,6,4]=>00000000000
[10,8,5,3,2,1,12,11,9,7,6,4]=>00000000000
[9,8,5,3,2,1,12,11,10,7,6,4]=>00000000000
[11,7,5,3,2,1,12,10,9,8,6,4]=>00000000000
[10,7,5,3,2,1,12,11,9,8,6,4]=>00000000000
[9,7,5,3,2,1,12,11,10,8,6,4]=>00000000000
[8,7,5,3,2,1,12,11,10,9,6,4]=>00000000000
[11,6,5,3,2,1,12,10,9,8,7,4]=>00000000000
[10,6,5,3,2,1,12,11,9,8,7,4]=>00000000000
[9,6,5,3,2,1,12,11,10,8,7,4]=>00000000000
[8,6,5,3,2,1,12,11,10,9,7,4]=>00000000000
[7,6,5,3,2,1,12,11,10,9,8,4]=>00000000000
[11,9,4,3,2,1,12,10,8,7,6,5]=>00000000000
[10,9,4,3,2,1,12,11,8,7,6,5]=>00000000000
[11,8,4,3,2,1,12,10,9,7,6,5]=>00000000000
[10,8,4,3,2,1,12,11,9,7,6,5]=>00000000000
[9,8,4,3,2,1,12,11,10,7,6,5]=>00000000000
[11,7,4,3,2,1,12,10,9,8,6,5]=>00000000000
[10,7,4,3,2,1,12,11,9,8,6,5]=>00000000000
[9,7,4,3,2,1,12,11,10,8,6,5]=>00000000000
[8,7,4,3,2,1,12,11,10,9,6,5]=>00000000000
[11,6,4,3,2,1,12,10,9,8,7,5]=>00000000000
[10,6,4,3,2,1,12,11,9,8,7,5]=>00000000000
[9,6,4,3,2,1,12,11,10,8,7,5]=>00000000000
[8,6,4,3,2,1,12,11,10,9,7,5]=>00000000000
[7,6,4,3,2,1,12,11,10,9,8,5]=>00000000000
[11,5,4,3,2,1,12,10,9,8,7,6]=>00000000000
[10,5,4,3,2,1,12,11,9,8,7,6]=>00000000000
[9,5,4,3,2,1,12,11,10,8,7,6]=>00000000000
[8,5,4,3,2,1,12,11,10,9,7,6]=>00000000000
[7,5,4,3,2,1,12,11,10,9,8,6]=>00000000000
[7,1,8,2,9,3,10,4,11,5,12,6]=>00000000000
[9,10,11,12,7,8,5,6,3,4,1,2]=>00000000000
[11,12,7,8,9,10,5,6,3,4,1,2]=>00000000000
[7,10,11,8,9,12,5,6,3,4,1,2]=>00000000000
[7,8,9,10,11,12,5,6,3,4,1,2]=>00000000000
[11,12,9,10,5,6,7,8,3,4,1,2]=>00000000000
[9,10,11,12,5,6,7,8,3,4,1,2]=>00000000000
[11,12,5,8,9,6,7,10,3,4,1,2]=>00000000000
[5,10,11,8,9,6,7,12,3,4,1,2]=>00000000000
[5,8,9,10,11,6,7,12,3,4,1,2]=>00000000000
[11,12,5,6,7,8,9,10,3,4,1,2]=>00000000000
[5,10,11,6,7,8,9,12,3,4,1,2]=>00000000000
[5,6,9,10,7,8,11,12,3,4,1,2]=>00000000000
[5,6,7,8,9,10,11,12,3,4,1,2]=>00000000000
[11,12,9,10,7,8,3,4,5,6,1,2]=>00000000000
[9,10,11,12,7,8,3,4,5,6,1,2]=>00000000000
[11,12,7,8,9,10,3,4,5,6,1,2]=>00000000000
[7,10,11,8,9,12,3,4,5,6,1,2]=>00000000000
[7,8,9,10,11,12,3,4,5,6,1,2]=>00000000000
[11,12,9,10,3,6,7,4,5,8,1,2]=>00000000000
[9,10,11,12,3,6,7,4,5,8,1,2]=>00000000000
[11,12,3,8,9,6,7,4,5,10,1,2]=>00000000000
[3,10,11,8,9,6,7,4,5,12,1,2]=>00000000000
[3,8,9,10,11,6,7,4,5,12,1,2]=>00000000000
[11,12,3,6,7,8,9,4,5,10,1,2]=>00000000000
[3,10,11,6,7,8,9,4,5,12,1,2]=>00000000000
[3,6,9,10,7,8,11,4,5,12,1,2]=>00000000000
[3,6,7,8,9,10,11,4,5,12,1,2]=>00000000000
[11,12,9,10,3,4,5,6,7,8,1,2]=>00000000000
[9,10,11,12,3,4,5,6,7,8,1,2]=>00000000000
[11,12,3,8,9,4,5,6,7,10,1,2]=>00000000000
[3,10,11,8,9,4,5,6,7,12,1,2]=>00000000000
[3,8,9,10,11,4,5,6,7,12,1,2]=>00000000000
[11,12,3,4,7,8,5,6,9,10,1,2]=>00000000000
[3,10,11,4,7,8,5,6,9,12,1,2]=>00000000000
[3,4,9,10,7,8,5,6,11,12,1,2]=>00000000000
[3,4,7,8,9,10,5,6,11,12,1,2]=>00000000000
[11,12,3,4,5,6,7,8,9,10,1,2]=>00000000000
[3,10,11,4,5,6,7,8,9,12,1,2]=>00000000000
[3,4,9,10,5,6,7,8,11,12,1,2]=>00000000000
[3,4,5,8,9,6,7,10,11,12,1,2]=>00000000000
[3,4,5,6,7,8,9,10,11,12,1,2]=>00000000000
[11,12,9,10,7,8,5,6,1,2,3,4]=>00000000000
[9,10,11,12,7,8,5,6,1,2,3,4]=>00000000000
[11,12,7,8,9,10,5,6,1,2,3,4]=>00000000000
[7,10,11,8,9,12,5,6,1,2,3,4]=>00000000000
[7,8,9,10,11,12,5,6,1,2,3,4]=>00000000000
[11,12,9,10,5,6,7,8,1,2,3,4]=>00000000000
[9,10,11,12,5,6,7,8,1,2,3,4]=>00000000000
[11,12,5,8,9,6,7,10,1,2,3,4]=>00000000000
[5,10,11,8,9,6,7,12,1,2,3,4]=>00000000000
[5,8,9,10,11,6,7,12,1,2,3,4]=>00000000000
[11,12,5,6,7,8,9,10,1,2,3,4]=>00000000000
[5,10,11,6,7,8,9,12,1,2,3,4]=>00000000000
[5,6,9,10,7,8,11,12,1,2,3,4]=>00000000000
[5,6,7,8,9,10,11,12,1,2,3,4]=>00000000000
[11,12,9,10,7,8,1,4,5,2,3,6]=>00000000000
[9,10,11,12,7,8,1,4,5,2,3,6]=>00000000000
[11,12,7,8,9,10,1,4,5,2,3,6]=>00000000000
[7,10,11,8,9,12,1,4,5,2,3,6]=>00000000000
[7,8,9,10,11,12,1,4,5,2,3,6]=>00000000000
[11,12,9,10,1,6,7,4,5,2,3,8]=>00000000000
[9,10,11,12,1,6,7,4,5,2,3,8]=>00000000000
[11,12,1,8,9,6,7,4,5,2,3,10]=>00000000000
[1,10,11,8,9,6,7,4,5,2,3,12]=>10000000001
[1,8,9,10,11,6,7,4,5,2,3,12]=>10000000001
[11,12,1,6,7,8,9,4,5,2,3,10]=>00000000000
[1,10,11,6,7,8,9,4,5,2,3,12]=>10000000001
[1,6,9,10,7,8,11,4,5,2,3,12]=>10000000001
[1,6,7,8,9,10,11,4,5,2,3,12]=>10000000001
[11,12,9,10,1,4,5,6,7,2,3,8]=>00000000000
[9,10,11,12,1,4,5,6,7,2,3,8]=>00000000000
[11,12,1,8,9,4,5,6,7,2,3,10]=>00000000000
[1,10,11,8,9,4,5,6,7,2,3,12]=>10000000001
[1,8,9,10,11,4,5,6,7,2,3,12]=>10000000001
[11,12,1,4,7,8,5,6,9,2,3,10]=>00000000000
[1,10,11,4,7,8,5,6,9,2,3,12]=>10000000001
[1,4,9,10,7,8,5,6,11,2,3,12]=>10000000001
[1,4,7,8,9,10,5,6,11,2,3,12]=>10000000001
[11,12,1,4,5,6,7,8,9,2,3,10]=>00000000000
[1,10,11,4,5,6,7,8,9,2,3,12]=>10000000001
[1,4,9,10,5,6,7,8,11,2,3,12]=>10000000001
[1,4,5,8,9,6,7,10,11,2,3,12]=>10000000001
[1,4,5,6,7,8,9,10,11,2,3,12]=>10000000001
[11,12,9,10,7,8,1,2,3,4,5,6]=>00000000000
[9,10,11,12,7,8,1,2,3,4,5,6]=>00000000000
[11,12,7,8,9,10,1,2,3,4,5,6]=>00000000000
[7,10,11,8,9,12,1,2,3,4,5,6]=>00000000000
[11,12,9,10,1,6,7,2,3,4,5,8]=>00000000000
[9,10,11,12,1,6,7,2,3,4,5,8]=>00000000000
[11,12,1,8,9,6,7,2,3,4,5,10]=>00000000000
[1,10,11,8,9,6,7,2,3,4,5,12]=>10000000001
[1,8,9,10,11,6,7,2,3,4,5,12]=>10000000001
[11,12,1,6,7,8,9,2,3,4,5,10]=>00000000000
[1,10,11,6,7,8,9,2,3,4,5,12]=>10000000001
[1,6,9,10,7,8,11,2,3,4,5,12]=>10000000001
[1,6,7,8,9,10,11,2,3,4,5,12]=>10000000001
[11,12,9,10,1,2,5,6,3,4,7,8]=>00000000000
[9,10,11,12,1,2,5,6,3,4,7,8]=>00000000000
[11,12,1,8,9,2,5,6,3,4,7,10]=>00000000000
[1,10,11,8,9,2,5,6,3,4,7,12]=>10000000001
[1,8,9,10,11,2,5,6,3,4,7,12]=>10000000001
[11,12,1,2,7,8,5,6,3,4,9,10]=>00000000000
[1,10,11,2,7,8,5,6,3,4,9,12]=>10000000001
[1,2,9,10,7,8,5,6,3,4,11,12]=>11000000011
[1,2,7,8,9,10,5,6,3,4,11,12]=>11000000011
[11,12,1,2,5,6,7,8,3,4,9,10]=>00000000000
[1,10,11,2,5,6,7,8,3,4,9,12]=>10000000001
[1,2,9,10,5,6,7,8,3,4,11,12]=>11000000011
[1,2,5,8,9,6,7,10,3,4,11,12]=>11000000011
[1,2,5,6,7,8,9,10,3,4,11,12]=>11000000011
[11,12,9,10,1,2,3,4,5,6,7,8]=>00000000000
[9,10,11,12,1,2,3,4,5,6,7,8]=>00000000000
[11,12,1,8,9,2,3,4,5,6,7,10]=>00000000000
[1,10,11,8,9,2,3,4,5,6,7,12]=>10000000001
[1,8,9,10,11,2,3,4,5,6,7,12]=>10000000001
[11,12,1,2,7,8,3,4,5,6,9,10]=>00000000000
[1,10,11,2,7,8,3,4,5,6,9,12]=>10000000001
[1,2,9,10,7,8,3,4,5,6,11,12]=>11000000011
[1,2,7,8,9,10,3,4,5,6,11,12]=>11000000011
[11,12,1,2,3,6,7,4,5,8,9,10]=>00000000000
[1,10,11,2,3,6,7,4,5,8,9,12]=>10000000001
[1,2,9,10,3,6,7,4,5,8,11,12]=>11000000011
[1,2,3,8,9,6,7,4,5,10,11,12]=>11100000111
[1,2,3,6,7,8,9,4,5,10,11,12]=>11100000111
[11,12,1,2,3,4,5,6,7,8,9,10]=>00000000000
[1,10,11,2,3,4,5,6,7,8,9,12]=>10000000001
[1,2,9,10,3,4,5,6,7,8,11,12]=>11000000011
[1,2,3,8,9,4,5,6,7,10,11,12]=>11100000111
[1,2,3,4,7,8,5,6,9,10,11,12]=>11110001111
[1,2,3,4,5,6,7,8,9,10,11,12]=>11111111111
[11,1,12,10,9,8,7,6,5,4,3,2]=>00000000000
[2,12,11,10,9,8,7,6,5,4,1,3]=>00000000000
[11,12,9,10,7,8,5,6,2,1,3,4]=>00000000000
[11,12,9,10,7,8,4,3,5,6,1,2]=>00000000000
[11,12,9,10,7,8,4,2,5,1,3,6]=>00000000000
[11,12,9,10,7,8,3,2,1,4,5,6]=>00000000000
[11,12,9,10,6,5,7,8,3,4,1,2]=>00000000000
[11,12,9,10,6,5,7,8,2,1,3,4]=>00000000000
[11,12,9,10,6,4,7,3,5,8,1,2]=>00000000000
[11,12,9,10,6,4,7,2,5,1,3,8]=>00000000000
[11,12,9,10,6,3,7,2,1,4,5,8]=>00000000000
[11,12,9,10,5,4,3,6,7,8,1,2]=>00000000000
[11,12,9,10,5,4,2,6,7,1,3,8]=>00000000000
[11,12,9,10,5,3,2,6,1,4,7,8]=>00000000000
[11,12,9,10,4,3,2,1,5,6,7,8]=>00000000000
[11,12,8,7,9,10,5,6,3,4,1,2]=>00000000000
[11,12,8,7,9,10,5,6,2,1,3,4]=>00000000000
[11,12,8,7,9,10,4,3,5,6,1,2]=>00000000000
[11,12,8,7,9,10,4,2,5,1,3,6]=>00000000000
[11,12,8,7,9,10,3,2,1,4,5,6]=>00000000000
[11,12,8,6,9,5,7,10,3,4,1,2]=>00000000000
[11,12,8,6,9,5,7,10,2,1,3,4]=>00000000000
[11,12,8,6,9,4,7,3,5,10,1,2]=>00000000000
[11,12,8,6,9,4,7,2,5,1,3,10]=>00000000000
[11,12,8,6,9,3,7,2,1,4,5,10]=>00000000000
[11,12,8,5,9,4,3,6,7,10,1,2]=>00000000000
[11,12,8,5,9,4,2,6,7,1,3,10]=>00000000000
[11,12,8,5,9,3,2,6,1,4,7,10]=>00000000000
[11,12,8,4,9,3,2,1,5,6,7,10]=>00000000000
[11,12,7,6,5,8,9,10,3,4,1,2]=>00000000000
[11,12,7,6,5,8,9,10,2,1,3,4]=>00000000000
[11,12,7,6,4,8,9,3,5,10,1,2]=>00000000000
[11,12,7,6,4,8,9,2,5,1,3,10]=>00000000000
[11,12,7,6,3,8,9,2,1,4,5,10]=>00000000000
[11,12,7,5,4,8,3,6,9,10,1,2]=>00000000000
[11,12,7,5,4,8,2,6,9,1,3,10]=>00000000000
[11,12,7,5,3,8,2,6,1,4,9,10]=>00000000000
[11,12,7,4,3,8,2,1,5,6,9,10]=>00000000000
[11,12,6,5,4,3,7,8,9,10,1,2]=>00000000000
[11,12,6,5,4,2,7,8,9,1,3,10]=>00000000000
[11,12,6,5,3,2,7,8,1,4,9,10]=>00000000000
[11,12,6,4,3,2,7,1,5,8,9,10]=>00000000000
[11,12,5,4,3,2,1,6,7,8,9,10]=>00000000000
[10,9,11,12,7,8,5,6,3,4,1,2]=>00000000000
[10,9,11,12,7,8,5,6,2,1,3,4]=>00000000000
[10,9,11,12,7,8,4,3,5,6,1,2]=>00000000000
[10,9,11,12,7,8,4,2,5,1,3,6]=>00000000000
[10,9,11,12,7,8,3,2,1,4,5,6]=>00000000000
[10,9,11,12,6,5,7,8,3,4,1,2]=>00000000000
[10,9,11,12,6,5,7,8,2,1,3,4]=>00000000000
[10,9,11,12,6,4,7,3,5,8,1,2]=>00000000000
[10,9,11,12,6,4,7,2,5,1,3,8]=>00000000000
[10,9,11,12,6,3,7,2,1,4,5,8]=>00000000000
[10,9,11,12,5,4,3,6,7,8,1,2]=>00000000000
[10,9,11,12,5,4,2,6,7,1,3,8]=>00000000000
[10,9,11,12,5,3,2,6,1,4,7,8]=>00000000000
[10,9,11,12,4,3,2,1,5,6,7,8]=>00000000000
[10,8,11,7,9,12,5,6,3,4,1,2]=>00000000000
[10,8,11,7,9,12,5,6,2,1,3,4]=>00000000000
[10,8,11,7,9,12,4,3,5,6,1,2]=>00000000000
[10,8,11,7,9,12,4,2,5,1,3,6]=>00000000000
[10,8,11,7,9,12,3,2,1,4,5,6]=>00000000000
[10,8,11,6,9,5,7,12,3,4,1,2]=>00000000000
[10,8,11,6,9,5,7,12,2,1,3,4]=>00000000000
[10,8,11,6,9,4,7,3,5,12,1,2]=>00000000000
[10,8,11,6,9,4,7,2,5,1,3,12]=>00000000001
[10,8,11,6,9,3,7,2,1,4,5,12]=>00000000001
[10,8,11,5,9,4,3,6,7,12,1,2]=>00000000000
[10,8,11,5,9,4,2,6,7,1,3,12]=>00000000001
[10,8,11,5,9,3,2,6,1,4,7,12]=>00000000001
[10,8,11,4,9,3,2,1,5,6,7,12]=>00000000001
[10,7,11,6,5,8,9,12,3,4,1,2]=>00000000000
[10,7,11,6,5,8,9,12,2,1,3,4]=>00000000000
[10,7,11,6,4,8,9,3,5,12,1,2]=>00000000000
[10,7,11,6,4,8,9,2,5,1,3,12]=>00000000001
[10,7,11,6,3,8,9,2,1,4,5,12]=>00000000001
[10,7,11,5,4,8,3,6,9,12,1,2]=>00000000000
[10,7,11,5,4,8,2,6,9,1,3,12]=>00000000001
[10,7,11,5,3,8,2,6,1,4,9,12]=>00000000001
[10,7,11,4,3,8,2,1,5,6,9,12]=>00000000001
[10,6,11,5,4,3,7,8,9,12,1,2]=>00000000000
[10,6,11,5,4,2,7,8,9,1,3,12]=>00000000001
[10,6,11,5,3,2,7,8,1,4,9,12]=>00000000001
[10,6,11,4,3,2,7,1,5,8,9,12]=>00000000001
[10,5,11,4,3,2,1,6,7,8,9,12]=>00000000001
[9,8,7,10,11,12,5,6,3,4,1,2]=>00000000000
[9,8,7,10,11,12,5,6,2,1,3,4]=>00000000000
[9,8,7,10,11,12,4,3,5,6,1,2]=>00000000000
[9,8,7,10,11,12,4,2,5,1,3,6]=>00000000000
[9,8,7,10,11,12,3,2,1,4,5,6]=>00000000000
[9,8,6,10,11,5,7,12,3,4,1,2]=>00000000000
[9,8,6,10,11,5,7,12,2,1,3,4]=>00000000000
[9,8,6,10,11,4,7,3,5,12,1,2]=>00000000000
[9,8,6,10,11,4,7,2,5,1,3,12]=>00000000001
[9,8,6,10,11,3,7,2,1,4,5,12]=>00000000001
[9,8,5,10,11,4,3,6,7,12,1,2]=>00000000000
[9,8,5,10,11,4,2,6,7,1,3,12]=>00000000001
[9,8,5,10,11,3,2,6,1,4,7,12]=>00000000001
[9,8,4,10,11,3,2,1,5,6,7,12]=>00000000001
[9,7,6,10,5,8,11,12,3,4,1,2]=>00000000000
[9,7,6,10,5,8,11,12,2,1,3,4]=>00000000000
[9,7,6,10,4,8,11,3,5,12,1,2]=>00000000000
[9,7,6,10,4,8,11,2,5,1,3,12]=>00000000001
[9,7,6,10,3,8,11,2,1,4,5,12]=>00000000001
[9,7,5,10,4,8,3,6,11,12,1,2]=>00000000000
[9,7,5,10,4,8,2,6,11,1,3,12]=>00000000001
[9,7,5,10,3,8,2,6,1,4,11,12]=>00000000011
[9,7,4,10,3,8,2,1,5,6,11,12]=>00000000011
[9,6,5,10,4,3,7,8,11,12,1,2]=>00000000000
[9,6,5,10,4,2,7,8,11,1,3,12]=>00000000001
[9,6,5,10,3,2,7,8,1,4,11,12]=>00000000011
[9,6,4,10,3,2,7,1,5,8,11,12]=>00000000011
[9,5,4,10,3,2,1,6,7,8,11,12]=>00000000011
[8,7,6,5,9,10,11,12,3,4,1,2]=>00000000000
[8,7,6,5,9,10,11,12,2,1,3,4]=>00000000000
[8,7,6,4,9,10,11,3,5,12,1,2]=>00000000000
[8,7,6,4,9,10,11,2,5,1,3,12]=>00000000001
[8,7,6,3,9,10,11,2,1,4,5,12]=>00000000001
[8,7,5,4,9,10,3,6,11,12,1,2]=>00000000000
[8,7,5,4,9,10,2,6,11,1,3,12]=>00000000001
[8,7,5,3,9,10,2,6,1,4,11,12]=>00000000011
[8,7,4,3,9,10,2,1,5,6,11,12]=>00000000011
[8,6,5,4,9,3,7,10,11,12,1,2]=>00000000000
[8,6,5,4,9,2,7,10,11,1,3,12]=>00000000001
[8,6,5,3,9,2,7,10,1,4,11,12]=>00000000011
[8,6,4,3,9,2,7,1,5,10,11,12]=>00000000111
[8,5,4,3,9,2,1,6,7,10,11,12]=>00000000111
[7,6,5,4,3,8,9,10,11,12,1,2]=>00000000000
[7,6,5,4,2,8,9,10,11,1,3,12]=>00000000001
[7,6,5,3,2,8,9,10,1,4,11,12]=>00000000011
[7,6,4,3,2,8,9,1,5,10,11,12]=>00000000111
[7,5,4,3,2,8,1,6,9,10,11,12]=>00000001111
[6,5,4,3,2,1,7,8,9,10,11,12]=>00000111111
[12,11,2,4,6,8,10,1,3,5,7,9]=>00000000000
[10,9,2,4,6,8,12,1,3,5,7,11]=>00000000000
[2,12,9,11,4,6,8,10,1,3,5,7]=>00000000000
[12,11,10,9,2,4,6,8,1,3,5,7]=>00000000000
[8,7,2,4,6,10,12,1,3,5,9,11]=>00000000000
[8,12,7,11,2,4,6,10,1,3,5,9]=>00000000000
[2,10,7,9,4,6,8,12,1,3,5,11]=>00000000000
[2,4,12,7,9,11,6,8,10,1,3,5]=>00000000000
[12,11,2,10,7,9,4,6,8,1,3,5]=>00000000000
[10,9,8,7,2,4,6,12,1,3,5,11]=>00000000000
[12,9,2,8,7,11,4,6,10,1,3,5]=>00000000000
[8,12,7,11,10,9,2,4,6,1,3,5]=>00000000000
[12,11,10,9,8,7,2,4,6,1,3,5]=>00000000000
[6,5,2,4,8,10,12,1,3,7,9,11]=>00000000000
[6,12,5,11,2,4,8,10,1,3,7,9]=>00000000000
[6,10,5,9,2,4,8,12,1,3,7,11]=>00000000000
[6,5,12,9,11,2,4,8,10,1,3,7]=>00000000000
[12,11,6,10,5,9,2,4,8,1,3,7]=>00000000000
[2,8,5,7,4,6,10,12,1,3,9,11]=>00000000000
[2,8,12,5,7,11,4,6,10,1,3,9]=>00000000000
[10,5,2,4,7,9,6,8,12,1,3,11]=>00000000000
[12,5,7,2,4,6,9,11,8,10,1,3]=>00000000000
[12,5,11,10,2,4,7,9,6,8,1,3]=>00000000000
[10,9,2,8,5,7,4,6,12,1,3,11]=>00000000000
[12,5,9,8,2,4,7,11,6,10,1,3]=>00000000000
[2,12,5,11,8,10,7,9,4,6,1,3]=>00000000000
[12,11,10,9,2,8,5,7,4,6,1,3]=>00000000000
[8,7,6,5,2,4,10,12,1,3,9,11]=>00000000000
[8,7,6,12,5,11,2,4,10,1,3,9]=>00000000000
[10,7,2,6,5,9,4,8,12,1,3,11]=>00000000000
[7,6,12,5,2,4,9,11,8,10,1,3]=>00000000000
[2,12,7,11,6,10,5,9,4,8,1,3]=>00000000000
[6,10,5,9,8,7,2,4,12,1,3,11]=>00000000000
[2,12,6,9,5,8,7,11,4,10,1,3]=>00000000000
[6,8,12,5,7,11,10,9,2,4,1,3]=>00000000000
[12,11,6,10,5,9,8,7,2,4,1,3]=>00000000000
[10,9,8,7,6,5,2,4,12,1,3,11]=>00000000000
[12,9,8,7,2,6,5,11,4,10,1,3]=>00000000000
[8,7,6,12,5,11,10,9,2,4,1,3]=>00000000000
[7,12,6,11,10,9,8,5,2,4,1,3]=>00000000000
[12,11,10,9,8,7,6,5,2,4,1,3]=>00000000000
[4,3,2,6,8,10,12,1,5,7,9,11]=>00000000000
[4,12,3,11,2,6,8,10,1,5,7,9]=>00000000000
[4,10,3,9,2,6,8,12,1,5,7,11]=>00000000000
[4,3,12,9,11,2,6,8,10,1,5,7]=>00000000000
[12,11,4,10,3,9,2,6,8,1,5,7]=>00000000000
[4,8,3,7,2,6,10,12,1,5,9,11]=>00000000000
[4,8,12,3,7,11,2,6,10,1,5,9]=>00000000000
[4,3,10,7,9,2,6,8,12,1,5,11]=>00000000000
[4,3,7,9,12,11,2,6,8,10,1,5]=>00000000000
[12,4,11,3,10,7,9,2,6,8,1,5]=>00000000000
[10,9,4,8,3,7,2,6,12,1,5,11]=>00000000000
[12,4,9,3,8,7,11,2,6,10,1,5]=>00000000000
[4,8,12,11,10,3,7,9,2,6,1,5]=>00000000000
[12,11,10,9,4,8,3,7,2,6,1,5]=>00000000000
[3,6,2,5,4,8,10,12,1,7,9,11]=>00000000000
[3,6,12,2,5,11,4,8,10,1,7,9]=>00000000000
[3,6,10,2,5,9,4,8,12,1,7,11]=>00000000000
[3,12,6,2,5,9,11,4,8,10,1,7]=>00000000000
[12,11,3,6,10,2,5,9,4,8,1,7]=>00000000000
[3,5,8,2,4,7,6,10,12,1,9,11]=>00000000000
[3,5,8,12,2,4,7,11,6,10,1,9]=>00000000000
[3,5,7,10,2,4,6,9,8,12,1,11]=>00000000000
[3,5,7,9,12,2,4,6,8,11,10,1]=>00000000000
[12,11,3,5,7,10,2,4,6,9,8,1]=>00000000000
[10,9,3,5,8,2,4,7,6,12,1,11]=>00000000000
[9,8,3,5,7,12,2,4,6,11,10,1]=>00000000000
[3,5,12,11,8,10,2,4,7,9,6,1]=>00000000000
[12,11,10,9,3,5,8,2,4,7,6,1]=>00000000000
[8,7,3,6,2,5,4,10,12,1,9,11]=>00000000000
[8,7,3,6,12,2,5,11,4,10,1,9]=>00000000000
[7,6,3,5,10,2,4,9,8,12,1,11]=>00000000000
[7,6,3,5,9,12,2,4,8,11,10,1]=>00000000000
[7,12,6,11,3,5,10,2,4,9,8,1]=>00000000000
[3,6,10,9,8,2,5,7,4,12,1,11]=>00000000000
[3,9,6,8,5,7,12,2,4,11,10,1]=>00000000000
[3,2,12,6,8,11,10,5,7,9,4,1]=>00000000000
[12,11,3,6,10,9,8,2,5,7,4,1]=>00000000000
[10,9,8,7,3,6,2,5,4,12,1,11]=>00000000000
[9,8,7,6,3,5,12,2,4,11,10,1]=>00000000000
[8,7,3,6,12,11,10,2,5,9,4,1]=>00000000000
[3,12,7,11,10,9,6,8,2,5,4,1]=>00000000000
[12,11,10,9,8,7,3,6,2,5,4,1]=>00000000000
[6,5,4,3,2,8,10,12,1,7,9,11]=>00000000000
[6,5,4,12,3,11,2,8,10,1,7,9]=>00000000000
[6,5,4,10,3,9,2,8,12,1,7,11]=>00000000000
[6,12,5,4,3,9,11,2,8,10,1,7]=>00000000000
[5,4,3,8,2,7,6,10,12,1,9,11]=>00000000000
[5,4,3,8,12,2,7,11,6,10,1,9]=>00000000000
[5,4,3,7,10,2,6,9,8,12,1,11]=>00000000000
[5,4,3,7,9,12,2,6,8,11,10,1]=>00000000000
[5,12,4,11,3,7,10,2,6,9,8,1]=>00000000000
[5,10,4,9,3,8,2,7,6,12,1,11]=>00000000000
[5,9,4,8,3,7,12,2,6,11,10,1]=>00000000000
[12,11,5,4,3,8,10,2,7,9,6,1]=>00000000000
[12,11,5,10,4,9,3,8,2,7,6,1]=>00000000000
[4,8,3,7,6,5,2,10,12,1,9,11]=>00000000000
[4,8,3,7,6,12,5,11,2,10,1,9]=>00000000000
[4,7,3,6,5,10,2,9,8,12,1,11]=>00000000000
[4,7,3,6,5,9,12,2,8,11,10,1]=>00000000000
[4,7,12,3,6,11,5,10,2,9,8,1]=>00000000000
[4,6,10,3,5,9,8,7,2,12,1,11]=>00000000000
[4,6,9,3,5,8,7,12,2,11,10,1]=>00000000000
[4,6,8,12,3,5,7,11,10,9,2,1]=>00000000000
[12,11,4,6,10,3,5,9,8,7,2,1]=>00000000000
[10,9,4,8,3,7,6,5,2,12,1,11]=>00000000000
[9,8,4,7,3,6,5,12,2,11,10,1]=>00000000000
[8,7,4,6,12,3,5,11,10,9,2,1]=>00000000000
[4,7,12,11,10,3,6,9,8,5,2,1]=>00000000000
[12,11,10,9,4,8,3,7,6,5,2,1]=>00000000000
[8,7,6,5,4,3,2,10,12,1,9,11]=>00000000000
[8,7,6,5,4,12,3,11,2,10,1,9]=>00000000000
[7,6,5,4,3,10,2,9,8,12,1,11]=>00000000000
[7,6,5,4,3,9,12,2,8,11,10,1]=>00000000000
[7,6,5,12,4,11,3,10,2,9,8,1]=>00000000000
[6,5,4,10,3,9,8,7,2,12,1,11]=>00000000000
[6,5,4,9,3,8,7,12,2,11,10,1]=>00000000000
[6,5,4,8,12,3,7,11,10,9,2,1]=>00000000000
[6,12,5,11,4,10,3,9,8,7,2,1]=>00000000000
[5,10,4,9,8,7,6,3,2,12,1,11]=>00000000000
[5,9,4,8,7,6,3,12,2,11,10,1]=>00000000000
[5,8,4,7,6,12,3,11,10,9,2,1]=>00000000000
[5,7,12,4,6,11,10,9,8,3,2,1]=>00000000000
[12,11,5,10,4,9,8,7,6,3,2,1]=>00000000000
[10,9,8,7,6,5,4,3,2,12,1,11]=>00000000000
[9,8,7,6,5,4,3,12,2,11,10,1]=>00000000000
[8,7,6,5,4,12,3,11,10,9,2,1]=>00000000000
[7,6,5,12,4,11,10,9,8,3,2,1]=>00000000000
[6,12,5,11,10,9,8,7,4,3,2,1]=>00000000000
[12,10,9,8,7,6,5,4,3,2,1,11]=>00000000000
[3,1,2,4,5,6,7,8,9,10,11,12]=>00111111111
[1,2,3,4,5,6,7,8,9,12,10,11]=>11111111100
[12,1,3,4,5,6,7,8,9,10,11,2]=>00000000000
[3,2,5,4,7,6,9,8,11,10,1,12]=>00000000001
[3,2,5,4,7,6,9,8,1,12,11,10]=>00000000100
[3,2,5,4,7,6,11,10,9,8,1,12]=>00000000001
[3,2,5,4,7,6,1,10,9,12,11,8]=>00000010000
[3,2,5,4,7,6,1,12,11,10,9,8]=>00000010000
[3,2,5,4,9,8,7,6,11,10,1,12]=>00000000001
[3,2,5,4,9,8,7,6,1,12,11,10]=>00000000100
[3,2,5,4,11,8,7,10,9,6,1,12]=>00000000001
[3,2,5,4,1,8,7,10,9,12,11,6]=>00001000000
[3,2,5,4,1,8,7,12,11,10,9,6]=>00001000000
[3,2,5,4,11,10,9,8,7,6,1,12]=>00000000001
[3,2,5,4,1,10,9,8,7,12,11,6]=>00001000000
[3,2,5,4,1,12,9,8,11,10,7,6]=>00001000000
[3,2,5,4,1,12,11,10,9,8,7,6]=>00001000000
[3,2,7,6,5,4,9,8,11,10,1,12]=>00000000001
[3,2,7,6,5,4,9,8,1,12,11,10]=>00000000100
[3,2,7,6,5,4,11,10,9,8,1,12]=>00000000001
[3,2,7,6,5,4,1,10,9,12,11,8]=>00000010000
[3,2,7,6,5,4,1,12,11,10,9,8]=>00000010000
[3,2,9,6,5,8,7,4,11,10,1,12]=>00000000001
[3,2,9,6,5,8,7,4,1,12,11,10]=>00000000100
[3,2,11,6,5,8,7,10,9,4,1,12]=>00000000001
[3,2,1,6,5,8,7,10,9,12,11,4]=>00100000000
[3,2,1,6,5,8,7,12,11,10,9,4]=>00100000000
[3,2,11,6,5,10,9,8,7,4,1,12]=>00000000001
[3,2,1,6,5,10,9,8,7,12,11,4]=>00100000000
[3,2,1,6,5,12,9,8,11,10,7,4]=>00100000000
[3,2,1,6,5,12,11,10,9,8,7,4]=>00100000000
[3,2,9,8,7,6,5,4,11,10,1,12]=>00000000001
[3,2,9,8,7,6,5,4,1,12,11,10]=>00000000100
[3,2,11,8,7,6,5,10,9,4,1,12]=>00000000001
[3,2,1,8,7,6,5,10,9,12,11,4]=>00100000000
[3,2,1,8,7,6,5,12,11,10,9,4]=>00100000000
[3,2,11,10,7,6,9,8,5,4,1,12]=>00000000001
[3,2,1,10,7,6,9,8,5,12,11,4]=>00100000000
[3,2,1,12,7,6,9,8,11,10,5,4]=>00100000000
[3,2,1,12,7,6,11,10,9,8,5,4]=>00100000000
[3,2,11,10,9,8,7,6,5,4,1,12]=>00000000001
[3,2,1,10,9,8,7,6,5,12,11,4]=>00100000000
[3,2,1,12,9,8,7,6,11,10,5,4]=>00100000000
[3,2,1,12,11,8,7,10,9,6,5,4]=>00100000000
[3,2,1,12,11,10,9,8,7,6,5,4]=>00100000000
[5,4,3,2,7,6,9,8,11,10,1,12]=>00000000001
[5,4,3,2,7,6,9,8,1,12,11,10]=>00000000100
[5,4,3,2,7,6,11,10,9,8,1,12]=>00000000001
[5,4,3,2,7,6,1,10,9,12,11,8]=>00000010000
[5,4,3,2,7,6,1,12,11,10,9,8]=>00000010000
[5,4,3,2,9,8,7,6,11,10,1,12]=>00000000001
[5,4,3,2,9,8,7,6,1,12,11,10]=>00000000100
[5,4,3,2,11,8,7,10,9,6,1,12]=>00000000001
[5,4,3,2,1,8,7,10,9,12,11,6]=>00001000000
[5,4,3,2,1,8,7,12,11,10,9,6]=>00001000000
[5,4,3,2,11,10,9,8,7,6,1,12]=>00000000001
[5,4,3,2,1,10,9,8,7,12,11,6]=>00001000000
[5,4,3,2,1,12,9,8,11,10,7,6]=>00001000000
[5,4,3,2,1,12,11,10,9,8,7,6]=>00001000000
[7,4,3,6,5,2,9,8,11,10,1,12]=>00000000001
[7,4,3,6,5,2,9,8,1,12,11,10]=>00000000100
[7,4,3,6,5,2,11,10,9,8,1,12]=>00000000001
[7,4,3,6,5,2,1,10,9,12,11,8]=>00000010000
[7,4,3,6,5,2,1,12,11,10,9,8]=>00000010000
[9,4,3,6,5,8,7,2,11,10,1,12]=>00000000001
[9,4,3,6,5,8,7,2,1,12,11,10]=>00000000100
[11,4,3,6,5,8,7,10,9,2,1,12]=>00000000001
[1,4,3,6,5,8,7,10,9,12,11,2]=>10000000000
[1,4,3,6,5,8,7,12,11,10,9,2]=>10000000000
[11,4,3,6,5,10,9,8,7,2,1,12]=>00000000001
[1,4,3,6,5,10,9,8,7,12,11,2]=>10000000000
[1,4,3,6,5,12,9,8,11,10,7,2]=>10000000000
[1,4,3,6,5,12,11,10,9,8,7,2]=>10000000000
[9,4,3,8,7,6,5,2,11,10,1,12]=>00000000001
[9,4,3,8,7,6,5,2,1,12,11,10]=>00000000100
[11,4,3,8,7,6,5,10,9,2,1,12]=>00000000001
[1,4,3,8,7,6,5,10,9,12,11,2]=>10000000000
[1,4,3,8,7,6,5,12,11,10,9,2]=>10000000000
[11,4,3,10,7,6,9,8,5,2,1,12]=>00000000001
[1,4,3,10,7,6,9,8,5,12,11,2]=>10000000000
[1,4,3,12,7,6,9,8,11,10,5,2]=>10000000000
[1,4,3,12,7,6,11,10,9,8,5,2]=>10000000000
[11,4,3,10,9,8,7,6,5,2,1,12]=>00000000001
[1,4,3,10,9,8,7,6,5,12,11,2]=>10000000000
[1,4,3,12,9,8,7,6,11,10,5,2]=>10000000000
[1,4,3,12,11,8,7,10,9,6,5,2]=>10000000000
[1,4,3,12,11,10,9,8,7,6,5,2]=>10000000000
[7,6,5,4,3,2,9,8,11,10,1,12]=>00000000001
[7,6,5,4,3,2,9,8,1,12,11,10]=>00000000100
[7,6,5,4,3,2,11,10,9,8,1,12]=>00000000001
[7,6,5,4,3,2,1,10,9,12,11,8]=>00000010000
[7,6,5,4,3,2,1,12,11,10,9,8]=>00000010000
[9,6,5,4,3,8,7,2,11,10,1,12]=>00000000001
[9,6,5,4,3,8,7,2,1,12,11,10]=>00000000100
[11,6,5,4,3,8,7,10,9,2,1,12]=>00000000001
[1,6,5,4,3,8,7,10,9,12,11,2]=>10000000000
[1,6,5,4,3,8,7,12,11,10,9,2]=>10000000000
[11,6,5,4,3,10,9,8,7,2,1,12]=>00000000001
[1,6,5,4,3,10,9,8,7,12,11,2]=>10000000000
[1,6,5,4,3,12,9,8,11,10,7,2]=>10000000000
[1,6,5,4,3,12,11,10,9,8,7,2]=>10000000000
[9,8,5,4,7,6,3,2,11,10,1,12]=>00000000001
[9,8,5,4,7,6,3,2,1,12,11,10]=>00000000100
[11,8,5,4,7,6,3,10,9,2,1,12]=>00000000001
[1,8,5,4,7,6,3,10,9,12,11,2]=>10000000000
[1,8,5,4,7,6,3,12,11,10,9,2]=>10000000000
[11,10,5,4,7,6,9,8,3,2,1,12]=>00000000001
[1,10,5,4,7,6,9,8,3,12,11,2]=>10000000000
[1,12,5,4,7,6,9,8,11,10,3,2]=>10000000000
[1,12,5,4,7,6,11,10,9,8,3,2]=>10000000000
[11,10,5,4,9,8,7,6,3,2,1,12]=>00000000001
[1,10,5,4,9,8,7,6,3,12,11,2]=>10000000000
[1,12,5,4,9,8,7,6,11,10,3,2]=>10000000000
[1,12,5,4,11,8,7,10,9,6,3,2]=>10000000000
[1,12,5,4,11,10,9,8,7,6,3,2]=>10000000000
[9,8,7,6,5,4,3,2,11,10,1,12]=>00000000001
[9,8,7,6,5,4,3,2,1,12,11,10]=>00000000100
[11,8,7,6,5,4,3,10,9,2,1,12]=>00000000001
[1,8,7,6,5,4,3,10,9,12,11,2]=>10000000000
[1,8,7,6,5,4,3,12,11,10,9,2]=>10000000000
[11,10,7,6,5,4,9,8,3,2,1,12]=>00000000001
[1,10,7,6,5,4,9,8,3,12,11,2]=>10000000000
[1,12,7,6,5,4,9,8,11,10,3,2]=>10000000000
[1,12,7,6,5,4,11,10,9,8,3,2]=>10000000000
[11,10,9,6,5,8,7,4,3,2,1,12]=>00000000001
[1,10,9,6,5,8,7,4,3,12,11,2]=>10000000000
[1,12,9,6,5,8,7,4,11,10,3,2]=>10000000000
[1,12,11,6,5,8,7,10,9,4,3,2]=>10000000000
[1,12,11,6,5,10,9,8,7,4,3,2]=>10000000000
[11,10,9,8,7,6,5,4,3,2,1,12]=>00000000001
[1,10,9,8,7,6,5,4,3,12,11,2]=>10000000000
[1,12,9,8,7,6,5,4,11,10,3,2]=>10000000000
[1,12,11,8,7,6,5,10,9,4,3,2]=>10000000000
[1,12,11,10,7,6,9,8,5,4,3,2]=>10000000000
[1,12,11,10,9,8,7,6,5,4,3,2]=>10000000000
[1,3,4,5,6,7,8,9,10,11,12,2]=>10000000000
[2,3,4,5,6,7,8,9,10,1,12,11]=>00000000010
[12,2,3,4,5,6,7,8,9,10,1,11]=>00000000000
[2,1,4,3,6,5,8,7,11,9,12,10]=>01010101000
[2,1,4,3,6,5,9,7,10,8,12,11]=>01010100010
[2,1,4,3,6,5,9,7,11,8,12,10]=>01010100000
[2,1,4,3,6,5,10,7,11,8,12,9]=>01010100000
[2,1,4,3,7,5,8,6,10,9,12,11]=>01010001010
[2,1,4,3,7,5,8,6,11,9,12,10]=>01010001000
[2,1,4,3,7,5,9,6,10,8,12,11]=>01010000010
[2,1,4,3,7,5,9,6,11,8,12,10]=>01010000000
[2,1,4,3,7,5,10,6,11,8,12,9]=>01010000000
[2,1,4,3,8,5,9,6,10,7,12,11]=>01010000010
[2,1,4,3,8,5,9,6,11,7,12,10]=>01010000000
[2,1,4,3,8,5,10,6,11,7,12,9]=>01010000000
[2,1,4,3,9,5,10,6,11,7,12,8]=>01010000000
[2,1,5,3,6,4,8,7,10,9,12,11]=>01000101010
[2,1,5,3,6,4,8,7,11,9,12,10]=>01000101000
[2,1,5,3,6,4,9,7,10,8,12,11]=>01000100010
[2,1,5,3,6,4,9,7,11,8,12,10]=>01000100000
[2,1,5,3,6,4,10,7,11,8,12,9]=>01000100000
[2,1,5,3,7,4,8,6,10,9,12,11]=>01000001010
[2,1,5,3,7,4,8,6,11,9,12,10]=>01000001000
[2,1,5,3,7,4,9,6,10,8,12,11]=>01000000010
[2,1,5,3,7,4,9,6,11,8,12,10]=>01000000000
[2,1,5,3,7,4,10,6,11,8,12,9]=>01000000000
[2,1,5,3,8,4,9,6,10,7,12,11]=>01000000010
[2,1,5,3,8,4,9,6,11,7,12,10]=>01000000000
[2,1,5,3,8,4,10,6,11,7,12,9]=>01000000000
[2,1,5,3,9,4,10,6,11,7,12,8]=>01000000000
[2,1,6,3,7,4,8,5,10,9,12,11]=>01000001010
[2,1,6,3,7,4,8,5,11,9,12,10]=>01000001000
[2,1,6,3,7,4,9,5,10,8,12,11]=>01000000010
[2,1,6,3,7,4,9,5,11,8,12,10]=>01000000000
[2,1,6,3,7,4,10,5,11,8,12,9]=>01000000000
[2,1,6,3,8,4,9,5,10,7,12,11]=>01000000010
[2,1,6,3,8,4,9,5,11,7,12,10]=>01000000000
[2,1,6,3,8,4,10,5,11,7,12,9]=>01000000000
[2,1,6,3,9,4,10,5,11,7,12,8]=>01000000000
[2,1,7,3,8,4,9,5,10,6,12,11]=>01000000010
[2,1,7,3,8,4,9,5,11,6,12,10]=>01000000000
[2,1,7,3,8,4,10,5,11,6,12,9]=>01000000000
[2,1,7,3,9,4,10,5,11,6,12,8]=>01000000000
[2,1,8,3,9,4,10,5,11,6,12,7]=>01000000000
[3,1,4,2,6,5,8,7,10,9,12,11]=>00010101010
[3,1,4,2,6,5,8,7,11,9,12,10]=>00010101000
[3,1,4,2,6,5,9,7,10,8,12,11]=>00010100010
[3,1,4,2,6,5,9,7,11,8,12,10]=>00010100000
[3,1,4,2,6,5,10,7,11,8,12,9]=>00010100000
[3,1,4,2,7,5,8,6,10,9,12,11]=>00010001010
[3,1,4,2,7,5,8,6,11,9,12,10]=>00010001000
[3,1,4,2,7,5,9,6,10,8,12,11]=>00010000010
[3,1,4,2,7,5,9,6,11,8,12,10]=>00010000000
[3,1,4,2,7,5,10,6,11,8,12,9]=>00010000000
[3,1,4,2,8,5,9,6,10,7,12,11]=>00010000010
[3,1,4,2,8,5,9,6,11,7,12,10]=>00010000000
[3,1,4,2,8,5,10,6,11,7,12,9]=>00010000000
[3,1,4,2,9,5,10,6,11,7,12,8]=>00010000000
[3,1,5,2,6,4,8,7,10,9,12,11]=>00000101010
[3,1,5,2,6,4,8,7,11,9,12,10]=>00000101000
[3,1,5,2,6,4,9,7,10,8,12,11]=>00000100010
[3,1,5,2,6,4,9,7,11,8,12,10]=>00000100000
[3,1,5,2,6,4,10,7,11,8,12,9]=>00000100000
[3,1,5,2,7,4,8,6,10,9,12,11]=>00000001010
[3,1,5,2,7,4,8,6,11,9,12,10]=>00000001000
[3,1,5,2,7,4,9,6,10,8,12,11]=>00000000010
[3,1,5,2,7,4,9,6,11,8,12,10]=>00000000000
[3,1,5,2,7,4,10,6,11,8,12,9]=>00000000000
[3,1,5,2,8,4,9,6,10,7,12,11]=>00000000010
[3,1,5,2,8,4,9,6,11,7,12,10]=>00000000000
[3,1,5,2,8,4,10,6,11,7,12,9]=>00000000000
[3,1,5,2,9,4,10,6,11,7,12,8]=>00000000000
[3,1,6,2,7,4,8,5,10,9,12,11]=>00000001010
[3,1,6,2,7,4,8,5,11,9,12,10]=>00000001000
[3,1,6,2,7,4,9,5,10,8,12,11]=>00000000010
[3,1,6,2,7,4,9,5,11,8,12,10]=>00000000000
[3,1,6,2,7,4,10,5,11,8,12,9]=>00000000000
[3,1,6,2,8,4,9,5,10,7,12,11]=>00000000010
[3,1,6,2,8,4,9,5,11,7,12,10]=>00000000000
[3,1,6,2,8,4,10,5,11,7,12,9]=>00000000000
[3,1,6,2,9,4,10,5,11,7,12,8]=>00000000000
[3,1,7,2,8,4,9,5,10,6,12,11]=>00000000010
[3,1,7,2,8,4,9,5,11,6,12,10]=>00000000000
[3,1,7,2,8,4,10,5,11,6,12,9]=>00000000000
[3,1,7,2,9,4,10,5,11,6,12,8]=>00000000000
[3,1,8,2,9,4,10,5,11,6,12,7]=>00000000000
[4,1,5,2,6,3,8,7,10,9,12,11]=>00000101010
[4,1,5,2,6,3,8,7,11,9,12,10]=>00000101000
[4,1,5,2,6,3,9,7,10,8,12,11]=>00000100010
[4,1,5,2,6,3,9,7,11,8,12,10]=>00000100000
[4,1,5,2,6,3,10,7,11,8,12,9]=>00000100000
[4,1,5,2,7,3,8,6,10,9,12,11]=>00000001010
[4,1,5,2,7,3,8,6,11,9,12,10]=>00000001000
[4,1,5,2,7,3,9,6,10,8,12,11]=>00000000010
[4,1,5,2,7,3,9,6,11,8,12,10]=>00000000000
[4,1,5,2,7,3,10,6,11,8,12,9]=>00000000000
[4,1,5,2,8,3,9,6,10,7,12,11]=>00000000010
[4,1,5,2,8,3,9,6,11,7,12,10]=>00000000000
[4,1,5,2,8,3,10,6,11,7,12,9]=>00000000000
[4,1,5,2,9,3,10,6,11,7,12,8]=>00000000000
[4,1,6,2,7,3,8,5,10,9,12,11]=>00000001010
[4,1,6,2,7,3,8,5,11,9,12,10]=>00000001000
[4,1,6,2,7,3,9,5,10,8,12,11]=>00000000010
[4,1,6,2,7,3,9,5,11,8,12,10]=>00000000000
[4,1,6,2,7,3,10,5,11,8,12,9]=>00000000000
[4,1,6,2,8,3,9,5,10,7,12,11]=>00000000010
[4,1,6,2,8,3,9,5,11,7,12,10]=>00000000000
[4,1,6,2,8,3,10,5,11,7,12,9]=>00000000000
[4,1,6,2,9,3,10,5,11,7,12,8]=>00000000000
[4,1,7,2,8,3,9,5,10,6,12,11]=>00000000010
[4,1,7,2,8,3,9,5,11,6,12,10]=>00000000000
[4,1,7,2,8,3,10,5,11,6,12,9]=>00000000000
[4,1,7,2,9,3,10,5,11,6,12,8]=>00000000000
[4,1,8,2,9,3,10,5,11,6,12,7]=>00000000000
[5,1,6,2,7,3,8,4,10,9,12,11]=>00000001010
[5,1,6,2,7,3,8,4,11,9,12,10]=>00000001000
[5,1,6,2,7,3,9,4,10,8,12,11]=>00000000010
[5,1,6,2,7,3,9,4,11,8,12,10]=>00000000000
[5,1,6,2,7,3,10,4,11,8,12,9]=>00000000000
[5,1,6,2,8,3,9,4,10,7,12,11]=>00000000010
[5,1,6,2,8,3,9,4,11,7,12,10]=>00000000000
[5,1,6,2,8,3,10,4,11,7,12,9]=>00000000000
[5,1,6,2,9,3,10,4,11,7,12,8]=>00000000000
[5,1,7,2,8,3,9,4,10,6,12,11]=>00000000010
[5,1,7,2,8,3,9,4,11,6,12,10]=>00000000000
[5,1,7,2,8,3,10,4,11,6,12,9]=>00000000000
[5,1,7,2,9,3,10,4,11,6,12,8]=>00000000000
[5,1,8,2,9,3,10,4,11,6,12,7]=>00000000000
[6,1,7,2,8,3,9,4,10,5,12,11]=>00000000010
[6,1,7,2,8,3,9,4,11,5,12,10]=>00000000000
[6,1,7,2,8,3,10,4,11,5,12,9]=>00000000000
[6,1,7,2,9,3,10,4,11,5,12,8]=>00000000000
[6,1,8,2,9,3,10,4,11,5,12,7]=>00000000000
[1,8,2,9,3,10,4,11,5,12,6,7]=>10000000000
[1,8,2,9,3,10,4,11,12,5,6,7]=>10000000000
[1,8,2,9,3,10,11,4,5,12,6,7]=>10000000000
[1,8,2,9,3,10,11,4,12,5,6,7]=>10000000000
[1,8,2,9,3,10,11,12,4,5,6,7]=>10000000000
[1,8,2,9,10,3,4,11,5,12,6,7]=>10000000000
[1,8,2,9,10,3,4,11,12,5,6,7]=>10000000000
[1,8,2,9,10,3,11,4,5,12,6,7]=>10000000000
[1,8,2,9,10,3,11,4,12,5,6,7]=>10000000000
[1,8,2,9,10,3,11,12,4,5,6,7]=>10000000000
[1,8,2,9,10,11,3,4,5,12,6,7]=>10000000000
[1,8,2,9,10,11,3,4,12,5,6,7]=>10000000000
[1,8,2,9,10,11,3,12,4,5,6,7]=>10000000000
[1,8,2,9,10,11,12,3,4,5,6,7]=>10000000000
[1,8,9,2,3,10,4,11,5,12,6,7]=>10000000000
[1,8,9,2,3,10,4,11,12,5,6,7]=>10000000000
[1,8,9,2,3,10,11,4,5,12,6,7]=>10000000000
[1,8,9,2,3,10,11,4,12,5,6,7]=>10000000000
[1,8,9,2,3,10,11,12,4,5,6,7]=>10000000000
[1,8,9,2,10,3,4,11,5,12,6,7]=>10000000000
[1,8,9,2,10,3,4,11,12,5,6,7]=>10000000000
[1,8,9,2,10,3,11,4,5,12,6,7]=>10000000000
[1,8,9,2,10,3,11,4,12,5,6,7]=>10000000000
[1,8,9,2,10,3,11,12,4,5,6,7]=>10000000000
[1,8,9,2,10,11,3,4,5,12,6,7]=>10000000000
[1,8,9,2,10,11,3,4,12,5,6,7]=>10000000000
[1,8,9,2,10,11,3,12,4,5,6,7]=>10000000000
[1,8,9,2,10,11,12,3,4,5,6,7]=>10000000000
[1,8,9,10,2,3,4,11,5,12,6,7]=>10000000000
[1,8,9,10,2,3,4,11,12,5,6,7]=>10000000000
[1,8,9,10,2,3,11,4,5,12,6,7]=>10000000000
[1,8,9,10,2,3,11,4,12,5,6,7]=>10000000000
[1,8,9,10,2,3,11,12,4,5,6,7]=>10000000000
[1,8,9,10,2,11,3,4,5,12,6,7]=>10000000000
[1,8,9,10,2,11,3,4,12,5,6,7]=>10000000000
[1,8,9,10,2,11,3,12,4,5,6,7]=>10000000000
[1,8,9,10,2,11,12,3,4,5,6,7]=>10000000000
[1,8,9,10,11,2,3,4,5,12,6,7]=>10000000000
[1,8,9,10,11,2,3,4,12,5,6,7]=>10000000000
[1,8,9,10,11,2,3,12,4,5,6,7]=>10000000000
[1,8,9,10,11,2,12,3,4,5,6,7]=>10000000000
[1,8,9,10,11,12,2,3,4,5,6,7]=>10000000000
[8,1,2,9,3,10,4,11,5,12,6,7]=>00000000000
[8,1,2,9,3,10,4,11,12,5,6,7]=>00000000000
[8,1,2,9,3,10,11,4,5,12,6,7]=>00000000000
[8,1,2,9,3,10,11,4,12,5,6,7]=>00000000000
[8,1,2,9,3,10,11,12,4,5,6,7]=>00000000000
[8,1,2,9,10,3,4,11,5,12,6,7]=>00000000000
[8,1,2,9,10,3,4,11,12,5,6,7]=>00000000000
[8,1,2,9,10,3,11,4,5,12,6,7]=>00000000000
[8,1,2,9,10,3,11,4,12,5,6,7]=>00000000000
[8,1,2,9,10,3,11,12,4,5,6,7]=>00000000000
[8,1,2,9,10,11,3,4,5,12,6,7]=>00000000000
[8,1,2,9,10,11,3,4,12,5,6,7]=>00000000000
[8,1,2,9,10,11,3,12,4,5,6,7]=>00000000000
[8,1,2,9,10,11,12,3,4,5,6,7]=>00000000000
[8,1,9,2,3,10,4,11,5,12,6,7]=>00000000000
[8,1,9,2,3,10,4,11,12,5,6,7]=>00000000000
[8,1,9,2,3,10,11,4,5,12,6,7]=>00000000000
[8,1,9,2,3,10,11,4,12,5,6,7]=>00000000000
[8,1,9,2,3,10,11,12,4,5,6,7]=>00000000000
[8,1,9,2,10,3,4,11,5,12,6,7]=>00000000000
[8,1,9,2,10,3,4,11,12,5,6,7]=>00000000000
[8,1,9,2,10,3,11,4,5,12,6,7]=>00000000000
[8,1,9,2,10,3,11,4,12,5,6,7]=>00000000000
[8,1,9,2,10,3,11,12,4,5,6,7]=>00000000000
[8,1,9,2,10,11,3,4,5,12,6,7]=>00000000000
[8,1,9,2,10,11,3,4,12,5,6,7]=>00000000000
[8,1,9,2,10,11,3,12,4,5,6,7]=>00000000000
[8,1,9,2,10,11,12,3,4,5,6,7]=>00000000000
[8,1,9,10,2,3,4,11,5,12,6,7]=>00000000000
[8,1,9,10,2,3,4,11,12,5,6,7]=>00000000000
[8,1,9,10,2,3,11,4,5,12,6,7]=>00000000000
[8,1,9,10,2,3,11,4,12,5,6,7]=>00000000000
[8,1,9,10,2,3,11,12,4,5,6,7]=>00000000000
[8,1,9,10,2,11,3,4,5,12,6,7]=>00000000000
[8,1,9,10,2,11,3,4,12,5,6,7]=>00000000000
[8,1,9,10,2,11,3,12,4,5,6,7]=>00000000000
[8,1,9,10,2,11,12,3,4,5,6,7]=>00000000000
[8,1,9,10,11,2,3,4,5,12,6,7]=>00000000000
[8,1,9,10,11,2,3,4,12,5,6,7]=>00000000000
[8,1,9,10,11,2,3,12,4,5,6,7]=>00000000000
[8,1,9,10,11,2,12,3,4,5,6,7]=>00000000000
[8,1,9,10,11,12,2,3,4,5,6,7]=>00000000000
[8,9,1,2,3,10,4,11,5,12,6,7]=>00000000000
[8,9,1,2,3,10,4,11,12,5,6,7]=>00000000000
[8,9,1,2,3,10,11,4,5,12,6,7]=>00000000000
[8,9,1,2,3,10,11,4,12,5,6,7]=>00000000000
[8,9,1,2,3,10,11,12,4,5,6,7]=>00000000000
[8,9,1,2,10,3,4,11,5,12,6,7]=>00000000000
[8,9,1,2,10,3,4,11,12,5,6,7]=>00000000000
[8,9,1,2,10,3,11,4,5,12,6,7]=>00000000000
[8,9,1,2,10,3,11,4,12,5,6,7]=>00000000000
[8,9,1,2,10,3,11,12,4,5,6,7]=>00000000000
[8,9,1,2,10,11,3,4,5,12,6,7]=>00000000000
[8,9,1,2,10,11,3,4,12,5,6,7]=>00000000000
[8,9,1,2,10,11,3,12,4,5,6,7]=>00000000000
[8,9,1,2,10,11,12,3,4,5,6,7]=>00000000000
[8,9,1,10,2,3,4,11,5,12,6,7]=>00000000000
[8,9,1,10,2,3,4,11,12,5,6,7]=>00000000000
[8,9,1,10,2,3,11,4,5,12,6,7]=>00000000000
[8,9,1,10,2,3,11,4,12,5,6,7]=>00000000000
[8,9,1,10,2,3,11,12,4,5,6,7]=>00000000000
[8,9,1,10,2,11,3,4,5,12,6,7]=>00000000000
[8,9,1,10,2,11,3,4,12,5,6,7]=>00000000000
[8,9,1,10,2,11,3,12,4,5,6,7]=>00000000000
[8,9,1,10,2,11,12,3,4,5,6,7]=>00000000000
[8,9,1,10,11,2,3,4,5,12,6,7]=>00000000000
[8,9,1,10,11,2,3,4,12,5,6,7]=>00000000000
[8,9,1,10,11,2,3,12,4,5,6,7]=>00000000000
[8,9,1,10,11,2,12,3,4,5,6,7]=>00000000000
[8,9,1,10,11,12,2,3,4,5,6,7]=>00000000000
[8,9,10,1,2,3,4,11,5,12,6,7]=>00000000000
[8,9,10,1,2,3,4,11,12,5,6,7]=>00000000000
[8,9,10,1,2,3,11,4,5,12,6,7]=>00000000000
[8,9,10,1,2,3,11,4,12,5,6,7]=>00000000000
[8,9,10,1,2,3,11,12,4,5,6,7]=>00000000000
[8,9,10,1,2,11,3,4,5,12,6,7]=>00000000000
[8,9,10,1,2,11,3,4,12,5,6,7]=>00000000000
[8,9,10,1,2,11,3,12,4,5,6,7]=>00000000000
[8,9,10,1,2,11,12,3,4,5,6,7]=>00000000000
[8,9,10,1,11,2,3,4,5,12,6,7]=>00000000000
[8,9,10,1,11,2,3,4,12,5,6,7]=>00000000000
[8,9,10,1,11,2,3,12,4,5,6,7]=>00000000000
[8,9,10,1,11,2,12,3,4,5,6,7]=>00000000000
[8,9,10,1,11,12,2,3,4,5,6,7]=>00000000000
[8,9,10,11,1,2,3,4,5,12,6,7]=>00000000000
[8,9,10,11,1,2,3,4,12,5,6,7]=>00000000000
[8,9,10,11,1,2,3,12,4,5,6,7]=>00000000000
[8,9,10,11,1,2,12,3,4,5,6,7]=>00000000000
[8,9,10,11,1,12,2,3,4,5,6,7]=>00000000000
[8,9,10,11,12,1,2,3,4,5,6,7]=>00000000000
[12,10,8,6,4,2,1,3,5,7,9,11]=>00000000000
[11,12,8,6,4,2,1,3,5,7,10,9]=>00000000000
[12,9,10,6,4,2,1,3,5,8,7,11]=>00000000000
[11,9,12,6,4,2,1,3,5,8,10,7]=>00000000000
[10,11,12,6,4,2,1,3,5,9,8,7]=>00000000000
[12,10,7,8,4,2,1,3,6,5,9,11]=>00000000000
[11,12,7,8,4,2,1,3,6,5,10,9]=>00000000000
[12,9,7,10,4,2,1,3,6,8,5,11]=>00000000000
[11,9,7,12,4,2,1,3,6,8,10,5]=>00000000000
[10,11,7,12,4,2,1,3,6,9,8,5]=>00000000000
[12,8,9,10,4,2,1,3,7,6,5,11]=>00000000000
[11,8,9,12,4,2,1,3,7,6,10,5]=>00000000000
[10,8,11,12,4,2,1,3,7,9,6,5]=>00000000000
[9,10,11,12,4,2,1,3,8,7,6,5]=>00000000000
[12,10,8,5,6,2,1,4,3,7,9,11]=>00000000000
[11,12,8,5,6,2,1,4,3,7,10,9]=>00000000000
[12,9,10,5,6,2,1,4,3,8,7,11]=>00000000000
[11,9,12,5,6,2,1,4,3,8,10,7]=>00000000000
[10,11,12,5,6,2,1,4,3,9,8,7]=>00000000000
[12,10,7,5,8,2,1,4,6,3,9,11]=>00000000000
[11,12,7,5,8,2,1,4,6,3,10,9]=>00000000000
[12,9,7,5,10,2,1,4,6,8,3,11]=>00000000000
[11,9,7,5,12,2,1,4,6,8,10,3]=>00000000000
[10,11,7,5,12,2,1,4,6,9,8,3]=>00000000000
[12,8,9,5,10,2,1,4,7,6,3,11]=>00000000000
[11,8,9,5,12,2,1,4,7,6,10,3]=>00000000000
[10,8,11,5,12,2,1,4,7,9,6,3]=>00000000000
[9,10,11,5,12,2,1,4,8,7,6,3]=>00000000000
[12,10,6,7,8,2,1,5,4,3,9,11]=>00000000000
[11,12,6,7,8,2,1,5,4,3,10,9]=>00000000000
[12,9,6,7,10,2,1,5,4,8,3,11]=>00000000000
[11,9,6,7,12,2,1,5,4,8,10,3]=>00000000000
[10,11,6,7,12,2,1,5,4,9,8,3]=>00000000000
[12,8,6,9,10,2,1,5,7,4,3,11]=>00000000000
[11,8,6,9,12,2,1,5,7,4,10,3]=>00000000000
[10,8,6,11,12,2,1,5,7,9,4,3]=>00000000000
[9,10,6,11,12,2,1,5,8,7,4,3]=>00000000000
[12,7,8,9,10,2,1,6,5,4,3,11]=>00000000000
[11,7,8,9,12,2,1,6,5,4,10,3]=>00000000000
[10,7,8,11,12,2,1,6,5,9,4,3]=>00000000000
[9,7,10,11,12,2,1,6,8,5,4,3]=>00000000000
[8,9,10,11,12,2,1,7,6,5,4,3]=>00000000000
[12,10,8,6,3,4,2,1,5,7,9,11]=>00000000000
[11,12,8,6,3,4,2,1,5,7,10,9]=>00000000000
[12,9,10,6,3,4,2,1,5,8,7,11]=>00000000000
[11,9,12,6,3,4,2,1,5,8,10,7]=>00000000000
[10,11,12,6,3,4,2,1,5,9,8,7]=>00000000000
[12,10,7,8,3,4,2,1,6,5,9,11]=>00000000000
[11,12,7,8,3,4,2,1,6,5,10,9]=>00000000000
[12,9,7,10,3,4,2,1,6,8,5,11]=>00000000000
[11,9,7,12,3,4,2,1,6,8,10,5]=>00000000000
[10,11,7,12,3,4,2,1,6,9,8,5]=>00000000000
[12,8,9,10,3,4,2,1,7,6,5,11]=>00000000000
[11,8,9,12,3,4,2,1,7,6,10,5]=>00000000000
[10,8,11,12,3,4,2,1,7,9,6,5]=>00000000000
[9,10,11,12,3,4,2,1,8,7,6,5]=>00000000000
[12,10,8,5,3,6,2,4,1,7,9,11]=>00000000000
[11,12,8,5,3,6,2,4,1,7,10,9]=>00000000000
[12,9,10,5,3,6,2,4,1,8,7,11]=>00000000000
[11,9,12,5,3,6,2,4,1,8,10,7]=>00000000000
[10,11,12,5,3,6,2,4,1,9,8,7]=>00000000000
[12,10,7,5,3,8,2,4,6,1,9,11]=>00000000000
[11,12,7,5,3,8,2,4,6,1,10,9]=>00000000000
[12,9,7,5,3,10,2,4,6,8,1,11]=>00000000000
[11,9,7,5,3,12,2,4,6,8,10,1]=>00000000000
[10,11,7,5,3,12,2,4,6,9,8,1]=>00000000000
[12,8,9,5,3,10,2,4,7,6,1,11]=>00000000000
[11,8,9,5,3,12,2,4,7,6,10,1]=>00000000000
[10,8,11,5,3,12,2,4,7,9,6,1]=>00000000000
[9,10,11,5,3,12,2,4,8,7,6,1]=>00000000000
[12,10,6,7,3,8,2,5,4,1,9,11]=>00000000000
[11,12,6,7,3,8,2,5,4,1,10,9]=>00000000000
[12,9,6,7,3,10,2,5,4,8,1,11]=>00000000000
[11,9,6,7,3,12,2,5,4,8,10,1]=>00000000000
[10,11,6,7,3,12,2,5,4,9,8,1]=>00000000000
[12,8,6,9,3,10,2,5,7,4,1,11]=>00000000000
[11,8,6,9,3,12,2,5,7,4,10,1]=>00000000000
[10,8,6,11,3,12,2,5,7,9,4,1]=>00000000000
[9,10,6,11,3,12,2,5,8,7,4,1]=>00000000000
[12,7,8,9,3,10,2,6,5,4,1,11]=>00000000000
[11,7,8,9,3,12,2,6,5,4,10,1]=>00000000000
[10,7,8,11,3,12,2,6,5,9,4,1]=>00000000000
[9,7,10,11,3,12,2,6,8,5,4,1]=>00000000000
[8,9,10,11,3,12,2,7,6,5,4,1]=>00000000000
[12,10,8,4,5,6,3,2,1,7,9,11]=>00000000000
[11,12,8,4,5,6,3,2,1,7,10,9]=>00000000000
[12,9,10,4,5,6,3,2,1,8,7,11]=>00000000000
[11,9,12,4,5,6,3,2,1,8,10,7]=>00000000000
[10,11,12,4,5,6,3,2,1,9,8,7]=>00000000000
[12,10,7,4,5,8,3,2,6,1,9,11]=>00000000000
[11,12,7,4,5,8,3,2,6,1,10,9]=>00000000000
[12,9,7,4,5,10,3,2,6,8,1,11]=>00000000000
[11,9,7,4,5,12,3,2,6,8,10,1]=>00000000000
[10,11,7,4,5,12,3,2,6,9,8,1]=>00000000000
[12,8,9,4,5,10,3,2,7,6,1,11]=>00000000000
[11,8,9,4,5,12,3,2,7,6,10,1]=>00000000000
[10,8,11,4,5,12,3,2,7,9,6,1]=>00000000000
[9,10,11,4,5,12,3,2,8,7,6,1]=>00000000000
[12,10,6,4,7,8,3,5,2,1,9,11]=>00000000000
[11,12,6,4,7,8,3,5,2,1,10,9]=>00000000000
[12,9,6,4,7,10,3,5,2,8,1,11]=>00000000000
[11,9,6,4,7,12,3,5,2,8,10,1]=>00000000000
[10,11,6,4,7,12,3,5,2,9,8,1]=>00000000000
[12,8,6,4,9,10,3,5,7,2,1,11]=>00000000000
[11,8,6,4,9,12,3,5,7,2,10,1]=>00000000000
[10,8,6,4,11,12,3,5,7,9,2,1]=>00000000000
[9,10,6,4,11,12,3,5,8,7,2,1]=>00000000000
[12,7,8,4,9,10,3,6,5,2,1,11]=>00000000000
[11,7,8,4,9,12,3,6,5,2,10,1]=>00000000000
[10,7,8,4,11,12,3,6,5,9,2,1]=>00000000000
[9,7,10,4,11,12,3,6,8,5,2,1]=>00000000000
[8,9,10,4,11,12,3,7,6,5,2,1]=>00000000000
[12,10,5,6,7,8,4,3,2,1,9,11]=>00000000000
[11,12,5,6,7,8,4,3,2,1,10,9]=>00000000000
[12,9,5,6,7,10,4,3,2,8,1,11]=>00000000000
[11,9,5,6,7,12,4,3,2,8,10,1]=>00000000000
[10,11,5,6,7,12,4,3,2,9,8,1]=>00000000000
[12,8,5,6,9,10,4,3,7,2,1,11]=>00000000000
[11,8,5,6,9,12,4,3,7,2,10,1]=>00000000000
[10,8,5,6,11,12,4,3,7,9,2,1]=>00000000000
[9,10,5,6,11,12,4,3,8,7,2,1]=>00000000000
[12,7,5,8,9,10,4,6,3,2,1,11]=>00000000000
[11,7,5,8,9,12,4,6,3,2,10,1]=>00000000000
[10,7,5,8,11,12,4,6,3,9,2,1]=>00000000000
[9,7,5,10,11,12,4,6,8,3,2,1]=>00000000000
[8,9,5,10,11,12,4,7,6,3,2,1]=>00000000000
[12,6,7,8,9,10,5,4,3,2,1,11]=>00000000000
[11,6,7,8,9,12,5,4,3,2,10,1]=>00000000000
[10,6,7,8,11,12,5,4,3,9,2,1]=>00000000000
[9,6,7,10,11,12,5,4,8,3,2,1]=>00000000000
[8,6,9,10,11,12,5,7,4,3,2,1]=>00000000000
[12,11,10,8,6,4,2,1,3,5,7,9]=>00000000000
[12,10,9,8,6,4,2,1,3,5,7,11]=>00000000000
[12,9,11,8,6,4,2,1,3,5,10,7]=>00000000000
[12,11,10,9,8,6,4,2,1,3,5,7]=>00000000000
[12,10,8,7,6,4,2,1,3,5,9,11]=>00000000000
[12,11,10,8,7,6,4,2,1,3,5,9]=>00000000000
[12,10,7,9,6,4,2,1,3,8,5,11]=>00000000000
[12,7,11,9,6,4,2,1,3,8,10,5]=>00000000000
[12,11,10,7,9,6,4,2,1,3,8,5]=>00000000000
[12,10,9,8,7,6,4,2,1,3,5,11]=>00000000000
[12,9,11,8,7,6,4,2,1,3,10,5]=>00000000000
[12,8,11,10,7,9,4,2,1,3,6,5]=>00000000000
[12,11,10,9,8,7,6,4,2,1,3,5]=>00000000000
[12,10,8,6,5,4,2,1,3,7,9,11]=>00000000000
[12,11,10,8,6,5,4,2,1,3,7,9]=>00000000000
[12,10,9,8,6,5,4,2,1,3,7,11]=>00000000000
[12,9,11,8,6,5,4,2,1,3,10,7]=>00000000000
[12,11,10,9,8,6,5,4,2,1,3,7]=>00000000000
[12,10,8,5,7,4,2,1,6,3,9,11]=>00000000000
[12,11,10,8,5,7,4,2,1,6,3,9]=>00000000000
[12,10,5,9,7,4,2,1,6,8,3,11]=>00000000000
[12,5,11,9,7,4,2,1,6,8,10,3]=>00000000000
[12,11,10,5,9,7,4,2,1,6,8,3]=>00000000000
[12,10,9,8,5,7,4,2,1,6,3,11]=>00000000000
[12,9,11,8,5,7,4,2,1,6,10,3]=>00000000000
[12,11,5,10,8,7,4,2,1,9,6,3]=>00000000000
[12,11,10,9,8,5,7,4,2,1,6,3]=>00000000000
[12,10,8,7,6,5,4,2,1,3,9,11]=>00000000000
[12,11,10,8,7,6,5,4,2,1,3,9]=>00000000000
[12,10,7,9,6,5,4,2,1,8,3,11]=>00000000000
[12,7,11,9,6,5,4,2,1,8,10,3]=>00000000000
[12,11,10,7,9,6,5,4,2,1,8,3]=>00000000000
[12,10,6,9,8,5,7,2,1,4,3,11]=>00000000000
[12,6,11,9,8,5,7,2,1,4,10,3]=>00000000000
[12,6,11,8,10,5,7,2,1,9,4,3]=>00000000000
[12,11,10,6,9,8,5,7,2,1,4,3]=>00000000000
[12,10,9,8,7,6,5,4,2,1,3,11]=>00000000000
[12,9,11,8,7,6,5,4,2,1,10,3]=>00000000000
[12,8,11,10,7,6,5,9,2,1,4,3]=>00000000000
[12,7,11,10,9,6,8,5,2,1,4,3]=>00000000000
[12,11,10,9,8,7,6,5,4,2,1,3]=>00000000000
[12,10,8,6,4,3,2,1,5,7,9,11]=>00000000000
[12,11,10,8,6,4,3,2,1,5,7,9]=>00000000000
[12,10,9,8,6,4,3,2,1,5,7,11]=>00000000000
[12,9,11,8,6,4,3,2,1,5,10,7]=>00000000000
[12,11,10,9,8,6,4,3,2,1,5,7]=>00000000000
[12,10,8,7,6,4,3,2,1,5,9,11]=>00000000000
[12,11,10,8,7,6,4,3,2,1,5,9]=>00000000000
[12,10,7,9,6,4,3,2,1,8,5,11]=>00000000000
[12,7,11,9,6,4,3,2,1,8,10,5]=>00000000000
[12,11,10,7,9,6,4,3,2,1,8,5]=>00000000000
[12,10,9,8,7,6,4,3,2,1,5,11]=>00000000000
[12,9,11,8,7,6,4,3,2,1,10,5]=>00000000000
[12,8,11,10,7,9,4,3,2,1,6,5]=>00000000000
[12,11,10,9,8,7,6,4,3,2,1,5]=>00000000000
[12,10,8,6,3,5,2,4,1,7,9,11]=>00000000000
[12,11,10,8,6,3,5,2,4,1,7,9]=>00000000000
[12,10,9,8,6,3,5,2,4,1,7,11]=>00000000000
[12,9,11,8,6,3,5,2,4,1,10,7]=>00000000000
[12,11,10,9,8,6,3,5,2,4,1,7]=>00000000000
[12,10,8,3,7,5,2,4,6,1,9,11]=>00000000000
[12,11,10,8,3,7,5,2,4,6,1,9]=>00000000000
[12,10,3,9,7,5,2,4,6,8,1,11]=>00000000000
[12,3,11,9,7,5,2,4,6,8,10,1]=>00000000000
[12,11,10,3,9,7,5,2,4,6,8,1]=>00000000000
[12,10,9,8,3,7,5,2,4,6,1,11]=>00000000000
[12,9,11,8,3,7,5,2,4,6,10,1]=>00000000000
[12,11,3,10,8,7,5,2,4,9,6,1]=>00000000000
[12,11,10,9,8,3,7,5,2,4,6,1]=>00000000000
[12,10,8,7,6,3,5,2,4,1,9,11]=>00000000000
[12,11,10,8,7,6,3,5,2,4,1,9]=>00000000000
[12,10,7,9,6,3,5,2,4,8,1,11]=>00000000000
[12,7,11,9,6,3,5,2,4,8,10,1]=>00000000000
[12,11,10,7,9,6,3,5,2,4,8,1]=>00000000000
[12,10,9,3,8,6,5,2,7,4,1,11]=>00000000000
[12,9,11,3,8,6,5,2,7,4,10,1]=>00000000000
[12,11,3,8,10,6,5,2,7,9,4,1]=>00000000000
[12,11,10,9,3,8,6,5,2,7,4,1]=>00000000000
[12,10,9,8,7,6,3,5,2,4,1,11]=>00000000000
[12,9,11,8,7,6,3,5,2,4,10,1]=>00000000000
[12,8,11,10,7,6,3,5,2,9,4,1]=>00000000000
[12,11,10,3,9,7,6,8,2,5,4,1]=>00000000000
[12,11,10,9,8,7,6,3,5,2,4,1]=>00000000000
[12,10,8,6,5,4,3,2,1,7,9,11]=>00000000000
[12,11,10,8,6,5,4,3,2,1,7,9]=>00000000000
[12,10,9,8,6,5,4,3,2,1,7,11]=>00000000000
[12,9,11,8,6,5,4,3,2,1,10,7]=>00000000000
[12,11,10,9,8,6,5,4,3,2,1,7]=>00000000000
[12,10,8,5,7,4,3,2,6,1,9,11]=>00000000000
[12,11,10,8,5,7,4,3,2,6,1,9]=>00000000000
[12,10,5,9,7,4,3,2,6,8,1,11]=>00000000000
[12,5,11,9,7,4,3,2,6,8,10,1]=>00000000000
[12,11,10,5,9,7,4,3,2,6,8,1]=>00000000000
[12,10,9,8,5,7,4,3,2,6,1,11]=>00000000000
[12,9,11,8,5,7,4,3,2,6,10,1]=>00000000000
[12,11,5,10,8,7,4,3,2,9,6,1]=>00000000000
[12,11,10,9,8,5,7,4,3,2,6,1]=>00000000000
[12,10,8,4,7,6,3,5,2,1,9,11]=>00000000000
[12,11,10,8,4,7,6,3,5,2,1,9]=>00000000000
[12,10,4,9,7,6,3,5,2,8,1,11]=>00000000000
[12,4,11,9,7,6,3,5,2,8,10,1]=>00000000000
[12,11,10,4,9,7,6,3,5,2,8,1]=>00000000000
[12,10,4,9,6,8,3,5,7,2,1,11]=>00000000000
[12,4,11,9,6,8,3,5,7,2,10,1]=>00000000000
[12,4,11,6,10,8,3,5,7,9,2,1]=>00000000000
[12,11,10,4,9,6,8,3,5,7,2,1]=>00000000000
[12,10,9,8,4,7,6,3,5,2,1,11]=>00000000000
[12,9,11,8,4,7,6,3,5,2,10,1]=>00000000000
[12,8,11,10,4,7,6,3,5,9,2,1]=>00000000000
[12,11,4,10,7,9,6,3,8,5,2,1]=>00000000000
[12,11,10,9,8,4,7,6,3,5,2,1]=>00000000000
[12,10,8,7,6,5,4,3,2,1,9,11]=>00000000000
[12,11,10,8,7,6,5,4,3,2,1,9]=>00000000000
[12,10,7,9,6,5,4,3,2,8,1,11]=>00000000000
[12,7,11,9,6,5,4,3,2,8,10,1]=>00000000000
[12,11,10,7,9,6,5,4,3,2,8,1]=>00000000000
[12,10,6,9,8,5,4,3,7,2,1,11]=>00000000000
[12,6,11,9,8,5,4,3,7,2,10,1]=>00000000000
[12,6,11,8,10,5,4,3,7,9,2,1]=>00000000000
[12,11,10,6,9,8,5,4,3,7,2,1]=>00000000000
[12,10,5,9,8,7,4,6,3,2,1,11]=>00000000000
[12,5,11,9,8,7,4,6,3,2,10,1]=>00000000000
[12,5,11,8,10,7,4,6,3,9,2,1]=>00000000000
[12,5,11,7,10,9,4,6,8,3,2,1]=>00000000000
[12,11,10,5,9,8,7,4,6,3,2,1]=>00000000000
[12,9,11,8,7,6,5,4,3,2,10,1]=>00000000000
[12,8,11,10,7,6,5,4,3,9,2,1]=>00000000000
[12,7,11,10,9,6,5,4,8,3,2,1]=>00000000000
[12,6,11,10,9,8,5,7,4,3,2,1]=>00000000000
[2,1,4,3,6,5,8,7,9,11,12,10]=>01010101100
[2,1,4,3,6,5,7,9,10,8,12,11]=>01010110010
[2,1,4,3,6,5,7,9,8,11,12,10]=>01010110100
[2,1,4,3,6,5,7,8,10,11,12,9]=>01010111000
[2,1,4,3,5,7,8,6,10,9,12,11]=>01011001010
[2,1,4,3,5,7,8,6,9,11,12,10]=>01011001100
[2,1,4,3,5,7,6,9,10,8,12,11]=>01011010010
[2,1,4,3,5,7,6,9,8,11,12,10]=>01011010100
[2,1,4,3,5,7,6,8,10,11,12,9]=>01011011000
[2,1,4,3,5,6,8,9,10,7,12,11]=>01011100010
[2,1,4,3,5,6,8,9,7,11,12,10]=>01011100100
[2,1,4,3,5,6,8,7,10,11,12,9]=>01011101000
[2,1,4,3,5,6,7,9,10,11,12,8]=>01011110000
[2,1,3,5,6,4,8,7,10,9,12,11]=>01100101010
[2,1,3,5,6,4,8,7,9,11,12,10]=>01100101100
[2,1,3,5,6,4,7,9,10,8,12,11]=>01100110010
[2,1,3,5,6,4,7,9,8,11,12,10]=>01100110100
[2,1,3,5,6,4,7,8,10,11,12,9]=>01100111000
[2,1,3,5,4,7,8,6,10,9,12,11]=>01101001010
[2,1,3,5,4,7,8,6,9,11,12,10]=>01101001100
[2,1,3,5,4,7,6,9,10,8,12,11]=>01101010010
[2,1,3,5,4,7,6,9,8,11,12,10]=>01101010100
[2,1,3,5,4,7,6,8,10,11,12,9]=>01101011000
[2,1,3,5,4,6,8,9,10,7,12,11]=>01101100010
[2,1,3,5,4,6,8,9,7,11,12,10]=>01101100100
[2,1,3,5,4,6,8,7,10,11,12,9]=>01101101000
[2,1,3,5,4,6,7,9,10,11,12,8]=>01101110000
[2,1,3,4,6,7,8,5,10,9,12,11]=>01110001010
[2,1,3,4,6,7,8,5,9,11,12,10]=>01110001100
[2,1,3,4,6,7,5,9,10,8,12,11]=>01110010010
[2,1,3,4,6,7,5,9,8,11,12,10]=>01110010100
[2,1,3,4,6,7,5,8,10,11,12,9]=>01110011000
[2,1,3,4,6,5,8,9,10,7,12,11]=>01110100010
[2,1,3,4,6,5,8,9,7,11,12,10]=>01110100100
[2,1,3,4,6,5,8,7,10,11,12,9]=>01110101000
[2,1,3,4,6,5,7,9,10,11,12,8]=>01110110000
[2,1,3,4,5,7,8,9,10,6,12,11]=>01111000010
[2,1,3,4,5,7,8,9,6,11,12,10]=>01111000100
[2,1,3,4,5,7,8,6,10,11,12,9]=>01111001000
[2,1,3,4,5,7,6,9,10,11,12,8]=>01111010000
[2,1,3,4,5,6,8,9,10,11,12,7]=>01111100000
[1,3,4,2,6,5,8,7,10,9,12,11]=>10010101010
[1,3,4,2,6,5,8,7,9,11,12,10]=>10010101100
[1,3,4,2,6,5,7,9,10,8,12,11]=>10010110010
[1,3,4,2,6,5,7,9,8,11,12,10]=>10010110100
[1,3,4,2,6,5,7,8,10,11,12,9]=>10010111000
[1,3,4,2,5,7,8,6,10,9,12,11]=>10011001010
[1,3,4,2,5,7,8,6,9,11,12,10]=>10011001100
[1,3,4,2,5,7,6,9,10,8,12,11]=>10011010010
[1,3,4,2,5,7,6,9,8,11,12,10]=>10011010100
[1,3,4,2,5,7,6,8,10,11,12,9]=>10011011000
[1,3,4,2,5,6,8,9,10,7,12,11]=>10011100010
[1,3,4,2,5,6,8,9,7,11,12,10]=>10011100100
[1,3,4,2,5,6,8,7,10,11,12,9]=>10011101000
[1,3,4,2,5,6,7,9,10,11,12,8]=>10011110000
[1,3,2,5,6,4,8,7,10,9,12,11]=>10100101010
[1,3,2,5,6,4,8,7,9,11,12,10]=>10100101100
[1,3,2,5,6,4,7,9,10,8,12,11]=>10100110010
[1,3,2,5,6,4,7,9,8,11,12,10]=>10100110100
[1,3,2,5,6,4,7,8,10,11,12,9]=>10100111000
[1,3,2,5,4,7,8,6,10,9,12,11]=>10101001010
[1,3,2,5,4,7,8,6,9,11,12,10]=>10101001100
[1,3,2,5,4,7,6,9,10,8,12,11]=>10101010010
[1,3,2,5,4,7,6,9,8,11,12,10]=>10101010100
[1,3,2,5,4,7,6,8,10,11,12,9]=>10101011000
[1,3,2,5,4,6,8,9,10,7,12,11]=>10101100010
[1,3,2,5,4,6,8,9,7,11,12,10]=>10101100100
[1,3,2,5,4,6,8,7,10,11,12,9]=>10101101000
[1,3,2,5,4,6,7,9,10,11,12,8]=>10101110000
[1,3,2,4,6,7,8,5,10,9,12,11]=>10110001010
[1,3,2,4,6,7,8,5,9,11,12,10]=>10110001100
[1,3,2,4,6,7,5,9,10,8,12,11]=>10110010010
[1,3,2,4,6,7,5,9,8,11,12,10]=>10110010100
[1,3,2,4,6,7,5,8,10,11,12,9]=>10110011000
[1,3,2,4,6,5,8,9,10,7,12,11]=>10110100010
[1,3,2,4,6,5,8,9,7,11,12,10]=>10110100100
[1,3,2,4,6,5,8,7,10,11,12,9]=>10110101000
[1,3,2,4,6,5,7,9,10,11,12,8]=>10110110000
[1,3,2,4,5,7,8,9,10,6,12,11]=>10111000010
[1,3,2,4,5,7,8,9,6,11,12,10]=>10111000100
[1,3,2,4,5,7,8,6,10,11,12,9]=>10111001000
[1,3,2,4,5,7,6,9,10,11,12,8]=>10111010000
[1,3,2,4,5,6,8,9,10,11,12,7]=>10111100000
[1,2,4,5,6,3,8,7,10,9,12,11]=>11000101010
[1,2,4,5,6,3,8,7,9,11,12,10]=>11000101100
[1,2,4,5,6,3,7,9,10,8,12,11]=>11000110010
[1,2,4,5,6,3,7,9,8,11,12,10]=>11000110100
[1,2,4,5,6,3,7,8,10,11,12,9]=>11000111000
[1,2,4,5,3,7,8,6,10,9,12,11]=>11001001010
[1,2,4,5,3,7,8,6,9,11,12,10]=>11001001100
[1,2,4,5,3,7,6,9,10,8,12,11]=>11001010010
[1,2,4,5,3,7,6,9,8,11,12,10]=>11001010100
[1,2,4,5,3,7,6,8,10,11,12,9]=>11001011000
[1,2,4,5,3,6,8,9,10,7,12,11]=>11001100010
[1,2,4,5,3,6,8,9,7,11,12,10]=>11001100100
[1,2,4,5,3,6,8,7,10,11,12,9]=>11001101000
[1,2,4,5,3,6,7,9,10,11,12,8]=>11001110000
[1,2,4,3,6,7,8,5,10,9,12,11]=>11010001010
[1,2,4,3,6,7,8,5,9,11,12,10]=>11010001100
[1,2,4,3,6,7,5,9,10,8,12,11]=>11010010010
[1,2,4,3,6,7,5,9,8,11,12,10]=>11010010100
[1,2,4,3,6,7,5,8,10,11,12,9]=>11010011000
[1,2,4,3,6,5,8,9,10,7,12,11]=>11010100010
[1,2,4,3,6,5,8,9,7,11,12,10]=>11010100100
[1,2,4,3,6,5,8,7,10,11,12,9]=>11010101000
[1,2,4,3,6,5,7,9,10,11,12,8]=>11010110000
[1,2,4,3,5,7,8,9,10,6,12,11]=>11011000010
[1,2,4,3,5,7,8,9,6,11,12,10]=>11011000100
[1,2,4,3,5,7,8,6,10,11,12,9]=>11011001000
[1,2,4,3,5,7,6,9,10,11,12,8]=>11011010000
[1,2,4,3,5,6,8,9,10,11,12,7]=>11011100000
[1,2,3,5,6,7,8,4,10,9,12,11]=>11100001010
[1,2,3,5,6,7,8,4,9,11,12,10]=>11100001100
[1,2,3,5,6,7,4,9,10,8,12,11]=>11100010010
[1,2,3,5,6,7,4,9,8,11,12,10]=>11100010100
[1,2,3,5,6,7,4,8,10,11,12,9]=>11100011000
[1,2,3,5,6,4,8,9,10,7,12,11]=>11100100010
[1,2,3,5,6,4,8,9,7,11,12,10]=>11100100100
[1,2,3,5,6,4,8,7,10,11,12,9]=>11100101000
[1,2,3,5,6,4,7,9,10,11,12,8]=>11100110000
[1,2,3,5,4,7,8,9,10,6,12,11]=>11101000010
[1,2,3,5,4,7,8,9,6,11,12,10]=>11101000100
[1,2,3,5,4,7,8,6,10,11,12,9]=>11101001000
[1,2,3,5,4,7,6,9,10,11,12,8]=>11101010000
[1,2,3,5,4,6,8,9,10,11,12,7]=>11101100000
[1,2,3,4,6,7,8,9,10,5,12,11]=>11110000010
[1,2,3,4,6,7,8,9,5,11,12,10]=>11110000100
[1,2,3,4,6,7,8,5,10,11,12,9]=>11110001000
[1,2,3,4,6,7,5,9,10,11,12,8]=>11110010000
[1,2,3,4,6,5,8,9,10,11,12,7]=>11110100000
[1,2,3,4,5,7,8,9,10,11,12,6]=>11111000000
[11,12,8,2,1,6,4,3,5,7,9,10]=>00000000000
[12,2,9,1,10,6,4,3,5,7,8,11]=>00000000000
[11,12,2,1,9,6,4,3,5,7,8,10]=>00000000000
[10,2,4,1,11,3,12,6,5,7,8,9]=>00000000000
[7,12,10,2,1,8,4,3,5,6,9,11]=>00000000000
[2,11,7,1,12,8,4,3,5,6,9,10]=>00000000000
[9,12,2,1,10,7,4,3,5,6,8,11]=>00000000000
[2,11,1,12,9,7,4,3,5,6,8,10]=>00000000000
[10,11,2,1,4,3,12,7,5,6,8,9]=>00000000000
[8,12,2,1,9,4,3,10,5,6,7,11]=>00000000000
[2,11,1,12,8,4,3,9,5,6,7,10]=>00000000000
[2,10,1,11,4,3,12,8,5,6,7,9]=>00000000000
[2,9,1,10,4,3,11,5,12,6,7,8]=>00000000000
[12,10,8,5,2,1,6,3,4,7,9,11]=>00000000000
[5,11,2,1,12,8,6,3,4,7,9,10]=>00000000000
[12,9,5,2,1,10,6,3,4,7,8,11]=>00000000000
[11,5,2,1,12,9,6,3,4,7,8,10]=>00000000000
[10,11,2,1,5,3,12,6,4,7,8,9]=>00000000000
[12,10,7,2,1,8,5,3,4,6,9,11]=>00000000000
[11,7,2,1,12,8,5,3,4,6,9,10]=>00000000000
[12,9,2,1,10,7,5,3,4,6,8,11]=>00000000000
[11,2,1,12,9,7,5,3,4,6,8,10]=>00000000000
[10,11,2,1,3,12,7,5,4,6,8,9]=>00000000000
[8,9,2,1,12,3,10,5,4,6,7,11]=>00000000000
[11,8,2,1,12,3,9,5,4,6,7,10]=>00000000000
[2,10,1,11,3,12,8,5,4,6,7,9]=>00000000000
[2,9,1,10,3,11,5,4,12,6,7,8]=>00000000000
[12,10,6,2,1,7,3,8,4,5,9,11]=>00000000000
[11,6,2,1,12,7,3,8,4,5,9,10]=>00000000000
[12,9,2,1,10,6,3,7,4,5,8,11]=>00000000000
[11,2,1,12,9,6,3,7,4,5,8,10]=>00000000000
[10,2,1,11,6,3,12,7,4,5,8,9]=>00000000000
[12,8,2,1,9,3,10,6,4,5,7,11]=>00000000000
[11,2,1,12,8,3,9,6,4,5,7,10]=>00000000000
[10,2,1,11,3,12,8,6,4,5,7,9]=>00000000000
[2,9,1,10,3,11,4,12,6,5,7,8]=>00000000000
[12,7,2,1,8,3,9,4,10,5,6,11]=>00000000000
[11,2,1,12,7,3,8,4,9,5,6,10]=>00000000000
[10,2,1,11,3,12,7,4,8,5,6,9]=>00000000000
[9,2,1,10,3,11,4,12,7,5,6,8]=>00000000000
[8,2,1,9,3,10,4,11,5,12,6,7]=>00000000000
[12,10,8,6,3,1,4,2,5,7,9,11]=>00000000000
[11,12,3,1,8,6,4,2,5,7,9,10]=>00000000000
[9,12,3,1,10,6,4,2,5,7,8,11]=>00000000000
[3,11,1,12,9,6,4,2,5,7,8,10]=>00000000000
[3,10,4,1,11,2,12,6,5,7,8,9]=>00000000000
[12,10,7,3,1,8,4,2,5,6,9,11]=>00000000000
[11,7,3,1,12,8,4,2,5,6,9,10]=>00000000000
[12,9,3,1,10,7,4,2,5,6,8,11]=>00000000000
[11,3,1,12,9,7,4,2,5,6,8,10]=>00000000000
[3,10,1,11,4,2,12,7,5,6,8,9]=>00000000000
[12,8,3,1,9,4,2,10,5,6,7,11]=>00000000000
[11,3,1,12,8,4,2,9,5,6,7,10]=>00000000000
[10,3,1,11,4,2,12,8,5,6,7,9]=>00000000000
[9,3,1,10,4,2,11,5,12,6,7,8]=>00000000000
[12,10,8,5,1,6,3,2,4,7,9,11]=>00000000000
[5,11,1,12,8,6,3,2,4,7,9,10]=>00000000000
[12,9,5,1,10,6,3,2,4,7,8,11]=>00000000000
[11,5,1,12,9,6,3,2,4,7,8,10]=>00000000000
[3,10,1,11,5,2,12,6,4,7,8,9]=>00000000000
[12,10,7,1,8,5,3,2,4,6,9,11]=>00000000000
[11,7,1,12,8,5,3,2,4,6,9,10]=>00000000000
[12,9,1,10,7,5,3,2,4,6,8,11]=>00000000000
[11,1,12,9,7,5,3,2,4,6,8,10]=>00000000000
[3,10,1,11,2,12,7,5,4,6,8,9]=>00000000000
[8,9,1,12,3,2,10,5,4,6,7,11]=>00000000000
[11,8,1,12,3,2,9,5,4,6,7,10]=>00000000000
[10,3,1,11,2,12,8,5,4,6,7,9]=>00000000000
[9,3,1,10,2,11,5,4,12,6,7,8]=>00000000000
[12,10,6,1,7,3,2,8,4,5,9,11]=>00000000000
[11,6,1,12,7,3,2,8,4,5,9,10]=>00000000000
[12,9,1,10,6,3,2,7,4,5,8,11]=>00000000000
[11,1,12,9,6,3,2,7,4,5,8,10]=>00000000000
[10,1,11,6,3,2,12,7,4,5,8,9]=>00000000000
[12,8,1,9,3,2,10,6,4,5,7,11]=>00000000000
[11,1,12,8,3,2,9,6,4,5,7,10]=>00000000000
[10,1,11,3,2,12,8,6,4,5,7,9]=>00000000000
[9,3,1,10,2,11,4,12,6,5,7,8]=>00000000000
[12,7,1,8,3,2,9,4,10,5,6,11]=>00000000000
[11,1,12,7,3,2,8,4,9,5,6,10]=>00000000000
[10,1,11,3,2,12,7,4,8,5,6,9]=>00000000000
[9,1,10,3,2,11,4,12,7,5,6,8]=>00000000000
[8,1,9,3,2,10,4,11,5,12,6,7]=>00000000000
[12,10,8,4,1,5,2,6,3,7,9,11]=>00000000000
[4,11,1,12,8,5,2,6,3,7,9,10]=>00000000000
[12,9,4,1,10,5,2,6,3,7,8,11]=>00000000000
[11,4,1,12,9,5,2,6,3,7,8,10]=>00000000000
[10,4,1,11,5,2,12,6,3,7,8,9]=>00000000000
[12,10,7,1,8,4,2,5,3,6,9,11]=>00000000000
[11,7,1,12,8,4,2,5,3,6,9,10]=>00000000000
[12,9,1,10,7,4,2,5,3,6,8,11]=>00000000000
[11,1,12,9,7,4,2,5,3,6,8,10]=>00000000000
[10,4,1,11,2,12,7,5,3,6,8,9]=>00000000000
[12,8,1,9,4,2,10,5,3,6,7,11]=>00000000000
[11,1,12,8,4,2,9,5,3,6,7,10]=>00000000000
[10,1,11,4,2,12,8,5,3,6,7,9]=>00000000000
[9,1,10,4,2,11,5,3,12,6,7,8]=>00000000000
[12,10,6,1,7,2,8,4,3,5,9,11]=>00000000000
[11,6,1,12,7,2,8,4,3,5,9,10]=>00000000000
[12,9,1,10,6,2,7,4,3,5,8,11]=>00000000000
[11,1,12,9,6,2,7,4,3,5,8,10]=>00000000000
[10,1,11,6,2,12,7,4,3,5,8,9]=>00000000000
[12,8,1,9,2,10,6,4,3,5,7,11]=>00000000000
[11,1,12,8,2,9,6,4,3,5,7,10]=>00000000000
[10,1,11,2,12,8,6,4,3,5,7,9]=>00000000000
[9,1,10,4,2,11,3,12,6,5,7,8]=>00000000000
[12,7,1,8,2,9,4,3,10,5,6,11]=>00000000000
[11,1,12,7,2,8,4,3,9,5,6,10]=>00000000000
[10,1,11,2,12,7,4,3,8,5,6,9]=>00000000000
[9,1,10,2,11,4,3,12,7,5,6,8]=>00000000000
[8,1,9,2,10,4,3,11,5,12,6,7]=>00000000000
[12,10,5,1,6,2,7,3,8,4,9,11]=>00000000000
[11,5,1,12,6,2,7,3,8,4,9,10]=>00000000000
[12,9,1,10,5,2,6,3,7,4,8,11]=>00000000000
[11,1,12,9,5,2,6,3,7,4,8,10]=>00000000000
[10,1,11,5,2,12,6,3,7,4,8,9]=>00000000000
[12,8,1,9,2,10,5,3,6,4,7,11]=>00000000000
[11,1,12,8,2,9,5,3,6,4,7,10]=>00000000000
[10,1,11,2,12,8,5,3,6,4,7,9]=>00000000000
[9,1,10,2,11,5,3,12,6,4,7,8]=>00000000000
[12,7,1,8,2,9,3,10,5,4,6,11]=>00000000000
[11,1,12,7,2,8,3,9,5,4,6,10]=>00000000000
[10,1,11,2,12,7,3,8,5,4,6,9]=>00000000000
[9,1,10,2,11,3,12,7,5,4,6,8]=>00000000000
[8,1,9,2,10,3,11,5,4,12,6,7]=>00000000000
[12,6,1,7,2,8,3,9,4,10,5,11]=>00000000000
[11,1,12,6,2,7,3,8,4,9,5,10]=>00000000000
[10,1,11,2,12,6,3,7,4,8,5,9]=>00000000000
[9,1,10,2,11,3,12,6,4,7,5,8]=>00000000000
[8,1,9,2,10,3,11,4,12,6,5,7]=>00000000000
[3,4,1,5,6,7,8,9,10,11,12,2]=>00000000000
[8,2,9,3,10,4,11,5,12,6,1,7]=>00000000000
[8,2,9,3,10,4,11,5,12,1,6,7]=>00000000000
[8,2,9,3,10,4,11,12,5,6,1,7]=>00000000000
[8,2,9,3,10,4,11,12,5,1,6,7]=>00000000000
[8,2,9,3,10,4,11,12,1,5,6,7]=>00000000000
[8,2,9,3,10,11,4,5,12,6,1,7]=>00000000000
[8,2,9,3,10,11,4,5,12,1,6,7]=>00000000000
[8,2,9,3,10,11,4,12,5,6,1,7]=>00000000000
[8,2,9,3,10,11,4,12,5,1,6,7]=>00000000000
[8,2,9,3,10,11,4,12,1,5,6,7]=>00000000000
[8,2,9,3,10,11,12,4,5,6,1,7]=>00000000000
[8,2,9,3,10,11,12,4,5,1,6,7]=>00000000000
[8,2,9,3,10,11,12,4,1,5,6,7]=>00000000000
[8,2,9,3,10,11,12,1,4,5,6,7]=>00000000000
[8,2,9,10,3,4,11,5,12,6,1,7]=>00000000000
[8,2,9,10,3,4,11,5,12,1,6,7]=>00000000000
[8,2,9,10,3,4,11,12,5,6,1,7]=>00000000000
[8,2,9,10,3,4,11,12,5,1,6,7]=>00000000000
[8,2,9,10,3,4,11,12,1,5,6,7]=>00000000000
[8,2,9,10,3,11,4,5,12,6,1,7]=>00000000000
[8,2,9,10,3,11,4,5,12,1,6,7]=>00000000000
[8,2,9,10,3,11,4,12,5,6,1,7]=>00000000000
[8,2,9,10,3,11,4,12,5,1,6,7]=>00000000000
[8,2,9,10,3,11,4,12,1,5,6,7]=>00000000000
[8,2,9,10,3,11,12,4,5,6,1,7]=>00000000000
[8,2,9,10,3,11,12,4,5,1,6,7]=>00000000000
[8,2,9,10,3,11,12,4,1,5,6,7]=>00000000000
[8,2,9,10,3,11,12,1,4,5,6,7]=>00000000000
[8,2,9,10,11,3,4,5,12,6,1,7]=>00000000000
[8,2,9,10,11,3,4,5,12,1,6,7]=>00000000000
[8,2,9,10,11,3,4,12,5,6,1,7]=>00000000000
[8,2,9,10,11,3,4,12,5,1,6,7]=>00000000000
[8,2,9,10,11,3,4,12,1,5,6,7]=>00000000000
[8,2,9,10,11,3,12,4,5,6,1,7]=>00000000000
[8,2,9,10,11,3,12,4,5,1,6,7]=>00000000000
[8,2,9,10,11,3,12,4,1,5,6,7]=>00000000000
[8,2,9,10,11,3,12,1,4,5,6,7]=>00000000000
[8,2,9,10,11,12,3,4,5,6,1,7]=>00000000000
[8,2,9,10,11,12,3,4,5,1,6,7]=>00000000000
[8,2,9,10,11,12,3,4,1,5,6,7]=>00000000000
[8,2,9,10,11,12,3,1,4,5,6,7]=>00000000000
[8,2,9,10,11,12,1,3,4,5,6,7]=>00000000000
[8,9,2,3,10,4,11,5,12,6,1,7]=>00000000000
[8,9,2,3,10,4,11,5,12,1,6,7]=>00000000000
[8,9,2,3,10,4,11,12,5,6,1,7]=>00000000000
[8,9,2,3,10,4,11,12,5,1,6,7]=>00000000000
[8,9,2,3,10,4,11,12,1,5,6,7]=>00000000000
[8,9,2,3,10,11,4,5,12,6,1,7]=>00000000000
[8,9,2,3,10,11,4,5,12,1,6,7]=>00000000000
[8,9,2,3,10,11,4,12,5,6,1,7]=>00000000000
[8,9,2,3,10,11,4,12,5,1,6,7]=>00000000000
[8,9,2,3,10,11,4,12,1,5,6,7]=>00000000000
[8,9,2,3,10,11,12,4,5,6,1,7]=>00000000000
[8,9,2,3,10,11,12,4,5,1,6,7]=>00000000000
[8,9,2,3,10,11,12,4,1,5,6,7]=>00000000000
[8,9,2,3,10,11,12,1,4,5,6,7]=>00000000000
[8,9,2,10,3,4,11,5,12,6,1,7]=>00000000000
[8,9,2,10,3,4,11,5,12,1,6,7]=>00000000000
[8,9,2,10,3,4,11,12,5,6,1,7]=>00000000000
[8,9,2,10,3,4,11,12,5,1,6,7]=>00000000000
[8,9,2,10,3,4,11,12,1,5,6,7]=>00000000000
[8,9,2,10,3,11,4,5,12,6,1,7]=>00000000000
[8,9,2,10,3,11,4,5,12,1,6,7]=>00000000000
[8,9,2,10,3,11,4,12,5,6,1,7]=>00000000000
[8,9,2,10,3,11,4,12,5,1,6,7]=>00000000000
[8,9,2,10,3,11,4,12,1,5,6,7]=>00000000000
[8,9,2,10,3,11,12,4,5,6,1,7]=>00000000000
[8,9,2,10,3,11,12,4,5,1,6,7]=>00000000000
[8,9,2,10,3,11,12,4,1,5,6,7]=>00000000000
[8,9,2,10,3,11,12,1,4,5,6,7]=>00000000000
[8,9,2,10,11,3,4,5,12,6,1,7]=>00000000000
[8,9,2,10,11,3,4,5,12,1,6,7]=>00000000000
[8,9,2,10,11,3,4,12,5,6,1,7]=>00000000000
[8,9,2,10,11,3,4,12,5,1,6,7]=>00000000000
[8,9,2,10,11,3,4,12,1,5,6,7]=>00000000000
[8,9,2,10,11,3,12,4,5,6,1,7]=>00000000000
[8,9,2,10,11,3,12,4,5,1,6,7]=>00000000000
[8,9,2,10,11,3,12,4,1,5,6,7]=>00000000000
[8,9,2,10,11,3,12,1,4,5,6,7]=>00000000000
[8,9,2,10,11,12,3,4,5,6,1,7]=>00000000000
[8,9,2,10,11,12,3,4,5,1,6,7]=>00000000000
[8,9,2,10,11,12,3,4,1,5,6,7]=>00000000000
[8,9,2,10,11,12,3,1,4,5,6,7]=>00000000000
[8,9,2,10,11,12,1,3,4,5,6,7]=>00000000000
[8,9,10,2,3,4,11,5,12,6,1,7]=>00000000000
[8,9,10,2,3,4,11,5,12,1,6,7]=>00000000000
[8,9,10,2,3,4,11,12,5,6,1,7]=>00000000000
[8,9,10,2,3,4,11,12,5,1,6,7]=>00000000000
[8,9,10,2,3,4,11,12,1,5,6,7]=>00000000000
[8,9,10,2,3,11,4,5,12,6,1,7]=>00000000000
[8,9,10,2,3,11,4,5,12,1,6,7]=>00000000000
[8,9,10,2,3,11,4,12,5,6,1,7]=>00000000000
[8,9,10,2,3,11,4,12,5,1,6,7]=>00000000000
[8,9,10,2,3,11,4,12,1,5,6,7]=>00000000000
[8,9,10,2,3,11,12,4,5,6,1,7]=>00000000000
[8,9,10,2,3,11,12,4,5,1,6,7]=>00000000000
[8,9,10,2,3,11,12,4,1,5,6,7]=>00000000000
[8,9,10,2,3,11,12,1,4,5,6,7]=>00000000000
[8,9,10,2,11,3,4,5,12,6,1,7]=>00000000000
[8,9,10,2,11,3,4,5,12,1,6,7]=>00000000000
[8,9,10,2,11,3,4,12,5,6,1,7]=>00000000000
[8,9,10,2,11,3,4,12,5,1,6,7]=>00000000000
[8,9,10,2,11,3,4,12,1,5,6,7]=>00000000000
[8,9,10,2,11,3,12,4,5,6,1,7]=>00000000000
[8,9,10,2,11,3,12,4,5,1,6,7]=>00000000000
[8,9,10,2,11,3,12,4,1,5,6,7]=>00000000000
[8,9,10,2,11,3,12,1,4,5,6,7]=>00000000000
[8,9,10,2,11,12,3,4,5,6,1,7]=>00000000000
[8,9,10,2,11,12,3,4,5,1,6,7]=>00000000000
[8,9,10,2,11,12,3,4,1,5,6,7]=>00000000000
[8,9,10,2,11,12,3,1,4,5,6,7]=>00000000000
[8,9,10,2,11,12,1,3,4,5,6,7]=>00000000000
[8,9,10,11,2,3,4,5,12,6,1,7]=>00000000000
[8,9,10,11,2,3,4,5,12,1,6,7]=>00000000000
[8,9,10,11,2,3,4,12,5,6,1,7]=>00000000000
[8,9,10,11,2,3,4,12,5,1,6,7]=>00000000000
[8,9,10,11,2,3,4,12,1,5,6,7]=>00000000000
[8,9,10,11,2,3,12,4,5,6,1,7]=>00000000000
[8,9,10,11,2,3,12,4,5,1,6,7]=>00000000000
[8,9,10,11,2,3,12,4,1,5,6,7]=>00000000000
[8,9,10,11,2,3,12,1,4,5,6,7]=>00000000000
[8,9,10,11,2,12,3,4,5,6,1,7]=>00000000000
[8,9,10,11,2,12,3,4,5,1,6,7]=>00000000000
[8,9,10,11,2,12,3,4,1,5,6,7]=>00000000000
[8,9,10,11,2,12,3,1,4,5,6,7]=>00000000000
[8,9,10,11,2,12,1,3,4,5,6,7]=>00000000000
[8,9,10,11,12,2,3,4,5,6,1,7]=>00000000000
[8,9,10,11,12,2,3,4,5,1,6,7]=>00000000000
[8,9,10,11,12,2,3,4,1,5,6,7]=>00000000000
[8,9,10,11,12,2,3,1,4,5,6,7]=>00000000000
[8,9,10,11,12,2,1,3,4,5,6,7]=>00000000000
click to show experimental identities
(only identities of compositions of up to three maps are shown)
Description
The connectivity set of a permutation as a binary word.
According to [2], also known as the global ascent set.
The connectivity set is
$$C(\pi)=\{i\in [n-1] | \forall 1 \leq j \leq i < k \leq n : \pi(j) < \pi(k)\}.$$
For $n > 1$ it can also be described as the set of occurrences of the mesh pattern
$$([1,2], \{(0,2),(1,0),(1,1),(2,0),(2,1) \})$$
or equivalently
$$([1,2], \{(0,1),(0,2),(1,1),(1,2),(2,0) \}),$$
see [3].
The permutation is connected, when the connectivity set is empty.
According to [2], also known as the global ascent set.
The connectivity set is
$$C(\pi)=\{i\in [n-1] | \forall 1 \leq j \leq i < k \leq n : \pi(j) < \pi(k)\}.$$
For $n > 1$ it can also be described as the set of occurrences of the mesh pattern
$$([1,2], \{(0,2),(1,0),(1,1),(2,0),(2,1) \})$$
or equivalently
$$([1,2], \{(0,1),(0,2),(1,1),(1,2),(2,0) \}),$$
see [3].
The permutation is connected, when the connectivity set is empty.
References
[1] Stanley, R. P. The descent set and connectivity set of a permutation MathSciNet:2167418 arXiv:math/0507224
[2] Bergeron, N., Hohlweg, C., Zabrocki, M. Posets related to the connectivity set of Coxeter groups MathSciNet:2255139 arXiv:math/0509271
[3] Brändén, P., Claesson, A. Mesh patterns and the expansion of permutation statistics as sums of permutation patterns arXiv:1102.4226
[2] Bergeron, N., Hohlweg, C., Zabrocki, M. Posets related to the connectivity set of Coxeter groups MathSciNet:2255139 arXiv:math/0509271
[3] Brändén, P., Claesson, A. Mesh patterns and the expansion of permutation statistics as sums of permutation patterns arXiv:1102.4226
Properties
surjective, graded
Sage code
def mapping(pi): C = [1 if all(pi[j] < pi[k] for j in range(i) for k in range(i, len(pi))) else 0 for i in range(1, len(pi))] return Words([0,1])(C)
Weight
26
Created
Jan 29, 2020 at 13:25 by FindStatCrew
Updated
Jan 29, 2020 at 13:25 by Martin Rubey
searching the database
Sorry, this map was not found in the database.