Identifier
Images
=>
[1]=>
[1,2]=>0
[2,1]=>1
[1,2,3]=>00
[1,3,2]=>01
[2,1,3]=>10
[2,3,1]=>01
[3,1,2]=>10
[3,2,1]=>11
[1,2,3,4]=>000
[1,2,4,3]=>001
[1,3,2,4]=>010
[1,3,4,2]=>001
[1,4,2,3]=>010
[1,4,3,2]=>011
[2,1,3,4]=>100
[2,1,4,3]=>101
[2,3,1,4]=>010
[2,3,4,1]=>001
[2,4,1,3]=>010
[2,4,3,1]=>011
[3,1,2,4]=>100
[3,1,4,2]=>101
[3,2,1,4]=>110
[3,2,4,1]=>101
[3,4,1,2]=>010
[3,4,2,1]=>011
[4,1,2,3]=>100
[4,1,3,2]=>101
[4,2,1,3]=>110
[4,2,3,1]=>101
[4,3,1,2]=>110
[4,3,2,1]=>111
[1,2,3,4,5]=>0000
[1,2,3,5,4]=>0001
[1,2,4,3,5]=>0010
[1,2,4,5,3]=>0001
[1,2,5,3,4]=>0010
[1,2,5,4,3]=>0011
[1,3,2,4,5]=>0100
[1,3,2,5,4]=>0101
[1,3,4,2,5]=>0010
[1,3,4,5,2]=>0001
[1,3,5,2,4]=>0010
[1,3,5,4,2]=>0011
[1,4,2,3,5]=>0100
[1,4,2,5,3]=>0101
[1,4,3,2,5]=>0110
[1,4,3,5,2]=>0101
[1,4,5,2,3]=>0010
[1,4,5,3,2]=>0011
[1,5,2,3,4]=>0100
[1,5,2,4,3]=>0101
[1,5,3,2,4]=>0110
[1,5,3,4,2]=>0101
[1,5,4,2,3]=>0110
[1,5,4,3,2]=>0111
[2,1,3,4,5]=>1000
[2,1,3,5,4]=>1001
[2,1,4,3,5]=>1010
[2,1,4,5,3]=>1001
[2,1,5,3,4]=>1010
[2,1,5,4,3]=>1011
[2,3,1,4,5]=>0100
[2,3,1,5,4]=>0101
[2,3,4,1,5]=>0010
[2,3,4,5,1]=>0001
[2,3,5,1,4]=>0010
[2,3,5,4,1]=>0011
[2,4,1,3,5]=>0100
[2,4,1,5,3]=>0101
[2,4,3,1,5]=>0110
[2,4,3,5,1]=>0101
[2,4,5,1,3]=>0010
[2,4,5,3,1]=>0011
[2,5,1,3,4]=>0100
[2,5,1,4,3]=>0101
[2,5,3,1,4]=>0110
[2,5,3,4,1]=>0101
[2,5,4,1,3]=>0110
[2,5,4,3,1]=>0111
[3,1,2,4,5]=>1000
[3,1,2,5,4]=>1001
[3,1,4,2,5]=>1010
[3,1,4,5,2]=>1001
[3,1,5,2,4]=>1010
[3,1,5,4,2]=>1011
[3,2,1,4,5]=>1100
[3,2,1,5,4]=>1101
[3,2,4,1,5]=>1010
[3,2,4,5,1]=>1001
[3,2,5,1,4]=>1010
[3,2,5,4,1]=>1011
[3,4,1,2,5]=>0100
[3,4,1,5,2]=>0101
[3,4,2,1,5]=>0110
[3,4,2,5,1]=>0101
[3,4,5,1,2]=>0010
[3,4,5,2,1]=>0011
[3,5,1,2,4]=>0100
[3,5,1,4,2]=>0101
[3,5,2,1,4]=>0110
[3,5,2,4,1]=>0101
[3,5,4,1,2]=>0110
[3,5,4,2,1]=>0111
[4,1,2,3,5]=>1000
[4,1,2,5,3]=>1001
[4,1,3,2,5]=>1010
[4,1,3,5,2]=>1001
[4,1,5,2,3]=>1010
[4,1,5,3,2]=>1011
[4,2,1,3,5]=>1100
[4,2,1,5,3]=>1101
[4,2,3,1,5]=>1010
[4,2,3,5,1]=>1001
[4,2,5,1,3]=>1010
[4,2,5,3,1]=>1011
[4,3,1,2,5]=>1100
[4,3,1,5,2]=>1101
[4,3,2,1,5]=>1110
[4,3,2,5,1]=>1101
[4,3,5,1,2]=>1010
[4,3,5,2,1]=>1011
[4,5,1,2,3]=>0100
[4,5,1,3,2]=>0101
[4,5,2,1,3]=>0110
[4,5,2,3,1]=>0101
[4,5,3,1,2]=>0110
[4,5,3,2,1]=>0111
[5,1,2,3,4]=>1000
[5,1,2,4,3]=>1001
[5,1,3,2,4]=>1010
[5,1,3,4,2]=>1001
[5,1,4,2,3]=>1010
[5,1,4,3,2]=>1011
[5,2,1,3,4]=>1100
[5,2,1,4,3]=>1101
[5,2,3,1,4]=>1010
[5,2,3,4,1]=>1001
[5,2,4,1,3]=>1010
[5,2,4,3,1]=>1011
[5,3,1,2,4]=>1100
[5,3,1,4,2]=>1101
[5,3,2,1,4]=>1110
[5,3,2,4,1]=>1101
[5,3,4,1,2]=>1010
[5,3,4,2,1]=>1011
[5,4,1,2,3]=>1100
[5,4,1,3,2]=>1101
[5,4,2,1,3]=>1110
[5,4,2,3,1]=>1101
[5,4,3,1,2]=>1110
[5,4,3,2,1]=>1111
[1,2,3,4,5,6]=>00000
[1,2,3,4,6,5]=>00001
[1,2,3,5,4,6]=>00010
[1,2,3,5,6,4]=>00001
[1,2,3,6,4,5]=>00010
[1,2,3,6,5,4]=>00011
[1,2,4,3,5,6]=>00100
[1,2,4,3,6,5]=>00101
[1,2,4,5,3,6]=>00010
[1,2,4,5,6,3]=>00001
[1,2,4,6,3,5]=>00010
[1,2,4,6,5,3]=>00011
[1,2,5,3,4,6]=>00100
[1,2,5,3,6,4]=>00101
[1,2,5,4,3,6]=>00110
[1,2,5,4,6,3]=>00101
[1,2,5,6,3,4]=>00010
[1,2,5,6,4,3]=>00011
[1,2,6,3,4,5]=>00100
[1,2,6,3,5,4]=>00101
[1,2,6,4,3,5]=>00110
[1,2,6,4,5,3]=>00101
[1,2,6,5,3,4]=>00110
[1,2,6,5,4,3]=>00111
[1,3,2,4,5,6]=>01000
[1,3,2,4,6,5]=>01001
[1,3,2,5,4,6]=>01010
[1,3,2,5,6,4]=>01001
[1,3,2,6,4,5]=>01010
[1,3,2,6,5,4]=>01011
[1,3,4,2,5,6]=>00100
[1,3,4,2,6,5]=>00101
[1,3,4,5,2,6]=>00010
[1,3,4,5,6,2]=>00001
[1,3,4,6,2,5]=>00010
[1,3,4,6,5,2]=>00011
[1,3,5,2,4,6]=>00100
[1,3,5,2,6,4]=>00101
[1,3,5,4,2,6]=>00110
[1,3,5,4,6,2]=>00101
[1,3,5,6,2,4]=>00010
[1,3,5,6,4,2]=>00011
[1,3,6,2,4,5]=>00100
[1,3,6,2,5,4]=>00101
[1,3,6,4,2,5]=>00110
[1,3,6,4,5,2]=>00101
[1,3,6,5,2,4]=>00110
[1,3,6,5,4,2]=>00111
[1,4,2,3,5,6]=>01000
[1,4,2,3,6,5]=>01001
[1,4,2,5,3,6]=>01010
[1,4,2,5,6,3]=>01001
[1,4,2,6,3,5]=>01010
[1,4,2,6,5,3]=>01011
[1,4,3,2,5,6]=>01100
[1,4,3,2,6,5]=>01101
[1,4,3,5,2,6]=>01010
[1,4,3,5,6,2]=>01001
[1,4,3,6,2,5]=>01010
[1,4,3,6,5,2]=>01011
[1,4,5,2,3,6]=>00100
[1,4,5,2,6,3]=>00101
[1,4,5,3,2,6]=>00110
[1,4,5,3,6,2]=>00101
[1,4,5,6,2,3]=>00010
[1,4,5,6,3,2]=>00011
[1,4,6,2,3,5]=>00100
[1,4,6,2,5,3]=>00101
[1,4,6,3,2,5]=>00110
[1,4,6,3,5,2]=>00101
[1,4,6,5,2,3]=>00110
[1,4,6,5,3,2]=>00111
[1,5,2,3,4,6]=>01000
[1,5,2,3,6,4]=>01001
[1,5,2,4,3,6]=>01010
[1,5,2,4,6,3]=>01001
[1,5,2,6,3,4]=>01010
[1,5,2,6,4,3]=>01011
[1,5,3,2,4,6]=>01100
[1,5,3,2,6,4]=>01101
[1,5,3,4,2,6]=>01010
[1,5,3,4,6,2]=>01001
[1,5,3,6,2,4]=>01010
[1,5,3,6,4,2]=>01011
[1,5,4,2,3,6]=>01100
[1,5,4,2,6,3]=>01101
[1,5,4,3,2,6]=>01110
[1,5,4,3,6,2]=>01101
[1,5,4,6,2,3]=>01010
[1,5,4,6,3,2]=>01011
[1,5,6,2,3,4]=>00100
[1,5,6,2,4,3]=>00101
[1,5,6,3,2,4]=>00110
[1,5,6,3,4,2]=>00101
[1,5,6,4,2,3]=>00110
[1,5,6,4,3,2]=>00111
[1,6,2,3,4,5]=>01000
[1,6,2,3,5,4]=>01001
[1,6,2,4,3,5]=>01010
[1,6,2,4,5,3]=>01001
[1,6,2,5,3,4]=>01010
[1,6,2,5,4,3]=>01011
[1,6,3,2,4,5]=>01100
[1,6,3,2,5,4]=>01101
[1,6,3,4,2,5]=>01010
[1,6,3,4,5,2]=>01001
[1,6,3,5,2,4]=>01010
[1,6,3,5,4,2]=>01011
[1,6,4,2,3,5]=>01100
[1,6,4,2,5,3]=>01101
[1,6,4,3,2,5]=>01110
[1,6,4,3,5,2]=>01101
[1,6,4,5,2,3]=>01010
[1,6,4,5,3,2]=>01011
[1,6,5,2,3,4]=>01100
[1,6,5,2,4,3]=>01101
[1,6,5,3,2,4]=>01110
[1,6,5,3,4,2]=>01101
[1,6,5,4,2,3]=>01110
[1,6,5,4,3,2]=>01111
[2,1,3,4,5,6]=>10000
[2,1,3,4,6,5]=>10001
[2,1,3,5,4,6]=>10010
[2,1,3,5,6,4]=>10001
[2,1,3,6,4,5]=>10010
[2,1,3,6,5,4]=>10011
[2,1,4,3,5,6]=>10100
[2,1,4,3,6,5]=>10101
[2,1,4,5,3,6]=>10010
[2,1,4,5,6,3]=>10001
[2,1,4,6,3,5]=>10010
[2,1,4,6,5,3]=>10011
[2,1,5,3,4,6]=>10100
[2,1,5,3,6,4]=>10101
[2,1,5,4,3,6]=>10110
[2,1,5,4,6,3]=>10101
[2,1,5,6,3,4]=>10010
[2,1,5,6,4,3]=>10011
[2,1,6,3,4,5]=>10100
[2,1,6,3,5,4]=>10101
[2,1,6,4,3,5]=>10110
[2,1,6,4,5,3]=>10101
[2,1,6,5,3,4]=>10110
[2,1,6,5,4,3]=>10111
[2,3,1,4,5,6]=>01000
[2,3,1,4,6,5]=>01001
[2,3,1,5,4,6]=>01010
[2,3,1,5,6,4]=>01001
[2,3,1,6,4,5]=>01010
[2,3,1,6,5,4]=>01011
[2,3,4,1,5,6]=>00100
[2,3,4,1,6,5]=>00101
[2,3,4,5,1,6]=>00010
[2,3,4,5,6,1]=>00001
[2,3,4,6,1,5]=>00010
[2,3,4,6,5,1]=>00011
[2,3,5,1,4,6]=>00100
[2,3,5,1,6,4]=>00101
[2,3,5,4,1,6]=>00110
[2,3,5,4,6,1]=>00101
[2,3,5,6,1,4]=>00010
[2,3,5,6,4,1]=>00011
[2,3,6,1,4,5]=>00100
[2,3,6,1,5,4]=>00101
[2,3,6,4,1,5]=>00110
[2,3,6,4,5,1]=>00101
[2,3,6,5,1,4]=>00110
[2,3,6,5,4,1]=>00111
[2,4,1,3,5,6]=>01000
[2,4,1,3,6,5]=>01001
[2,4,1,5,3,6]=>01010
[2,4,1,5,6,3]=>01001
[2,4,1,6,3,5]=>01010
[2,4,1,6,5,3]=>01011
[2,4,3,1,5,6]=>01100
[2,4,3,1,6,5]=>01101
[2,4,3,5,1,6]=>01010
[2,4,3,5,6,1]=>01001
[2,4,3,6,1,5]=>01010
[2,4,3,6,5,1]=>01011
[2,4,5,1,3,6]=>00100
[2,4,5,1,6,3]=>00101
[2,4,5,3,1,6]=>00110
[2,4,5,3,6,1]=>00101
[2,4,5,6,1,3]=>00010
[2,4,5,6,3,1]=>00011
[2,4,6,1,3,5]=>00100
[2,4,6,1,5,3]=>00101
[2,4,6,3,1,5]=>00110
[2,4,6,3,5,1]=>00101
[2,4,6,5,1,3]=>00110
[2,4,6,5,3,1]=>00111
[2,5,1,3,4,6]=>01000
[2,5,1,3,6,4]=>01001
[2,5,1,4,3,6]=>01010
[2,5,1,4,6,3]=>01001
[2,5,1,6,3,4]=>01010
[2,5,1,6,4,3]=>01011
[2,5,3,1,4,6]=>01100
[2,5,3,1,6,4]=>01101
[2,5,3,4,1,6]=>01010
[2,5,3,4,6,1]=>01001
[2,5,3,6,1,4]=>01010
[2,5,3,6,4,1]=>01011
[2,5,4,1,3,6]=>01100
[2,5,4,1,6,3]=>01101
[2,5,4,3,1,6]=>01110
[2,5,4,3,6,1]=>01101
[2,5,4,6,1,3]=>01010
[2,5,4,6,3,1]=>01011
[2,5,6,1,3,4]=>00100
[2,5,6,1,4,3]=>00101
[2,5,6,3,1,4]=>00110
[2,5,6,3,4,1]=>00101
[2,5,6,4,1,3]=>00110
[2,5,6,4,3,1]=>00111
[2,6,1,3,4,5]=>01000
[2,6,1,3,5,4]=>01001
[2,6,1,4,3,5]=>01010
[2,6,1,4,5,3]=>01001
[2,6,1,5,3,4]=>01010
[2,6,1,5,4,3]=>01011
[2,6,3,1,4,5]=>01100
[2,6,3,1,5,4]=>01101
[2,6,3,4,1,5]=>01010
[2,6,3,4,5,1]=>01001
[2,6,3,5,1,4]=>01010
[2,6,3,5,4,1]=>01011
[2,6,4,1,3,5]=>01100
[2,6,4,1,5,3]=>01101
[2,6,4,3,1,5]=>01110
[2,6,4,3,5,1]=>01101
[2,6,4,5,1,3]=>01010
[2,6,4,5,3,1]=>01011
[2,6,5,1,3,4]=>01100
[2,6,5,1,4,3]=>01101
[2,6,5,3,1,4]=>01110
[2,6,5,3,4,1]=>01101
[2,6,5,4,1,3]=>01110
[2,6,5,4,3,1]=>01111
[3,1,2,4,5,6]=>10000
[3,1,2,4,6,5]=>10001
[3,1,2,5,4,6]=>10010
[3,1,2,5,6,4]=>10001
[3,1,2,6,4,5]=>10010
[3,1,2,6,5,4]=>10011
[3,1,4,2,5,6]=>10100
[3,1,4,2,6,5]=>10101
[3,1,4,5,2,6]=>10010
[3,1,4,5,6,2]=>10001
[3,1,4,6,2,5]=>10010
[3,1,4,6,5,2]=>10011
[3,1,5,2,4,6]=>10100
[3,1,5,2,6,4]=>10101
[3,1,5,4,2,6]=>10110
[3,1,5,4,6,2]=>10101
[3,1,5,6,2,4]=>10010
[3,1,5,6,4,2]=>10011
[3,1,6,2,4,5]=>10100
[3,1,6,2,5,4]=>10101
[3,1,6,4,2,5]=>10110
[3,1,6,4,5,2]=>10101
[3,1,6,5,2,4]=>10110
[3,1,6,5,4,2]=>10111
[3,2,1,4,5,6]=>11000
[3,2,1,4,6,5]=>11001
[3,2,1,5,4,6]=>11010
[3,2,1,5,6,4]=>11001
[3,2,1,6,4,5]=>11010
[3,2,1,6,5,4]=>11011
[3,2,4,1,5,6]=>10100
[3,2,4,1,6,5]=>10101
[3,2,4,5,1,6]=>10010
[3,2,4,5,6,1]=>10001
[3,2,4,6,1,5]=>10010
[3,2,4,6,5,1]=>10011
[3,2,5,1,4,6]=>10100
[3,2,5,1,6,4]=>10101
[3,2,5,4,1,6]=>10110
[3,2,5,4,6,1]=>10101
[3,2,5,6,1,4]=>10010
[3,2,5,6,4,1]=>10011
[3,2,6,1,4,5]=>10100
[3,2,6,1,5,4]=>10101
[3,2,6,4,1,5]=>10110
[3,2,6,4,5,1]=>10101
[3,2,6,5,1,4]=>10110
[3,2,6,5,4,1]=>10111
[3,4,1,2,5,6]=>01000
[3,4,1,2,6,5]=>01001
[3,4,1,5,2,6]=>01010
[3,4,1,5,6,2]=>01001
[3,4,1,6,2,5]=>01010
[3,4,1,6,5,2]=>01011
[3,4,2,1,5,6]=>01100
[3,4,2,1,6,5]=>01101
[3,4,2,5,1,6]=>01010
[3,4,2,5,6,1]=>01001
[3,4,2,6,1,5]=>01010
[3,4,2,6,5,1]=>01011
[3,4,5,1,2,6]=>00100
[3,4,5,1,6,2]=>00101
[3,4,5,2,1,6]=>00110
[3,4,5,2,6,1]=>00101
[3,4,5,6,1,2]=>00010
[3,4,5,6,2,1]=>00011
[3,4,6,1,2,5]=>00100
[3,4,6,1,5,2]=>00101
[3,4,6,2,1,5]=>00110
[3,4,6,2,5,1]=>00101
[3,4,6,5,1,2]=>00110
[3,4,6,5,2,1]=>00111
[3,5,1,2,4,6]=>01000
[3,5,1,2,6,4]=>01001
[3,5,1,4,2,6]=>01010
[3,5,1,4,6,2]=>01001
[3,5,1,6,2,4]=>01010
[3,5,1,6,4,2]=>01011
[3,5,2,1,4,6]=>01100
[3,5,2,1,6,4]=>01101
[3,5,2,4,1,6]=>01010
[3,5,2,4,6,1]=>01001
[3,5,2,6,1,4]=>01010
[3,5,2,6,4,1]=>01011
[3,5,4,1,2,6]=>01100
[3,5,4,1,6,2]=>01101
[3,5,4,2,1,6]=>01110
[3,5,4,2,6,1]=>01101
[3,5,4,6,1,2]=>01010
[3,5,4,6,2,1]=>01011
[3,5,6,1,2,4]=>00100
[3,5,6,1,4,2]=>00101
[3,5,6,2,1,4]=>00110
[3,5,6,2,4,1]=>00101
[3,5,6,4,1,2]=>00110
[3,5,6,4,2,1]=>00111
[3,6,1,2,4,5]=>01000
[3,6,1,2,5,4]=>01001
[3,6,1,4,2,5]=>01010
[3,6,1,4,5,2]=>01001
[3,6,1,5,2,4]=>01010
[3,6,1,5,4,2]=>01011
[3,6,2,1,4,5]=>01100
[3,6,2,1,5,4]=>01101
[3,6,2,4,1,5]=>01010
[3,6,2,4,5,1]=>01001
[3,6,2,5,1,4]=>01010
[3,6,2,5,4,1]=>01011
[3,6,4,1,2,5]=>01100
[3,6,4,1,5,2]=>01101
[3,6,4,2,1,5]=>01110
[3,6,4,2,5,1]=>01101
[3,6,4,5,1,2]=>01010
[3,6,4,5,2,1]=>01011
[3,6,5,1,2,4]=>01100
[3,6,5,1,4,2]=>01101
[3,6,5,2,1,4]=>01110
[3,6,5,2,4,1]=>01101
[3,6,5,4,1,2]=>01110
[3,6,5,4,2,1]=>01111
[4,1,2,3,5,6]=>10000
[4,1,2,3,6,5]=>10001
[4,1,2,5,3,6]=>10010
[4,1,2,5,6,3]=>10001
[4,1,2,6,3,5]=>10010
[4,1,2,6,5,3]=>10011
[4,1,3,2,5,6]=>10100
[4,1,3,2,6,5]=>10101
[4,1,3,5,2,6]=>10010
[4,1,3,5,6,2]=>10001
[4,1,3,6,2,5]=>10010
[4,1,3,6,5,2]=>10011
[4,1,5,2,3,6]=>10100
[4,1,5,2,6,3]=>10101
[4,1,5,3,2,6]=>10110
[4,1,5,3,6,2]=>10101
[4,1,5,6,2,3]=>10010
[4,1,5,6,3,2]=>10011
[4,1,6,2,3,5]=>10100
[4,1,6,2,5,3]=>10101
[4,1,6,3,2,5]=>10110
[4,1,6,3,5,2]=>10101
[4,1,6,5,2,3]=>10110
[4,1,6,5,3,2]=>10111
[4,2,1,3,5,6]=>11000
[4,2,1,3,6,5]=>11001
[4,2,1,5,3,6]=>11010
[4,2,1,5,6,3]=>11001
[4,2,1,6,3,5]=>11010
[4,2,1,6,5,3]=>11011
[4,2,3,1,5,6]=>10100
[4,2,3,1,6,5]=>10101
[4,2,3,5,1,6]=>10010
[4,2,3,5,6,1]=>10001
[4,2,3,6,1,5]=>10010
[4,2,3,6,5,1]=>10011
[4,2,5,1,3,6]=>10100
[4,2,5,1,6,3]=>10101
[4,2,5,3,1,6]=>10110
[4,2,5,3,6,1]=>10101
[4,2,5,6,1,3]=>10010
[4,2,5,6,3,1]=>10011
[4,2,6,1,3,5]=>10100
[4,2,6,1,5,3]=>10101
[4,2,6,3,1,5]=>10110
[4,2,6,3,5,1]=>10101
[4,2,6,5,1,3]=>10110
[4,2,6,5,3,1]=>10111
[4,3,1,2,5,6]=>11000
[4,3,1,2,6,5]=>11001
[4,3,1,5,2,6]=>11010
[4,3,1,5,6,2]=>11001
[4,3,1,6,2,5]=>11010
[4,3,1,6,5,2]=>11011
[4,3,2,1,5,6]=>11100
[4,3,2,1,6,5]=>11101
[4,3,2,5,1,6]=>11010
[4,3,2,5,6,1]=>11001
[4,3,2,6,1,5]=>11010
[4,3,2,6,5,1]=>11011
[4,3,5,1,2,6]=>10100
[4,3,5,1,6,2]=>10101
[4,3,5,2,1,6]=>10110
[4,3,5,2,6,1]=>10101
[4,3,5,6,1,2]=>10010
[4,3,5,6,2,1]=>10011
[4,3,6,1,2,5]=>10100
[4,3,6,1,5,2]=>10101
[4,3,6,2,1,5]=>10110
[4,3,6,2,5,1]=>10101
[4,3,6,5,1,2]=>10110
[4,3,6,5,2,1]=>10111
[4,5,1,2,3,6]=>01000
[4,5,1,2,6,3]=>01001
[4,5,1,3,2,6]=>01010
[4,5,1,3,6,2]=>01001
[4,5,1,6,2,3]=>01010
[4,5,1,6,3,2]=>01011
[4,5,2,1,3,6]=>01100
[4,5,2,1,6,3]=>01101
[4,5,2,3,1,6]=>01010
[4,5,2,3,6,1]=>01001
[4,5,2,6,1,3]=>01010
[4,5,2,6,3,1]=>01011
[4,5,3,1,2,6]=>01100
[4,5,3,1,6,2]=>01101
[4,5,3,2,1,6]=>01110
[4,5,3,2,6,1]=>01101
[4,5,3,6,1,2]=>01010
[4,5,3,6,2,1]=>01011
[4,5,6,1,2,3]=>00100
[4,5,6,1,3,2]=>00101
[4,5,6,2,1,3]=>00110
[4,5,6,2,3,1]=>00101
[4,5,6,3,1,2]=>00110
[4,5,6,3,2,1]=>00111
[4,6,1,2,3,5]=>01000
[4,6,1,2,5,3]=>01001
[4,6,1,3,2,5]=>01010
[4,6,1,3,5,2]=>01001
[4,6,1,5,2,3]=>01010
[4,6,1,5,3,2]=>01011
[4,6,2,1,3,5]=>01100
[4,6,2,1,5,3]=>01101
[4,6,2,3,1,5]=>01010
[4,6,2,3,5,1]=>01001
[4,6,2,5,1,3]=>01010
[4,6,2,5,3,1]=>01011
[4,6,3,1,2,5]=>01100
[4,6,3,1,5,2]=>01101
[4,6,3,2,1,5]=>01110
[4,6,3,2,5,1]=>01101
[4,6,3,5,1,2]=>01010
[4,6,3,5,2,1]=>01011
[4,6,5,1,2,3]=>01100
[4,6,5,1,3,2]=>01101
[4,6,5,2,1,3]=>01110
[4,6,5,2,3,1]=>01101
[4,6,5,3,1,2]=>01110
[4,6,5,3,2,1]=>01111
[5,1,2,3,4,6]=>10000
[5,1,2,3,6,4]=>10001
[5,1,2,4,3,6]=>10010
[5,1,2,4,6,3]=>10001
[5,1,2,6,3,4]=>10010
[5,1,2,6,4,3]=>10011
[5,1,3,2,4,6]=>10100
[5,1,3,2,6,4]=>10101
[5,1,3,4,2,6]=>10010
[5,1,3,4,6,2]=>10001
[5,1,3,6,2,4]=>10010
[5,1,3,6,4,2]=>10011
[5,1,4,2,3,6]=>10100
[5,1,4,2,6,3]=>10101
[5,1,4,3,2,6]=>10110
[5,1,4,3,6,2]=>10101
[5,1,4,6,2,3]=>10010
[5,1,4,6,3,2]=>10011
[5,1,6,2,3,4]=>10100
[5,1,6,2,4,3]=>10101
[5,1,6,3,2,4]=>10110
[5,1,6,3,4,2]=>10101
[5,1,6,4,2,3]=>10110
[5,1,6,4,3,2]=>10111
[5,2,1,3,4,6]=>11000
[5,2,1,3,6,4]=>11001
[5,2,1,4,3,6]=>11010
[5,2,1,4,6,3]=>11001
[5,2,1,6,3,4]=>11010
[5,2,1,6,4,3]=>11011
[5,2,3,1,4,6]=>10100
[5,2,3,1,6,4]=>10101
[5,2,3,4,1,6]=>10010
[5,2,3,4,6,1]=>10001
[5,2,3,6,1,4]=>10010
[5,2,3,6,4,1]=>10011
[5,2,4,1,3,6]=>10100
[5,2,4,1,6,3]=>10101
[5,2,4,3,1,6]=>10110
[5,2,4,3,6,1]=>10101
[5,2,4,6,1,3]=>10010
[5,2,4,6,3,1]=>10011
[5,2,6,1,3,4]=>10100
[5,2,6,1,4,3]=>10101
[5,2,6,3,1,4]=>10110
[5,2,6,3,4,1]=>10101
[5,2,6,4,1,3]=>10110
[5,2,6,4,3,1]=>10111
[5,3,1,2,4,6]=>11000
[5,3,1,2,6,4]=>11001
[5,3,1,4,2,6]=>11010
[5,3,1,4,6,2]=>11001
[5,3,1,6,2,4]=>11010
[5,3,1,6,4,2]=>11011
[5,3,2,1,4,6]=>11100
[5,3,2,1,6,4]=>11101
[5,3,2,4,1,6]=>11010
[5,3,2,4,6,1]=>11001
[5,3,2,6,1,4]=>11010
[5,3,2,6,4,1]=>11011
[5,3,4,1,2,6]=>10100
[5,3,4,1,6,2]=>10101
[5,3,4,2,1,6]=>10110
[5,3,4,2,6,1]=>10101
[5,3,4,6,1,2]=>10010
[5,3,4,6,2,1]=>10011
[5,3,6,1,2,4]=>10100
[5,3,6,1,4,2]=>10101
[5,3,6,2,1,4]=>10110
[5,3,6,2,4,1]=>10101
[5,3,6,4,1,2]=>10110
[5,3,6,4,2,1]=>10111
[5,4,1,2,3,6]=>11000
[5,4,1,2,6,3]=>11001
[5,4,1,3,2,6]=>11010
[5,4,1,3,6,2]=>11001
[5,4,1,6,2,3]=>11010
[5,4,1,6,3,2]=>11011
[5,4,2,1,3,6]=>11100
[5,4,2,1,6,3]=>11101
[5,4,2,3,1,6]=>11010
[5,4,2,3,6,1]=>11001
[5,4,2,6,1,3]=>11010
[5,4,2,6,3,1]=>11011
[5,4,3,1,2,6]=>11100
[5,4,3,1,6,2]=>11101
[5,4,3,2,1,6]=>11110
[5,4,3,2,6,1]=>11101
[5,4,3,6,1,2]=>11010
[5,4,3,6,2,1]=>11011
[5,4,6,1,2,3]=>10100
[5,4,6,1,3,2]=>10101
[5,4,6,2,1,3]=>10110
[5,4,6,2,3,1]=>10101
[5,4,6,3,1,2]=>10110
[5,4,6,3,2,1]=>10111
[5,6,1,2,3,4]=>01000
[5,6,1,2,4,3]=>01001
[5,6,1,3,2,4]=>01010
[5,6,1,3,4,2]=>01001
[5,6,1,4,2,3]=>01010
[5,6,1,4,3,2]=>01011
[5,6,2,1,3,4]=>01100
[5,6,2,1,4,3]=>01101
[5,6,2,3,1,4]=>01010
[5,6,2,3,4,1]=>01001
[5,6,2,4,1,3]=>01010
[5,6,2,4,3,1]=>01011
[5,6,3,1,2,4]=>01100
[5,6,3,1,4,2]=>01101
[5,6,3,2,1,4]=>01110
[5,6,3,2,4,1]=>01101
[5,6,3,4,1,2]=>01010
[5,6,3,4,2,1]=>01011
[5,6,4,1,2,3]=>01100
[5,6,4,1,3,2]=>01101
[5,6,4,2,1,3]=>01110
[5,6,4,2,3,1]=>01101
[5,6,4,3,1,2]=>01110
[5,6,4,3,2,1]=>01111
[6,1,2,3,4,5]=>10000
[6,1,2,3,5,4]=>10001
[6,1,2,4,3,5]=>10010
[6,1,2,4,5,3]=>10001
[6,1,2,5,3,4]=>10010
[6,1,2,5,4,3]=>10011
[6,1,3,2,4,5]=>10100
[6,1,3,2,5,4]=>10101
[6,1,3,4,2,5]=>10010
[6,1,3,4,5,2]=>10001
[6,1,3,5,2,4]=>10010
[6,1,3,5,4,2]=>10011
[6,1,4,2,3,5]=>10100
[6,1,4,2,5,3]=>10101
[6,1,4,3,2,5]=>10110
[6,1,4,3,5,2]=>10101
[6,1,4,5,2,3]=>10010
[6,1,4,5,3,2]=>10011
[6,1,5,2,3,4]=>10100
[6,1,5,2,4,3]=>10101
[6,1,5,3,2,4]=>10110
[6,1,5,3,4,2]=>10101
[6,1,5,4,2,3]=>10110
[6,1,5,4,3,2]=>10111
[6,2,1,3,4,5]=>11000
[6,2,1,3,5,4]=>11001
[6,2,1,4,3,5]=>11010
[6,2,1,4,5,3]=>11001
[6,2,1,5,3,4]=>11010
[6,2,1,5,4,3]=>11011
[6,2,3,1,4,5]=>10100
[6,2,3,1,5,4]=>10101
[6,2,3,4,1,5]=>10010
[6,2,3,4,5,1]=>10001
[6,2,3,5,1,4]=>10010
[6,2,3,5,4,1]=>10011
[6,2,4,1,3,5]=>10100
[6,2,4,1,5,3]=>10101
[6,2,4,3,1,5]=>10110
[6,2,4,3,5,1]=>10101
[6,2,4,5,1,3]=>10010
[6,2,4,5,3,1]=>10011
[6,2,5,1,3,4]=>10100
[6,2,5,1,4,3]=>10101
[6,2,5,3,1,4]=>10110
[6,2,5,3,4,1]=>10101
[6,2,5,4,1,3]=>10110
[6,2,5,4,3,1]=>10111
[6,3,1,2,4,5]=>11000
[6,3,1,2,5,4]=>11001
[6,3,1,4,2,5]=>11010
[6,3,1,4,5,2]=>11001
[6,3,1,5,2,4]=>11010
[6,3,1,5,4,2]=>11011
[6,3,2,1,4,5]=>11100
[6,3,2,1,5,4]=>11101
[6,3,2,4,1,5]=>11010
[6,3,2,4,5,1]=>11001
[6,3,2,5,1,4]=>11010
[6,3,2,5,4,1]=>11011
[6,3,4,1,2,5]=>10100
[6,3,4,1,5,2]=>10101
[6,3,4,2,1,5]=>10110
[6,3,4,2,5,1]=>10101
[6,3,4,5,1,2]=>10010
[6,3,4,5,2,1]=>10011
[6,3,5,1,2,4]=>10100
[6,3,5,1,4,2]=>10101
[6,3,5,2,1,4]=>10110
[6,3,5,2,4,1]=>10101
[6,3,5,4,1,2]=>10110
[6,3,5,4,2,1]=>10111
[6,4,1,2,3,5]=>11000
[6,4,1,2,5,3]=>11001
[6,4,1,3,2,5]=>11010
[6,4,1,3,5,2]=>11001
[6,4,1,5,2,3]=>11010
[6,4,1,5,3,2]=>11011
[6,4,2,1,3,5]=>11100
[6,4,2,1,5,3]=>11101
[6,4,2,3,1,5]=>11010
[6,4,2,3,5,1]=>11001
[6,4,2,5,1,3]=>11010
[6,4,2,5,3,1]=>11011
[6,4,3,1,2,5]=>11100
[6,4,3,1,5,2]=>11101
[6,4,3,2,1,5]=>11110
[6,4,3,2,5,1]=>11101
[6,4,3,5,1,2]=>11010
[6,4,3,5,2,1]=>11011
[6,4,5,1,2,3]=>10100
[6,4,5,1,3,2]=>10101
[6,4,5,2,1,3]=>10110
[6,4,5,2,3,1]=>10101
[6,4,5,3,1,2]=>10110
[6,4,5,3,2,1]=>10111
[6,5,1,2,3,4]=>11000
[6,5,1,2,4,3]=>11001
[6,5,1,3,2,4]=>11010
[6,5,1,3,4,2]=>11001
[6,5,1,4,2,3]=>11010
[6,5,1,4,3,2]=>11011
[6,5,2,1,3,4]=>11100
[6,5,2,1,4,3]=>11101
[6,5,2,3,1,4]=>11010
[6,5,2,3,4,1]=>11001
[6,5,2,4,1,3]=>11010
[6,5,2,4,3,1]=>11011
[6,5,3,1,2,4]=>11100
[6,5,3,1,4,2]=>11101
[6,5,3,2,1,4]=>11110
[6,5,3,2,4,1]=>11101
[6,5,3,4,1,2]=>11010
[6,5,3,4,2,1]=>11011
[6,5,4,1,2,3]=>11100
[6,5,4,1,3,2]=>11101
[6,5,4,2,1,3]=>11110
[6,5,4,2,3,1]=>11101
[6,5,4,3,1,2]=>11110
[6,5,4,3,2,1]=>11111
[1,2,3,4,5,6,7]=>000000
[1,2,3,4,5,7,6]=>000001
[1,2,3,4,6,5,7]=>000010
[1,2,3,4,6,7,5]=>000001
[1,2,3,4,7,5,6]=>000010
[1,2,3,4,7,6,5]=>000011
[1,2,3,5,4,6,7]=>000100
[1,2,3,5,4,7,6]=>000101
[1,2,3,5,6,4,7]=>000010
[1,2,3,5,6,7,4]=>000001
[1,2,3,5,7,4,6]=>000010
[1,2,3,5,7,6,4]=>000011
[1,2,3,6,4,5,7]=>000100
[1,2,3,6,4,7,5]=>000101
[1,2,3,6,5,4,7]=>000110
[1,2,3,6,5,7,4]=>000101
[1,2,3,6,7,4,5]=>000010
[1,2,3,6,7,5,4]=>000011
[1,2,3,7,4,5,6]=>000100
[1,2,3,7,4,6,5]=>000101
[1,2,3,7,5,4,6]=>000110
[1,2,3,7,5,6,4]=>000101
[1,2,3,7,6,4,5]=>000110
[1,2,3,7,6,5,4]=>000111
[1,2,4,3,5,6,7]=>001000
[1,2,4,3,5,7,6]=>001001
[1,2,4,3,6,5,7]=>001010
[1,2,4,3,6,7,5]=>001001
[1,2,4,3,7,5,6]=>001010
[1,2,4,3,7,6,5]=>001011
[1,2,4,5,3,6,7]=>000100
[1,2,4,5,3,7,6]=>000101
[1,2,4,5,6,3,7]=>000010
[1,2,4,5,6,7,3]=>000001
[1,2,4,5,7,3,6]=>000010
[1,2,4,5,7,6,3]=>000011
[1,2,4,6,3,5,7]=>000100
[1,2,4,6,3,7,5]=>000101
[1,2,4,6,5,3,7]=>000110
[1,2,4,6,5,7,3]=>000101
[1,2,4,6,7,3,5]=>000010
[1,2,4,6,7,5,3]=>000011
[1,2,4,7,3,5,6]=>000100
[1,2,4,7,3,6,5]=>000101
[1,2,4,7,5,3,6]=>000110
[1,2,4,7,5,6,3]=>000101
[1,2,4,7,6,3,5]=>000110
[1,2,4,7,6,5,3]=>000111
[1,2,5,3,4,6,7]=>001000
[1,2,5,3,4,7,6]=>001001
[1,2,5,3,6,4,7]=>001010
[1,2,5,3,6,7,4]=>001001
[1,2,5,3,7,4,6]=>001010
[1,2,5,3,7,6,4]=>001011
[1,2,5,4,3,6,7]=>001100
[1,2,5,4,3,7,6]=>001101
[1,2,5,4,6,3,7]=>001010
[1,2,5,4,6,7,3]=>001001
[1,2,5,4,7,3,6]=>001010
[1,2,5,4,7,6,3]=>001011
[1,2,5,6,3,4,7]=>000100
[1,2,5,6,3,7,4]=>000101
[1,2,5,6,4,3,7]=>000110
[1,2,5,6,4,7,3]=>000101
[1,2,5,6,7,3,4]=>000010
[1,2,5,6,7,4,3]=>000011
[1,2,5,7,3,4,6]=>000100
[1,2,5,7,3,6,4]=>000101
[1,2,5,7,4,3,6]=>000110
[1,2,5,7,4,6,3]=>000101
[1,2,5,7,6,3,4]=>000110
[1,2,5,7,6,4,3]=>000111
[1,2,6,3,4,5,7]=>001000
[1,2,6,3,4,7,5]=>001001
[1,2,6,3,5,4,7]=>001010
[1,2,6,3,5,7,4]=>001001
[1,2,6,3,7,4,5]=>001010
[1,2,6,3,7,5,4]=>001011
[1,2,6,4,3,5,7]=>001100
[1,2,6,4,3,7,5]=>001101
[1,2,6,4,5,3,7]=>001010
[1,2,6,4,5,7,3]=>001001
[1,2,6,4,7,3,5]=>001010
[1,2,6,4,7,5,3]=>001011
[1,2,6,5,3,4,7]=>001100
[1,2,6,5,3,7,4]=>001101
[1,2,6,5,4,3,7]=>001110
[1,2,6,5,4,7,3]=>001101
[1,2,6,5,7,3,4]=>001010
[1,2,6,5,7,4,3]=>001011
[1,2,6,7,3,4,5]=>000100
[1,2,6,7,3,5,4]=>000101
[1,2,6,7,4,3,5]=>000110
[1,2,6,7,4,5,3]=>000101
[1,2,6,7,5,3,4]=>000110
[1,2,6,7,5,4,3]=>000111
[1,2,7,3,4,5,6]=>001000
[1,2,7,3,4,6,5]=>001001
[1,2,7,3,5,4,6]=>001010
[1,2,7,3,5,6,4]=>001001
[1,2,7,3,6,4,5]=>001010
[1,2,7,3,6,5,4]=>001011
[1,2,7,4,3,5,6]=>001100
[1,2,7,4,3,6,5]=>001101
[1,2,7,4,5,3,6]=>001010
[1,2,7,4,5,6,3]=>001001
[1,2,7,4,6,3,5]=>001010
[1,2,7,4,6,5,3]=>001011
[1,2,7,5,3,4,6]=>001100
[1,2,7,5,3,6,4]=>001101
[1,2,7,5,4,3,6]=>001110
[1,2,7,5,4,6,3]=>001101
[1,2,7,5,6,3,4]=>001010
[1,2,7,5,6,4,3]=>001011
[1,2,7,6,3,4,5]=>001100
[1,2,7,6,3,5,4]=>001101
[1,2,7,6,4,3,5]=>001110
[1,2,7,6,4,5,3]=>001101
[1,2,7,6,5,3,4]=>001110
[1,2,7,6,5,4,3]=>001111
[1,3,2,4,5,6,7]=>010000
[1,3,2,4,5,7,6]=>010001
[1,3,2,4,6,5,7]=>010010
[1,3,2,4,6,7,5]=>010001
[1,3,2,4,7,5,6]=>010010
[1,3,2,4,7,6,5]=>010011
[1,3,2,5,4,6,7]=>010100
[1,3,2,5,4,7,6]=>010101
[1,3,2,5,6,4,7]=>010010
[1,3,2,5,6,7,4]=>010001
[1,3,2,5,7,4,6]=>010010
[1,3,2,5,7,6,4]=>010011
[1,3,2,6,4,5,7]=>010100
[1,3,2,6,4,7,5]=>010101
[1,3,2,6,5,4,7]=>010110
[1,3,2,6,5,7,4]=>010101
[1,3,2,6,7,4,5]=>010010
[1,3,2,6,7,5,4]=>010011
[1,3,2,7,4,5,6]=>010100
[1,3,2,7,4,6,5]=>010101
[1,3,2,7,5,4,6]=>010110
[1,3,2,7,5,6,4]=>010101
[1,3,2,7,6,4,5]=>010110
[1,3,2,7,6,5,4]=>010111
[1,3,4,2,5,6,7]=>001000
[1,3,4,2,5,7,6]=>001001
[1,3,4,2,6,5,7]=>001010
[1,3,4,2,6,7,5]=>001001
[1,3,4,2,7,5,6]=>001010
[1,3,4,2,7,6,5]=>001011
[1,3,4,5,2,6,7]=>000100
[1,3,4,5,2,7,6]=>000101
[1,3,4,5,6,2,7]=>000010
[1,3,4,5,6,7,2]=>000001
[1,3,4,5,7,2,6]=>000010
[1,3,4,5,7,6,2]=>000011
[1,3,4,6,2,5,7]=>000100
[1,3,4,6,2,7,5]=>000101
[1,3,4,6,5,2,7]=>000110
[1,3,4,6,5,7,2]=>000101
[1,3,4,6,7,2,5]=>000010
[1,3,4,6,7,5,2]=>000011
[1,3,4,7,2,5,6]=>000100
[1,3,4,7,2,6,5]=>000101
[1,3,4,7,5,2,6]=>000110
[1,3,4,7,5,6,2]=>000101
[1,3,4,7,6,2,5]=>000110
[1,3,4,7,6,5,2]=>000111
[1,3,5,2,4,6,7]=>001000
[1,3,5,2,4,7,6]=>001001
[1,3,5,2,6,4,7]=>001010
[1,3,5,2,6,7,4]=>001001
[1,3,5,2,7,4,6]=>001010
[1,3,5,2,7,6,4]=>001011
[1,3,5,4,2,6,7]=>001100
[1,3,5,4,2,7,6]=>001101
[1,3,5,4,6,2,7]=>001010
[1,3,5,4,6,7,2]=>001001
[1,3,5,4,7,2,6]=>001010
[1,3,5,4,7,6,2]=>001011
[1,3,5,6,2,4,7]=>000100
[1,3,5,6,2,7,4]=>000101
[1,3,5,6,4,2,7]=>000110
[1,3,5,6,4,7,2]=>000101
[1,3,5,6,7,2,4]=>000010
[1,3,5,6,7,4,2]=>000011
[1,3,5,7,2,4,6]=>000100
[1,3,5,7,2,6,4]=>000101
[1,3,5,7,4,2,6]=>000110
[1,3,5,7,4,6,2]=>000101
[1,3,5,7,6,2,4]=>000110
[1,3,5,7,6,4,2]=>000111
[1,3,6,2,4,5,7]=>001000
[1,3,6,2,4,7,5]=>001001
[1,3,6,2,5,4,7]=>001010
[1,3,6,2,5,7,4]=>001001
[1,3,6,2,7,4,5]=>001010
[1,3,6,2,7,5,4]=>001011
[1,3,6,4,2,5,7]=>001100
[1,3,6,4,2,7,5]=>001101
[1,3,6,4,5,2,7]=>001010
[1,3,6,4,5,7,2]=>001001
[1,3,6,4,7,2,5]=>001010
[1,3,6,4,7,5,2]=>001011
[1,3,6,5,2,4,7]=>001100
[1,3,6,5,2,7,4]=>001101
[1,3,6,5,4,2,7]=>001110
[1,3,6,5,4,7,2]=>001101
[1,3,6,5,7,2,4]=>001010
[1,3,6,5,7,4,2]=>001011
[1,3,6,7,2,4,5]=>000100
[1,3,6,7,2,5,4]=>000101
[1,3,6,7,4,2,5]=>000110
[1,3,6,7,4,5,2]=>000101
[1,3,6,7,5,2,4]=>000110
[1,3,6,7,5,4,2]=>000111
[1,3,7,2,4,5,6]=>001000
[1,3,7,2,4,6,5]=>001001
[1,3,7,2,5,4,6]=>001010
[1,3,7,2,5,6,4]=>001001
[1,3,7,2,6,4,5]=>001010
[1,3,7,2,6,5,4]=>001011
[1,3,7,4,2,5,6]=>001100
[1,3,7,4,2,6,5]=>001101
[1,3,7,4,5,2,6]=>001010
[1,3,7,4,5,6,2]=>001001
[1,3,7,4,6,2,5]=>001010
[1,3,7,4,6,5,2]=>001011
[1,3,7,5,2,4,6]=>001100
[1,3,7,5,2,6,4]=>001101
[1,3,7,5,4,2,6]=>001110
[1,3,7,5,4,6,2]=>001101
[1,3,7,5,6,2,4]=>001010
[1,3,7,5,6,4,2]=>001011
[1,3,7,6,2,4,5]=>001100
[1,3,7,6,2,5,4]=>001101
[1,3,7,6,4,2,5]=>001110
[1,3,7,6,4,5,2]=>001101
[1,3,7,6,5,2,4]=>001110
[1,3,7,6,5,4,2]=>001111
[1,4,2,3,5,6,7]=>010000
[1,4,2,3,5,7,6]=>010001
[1,4,2,3,6,5,7]=>010010
[1,4,2,3,6,7,5]=>010001
[1,4,2,3,7,5,6]=>010010
[1,4,2,3,7,6,5]=>010011
[1,4,2,5,3,6,7]=>010100
[1,4,2,5,3,7,6]=>010101
[1,4,2,5,6,3,7]=>010010
[1,4,2,5,6,7,3]=>010001
[1,4,2,5,7,3,6]=>010010
[1,4,2,5,7,6,3]=>010011
[1,4,2,6,3,5,7]=>010100
[1,4,2,6,3,7,5]=>010101
[1,4,2,6,5,3,7]=>010110
[1,4,2,6,5,7,3]=>010101
[1,4,2,6,7,3,5]=>010010
[1,4,2,6,7,5,3]=>010011
[1,4,2,7,3,5,6]=>010100
[1,4,2,7,3,6,5]=>010101
[1,4,2,7,5,3,6]=>010110
[1,4,2,7,5,6,3]=>010101
[1,4,2,7,6,3,5]=>010110
[1,4,2,7,6,5,3]=>010111
[1,4,3,2,5,6,7]=>011000
[1,4,3,2,5,7,6]=>011001
[1,4,3,2,6,5,7]=>011010
[1,4,3,2,6,7,5]=>011001
[1,4,3,2,7,5,6]=>011010
[1,4,3,2,7,6,5]=>011011
[1,4,3,5,2,6,7]=>010100
[1,4,3,5,2,7,6]=>010101
[1,4,3,5,6,2,7]=>010010
[1,4,3,5,6,7,2]=>010001
[1,4,3,5,7,2,6]=>010010
[1,4,3,5,7,6,2]=>010011
[1,4,3,6,2,5,7]=>010100
[1,4,3,6,2,7,5]=>010101
[1,4,3,6,5,2,7]=>010110
[1,4,3,6,5,7,2]=>010101
[1,4,3,6,7,2,5]=>010010
[1,4,3,6,7,5,2]=>010011
[1,4,3,7,2,5,6]=>010100
[1,4,3,7,2,6,5]=>010101
[1,4,3,7,5,2,6]=>010110
[1,4,3,7,5,6,2]=>010101
[1,4,3,7,6,2,5]=>010110
[1,4,3,7,6,5,2]=>010111
[1,4,5,2,3,6,7]=>001000
[1,4,5,2,3,7,6]=>001001
[1,4,5,2,6,3,7]=>001010
[1,4,5,2,6,7,3]=>001001
[1,4,5,2,7,3,6]=>001010
[1,4,5,2,7,6,3]=>001011
[1,4,5,3,2,6,7]=>001100
[1,4,5,3,2,7,6]=>001101
[1,4,5,3,6,2,7]=>001010
[1,4,5,3,6,7,2]=>001001
[1,4,5,3,7,2,6]=>001010
[1,4,5,3,7,6,2]=>001011
[1,4,5,6,2,3,7]=>000100
[1,4,5,6,2,7,3]=>000101
[1,4,5,6,3,2,7]=>000110
[1,4,5,6,3,7,2]=>000101
[1,4,5,6,7,2,3]=>000010
[1,4,5,6,7,3,2]=>000011
[1,4,5,7,2,3,6]=>000100
[1,4,5,7,2,6,3]=>000101
[1,4,5,7,3,2,6]=>000110
[1,4,5,7,3,6,2]=>000101
[1,4,5,7,6,2,3]=>000110
[1,4,5,7,6,3,2]=>000111
[1,4,6,2,3,5,7]=>001000
[1,4,6,2,3,7,5]=>001001
[1,4,6,2,5,3,7]=>001010
[1,4,6,2,5,7,3]=>001001
[1,4,6,2,7,3,5]=>001010
[1,4,6,2,7,5,3]=>001011
[1,4,6,3,2,5,7]=>001100
[1,4,6,3,2,7,5]=>001101
[1,4,6,3,5,2,7]=>001010
[1,4,6,3,5,7,2]=>001001
[1,4,6,3,7,2,5]=>001010
[1,4,6,3,7,5,2]=>001011
[1,4,6,5,2,3,7]=>001100
[1,4,6,5,2,7,3]=>001101
[1,4,6,5,3,2,7]=>001110
[1,4,6,5,3,7,2]=>001101
[1,4,6,5,7,2,3]=>001010
[1,4,6,5,7,3,2]=>001011
[1,4,6,7,2,3,5]=>000100
[1,4,6,7,2,5,3]=>000101
[1,4,6,7,3,2,5]=>000110
[1,4,6,7,3,5,2]=>000101
[1,4,6,7,5,2,3]=>000110
[1,4,6,7,5,3,2]=>000111
[1,4,7,2,3,5,6]=>001000
[1,4,7,2,3,6,5]=>001001
[1,4,7,2,5,3,6]=>001010
[1,4,7,2,5,6,3]=>001001
[1,4,7,2,6,3,5]=>001010
[1,4,7,2,6,5,3]=>001011
[1,4,7,3,2,5,6]=>001100
[1,4,7,3,2,6,5]=>001101
[1,4,7,3,5,2,6]=>001010
[1,4,7,3,5,6,2]=>001001
[1,4,7,3,6,2,5]=>001010
[1,4,7,3,6,5,2]=>001011
[1,4,7,5,2,3,6]=>001100
[1,4,7,5,2,6,3]=>001101
[1,4,7,5,3,2,6]=>001110
[1,4,7,5,3,6,2]=>001101
[1,4,7,5,6,2,3]=>001010
[1,4,7,5,6,3,2]=>001011
[1,4,7,6,2,3,5]=>001100
[1,4,7,6,2,5,3]=>001101
[1,4,7,6,3,2,5]=>001110
[1,4,7,6,3,5,2]=>001101
[1,4,7,6,5,2,3]=>001110
[1,4,7,6,5,3,2]=>001111
[1,5,2,3,4,6,7]=>010000
[1,5,2,3,4,7,6]=>010001
[1,5,2,3,6,4,7]=>010010
[1,5,2,3,6,7,4]=>010001
[1,5,2,3,7,4,6]=>010010
[1,5,2,3,7,6,4]=>010011
[1,5,2,4,3,6,7]=>010100
[1,5,2,4,3,7,6]=>010101
[1,5,2,4,6,3,7]=>010010
[1,5,2,4,6,7,3]=>010001
[1,5,2,4,7,3,6]=>010010
[1,5,2,4,7,6,3]=>010011
[1,5,2,6,3,4,7]=>010100
[1,5,2,6,3,7,4]=>010101
[1,5,2,6,4,3,7]=>010110
[1,5,2,6,4,7,3]=>010101
[1,5,2,6,7,3,4]=>010010
[1,5,2,6,7,4,3]=>010011
[1,5,2,7,3,4,6]=>010100
[1,5,2,7,3,6,4]=>010101
[1,5,2,7,4,3,6]=>010110
[1,5,2,7,4,6,3]=>010101
[1,5,2,7,6,3,4]=>010110
[1,5,2,7,6,4,3]=>010111
[1,5,3,2,4,6,7]=>011000
[1,5,3,2,4,7,6]=>011001
[1,5,3,2,6,4,7]=>011010
[1,5,3,2,6,7,4]=>011001
[1,5,3,2,7,4,6]=>011010
[1,5,3,2,7,6,4]=>011011
[1,5,3,4,2,6,7]=>010100
[1,5,3,4,2,7,6]=>010101
[1,5,3,4,6,2,7]=>010010
[1,5,3,4,6,7,2]=>010001
[1,5,3,4,7,2,6]=>010010
[1,5,3,4,7,6,2]=>010011
[1,5,3,6,2,4,7]=>010100
[1,5,3,6,2,7,4]=>010101
[1,5,3,6,4,2,7]=>010110
[1,5,3,6,4,7,2]=>010101
[1,5,3,6,7,2,4]=>010010
[1,5,3,6,7,4,2]=>010011
[1,5,3,7,2,4,6]=>010100
[1,5,3,7,2,6,4]=>010101
[1,5,3,7,4,2,6]=>010110
[1,5,3,7,4,6,2]=>010101
[1,5,3,7,6,2,4]=>010110
[1,5,3,7,6,4,2]=>010111
[1,5,4,2,3,6,7]=>011000
[1,5,4,2,3,7,6]=>011001
[1,5,4,2,6,3,7]=>011010
[1,5,4,2,6,7,3]=>011001
[1,5,4,2,7,3,6]=>011010
[1,5,4,2,7,6,3]=>011011
[1,5,4,3,2,6,7]=>011100
[1,5,4,3,2,7,6]=>011101
[1,5,4,3,6,2,7]=>011010
[1,5,4,3,6,7,2]=>011001
[1,5,4,3,7,2,6]=>011010
[1,5,4,3,7,6,2]=>011011
[1,5,4,6,2,3,7]=>010100
[1,5,4,6,2,7,3]=>010101
[1,5,4,6,3,2,7]=>010110
[1,5,4,6,3,7,2]=>010101
[1,5,4,6,7,2,3]=>010010
[1,5,4,6,7,3,2]=>010011
[1,5,4,7,2,3,6]=>010100
[1,5,4,7,2,6,3]=>010101
[1,5,4,7,3,2,6]=>010110
[1,5,4,7,3,6,2]=>010101
[1,5,4,7,6,2,3]=>010110
[1,5,4,7,6,3,2]=>010111
[1,5,6,2,3,4,7]=>001000
[1,5,6,2,3,7,4]=>001001
[1,5,6,2,4,3,7]=>001010
[1,5,6,2,4,7,3]=>001001
[1,5,6,2,7,3,4]=>001010
[1,5,6,2,7,4,3]=>001011
[1,5,6,3,2,4,7]=>001100
[1,5,6,3,2,7,4]=>001101
[1,5,6,3,4,2,7]=>001010
[1,5,6,3,4,7,2]=>001001
[1,5,6,3,7,2,4]=>001010
[1,5,6,3,7,4,2]=>001011
[1,5,6,4,2,3,7]=>001100
[1,5,6,4,2,7,3]=>001101
[1,5,6,4,3,2,7]=>001110
[1,5,6,4,3,7,2]=>001101
[1,5,6,4,7,2,3]=>001010
[1,5,6,4,7,3,2]=>001011
[1,5,6,7,2,3,4]=>000100
[1,5,6,7,2,4,3]=>000101
[1,5,6,7,3,2,4]=>000110
[1,5,6,7,3,4,2]=>000101
[1,5,6,7,4,2,3]=>000110
[1,5,6,7,4,3,2]=>000111
[1,5,7,2,3,4,6]=>001000
[1,5,7,2,3,6,4]=>001001
[1,5,7,2,4,3,6]=>001010
[1,5,7,2,4,6,3]=>001001
[1,5,7,2,6,3,4]=>001010
[1,5,7,2,6,4,3]=>001011
[1,5,7,3,2,4,6]=>001100
[1,5,7,3,2,6,4]=>001101
[1,5,7,3,4,2,6]=>001010
[1,5,7,3,4,6,2]=>001001
[1,5,7,3,6,2,4]=>001010
[1,5,7,3,6,4,2]=>001011
[1,5,7,4,2,3,6]=>001100
[1,5,7,4,2,6,3]=>001101
[1,5,7,4,3,2,6]=>001110
[1,5,7,4,3,6,2]=>001101
[1,5,7,4,6,2,3]=>001010
[1,5,7,4,6,3,2]=>001011
[1,5,7,6,2,3,4]=>001100
[1,5,7,6,2,4,3]=>001101
[1,5,7,6,3,2,4]=>001110
[1,5,7,6,3,4,2]=>001101
[1,5,7,6,4,2,3]=>001110
[1,5,7,6,4,3,2]=>001111
[1,6,2,3,4,5,7]=>010000
[1,6,2,3,4,7,5]=>010001
[1,6,2,3,5,4,7]=>010010
[1,6,2,3,5,7,4]=>010001
[1,6,2,3,7,4,5]=>010010
[1,6,2,3,7,5,4]=>010011
[1,6,2,4,3,5,7]=>010100
[1,6,2,4,3,7,5]=>010101
[1,6,2,4,5,3,7]=>010010
[1,6,2,4,5,7,3]=>010001
[1,6,2,4,7,3,5]=>010010
[1,6,2,4,7,5,3]=>010011
[1,6,2,5,3,4,7]=>010100
[1,6,2,5,3,7,4]=>010101
[1,6,2,5,4,3,7]=>010110
[1,6,2,5,4,7,3]=>010101
[1,6,2,5,7,3,4]=>010010
[1,6,2,5,7,4,3]=>010011
[1,6,2,7,3,4,5]=>010100
[1,6,2,7,3,5,4]=>010101
[1,6,2,7,4,3,5]=>010110
[1,6,2,7,4,5,3]=>010101
[1,6,2,7,5,3,4]=>010110
[1,6,2,7,5,4,3]=>010111
[1,6,3,2,4,5,7]=>011000
[1,6,3,2,4,7,5]=>011001
[1,6,3,2,5,4,7]=>011010
[1,6,3,2,5,7,4]=>011001
[1,6,3,2,7,4,5]=>011010
[1,6,3,2,7,5,4]=>011011
[1,6,3,4,2,5,7]=>010100
[1,6,3,4,2,7,5]=>010101
[1,6,3,4,5,2,7]=>010010
[1,6,3,4,5,7,2]=>010001
[1,6,3,4,7,2,5]=>010010
[1,6,3,4,7,5,2]=>010011
[1,6,3,5,2,4,7]=>010100
[1,6,3,5,2,7,4]=>010101
[1,6,3,5,4,2,7]=>010110
[1,6,3,5,4,7,2]=>010101
[1,6,3,5,7,2,4]=>010010
[1,6,3,5,7,4,2]=>010011
[1,6,3,7,2,4,5]=>010100
[1,6,3,7,2,5,4]=>010101
[1,6,3,7,4,2,5]=>010110
[1,6,3,7,4,5,2]=>010101
[1,6,3,7,5,2,4]=>010110
[1,6,3,7,5,4,2]=>010111
[1,6,4,2,3,5,7]=>011000
[1,6,4,2,3,7,5]=>011001
[1,6,4,2,5,3,7]=>011010
[1,6,4,2,5,7,3]=>011001
[1,6,4,2,7,3,5]=>011010
[1,6,4,2,7,5,3]=>011011
[1,6,4,3,2,5,7]=>011100
[1,6,4,3,2,7,5]=>011101
[1,6,4,3,5,2,7]=>011010
[1,6,4,3,5,7,2]=>011001
[1,6,4,3,7,2,5]=>011010
[1,6,4,3,7,5,2]=>011011
[1,6,4,5,2,3,7]=>010100
[1,6,4,5,2,7,3]=>010101
[1,6,4,5,3,2,7]=>010110
[1,6,4,5,3,7,2]=>010101
[1,6,4,5,7,2,3]=>010010
[1,6,4,5,7,3,2]=>010011
[1,6,4,7,2,3,5]=>010100
[1,6,4,7,2,5,3]=>010101
[1,6,4,7,3,2,5]=>010110
[1,6,4,7,3,5,2]=>010101
[1,6,4,7,5,2,3]=>010110
[1,6,4,7,5,3,2]=>010111
[1,6,5,2,3,4,7]=>011000
[1,6,5,2,3,7,4]=>011001
[1,6,5,2,4,3,7]=>011010
[1,6,5,2,4,7,3]=>011001
[1,6,5,2,7,3,4]=>011010
[1,6,5,2,7,4,3]=>011011
[1,6,5,3,2,4,7]=>011100
[1,6,5,3,2,7,4]=>011101
[1,6,5,3,4,2,7]=>011010
[1,6,5,3,4,7,2]=>011001
[1,6,5,3,7,2,4]=>011010
[1,6,5,3,7,4,2]=>011011
[1,6,5,4,2,3,7]=>011100
[1,6,5,4,2,7,3]=>011101
[1,6,5,4,3,2,7]=>011110
[1,6,5,4,3,7,2]=>011101
[1,6,5,4,7,2,3]=>011010
[1,6,5,4,7,3,2]=>011011
[1,6,5,7,2,3,4]=>010100
[1,6,5,7,2,4,3]=>010101
[1,6,5,7,3,2,4]=>010110
[1,6,5,7,3,4,2]=>010101
[1,6,5,7,4,2,3]=>010110
[1,6,5,7,4,3,2]=>010111
[1,6,7,2,3,4,5]=>001000
[1,6,7,2,3,5,4]=>001001
[1,6,7,2,4,3,5]=>001010
[1,6,7,2,4,5,3]=>001001
[1,6,7,2,5,3,4]=>001010
[1,6,7,2,5,4,3]=>001011
[1,6,7,3,2,4,5]=>001100
[1,6,7,3,2,5,4]=>001101
[1,6,7,3,4,2,5]=>001010
[1,6,7,3,4,5,2]=>001001
[1,6,7,3,5,2,4]=>001010
[1,6,7,3,5,4,2]=>001011
[1,6,7,4,2,3,5]=>001100
[1,6,7,4,2,5,3]=>001101
[1,6,7,4,3,2,5]=>001110
[1,6,7,4,3,5,2]=>001101
[1,6,7,4,5,2,3]=>001010
[1,6,7,4,5,3,2]=>001011
[1,6,7,5,2,3,4]=>001100
[1,6,7,5,2,4,3]=>001101
[1,6,7,5,3,2,4]=>001110
[1,6,7,5,3,4,2]=>001101
[1,6,7,5,4,2,3]=>001110
[1,6,7,5,4,3,2]=>001111
[1,7,2,3,4,5,6]=>010000
[1,7,2,3,4,6,5]=>010001
[1,7,2,3,5,4,6]=>010010
[1,7,2,3,5,6,4]=>010001
[1,7,2,3,6,4,5]=>010010
[1,7,2,3,6,5,4]=>010011
[1,7,2,4,3,5,6]=>010100
[1,7,2,4,3,6,5]=>010101
[1,7,2,4,5,3,6]=>010010
[1,7,2,4,5,6,3]=>010001
[1,7,2,4,6,3,5]=>010010
[1,7,2,4,6,5,3]=>010011
[1,7,2,5,3,4,6]=>010100
[1,7,2,5,3,6,4]=>010101
[1,7,2,5,4,3,6]=>010110
[1,7,2,5,4,6,3]=>010101
[1,7,2,5,6,3,4]=>010010
[1,7,2,5,6,4,3]=>010011
[1,7,2,6,3,4,5]=>010100
[1,7,2,6,3,5,4]=>010101
[1,7,2,6,4,3,5]=>010110
[1,7,2,6,4,5,3]=>010101
[1,7,2,6,5,3,4]=>010110
[1,7,2,6,5,4,3]=>010111
[1,7,3,2,4,5,6]=>011000
[1,7,3,2,4,6,5]=>011001
[1,7,3,2,5,4,6]=>011010
[1,7,3,2,5,6,4]=>011001
[1,7,3,2,6,4,5]=>011010
[1,7,3,2,6,5,4]=>011011
[1,7,3,4,2,5,6]=>010100
[1,7,3,4,2,6,5]=>010101
[1,7,3,4,5,2,6]=>010010
[1,7,3,4,5,6,2]=>010001
[1,7,3,4,6,2,5]=>010010
[1,7,3,4,6,5,2]=>010011
[1,7,3,5,2,4,6]=>010100
[1,7,3,5,2,6,4]=>010101
[1,7,3,5,4,2,6]=>010110
[1,7,3,5,4,6,2]=>010101
[1,7,3,5,6,2,4]=>010010
[1,7,3,5,6,4,2]=>010011
[1,7,3,6,2,4,5]=>010100
[1,7,3,6,2,5,4]=>010101
[1,7,3,6,4,2,5]=>010110
[1,7,3,6,4,5,2]=>010101
[1,7,3,6,5,2,4]=>010110
[1,7,3,6,5,4,2]=>010111
[1,7,4,2,3,5,6]=>011000
[1,7,4,2,3,6,5]=>011001
[1,7,4,2,5,3,6]=>011010
[1,7,4,2,5,6,3]=>011001
[1,7,4,2,6,3,5]=>011010
[1,7,4,2,6,5,3]=>011011
[1,7,4,3,2,5,6]=>011100
[1,7,4,3,2,6,5]=>011101
[1,7,4,3,5,2,6]=>011010
[1,7,4,3,5,6,2]=>011001
[1,7,4,3,6,2,5]=>011010
[1,7,4,3,6,5,2]=>011011
[1,7,4,5,2,3,6]=>010100
[1,7,4,5,2,6,3]=>010101
[1,7,4,5,3,2,6]=>010110
[1,7,4,5,3,6,2]=>010101
[1,7,4,5,6,2,3]=>010010
[1,7,4,5,6,3,2]=>010011
[1,7,4,6,2,3,5]=>010100
[1,7,4,6,2,5,3]=>010101
[1,7,4,6,3,2,5]=>010110
[1,7,4,6,3,5,2]=>010101
[1,7,4,6,5,2,3]=>010110
[1,7,4,6,5,3,2]=>010111
[1,7,5,2,3,4,6]=>011000
[1,7,5,2,3,6,4]=>011001
[1,7,5,2,4,3,6]=>011010
[1,7,5,2,4,6,3]=>011001
[1,7,5,2,6,3,4]=>011010
[1,7,5,2,6,4,3]=>011011
[1,7,5,3,2,4,6]=>011100
[1,7,5,3,2,6,4]=>011101
[1,7,5,3,4,2,6]=>011010
[1,7,5,3,4,6,2]=>011001
[1,7,5,3,6,2,4]=>011010
[1,7,5,3,6,4,2]=>011011
[1,7,5,4,2,3,6]=>011100
[1,7,5,4,2,6,3]=>011101
[1,7,5,4,3,2,6]=>011110
[1,7,5,4,3,6,2]=>011101
[1,7,5,4,6,2,3]=>011010
[1,7,5,4,6,3,2]=>011011
[1,7,5,6,2,3,4]=>010100
[1,7,5,6,2,4,3]=>010101
[1,7,5,6,3,2,4]=>010110
[1,7,5,6,3,4,2]=>010101
[1,7,5,6,4,2,3]=>010110
[1,7,5,6,4,3,2]=>010111
[1,7,6,2,3,4,5]=>011000
[1,7,6,2,3,5,4]=>011001
[1,7,6,2,4,3,5]=>011010
[1,7,6,2,4,5,3]=>011001
[1,7,6,2,5,3,4]=>011010
[1,7,6,2,5,4,3]=>011011
[1,7,6,3,2,4,5]=>011100
[1,7,6,3,2,5,4]=>011101
[1,7,6,3,4,2,5]=>011010
[1,7,6,3,4,5,2]=>011001
[1,7,6,3,5,2,4]=>011010
[1,7,6,3,5,4,2]=>011011
[1,7,6,4,2,3,5]=>011100
[1,7,6,4,2,5,3]=>011101
[1,7,6,4,3,2,5]=>011110
[1,7,6,4,3,5,2]=>011101
[1,7,6,4,5,2,3]=>011010
[1,7,6,4,5,3,2]=>011011
[1,7,6,5,2,3,4]=>011100
[1,7,6,5,2,4,3]=>011101
[1,7,6,5,3,2,4]=>011110
[1,7,6,5,3,4,2]=>011101
[1,7,6,5,4,2,3]=>011110
[1,7,6,5,4,3,2]=>011111
[2,1,3,4,5,6,7]=>100000
[2,1,3,4,5,7,6]=>100001
[2,1,3,4,6,5,7]=>100010
[2,1,3,4,6,7,5]=>100001
[2,1,3,4,7,5,6]=>100010
[2,1,3,4,7,6,5]=>100011
[2,1,3,5,4,6,7]=>100100
[2,1,3,5,4,7,6]=>100101
[2,1,3,5,6,4,7]=>100010
[2,1,3,5,6,7,4]=>100001
[2,1,3,5,7,4,6]=>100010
[2,1,3,5,7,6,4]=>100011
[2,1,3,6,4,5,7]=>100100
[2,1,3,6,4,7,5]=>100101
[2,1,3,6,5,4,7]=>100110
[2,1,3,6,5,7,4]=>100101
[2,1,3,6,7,4,5]=>100010
[2,1,3,6,7,5,4]=>100011
[2,1,3,7,4,5,6]=>100100
[2,1,3,7,4,6,5]=>100101
[2,1,3,7,5,4,6]=>100110
[2,1,3,7,5,6,4]=>100101
[2,1,3,7,6,4,5]=>100110
[2,1,3,7,6,5,4]=>100111
[2,1,4,3,5,6,7]=>101000
[2,1,4,3,5,7,6]=>101001
[2,1,4,3,6,5,7]=>101010
[2,1,4,3,6,7,5]=>101001
[2,1,4,3,7,5,6]=>101010
[2,1,4,3,7,6,5]=>101011
[2,1,4,5,3,6,7]=>100100
[2,1,4,5,3,7,6]=>100101
[2,1,4,5,6,3,7]=>100010
[2,1,4,5,6,7,3]=>100001
[2,1,4,5,7,3,6]=>100010
[2,1,4,5,7,6,3]=>100011
[2,1,4,6,3,5,7]=>100100
[2,1,4,6,3,7,5]=>100101
[2,1,4,6,5,3,7]=>100110
[2,1,4,6,5,7,3]=>100101
[2,1,4,6,7,3,5]=>100010
[2,1,4,6,7,5,3]=>100011
[2,1,4,7,3,5,6]=>100100
[2,1,4,7,3,6,5]=>100101
[2,1,4,7,5,3,6]=>100110
[2,1,4,7,5,6,3]=>100101
[2,1,4,7,6,3,5]=>100110
[2,1,4,7,6,5,3]=>100111
[2,1,5,3,4,6,7]=>101000
[2,1,5,3,4,7,6]=>101001
[2,1,5,3,6,4,7]=>101010
[2,1,5,3,6,7,4]=>101001
[2,1,5,3,7,4,6]=>101010
[2,1,5,3,7,6,4]=>101011
[2,1,5,4,3,6,7]=>101100
[2,1,5,4,3,7,6]=>101101
[2,1,5,4,6,3,7]=>101010
[2,1,5,4,6,7,3]=>101001
[2,1,5,4,7,3,6]=>101010
[2,1,5,4,7,6,3]=>101011
[2,1,5,6,3,4,7]=>100100
[2,1,5,6,3,7,4]=>100101
[2,1,5,6,4,3,7]=>100110
[2,1,5,6,4,7,3]=>100101
[2,1,5,6,7,3,4]=>100010
[2,1,5,6,7,4,3]=>100011
[2,1,5,7,3,4,6]=>100100
[2,1,5,7,3,6,4]=>100101
[2,1,5,7,4,3,6]=>100110
[2,1,5,7,4,6,3]=>100101
[2,1,5,7,6,3,4]=>100110
[2,1,5,7,6,4,3]=>100111
[2,1,6,3,4,5,7]=>101000
[2,1,6,3,4,7,5]=>101001
[2,1,6,3,5,4,7]=>101010
[2,1,6,3,5,7,4]=>101001
[2,1,6,3,7,4,5]=>101010
[2,1,6,3,7,5,4]=>101011
[2,1,6,4,3,5,7]=>101100
[2,1,6,4,3,7,5]=>101101
[2,1,6,4,5,3,7]=>101010
[2,1,6,4,5,7,3]=>101001
[2,1,6,4,7,3,5]=>101010
[2,1,6,4,7,5,3]=>101011
[2,1,6,5,3,4,7]=>101100
[2,1,6,5,3,7,4]=>101101
[2,1,6,5,4,3,7]=>101110
[2,1,6,5,4,7,3]=>101101
[2,1,6,5,7,3,4]=>101010
[2,1,6,5,7,4,3]=>101011
[2,1,6,7,3,4,5]=>100100
[2,1,6,7,3,5,4]=>100101
[2,1,6,7,4,3,5]=>100110
[2,1,6,7,4,5,3]=>100101
[2,1,6,7,5,3,4]=>100110
[2,1,6,7,5,4,3]=>100111
[2,1,7,3,4,5,6]=>101000
[2,1,7,3,4,6,5]=>101001
[2,1,7,3,5,4,6]=>101010
[2,1,7,3,5,6,4]=>101001
[2,1,7,3,6,4,5]=>101010
[2,1,7,3,6,5,4]=>101011
[2,1,7,4,3,5,6]=>101100
[2,1,7,4,3,6,5]=>101101
[2,1,7,4,5,3,6]=>101010
[2,1,7,4,5,6,3]=>101001
[2,1,7,4,6,3,5]=>101010
[2,1,7,4,6,5,3]=>101011
[2,1,7,5,3,4,6]=>101100
[2,1,7,5,3,6,4]=>101101
[2,1,7,5,4,3,6]=>101110
[2,1,7,5,4,6,3]=>101101
[2,1,7,5,6,3,4]=>101010
[2,1,7,5,6,4,3]=>101011
[2,1,7,6,3,4,5]=>101100
[2,1,7,6,3,5,4]=>101101
[2,1,7,6,4,3,5]=>101110
[2,1,7,6,4,5,3]=>101101
[2,1,7,6,5,3,4]=>101110
[2,1,7,6,5,4,3]=>101111
[2,3,1,4,5,6,7]=>010000
[2,3,1,4,5,7,6]=>010001
[2,3,1,4,6,5,7]=>010010
[2,3,1,4,6,7,5]=>010001
[2,3,1,4,7,5,6]=>010010
[2,3,1,4,7,6,5]=>010011
[2,3,1,5,4,6,7]=>010100
[2,3,1,5,4,7,6]=>010101
[2,3,1,5,6,4,7]=>010010
[2,3,1,5,6,7,4]=>010001
[2,3,1,5,7,4,6]=>010010
[2,3,1,5,7,6,4]=>010011
[2,3,1,6,4,5,7]=>010100
[2,3,1,6,4,7,5]=>010101
[2,3,1,6,5,4,7]=>010110
[2,3,1,6,5,7,4]=>010101
[2,3,1,6,7,4,5]=>010010
[2,3,1,6,7,5,4]=>010011
[2,3,1,7,4,5,6]=>010100
[2,3,1,7,4,6,5]=>010101
[2,3,1,7,5,4,6]=>010110
[2,3,1,7,5,6,4]=>010101
[2,3,1,7,6,4,5]=>010110
[2,3,1,7,6,5,4]=>010111
[2,3,4,1,5,6,7]=>001000
[2,3,4,1,5,7,6]=>001001
[2,3,4,1,6,5,7]=>001010
[2,3,4,1,6,7,5]=>001001
[2,3,4,1,7,5,6]=>001010
[2,3,4,1,7,6,5]=>001011
[2,3,4,5,1,6,7]=>000100
[2,3,4,5,1,7,6]=>000101
[2,3,4,5,6,1,7]=>000010
[2,3,4,5,6,7,1]=>000001
[2,3,4,5,7,1,6]=>000010
[2,3,4,5,7,6,1]=>000011
[2,3,4,6,1,5,7]=>000100
[2,3,4,6,1,7,5]=>000101
[2,3,4,6,5,1,7]=>000110
[2,3,4,6,5,7,1]=>000101
[2,3,4,6,7,1,5]=>000010
[2,3,4,6,7,5,1]=>000011
[2,3,4,7,1,5,6]=>000100
[2,3,4,7,1,6,5]=>000101
[2,3,4,7,5,1,6]=>000110
[2,3,4,7,5,6,1]=>000101
[2,3,4,7,6,1,5]=>000110
[2,3,4,7,6,5,1]=>000111
[2,3,5,1,4,6,7]=>001000
[2,3,5,1,4,7,6]=>001001
[2,3,5,1,6,4,7]=>001010
[2,3,5,1,6,7,4]=>001001
[2,3,5,1,7,4,6]=>001010
[2,3,5,1,7,6,4]=>001011
[2,3,5,4,1,6,7]=>001100
[2,3,5,4,1,7,6]=>001101
[2,3,5,4,6,1,7]=>001010
[2,3,5,4,6,7,1]=>001001
[2,3,5,4,7,1,6]=>001010
[2,3,5,4,7,6,1]=>001011
[2,3,5,6,1,4,7]=>000100
[2,3,5,6,1,7,4]=>000101
[2,3,5,6,4,1,7]=>000110
[2,3,5,6,4,7,1]=>000101
[2,3,5,6,7,1,4]=>000010
[2,3,5,6,7,4,1]=>000011
[2,3,5,7,1,4,6]=>000100
[2,3,5,7,1,6,4]=>000101
[2,3,5,7,4,1,6]=>000110
[2,3,5,7,4,6,1]=>000101
[2,3,5,7,6,1,4]=>000110
[2,3,5,7,6,4,1]=>000111
[2,3,6,1,4,5,7]=>001000
[2,3,6,1,4,7,5]=>001001
[2,3,6,1,5,4,7]=>001010
[2,3,6,1,5,7,4]=>001001
[2,3,6,1,7,4,5]=>001010
[2,3,6,1,7,5,4]=>001011
[2,3,6,4,1,5,7]=>001100
[2,3,6,4,1,7,5]=>001101
[2,3,6,4,5,1,7]=>001010
[2,3,6,4,5,7,1]=>001001
[2,3,6,4,7,1,5]=>001010
[2,3,6,4,7,5,1]=>001011
[2,3,6,5,1,4,7]=>001100
[2,3,6,5,1,7,4]=>001101
[2,3,6,5,4,1,7]=>001110
[2,3,6,5,4,7,1]=>001101
[2,3,6,5,7,1,4]=>001010
[2,3,6,5,7,4,1]=>001011
[2,3,6,7,1,4,5]=>000100
[2,3,6,7,1,5,4]=>000101
[2,3,6,7,4,1,5]=>000110
[2,3,6,7,4,5,1]=>000101
[2,3,6,7,5,1,4]=>000110
[2,3,6,7,5,4,1]=>000111
[2,3,7,1,4,5,6]=>001000
[2,3,7,1,4,6,5]=>001001
[2,3,7,1,5,4,6]=>001010
[2,3,7,1,5,6,4]=>001001
[2,3,7,1,6,4,5]=>001010
[2,3,7,1,6,5,4]=>001011
[2,3,7,4,1,5,6]=>001100
[2,3,7,4,1,6,5]=>001101
[2,3,7,4,5,1,6]=>001010
[2,3,7,4,5,6,1]=>001001
[2,3,7,4,6,1,5]=>001010
[2,3,7,4,6,5,1]=>001011
[2,3,7,5,1,4,6]=>001100
[2,3,7,5,1,6,4]=>001101
[2,3,7,5,4,1,6]=>001110
[2,3,7,5,4,6,1]=>001101
[2,3,7,5,6,1,4]=>001010
[2,3,7,5,6,4,1]=>001011
[2,3,7,6,1,4,5]=>001100
[2,3,7,6,1,5,4]=>001101
[2,3,7,6,4,1,5]=>001110
[2,3,7,6,4,5,1]=>001101
[2,3,7,6,5,1,4]=>001110
[2,3,7,6,5,4,1]=>001111
[2,4,1,3,5,6,7]=>010000
[2,4,1,3,5,7,6]=>010001
[2,4,1,3,6,5,7]=>010010
[2,4,1,3,6,7,5]=>010001
[2,4,1,3,7,5,6]=>010010
[2,4,1,3,7,6,5]=>010011
[2,4,1,5,3,6,7]=>010100
[2,4,1,5,3,7,6]=>010101
[2,4,1,5,6,3,7]=>010010
[2,4,1,5,6,7,3]=>010001
[2,4,1,5,7,3,6]=>010010
[2,4,1,5,7,6,3]=>010011
[2,4,1,6,3,5,7]=>010100
[2,4,1,6,3,7,5]=>010101
[2,4,1,6,5,3,7]=>010110
[2,4,1,6,5,7,3]=>010101
[2,4,1,6,7,3,5]=>010010
[2,4,1,6,7,5,3]=>010011
[2,4,1,7,3,5,6]=>010100
[2,4,1,7,3,6,5]=>010101
[2,4,1,7,5,3,6]=>010110
[2,4,1,7,5,6,3]=>010101
[2,4,1,7,6,3,5]=>010110
[2,4,1,7,6,5,3]=>010111
[2,4,3,1,5,6,7]=>011000
[2,4,3,1,5,7,6]=>011001
[2,4,3,1,6,5,7]=>011010
[2,4,3,1,6,7,5]=>011001
[2,4,3,1,7,5,6]=>011010
[2,4,3,1,7,6,5]=>011011
[2,4,3,5,1,6,7]=>010100
[2,4,3,5,1,7,6]=>010101
[2,4,3,5,6,1,7]=>010010
[2,4,3,5,6,7,1]=>010001
[2,4,3,5,7,1,6]=>010010
[2,4,3,5,7,6,1]=>010011
[2,4,3,6,1,5,7]=>010100
[2,4,3,6,1,7,5]=>010101
[2,4,3,6,5,1,7]=>010110
[2,4,3,6,5,7,1]=>010101
[2,4,3,6,7,1,5]=>010010
[2,4,3,6,7,5,1]=>010011
[2,4,3,7,1,5,6]=>010100
[2,4,3,7,1,6,5]=>010101
[2,4,3,7,5,1,6]=>010110
[2,4,3,7,5,6,1]=>010101
[2,4,3,7,6,1,5]=>010110
[2,4,3,7,6,5,1]=>010111
[2,4,5,1,3,6,7]=>001000
[2,4,5,1,3,7,6]=>001001
[2,4,5,1,6,3,7]=>001010
[2,4,5,1,6,7,3]=>001001
[2,4,5,1,7,3,6]=>001010
[2,4,5,1,7,6,3]=>001011
[2,4,5,3,1,6,7]=>001100
[2,4,5,3,1,7,6]=>001101
[2,4,5,3,6,1,7]=>001010
[2,4,5,3,6,7,1]=>001001
[2,4,5,3,7,1,6]=>001010
[2,4,5,3,7,6,1]=>001011
[2,4,5,6,1,3,7]=>000100
[2,4,5,6,1,7,3]=>000101
[2,4,5,6,3,1,7]=>000110
[2,4,5,6,3,7,1]=>000101
[2,4,5,6,7,1,3]=>000010
[2,4,5,6,7,3,1]=>000011
[2,4,5,7,1,3,6]=>000100
[2,4,5,7,1,6,3]=>000101
[2,4,5,7,3,1,6]=>000110
[2,4,5,7,3,6,1]=>000101
[2,4,5,7,6,1,3]=>000110
[2,4,5,7,6,3,1]=>000111
[2,4,6,1,3,5,7]=>001000
[2,4,6,1,3,7,5]=>001001
[2,4,6,1,5,3,7]=>001010
[2,4,6,1,5,7,3]=>001001
[2,4,6,1,7,3,5]=>001010
[2,4,6,1,7,5,3]=>001011
[2,4,6,3,1,5,7]=>001100
[2,4,6,3,1,7,5]=>001101
[2,4,6,3,5,1,7]=>001010
[2,4,6,3,5,7,1]=>001001
[2,4,6,3,7,1,5]=>001010
[2,4,6,3,7,5,1]=>001011
[2,4,6,5,1,3,7]=>001100
[2,4,6,5,1,7,3]=>001101
[2,4,6,5,3,1,7]=>001110
[2,4,6,5,3,7,1]=>001101
[2,4,6,5,7,1,3]=>001010
[2,4,6,5,7,3,1]=>001011
[2,4,6,7,1,3,5]=>000100
[2,4,6,7,1,5,3]=>000101
[2,4,6,7,3,1,5]=>000110
[2,4,6,7,3,5,1]=>000101
[2,4,6,7,5,1,3]=>000110
[2,4,6,7,5,3,1]=>000111
[2,4,7,1,3,5,6]=>001000
[2,4,7,1,3,6,5]=>001001
[2,4,7,1,5,3,6]=>001010
[2,4,7,1,5,6,3]=>001001
[2,4,7,1,6,3,5]=>001010
[2,4,7,1,6,5,3]=>001011
[2,4,7,3,1,5,6]=>001100
[2,4,7,3,1,6,5]=>001101
[2,4,7,3,5,1,6]=>001010
[2,4,7,3,5,6,1]=>001001
[2,4,7,3,6,1,5]=>001010
[2,4,7,3,6,5,1]=>001011
[2,4,7,5,1,3,6]=>001100
[2,4,7,5,1,6,3]=>001101
[2,4,7,5,3,1,6]=>001110
[2,4,7,5,3,6,1]=>001101
[2,4,7,5,6,1,3]=>001010
[2,4,7,5,6,3,1]=>001011
[2,4,7,6,1,3,5]=>001100
[2,4,7,6,1,5,3]=>001101
[2,4,7,6,3,1,5]=>001110
[2,4,7,6,3,5,1]=>001101
[2,4,7,6,5,1,3]=>001110
[2,4,7,6,5,3,1]=>001111
[2,5,1,3,4,6,7]=>010000
[2,5,1,3,4,7,6]=>010001
[2,5,1,3,6,4,7]=>010010
[2,5,1,3,6,7,4]=>010001
[2,5,1,3,7,4,6]=>010010
[2,5,1,3,7,6,4]=>010011
[2,5,1,4,3,6,7]=>010100
[2,5,1,4,3,7,6]=>010101
[2,5,1,4,6,3,7]=>010010
[2,5,1,4,6,7,3]=>010001
[2,5,1,4,7,3,6]=>010010
[2,5,1,4,7,6,3]=>010011
[2,5,1,6,3,4,7]=>010100
[2,5,1,6,3,7,4]=>010101
[2,5,1,6,4,3,7]=>010110
[2,5,1,6,4,7,3]=>010101
[2,5,1,6,7,3,4]=>010010
[2,5,1,6,7,4,3]=>010011
[2,5,1,7,3,4,6]=>010100
[2,5,1,7,3,6,4]=>010101
[2,5,1,7,4,3,6]=>010110
[2,5,1,7,4,6,3]=>010101
[2,5,1,7,6,3,4]=>010110
[2,5,1,7,6,4,3]=>010111
[2,5,3,1,4,6,7]=>011000
[2,5,3,1,4,7,6]=>011001
[2,5,3,1,6,4,7]=>011010
[2,5,3,1,6,7,4]=>011001
[2,5,3,1,7,4,6]=>011010
[2,5,3,1,7,6,4]=>011011
[2,5,3,4,1,6,7]=>010100
[2,5,3,4,1,7,6]=>010101
[2,5,3,4,6,1,7]=>010010
[2,5,3,4,6,7,1]=>010001
[2,5,3,4,7,1,6]=>010010
[2,5,3,4,7,6,1]=>010011
[2,5,3,6,1,4,7]=>010100
[2,5,3,6,1,7,4]=>010101
[2,5,3,6,4,1,7]=>010110
[2,5,3,6,4,7,1]=>010101
[2,5,3,6,7,1,4]=>010010
[2,5,3,6,7,4,1]=>010011
[2,5,3,7,1,4,6]=>010100
[2,5,3,7,1,6,4]=>010101
[2,5,3,7,4,1,6]=>010110
[2,5,3,7,4,6,1]=>010101
[2,5,3,7,6,1,4]=>010110
[2,5,3,7,6,4,1]=>010111
[2,5,4,1,3,6,7]=>011000
[2,5,4,1,3,7,6]=>011001
[2,5,4,1,6,3,7]=>011010
[2,5,4,1,6,7,3]=>011001
[2,5,4,1,7,3,6]=>011010
[2,5,4,1,7,6,3]=>011011
[2,5,4,3,1,6,7]=>011100
[2,5,4,3,1,7,6]=>011101
[2,5,4,3,6,1,7]=>011010
[2,5,4,3,6,7,1]=>011001
[2,5,4,3,7,1,6]=>011010
[2,5,4,3,7,6,1]=>011011
[2,5,4,6,1,3,7]=>010100
[2,5,4,6,1,7,3]=>010101
[2,5,4,6,3,1,7]=>010110
[2,5,4,6,3,7,1]=>010101
[2,5,4,6,7,1,3]=>010010
[2,5,4,6,7,3,1]=>010011
[2,5,4,7,1,3,6]=>010100
[2,5,4,7,1,6,3]=>010101
[2,5,4,7,3,1,6]=>010110
[2,5,4,7,3,6,1]=>010101
[2,5,4,7,6,1,3]=>010110
[2,5,4,7,6,3,1]=>010111
[2,5,6,1,3,4,7]=>001000
[2,5,6,1,3,7,4]=>001001
[2,5,6,1,4,3,7]=>001010
[2,5,6,1,4,7,3]=>001001
[2,5,6,1,7,3,4]=>001010
[2,5,6,1,7,4,3]=>001011
[2,5,6,3,1,4,7]=>001100
[2,5,6,3,1,7,4]=>001101
[2,5,6,3,4,1,7]=>001010
[2,5,6,3,4,7,1]=>001001
[2,5,6,3,7,1,4]=>001010
[2,5,6,3,7,4,1]=>001011
[2,5,6,4,1,3,7]=>001100
[2,5,6,4,1,7,3]=>001101
[2,5,6,4,3,1,7]=>001110
[2,5,6,4,3,7,1]=>001101
[2,5,6,4,7,1,3]=>001010
[2,5,6,4,7,3,1]=>001011
[2,5,6,7,1,3,4]=>000100
[2,5,6,7,1,4,3]=>000101
[2,5,6,7,3,1,4]=>000110
[2,5,6,7,3,4,1]=>000101
[2,5,6,7,4,1,3]=>000110
[2,5,6,7,4,3,1]=>000111
[2,5,7,1,3,4,6]=>001000
[2,5,7,1,3,6,4]=>001001
[2,5,7,1,4,3,6]=>001010
[2,5,7,1,4,6,3]=>001001
[2,5,7,1,6,3,4]=>001010
[2,5,7,1,6,4,3]=>001011
[2,5,7,3,1,4,6]=>001100
[2,5,7,3,1,6,4]=>001101
[2,5,7,3,4,1,6]=>001010
[2,5,7,3,4,6,1]=>001001
[2,5,7,3,6,1,4]=>001010
[2,5,7,3,6,4,1]=>001011
[2,5,7,4,1,3,6]=>001100
[2,5,7,4,1,6,3]=>001101
[2,5,7,4,3,1,6]=>001110
[2,5,7,4,3,6,1]=>001101
[2,5,7,4,6,1,3]=>001010
[2,5,7,4,6,3,1]=>001011
[2,5,7,6,1,3,4]=>001100
[2,5,7,6,1,4,3]=>001101
[2,5,7,6,3,1,4]=>001110
[2,5,7,6,3,4,1]=>001101
[2,5,7,6,4,1,3]=>001110
[2,5,7,6,4,3,1]=>001111
[2,6,1,3,4,5,7]=>010000
[2,6,1,3,4,7,5]=>010001
[2,6,1,3,5,4,7]=>010010
[2,6,1,3,5,7,4]=>010001
[2,6,1,3,7,4,5]=>010010
[2,6,1,3,7,5,4]=>010011
[2,6,1,4,3,5,7]=>010100
[2,6,1,4,3,7,5]=>010101
[2,6,1,4,5,3,7]=>010010
[2,6,1,4,5,7,3]=>010001
[2,6,1,4,7,3,5]=>010010
[2,6,1,4,7,5,3]=>010011
[2,6,1,5,3,4,7]=>010100
[2,6,1,5,3,7,4]=>010101
[2,6,1,5,4,3,7]=>010110
[2,6,1,5,4,7,3]=>010101
[2,6,1,5,7,3,4]=>010010
[2,6,1,5,7,4,3]=>010011
[2,6,1,7,3,4,5]=>010100
[2,6,1,7,3,5,4]=>010101
[2,6,1,7,4,3,5]=>010110
[2,6,1,7,4,5,3]=>010101
[2,6,1,7,5,3,4]=>010110
[2,6,1,7,5,4,3]=>010111
[2,6,3,1,4,5,7]=>011000
[2,6,3,1,4,7,5]=>011001
[2,6,3,1,5,4,7]=>011010
[2,6,3,1,5,7,4]=>011001
[2,6,3,1,7,4,5]=>011010
[2,6,3,1,7,5,4]=>011011
[2,6,3,4,1,5,7]=>010100
[2,6,3,4,1,7,5]=>010101
[2,6,3,4,5,1,7]=>010010
[2,6,3,4,5,7,1]=>010001
[2,6,3,4,7,1,5]=>010010
[2,6,3,4,7,5,1]=>010011
[2,6,3,5,1,4,7]=>010100
[2,6,3,5,1,7,4]=>010101
[2,6,3,5,4,1,7]=>010110
[2,6,3,5,4,7,1]=>010101
[2,6,3,5,7,1,4]=>010010
[2,6,3,5,7,4,1]=>010011
[2,6,3,7,1,4,5]=>010100
[2,6,3,7,1,5,4]=>010101
[2,6,3,7,4,1,5]=>010110
[2,6,3,7,4,5,1]=>010101
[2,6,3,7,5,1,4]=>010110
[2,6,3,7,5,4,1]=>010111
[2,6,4,1,3,5,7]=>011000
[2,6,4,1,3,7,5]=>011001
[2,6,4,1,5,3,7]=>011010
[2,6,4,1,5,7,3]=>011001
[2,6,4,1,7,3,5]=>011010
[2,6,4,1,7,5,3]=>011011
[2,6,4,3,1,5,7]=>011100
[2,6,4,3,1,7,5]=>011101
[2,6,4,3,5,1,7]=>011010
[2,6,4,3,5,7,1]=>011001
[2,6,4,3,7,1,5]=>011010
[2,6,4,3,7,5,1]=>011011
[2,6,4,5,1,3,7]=>010100
[2,6,4,5,1,7,3]=>010101
[2,6,4,5,3,1,7]=>010110
[2,6,4,5,3,7,1]=>010101
[2,6,4,5,7,1,3]=>010010
[2,6,4,5,7,3,1]=>010011
[2,6,4,7,1,3,5]=>010100
[2,6,4,7,1,5,3]=>010101
[2,6,4,7,3,1,5]=>010110
[2,6,4,7,3,5,1]=>010101
[2,6,4,7,5,1,3]=>010110
[2,6,4,7,5,3,1]=>010111
[2,6,5,1,3,4,7]=>011000
[2,6,5,1,3,7,4]=>011001
[2,6,5,1,4,3,7]=>011010
[2,6,5,1,4,7,3]=>011001
[2,6,5,1,7,3,4]=>011010
[2,6,5,1,7,4,3]=>011011
[2,6,5,3,1,4,7]=>011100
[2,6,5,3,1,7,4]=>011101
[2,6,5,3,4,1,7]=>011010
[2,6,5,3,4,7,1]=>011001
[2,6,5,3,7,1,4]=>011010
[2,6,5,3,7,4,1]=>011011
[2,6,5,4,1,3,7]=>011100
[2,6,5,4,1,7,3]=>011101
[2,6,5,4,3,1,7]=>011110
[2,6,5,4,3,7,1]=>011101
[2,6,5,4,7,1,3]=>011010
[2,6,5,4,7,3,1]=>011011
[2,6,5,7,1,3,4]=>010100
[2,6,5,7,1,4,3]=>010101
[2,6,5,7,3,1,4]=>010110
[2,6,5,7,3,4,1]=>010101
[2,6,5,7,4,1,3]=>010110
[2,6,5,7,4,3,1]=>010111
[2,6,7,1,3,4,5]=>001000
[2,6,7,1,3,5,4]=>001001
[2,6,7,1,4,3,5]=>001010
[2,6,7,1,4,5,3]=>001001
[2,6,7,1,5,3,4]=>001010
[2,6,7,1,5,4,3]=>001011
[2,6,7,3,1,4,5]=>001100
[2,6,7,3,1,5,4]=>001101
[2,6,7,3,4,1,5]=>001010
[2,6,7,3,4,5,1]=>001001
[2,6,7,3,5,1,4]=>001010
[2,6,7,3,5,4,1]=>001011
[2,6,7,4,1,3,5]=>001100
[2,6,7,4,1,5,3]=>001101
[2,6,7,4,3,1,5]=>001110
[2,6,7,4,3,5,1]=>001101
[2,6,7,4,5,1,3]=>001010
[2,6,7,4,5,3,1]=>001011
[2,6,7,5,1,3,4]=>001100
[2,6,7,5,1,4,3]=>001101
[2,6,7,5,3,1,4]=>001110
[2,6,7,5,3,4,1]=>001101
[2,6,7,5,4,1,3]=>001110
[2,6,7,5,4,3,1]=>001111
[2,7,1,3,4,5,6]=>010000
[2,7,1,3,4,6,5]=>010001
[2,7,1,3,5,4,6]=>010010
[2,7,1,3,5,6,4]=>010001
[2,7,1,3,6,4,5]=>010010
[2,7,1,3,6,5,4]=>010011
[2,7,1,4,3,5,6]=>010100
[2,7,1,4,3,6,5]=>010101
[2,7,1,4,5,3,6]=>010010
[2,7,1,4,5,6,3]=>010001
[2,7,1,4,6,3,5]=>010010
[2,7,1,4,6,5,3]=>010011
[2,7,1,5,3,4,6]=>010100
[2,7,1,5,3,6,4]=>010101
[2,7,1,5,4,3,6]=>010110
[2,7,1,5,4,6,3]=>010101
[2,7,1,5,6,3,4]=>010010
[2,7,1,5,6,4,3]=>010011
[2,7,1,6,3,4,5]=>010100
[2,7,1,6,3,5,4]=>010101
[2,7,1,6,4,3,5]=>010110
[2,7,1,6,4,5,3]=>010101
[2,7,1,6,5,3,4]=>010110
[2,7,1,6,5,4,3]=>010111
[2,7,3,1,4,5,6]=>011000
[2,7,3,1,4,6,5]=>011001
[2,7,3,1,5,4,6]=>011010
[2,7,3,1,5,6,4]=>011001
[2,7,3,1,6,4,5]=>011010
[2,7,3,1,6,5,4]=>011011
[2,7,3,4,1,5,6]=>010100
[2,7,3,4,1,6,5]=>010101
[2,7,3,4,5,1,6]=>010010
[2,7,3,4,5,6,1]=>010001
[2,7,3,4,6,1,5]=>010010
[2,7,3,4,6,5,1]=>010011
[2,7,3,5,1,4,6]=>010100
[2,7,3,5,1,6,4]=>010101
[2,7,3,5,4,1,6]=>010110
[2,7,3,5,4,6,1]=>010101
[2,7,3,5,6,1,4]=>010010
[2,7,3,5,6,4,1]=>010011
[2,7,3,6,1,4,5]=>010100
[2,7,3,6,1,5,4]=>010101
[2,7,3,6,4,1,5]=>010110
[2,7,3,6,4,5,1]=>010101
[2,7,3,6,5,1,4]=>010110
[2,7,3,6,5,4,1]=>010111
[2,7,4,1,3,5,6]=>011000
[2,7,4,1,3,6,5]=>011001
[2,7,4,1,5,3,6]=>011010
[2,7,4,1,5,6,3]=>011001
[2,7,4,1,6,3,5]=>011010
[2,7,4,1,6,5,3]=>011011
[2,7,4,3,1,5,6]=>011100
[2,7,4,3,1,6,5]=>011101
[2,7,4,3,5,1,6]=>011010
[2,7,4,3,5,6,1]=>011001
[2,7,4,3,6,1,5]=>011010
[2,7,4,3,6,5,1]=>011011
[2,7,4,5,1,3,6]=>010100
[2,7,4,5,1,6,3]=>010101
[2,7,4,5,3,1,6]=>010110
[2,7,4,5,3,6,1]=>010101
[2,7,4,5,6,1,3]=>010010
[2,7,4,5,6,3,1]=>010011
[2,7,4,6,1,3,5]=>010100
[2,7,4,6,1,5,3]=>010101
[2,7,4,6,3,1,5]=>010110
[2,7,4,6,3,5,1]=>010101
[2,7,4,6,5,1,3]=>010110
[2,7,4,6,5,3,1]=>010111
[2,7,5,1,3,4,6]=>011000
[2,7,5,1,3,6,4]=>011001
[2,7,5,1,4,3,6]=>011010
[2,7,5,1,4,6,3]=>011001
[2,7,5,1,6,3,4]=>011010
[2,7,5,1,6,4,3]=>011011
[2,7,5,3,1,4,6]=>011100
[2,7,5,3,1,6,4]=>011101
[2,7,5,3,4,1,6]=>011010
[2,7,5,3,4,6,1]=>011001
[2,7,5,3,6,1,4]=>011010
[2,7,5,3,6,4,1]=>011011
[2,7,5,4,1,3,6]=>011100
[2,7,5,4,1,6,3]=>011101
[2,7,5,4,3,1,6]=>011110
[2,7,5,4,3,6,1]=>011101
[2,7,5,4,6,1,3]=>011010
[2,7,5,4,6,3,1]=>011011
[2,7,5,6,1,3,4]=>010100
[2,7,5,6,1,4,3]=>010101
[2,7,5,6,3,1,4]=>010110
[2,7,5,6,3,4,1]=>010101
[2,7,5,6,4,1,3]=>010110
[2,7,5,6,4,3,1]=>010111
[2,7,6,1,3,4,5]=>011000
[2,7,6,1,3,5,4]=>011001
[2,7,6,1,4,3,5]=>011010
[2,7,6,1,4,5,3]=>011001
[2,7,6,1,5,3,4]=>011010
[2,7,6,1,5,4,3]=>011011
[2,7,6,3,1,4,5]=>011100
[2,7,6,3,1,5,4]=>011101
[2,7,6,3,4,1,5]=>011010
[2,7,6,3,4,5,1]=>011001
[2,7,6,3,5,1,4]=>011010
[2,7,6,3,5,4,1]=>011011
[2,7,6,4,1,3,5]=>011100
[2,7,6,4,1,5,3]=>011101
[2,7,6,4,3,1,5]=>011110
[2,7,6,4,3,5,1]=>011101
[2,7,6,4,5,1,3]=>011010
[2,7,6,4,5,3,1]=>011011
[2,7,6,5,1,3,4]=>011100
[2,7,6,5,1,4,3]=>011101
[2,7,6,5,3,1,4]=>011110
[2,7,6,5,3,4,1]=>011101
[2,7,6,5,4,1,3]=>011110
[2,7,6,5,4,3,1]=>011111
[3,1,2,4,5,6,7]=>100000
[3,1,2,4,5,7,6]=>100001
[3,1,2,4,6,5,7]=>100010
[3,1,2,4,6,7,5]=>100001
[3,1,2,4,7,5,6]=>100010
[3,1,2,4,7,6,5]=>100011
[3,1,2,5,4,6,7]=>100100
[3,1,2,5,4,7,6]=>100101
[3,1,2,5,6,4,7]=>100010
[3,1,2,5,6,7,4]=>100001
[3,1,2,5,7,4,6]=>100010
[3,1,2,5,7,6,4]=>100011
[3,1,2,6,4,5,7]=>100100
[3,1,2,6,4,7,5]=>100101
[3,1,2,6,5,4,7]=>100110
[3,1,2,6,5,7,4]=>100101
[3,1,2,6,7,4,5]=>100010
[3,1,2,6,7,5,4]=>100011
[3,1,2,7,4,5,6]=>100100
[3,1,2,7,4,6,5]=>100101
[3,1,2,7,5,4,6]=>100110
[3,1,2,7,5,6,4]=>100101
[3,1,2,7,6,4,5]=>100110
[3,1,2,7,6,5,4]=>100111
[3,1,4,2,5,6,7]=>101000
[3,1,4,2,5,7,6]=>101001
[3,1,4,2,6,5,7]=>101010
[3,1,4,2,6,7,5]=>101001
[3,1,4,2,7,5,6]=>101010
[3,1,4,2,7,6,5]=>101011
[3,1,4,5,2,6,7]=>100100
[3,1,4,5,2,7,6]=>100101
[3,1,4,5,6,2,7]=>100010
[3,1,4,5,6,7,2]=>100001
[3,1,4,5,7,2,6]=>100010
[3,1,4,5,7,6,2]=>100011
[3,1,4,6,2,5,7]=>100100
[3,1,4,6,2,7,5]=>100101
[3,1,4,6,5,2,7]=>100110
[3,1,4,6,5,7,2]=>100101
[3,1,4,6,7,2,5]=>100010
[3,1,4,6,7,5,2]=>100011
[3,1,4,7,2,5,6]=>100100
[3,1,4,7,2,6,5]=>100101
[3,1,4,7,5,2,6]=>100110
[3,1,4,7,5,6,2]=>100101
[3,1,4,7,6,2,5]=>100110
[3,1,4,7,6,5,2]=>100111
[3,1,5,2,4,6,7]=>101000
[3,1,5,2,4,7,6]=>101001
[3,1,5,2,6,4,7]=>101010
[3,1,5,2,6,7,4]=>101001
[3,1,5,2,7,4,6]=>101010
[3,1,5,2,7,6,4]=>101011
[3,1,5,4,2,6,7]=>101100
[3,1,5,4,2,7,6]=>101101
[3,1,5,4,6,2,7]=>101010
[3,1,5,4,6,7,2]=>101001
[3,1,5,4,7,2,6]=>101010
[3,1,5,4,7,6,2]=>101011
[3,1,5,6,2,4,7]=>100100
[3,1,5,6,2,7,4]=>100101
[3,1,5,6,4,2,7]=>100110
[3,1,5,6,4,7,2]=>100101
[3,1,5,6,7,2,4]=>100010
[3,1,5,6,7,4,2]=>100011
[3,1,5,7,2,4,6]=>100100
[3,1,5,7,2,6,4]=>100101
[3,1,5,7,4,2,6]=>100110
[3,1,5,7,4,6,2]=>100101
[3,1,5,7,6,2,4]=>100110
[3,1,5,7,6,4,2]=>100111
[3,1,6,2,4,5,7]=>101000
[3,1,6,2,4,7,5]=>101001
[3,1,6,2,5,4,7]=>101010
[3,1,6,2,5,7,4]=>101001
[3,1,6,2,7,4,5]=>101010
[3,1,6,2,7,5,4]=>101011
[3,1,6,4,2,5,7]=>101100
[3,1,6,4,2,7,5]=>101101
[3,1,6,4,5,2,7]=>101010
[3,1,6,4,5,7,2]=>101001
[3,1,6,4,7,2,5]=>101010
[3,1,6,4,7,5,2]=>101011
[3,1,6,5,2,4,7]=>101100
[3,1,6,5,2,7,4]=>101101
[3,1,6,5,4,2,7]=>101110
[3,1,6,5,4,7,2]=>101101
[3,1,6,5,7,2,4]=>101010
[3,1,6,5,7,4,2]=>101011
[3,1,6,7,2,4,5]=>100100
[3,1,6,7,2,5,4]=>100101
[3,1,6,7,4,2,5]=>100110
[3,1,6,7,4,5,2]=>100101
[3,1,6,7,5,2,4]=>100110
[3,1,6,7,5,4,2]=>100111
[3,1,7,2,4,5,6]=>101000
[3,1,7,2,4,6,5]=>101001
[3,1,7,2,5,4,6]=>101010
[3,1,7,2,5,6,4]=>101001
[3,1,7,2,6,4,5]=>101010
[3,1,7,2,6,5,4]=>101011
[3,1,7,4,2,5,6]=>101100
[3,1,7,4,2,6,5]=>101101
[3,1,7,4,5,2,6]=>101010
[3,1,7,4,5,6,2]=>101001
[3,1,7,4,6,2,5]=>101010
[3,1,7,4,6,5,2]=>101011
[3,1,7,5,2,4,6]=>101100
[3,1,7,5,2,6,4]=>101101
[3,1,7,5,4,2,6]=>101110
[3,1,7,5,4,6,2]=>101101
[3,1,7,5,6,2,4]=>101010
[3,1,7,5,6,4,2]=>101011
[3,1,7,6,2,4,5]=>101100
[3,1,7,6,2,5,4]=>101101
[3,1,7,6,4,2,5]=>101110
[3,1,7,6,4,5,2]=>101101
[3,1,7,6,5,2,4]=>101110
[3,1,7,6,5,4,2]=>101111
[3,2,1,4,5,6,7]=>110000
[3,2,1,4,5,7,6]=>110001
[3,2,1,4,6,5,7]=>110010
[3,2,1,4,6,7,5]=>110001
[3,2,1,4,7,5,6]=>110010
[3,2,1,4,7,6,5]=>110011
[3,2,1,5,4,6,7]=>110100
[3,2,1,5,4,7,6]=>110101
[3,2,1,5,6,4,7]=>110010
[3,2,1,5,6,7,4]=>110001
[3,2,1,5,7,4,6]=>110010
[3,2,1,5,7,6,4]=>110011
[3,2,1,6,4,5,7]=>110100
[3,2,1,6,4,7,5]=>110101
[3,2,1,6,5,4,7]=>110110
[3,2,1,6,5,7,4]=>110101
[3,2,1,6,7,4,5]=>110010
[3,2,1,6,7,5,4]=>110011
[3,2,1,7,4,5,6]=>110100
[3,2,1,7,4,6,5]=>110101
[3,2,1,7,5,4,6]=>110110
[3,2,1,7,5,6,4]=>110101
[3,2,1,7,6,4,5]=>110110
[3,2,1,7,6,5,4]=>110111
[3,2,4,1,5,6,7]=>101000
[3,2,4,1,5,7,6]=>101001
[3,2,4,1,6,5,7]=>101010
[3,2,4,1,6,7,5]=>101001
[3,2,4,1,7,5,6]=>101010
[3,2,4,1,7,6,5]=>101011
[3,2,4,5,1,6,7]=>100100
[3,2,4,5,1,7,6]=>100101
[3,2,4,5,6,1,7]=>100010
[3,2,4,5,6,7,1]=>100001
[3,2,4,5,7,1,6]=>100010
[3,2,4,5,7,6,1]=>100011
[3,2,4,6,1,5,7]=>100100
[3,2,4,6,1,7,5]=>100101
[3,2,4,6,5,1,7]=>100110
[3,2,4,6,5,7,1]=>100101
[3,2,4,6,7,1,5]=>100010
[3,2,4,6,7,5,1]=>100011
[3,2,4,7,1,5,6]=>100100
[3,2,4,7,1,6,5]=>100101
[3,2,4,7,5,1,6]=>100110
[3,2,4,7,5,6,1]=>100101
[3,2,4,7,6,1,5]=>100110
[3,2,4,7,6,5,1]=>100111
[3,2,5,1,4,6,7]=>101000
[3,2,5,1,4,7,6]=>101001
[3,2,5,1,6,4,7]=>101010
[3,2,5,1,6,7,4]=>101001
[3,2,5,1,7,4,6]=>101010
[3,2,5,1,7,6,4]=>101011
[3,2,5,4,1,6,7]=>101100
[3,2,5,4,1,7,6]=>101101
[3,2,5,4,6,1,7]=>101010
[3,2,5,4,6,7,1]=>101001
[3,2,5,4,7,1,6]=>101010
[3,2,5,4,7,6,1]=>101011
[3,2,5,6,1,4,7]=>100100
[3,2,5,6,1,7,4]=>100101
[3,2,5,6,4,1,7]=>100110
[3,2,5,6,4,7,1]=>100101
[3,2,5,6,7,1,4]=>100010
[3,2,5,6,7,4,1]=>100011
[3,2,5,7,1,4,6]=>100100
[3,2,5,7,1,6,4]=>100101
[3,2,5,7,4,1,6]=>100110
[3,2,5,7,4,6,1]=>100101
[3,2,5,7,6,1,4]=>100110
[3,2,5,7,6,4,1]=>100111
[3,2,6,1,4,5,7]=>101000
[3,2,6,1,4,7,5]=>101001
[3,2,6,1,5,4,7]=>101010
[3,2,6,1,5,7,4]=>101001
[3,2,6,1,7,4,5]=>101010
[3,2,6,1,7,5,4]=>101011
[3,2,6,4,1,5,7]=>101100
[3,2,6,4,1,7,5]=>101101
[3,2,6,4,5,1,7]=>101010
[3,2,6,4,5,7,1]=>101001
[3,2,6,4,7,1,5]=>101010
[3,2,6,4,7,5,1]=>101011
[3,2,6,5,1,4,7]=>101100
[3,2,6,5,1,7,4]=>101101
[3,2,6,5,4,1,7]=>101110
[3,2,6,5,4,7,1]=>101101
[3,2,6,5,7,1,4]=>101010
[3,2,6,5,7,4,1]=>101011
[3,2,6,7,1,4,5]=>100100
[3,2,6,7,1,5,4]=>100101
[3,2,6,7,4,1,5]=>100110
[3,2,6,7,4,5,1]=>100101
[3,2,6,7,5,1,4]=>100110
[3,2,6,7,5,4,1]=>100111
[3,2,7,1,4,5,6]=>101000
[3,2,7,1,4,6,5]=>101001
[3,2,7,1,5,4,6]=>101010
[3,2,7,1,5,6,4]=>101001
[3,2,7,1,6,4,5]=>101010
[3,2,7,1,6,5,4]=>101011
[3,2,7,4,1,5,6]=>101100
[3,2,7,4,1,6,5]=>101101
[3,2,7,4,5,1,6]=>101010
[3,2,7,4,5,6,1]=>101001
[3,2,7,4,6,1,5]=>101010
[3,2,7,4,6,5,1]=>101011
[3,2,7,5,1,4,6]=>101100
[3,2,7,5,1,6,4]=>101101
[3,2,7,5,4,1,6]=>101110
[3,2,7,5,4,6,1]=>101101
[3,2,7,5,6,1,4]=>101010
[3,2,7,5,6,4,1]=>101011
[3,2,7,6,1,4,5]=>101100
[3,2,7,6,1,5,4]=>101101
[3,2,7,6,4,1,5]=>101110
[3,2,7,6,4,5,1]=>101101
[3,2,7,6,5,1,4]=>101110
[3,2,7,6,5,4,1]=>101111
[3,4,1,2,5,6,7]=>010000
[3,4,1,2,5,7,6]=>010001
[3,4,1,2,6,5,7]=>010010
[3,4,1,2,6,7,5]=>010001
[3,4,1,2,7,5,6]=>010010
[3,4,1,2,7,6,5]=>010011
[3,4,1,5,2,6,7]=>010100
[3,4,1,5,2,7,6]=>010101
[3,4,1,5,6,2,7]=>010010
[3,4,1,5,6,7,2]=>010001
[3,4,1,5,7,2,6]=>010010
[3,4,1,5,7,6,2]=>010011
[3,4,1,6,2,5,7]=>010100
[3,4,1,6,2,7,5]=>010101
[3,4,1,6,5,2,7]=>010110
[3,4,1,6,5,7,2]=>010101
[3,4,1,6,7,2,5]=>010010
[3,4,1,6,7,5,2]=>010011
[3,4,1,7,2,5,6]=>010100
[3,4,1,7,2,6,5]=>010101
[3,4,1,7,5,2,6]=>010110
[3,4,1,7,5,6,2]=>010101
[3,4,1,7,6,2,5]=>010110
[3,4,1,7,6,5,2]=>010111
[3,4,2,1,5,6,7]=>011000
[3,4,2,1,5,7,6]=>011001
[3,4,2,1,6,5,7]=>011010
[3,4,2,1,6,7,5]=>011001
[3,4,2,1,7,5,6]=>011010
[3,4,2,1,7,6,5]=>011011
[3,4,2,5,1,6,7]=>010100
[3,4,2,5,1,7,6]=>010101
[3,4,2,5,6,1,7]=>010010
[3,4,2,5,6,7,1]=>010001
[3,4,2,5,7,1,6]=>010010
[3,4,2,5,7,6,1]=>010011
[3,4,2,6,1,5,7]=>010100
[3,4,2,6,1,7,5]=>010101
[3,4,2,6,5,1,7]=>010110
[3,4,2,6,5,7,1]=>010101
[3,4,2,6,7,1,5]=>010010
[3,4,2,6,7,5,1]=>010011
[3,4,2,7,1,5,6]=>010100
[3,4,2,7,1,6,5]=>010101
[3,4,2,7,5,1,6]=>010110
[3,4,2,7,5,6,1]=>010101
[3,4,2,7,6,1,5]=>010110
[3,4,2,7,6,5,1]=>010111
[3,4,5,1,2,6,7]=>001000
[3,4,5,1,2,7,6]=>001001
[3,4,5,1,6,2,7]=>001010
[3,4,5,1,6,7,2]=>001001
[3,4,5,1,7,2,6]=>001010
[3,4,5,1,7,6,2]=>001011
[3,4,5,2,1,6,7]=>001100
[3,4,5,2,1,7,6]=>001101
[3,4,5,2,6,1,7]=>001010
[3,4,5,2,6,7,1]=>001001
[3,4,5,2,7,1,6]=>001010
[3,4,5,2,7,6,1]=>001011
[3,4,5,6,1,2,7]=>000100
[3,4,5,6,1,7,2]=>000101
[3,4,5,6,2,1,7]=>000110
[3,4,5,6,2,7,1]=>000101
[3,4,5,6,7,1,2]=>000010
[3,4,5,6,7,2,1]=>000011
[3,4,5,7,1,2,6]=>000100
[3,4,5,7,1,6,2]=>000101
[3,4,5,7,2,1,6]=>000110
[3,4,5,7,2,6,1]=>000101
[3,4,5,7,6,1,2]=>000110
[3,4,5,7,6,2,1]=>000111
[3,4,6,1,2,5,7]=>001000
[3,4,6,1,2,7,5]=>001001
[3,4,6,1,5,2,7]=>001010
[3,4,6,1,5,7,2]=>001001
[3,4,6,1,7,2,5]=>001010
[3,4,6,1,7,5,2]=>001011
[3,4,6,2,1,5,7]=>001100
[3,4,6,2,1,7,5]=>001101
[3,4,6,2,5,1,7]=>001010
[3,4,6,2,5,7,1]=>001001
[3,4,6,2,7,1,5]=>001010
[3,4,6,2,7,5,1]=>001011
[3,4,6,5,1,2,7]=>001100
[3,4,6,5,1,7,2]=>001101
[3,4,6,5,2,1,7]=>001110
[3,4,6,5,2,7,1]=>001101
[3,4,6,5,7,1,2]=>001010
[3,4,6,5,7,2,1]=>001011
[3,4,6,7,1,2,5]=>000100
[3,4,6,7,1,5,2]=>000101
[3,4,6,7,2,1,5]=>000110
[3,4,6,7,2,5,1]=>000101
[3,4,6,7,5,1,2]=>000110
[3,4,6,7,5,2,1]=>000111
[3,4,7,1,2,5,6]=>001000
[3,4,7,1,2,6,5]=>001001
[3,4,7,1,5,2,6]=>001010
[3,4,7,1,5,6,2]=>001001
[3,4,7,1,6,2,5]=>001010
[3,4,7,1,6,5,2]=>001011
[3,4,7,2,1,5,6]=>001100
[3,4,7,2,1,6,5]=>001101
[3,4,7,2,5,1,6]=>001010
[3,4,7,2,5,6,1]=>001001
[3,4,7,2,6,1,5]=>001010
[3,4,7,2,6,5,1]=>001011
[3,4,7,5,1,2,6]=>001100
[3,4,7,5,1,6,2]=>001101
[3,4,7,5,2,1,6]=>001110
[3,4,7,5,2,6,1]=>001101
[3,4,7,5,6,1,2]=>001010
[3,4,7,5,6,2,1]=>001011
[3,4,7,6,1,2,5]=>001100
[3,4,7,6,1,5,2]=>001101
[3,4,7,6,2,1,5]=>001110
[3,4,7,6,2,5,1]=>001101
[3,4,7,6,5,1,2]=>001110
[3,4,7,6,5,2,1]=>001111
[3,5,1,2,4,6,7]=>010000
[3,5,1,2,4,7,6]=>010001
[3,5,1,2,6,4,7]=>010010
[3,5,1,2,6,7,4]=>010001
[3,5,1,2,7,4,6]=>010010
[3,5,1,2,7,6,4]=>010011
[3,5,1,4,2,6,7]=>010100
[3,5,1,4,2,7,6]=>010101
[3,5,1,4,6,2,7]=>010010
[3,5,1,4,6,7,2]=>010001
[3,5,1,4,7,2,6]=>010010
[3,5,1,4,7,6,2]=>010011
[3,5,1,6,2,4,7]=>010100
[3,5,1,6,2,7,4]=>010101
[3,5,1,6,4,2,7]=>010110
[3,5,1,6,4,7,2]=>010101
[3,5,1,6,7,2,4]=>010010
[3,5,1,6,7,4,2]=>010011
[3,5,1,7,2,4,6]=>010100
[3,5,1,7,2,6,4]=>010101
[3,5,1,7,4,2,6]=>010110
[3,5,1,7,4,6,2]=>010101
[3,5,1,7,6,2,4]=>010110
[3,5,1,7,6,4,2]=>010111
[3,5,2,1,4,6,7]=>011000
[3,5,2,1,4,7,6]=>011001
[3,5,2,1,6,4,7]=>011010
[3,5,2,1,6,7,4]=>011001
[3,5,2,1,7,4,6]=>011010
[3,5,2,1,7,6,4]=>011011
[3,5,2,4,1,6,7]=>010100
[3,5,2,4,1,7,6]=>010101
[3,5,2,4,6,1,7]=>010010
[3,5,2,4,6,7,1]=>010001
[3,5,2,4,7,1,6]=>010010
[3,5,2,4,7,6,1]=>010011
[3,5,2,6,1,4,7]=>010100
[3,5,2,6,1,7,4]=>010101
[3,5,2,6,4,1,7]=>010110
[3,5,2,6,4,7,1]=>010101
[3,5,2,6,7,1,4]=>010010
[3,5,2,6,7,4,1]=>010011
[3,5,2,7,1,4,6]=>010100
[3,5,2,7,1,6,4]=>010101
[3,5,2,7,4,1,6]=>010110
[3,5,2,7,4,6,1]=>010101
[3,5,2,7,6,1,4]=>010110
[3,5,2,7,6,4,1]=>010111
[3,5,4,1,2,6,7]=>011000
[3,5,4,1,2,7,6]=>011001
[3,5,4,1,6,2,7]=>011010
[3,5,4,1,6,7,2]=>011001
[3,5,4,1,7,2,6]=>011010
[3,5,4,1,7,6,2]=>011011
[3,5,4,2,1,6,7]=>011100
[3,5,4,2,1,7,6]=>011101
[3,5,4,2,6,1,7]=>011010
[3,5,4,2,6,7,1]=>011001
[3,5,4,2,7,1,6]=>011010
[3,5,4,2,7,6,1]=>011011
[3,5,4,6,1,2,7]=>010100
[3,5,4,6,1,7,2]=>010101
[3,5,4,6,2,1,7]=>010110
[3,5,4,6,2,7,1]=>010101
[3,5,4,6,7,1,2]=>010010
[3,5,4,6,7,2,1]=>010011
[3,5,4,7,1,2,6]=>010100
[3,5,4,7,1,6,2]=>010101
[3,5,4,7,2,1,6]=>010110
[3,5,4,7,2,6,1]=>010101
[3,5,4,7,6,1,2]=>010110
[3,5,4,7,6,2,1]=>010111
[3,5,6,1,2,4,7]=>001000
[3,5,6,1,2,7,4]=>001001
[3,5,6,1,4,2,7]=>001010
[3,5,6,1,4,7,2]=>001001
[3,5,6,1,7,2,4]=>001010
[3,5,6,1,7,4,2]=>001011
[3,5,6,2,1,4,7]=>001100
[3,5,6,2,1,7,4]=>001101
[3,5,6,2,4,1,7]=>001010
[3,5,6,2,4,7,1]=>001001
[3,5,6,2,7,1,4]=>001010
[3,5,6,2,7,4,1]=>001011
[3,5,6,4,1,2,7]=>001100
[3,5,6,4,1,7,2]=>001101
[3,5,6,4,2,1,7]=>001110
[3,5,6,4,2,7,1]=>001101
[3,5,6,4,7,1,2]=>001010
[3,5,6,4,7,2,1]=>001011
[3,5,6,7,1,2,4]=>000100
[3,5,6,7,1,4,2]=>000101
[3,5,6,7,2,1,4]=>000110
[3,5,6,7,2,4,1]=>000101
[3,5,6,7,4,1,2]=>000110
[3,5,6,7,4,2,1]=>000111
[3,5,7,1,2,4,6]=>001000
[3,5,7,1,2,6,4]=>001001
[3,5,7,1,4,2,6]=>001010
[3,5,7,1,4,6,2]=>001001
[3,5,7,1,6,2,4]=>001010
[3,5,7,1,6,4,2]=>001011
[3,5,7,2,1,4,6]=>001100
[3,5,7,2,1,6,4]=>001101
[3,5,7,2,4,1,6]=>001010
[3,5,7,2,4,6,1]=>001001
[3,5,7,2,6,1,4]=>001010
[3,5,7,2,6,4,1]=>001011
[3,5,7,4,1,2,6]=>001100
[3,5,7,4,1,6,2]=>001101
[3,5,7,4,2,1,6]=>001110
[3,5,7,4,2,6,1]=>001101
[3,5,7,4,6,1,2]=>001010
[3,5,7,4,6,2,1]=>001011
[3,5,7,6,1,2,4]=>001100
[3,5,7,6,1,4,2]=>001101
[3,5,7,6,2,1,4]=>001110
[3,5,7,6,2,4,1]=>001101
[3,5,7,6,4,1,2]=>001110
[3,5,7,6,4,2,1]=>001111
[3,6,1,2,4,5,7]=>010000
[3,6,1,2,4,7,5]=>010001
[3,6,1,2,5,4,7]=>010010
[3,6,1,2,5,7,4]=>010001
[3,6,1,2,7,4,5]=>010010
[3,6,1,2,7,5,4]=>010011
[3,6,1,4,2,5,7]=>010100
[3,6,1,4,2,7,5]=>010101
[3,6,1,4,5,2,7]=>010010
[3,6,1,4,5,7,2]=>010001
[3,6,1,4,7,2,5]=>010010
[3,6,1,4,7,5,2]=>010011
[3,6,1,5,2,4,7]=>010100
[3,6,1,5,2,7,4]=>010101
[3,6,1,5,4,2,7]=>010110
[3,6,1,5,4,7,2]=>010101
[3,6,1,5,7,2,4]=>010010
[3,6,1,5,7,4,2]=>010011
[3,6,1,7,2,4,5]=>010100
[3,6,1,7,2,5,4]=>010101
[3,6,1,7,4,2,5]=>010110
[3,6,1,7,4,5,2]=>010101
[3,6,1,7,5,2,4]=>010110
[3,6,1,7,5,4,2]=>010111
[3,6,2,1,4,5,7]=>011000
[3,6,2,1,4,7,5]=>011001
[3,6,2,1,5,4,7]=>011010
[3,6,2,1,5,7,4]=>011001
[3,6,2,1,7,4,5]=>011010
[3,6,2,1,7,5,4]=>011011
[3,6,2,4,1,5,7]=>010100
[3,6,2,4,1,7,5]=>010101
[3,6,2,4,5,1,7]=>010010
[3,6,2,4,5,7,1]=>010001
[3,6,2,4,7,1,5]=>010010
[3,6,2,4,7,5,1]=>010011
[3,6,2,5,1,4,7]=>010100
[3,6,2,5,1,7,4]=>010101
[3,6,2,5,4,1,7]=>010110
[3,6,2,5,4,7,1]=>010101
[3,6,2,5,7,1,4]=>010010
[3,6,2,5,7,4,1]=>010011
[3,6,2,7,1,4,5]=>010100
[3,6,2,7,1,5,4]=>010101
[3,6,2,7,4,1,5]=>010110
[3,6,2,7,4,5,1]=>010101
[3,6,2,7,5,1,4]=>010110
[3,6,2,7,5,4,1]=>010111
[3,6,4,1,2,5,7]=>011000
[3,6,4,1,2,7,5]=>011001
[3,6,4,1,5,2,7]=>011010
[3,6,4,1,5,7,2]=>011001
[3,6,4,1,7,2,5]=>011010
[3,6,4,1,7,5,2]=>011011
[3,6,4,2,1,5,7]=>011100
[3,6,4,2,1,7,5]=>011101
[3,6,4,2,5,1,7]=>011010
[3,6,4,2,5,7,1]=>011001
[3,6,4,2,7,1,5]=>011010
[3,6,4,2,7,5,1]=>011011
[3,6,4,5,1,2,7]=>010100
[3,6,4,5,1,7,2]=>010101
[3,6,4,5,2,1,7]=>010110
[3,6,4,5,2,7,1]=>010101
[3,6,4,5,7,1,2]=>010010
[3,6,4,5,7,2,1]=>010011
[3,6,4,7,1,2,5]=>010100
[3,6,4,7,1,5,2]=>010101
[3,6,4,7,2,1,5]=>010110
[3,6,4,7,2,5,1]=>010101
[3,6,4,7,5,1,2]=>010110
[3,6,4,7,5,2,1]=>010111
[3,6,5,1,2,4,7]=>011000
[3,6,5,1,2,7,4]=>011001
[3,6,5,1,4,2,7]=>011010
[3,6,5,1,4,7,2]=>011001
[3,6,5,1,7,2,4]=>011010
[3,6,5,1,7,4,2]=>011011
[3,6,5,2,1,4,7]=>011100
[3,6,5,2,1,7,4]=>011101
[3,6,5,2,4,1,7]=>011010
[3,6,5,2,4,7,1]=>011001
[3,6,5,2,7,1,4]=>011010
[3,6,5,2,7,4,1]=>011011
[3,6,5,4,1,2,7]=>011100
[3,6,5,4,1,7,2]=>011101
[3,6,5,4,2,1,7]=>011110
[3,6,5,4,2,7,1]=>011101
[3,6,5,4,7,1,2]=>011010
[3,6,5,4,7,2,1]=>011011
[3,6,5,7,1,2,4]=>010100
[3,6,5,7,1,4,2]=>010101
[3,6,5,7,2,1,4]=>010110
[3,6,5,7,2,4,1]=>010101
[3,6,5,7,4,1,2]=>010110
[3,6,5,7,4,2,1]=>010111
[3,6,7,1,2,4,5]=>001000
[3,6,7,1,2,5,4]=>001001
[3,6,7,1,4,2,5]=>001010
[3,6,7,1,4,5,2]=>001001
[3,6,7,1,5,2,4]=>001010
[3,6,7,1,5,4,2]=>001011
[3,6,7,2,1,4,5]=>001100
[3,6,7,2,1,5,4]=>001101
[3,6,7,2,4,1,5]=>001010
[3,6,7,2,4,5,1]=>001001
[3,6,7,2,5,1,4]=>001010
[3,6,7,2,5,4,1]=>001011
[3,6,7,4,1,2,5]=>001100
[3,6,7,4,1,5,2]=>001101
[3,6,7,4,2,1,5]=>001110
[3,6,7,4,2,5,1]=>001101
[3,6,7,4,5,1,2]=>001010
[3,6,7,4,5,2,1]=>001011
[3,6,7,5,1,2,4]=>001100
[3,6,7,5,1,4,2]=>001101
[3,6,7,5,2,1,4]=>001110
[3,6,7,5,2,4,1]=>001101
[3,6,7,5,4,1,2]=>001110
[3,6,7,5,4,2,1]=>001111
[3,7,1,2,4,5,6]=>010000
[3,7,1,2,4,6,5]=>010001
[3,7,1,2,5,4,6]=>010010
[3,7,1,2,5,6,4]=>010001
[3,7,1,2,6,4,5]=>010010
[3,7,1,2,6,5,4]=>010011
[3,7,1,4,2,5,6]=>010100
[3,7,1,4,2,6,5]=>010101
[3,7,1,4,5,2,6]=>010010
[3,7,1,4,5,6,2]=>010001
[3,7,1,4,6,2,5]=>010010
[3,7,1,4,6,5,2]=>010011
[3,7,1,5,2,4,6]=>010100
[3,7,1,5,2,6,4]=>010101
[3,7,1,5,4,2,6]=>010110
[3,7,1,5,4,6,2]=>010101
[3,7,1,5,6,2,4]=>010010
[3,7,1,5,6,4,2]=>010011
[3,7,1,6,2,4,5]=>010100
[3,7,1,6,2,5,4]=>010101
[3,7,1,6,4,2,5]=>010110
[3,7,1,6,4,5,2]=>010101
[3,7,1,6,5,2,4]=>010110
[3,7,1,6,5,4,2]=>010111
[3,7,2,1,4,5,6]=>011000
[3,7,2,1,4,6,5]=>011001
[3,7,2,1,5,4,6]=>011010
[3,7,2,1,5,6,4]=>011001
[3,7,2,1,6,4,5]=>011010
[3,7,2,1,6,5,4]=>011011
[3,7,2,4,1,5,6]=>010100
[3,7,2,4,1,6,5]=>010101
[3,7,2,4,5,1,6]=>010010
[3,7,2,4,5,6,1]=>010001
[3,7,2,4,6,1,5]=>010010
[3,7,2,4,6,5,1]=>010011
[3,7,2,5,1,4,6]=>010100
[3,7,2,5,1,6,4]=>010101
[3,7,2,5,4,1,6]=>010110
[3,7,2,5,4,6,1]=>010101
[3,7,2,5,6,1,4]=>010010
[3,7,2,5,6,4,1]=>010011
[3,7,2,6,1,4,5]=>010100
[3,7,2,6,1,5,4]=>010101
[3,7,2,6,4,1,5]=>010110
[3,7,2,6,4,5,1]=>010101
[3,7,2,6,5,1,4]=>010110
[3,7,2,6,5,4,1]=>010111
[3,7,4,1,2,5,6]=>011000
[3,7,4,1,2,6,5]=>011001
[3,7,4,1,5,2,6]=>011010
[3,7,4,1,5,6,2]=>011001
[3,7,4,1,6,2,5]=>011010
[3,7,4,1,6,5,2]=>011011
[3,7,4,2,1,5,6]=>011100
[3,7,4,2,1,6,5]=>011101
[3,7,4,2,5,1,6]=>011010
[3,7,4,2,5,6,1]=>011001
[3,7,4,2,6,1,5]=>011010
[3,7,4,2,6,5,1]=>011011
[3,7,4,5,1,2,6]=>010100
[3,7,4,5,1,6,2]=>010101
[3,7,4,5,2,1,6]=>010110
[3,7,4,5,2,6,1]=>010101
[3,7,4,5,6,1,2]=>010010
[3,7,4,5,6,2,1]=>010011
[3,7,4,6,1,2,5]=>010100
[3,7,4,6,1,5,2]=>010101
[3,7,4,6,2,1,5]=>010110
[3,7,4,6,2,5,1]=>010101
[3,7,4,6,5,1,2]=>010110
[3,7,4,6,5,2,1]=>010111
[3,7,5,1,2,4,6]=>011000
[3,7,5,1,2,6,4]=>011001
[3,7,5,1,4,2,6]=>011010
[3,7,5,1,4,6,2]=>011001
[3,7,5,1,6,2,4]=>011010
[3,7,5,1,6,4,2]=>011011
[3,7,5,2,1,4,6]=>011100
[3,7,5,2,1,6,4]=>011101
[3,7,5,2,4,1,6]=>011010
[3,7,5,2,4,6,1]=>011001
[3,7,5,2,6,1,4]=>011010
[3,7,5,2,6,4,1]=>011011
[3,7,5,4,1,2,6]=>011100
[3,7,5,4,1,6,2]=>011101
[3,7,5,4,2,1,6]=>011110
[3,7,5,4,2,6,1]=>011101
[3,7,5,4,6,1,2]=>011010
[3,7,5,4,6,2,1]=>011011
[3,7,5,6,1,2,4]=>010100
[3,7,5,6,1,4,2]=>010101
[3,7,5,6,2,1,4]=>010110
[3,7,5,6,2,4,1]=>010101
[3,7,5,6,4,1,2]=>010110
[3,7,5,6,4,2,1]=>010111
[3,7,6,1,2,4,5]=>011000
[3,7,6,1,2,5,4]=>011001
[3,7,6,1,4,2,5]=>011010
[3,7,6,1,4,5,2]=>011001
[3,7,6,1,5,2,4]=>011010
[3,7,6,1,5,4,2]=>011011
[3,7,6,2,1,4,5]=>011100
[3,7,6,2,1,5,4]=>011101
[3,7,6,2,4,1,5]=>011010
[3,7,6,2,4,5,1]=>011001
[3,7,6,2,5,1,4]=>011010
[3,7,6,2,5,4,1]=>011011
[3,7,6,4,1,2,5]=>011100
[3,7,6,4,1,5,2]=>011101
[3,7,6,4,2,1,5]=>011110
[3,7,6,4,2,5,1]=>011101
[3,7,6,4,5,1,2]=>011010
[3,7,6,4,5,2,1]=>011011
[3,7,6,5,1,2,4]=>011100
[3,7,6,5,1,4,2]=>011101
[3,7,6,5,2,1,4]=>011110
[3,7,6,5,2,4,1]=>011101
[3,7,6,5,4,1,2]=>011110
[3,7,6,5,4,2,1]=>011111
[4,1,2,3,5,6,7]=>100000
[4,1,2,3,5,7,6]=>100001
[4,1,2,3,6,5,7]=>100010
[4,1,2,3,6,7,5]=>100001
[4,1,2,3,7,5,6]=>100010
[4,1,2,3,7,6,5]=>100011
[4,1,2,5,3,6,7]=>100100
[4,1,2,5,3,7,6]=>100101
[4,1,2,5,6,3,7]=>100010
[4,1,2,5,6,7,3]=>100001
[4,1,2,5,7,3,6]=>100010
[4,1,2,5,7,6,3]=>100011
[4,1,2,6,3,5,7]=>100100
[4,1,2,6,3,7,5]=>100101
[4,1,2,6,5,3,7]=>100110
[4,1,2,6,5,7,3]=>100101
[4,1,2,6,7,3,5]=>100010
[4,1,2,6,7,5,3]=>100011
[4,1,2,7,3,5,6]=>100100
[4,1,2,7,3,6,5]=>100101
[4,1,2,7,5,3,6]=>100110
[4,1,2,7,5,6,3]=>100101
[4,1,2,7,6,3,5]=>100110
[4,1,2,7,6,5,3]=>100111
[4,1,3,2,5,6,7]=>101000
[4,1,3,2,5,7,6]=>101001
[4,1,3,2,6,5,7]=>101010
[4,1,3,2,6,7,5]=>101001
[4,1,3,2,7,5,6]=>101010
[4,1,3,2,7,6,5]=>101011
[4,1,3,5,2,6,7]=>100100
[4,1,3,5,2,7,6]=>100101
[4,1,3,5,6,2,7]=>100010
[4,1,3,5,6,7,2]=>100001
[4,1,3,5,7,2,6]=>100010
[4,1,3,5,7,6,2]=>100011
[4,1,3,6,2,5,7]=>100100
[4,1,3,6,2,7,5]=>100101
[4,1,3,6,5,2,7]=>100110
[4,1,3,6,5,7,2]=>100101
[4,1,3,6,7,2,5]=>100010
[4,1,3,6,7,5,2]=>100011
[4,1,3,7,2,5,6]=>100100
[4,1,3,7,2,6,5]=>100101
[4,1,3,7,5,2,6]=>100110
[4,1,3,7,5,6,2]=>100101
[4,1,3,7,6,2,5]=>100110
[4,1,3,7,6,5,2]=>100111
[4,1,5,2,3,6,7]=>101000
[4,1,5,2,3,7,6]=>101001
[4,1,5,2,6,3,7]=>101010
[4,1,5,2,6,7,3]=>101001
[4,1,5,2,7,3,6]=>101010
[4,1,5,2,7,6,3]=>101011
[4,1,5,3,2,6,7]=>101100
[4,1,5,3,2,7,6]=>101101
[4,1,5,3,6,2,7]=>101010
[4,1,5,3,6,7,2]=>101001
[4,1,5,3,7,2,6]=>101010
[4,1,5,3,7,6,2]=>101011
[4,1,5,6,2,3,7]=>100100
[4,1,5,6,2,7,3]=>100101
[4,1,5,6,3,2,7]=>100110
[4,1,5,6,3,7,2]=>100101
[4,1,5,6,7,2,3]=>100010
[4,1,5,6,7,3,2]=>100011
[4,1,5,7,2,3,6]=>100100
[4,1,5,7,2,6,3]=>100101
[4,1,5,7,3,2,6]=>100110
[4,1,5,7,3,6,2]=>100101
[4,1,5,7,6,2,3]=>100110
[4,1,5,7,6,3,2]=>100111
[4,1,6,2,3,5,7]=>101000
[4,1,6,2,3,7,5]=>101001
[4,1,6,2,5,3,7]=>101010
[4,1,6,2,5,7,3]=>101001
[4,1,6,2,7,3,5]=>101010
[4,1,6,2,7,5,3]=>101011
[4,1,6,3,2,5,7]=>101100
[4,1,6,3,2,7,5]=>101101
[4,1,6,3,5,2,7]=>101010
[4,1,6,3,5,7,2]=>101001
[4,1,6,3,7,2,5]=>101010
[4,1,6,3,7,5,2]=>101011
[4,1,6,5,2,3,7]=>101100
[4,1,6,5,2,7,3]=>101101
[4,1,6,5,3,2,7]=>101110
[4,1,6,5,3,7,2]=>101101
[4,1,6,5,7,2,3]=>101010
[4,1,6,5,7,3,2]=>101011
[4,1,6,7,2,3,5]=>100100
[4,1,6,7,2,5,3]=>100101
[4,1,6,7,3,2,5]=>100110
[4,1,6,7,3,5,2]=>100101
[4,1,6,7,5,2,3]=>100110
[4,1,6,7,5,3,2]=>100111
[4,1,7,2,3,5,6]=>101000
[4,1,7,2,3,6,5]=>101001
[4,1,7,2,5,3,6]=>101010
[4,1,7,2,5,6,3]=>101001
[4,1,7,2,6,3,5]=>101010
[4,1,7,2,6,5,3]=>101011
[4,1,7,3,2,5,6]=>101100
[4,1,7,3,2,6,5]=>101101
[4,1,7,3,5,2,6]=>101010
[4,1,7,3,5,6,2]=>101001
[4,1,7,3,6,2,5]=>101010
[4,1,7,3,6,5,2]=>101011
[4,1,7,5,2,3,6]=>101100
[4,1,7,5,2,6,3]=>101101
[4,1,7,5,3,2,6]=>101110
[4,1,7,5,3,6,2]=>101101
[4,1,7,5,6,2,3]=>101010
[4,1,7,5,6,3,2]=>101011
[4,1,7,6,2,3,5]=>101100
[4,1,7,6,2,5,3]=>101101
[4,1,7,6,3,2,5]=>101110
[4,1,7,6,3,5,2]=>101101
[4,1,7,6,5,2,3]=>101110
[4,1,7,6,5,3,2]=>101111
[4,2,1,3,5,6,7]=>110000
[4,2,1,3,5,7,6]=>110001
[4,2,1,3,6,5,7]=>110010
[4,2,1,3,6,7,5]=>110001
[4,2,1,3,7,5,6]=>110010
[4,2,1,3,7,6,5]=>110011
[4,2,1,5,3,6,7]=>110100
[4,2,1,5,3,7,6]=>110101
[4,2,1,5,6,3,7]=>110010
[4,2,1,5,6,7,3]=>110001
[4,2,1,5,7,3,6]=>110010
[4,2,1,5,7,6,3]=>110011
[4,2,1,6,3,5,7]=>110100
[4,2,1,6,3,7,5]=>110101
[4,2,1,6,5,3,7]=>110110
[4,2,1,6,5,7,3]=>110101
[4,2,1,6,7,3,5]=>110010
[4,2,1,6,7,5,3]=>110011
[4,2,1,7,3,5,6]=>110100
[4,2,1,7,3,6,5]=>110101
[4,2,1,7,5,3,6]=>110110
[4,2,1,7,5,6,3]=>110101
[4,2,1,7,6,3,5]=>110110
[4,2,1,7,6,5,3]=>110111
[4,2,3,1,5,6,7]=>101000
[4,2,3,1,5,7,6]=>101001
[4,2,3,1,6,5,7]=>101010
[4,2,3,1,6,7,5]=>101001
[4,2,3,1,7,5,6]=>101010
[4,2,3,1,7,6,5]=>101011
[4,2,3,5,1,6,7]=>100100
[4,2,3,5,1,7,6]=>100101
[4,2,3,5,6,1,7]=>100010
[4,2,3,5,6,7,1]=>100001
[4,2,3,5,7,1,6]=>100010
[4,2,3,5,7,6,1]=>100011
[4,2,3,6,1,5,7]=>100100
[4,2,3,6,1,7,5]=>100101
[4,2,3,6,5,1,7]=>100110
[4,2,3,6,5,7,1]=>100101
[4,2,3,6,7,1,5]=>100010
[4,2,3,6,7,5,1]=>100011
[4,2,3,7,1,5,6]=>100100
[4,2,3,7,1,6,5]=>100101
[4,2,3,7,5,1,6]=>100110
[4,2,3,7,5,6,1]=>100101
[4,2,3,7,6,1,5]=>100110
[4,2,3,7,6,5,1]=>100111
[4,2,5,1,3,6,7]=>101000
[4,2,5,1,3,7,6]=>101001
[4,2,5,1,6,3,7]=>101010
[4,2,5,1,6,7,3]=>101001
[4,2,5,1,7,3,6]=>101010
[4,2,5,1,7,6,3]=>101011
[4,2,5,3,1,6,7]=>101100
[4,2,5,3,1,7,6]=>101101
[4,2,5,3,6,1,7]=>101010
[4,2,5,3,6,7,1]=>101001
[4,2,5,3,7,1,6]=>101010
[4,2,5,3,7,6,1]=>101011
[4,2,5,6,1,3,7]=>100100
[4,2,5,6,1,7,3]=>100101
[4,2,5,6,3,1,7]=>100110
[4,2,5,6,3,7,1]=>100101
[4,2,5,6,7,1,3]=>100010
[4,2,5,6,7,3,1]=>100011
[4,2,5,7,1,3,6]=>100100
[4,2,5,7,1,6,3]=>100101
[4,2,5,7,3,1,6]=>100110
[4,2,5,7,3,6,1]=>100101
[4,2,5,7,6,1,3]=>100110
[4,2,5,7,6,3,1]=>100111
[4,2,6,1,3,5,7]=>101000
[4,2,6,1,3,7,5]=>101001
[4,2,6,1,5,3,7]=>101010
[4,2,6,1,5,7,3]=>101001
[4,2,6,1,7,3,5]=>101010
[4,2,6,1,7,5,3]=>101011
[4,2,6,3,1,5,7]=>101100
[4,2,6,3,1,7,5]=>101101
[4,2,6,3,5,1,7]=>101010
[4,2,6,3,5,7,1]=>101001
[4,2,6,3,7,1,5]=>101010
[4,2,6,3,7,5,1]=>101011
[4,2,6,5,1,3,7]=>101100
[4,2,6,5,1,7,3]=>101101
[4,2,6,5,3,1,7]=>101110
[4,2,6,5,3,7,1]=>101101
[4,2,6,5,7,1,3]=>101010
[4,2,6,5,7,3,1]=>101011
[4,2,6,7,1,3,5]=>100100
[4,2,6,7,1,5,3]=>100101
[4,2,6,7,3,1,5]=>100110
[4,2,6,7,3,5,1]=>100101
[4,2,6,7,5,1,3]=>100110
[4,2,6,7,5,3,1]=>100111
[4,2,7,1,3,5,6]=>101000
[4,2,7,1,3,6,5]=>101001
[4,2,7,1,5,3,6]=>101010
[4,2,7,1,5,6,3]=>101001
[4,2,7,1,6,3,5]=>101010
[4,2,7,1,6,5,3]=>101011
[4,2,7,3,1,5,6]=>101100
[4,2,7,3,1,6,5]=>101101
[4,2,7,3,5,1,6]=>101010
[4,2,7,3,5,6,1]=>101001
[4,2,7,3,6,1,5]=>101010
[4,2,7,3,6,5,1]=>101011
[4,2,7,5,1,3,6]=>101100
[4,2,7,5,1,6,3]=>101101
[4,2,7,5,3,1,6]=>101110
[4,2,7,5,3,6,1]=>101101
[4,2,7,5,6,1,3]=>101010
[4,2,7,5,6,3,1]=>101011
[4,2,7,6,1,3,5]=>101100
[4,2,7,6,1,5,3]=>101101
[4,2,7,6,3,1,5]=>101110
[4,2,7,6,3,5,1]=>101101
[4,2,7,6,5,1,3]=>101110
[4,2,7,6,5,3,1]=>101111
[4,3,1,2,5,6,7]=>110000
[4,3,1,2,5,7,6]=>110001
[4,3,1,2,6,5,7]=>110010
[4,3,1,2,6,7,5]=>110001
[4,3,1,2,7,5,6]=>110010
[4,3,1,2,7,6,5]=>110011
[4,3,1,5,2,6,7]=>110100
[4,3,1,5,2,7,6]=>110101
[4,3,1,5,6,2,7]=>110010
[4,3,1,5,6,7,2]=>110001
[4,3,1,5,7,2,6]=>110010
[4,3,1,5,7,6,2]=>110011
[4,3,1,6,2,5,7]=>110100
[4,3,1,6,2,7,5]=>110101
[4,3,1,6,5,2,7]=>110110
[4,3,1,6,5,7,2]=>110101
[4,3,1,6,7,2,5]=>110010
[4,3,1,6,7,5,2]=>110011
[4,3,1,7,2,5,6]=>110100
[4,3,1,7,2,6,5]=>110101
[4,3,1,7,5,2,6]=>110110
[4,3,1,7,5,6,2]=>110101
[4,3,1,7,6,2,5]=>110110
[4,3,1,7,6,5,2]=>110111
[4,3,2,1,5,6,7]=>111000
[4,3,2,1,5,7,6]=>111001
[4,3,2,1,6,5,7]=>111010
[4,3,2,1,6,7,5]=>111001
[4,3,2,1,7,5,6]=>111010
[4,3,2,1,7,6,5]=>111011
[4,3,2,5,1,6,7]=>110100
[4,3,2,5,1,7,6]=>110101
[4,3,2,5,6,1,7]=>110010
[4,3,2,5,6,7,1]=>110001
[4,3,2,5,7,1,6]=>110010
[4,3,2,5,7,6,1]=>110011
[4,3,2,6,1,5,7]=>110100
[4,3,2,6,1,7,5]=>110101
[4,3,2,6,5,1,7]=>110110
[4,3,2,6,5,7,1]=>110101
[4,3,2,6,7,1,5]=>110010
[4,3,2,6,7,5,1]=>110011
[4,3,2,7,1,5,6]=>110100
[4,3,2,7,1,6,5]=>110101
[4,3,2,7,5,1,6]=>110110
[4,3,2,7,5,6,1]=>110101
[4,3,2,7,6,1,5]=>110110
[4,3,2,7,6,5,1]=>110111
[4,3,5,1,2,6,7]=>101000
[4,3,5,1,2,7,6]=>101001
[4,3,5,1,6,2,7]=>101010
[4,3,5,1,6,7,2]=>101001
[4,3,5,1,7,2,6]=>101010
[4,3,5,1,7,6,2]=>101011
[4,3,5,2,1,6,7]=>101100
[4,3,5,2,1,7,6]=>101101
[4,3,5,2,6,1,7]=>101010
[4,3,5,2,6,7,1]=>101001
[4,3,5,2,7,1,6]=>101010
[4,3,5,2,7,6,1]=>101011
[4,3,5,6,1,2,7]=>100100
[4,3,5,6,1,7,2]=>100101
[4,3,5,6,2,1,7]=>100110
[4,3,5,6,2,7,1]=>100101
[4,3,5,6,7,1,2]=>100010
[4,3,5,6,7,2,1]=>100011
[4,3,5,7,1,2,6]=>100100
[4,3,5,7,1,6,2]=>100101
[4,3,5,7,2,1,6]=>100110
[4,3,5,7,2,6,1]=>100101
[4,3,5,7,6,1,2]=>100110
[4,3,5,7,6,2,1]=>100111
[4,3,6,1,2,5,7]=>101000
[4,3,6,1,2,7,5]=>101001
[4,3,6,1,5,2,7]=>101010
[4,3,6,1,5,7,2]=>101001
[4,3,6,1,7,2,5]=>101010
[4,3,6,1,7,5,2]=>101011
[4,3,6,2,1,5,7]=>101100
[4,3,6,2,1,7,5]=>101101
[4,3,6,2,5,1,7]=>101010
[4,3,6,2,5,7,1]=>101001
[4,3,6,2,7,1,5]=>101010
[4,3,6,2,7,5,1]=>101011
[4,3,6,5,1,2,7]=>101100
[4,3,6,5,1,7,2]=>101101
[4,3,6,5,2,1,7]=>101110
[4,3,6,5,2,7,1]=>101101
[4,3,6,5,7,1,2]=>101010
[4,3,6,5,7,2,1]=>101011
[4,3,6,7,1,2,5]=>100100
[4,3,6,7,1,5,2]=>100101
[4,3,6,7,2,1,5]=>100110
[4,3,6,7,2,5,1]=>100101
[4,3,6,7,5,1,2]=>100110
[4,3,6,7,5,2,1]=>100111
[4,3,7,1,2,5,6]=>101000
[4,3,7,1,2,6,5]=>101001
[4,3,7,1,5,2,6]=>101010
[4,3,7,1,5,6,2]=>101001
[4,3,7,1,6,2,5]=>101010
[4,3,7,1,6,5,2]=>101011
[4,3,7,2,1,5,6]=>101100
[4,3,7,2,1,6,5]=>101101
[4,3,7,2,5,1,6]=>101010
[4,3,7,2,5,6,1]=>101001
[4,3,7,2,6,1,5]=>101010
[4,3,7,2,6,5,1]=>101011
[4,3,7,5,1,2,6]=>101100
[4,3,7,5,1,6,2]=>101101
[4,3,7,5,2,1,6]=>101110
[4,3,7,5,2,6,1]=>101101
[4,3,7,5,6,1,2]=>101010
[4,3,7,5,6,2,1]=>101011
[4,3,7,6,1,2,5]=>101100
[4,3,7,6,1,5,2]=>101101
[4,3,7,6,2,1,5]=>101110
[4,3,7,6,2,5,1]=>101101
[4,3,7,6,5,1,2]=>101110
[4,3,7,6,5,2,1]=>101111
[4,5,1,2,3,6,7]=>010000
[4,5,1,2,3,7,6]=>010001
[4,5,1,2,6,3,7]=>010010
[4,5,1,2,6,7,3]=>010001
[4,5,1,2,7,3,6]=>010010
[4,5,1,2,7,6,3]=>010011
[4,5,1,3,2,6,7]=>010100
[4,5,1,3,2,7,6]=>010101
[4,5,1,3,6,2,7]=>010010
[4,5,1,3,6,7,2]=>010001
[4,5,1,3,7,2,6]=>010010
[4,5,1,3,7,6,2]=>010011
[4,5,1,6,2,3,7]=>010100
[4,5,1,6,2,7,3]=>010101
[4,5,1,6,3,2,7]=>010110
[4,5,1,6,3,7,2]=>010101
[4,5,1,6,7,2,3]=>010010
[4,5,1,6,7,3,2]=>010011
[4,5,1,7,2,3,6]=>010100
[4,5,1,7,2,6,3]=>010101
[4,5,1,7,3,2,6]=>010110
[4,5,1,7,3,6,2]=>010101
[4,5,1,7,6,2,3]=>010110
[4,5,1,7,6,3,2]=>010111
[4,5,2,1,3,6,7]=>011000
[4,5,2,1,3,7,6]=>011001
[4,5,2,1,6,3,7]=>011010
[4,5,2,1,6,7,3]=>011001
[4,5,2,1,7,3,6]=>011010
[4,5,2,1,7,6,3]=>011011
[4,5,2,3,1,6,7]=>010100
[4,5,2,3,1,7,6]=>010101
[4,5,2,3,6,1,7]=>010010
[4,5,2,3,6,7,1]=>010001
[4,5,2,3,7,1,6]=>010010
[4,5,2,3,7,6,1]=>010011
[4,5,2,6,1,3,7]=>010100
[4,5,2,6,1,7,3]=>010101
[4,5,2,6,3,1,7]=>010110
[4,5,2,6,3,7,1]=>010101
[4,5,2,6,7,1,3]=>010010
[4,5,2,6,7,3,1]=>010011
[4,5,2,7,1,3,6]=>010100
[4,5,2,7,1,6,3]=>010101
[4,5,2,7,3,1,6]=>010110
[4,5,2,7,3,6,1]=>010101
[4,5,2,7,6,1,3]=>010110
[4,5,2,7,6,3,1]=>010111
[4,5,3,1,2,6,7]=>011000
[4,5,3,1,2,7,6]=>011001
[4,5,3,1,6,2,7]=>011010
[4,5,3,1,6,7,2]=>011001
[4,5,3,1,7,2,6]=>011010
[4,5,3,1,7,6,2]=>011011
[4,5,3,2,1,6,7]=>011100
[4,5,3,2,1,7,6]=>011101
[4,5,3,2,6,1,7]=>011010
[4,5,3,2,6,7,1]=>011001
[4,5,3,2,7,1,6]=>011010
[4,5,3,2,7,6,1]=>011011
[4,5,3,6,1,2,7]=>010100
[4,5,3,6,1,7,2]=>010101
[4,5,3,6,2,1,7]=>010110
[4,5,3,6,2,7,1]=>010101
[4,5,3,6,7,1,2]=>010010
[4,5,3,6,7,2,1]=>010011
[4,5,3,7,1,2,6]=>010100
[4,5,3,7,1,6,2]=>010101
[4,5,3,7,2,1,6]=>010110
[4,5,3,7,2,6,1]=>010101
[4,5,3,7,6,1,2]=>010110
[4,5,3,7,6,2,1]=>010111
[4,5,6,1,2,3,7]=>001000
[4,5,6,1,2,7,3]=>001001
[4,5,6,1,3,2,7]=>001010
[4,5,6,1,3,7,2]=>001001
[4,5,6,1,7,2,3]=>001010
[4,5,6,1,7,3,2]=>001011
[4,5,6,2,1,3,7]=>001100
[4,5,6,2,1,7,3]=>001101
[4,5,6,2,3,1,7]=>001010
[4,5,6,2,3,7,1]=>001001
[4,5,6,2,7,1,3]=>001010
[4,5,6,2,7,3,1]=>001011
[4,5,6,3,1,2,7]=>001100
[4,5,6,3,1,7,2]=>001101
[4,5,6,3,2,1,7]=>001110
[4,5,6,3,2,7,1]=>001101
[4,5,6,3,7,1,2]=>001010
[4,5,6,3,7,2,1]=>001011
[4,5,6,7,1,2,3]=>000100
[4,5,6,7,1,3,2]=>000101
[4,5,6,7,2,1,3]=>000110
[4,5,6,7,2,3,1]=>000101
[4,5,6,7,3,1,2]=>000110
[4,5,6,7,3,2,1]=>000111
[4,5,7,1,2,3,6]=>001000
[4,5,7,1,2,6,3]=>001001
[4,5,7,1,3,2,6]=>001010
[4,5,7,1,3,6,2]=>001001
[4,5,7,1,6,2,3]=>001010
[4,5,7,1,6,3,2]=>001011
[4,5,7,2,1,3,6]=>001100
[4,5,7,2,1,6,3]=>001101
[4,5,7,2,3,1,6]=>001010
[4,5,7,2,3,6,1]=>001001
[4,5,7,2,6,1,3]=>001010
[4,5,7,2,6,3,1]=>001011
[4,5,7,3,1,2,6]=>001100
[4,5,7,3,1,6,2]=>001101
[4,5,7,3,2,1,6]=>001110
[4,5,7,3,2,6,1]=>001101
[4,5,7,3,6,1,2]=>001010
[4,5,7,3,6,2,1]=>001011
[4,5,7,6,1,2,3]=>001100
[4,5,7,6,1,3,2]=>001101
[4,5,7,6,2,1,3]=>001110
[4,5,7,6,2,3,1]=>001101
[4,5,7,6,3,1,2]=>001110
[4,5,7,6,3,2,1]=>001111
[4,6,1,2,3,5,7]=>010000
[4,6,1,2,3,7,5]=>010001
[4,6,1,2,5,3,7]=>010010
[4,6,1,2,5,7,3]=>010001
[4,6,1,2,7,3,5]=>010010
[4,6,1,2,7,5,3]=>010011
[4,6,1,3,2,5,7]=>010100
[4,6,1,3,2,7,5]=>010101
[4,6,1,3,5,2,7]=>010010
[4,6,1,3,5,7,2]=>010001
[4,6,1,3,7,2,5]=>010010
[4,6,1,3,7,5,2]=>010011
[4,6,1,5,2,3,7]=>010100
[4,6,1,5,2,7,3]=>010101
[4,6,1,5,3,2,7]=>010110
[4,6,1,5,3,7,2]=>010101
[4,6,1,5,7,2,3]=>010010
[4,6,1,5,7,3,2]=>010011
[4,6,1,7,2,3,5]=>010100
[4,6,1,7,2,5,3]=>010101
[4,6,1,7,3,2,5]=>010110
[4,6,1,7,3,5,2]=>010101
[4,6,1,7,5,2,3]=>010110
[4,6,1,7,5,3,2]=>010111
[4,6,2,1,3,5,7]=>011000
[4,6,2,1,3,7,5]=>011001
[4,6,2,1,5,3,7]=>011010
[4,6,2,1,5,7,3]=>011001
[4,6,2,1,7,3,5]=>011010
[4,6,2,1,7,5,3]=>011011
[4,6,2,3,1,5,7]=>010100
[4,6,2,3,1,7,5]=>010101
[4,6,2,3,5,1,7]=>010010
[4,6,2,3,5,7,1]=>010001
[4,6,2,3,7,1,5]=>010010
[4,6,2,3,7,5,1]=>010011
[4,6,2,5,1,3,7]=>010100
[4,6,2,5,1,7,3]=>010101
[4,6,2,5,3,1,7]=>010110
[4,6,2,5,3,7,1]=>010101
[4,6,2,5,7,1,3]=>010010
[4,6,2,5,7,3,1]=>010011
[4,6,2,7,1,3,5]=>010100
[4,6,2,7,1,5,3]=>010101
[4,6,2,7,3,1,5]=>010110
[4,6,2,7,3,5,1]=>010101
[4,6,2,7,5,1,3]=>010110
[4,6,2,7,5,3,1]=>010111
[4,6,3,1,2,5,7]=>011000
[4,6,3,1,2,7,5]=>011001
[4,6,3,1,5,2,7]=>011010
[4,6,3,1,5,7,2]=>011001
[4,6,3,1,7,2,5]=>011010
[4,6,3,1,7,5,2]=>011011
[4,6,3,2,1,5,7]=>011100
[4,6,3,2,1,7,5]=>011101
[4,6,3,2,5,1,7]=>011010
[4,6,3,2,5,7,1]=>011001
[4,6,3,2,7,1,5]=>011010
[4,6,3,2,7,5,1]=>011011
[4,6,3,5,1,2,7]=>010100
[4,6,3,5,1,7,2]=>010101
[4,6,3,5,2,1,7]=>010110
[4,6,3,5,2,7,1]=>010101
[4,6,3,5,7,1,2]=>010010
[4,6,3,5,7,2,1]=>010011
[4,6,3,7,1,2,5]=>010100
[4,6,3,7,1,5,2]=>010101
[4,6,3,7,2,1,5]=>010110
[4,6,3,7,2,5,1]=>010101
[4,6,3,7,5,1,2]=>010110
[4,6,3,7,5,2,1]=>010111
[4,6,5,1,2,3,7]=>011000
[4,6,5,1,2,7,3]=>011001
[4,6,5,1,3,2,7]=>011010
[4,6,5,1,3,7,2]=>011001
[4,6,5,1,7,2,3]=>011010
[4,6,5,1,7,3,2]=>011011
[4,6,5,2,1,3,7]=>011100
[4,6,5,2,1,7,3]=>011101
[4,6,5,2,3,1,7]=>011010
[4,6,5,2,3,7,1]=>011001
[4,6,5,2,7,1,3]=>011010
[4,6,5,2,7,3,1]=>011011
[4,6,5,3,1,2,7]=>011100
[4,6,5,3,1,7,2]=>011101
[4,6,5,3,2,1,7]=>011110
[4,6,5,3,2,7,1]=>011101
[4,6,5,3,7,1,2]=>011010
[4,6,5,3,7,2,1]=>011011
[4,6,5,7,1,2,3]=>010100
[4,6,5,7,1,3,2]=>010101
[4,6,5,7,2,1,3]=>010110
[4,6,5,7,2,3,1]=>010101
[4,6,5,7,3,1,2]=>010110
[4,6,5,7,3,2,1]=>010111
[4,6,7,1,2,3,5]=>001000
[4,6,7,1,2,5,3]=>001001
[4,6,7,1,3,2,5]=>001010
[4,6,7,1,3,5,2]=>001001
[4,6,7,1,5,2,3]=>001010
[4,6,7,1,5,3,2]=>001011
[4,6,7,2,1,3,5]=>001100
[4,6,7,2,1,5,3]=>001101
[4,6,7,2,3,1,5]=>001010
[4,6,7,2,3,5,1]=>001001
[4,6,7,2,5,1,3]=>001010
[4,6,7,2,5,3,1]=>001011
[4,6,7,3,1,2,5]=>001100
[4,6,7,3,1,5,2]=>001101
[4,6,7,3,2,1,5]=>001110
[4,6,7,3,2,5,1]=>001101
[4,6,7,3,5,1,2]=>001010
[4,6,7,3,5,2,1]=>001011
[4,6,7,5,1,2,3]=>001100
[4,6,7,5,1,3,2]=>001101
[4,6,7,5,2,1,3]=>001110
[4,6,7,5,2,3,1]=>001101
[4,6,7,5,3,1,2]=>001110
[4,6,7,5,3,2,1]=>001111
[4,7,1,2,3,5,6]=>010000
[4,7,1,2,3,6,5]=>010001
[4,7,1,2,5,3,6]=>010010
[4,7,1,2,5,6,3]=>010001
[4,7,1,2,6,3,5]=>010010
[4,7,1,2,6,5,3]=>010011
[4,7,1,3,2,5,6]=>010100
[4,7,1,3,2,6,5]=>010101
[4,7,1,3,5,2,6]=>010010
[4,7,1,3,5,6,2]=>010001
[4,7,1,3,6,2,5]=>010010
[4,7,1,3,6,5,2]=>010011
[4,7,1,5,2,3,6]=>010100
[4,7,1,5,2,6,3]=>010101
[4,7,1,5,3,2,6]=>010110
[4,7,1,5,3,6,2]=>010101
[4,7,1,5,6,2,3]=>010010
[4,7,1,5,6,3,2]=>010011
[4,7,1,6,2,3,5]=>010100
[4,7,1,6,2,5,3]=>010101
[4,7,1,6,3,2,5]=>010110
[4,7,1,6,3,5,2]=>010101
[4,7,1,6,5,2,3]=>010110
[4,7,1,6,5,3,2]=>010111
[4,7,2,1,3,5,6]=>011000
[4,7,2,1,3,6,5]=>011001
[4,7,2,1,5,3,6]=>011010
[4,7,2,1,5,6,3]=>011001
[4,7,2,1,6,3,5]=>011010
[4,7,2,1,6,5,3]=>011011
[4,7,2,3,1,5,6]=>010100
[4,7,2,3,1,6,5]=>010101
[4,7,2,3,5,1,6]=>010010
[4,7,2,3,5,6,1]=>010001
[4,7,2,3,6,1,5]=>010010
[4,7,2,3,6,5,1]=>010011
[4,7,2,5,1,3,6]=>010100
[4,7,2,5,1,6,3]=>010101
[4,7,2,5,3,1,6]=>010110
[4,7,2,5,3,6,1]=>010101
[4,7,2,5,6,1,3]=>010010
[4,7,2,5,6,3,1]=>010011
[4,7,2,6,1,3,5]=>010100
[4,7,2,6,1,5,3]=>010101
[4,7,2,6,3,1,5]=>010110
[4,7,2,6,3,5,1]=>010101
[4,7,2,6,5,1,3]=>010110
[4,7,2,6,5,3,1]=>010111
[4,7,3,1,2,5,6]=>011000
[4,7,3,1,2,6,5]=>011001
[4,7,3,1,5,2,6]=>011010
[4,7,3,1,5,6,2]=>011001
[4,7,3,1,6,2,5]=>011010
[4,7,3,1,6,5,2]=>011011
[4,7,3,2,1,5,6]=>011100
[4,7,3,2,1,6,5]=>011101
[4,7,3,2,5,1,6]=>011010
[4,7,3,2,5,6,1]=>011001
[4,7,3,2,6,1,5]=>011010
[4,7,3,2,6,5,1]=>011011
[4,7,3,5,1,2,6]=>010100
[4,7,3,5,1,6,2]=>010101
[4,7,3,5,2,1,6]=>010110
[4,7,3,5,2,6,1]=>010101
[4,7,3,5,6,1,2]=>010010
[4,7,3,5,6,2,1]=>010011
[4,7,3,6,1,2,5]=>010100
[4,7,3,6,1,5,2]=>010101
[4,7,3,6,2,1,5]=>010110
[4,7,3,6,2,5,1]=>010101
[4,7,3,6,5,1,2]=>010110
[4,7,3,6,5,2,1]=>010111
[4,7,5,1,2,3,6]=>011000
[4,7,5,1,2,6,3]=>011001
[4,7,5,1,3,2,6]=>011010
[4,7,5,1,3,6,2]=>011001
[4,7,5,1,6,2,3]=>011010
[4,7,5,1,6,3,2]=>011011
[4,7,5,2,1,3,6]=>011100
[4,7,5,2,1,6,3]=>011101
[4,7,5,2,3,1,6]=>011010
[4,7,5,2,3,6,1]=>011001
[4,7,5,2,6,1,3]=>011010
[4,7,5,2,6,3,1]=>011011
[4,7,5,3,1,2,6]=>011100
[4,7,5,3,1,6,2]=>011101
[4,7,5,3,2,1,6]=>011110
[4,7,5,3,2,6,1]=>011101
[4,7,5,3,6,1,2]=>011010
[4,7,5,3,6,2,1]=>011011
[4,7,5,6,1,2,3]=>010100
[4,7,5,6,1,3,2]=>010101
[4,7,5,6,2,1,3]=>010110
[4,7,5,6,2,3,1]=>010101
[4,7,5,6,3,1,2]=>010110
[4,7,5,6,3,2,1]=>010111
[4,7,6,1,2,3,5]=>011000
[4,7,6,1,2,5,3]=>011001
[4,7,6,1,3,2,5]=>011010
[4,7,6,1,3,5,2]=>011001
[4,7,6,1,5,2,3]=>011010
[4,7,6,1,5,3,2]=>011011
[4,7,6,2,1,3,5]=>011100
[4,7,6,2,1,5,3]=>011101
[4,7,6,2,3,1,5]=>011010
[4,7,6,2,3,5,1]=>011001
[4,7,6,2,5,1,3]=>011010
[4,7,6,2,5,3,1]=>011011
[4,7,6,3,1,2,5]=>011100
[4,7,6,3,1,5,2]=>011101
[4,7,6,3,2,1,5]=>011110
[4,7,6,3,2,5,1]=>011101
[4,7,6,3,5,1,2]=>011010
[4,7,6,3,5,2,1]=>011011
[4,7,6,5,1,2,3]=>011100
[4,7,6,5,1,3,2]=>011101
[4,7,6,5,2,1,3]=>011110
[4,7,6,5,2,3,1]=>011101
[4,7,6,5,3,1,2]=>011110
[4,7,6,5,3,2,1]=>011111
[5,1,2,3,4,6,7]=>100000
[5,1,2,3,4,7,6]=>100001
[5,1,2,3,6,4,7]=>100010
[5,1,2,3,6,7,4]=>100001
[5,1,2,3,7,4,6]=>100010
[5,1,2,3,7,6,4]=>100011
[5,1,2,4,3,6,7]=>100100
[5,1,2,4,3,7,6]=>100101
[5,1,2,4,6,3,7]=>100010
[5,1,2,4,6,7,3]=>100001
[5,1,2,4,7,3,6]=>100010
[5,1,2,4,7,6,3]=>100011
[5,1,2,6,3,4,7]=>100100
[5,1,2,6,3,7,4]=>100101
[5,1,2,6,4,3,7]=>100110
[5,1,2,6,4,7,3]=>100101
[5,1,2,6,7,3,4]=>100010
[5,1,2,6,7,4,3]=>100011
[5,1,2,7,3,4,6]=>100100
[5,1,2,7,3,6,4]=>100101
[5,1,2,7,4,3,6]=>100110
[5,1,2,7,4,6,3]=>100101
[5,1,2,7,6,3,4]=>100110
[5,1,2,7,6,4,3]=>100111
[5,1,3,2,4,6,7]=>101000
[5,1,3,2,4,7,6]=>101001
[5,1,3,2,6,4,7]=>101010
[5,1,3,2,6,7,4]=>101001
[5,1,3,2,7,4,6]=>101010
[5,1,3,2,7,6,4]=>101011
[5,1,3,4,2,6,7]=>100100
[5,1,3,4,2,7,6]=>100101
[5,1,3,4,6,2,7]=>100010
[5,1,3,4,6,7,2]=>100001
[5,1,3,4,7,2,6]=>100010
[5,1,3,4,7,6,2]=>100011
[5,1,3,6,2,4,7]=>100100
[5,1,3,6,2,7,4]=>100101
[5,1,3,6,4,2,7]=>100110
[5,1,3,6,4,7,2]=>100101
[5,1,3,6,7,2,4]=>100010
[5,1,3,6,7,4,2]=>100011
[5,1,3,7,2,4,6]=>100100
[5,1,3,7,2,6,4]=>100101
[5,1,3,7,4,2,6]=>100110
[5,1,3,7,4,6,2]=>100101
[5,1,3,7,6,2,4]=>100110
[5,1,3,7,6,4,2]=>100111
[5,1,4,2,3,6,7]=>101000
[5,1,4,2,3,7,6]=>101001
[5,1,4,2,6,3,7]=>101010
[5,1,4,2,6,7,3]=>101001
[5,1,4,2,7,3,6]=>101010
[5,1,4,2,7,6,3]=>101011
[5,1,4,3,2,6,7]=>101100
[5,1,4,3,2,7,6]=>101101
[5,1,4,3,6,2,7]=>101010
[5,1,4,3,6,7,2]=>101001
[5,1,4,3,7,2,6]=>101010
[5,1,4,3,7,6,2]=>101011
[5,1,4,6,2,3,7]=>100100
[5,1,4,6,2,7,3]=>100101
[5,1,4,6,3,2,7]=>100110
[5,1,4,6,3,7,2]=>100101
[5,1,4,6,7,2,3]=>100010
[5,1,4,6,7,3,2]=>100011
[5,1,4,7,2,3,6]=>100100
[5,1,4,7,2,6,3]=>100101
[5,1,4,7,3,2,6]=>100110
[5,1,4,7,3,6,2]=>100101
[5,1,4,7,6,2,3]=>100110
[5,1,4,7,6,3,2]=>100111
[5,1,6,2,3,4,7]=>101000
[5,1,6,2,3,7,4]=>101001
[5,1,6,2,4,3,7]=>101010
[5,1,6,2,4,7,3]=>101001
[5,1,6,2,7,3,4]=>101010
[5,1,6,2,7,4,3]=>101011
[5,1,6,3,2,4,7]=>101100
[5,1,6,3,2,7,4]=>101101
[5,1,6,3,4,2,7]=>101010
[5,1,6,3,4,7,2]=>101001
[5,1,6,3,7,2,4]=>101010
[5,1,6,3,7,4,2]=>101011
[5,1,6,4,2,3,7]=>101100
[5,1,6,4,2,7,3]=>101101
[5,1,6,4,3,2,7]=>101110
[5,1,6,4,3,7,2]=>101101
[5,1,6,4,7,2,3]=>101010
[5,1,6,4,7,3,2]=>101011
[5,1,6,7,2,3,4]=>100100
[5,1,6,7,2,4,3]=>100101
[5,1,6,7,3,2,4]=>100110
[5,1,6,7,3,4,2]=>100101
[5,1,6,7,4,2,3]=>100110
[5,1,6,7,4,3,2]=>100111
[5,1,7,2,3,4,6]=>101000
[5,1,7,2,3,6,4]=>101001
[5,1,7,2,4,3,6]=>101010
[5,1,7,2,4,6,3]=>101001
[5,1,7,2,6,3,4]=>101010
[5,1,7,2,6,4,3]=>101011
[5,1,7,3,2,4,6]=>101100
[5,1,7,3,2,6,4]=>101101
[5,1,7,3,4,2,6]=>101010
[5,1,7,3,4,6,2]=>101001
[5,1,7,3,6,2,4]=>101010
[5,1,7,3,6,4,2]=>101011
[5,1,7,4,2,3,6]=>101100
[5,1,7,4,2,6,3]=>101101
[5,1,7,4,3,2,6]=>101110
[5,1,7,4,3,6,2]=>101101
[5,1,7,4,6,2,3]=>101010
[5,1,7,4,6,3,2]=>101011
[5,1,7,6,2,3,4]=>101100
[5,1,7,6,2,4,3]=>101101
[5,1,7,6,3,2,4]=>101110
[5,1,7,6,3,4,2]=>101101
[5,1,7,6,4,2,3]=>101110
[5,1,7,6,4,3,2]=>101111
[5,2,1,3,4,6,7]=>110000
[5,2,1,3,4,7,6]=>110001
[5,2,1,3,6,4,7]=>110010
[5,2,1,3,6,7,4]=>110001
[5,2,1,3,7,4,6]=>110010
[5,2,1,3,7,6,4]=>110011
[5,2,1,4,3,6,7]=>110100
[5,2,1,4,3,7,6]=>110101
[5,2,1,4,6,3,7]=>110010
[5,2,1,4,6,7,3]=>110001
[5,2,1,4,7,3,6]=>110010
[5,2,1,4,7,6,3]=>110011
[5,2,1,6,3,4,7]=>110100
[5,2,1,6,3,7,4]=>110101
[5,2,1,6,4,3,7]=>110110
[5,2,1,6,4,7,3]=>110101
[5,2,1,6,7,3,4]=>110010
[5,2,1,6,7,4,3]=>110011
[5,2,1,7,3,4,6]=>110100
[5,2,1,7,3,6,4]=>110101
[5,2,1,7,4,3,6]=>110110
[5,2,1,7,4,6,3]=>110101
[5,2,1,7,6,3,4]=>110110
[5,2,1,7,6,4,3]=>110111
[5,2,3,1,4,6,7]=>101000
[5,2,3,1,4,7,6]=>101001
[5,2,3,1,6,4,7]=>101010
[5,2,3,1,6,7,4]=>101001
[5,2,3,1,7,4,6]=>101010
[5,2,3,1,7,6,4]=>101011
[5,2,3,4,1,6,7]=>100100
[5,2,3,4,1,7,6]=>100101
[5,2,3,4,6,1,7]=>100010
[5,2,3,4,6,7,1]=>100001
[5,2,3,4,7,1,6]=>100010
[5,2,3,4,7,6,1]=>100011
[5,2,3,6,1,4,7]=>100100
[5,2,3,6,1,7,4]=>100101
[5,2,3,6,4,1,7]=>100110
[5,2,3,6,4,7,1]=>100101
[5,2,3,6,7,1,4]=>100010
[5,2,3,6,7,4,1]=>100011
[5,2,3,7,1,4,6]=>100100
[5,2,3,7,1,6,4]=>100101
[5,2,3,7,4,1,6]=>100110
[5,2,3,7,4,6,1]=>100101
[5,2,3,7,6,1,4]=>100110
[5,2,3,7,6,4,1]=>100111
[5,2,4,1,3,6,7]=>101000
[5,2,4,1,3,7,6]=>101001
[5,2,4,1,6,3,7]=>101010
[5,2,4,1,6,7,3]=>101001
[5,2,4,1,7,3,6]=>101010
[5,2,4,1,7,6,3]=>101011
[5,2,4,3,1,6,7]=>101100
[5,2,4,3,1,7,6]=>101101
[5,2,4,3,6,1,7]=>101010
[5,2,4,3,6,7,1]=>101001
[5,2,4,3,7,1,6]=>101010
[5,2,4,3,7,6,1]=>101011
[5,2,4,6,1,3,7]=>100100
[5,2,4,6,1,7,3]=>100101
[5,2,4,6,3,1,7]=>100110
[5,2,4,6,3,7,1]=>100101
[5,2,4,6,7,1,3]=>100010
[5,2,4,6,7,3,1]=>100011
[5,2,4,7,1,3,6]=>100100
[5,2,4,7,1,6,3]=>100101
[5,2,4,7,3,1,6]=>100110
[5,2,4,7,3,6,1]=>100101
[5,2,4,7,6,1,3]=>100110
[5,2,4,7,6,3,1]=>100111
[5,2,6,1,3,4,7]=>101000
[5,2,6,1,3,7,4]=>101001
[5,2,6,1,4,3,7]=>101010
[5,2,6,1,4,7,3]=>101001
[5,2,6,1,7,3,4]=>101010
[5,2,6,1,7,4,3]=>101011
[5,2,6,3,1,4,7]=>101100
[5,2,6,3,1,7,4]=>101101
[5,2,6,3,4,1,7]=>101010
[5,2,6,3,4,7,1]=>101001
[5,2,6,3,7,1,4]=>101010
[5,2,6,3,7,4,1]=>101011
[5,2,6,4,1,3,7]=>101100
[5,2,6,4,1,7,3]=>101101
[5,2,6,4,3,1,7]=>101110
[5,2,6,4,3,7,1]=>101101
[5,2,6,4,7,1,3]=>101010
[5,2,6,4,7,3,1]=>101011
[5,2,6,7,1,3,4]=>100100
[5,2,6,7,1,4,3]=>100101
[5,2,6,7,3,1,4]=>100110
[5,2,6,7,3,4,1]=>100101
[5,2,6,7,4,1,3]=>100110
[5,2,6,7,4,3,1]=>100111
[5,2,7,1,3,4,6]=>101000
[5,2,7,1,3,6,4]=>101001
[5,2,7,1,4,3,6]=>101010
[5,2,7,1,4,6,3]=>101001
[5,2,7,1,6,3,4]=>101010
[5,2,7,1,6,4,3]=>101011
[5,2,7,3,1,4,6]=>101100
[5,2,7,3,1,6,4]=>101101
[5,2,7,3,4,1,6]=>101010
[5,2,7,3,4,6,1]=>101001
[5,2,7,3,6,1,4]=>101010
[5,2,7,3,6,4,1]=>101011
[5,2,7,4,1,3,6]=>101100
[5,2,7,4,1,6,3]=>101101
[5,2,7,4,3,1,6]=>101110
[5,2,7,4,3,6,1]=>101101
[5,2,7,4,6,1,3]=>101010
[5,2,7,4,6,3,1]=>101011
[5,2,7,6,1,3,4]=>101100
[5,2,7,6,1,4,3]=>101101
[5,2,7,6,3,1,4]=>101110
[5,2,7,6,3,4,1]=>101101
[5,2,7,6,4,1,3]=>101110
[5,2,7,6,4,3,1]=>101111
[5,3,1,2,4,6,7]=>110000
[5,3,1,2,4,7,6]=>110001
[5,3,1,2,6,4,7]=>110010
[5,3,1,2,6,7,4]=>110001
[5,3,1,2,7,4,6]=>110010
[5,3,1,2,7,6,4]=>110011
[5,3,1,4,2,6,7]=>110100
[5,3,1,4,2,7,6]=>110101
[5,3,1,4,6,2,7]=>110010
[5,3,1,4,6,7,2]=>110001
[5,3,1,4,7,2,6]=>110010
[5,3,1,4,7,6,2]=>110011
[5,3,1,6,2,4,7]=>110100
[5,3,1,6,2,7,4]=>110101
[5,3,1,6,4,2,7]=>110110
[5,3,1,6,4,7,2]=>110101
[5,3,1,6,7,2,4]=>110010
[5,3,1,6,7,4,2]=>110011
[5,3,1,7,2,4,6]=>110100
[5,3,1,7,2,6,4]=>110101
[5,3,1,7,4,2,6]=>110110
[5,3,1,7,4,6,2]=>110101
[5,3,1,7,6,2,4]=>110110
[5,3,1,7,6,4,2]=>110111
[5,3,2,1,4,6,7]=>111000
[5,3,2,1,4,7,6]=>111001
[5,3,2,1,6,4,7]=>111010
[5,3,2,1,6,7,4]=>111001
[5,3,2,1,7,4,6]=>111010
[5,3,2,1,7,6,4]=>111011
[5,3,2,4,1,6,7]=>110100
[5,3,2,4,1,7,6]=>110101
[5,3,2,4,6,1,7]=>110010
[5,3,2,4,6,7,1]=>110001
[5,3,2,4,7,1,6]=>110010
[5,3,2,4,7,6,1]=>110011
[5,3,2,6,1,4,7]=>110100
[5,3,2,6,1,7,4]=>110101
[5,3,2,6,4,1,7]=>110110
[5,3,2,6,4,7,1]=>110101
[5,3,2,6,7,1,4]=>110010
[5,3,2,6,7,4,1]=>110011
[5,3,2,7,1,4,6]=>110100
[5,3,2,7,1,6,4]=>110101
[5,3,2,7,4,1,6]=>110110
[5,3,2,7,4,6,1]=>110101
[5,3,2,7,6,1,4]=>110110
[5,3,2,7,6,4,1]=>110111
[5,3,4,1,2,6,7]=>101000
[5,3,4,1,2,7,6]=>101001
[5,3,4,1,6,2,7]=>101010
[5,3,4,1,6,7,2]=>101001
[5,3,4,1,7,2,6]=>101010
[5,3,4,1,7,6,2]=>101011
[5,3,4,2,1,6,7]=>101100
[5,3,4,2,1,7,6]=>101101
[5,3,4,2,6,1,7]=>101010
[5,3,4,2,6,7,1]=>101001
[5,3,4,2,7,1,6]=>101010
[5,3,4,2,7,6,1]=>101011
[5,3,4,6,1,2,7]=>100100
[5,3,4,6,1,7,2]=>100101
[5,3,4,6,2,1,7]=>100110
[5,3,4,6,2,7,1]=>100101
[5,3,4,6,7,1,2]=>100010
[5,3,4,6,7,2,1]=>100011
[5,3,4,7,1,2,6]=>100100
[5,3,4,7,1,6,2]=>100101
[5,3,4,7,2,1,6]=>100110
[5,3,4,7,2,6,1]=>100101
[5,3,4,7,6,1,2]=>100110
[5,3,4,7,6,2,1]=>100111
[5,3,6,1,2,4,7]=>101000
[5,3,6,1,2,7,4]=>101001
[5,3,6,1,4,2,7]=>101010
[5,3,6,1,4,7,2]=>101001
[5,3,6,1,7,2,4]=>101010
[5,3,6,1,7,4,2]=>101011
[5,3,6,2,1,4,7]=>101100
[5,3,6,2,1,7,4]=>101101
[5,3,6,2,4,1,7]=>101010
[5,3,6,2,4,7,1]=>101001
[5,3,6,2,7,1,4]=>101010
[5,3,6,2,7,4,1]=>101011
[5,3,6,4,1,2,7]=>101100
[5,3,6,4,1,7,2]=>101101
[5,3,6,4,2,1,7]=>101110
[5,3,6,4,2,7,1]=>101101
[5,3,6,4,7,1,2]=>101010
[5,3,6,4,7,2,1]=>101011
[5,3,6,7,1,2,4]=>100100
[5,3,6,7,1,4,2]=>100101
[5,3,6,7,2,1,4]=>100110
[5,3,6,7,2,4,1]=>100101
[5,3,6,7,4,1,2]=>100110
[5,3,6,7,4,2,1]=>100111
[5,3,7,1,2,4,6]=>101000
[5,3,7,1,2,6,4]=>101001
[5,3,7,1,4,2,6]=>101010
[5,3,7,1,4,6,2]=>101001
[5,3,7,1,6,2,4]=>101010
[5,3,7,1,6,4,2]=>101011
[5,3,7,2,1,4,6]=>101100
[5,3,7,2,1,6,4]=>101101
[5,3,7,2,4,1,6]=>101010
[5,3,7,2,4,6,1]=>101001
[5,3,7,2,6,1,4]=>101010
[5,3,7,2,6,4,1]=>101011
[5,3,7,4,1,2,6]=>101100
[5,3,7,4,1,6,2]=>101101
[5,3,7,4,2,1,6]=>101110
[5,3,7,4,2,6,1]=>101101
[5,3,7,4,6,1,2]=>101010
[5,3,7,4,6,2,1]=>101011
[5,3,7,6,1,2,4]=>101100
[5,3,7,6,1,4,2]=>101101
[5,3,7,6,2,1,4]=>101110
[5,3,7,6,2,4,1]=>101101
[5,3,7,6,4,1,2]=>101110
[5,3,7,6,4,2,1]=>101111
[5,4,1,2,3,6,7]=>110000
[5,4,1,2,3,7,6]=>110001
[5,4,1,2,6,3,7]=>110010
[5,4,1,2,6,7,3]=>110001
[5,4,1,2,7,3,6]=>110010
[5,4,1,2,7,6,3]=>110011
[5,4,1,3,2,6,7]=>110100
[5,4,1,3,2,7,6]=>110101
[5,4,1,3,6,2,7]=>110010
[5,4,1,3,6,7,2]=>110001
[5,4,1,3,7,2,6]=>110010
[5,4,1,3,7,6,2]=>110011
[5,4,1,6,2,3,7]=>110100
[5,4,1,6,2,7,3]=>110101
[5,4,1,6,3,2,7]=>110110
[5,4,1,6,3,7,2]=>110101
[5,4,1,6,7,2,3]=>110010
[5,4,1,6,7,3,2]=>110011
[5,4,1,7,2,3,6]=>110100
[5,4,1,7,2,6,3]=>110101
[5,4,1,7,3,2,6]=>110110
[5,4,1,7,3,6,2]=>110101
[5,4,1,7,6,2,3]=>110110
[5,4,1,7,6,3,2]=>110111
[5,4,2,1,3,6,7]=>111000
[5,4,2,1,3,7,6]=>111001
[5,4,2,1,6,3,7]=>111010
[5,4,2,1,6,7,3]=>111001
[5,4,2,1,7,3,6]=>111010
[5,4,2,1,7,6,3]=>111011
[5,4,2,3,1,6,7]=>110100
[5,4,2,3,1,7,6]=>110101
[5,4,2,3,6,1,7]=>110010
[5,4,2,3,6,7,1]=>110001
[5,4,2,3,7,1,6]=>110010
[5,4,2,3,7,6,1]=>110011
[5,4,2,6,1,3,7]=>110100
[5,4,2,6,1,7,3]=>110101
[5,4,2,6,3,1,7]=>110110
[5,4,2,6,3,7,1]=>110101
[5,4,2,6,7,1,3]=>110010
[5,4,2,6,7,3,1]=>110011
[5,4,2,7,1,3,6]=>110100
[5,4,2,7,1,6,3]=>110101
[5,4,2,7,3,1,6]=>110110
[5,4,2,7,3,6,1]=>110101
[5,4,2,7,6,1,3]=>110110
[5,4,2,7,6,3,1]=>110111
[5,4,3,1,2,6,7]=>111000
[5,4,3,1,2,7,6]=>111001
[5,4,3,1,6,2,7]=>111010
[5,4,3,1,6,7,2]=>111001
[5,4,3,1,7,2,6]=>111010
[5,4,3,1,7,6,2]=>111011
[5,4,3,2,1,6,7]=>111100
[5,4,3,2,1,7,6]=>111101
[5,4,3,2,6,1,7]=>111010
[5,4,3,2,6,7,1]=>111001
[5,4,3,2,7,1,6]=>111010
[5,4,3,2,7,6,1]=>111011
[5,4,3,6,1,2,7]=>110100
[5,4,3,6,1,7,2]=>110101
[5,4,3,6,2,1,7]=>110110
[5,4,3,6,2,7,1]=>110101
[5,4,3,6,7,1,2]=>110010
[5,4,3,6,7,2,1]=>110011
[5,4,3,7,1,2,6]=>110100
[5,4,3,7,1,6,2]=>110101
[5,4,3,7,2,1,6]=>110110
[5,4,3,7,2,6,1]=>110101
[5,4,3,7,6,1,2]=>110110
[5,4,3,7,6,2,1]=>110111
[5,4,6,1,2,3,7]=>101000
[5,4,6,1,2,7,3]=>101001
[5,4,6,1,3,2,7]=>101010
[5,4,6,1,3,7,2]=>101001
[5,4,6,1,7,2,3]=>101010
[5,4,6,1,7,3,2]=>101011
[5,4,6,2,1,3,7]=>101100
[5,4,6,2,1,7,3]=>101101
[5,4,6,2,3,1,7]=>101010
[5,4,6,2,3,7,1]=>101001
[5,4,6,2,7,1,3]=>101010
[5,4,6,2,7,3,1]=>101011
[5,4,6,3,1,2,7]=>101100
[5,4,6,3,1,7,2]=>101101
[5,4,6,3,2,1,7]=>101110
[5,4,6,3,2,7,1]=>101101
[5,4,6,3,7,1,2]=>101010
[5,4,6,3,7,2,1]=>101011
[5,4,6,7,1,2,3]=>100100
[5,4,6,7,1,3,2]=>100101
[5,4,6,7,2,1,3]=>100110
[5,4,6,7,2,3,1]=>100101
[5,4,6,7,3,1,2]=>100110
[5,4,6,7,3,2,1]=>100111
[5,4,7,1,2,3,6]=>101000
[5,4,7,1,2,6,3]=>101001
[5,4,7,1,3,2,6]=>101010
[5,4,7,1,3,6,2]=>101001
[5,4,7,1,6,2,3]=>101010
[5,4,7,1,6,3,2]=>101011
[5,4,7,2,1,3,6]=>101100
[5,4,7,2,1,6,3]=>101101
[5,4,7,2,3,1,6]=>101010
[5,4,7,2,3,6,1]=>101001
[5,4,7,2,6,1,3]=>101010
[5,4,7,2,6,3,1]=>101011
[5,4,7,3,1,2,6]=>101100
[5,4,7,3,1,6,2]=>101101
[5,4,7,3,2,1,6]=>101110
[5,4,7,3,2,6,1]=>101101
[5,4,7,3,6,1,2]=>101010
[5,4,7,3,6,2,1]=>101011
[5,4,7,6,1,2,3]=>101100
[5,4,7,6,1,3,2]=>101101
[5,4,7,6,2,1,3]=>101110
[5,4,7,6,2,3,1]=>101101
[5,4,7,6,3,1,2]=>101110
[5,4,7,6,3,2,1]=>101111
[5,6,1,2,3,4,7]=>010000
[5,6,1,2,3,7,4]=>010001
[5,6,1,2,4,3,7]=>010010
[5,6,1,2,4,7,3]=>010001
[5,6,1,2,7,3,4]=>010010
[5,6,1,2,7,4,3]=>010011
[5,6,1,3,2,4,7]=>010100
[5,6,1,3,2,7,4]=>010101
[5,6,1,3,4,2,7]=>010010
[5,6,1,3,4,7,2]=>010001
[5,6,1,3,7,2,4]=>010010
[5,6,1,3,7,4,2]=>010011
[5,6,1,4,2,3,7]=>010100
[5,6,1,4,2,7,3]=>010101
[5,6,1,4,3,2,7]=>010110
[5,6,1,4,3,7,2]=>010101
[5,6,1,4,7,2,3]=>010010
[5,6,1,4,7,3,2]=>010011
[5,6,1,7,2,3,4]=>010100
[5,6,1,7,2,4,3]=>010101
[5,6,1,7,3,2,4]=>010110
[5,6,1,7,3,4,2]=>010101
[5,6,1,7,4,2,3]=>010110
[5,6,1,7,4,3,2]=>010111
[5,6,2,1,3,4,7]=>011000
[5,6,2,1,3,7,4]=>011001
[5,6,2,1,4,3,7]=>011010
[5,6,2,1,4,7,3]=>011001
[5,6,2,1,7,3,4]=>011010
[5,6,2,1,7,4,3]=>011011
[5,6,2,3,1,4,7]=>010100
[5,6,2,3,1,7,4]=>010101
[5,6,2,3,4,1,7]=>010010
[5,6,2,3,4,7,1]=>010001
[5,6,2,3,7,1,4]=>010010
[5,6,2,3,7,4,1]=>010011
[5,6,2,4,1,3,7]=>010100
[5,6,2,4,1,7,3]=>010101
[5,6,2,4,3,1,7]=>010110
[5,6,2,4,3,7,1]=>010101
[5,6,2,4,7,1,3]=>010010
[5,6,2,4,7,3,1]=>010011
[5,6,2,7,1,3,4]=>010100
[5,6,2,7,1,4,3]=>010101
[5,6,2,7,3,1,4]=>010110
[5,6,2,7,3,4,1]=>010101
[5,6,2,7,4,1,3]=>010110
[5,6,2,7,4,3,1]=>010111
[5,6,3,1,2,4,7]=>011000
[5,6,3,1,2,7,4]=>011001
[5,6,3,1,4,2,7]=>011010
[5,6,3,1,4,7,2]=>011001
[5,6,3,1,7,2,4]=>011010
[5,6,3,1,7,4,2]=>011011
[5,6,3,2,1,4,7]=>011100
[5,6,3,2,1,7,4]=>011101
[5,6,3,2,4,1,7]=>011010
[5,6,3,2,4,7,1]=>011001
[5,6,3,2,7,1,4]=>011010
[5,6,3,2,7,4,1]=>011011
[5,6,3,4,1,2,7]=>010100
[5,6,3,4,1,7,2]=>010101
[5,6,3,4,2,1,7]=>010110
[5,6,3,4,2,7,1]=>010101
[5,6,3,4,7,1,2]=>010010
[5,6,3,4,7,2,1]=>010011
[5,6,3,7,1,2,4]=>010100
[5,6,3,7,1,4,2]=>010101
[5,6,3,7,2,1,4]=>010110
[5,6,3,7,2,4,1]=>010101
[5,6,3,7,4,1,2]=>010110
[5,6,3,7,4,2,1]=>010111
[5,6,4,1,2,3,7]=>011000
[5,6,4,1,2,7,3]=>011001
[5,6,4,1,3,2,7]=>011010
[5,6,4,1,3,7,2]=>011001
[5,6,4,1,7,2,3]=>011010
[5,6,4,1,7,3,2]=>011011
[5,6,4,2,1,3,7]=>011100
[5,6,4,2,1,7,3]=>011101
[5,6,4,2,3,1,7]=>011010
[5,6,4,2,3,7,1]=>011001
[5,6,4,2,7,1,3]=>011010
[5,6,4,2,7,3,1]=>011011
[5,6,4,3,1,2,7]=>011100
[5,6,4,3,1,7,2]=>011101
[5,6,4,3,2,1,7]=>011110
[5,6,4,3,2,7,1]=>011101
[5,6,4,3,7,1,2]=>011010
[5,6,4,3,7,2,1]=>011011
[5,6,4,7,1,2,3]=>010100
[5,6,4,7,1,3,2]=>010101
[5,6,4,7,2,1,3]=>010110
[5,6,4,7,2,3,1]=>010101
[5,6,4,7,3,1,2]=>010110
[5,6,4,7,3,2,1]=>010111
[5,6,7,1,2,3,4]=>001000
[5,6,7,1,2,4,3]=>001001
[5,6,7,1,3,2,4]=>001010
[5,6,7,1,3,4,2]=>001001
[5,6,7,1,4,2,3]=>001010
[5,6,7,1,4,3,2]=>001011
[5,6,7,2,1,3,4]=>001100
[5,6,7,2,1,4,3]=>001101
[5,6,7,2,3,1,4]=>001010
[5,6,7,2,3,4,1]=>001001
[5,6,7,2,4,1,3]=>001010
[5,6,7,2,4,3,1]=>001011
[5,6,7,3,1,2,4]=>001100
[5,6,7,3,1,4,2]=>001101
[5,6,7,3,2,1,4]=>001110
[5,6,7,3,2,4,1]=>001101
[5,6,7,3,4,1,2]=>001010
[5,6,7,3,4,2,1]=>001011
[5,6,7,4,1,2,3]=>001100
[5,6,7,4,1,3,2]=>001101
[5,6,7,4,2,1,3]=>001110
[5,6,7,4,2,3,1]=>001101
[5,6,7,4,3,1,2]=>001110
[5,6,7,4,3,2,1]=>001111
[5,7,1,2,3,4,6]=>010000
[5,7,1,2,3,6,4]=>010001
[5,7,1,2,4,3,6]=>010010
[5,7,1,2,4,6,3]=>010001
[5,7,1,2,6,3,4]=>010010
[5,7,1,2,6,4,3]=>010011
[5,7,1,3,2,4,6]=>010100
[5,7,1,3,2,6,4]=>010101
[5,7,1,3,4,2,6]=>010010
[5,7,1,3,4,6,2]=>010001
[5,7,1,3,6,2,4]=>010010
[5,7,1,3,6,4,2]=>010011
[5,7,1,4,2,3,6]=>010100
[5,7,1,4,2,6,3]=>010101
[5,7,1,4,3,2,6]=>010110
[5,7,1,4,3,6,2]=>010101
[5,7,1,4,6,2,3]=>010010
[5,7,1,4,6,3,2]=>010011
[5,7,1,6,2,3,4]=>010100
[5,7,1,6,2,4,3]=>010101
[5,7,1,6,3,2,4]=>010110
[5,7,1,6,3,4,2]=>010101
[5,7,1,6,4,2,3]=>010110
[5,7,1,6,4,3,2]=>010111
[5,7,2,1,3,4,6]=>011000
[5,7,2,1,3,6,4]=>011001
[5,7,2,1,4,3,6]=>011010
[5,7,2,1,4,6,3]=>011001
[5,7,2,1,6,3,4]=>011010
[5,7,2,1,6,4,3]=>011011
[5,7,2,3,1,4,6]=>010100
[5,7,2,3,1,6,4]=>010101
[5,7,2,3,4,1,6]=>010010
[5,7,2,3,4,6,1]=>010001
[5,7,2,3,6,1,4]=>010010
[5,7,2,3,6,4,1]=>010011
[5,7,2,4,1,3,6]=>010100
[5,7,2,4,1,6,3]=>010101
[5,7,2,4,3,1,6]=>010110
[5,7,2,4,3,6,1]=>010101
[5,7,2,4,6,1,3]=>010010
[5,7,2,4,6,3,1]=>010011
[5,7,2,6,1,3,4]=>010100
[5,7,2,6,1,4,3]=>010101
[5,7,2,6,3,1,4]=>010110
[5,7,2,6,3,4,1]=>010101
[5,7,2,6,4,1,3]=>010110
[5,7,2,6,4,3,1]=>010111
[5,7,3,1,2,4,6]=>011000
[5,7,3,1,2,6,4]=>011001
[5,7,3,1,4,2,6]=>011010
[5,7,3,1,4,6,2]=>011001
[5,7,3,1,6,2,4]=>011010
[5,7,3,1,6,4,2]=>011011
[5,7,3,2,1,4,6]=>011100
[5,7,3,2,1,6,4]=>011101
[5,7,3,2,4,1,6]=>011010
[5,7,3,2,4,6,1]=>011001
[5,7,3,2,6,1,4]=>011010
[5,7,3,2,6,4,1]=>011011
[5,7,3,4,1,2,6]=>010100
[5,7,3,4,1,6,2]=>010101
[5,7,3,4,2,1,6]=>010110
[5,7,3,4,2,6,1]=>010101
[5,7,3,4,6,1,2]=>010010
[5,7,3,4,6,2,1]=>010011
[5,7,3,6,1,2,4]=>010100
[5,7,3,6,1,4,2]=>010101
[5,7,3,6,2,1,4]=>010110
[5,7,3,6,2,4,1]=>010101
[5,7,3,6,4,1,2]=>010110
[5,7,3,6,4,2,1]=>010111
[5,7,4,1,2,3,6]=>011000
[5,7,4,1,2,6,3]=>011001
[5,7,4,1,3,2,6]=>011010
[5,7,4,1,3,6,2]=>011001
[5,7,4,1,6,2,3]=>011010
[5,7,4,1,6,3,2]=>011011
[5,7,4,2,1,3,6]=>011100
[5,7,4,2,1,6,3]=>011101
[5,7,4,2,3,1,6]=>011010
[5,7,4,2,3,6,1]=>011001
[5,7,4,2,6,1,3]=>011010
[5,7,4,2,6,3,1]=>011011
[5,7,4,3,1,2,6]=>011100
[5,7,4,3,1,6,2]=>011101
[5,7,4,3,2,1,6]=>011110
[5,7,4,3,2,6,1]=>011101
[5,7,4,3,6,1,2]=>011010
[5,7,4,3,6,2,1]=>011011
[5,7,4,6,1,2,3]=>010100
[5,7,4,6,1,3,2]=>010101
[5,7,4,6,2,1,3]=>010110
[5,7,4,6,2,3,1]=>010101
[5,7,4,6,3,1,2]=>010110
[5,7,4,6,3,2,1]=>010111
[5,7,6,1,2,3,4]=>011000
[5,7,6,1,2,4,3]=>011001
[5,7,6,1,3,2,4]=>011010
[5,7,6,1,3,4,2]=>011001
[5,7,6,1,4,2,3]=>011010
[5,7,6,1,4,3,2]=>011011
[5,7,6,2,1,3,4]=>011100
[5,7,6,2,1,4,3]=>011101
[5,7,6,2,3,1,4]=>011010
[5,7,6,2,3,4,1]=>011001
[5,7,6,2,4,1,3]=>011010
[5,7,6,2,4,3,1]=>011011
[5,7,6,3,1,2,4]=>011100
[5,7,6,3,1,4,2]=>011101
[5,7,6,3,2,1,4]=>011110
[5,7,6,3,2,4,1]=>011101
[5,7,6,3,4,1,2]=>011010
[5,7,6,3,4,2,1]=>011011
[5,7,6,4,1,2,3]=>011100
[5,7,6,4,1,3,2]=>011101
[5,7,6,4,2,1,3]=>011110
[5,7,6,4,2,3,1]=>011101
[5,7,6,4,3,1,2]=>011110
[5,7,6,4,3,2,1]=>011111
[6,1,2,3,4,5,7]=>100000
[6,1,2,3,4,7,5]=>100001
[6,1,2,3,5,4,7]=>100010
[6,1,2,3,5,7,4]=>100001
[6,1,2,3,7,4,5]=>100010
[6,1,2,3,7,5,4]=>100011
[6,1,2,4,3,5,7]=>100100
[6,1,2,4,3,7,5]=>100101
[6,1,2,4,5,3,7]=>100010
[6,1,2,4,5,7,3]=>100001
[6,1,2,4,7,3,5]=>100010
[6,1,2,4,7,5,3]=>100011
[6,1,2,5,3,4,7]=>100100
[6,1,2,5,3,7,4]=>100101
[6,1,2,5,4,3,7]=>100110
[6,1,2,5,4,7,3]=>100101
[6,1,2,5,7,3,4]=>100010
[6,1,2,5,7,4,3]=>100011
[6,1,2,7,3,4,5]=>100100
[6,1,2,7,3,5,4]=>100101
[6,1,2,7,4,3,5]=>100110
[6,1,2,7,4,5,3]=>100101
[6,1,2,7,5,3,4]=>100110
[6,1,2,7,5,4,3]=>100111
[6,1,3,2,4,5,7]=>101000
[6,1,3,2,4,7,5]=>101001
[6,1,3,2,5,4,7]=>101010
[6,1,3,2,5,7,4]=>101001
[6,1,3,2,7,4,5]=>101010
[6,1,3,2,7,5,4]=>101011
[6,1,3,4,2,5,7]=>100100
[6,1,3,4,2,7,5]=>100101
[6,1,3,4,5,2,7]=>100010
[6,1,3,4,5,7,2]=>100001
[6,1,3,4,7,2,5]=>100010
[6,1,3,4,7,5,2]=>100011
[6,1,3,5,2,4,7]=>100100
[6,1,3,5,2,7,4]=>100101
[6,1,3,5,4,2,7]=>100110
[6,1,3,5,4,7,2]=>100101
[6,1,3,5,7,2,4]=>100010
[6,1,3,5,7,4,2]=>100011
[6,1,3,7,2,4,5]=>100100
[6,1,3,7,2,5,4]=>100101
[6,1,3,7,4,2,5]=>100110
[6,1,3,7,4,5,2]=>100101
[6,1,3,7,5,2,4]=>100110
[6,1,3,7,5,4,2]=>100111
[6,1,4,2,3,5,7]=>101000
[6,1,4,2,3,7,5]=>101001
[6,1,4,2,5,3,7]=>101010
[6,1,4,2,5,7,3]=>101001
[6,1,4,2,7,3,5]=>101010
[6,1,4,2,7,5,3]=>101011
[6,1,4,3,2,5,7]=>101100
[6,1,4,3,2,7,5]=>101101
[6,1,4,3,5,2,7]=>101010
[6,1,4,3,5,7,2]=>101001
[6,1,4,3,7,2,5]=>101010
[6,1,4,3,7,5,2]=>101011
[6,1,4,5,2,3,7]=>100100
[6,1,4,5,2,7,3]=>100101
[6,1,4,5,3,2,7]=>100110
[6,1,4,5,3,7,2]=>100101
[6,1,4,5,7,2,3]=>100010
[6,1,4,5,7,3,2]=>100011
[6,1,4,7,2,3,5]=>100100
[6,1,4,7,2,5,3]=>100101
[6,1,4,7,3,2,5]=>100110
[6,1,4,7,3,5,2]=>100101
[6,1,4,7,5,2,3]=>100110
[6,1,4,7,5,3,2]=>100111
[6,1,5,2,3,4,7]=>101000
[6,1,5,2,3,7,4]=>101001
[6,1,5,2,4,3,7]=>101010
[6,1,5,2,4,7,3]=>101001
[6,1,5,2,7,3,4]=>101010
[6,1,5,2,7,4,3]=>101011
[6,1,5,3,2,4,7]=>101100
[6,1,5,3,2,7,4]=>101101
[6,1,5,3,4,2,7]=>101010
[6,1,5,3,4,7,2]=>101001
[6,1,5,3,7,2,4]=>101010
[6,1,5,3,7,4,2]=>101011
[6,1,5,4,2,3,7]=>101100
[6,1,5,4,2,7,3]=>101101
[6,1,5,4,3,2,7]=>101110
[6,1,5,4,3,7,2]=>101101
[6,1,5,4,7,2,3]=>101010
[6,1,5,4,7,3,2]=>101011
[6,1,5,7,2,3,4]=>100100
[6,1,5,7,2,4,3]=>100101
[6,1,5,7,3,2,4]=>100110
[6,1,5,7,3,4,2]=>100101
[6,1,5,7,4,2,3]=>100110
[6,1,5,7,4,3,2]=>100111
[6,1,7,2,3,4,5]=>101000
[6,1,7,2,3,5,4]=>101001
[6,1,7,2,4,3,5]=>101010
[6,1,7,2,4,5,3]=>101001
[6,1,7,2,5,3,4]=>101010
[6,1,7,2,5,4,3]=>101011
[6,1,7,3,2,4,5]=>101100
[6,1,7,3,2,5,4]=>101101
[6,1,7,3,4,2,5]=>101010
[6,1,7,3,4,5,2]=>101001
[6,1,7,3,5,2,4]=>101010
[6,1,7,3,5,4,2]=>101011
[6,1,7,4,2,3,5]=>101100
[6,1,7,4,2,5,3]=>101101
[6,1,7,4,3,2,5]=>101110
[6,1,7,4,3,5,2]=>101101
[6,1,7,4,5,2,3]=>101010
[6,1,7,4,5,3,2]=>101011
[6,1,7,5,2,3,4]=>101100
[6,1,7,5,2,4,3]=>101101
[6,1,7,5,3,2,4]=>101110
[6,1,7,5,3,4,2]=>101101
[6,1,7,5,4,2,3]=>101110
[6,1,7,5,4,3,2]=>101111
[6,2,1,3,4,5,7]=>110000
[6,2,1,3,4,7,5]=>110001
[6,2,1,3,5,4,7]=>110010
[6,2,1,3,5,7,4]=>110001
[6,2,1,3,7,4,5]=>110010
[6,2,1,3,7,5,4]=>110011
[6,2,1,4,3,5,7]=>110100
[6,2,1,4,3,7,5]=>110101
[6,2,1,4,5,3,7]=>110010
[6,2,1,4,5,7,3]=>110001
[6,2,1,4,7,3,5]=>110010
[6,2,1,4,7,5,3]=>110011
[6,2,1,5,3,4,7]=>110100
[6,2,1,5,3,7,4]=>110101
[6,2,1,5,4,3,7]=>110110
[6,2,1,5,4,7,3]=>110101
[6,2,1,5,7,3,4]=>110010
[6,2,1,5,7,4,3]=>110011
[6,2,1,7,3,4,5]=>110100
[6,2,1,7,3,5,4]=>110101
[6,2,1,7,4,3,5]=>110110
[6,2,1,7,4,5,3]=>110101
[6,2,1,7,5,3,4]=>110110
[6,2,1,7,5,4,3]=>110111
[6,2,3,1,4,5,7]=>101000
[6,2,3,1,4,7,5]=>101001
[6,2,3,1,5,4,7]=>101010
[6,2,3,1,5,7,4]=>101001
[6,2,3,1,7,4,5]=>101010
[6,2,3,1,7,5,4]=>101011
[6,2,3,4,1,5,7]=>100100
[6,2,3,4,1,7,5]=>100101
[6,2,3,4,5,1,7]=>100010
[6,2,3,4,5,7,1]=>100001
[6,2,3,4,7,1,5]=>100010
[6,2,3,4,7,5,1]=>100011
[6,2,3,5,1,4,7]=>100100
[6,2,3,5,1,7,4]=>100101
[6,2,3,5,4,1,7]=>100110
[6,2,3,5,4,7,1]=>100101
[6,2,3,5,7,1,4]=>100010
[6,2,3,5,7,4,1]=>100011
[6,2,3,7,1,4,5]=>100100
[6,2,3,7,1,5,4]=>100101
[6,2,3,7,4,1,5]=>100110
[6,2,3,7,4,5,1]=>100101
[6,2,3,7,5,1,4]=>100110
[6,2,3,7,5,4,1]=>100111
[6,2,4,1,3,5,7]=>101000
[6,2,4,1,3,7,5]=>101001
[6,2,4,1,5,3,7]=>101010
[6,2,4,1,5,7,3]=>101001
[6,2,4,1,7,3,5]=>101010
[6,2,4,1,7,5,3]=>101011
[6,2,4,3,1,5,7]=>101100
[6,2,4,3,1,7,5]=>101101
[6,2,4,3,5,1,7]=>101010
[6,2,4,3,5,7,1]=>101001
[6,2,4,3,7,1,5]=>101010
[6,2,4,3,7,5,1]=>101011
[6,2,4,5,1,3,7]=>100100
[6,2,4,5,1,7,3]=>100101
[6,2,4,5,3,1,7]=>100110
[6,2,4,5,3,7,1]=>100101
[6,2,4,5,7,1,3]=>100010
[6,2,4,5,7,3,1]=>100011
[6,2,4,7,1,3,5]=>100100
[6,2,4,7,1,5,3]=>100101
[6,2,4,7,3,1,5]=>100110
[6,2,4,7,3,5,1]=>100101
[6,2,4,7,5,1,3]=>100110
[6,2,4,7,5,3,1]=>100111
[6,2,5,1,3,4,7]=>101000
[6,2,5,1,3,7,4]=>101001
[6,2,5,1,4,3,7]=>101010
[6,2,5,1,4,7,3]=>101001
[6,2,5,1,7,3,4]=>101010
[6,2,5,1,7,4,3]=>101011
[6,2,5,3,1,4,7]=>101100
[6,2,5,3,1,7,4]=>101101
[6,2,5,3,4,1,7]=>101010
[6,2,5,3,4,7,1]=>101001
[6,2,5,3,7,1,4]=>101010
[6,2,5,3,7,4,1]=>101011
[6,2,5,4,1,3,7]=>101100
[6,2,5,4,1,7,3]=>101101
[6,2,5,4,3,1,7]=>101110
[6,2,5,4,3,7,1]=>101101
[6,2,5,4,7,1,3]=>101010
[6,2,5,4,7,3,1]=>101011
[6,2,5,7,1,3,4]=>100100
[6,2,5,7,1,4,3]=>100101
[6,2,5,7,3,1,4]=>100110
[6,2,5,7,3,4,1]=>100101
[6,2,5,7,4,1,3]=>100110
[6,2,5,7,4,3,1]=>100111
[6,2,7,1,3,4,5]=>101000
[6,2,7,1,3,5,4]=>101001
[6,2,7,1,4,3,5]=>101010
[6,2,7,1,4,5,3]=>101001
[6,2,7,1,5,3,4]=>101010
[6,2,7,1,5,4,3]=>101011
[6,2,7,3,1,4,5]=>101100
[6,2,7,3,1,5,4]=>101101
[6,2,7,3,4,1,5]=>101010
[6,2,7,3,4,5,1]=>101001
[6,2,7,3,5,1,4]=>101010
[6,2,7,3,5,4,1]=>101011
[6,2,7,4,1,3,5]=>101100
[6,2,7,4,1,5,3]=>101101
[6,2,7,4,3,1,5]=>101110
[6,2,7,4,3,5,1]=>101101
[6,2,7,4,5,1,3]=>101010
[6,2,7,4,5,3,1]=>101011
[6,2,7,5,1,3,4]=>101100
[6,2,7,5,1,4,3]=>101101
[6,2,7,5,3,1,4]=>101110
[6,2,7,5,3,4,1]=>101101
[6,2,7,5,4,1,3]=>101110
[6,2,7,5,4,3,1]=>101111
[6,3,1,2,4,5,7]=>110000
[6,3,1,2,4,7,5]=>110001
[6,3,1,2,5,4,7]=>110010
[6,3,1,2,5,7,4]=>110001
[6,3,1,2,7,4,5]=>110010
[6,3,1,2,7,5,4]=>110011
[6,3,1,4,2,5,7]=>110100
[6,3,1,4,2,7,5]=>110101
[6,3,1,4,5,2,7]=>110010
[6,3,1,4,5,7,2]=>110001
[6,3,1,4,7,2,5]=>110010
[6,3,1,4,7,5,2]=>110011
[6,3,1,5,2,4,7]=>110100
[6,3,1,5,2,7,4]=>110101
[6,3,1,5,4,2,7]=>110110
[6,3,1,5,4,7,2]=>110101
[6,3,1,5,7,2,4]=>110010
[6,3,1,5,7,4,2]=>110011
[6,3,1,7,2,4,5]=>110100
[6,3,1,7,2,5,4]=>110101
[6,3,1,7,4,2,5]=>110110
[6,3,1,7,4,5,2]=>110101
[6,3,1,7,5,2,4]=>110110
[6,3,1,7,5,4,2]=>110111
[6,3,2,1,4,5,7]=>111000
[6,3,2,1,4,7,5]=>111001
[6,3,2,1,5,4,7]=>111010
[6,3,2,1,5,7,4]=>111001
[6,3,2,1,7,4,5]=>111010
[6,3,2,1,7,5,4]=>111011
[6,3,2,4,1,5,7]=>110100
[6,3,2,4,1,7,5]=>110101
[6,3,2,4,5,1,7]=>110010
[6,3,2,4,5,7,1]=>110001
[6,3,2,4,7,1,5]=>110010
[6,3,2,4,7,5,1]=>110011
[6,3,2,5,1,4,7]=>110100
[6,3,2,5,1,7,4]=>110101
[6,3,2,5,4,1,7]=>110110
[6,3,2,5,4,7,1]=>110101
[6,3,2,5,7,1,4]=>110010
[6,3,2,5,7,4,1]=>110011
[6,3,2,7,1,4,5]=>110100
[6,3,2,7,1,5,4]=>110101
[6,3,2,7,4,1,5]=>110110
[6,3,2,7,4,5,1]=>110101
[6,3,2,7,5,1,4]=>110110
[6,3,2,7,5,4,1]=>110111
[6,3,4,1,2,5,7]=>101000
[6,3,4,1,2,7,5]=>101001
[6,3,4,1,5,2,7]=>101010
[6,3,4,1,5,7,2]=>101001
[6,3,4,1,7,2,5]=>101010
[6,3,4,1,7,5,2]=>101011
[6,3,4,2,1,5,7]=>101100
[6,3,4,2,1,7,5]=>101101
[6,3,4,2,5,1,7]=>101010
[6,3,4,2,5,7,1]=>101001
[6,3,4,2,7,1,5]=>101010
[6,3,4,2,7,5,1]=>101011
[6,3,4,5,1,2,7]=>100100
[6,3,4,5,1,7,2]=>100101
[6,3,4,5,2,1,7]=>100110
[6,3,4,5,2,7,1]=>100101
[6,3,4,5,7,1,2]=>100010
[6,3,4,5,7,2,1]=>100011
[6,3,4,7,1,2,5]=>100100
[6,3,4,7,1,5,2]=>100101
[6,3,4,7,2,1,5]=>100110
[6,3,4,7,2,5,1]=>100101
[6,3,4,7,5,1,2]=>100110
[6,3,4,7,5,2,1]=>100111
[6,3,5,1,2,4,7]=>101000
[6,3,5,1,2,7,4]=>101001
[6,3,5,1,4,2,7]=>101010
[6,3,5,1,4,7,2]=>101001
[6,3,5,1,7,2,4]=>101010
[6,3,5,1,7,4,2]=>101011
[6,3,5,2,1,4,7]=>101100
[6,3,5,2,1,7,4]=>101101
[6,3,5,2,4,1,7]=>101010
[6,3,5,2,4,7,1]=>101001
[6,3,5,2,7,1,4]=>101010
[6,3,5,2,7,4,1]=>101011
[6,3,5,4,1,2,7]=>101100
[6,3,5,4,1,7,2]=>101101
[6,3,5,4,2,1,7]=>101110
[6,3,5,4,2,7,1]=>101101
[6,3,5,4,7,1,2]=>101010
[6,3,5,4,7,2,1]=>101011
[6,3,5,7,1,2,4]=>100100
[6,3,5,7,1,4,2]=>100101
[6,3,5,7,2,1,4]=>100110
[6,3,5,7,2,4,1]=>100101
[6,3,5,7,4,1,2]=>100110
[6,3,5,7,4,2,1]=>100111
[6,3,7,1,2,4,5]=>101000
[6,3,7,1,2,5,4]=>101001
[6,3,7,1,4,2,5]=>101010
[6,3,7,1,4,5,2]=>101001
[6,3,7,1,5,2,4]=>101010
[6,3,7,1,5,4,2]=>101011
[6,3,7,2,1,4,5]=>101100
[6,3,7,2,1,5,4]=>101101
[6,3,7,2,4,1,5]=>101010
[6,3,7,2,4,5,1]=>101001
[6,3,7,2,5,1,4]=>101010
[6,3,7,2,5,4,1]=>101011
[6,3,7,4,1,2,5]=>101100
[6,3,7,4,1,5,2]=>101101
[6,3,7,4,2,1,5]=>101110
[6,3,7,4,2,5,1]=>101101
[6,3,7,4,5,1,2]=>101010
[6,3,7,4,5,2,1]=>101011
[6,3,7,5,1,2,4]=>101100
[6,3,7,5,1,4,2]=>101101
[6,3,7,5,2,1,4]=>101110
[6,3,7,5,2,4,1]=>101101
[6,3,7,5,4,1,2]=>101110
[6,3,7,5,4,2,1]=>101111
[6,4,1,2,3,5,7]=>110000
[6,4,1,2,3,7,5]=>110001
[6,4,1,2,5,3,7]=>110010
[6,4,1,2,5,7,3]=>110001
[6,4,1,2,7,3,5]=>110010
[6,4,1,2,7,5,3]=>110011
[6,4,1,3,2,5,7]=>110100
[6,4,1,3,2,7,5]=>110101
[6,4,1,3,5,2,7]=>110010
[6,4,1,3,5,7,2]=>110001
[6,4,1,3,7,2,5]=>110010
[6,4,1,3,7,5,2]=>110011
[6,4,1,5,2,3,7]=>110100
[6,4,1,5,2,7,3]=>110101
[6,4,1,5,3,2,7]=>110110
[6,4,1,5,3,7,2]=>110101
[6,4,1,5,7,2,3]=>110010
[6,4,1,5,7,3,2]=>110011
[6,4,1,7,2,3,5]=>110100
[6,4,1,7,2,5,3]=>110101
[6,4,1,7,3,2,5]=>110110
[6,4,1,7,3,5,2]=>110101
[6,4,1,7,5,2,3]=>110110
[6,4,1,7,5,3,2]=>110111
[6,4,2,1,3,5,7]=>111000
[6,4,2,1,3,7,5]=>111001
[6,4,2,1,5,3,7]=>111010
[6,4,2,1,5,7,3]=>111001
[6,4,2,1,7,3,5]=>111010
[6,4,2,1,7,5,3]=>111011
[6,4,2,3,1,5,7]=>110100
[6,4,2,3,1,7,5]=>110101
[6,4,2,3,5,1,7]=>110010
[6,4,2,3,5,7,1]=>110001
[6,4,2,3,7,1,5]=>110010
[6,4,2,3,7,5,1]=>110011
[6,4,2,5,1,3,7]=>110100
[6,4,2,5,1,7,3]=>110101
[6,4,2,5,3,1,7]=>110110
[6,4,2,5,3,7,1]=>110101
[6,4,2,5,7,1,3]=>110010
[6,4,2,5,7,3,1]=>110011
[6,4,2,7,1,3,5]=>110100
[6,4,2,7,1,5,3]=>110101
[6,4,2,7,3,1,5]=>110110
[6,4,2,7,3,5,1]=>110101
[6,4,2,7,5,1,3]=>110110
[6,4,2,7,5,3,1]=>110111
[6,4,3,1,2,5,7]=>111000
[6,4,3,1,2,7,5]=>111001
[6,4,3,1,5,2,7]=>111010
[6,4,3,1,5,7,2]=>111001
[6,4,3,1,7,2,5]=>111010
[6,4,3,1,7,5,2]=>111011
[6,4,3,2,1,5,7]=>111100
[6,4,3,2,1,7,5]=>111101
[6,4,3,2,5,1,7]=>111010
[6,4,3,2,5,7,1]=>111001
[6,4,3,2,7,1,5]=>111010
[6,4,3,2,7,5,1]=>111011
[6,4,3,5,1,2,7]=>110100
[6,4,3,5,1,7,2]=>110101
[6,4,3,5,2,1,7]=>110110
[6,4,3,5,2,7,1]=>110101
[6,4,3,5,7,1,2]=>110010
[6,4,3,5,7,2,1]=>110011
[6,4,3,7,1,2,5]=>110100
[6,4,3,7,1,5,2]=>110101
[6,4,3,7,2,1,5]=>110110
[6,4,3,7,2,5,1]=>110101
[6,4,3,7,5,1,2]=>110110
[6,4,3,7,5,2,1]=>110111
[6,4,5,1,2,3,7]=>101000
[6,4,5,1,2,7,3]=>101001
[6,4,5,1,3,2,7]=>101010
[6,4,5,1,3,7,2]=>101001
[6,4,5,1,7,2,3]=>101010
[6,4,5,1,7,3,2]=>101011
[6,4,5,2,1,3,7]=>101100
[6,4,5,2,1,7,3]=>101101
[6,4,5,2,3,1,7]=>101010
[6,4,5,2,3,7,1]=>101001
[6,4,5,2,7,1,3]=>101010
[6,4,5,2,7,3,1]=>101011
[6,4,5,3,1,2,7]=>101100
[6,4,5,3,1,7,2]=>101101
[6,4,5,3,2,1,7]=>101110
[6,4,5,3,2,7,1]=>101101
[6,4,5,3,7,1,2]=>101010
[6,4,5,3,7,2,1]=>101011
[6,4,5,7,1,2,3]=>100100
[6,4,5,7,1,3,2]=>100101
[6,4,5,7,2,1,3]=>100110
[6,4,5,7,2,3,1]=>100101
[6,4,5,7,3,1,2]=>100110
[6,4,5,7,3,2,1]=>100111
[6,4,7,1,2,3,5]=>101000
[6,4,7,1,2,5,3]=>101001
[6,4,7,1,3,2,5]=>101010
[6,4,7,1,3,5,2]=>101001
[6,4,7,1,5,2,3]=>101010
[6,4,7,1,5,3,2]=>101011
[6,4,7,2,1,3,5]=>101100
[6,4,7,2,1,5,3]=>101101
[6,4,7,2,3,1,5]=>101010
[6,4,7,2,3,5,1]=>101001
[6,4,7,2,5,1,3]=>101010
[6,4,7,2,5,3,1]=>101011
[6,4,7,3,1,2,5]=>101100
[6,4,7,3,1,5,2]=>101101
[6,4,7,3,2,1,5]=>101110
[6,4,7,3,2,5,1]=>101101
[6,4,7,3,5,1,2]=>101010
[6,4,7,3,5,2,1]=>101011
[6,4,7,5,1,2,3]=>101100
[6,4,7,5,1,3,2]=>101101
[6,4,7,5,2,1,3]=>101110
[6,4,7,5,2,3,1]=>101101
[6,4,7,5,3,1,2]=>101110
[6,4,7,5,3,2,1]=>101111
[6,5,1,2,3,4,7]=>110000
[6,5,1,2,3,7,4]=>110001
[6,5,1,2,4,3,7]=>110010
[6,5,1,2,4,7,3]=>110001
[6,5,1,2,7,3,4]=>110010
[6,5,1,2,7,4,3]=>110011
[6,5,1,3,2,4,7]=>110100
[6,5,1,3,2,7,4]=>110101
[6,5,1,3,4,2,7]=>110010
[6,5,1,3,4,7,2]=>110001
[6,5,1,3,7,2,4]=>110010
[6,5,1,3,7,4,2]=>110011
[6,5,1,4,2,3,7]=>110100
[6,5,1,4,2,7,3]=>110101
[6,5,1,4,3,2,7]=>110110
[6,5,1,4,3,7,2]=>110101
[6,5,1,4,7,2,3]=>110010
[6,5,1,4,7,3,2]=>110011
[6,5,1,7,2,3,4]=>110100
[6,5,1,7,2,4,3]=>110101
[6,5,1,7,3,2,4]=>110110
[6,5,1,7,3,4,2]=>110101
[6,5,1,7,4,2,3]=>110110
[6,5,1,7,4,3,2]=>110111
[6,5,2,1,3,4,7]=>111000
[6,5,2,1,3,7,4]=>111001
[6,5,2,1,4,3,7]=>111010
[6,5,2,1,4,7,3]=>111001
[6,5,2,1,7,3,4]=>111010
[6,5,2,1,7,4,3]=>111011
[6,5,2,3,1,4,7]=>110100
[6,5,2,3,1,7,4]=>110101
[6,5,2,3,4,1,7]=>110010
[6,5,2,3,4,7,1]=>110001
[6,5,2,3,7,1,4]=>110010
[6,5,2,3,7,4,1]=>110011
[6,5,2,4,1,3,7]=>110100
[6,5,2,4,1,7,3]=>110101
[6,5,2,4,3,1,7]=>110110
[6,5,2,4,3,7,1]=>110101
[6,5,2,4,7,1,3]=>110010
[6,5,2,4,7,3,1]=>110011
[6,5,2,7,1,3,4]=>110100
[6,5,2,7,1,4,3]=>110101
[6,5,2,7,3,1,4]=>110110
[6,5,2,7,3,4,1]=>110101
[6,5,2,7,4,1,3]=>110110
[6,5,2,7,4,3,1]=>110111
[6,5,3,1,2,4,7]=>111000
[6,5,3,1,2,7,4]=>111001
[6,5,3,1,4,2,7]=>111010
[6,5,3,1,4,7,2]=>111001
[6,5,3,1,7,2,4]=>111010
[6,5,3,1,7,4,2]=>111011
[6,5,3,2,1,4,7]=>111100
[6,5,3,2,1,7,4]=>111101
[6,5,3,2,4,1,7]=>111010
[6,5,3,2,4,7,1]=>111001
[6,5,3,2,7,1,4]=>111010
[6,5,3,2,7,4,1]=>111011
[6,5,3,4,1,2,7]=>110100
[6,5,3,4,1,7,2]=>110101
[6,5,3,4,2,1,7]=>110110
[6,5,3,4,2,7,1]=>110101
[6,5,3,4,7,1,2]=>110010
[6,5,3,4,7,2,1]=>110011
[6,5,3,7,1,2,4]=>110100
[6,5,3,7,1,4,2]=>110101
[6,5,3,7,2,1,4]=>110110
[6,5,3,7,2,4,1]=>110101
[6,5,3,7,4,1,2]=>110110
[6,5,3,7,4,2,1]=>110111
[6,5,4,1,2,3,7]=>111000
[6,5,4,1,2,7,3]=>111001
[6,5,4,1,3,2,7]=>111010
[6,5,4,1,3,7,2]=>111001
[6,5,4,1,7,2,3]=>111010
[6,5,4,1,7,3,2]=>111011
[6,5,4,2,1,3,7]=>111100
[6,5,4,2,1,7,3]=>111101
[6,5,4,2,3,1,7]=>111010
[6,5,4,2,3,7,1]=>111001
[6,5,4,2,7,1,3]=>111010
[6,5,4,2,7,3,1]=>111011
[6,5,4,3,1,2,7]=>111100
[6,5,4,3,1,7,2]=>111101
[6,5,4,3,2,1,7]=>111110
[6,5,4,3,2,7,1]=>111101
[6,5,4,3,7,1,2]=>111010
[6,5,4,3,7,2,1]=>111011
[6,5,4,7,1,2,3]=>110100
[6,5,4,7,1,3,2]=>110101
[6,5,4,7,2,1,3]=>110110
[6,5,4,7,2,3,1]=>110101
[6,5,4,7,3,1,2]=>110110
[6,5,4,7,3,2,1]=>110111
[6,5,7,1,2,3,4]=>101000
[6,5,7,1,2,4,3]=>101001
[6,5,7,1,3,2,4]=>101010
[6,5,7,1,3,4,2]=>101001
[6,5,7,1,4,2,3]=>101010
[6,5,7,1,4,3,2]=>101011
[6,5,7,2,1,3,4]=>101100
[6,5,7,2,1,4,3]=>101101
[6,5,7,2,3,1,4]=>101010
[6,5,7,2,3,4,1]=>101001
[6,5,7,2,4,1,3]=>101010
[6,5,7,2,4,3,1]=>101011
[6,5,7,3,1,2,4]=>101100
[6,5,7,3,1,4,2]=>101101
[6,5,7,3,2,1,4]=>101110
[6,5,7,3,2,4,1]=>101101
[6,5,7,3,4,1,2]=>101010
[6,5,7,3,4,2,1]=>101011
[6,5,7,4,1,2,3]=>101100
[6,5,7,4,1,3,2]=>101101
[6,5,7,4,2,1,3]=>101110
[6,5,7,4,2,3,1]=>101101
[6,5,7,4,3,1,2]=>101110
[6,5,7,4,3,2,1]=>101111
[6,7,1,2,3,4,5]=>010000
[6,7,1,2,3,5,4]=>010001
[6,7,1,2,4,3,5]=>010010
[6,7,1,2,4,5,3]=>010001
[6,7,1,2,5,3,4]=>010010
[6,7,1,2,5,4,3]=>010011
[6,7,1,3,2,4,5]=>010100
[6,7,1,3,2,5,4]=>010101
[6,7,1,3,4,2,5]=>010010
[6,7,1,3,4,5,2]=>010001
[6,7,1,3,5,2,4]=>010010
[6,7,1,3,5,4,2]=>010011
[6,7,1,4,2,3,5]=>010100
[6,7,1,4,2,5,3]=>010101
[6,7,1,4,3,2,5]=>010110
[6,7,1,4,3,5,2]=>010101
[6,7,1,4,5,2,3]=>010010
[6,7,1,4,5,3,2]=>010011
[6,7,1,5,2,3,4]=>010100
[6,7,1,5,2,4,3]=>010101
[6,7,1,5,3,2,4]=>010110
[6,7,1,5,3,4,2]=>010101
[6,7,1,5,4,2,3]=>010110
[6,7,1,5,4,3,2]=>010111
[6,7,2,1,3,4,5]=>011000
[6,7,2,1,3,5,4]=>011001
[6,7,2,1,4,3,5]=>011010
[6,7,2,1,4,5,3]=>011001
[6,7,2,1,5,3,4]=>011010
[6,7,2,1,5,4,3]=>011011
[6,7,2,3,1,4,5]=>010100
[6,7,2,3,1,5,4]=>010101
[6,7,2,3,4,1,5]=>010010
[6,7,2,3,4,5,1]=>010001
[6,7,2,3,5,1,4]=>010010
[6,7,2,3,5,4,1]=>010011
[6,7,2,4,1,3,5]=>010100
[6,7,2,4,1,5,3]=>010101
[6,7,2,4,3,1,5]=>010110
[6,7,2,4,3,5,1]=>010101
[6,7,2,4,5,1,3]=>010010
[6,7,2,4,5,3,1]=>010011
[6,7,2,5,1,3,4]=>010100
[6,7,2,5,1,4,3]=>010101
[6,7,2,5,3,1,4]=>010110
[6,7,2,5,3,4,1]=>010101
[6,7,2,5,4,1,3]=>010110
[6,7,2,5,4,3,1]=>010111
[6,7,3,1,2,4,5]=>011000
[6,7,3,1,2,5,4]=>011001
[6,7,3,1,4,2,5]=>011010
[6,7,3,1,4,5,2]=>011001
[6,7,3,1,5,2,4]=>011010
[6,7,3,1,5,4,2]=>011011
[6,7,3,2,1,4,5]=>011100
[6,7,3,2,1,5,4]=>011101
[6,7,3,2,4,1,5]=>011010
[6,7,3,2,4,5,1]=>011001
[6,7,3,2,5,1,4]=>011010
[6,7,3,2,5,4,1]=>011011
[6,7,3,4,1,2,5]=>010100
[6,7,3,4,1,5,2]=>010101
[6,7,3,4,2,1,5]=>010110
[6,7,3,4,2,5,1]=>010101
[6,7,3,4,5,1,2]=>010010
[6,7,3,4,5,2,1]=>010011
[6,7,3,5,1,2,4]=>010100
[6,7,3,5,1,4,2]=>010101
[6,7,3,5,2,1,4]=>010110
[6,7,3,5,2,4,1]=>010101
[6,7,3,5,4,1,2]=>010110
[6,7,3,5,4,2,1]=>010111
[6,7,4,1,2,3,5]=>011000
[6,7,4,1,2,5,3]=>011001
[6,7,4,1,3,2,5]=>011010
[6,7,4,1,3,5,2]=>011001
[6,7,4,1,5,2,3]=>011010
[6,7,4,1,5,3,2]=>011011
[6,7,4,2,1,3,5]=>011100
[6,7,4,2,1,5,3]=>011101
[6,7,4,2,3,1,5]=>011010
[6,7,4,2,3,5,1]=>011001
[6,7,4,2,5,1,3]=>011010
[6,7,4,2,5,3,1]=>011011
[6,7,4,3,1,2,5]=>011100
[6,7,4,3,1,5,2]=>011101
[6,7,4,3,2,1,5]=>011110
[6,7,4,3,2,5,1]=>011101
[6,7,4,3,5,1,2]=>011010
[6,7,4,3,5,2,1]=>011011
[6,7,4,5,1,2,3]=>010100
[6,7,4,5,1,3,2]=>010101
[6,7,4,5,2,1,3]=>010110
[6,7,4,5,2,3,1]=>010101
[6,7,4,5,3,1,2]=>010110
[6,7,4,5,3,2,1]=>010111
[6,7,5,1,2,3,4]=>011000
[6,7,5,1,2,4,3]=>011001
[6,7,5,1,3,2,4]=>011010
[6,7,5,1,3,4,2]=>011001
[6,7,5,1,4,2,3]=>011010
[6,7,5,1,4,3,2]=>011011
[6,7,5,2,1,3,4]=>011100
[6,7,5,2,1,4,3]=>011101
[6,7,5,2,3,1,4]=>011010
[6,7,5,2,3,4,1]=>011001
[6,7,5,2,4,1,3]=>011010
[6,7,5,2,4,3,1]=>011011
[6,7,5,3,1,2,4]=>011100
[6,7,5,3,1,4,2]=>011101
[6,7,5,3,2,1,4]=>011110
[6,7,5,3,2,4,1]=>011101
[6,7,5,3,4,1,2]=>011010
[6,7,5,3,4,2,1]=>011011
[6,7,5,4,1,2,3]=>011100
[6,7,5,4,1,3,2]=>011101
[6,7,5,4,2,1,3]=>011110
[6,7,5,4,2,3,1]=>011101
[6,7,5,4,3,1,2]=>011110
[6,7,5,4,3,2,1]=>011111
[7,1,2,3,4,5,6]=>100000
[7,1,2,3,4,6,5]=>100001
[7,1,2,3,5,4,6]=>100010
[7,1,2,3,5,6,4]=>100001
[7,1,2,3,6,4,5]=>100010
[7,1,2,3,6,5,4]=>100011
[7,1,2,4,3,5,6]=>100100
[7,1,2,4,3,6,5]=>100101
[7,1,2,4,5,3,6]=>100010
[7,1,2,4,5,6,3]=>100001
[7,1,2,4,6,3,5]=>100010
[7,1,2,4,6,5,3]=>100011
[7,1,2,5,3,4,6]=>100100
[7,1,2,5,3,6,4]=>100101
[7,1,2,5,4,3,6]=>100110
[7,1,2,5,4,6,3]=>100101
[7,1,2,5,6,3,4]=>100010
[7,1,2,5,6,4,3]=>100011
[7,1,2,6,3,4,5]=>100100
[7,1,2,6,3,5,4]=>100101
[7,1,2,6,4,3,5]=>100110
[7,1,2,6,4,5,3]=>100101
[7,1,2,6,5,3,4]=>100110
[7,1,2,6,5,4,3]=>100111
[7,1,3,2,4,5,6]=>101000
[7,1,3,2,4,6,5]=>101001
[7,1,3,2,5,4,6]=>101010
[7,1,3,2,5,6,4]=>101001
[7,1,3,2,6,4,5]=>101010
[7,1,3,2,6,5,4]=>101011
[7,1,3,4,2,5,6]=>100100
[7,1,3,4,2,6,5]=>100101
[7,1,3,4,5,2,6]=>100010
[7,1,3,4,5,6,2]=>100001
[7,1,3,4,6,2,5]=>100010
[7,1,3,4,6,5,2]=>100011
[7,1,3,5,2,4,6]=>100100
[7,1,3,5,2,6,4]=>100101
[7,1,3,5,4,2,6]=>100110
[7,1,3,5,4,6,2]=>100101
[7,1,3,5,6,2,4]=>100010
[7,1,3,5,6,4,2]=>100011
[7,1,3,6,2,4,5]=>100100
[7,1,3,6,2,5,4]=>100101
[7,1,3,6,4,2,5]=>100110
[7,1,3,6,4,5,2]=>100101
[7,1,3,6,5,2,4]=>100110
[7,1,3,6,5,4,2]=>100111
[7,1,4,2,3,5,6]=>101000
[7,1,4,2,3,6,5]=>101001
[7,1,4,2,5,3,6]=>101010
[7,1,4,2,5,6,3]=>101001
[7,1,4,2,6,3,5]=>101010
[7,1,4,2,6,5,3]=>101011
[7,1,4,3,2,5,6]=>101100
[7,1,4,3,2,6,5]=>101101
[7,1,4,3,5,2,6]=>101010
[7,1,4,3,5,6,2]=>101001
[7,1,4,3,6,2,5]=>101010
[7,1,4,3,6,5,2]=>101011
[7,1,4,5,2,3,6]=>100100
[7,1,4,5,2,6,3]=>100101
[7,1,4,5,3,2,6]=>100110
[7,1,4,5,3,6,2]=>100101
[7,1,4,5,6,2,3]=>100010
[7,1,4,5,6,3,2]=>100011
[7,1,4,6,2,3,5]=>100100
[7,1,4,6,2,5,3]=>100101
[7,1,4,6,3,2,5]=>100110
[7,1,4,6,3,5,2]=>100101
[7,1,4,6,5,2,3]=>100110
[7,1,4,6,5,3,2]=>100111
[7,1,5,2,3,4,6]=>101000
[7,1,5,2,3,6,4]=>101001
[7,1,5,2,4,3,6]=>101010
[7,1,5,2,4,6,3]=>101001
[7,1,5,2,6,3,4]=>101010
[7,1,5,2,6,4,3]=>101011
[7,1,5,3,2,4,6]=>101100
[7,1,5,3,2,6,4]=>101101
[7,1,5,3,4,2,6]=>101010
[7,1,5,3,4,6,2]=>101001
[7,1,5,3,6,2,4]=>101010
[7,1,5,3,6,4,2]=>101011
[7,1,5,4,2,3,6]=>101100
[7,1,5,4,2,6,3]=>101101
[7,1,5,4,3,2,6]=>101110
[7,1,5,4,3,6,2]=>101101
[7,1,5,4,6,2,3]=>101010
[7,1,5,4,6,3,2]=>101011
[7,1,5,6,2,3,4]=>100100
[7,1,5,6,2,4,3]=>100101
[7,1,5,6,3,2,4]=>100110
[7,1,5,6,3,4,2]=>100101
[7,1,5,6,4,2,3]=>100110
[7,1,5,6,4,3,2]=>100111
[7,1,6,2,3,4,5]=>101000
[7,1,6,2,3,5,4]=>101001
[7,1,6,2,4,3,5]=>101010
[7,1,6,2,4,5,3]=>101001
[7,1,6,2,5,3,4]=>101010
[7,1,6,2,5,4,3]=>101011
[7,1,6,3,2,4,5]=>101100
[7,1,6,3,2,5,4]=>101101
[7,1,6,3,4,2,5]=>101010
[7,1,6,3,4,5,2]=>101001
[7,1,6,3,5,2,4]=>101010
[7,1,6,3,5,4,2]=>101011
[7,1,6,4,2,3,5]=>101100
[7,1,6,4,2,5,3]=>101101
[7,1,6,4,3,2,5]=>101110
[7,1,6,4,3,5,2]=>101101
[7,1,6,4,5,2,3]=>101010
[7,1,6,4,5,3,2]=>101011
[7,1,6,5,2,3,4]=>101100
[7,1,6,5,2,4,3]=>101101
[7,1,6,5,3,2,4]=>101110
[7,1,6,5,3,4,2]=>101101
[7,1,6,5,4,2,3]=>101110
[7,1,6,5,4,3,2]=>101111
[7,2,1,3,4,5,6]=>110000
[7,2,1,3,4,6,5]=>110001
[7,2,1,3,5,4,6]=>110010
[7,2,1,3,5,6,4]=>110001
[7,2,1,3,6,4,5]=>110010
[7,2,1,3,6,5,4]=>110011
[7,2,1,4,3,5,6]=>110100
[7,2,1,4,3,6,5]=>110101
[7,2,1,4,5,3,6]=>110010
[7,2,1,4,5,6,3]=>110001
[7,2,1,4,6,3,5]=>110010
[7,2,1,4,6,5,3]=>110011
[7,2,1,5,3,4,6]=>110100
[7,2,1,5,3,6,4]=>110101
[7,2,1,5,4,3,6]=>110110
[7,2,1,5,4,6,3]=>110101
[7,2,1,5,6,3,4]=>110010
[7,2,1,5,6,4,3]=>110011
[7,2,1,6,3,4,5]=>110100
[7,2,1,6,3,5,4]=>110101
[7,2,1,6,4,3,5]=>110110
[7,2,1,6,4,5,3]=>110101
[7,2,1,6,5,3,4]=>110110
[7,2,1,6,5,4,3]=>110111
[7,2,3,1,4,5,6]=>101000
[7,2,3,1,4,6,5]=>101001
[7,2,3,1,5,4,6]=>101010
[7,2,3,1,5,6,4]=>101001
[7,2,3,1,6,4,5]=>101010
[7,2,3,1,6,5,4]=>101011
[7,2,3,4,1,5,6]=>100100
[7,2,3,4,1,6,5]=>100101
[7,2,3,4,5,1,6]=>100010
[7,2,3,4,5,6,1]=>100001
[7,2,3,4,6,1,5]=>100010
[7,2,3,4,6,5,1]=>100011
[7,2,3,5,1,4,6]=>100100
[7,2,3,5,1,6,4]=>100101
[7,2,3,5,4,1,6]=>100110
[7,2,3,5,4,6,1]=>100101
[7,2,3,5,6,1,4]=>100010
[7,2,3,5,6,4,1]=>100011
[7,2,3,6,1,4,5]=>100100
[7,2,3,6,1,5,4]=>100101
[7,2,3,6,4,1,5]=>100110
[7,2,3,6,4,5,1]=>100101
[7,2,3,6,5,1,4]=>100110
[7,2,3,6,5,4,1]=>100111
[7,2,4,1,3,5,6]=>101000
[7,2,4,1,3,6,5]=>101001
[7,2,4,1,5,3,6]=>101010
[7,2,4,1,5,6,3]=>101001
[7,2,4,1,6,3,5]=>101010
[7,2,4,1,6,5,3]=>101011
[7,2,4,3,1,5,6]=>101100
[7,2,4,3,1,6,5]=>101101
[7,2,4,3,5,1,6]=>101010
[7,2,4,3,5,6,1]=>101001
[7,2,4,3,6,1,5]=>101010
[7,2,4,3,6,5,1]=>101011
[7,2,4,5,1,3,6]=>100100
[7,2,4,5,1,6,3]=>100101
[7,2,4,5,3,1,6]=>100110
[7,2,4,5,3,6,1]=>100101
[7,2,4,5,6,1,3]=>100010
[7,2,4,5,6,3,1]=>100011
[7,2,4,6,1,3,5]=>100100
[7,2,4,6,1,5,3]=>100101
[7,2,4,6,3,1,5]=>100110
[7,2,4,6,3,5,1]=>100101
[7,2,4,6,5,1,3]=>100110
[7,2,4,6,5,3,1]=>100111
[7,2,5,1,3,4,6]=>101000
[7,2,5,1,3,6,4]=>101001
[7,2,5,1,4,3,6]=>101010
[7,2,5,1,4,6,3]=>101001
[7,2,5,1,6,3,4]=>101010
[7,2,5,1,6,4,3]=>101011
[7,2,5,3,1,4,6]=>101100
[7,2,5,3,1,6,4]=>101101
[7,2,5,3,4,1,6]=>101010
[7,2,5,3,4,6,1]=>101001
[7,2,5,3,6,1,4]=>101010
[7,2,5,3,6,4,1]=>101011
[7,2,5,4,1,3,6]=>101100
[7,2,5,4,1,6,3]=>101101
[7,2,5,4,3,1,6]=>101110
[7,2,5,4,3,6,1]=>101101
[7,2,5,4,6,1,3]=>101010
[7,2,5,4,6,3,1]=>101011
[7,2,5,6,1,3,4]=>100100
[7,2,5,6,1,4,3]=>100101
[7,2,5,6,3,1,4]=>100110
[7,2,5,6,3,4,1]=>100101
[7,2,5,6,4,1,3]=>100110
[7,2,5,6,4,3,1]=>100111
[7,2,6,1,3,4,5]=>101000
[7,2,6,1,3,5,4]=>101001
[7,2,6,1,4,3,5]=>101010
[7,2,6,1,4,5,3]=>101001
[7,2,6,1,5,3,4]=>101010
[7,2,6,1,5,4,3]=>101011
[7,2,6,3,1,4,5]=>101100
[7,2,6,3,1,5,4]=>101101
[7,2,6,3,4,1,5]=>101010
[7,2,6,3,4,5,1]=>101001
[7,2,6,3,5,1,4]=>101010
[7,2,6,3,5,4,1]=>101011
[7,2,6,4,1,3,5]=>101100
[7,2,6,4,1,5,3]=>101101
[7,2,6,4,3,1,5]=>101110
[7,2,6,4,3,5,1]=>101101
[7,2,6,4,5,1,3]=>101010
[7,2,6,4,5,3,1]=>101011
[7,2,6,5,1,3,4]=>101100
[7,2,6,5,1,4,3]=>101101
[7,2,6,5,3,1,4]=>101110
[7,2,6,5,3,4,1]=>101101
[7,2,6,5,4,1,3]=>101110
[7,2,6,5,4,3,1]=>101111
[7,3,1,2,4,5,6]=>110000
[7,3,1,2,4,6,5]=>110001
[7,3,1,2,5,4,6]=>110010
[7,3,1,2,5,6,4]=>110001
[7,3,1,2,6,4,5]=>110010
[7,3,1,2,6,5,4]=>110011
[7,3,1,4,2,5,6]=>110100
[7,3,1,4,2,6,5]=>110101
[7,3,1,4,5,2,6]=>110010
[7,3,1,4,5,6,2]=>110001
[7,3,1,4,6,2,5]=>110010
[7,3,1,4,6,5,2]=>110011
[7,3,1,5,2,4,6]=>110100
[7,3,1,5,2,6,4]=>110101
[7,3,1,5,4,2,6]=>110110
[7,3,1,5,4,6,2]=>110101
[7,3,1,5,6,2,4]=>110010
[7,3,1,5,6,4,2]=>110011
[7,3,1,6,2,4,5]=>110100
[7,3,1,6,2,5,4]=>110101
[7,3,1,6,4,2,5]=>110110
[7,3,1,6,4,5,2]=>110101
[7,3,1,6,5,2,4]=>110110
[7,3,1,6,5,4,2]=>110111
[7,3,2,1,4,5,6]=>111000
[7,3,2,1,4,6,5]=>111001
[7,3,2,1,5,4,6]=>111010
[7,3,2,1,5,6,4]=>111001
[7,3,2,1,6,4,5]=>111010
[7,3,2,1,6,5,4]=>111011
[7,3,2,4,1,5,6]=>110100
[7,3,2,4,1,6,5]=>110101
[7,3,2,4,5,1,6]=>110010
[7,3,2,4,5,6,1]=>110001
[7,3,2,4,6,1,5]=>110010
[7,3,2,4,6,5,1]=>110011
[7,3,2,5,1,4,6]=>110100
[7,3,2,5,1,6,4]=>110101
[7,3,2,5,4,1,6]=>110110
[7,3,2,5,4,6,1]=>110101
[7,3,2,5,6,1,4]=>110010
[7,3,2,5,6,4,1]=>110011
[7,3,2,6,1,4,5]=>110100
[7,3,2,6,1,5,4]=>110101
[7,3,2,6,4,1,5]=>110110
[7,3,2,6,4,5,1]=>110101
[7,3,2,6,5,1,4]=>110110
[7,3,2,6,5,4,1]=>110111
[7,3,4,1,2,5,6]=>101000
[7,3,4,1,2,6,5]=>101001
[7,3,4,1,5,2,6]=>101010
[7,3,4,1,5,6,2]=>101001
[7,3,4,1,6,2,5]=>101010
[7,3,4,1,6,5,2]=>101011
[7,3,4,2,1,5,6]=>101100
[7,3,4,2,1,6,5]=>101101
[7,3,4,2,5,1,6]=>101010
[7,3,4,2,5,6,1]=>101001
[7,3,4,2,6,1,5]=>101010
[7,3,4,2,6,5,1]=>101011
[7,3,4,5,1,2,6]=>100100
[7,3,4,5,1,6,2]=>100101
[7,3,4,5,2,1,6]=>100110
[7,3,4,5,2,6,1]=>100101
[7,3,4,5,6,1,2]=>100010
[7,3,4,5,6,2,1]=>100011
[7,3,4,6,1,2,5]=>100100
[7,3,4,6,1,5,2]=>100101
[7,3,4,6,2,1,5]=>100110
[7,3,4,6,2,5,1]=>100101
[7,3,4,6,5,1,2]=>100110
[7,3,4,6,5,2,1]=>100111
[7,3,5,1,2,4,6]=>101000
[7,3,5,1,2,6,4]=>101001
[7,3,5,1,4,2,6]=>101010
[7,3,5,1,4,6,2]=>101001
[7,3,5,1,6,2,4]=>101010
[7,3,5,1,6,4,2]=>101011
[7,3,5,2,1,4,6]=>101100
[7,3,5,2,1,6,4]=>101101
[7,3,5,2,4,1,6]=>101010
[7,3,5,2,4,6,1]=>101001
[7,3,5,2,6,1,4]=>101010
[7,3,5,2,6,4,1]=>101011
[7,3,5,4,1,2,6]=>101100
[7,3,5,4,1,6,2]=>101101
[7,3,5,4,2,1,6]=>101110
[7,3,5,4,2,6,1]=>101101
[7,3,5,4,6,1,2]=>101010
[7,3,5,4,6,2,1]=>101011
[7,3,5,6,1,2,4]=>100100
[7,3,5,6,1,4,2]=>100101
[7,3,5,6,2,1,4]=>100110
[7,3,5,6,2,4,1]=>100101
[7,3,5,6,4,1,2]=>100110
[7,3,5,6,4,2,1]=>100111
[7,3,6,1,2,4,5]=>101000
[7,3,6,1,2,5,4]=>101001
[7,3,6,1,4,2,5]=>101010
[7,3,6,1,4,5,2]=>101001
[7,3,6,1,5,2,4]=>101010
[7,3,6,1,5,4,2]=>101011
[7,3,6,2,1,4,5]=>101100
[7,3,6,2,1,5,4]=>101101
[7,3,6,2,4,1,5]=>101010
[7,3,6,2,4,5,1]=>101001
[7,3,6,2,5,1,4]=>101010
[7,3,6,2,5,4,1]=>101011
[7,3,6,4,1,2,5]=>101100
[7,3,6,4,1,5,2]=>101101
[7,3,6,4,2,1,5]=>101110
[7,3,6,4,2,5,1]=>101101
[7,3,6,4,5,1,2]=>101010
[7,3,6,4,5,2,1]=>101011
[7,3,6,5,1,2,4]=>101100
[7,3,6,5,1,4,2]=>101101
[7,3,6,5,2,1,4]=>101110
[7,3,6,5,2,4,1]=>101101
[7,3,6,5,4,1,2]=>101110
[7,3,6,5,4,2,1]=>101111
[7,4,1,2,3,5,6]=>110000
[7,4,1,2,3,6,5]=>110001
[7,4,1,2,5,3,6]=>110010
[7,4,1,2,5,6,3]=>110001
[7,4,1,2,6,3,5]=>110010
[7,4,1,2,6,5,3]=>110011
[7,4,1,3,2,5,6]=>110100
[7,4,1,3,2,6,5]=>110101
[7,4,1,3,5,2,6]=>110010
[7,4,1,3,5,6,2]=>110001
[7,4,1,3,6,2,5]=>110010
[7,4,1,3,6,5,2]=>110011
[7,4,1,5,2,3,6]=>110100
[7,4,1,5,2,6,3]=>110101
[7,4,1,5,3,2,6]=>110110
[7,4,1,5,3,6,2]=>110101
[7,4,1,5,6,2,3]=>110010
[7,4,1,5,6,3,2]=>110011
[7,4,1,6,2,3,5]=>110100
[7,4,1,6,2,5,3]=>110101
[7,4,1,6,3,2,5]=>110110
[7,4,1,6,3,5,2]=>110101
[7,4,1,6,5,2,3]=>110110
[7,4,1,6,5,3,2]=>110111
[7,4,2,1,3,5,6]=>111000
[7,4,2,1,3,6,5]=>111001
[7,4,2,1,5,3,6]=>111010
[7,4,2,1,5,6,3]=>111001
[7,4,2,1,6,3,5]=>111010
[7,4,2,1,6,5,3]=>111011
[7,4,2,3,1,5,6]=>110100
[7,4,2,3,1,6,5]=>110101
[7,4,2,3,5,1,6]=>110010
[7,4,2,3,5,6,1]=>110001
[7,4,2,3,6,1,5]=>110010
[7,4,2,3,6,5,1]=>110011
[7,4,2,5,1,3,6]=>110100
[7,4,2,5,1,6,3]=>110101
[7,4,2,5,3,1,6]=>110110
[7,4,2,5,3,6,1]=>110101
[7,4,2,5,6,1,3]=>110010
[7,4,2,5,6,3,1]=>110011
[7,4,2,6,1,3,5]=>110100
[7,4,2,6,1,5,3]=>110101
[7,4,2,6,3,1,5]=>110110
[7,4,2,6,3,5,1]=>110101
[7,4,2,6,5,1,3]=>110110
[7,4,2,6,5,3,1]=>110111
[7,4,3,1,2,5,6]=>111000
[7,4,3,1,2,6,5]=>111001
[7,4,3,1,5,2,6]=>111010
[7,4,3,1,5,6,2]=>111001
[7,4,3,1,6,2,5]=>111010
[7,4,3,1,6,5,2]=>111011
[7,4,3,2,1,5,6]=>111100
[7,4,3,2,1,6,5]=>111101
[7,4,3,2,5,1,6]=>111010
[7,4,3,2,5,6,1]=>111001
[7,4,3,2,6,1,5]=>111010
[7,4,3,2,6,5,1]=>111011
[7,4,3,5,1,2,6]=>110100
[7,4,3,5,1,6,2]=>110101
[7,4,3,5,2,1,6]=>110110
[7,4,3,5,2,6,1]=>110101
[7,4,3,5,6,1,2]=>110010
[7,4,3,5,6,2,1]=>110011
[7,4,3,6,1,2,5]=>110100
[7,4,3,6,1,5,2]=>110101
[7,4,3,6,2,1,5]=>110110
[7,4,3,6,2,5,1]=>110101
[7,4,3,6,5,1,2]=>110110
[7,4,3,6,5,2,1]=>110111
[7,4,5,1,2,3,6]=>101000
[7,4,5,1,2,6,3]=>101001
[7,4,5,1,3,2,6]=>101010
[7,4,5,1,3,6,2]=>101001
[7,4,5,1,6,2,3]=>101010
[7,4,5,1,6,3,2]=>101011
[7,4,5,2,1,3,6]=>101100
[7,4,5,2,1,6,3]=>101101
[7,4,5,2,3,1,6]=>101010
[7,4,5,2,3,6,1]=>101001
[7,4,5,2,6,1,3]=>101010
[7,4,5,2,6,3,1]=>101011
[7,4,5,3,1,2,6]=>101100
[7,4,5,3,1,6,2]=>101101
[7,4,5,3,2,1,6]=>101110
[7,4,5,3,2,6,1]=>101101
[7,4,5,3,6,1,2]=>101010
[7,4,5,3,6,2,1]=>101011
[7,4,5,6,1,2,3]=>100100
[7,4,5,6,1,3,2]=>100101
[7,4,5,6,2,1,3]=>100110
[7,4,5,6,2,3,1]=>100101
[7,4,5,6,3,1,2]=>100110
[7,4,5,6,3,2,1]=>100111
[7,4,6,1,2,3,5]=>101000
[7,4,6,1,2,5,3]=>101001
[7,4,6,1,3,2,5]=>101010
[7,4,6,1,3,5,2]=>101001
[7,4,6,1,5,2,3]=>101010
[7,4,6,1,5,3,2]=>101011
[7,4,6,2,1,3,5]=>101100
[7,4,6,2,1,5,3]=>101101
[7,4,6,2,3,1,5]=>101010
[7,4,6,2,3,5,1]=>101001
[7,4,6,2,5,1,3]=>101010
[7,4,6,2,5,3,1]=>101011
[7,4,6,3,1,2,5]=>101100
[7,4,6,3,1,5,2]=>101101
[7,4,6,3,2,1,5]=>101110
[7,4,6,3,2,5,1]=>101101
[7,4,6,3,5,1,2]=>101010
[7,4,6,3,5,2,1]=>101011
[7,4,6,5,1,2,3]=>101100
[7,4,6,5,1,3,2]=>101101
[7,4,6,5,2,1,3]=>101110
[7,4,6,5,2,3,1]=>101101
[7,4,6,5,3,1,2]=>101110
[7,4,6,5,3,2,1]=>101111
[7,5,1,2,3,4,6]=>110000
[7,5,1,2,3,6,4]=>110001
[7,5,1,2,4,3,6]=>110010
[7,5,1,2,4,6,3]=>110001
[7,5,1,2,6,3,4]=>110010
[7,5,1,2,6,4,3]=>110011
[7,5,1,3,2,4,6]=>110100
[7,5,1,3,2,6,4]=>110101
[7,5,1,3,4,2,6]=>110010
[7,5,1,3,4,6,2]=>110001
[7,5,1,3,6,2,4]=>110010
[7,5,1,3,6,4,2]=>110011
[7,5,1,4,2,3,6]=>110100
[7,5,1,4,2,6,3]=>110101
[7,5,1,4,3,2,6]=>110110
[7,5,1,4,3,6,2]=>110101
[7,5,1,4,6,2,3]=>110010
[7,5,1,4,6,3,2]=>110011
[7,5,1,6,2,3,4]=>110100
[7,5,1,6,2,4,3]=>110101
[7,5,1,6,3,2,4]=>110110
[7,5,1,6,3,4,2]=>110101
[7,5,1,6,4,2,3]=>110110
[7,5,1,6,4,3,2]=>110111
[7,5,2,1,3,4,6]=>111000
[7,5,2,1,3,6,4]=>111001
[7,5,2,1,4,3,6]=>111010
[7,5,2,1,4,6,3]=>111001
[7,5,2,1,6,3,4]=>111010
[7,5,2,1,6,4,3]=>111011
[7,5,2,3,1,4,6]=>110100
[7,5,2,3,1,6,4]=>110101
[7,5,2,3,4,1,6]=>110010
[7,5,2,3,4,6,1]=>110001
[7,5,2,3,6,1,4]=>110010
[7,5,2,3,6,4,1]=>110011
[7,5,2,4,1,3,6]=>110100
[7,5,2,4,1,6,3]=>110101
[7,5,2,4,3,1,6]=>110110
[7,5,2,4,3,6,1]=>110101
[7,5,2,4,6,1,3]=>110010
[7,5,2,4,6,3,1]=>110011
[7,5,2,6,1,3,4]=>110100
[7,5,2,6,1,4,3]=>110101
[7,5,2,6,3,1,4]=>110110
[7,5,2,6,3,4,1]=>110101
[7,5,2,6,4,1,3]=>110110
[7,5,2,6,4,3,1]=>110111
[7,5,3,1,2,4,6]=>111000
[7,5,3,1,2,6,4]=>111001
[7,5,3,1,4,2,6]=>111010
[7,5,3,1,4,6,2]=>111001
[7,5,3,1,6,2,4]=>111010
[7,5,3,1,6,4,2]=>111011
[7,5,3,2,1,4,6]=>111100
[7,5,3,2,1,6,4]=>111101
[7,5,3,2,4,1,6]=>111010
[7,5,3,2,4,6,1]=>111001
[7,5,3,2,6,1,4]=>111010
[7,5,3,2,6,4,1]=>111011
[7,5,3,4,1,2,6]=>110100
[7,5,3,4,1,6,2]=>110101
[7,5,3,4,2,1,6]=>110110
[7,5,3,4,2,6,1]=>110101
[7,5,3,4,6,1,2]=>110010
[7,5,3,4,6,2,1]=>110011
[7,5,3,6,1,2,4]=>110100
[7,5,3,6,1,4,2]=>110101
[7,5,3,6,2,1,4]=>110110
[7,5,3,6,2,4,1]=>110101
[7,5,3,6,4,1,2]=>110110
[7,5,3,6,4,2,1]=>110111
[7,5,4,1,2,3,6]=>111000
[7,5,4,1,2,6,3]=>111001
[7,5,4,1,3,2,6]=>111010
[7,5,4,1,3,6,2]=>111001
[7,5,4,1,6,2,3]=>111010
[7,5,4,1,6,3,2]=>111011
[7,5,4,2,1,3,6]=>111100
[7,5,4,2,1,6,3]=>111101
[7,5,4,2,3,1,6]=>111010
[7,5,4,2,3,6,1]=>111001
[7,5,4,2,6,1,3]=>111010
[7,5,4,2,6,3,1]=>111011
[7,5,4,3,1,2,6]=>111100
[7,5,4,3,1,6,2]=>111101
[7,5,4,3,2,1,6]=>111110
[7,5,4,3,2,6,1]=>111101
[7,5,4,3,6,1,2]=>111010
[7,5,4,3,6,2,1]=>111011
[7,5,4,6,1,2,3]=>110100
[7,5,4,6,1,3,2]=>110101
[7,5,4,6,2,1,3]=>110110
[7,5,4,6,2,3,1]=>110101
[7,5,4,6,3,1,2]=>110110
[7,5,4,6,3,2,1]=>110111
[7,5,6,1,2,3,4]=>101000
[7,5,6,1,2,4,3]=>101001
[7,5,6,1,3,2,4]=>101010
[7,5,6,1,3,4,2]=>101001
[7,5,6,1,4,2,3]=>101010
[7,5,6,1,4,3,2]=>101011
[7,5,6,2,1,3,4]=>101100
[7,5,6,2,1,4,3]=>101101
[7,5,6,2,3,1,4]=>101010
[7,5,6,2,3,4,1]=>101001
[7,5,6,2,4,1,3]=>101010
[7,5,6,2,4,3,1]=>101011
[7,5,6,3,1,2,4]=>101100
[7,5,6,3,1,4,2]=>101101
[7,5,6,3,2,1,4]=>101110
[7,5,6,3,2,4,1]=>101101
[7,5,6,3,4,1,2]=>101010
[7,5,6,3,4,2,1]=>101011
[7,5,6,4,1,2,3]=>101100
[7,5,6,4,1,3,2]=>101101
[7,5,6,4,2,1,3]=>101110
[7,5,6,4,2,3,1]=>101101
[7,5,6,4,3,1,2]=>101110
[7,5,6,4,3,2,1]=>101111
[7,6,1,2,3,4,5]=>110000
[7,6,1,2,3,5,4]=>110001
[7,6,1,2,4,3,5]=>110010
[7,6,1,2,4,5,3]=>110001
[7,6,1,2,5,3,4]=>110010
[7,6,1,2,5,4,3]=>110011
[7,6,1,3,2,4,5]=>110100
[7,6,1,3,2,5,4]=>110101
[7,6,1,3,4,2,5]=>110010
[7,6,1,3,4,5,2]=>110001
[7,6,1,3,5,2,4]=>110010
[7,6,1,3,5,4,2]=>110011
[7,6,1,4,2,3,5]=>110100
[7,6,1,4,2,5,3]=>110101
[7,6,1,4,3,2,5]=>110110
[7,6,1,4,3,5,2]=>110101
[7,6,1,4,5,2,3]=>110010
[7,6,1,4,5,3,2]=>110011
[7,6,1,5,2,3,4]=>110100
[7,6,1,5,2,4,3]=>110101
[7,6,1,5,3,2,4]=>110110
[7,6,1,5,3,4,2]=>110101
[7,6,1,5,4,2,3]=>110110
[7,6,1,5,4,3,2]=>110111
[7,6,2,1,3,4,5]=>111000
[7,6,2,1,3,5,4]=>111001
[7,6,2,1,4,3,5]=>111010
[7,6,2,1,4,5,3]=>111001
[7,6,2,1,5,3,4]=>111010
[7,6,2,1,5,4,3]=>111011
[7,6,2,3,1,4,5]=>110100
[7,6,2,3,1,5,4]=>110101
[7,6,2,3,4,1,5]=>110010
[7,6,2,3,4,5,1]=>110001
[7,6,2,3,5,1,4]=>110010
[7,6,2,3,5,4,1]=>110011
[7,6,2,4,1,3,5]=>110100
[7,6,2,4,1,5,3]=>110101
[7,6,2,4,3,1,5]=>110110
[7,6,2,4,3,5,1]=>110101
[7,6,2,4,5,1,3]=>110010
[7,6,2,4,5,3,1]=>110011
[7,6,2,5,1,3,4]=>110100
[7,6,2,5,1,4,3]=>110101
[7,6,2,5,3,1,4]=>110110
[7,6,2,5,3,4,1]=>110101
[7,6,2,5,4,1,3]=>110110
[7,6,2,5,4,3,1]=>110111
[7,6,3,1,2,4,5]=>111000
[7,6,3,1,2,5,4]=>111001
[7,6,3,1,4,2,5]=>111010
[7,6,3,1,4,5,2]=>111001
[7,6,3,1,5,2,4]=>111010
[7,6,3,1,5,4,2]=>111011
[7,6,3,2,1,4,5]=>111100
[7,6,3,2,1,5,4]=>111101
[7,6,3,2,4,1,5]=>111010
[7,6,3,2,4,5,1]=>111001
[7,6,3,2,5,1,4]=>111010
[7,6,3,2,5,4,1]=>111011
[7,6,3,4,1,2,5]=>110100
[7,6,3,4,1,5,2]=>110101
[7,6,3,4,2,1,5]=>110110
[7,6,3,4,2,5,1]=>110101
[7,6,3,4,5,1,2]=>110010
[7,6,3,4,5,2,1]=>110011
[7,6,3,5,1,2,4]=>110100
[7,6,3,5,1,4,2]=>110101
[7,6,3,5,2,1,4]=>110110
[7,6,3,5,2,4,1]=>110101
[7,6,3,5,4,1,2]=>110110
[7,6,3,5,4,2,1]=>110111
[7,6,4,1,2,3,5]=>111000
[7,6,4,1,2,5,3]=>111001
[7,6,4,1,3,2,5]=>111010
[7,6,4,1,3,5,2]=>111001
[7,6,4,1,5,2,3]=>111010
[7,6,4,1,5,3,2]=>111011
[7,6,4,2,1,3,5]=>111100
[7,6,4,2,1,5,3]=>111101
[7,6,4,2,3,1,5]=>111010
[7,6,4,2,3,5,1]=>111001
[7,6,4,2,5,1,3]=>111010
[7,6,4,2,5,3,1]=>111011
[7,6,4,3,1,2,5]=>111100
[7,6,4,3,1,5,2]=>111101
[7,6,4,3,2,1,5]=>111110
[7,6,4,3,2,5,1]=>111101
[7,6,4,3,5,1,2]=>111010
[7,6,4,3,5,2,1]=>111011
[7,6,4,5,1,2,3]=>110100
[7,6,4,5,1,3,2]=>110101
[7,6,4,5,2,1,3]=>110110
[7,6,4,5,2,3,1]=>110101
[7,6,4,5,3,1,2]=>110110
[7,6,4,5,3,2,1]=>110111
[7,6,5,1,2,3,4]=>111000
[7,6,5,1,2,4,3]=>111001
[7,6,5,1,3,2,4]=>111010
[7,6,5,1,3,4,2]=>111001
[7,6,5,1,4,2,3]=>111010
[7,6,5,1,4,3,2]=>111011
[7,6,5,2,1,3,4]=>111100
[7,6,5,2,1,4,3]=>111101
[7,6,5,2,3,1,4]=>111010
[7,6,5,2,3,4,1]=>111001
[7,6,5,2,4,1,3]=>111010
[7,6,5,2,4,3,1]=>111011
[7,6,5,3,1,2,4]=>111100
[7,6,5,3,1,4,2]=>111101
[7,6,5,3,2,1,4]=>111110
[7,6,5,3,2,4,1]=>111101
[7,6,5,3,4,1,2]=>111010
[7,6,5,3,4,2,1]=>111011
[7,6,5,4,1,2,3]=>111100
[7,6,5,4,1,3,2]=>111101
[7,6,5,4,2,1,3]=>111110
[7,6,5,4,2,3,1]=>111101
[7,6,5,4,3,1,2]=>111110
[7,6,5,4,3,2,1]=>111111
[8,7,6,5,4,3,2,1]=>1111111
[7,8,6,5,4,3,2,1]=>0111111
[8,6,7,5,4,3,2,1]=>1011111
[7,6,8,5,4,3,2,1]=>1011111
[6,7,8,5,4,3,2,1]=>0011111
[8,7,5,6,4,3,2,1]=>1101111
[7,8,5,6,4,3,2,1]=>0101111
[8,6,5,7,4,3,2,1]=>1101111
[8,5,6,7,4,3,2,1]=>1001111
[7,6,5,8,4,3,2,1]=>1101111
[6,7,5,8,4,3,2,1]=>0101111
[7,5,6,8,4,3,2,1]=>1001111
[6,5,7,8,4,3,2,1]=>1001111
[5,6,7,8,4,3,2,1]=>0001111
[8,7,6,4,5,3,2,1]=>1110111
[7,8,6,4,5,3,2,1]=>0110111
[8,6,7,4,5,3,2,1]=>1010111
[7,6,8,4,5,3,2,1]=>1010111
[8,7,5,4,6,3,2,1]=>1110111
[8,7,4,5,6,3,2,1]=>1100111
[8,6,5,4,7,3,2,1]=>1110111
[8,5,6,4,7,3,2,1]=>1010111
[8,6,4,5,7,3,2,1]=>1100111
[8,5,4,6,7,3,2,1]=>1100111
[8,4,5,6,7,3,2,1]=>1000111
[7,6,5,4,8,3,2,1]=>1110111
[6,7,5,4,8,3,2,1]=>0110111
[7,5,6,4,8,3,2,1]=>1010111
[6,5,7,4,8,3,2,1]=>1010111
[5,6,7,4,8,3,2,1]=>0010111
[7,6,4,5,8,3,2,1]=>1100111
[6,7,4,5,8,3,2,1]=>0100111
[7,5,4,6,8,3,2,1]=>1100111
[7,4,5,6,8,3,2,1]=>1000111
[6,5,4,7,8,3,2,1]=>1100111
[5,6,4,7,8,3,2,1]=>0100111
[6,4,5,7,8,3,2,1]=>1000111
[5,4,6,7,8,3,2,1]=>1000111
[4,5,6,7,8,3,2,1]=>0000111
[8,7,6,5,3,4,2,1]=>1111011
[7,8,6,5,3,4,2,1]=>0111011
[8,6,7,5,3,4,2,1]=>1011011
[7,6,8,5,3,4,2,1]=>1011011
[8,7,5,6,3,4,2,1]=>1101011
[7,8,5,6,3,4,2,1]=>0101011
[8,5,6,7,3,4,2,1]=>1001011
[7,6,5,8,3,4,2,1]=>1101011
[6,7,5,8,3,4,2,1]=>0101011
[6,5,7,8,3,4,2,1]=>1001011
[5,6,7,8,3,4,2,1]=>0001011
[8,7,6,4,3,5,2,1]=>1111011
[7,8,6,4,3,5,2,1]=>0111011
[8,6,7,4,3,5,2,1]=>1011011
[7,6,8,4,3,5,2,1]=>1011011
[6,7,8,4,3,5,2,1]=>0011011
[8,7,6,3,4,5,2,1]=>1110011
[7,8,6,3,4,5,2,1]=>0110011
[8,6,7,3,4,5,2,1]=>1010011
[7,6,8,3,4,5,2,1]=>1010011
[6,7,8,3,4,5,2,1]=>0010011
[8,7,5,4,3,6,2,1]=>1111011
[7,8,5,4,3,6,2,1]=>0111011
[8,7,4,5,3,6,2,1]=>1101011
[8,7,5,3,4,6,2,1]=>1110011
[7,8,5,3,4,6,2,1]=>0110011
[8,7,4,3,5,6,2,1]=>1110011
[8,7,3,4,5,6,2,1]=>1100011
[7,8,3,4,5,6,2,1]=>0100011
[8,6,5,4,3,7,2,1]=>1111011
[8,6,4,5,3,7,2,1]=>1101011
[8,6,4,3,5,7,2,1]=>1110011
[8,5,4,3,6,7,2,1]=>1110011
[8,5,3,4,6,7,2,1]=>1100011
[8,4,3,5,6,7,2,1]=>1100011
[8,3,4,5,6,7,2,1]=>1000011
[7,6,5,4,3,8,2,1]=>1111011
[6,7,5,4,3,8,2,1]=>0111011
[7,5,6,4,3,8,2,1]=>1011011
[6,5,7,4,3,8,2,1]=>1011011
[5,6,7,4,3,8,2,1]=>0011011
[6,7,4,5,3,8,2,1]=>0101011
[7,5,4,6,3,8,2,1]=>1101011
[7,4,5,6,3,8,2,1]=>1001011
[6,5,4,7,3,8,2,1]=>1101011
[6,4,5,7,3,8,2,1]=>1001011
[5,4,6,7,3,8,2,1]=>1001011
[4,5,6,7,3,8,2,1]=>0001011
[7,6,5,3,4,8,2,1]=>1110011
[7,6,4,3,5,8,2,1]=>1110011
[7,6,3,4,5,8,2,1]=>1100011
[7,5,4,3,6,8,2,1]=>1110011
[7,5,3,4,6,8,2,1]=>1100011
[7,3,4,5,6,8,2,1]=>1000011
[6,5,4,3,7,8,2,1]=>1110011
[4,5,6,3,7,8,2,1]=>0010011
[6,5,3,4,7,8,2,1]=>1100011
[6,3,4,5,7,8,2,1]=>1000011
[5,4,3,6,7,8,2,1]=>1100011
[5,3,4,6,7,8,2,1]=>1000011
[4,3,5,6,7,8,2,1]=>1000011
[3,4,5,6,7,8,2,1]=>0000011
[8,7,6,5,4,2,3,1]=>1111101
[7,8,6,5,4,2,3,1]=>0111101
[8,6,7,5,4,2,3,1]=>1011101
[7,6,8,5,4,2,3,1]=>1011101
[8,7,5,6,4,2,3,1]=>1101101
[8,6,5,7,4,2,3,1]=>1101101
[8,5,6,7,4,2,3,1]=>1001101
[7,6,5,8,4,2,3,1]=>1101101
[6,7,5,8,4,2,3,1]=>0101101
[7,5,6,8,4,2,3,1]=>1001101
[5,6,7,8,4,2,3,1]=>0001101
[8,7,6,4,5,2,3,1]=>1110101
[8,6,7,4,5,2,3,1]=>1010101
[7,6,8,4,5,2,3,1]=>1010101
[8,7,5,4,6,2,3,1]=>1110101
[8,7,4,5,6,2,3,1]=>1100101
[7,8,4,5,6,2,3,1]=>0100101
[8,6,5,4,7,2,3,1]=>1110101
[8,5,6,4,7,2,3,1]=>1010101
[8,6,4,5,7,2,3,1]=>1100101
[8,4,5,6,7,2,3,1]=>1000101
[7,6,5,4,8,2,3,1]=>1110101
[7,5,6,4,8,2,3,1]=>1010101
[6,5,7,4,8,2,3,1]=>1010101
[6,7,4,5,8,2,3,1]=>0100101
[4,5,6,7,8,2,3,1]=>0000101
[8,7,6,5,3,2,4,1]=>1111101
[7,8,6,5,3,2,4,1]=>0111101
[8,6,7,5,3,2,4,1]=>1011101
[7,6,8,5,3,2,4,1]=>1011101
[6,7,8,5,3,2,4,1]=>0011101
[8,7,5,6,3,2,4,1]=>1101101
[8,6,5,7,3,2,4,1]=>1101101
[8,5,6,7,3,2,4,1]=>1001101
[7,6,5,8,3,2,4,1]=>1101101
[6,7,5,8,3,2,4,1]=>0101101
[5,6,7,8,3,2,4,1]=>0001101
[8,7,6,5,2,3,4,1]=>1111001
[8,6,7,5,2,3,4,1]=>1011001
[7,6,8,5,2,3,4,1]=>1011001
[6,7,8,5,2,3,4,1]=>0011001
[8,7,5,6,2,3,4,1]=>1101001
[7,8,5,6,2,3,4,1]=>0101001
[8,6,5,7,2,3,4,1]=>1101001
[8,5,6,7,2,3,4,1]=>1001001
[7,6,5,8,2,3,4,1]=>1101001
[6,7,5,8,2,3,4,1]=>0101001
[6,5,7,8,2,3,4,1]=>1001001
[5,6,7,8,2,3,4,1]=>0001001
[8,7,6,4,3,2,5,1]=>1111101
[7,8,6,4,3,2,5,1]=>0111101
[8,6,7,4,3,2,5,1]=>1011101
[7,6,8,4,3,2,5,1]=>1011101
[6,7,8,4,3,2,5,1]=>0011101
[8,7,6,3,4,2,5,1]=>1110101
[7,8,6,3,4,2,5,1]=>0110101
[8,6,7,3,4,2,5,1]=>1010101
[7,6,8,3,4,2,5,1]=>1010101
[6,7,8,3,4,2,5,1]=>0010101
[8,7,6,4,2,3,5,1]=>1111001
[8,6,7,4,2,3,5,1]=>1011001
[7,6,8,4,2,3,5,1]=>1011001
[6,7,8,4,2,3,5,1]=>0011001
[8,7,6,3,2,4,5,1]=>1111001
[7,8,6,3,2,4,5,1]=>0111001
[8,6,7,3,2,4,5,1]=>1011001
[6,7,8,3,2,4,5,1]=>0011001
[8,7,6,2,3,4,5,1]=>1110001
[7,8,6,2,3,4,5,1]=>0110001
[8,6,7,2,3,4,5,1]=>1010001
[7,6,8,2,3,4,5,1]=>1010001
[6,7,8,2,3,4,5,1]=>0010001
[8,7,5,4,3,2,6,1]=>1111101
[7,8,5,4,3,2,6,1]=>0111101
[8,7,5,3,4,2,6,1]=>1110101
[7,8,5,3,4,2,6,1]=>0110101
[8,7,4,3,5,2,6,1]=>1110101
[8,7,5,3,2,4,6,1]=>1111001
[8,7,4,3,2,5,6,1]=>1111001
[7,8,4,3,2,5,6,1]=>0111001
[7,8,3,4,2,5,6,1]=>0101001
[7,8,4,2,3,5,6,1]=>0110001
[7,8,3,2,4,5,6,1]=>0110001
[8,7,2,3,4,5,6,1]=>1100001
[7,8,2,3,4,5,6,1]=>0100001
[8,6,5,4,3,2,7,1]=>1111101
[8,5,6,4,3,2,7,1]=>1011101
[8,6,4,5,3,2,7,1]=>1101101
[8,5,4,6,3,2,7,1]=>1101101
[8,6,5,3,4,2,7,1]=>1110101
[8,5,6,3,4,2,7,1]=>1010101
[8,6,4,3,5,2,7,1]=>1110101
[8,6,3,4,5,2,7,1]=>1100101
[8,5,4,3,6,2,7,1]=>1110101
[8,4,5,3,6,2,7,1]=>1010101
[8,4,3,5,6,2,7,1]=>1100101
[8,3,4,5,6,2,7,1]=>1000101
[8,6,5,4,2,3,7,1]=>1111001
[8,5,6,4,2,3,7,1]=>1011001
[8,6,4,5,2,3,7,1]=>1101001
[8,6,5,3,2,4,7,1]=>1111001
[8,6,4,3,2,5,7,1]=>1111001
[8,6,4,2,3,5,7,1]=>1110001
[8,6,2,3,4,5,7,1]=>1100001
[8,5,4,3,2,6,7,1]=>1111001
[8,4,5,3,2,6,7,1]=>1011001
[8,5,3,4,2,6,7,1]=>1101001
[8,3,4,5,2,6,7,1]=>1001001
[8,5,4,2,3,6,7,1]=>1110001
[8,4,5,2,3,6,7,1]=>1010001
[8,5,2,3,4,6,7,1]=>1100001
[8,4,3,2,5,6,7,1]=>1110001
[8,3,4,2,5,6,7,1]=>1010001
[8,4,2,3,5,6,7,1]=>1100001
[8,3,2,4,5,6,7,1]=>1100001
[8,2,3,4,5,6,7,1]=>1000001
[7,6,5,4,3,2,8,1]=>1111101
[6,7,5,4,3,2,8,1]=>0111101
[7,5,6,4,3,2,8,1]=>1011101
[6,5,7,4,3,2,8,1]=>1011101
[5,6,7,4,3,2,8,1]=>0011101
[7,6,4,5,3,2,8,1]=>1101101
[6,7,4,5,3,2,8,1]=>0101101
[7,4,5,6,3,2,8,1]=>1001101
[6,5,4,7,3,2,8,1]=>1101101
[6,4,5,7,3,2,8,1]=>1001101
[4,5,6,7,3,2,8,1]=>0001101
[7,6,5,3,4,2,8,1]=>1110101
[7,5,6,3,4,2,8,1]=>1010101
[6,5,7,3,4,2,8,1]=>1010101
[5,6,7,3,4,2,8,1]=>0010101
[7,6,4,3,5,2,8,1]=>1110101
[7,6,3,4,5,2,8,1]=>1100101
[7,5,4,3,6,2,8,1]=>1110101
[7,4,5,3,6,2,8,1]=>1010101
[7,5,3,4,6,2,8,1]=>1100101
[7,3,4,5,6,2,8,1]=>1000101
[6,5,4,3,7,2,8,1]=>1110101
[6,4,5,3,7,2,8,1]=>1010101
[5,4,6,3,7,2,8,1]=>1010101
[4,5,6,3,7,2,8,1]=>0010101
[6,5,3,4,7,2,8,1]=>1100101
[5,6,3,4,7,2,8,1]=>0100101
[6,4,3,5,7,2,8,1]=>1100101
[6,3,4,5,7,2,8,1]=>1000101
[5,4,3,6,7,2,8,1]=>1100101
[4,5,3,6,7,2,8,1]=>0100101
[4,3,5,6,7,2,8,1]=>1000101
[3,4,5,6,7,2,8,1]=>0000101
[7,6,5,4,2,3,8,1]=>1111001
[6,7,5,4,2,3,8,1]=>0111001
[7,5,6,4,2,3,8,1]=>1011001
[6,5,7,4,2,3,8,1]=>1011001
[5,6,7,4,2,3,8,1]=>0011001
[7,6,4,5,2,3,8,1]=>1101001
[6,7,4,5,2,3,8,1]=>0101001
[7,5,4,6,2,3,8,1]=>1101001
[7,4,5,6,2,3,8,1]=>1001001
[6,5,4,7,2,3,8,1]=>1101001
[5,6,4,7,2,3,8,1]=>0101001
[6,4,5,7,2,3,8,1]=>1001001
[5,4,6,7,2,3,8,1]=>1001001
[4,5,6,7,2,3,8,1]=>0001001
[7,6,5,3,2,4,8,1]=>1111001
[6,7,5,3,2,4,8,1]=>0111001
[6,5,7,3,2,4,8,1]=>1011001
[7,6,5,2,3,4,8,1]=>1110001
[7,5,6,2,3,4,8,1]=>1010001
[5,6,7,2,3,4,8,1]=>0010001
[6,7,4,3,2,5,8,1]=>0111001
[7,6,4,2,3,5,8,1]=>1110001
[7,6,3,2,4,5,8,1]=>1110001
[6,7,3,2,4,5,8,1]=>0110001
[7,6,2,3,4,5,8,1]=>1100001
[6,7,2,3,4,5,8,1]=>0100001
[7,5,4,3,2,6,8,1]=>1111001
[7,4,3,5,2,6,8,1]=>1101001
[7,5,4,2,3,6,8,1]=>1110001
[7,4,5,2,3,6,8,1]=>1010001
[7,5,3,2,4,6,8,1]=>1110001
[7,5,2,3,4,6,8,1]=>1100001
[7,4,3,2,5,6,8,1]=>1110001
[7,4,2,3,5,6,8,1]=>1100001
[7,3,2,4,5,6,8,1]=>1100001
[7,2,3,4,5,6,8,1]=>1000001
[6,5,4,3,2,7,8,1]=>1111001
[5,4,6,3,2,7,8,1]=>1011001
[4,5,6,3,2,7,8,1]=>0011001
[6,5,3,4,2,7,8,1]=>1101001
[6,3,4,5,2,7,8,1]=>1001001
[5,4,3,6,2,7,8,1]=>1101001
[4,3,5,6,2,7,8,1]=>1001001
[3,4,5,6,2,7,8,1]=>0001001
[6,5,4,2,3,7,8,1]=>1110001
[5,6,4,2,3,7,8,1]=>0110001
[6,4,5,2,3,7,8,1]=>1010001
[5,4,6,2,3,7,8,1]=>1010001
[4,5,6,2,3,7,8,1]=>0010001
[6,5,3,2,4,7,8,1]=>1110001
[6,5,2,3,4,7,8,1]=>1100001
[6,2,3,4,5,7,8,1]=>1000001
[5,4,3,2,6,7,8,1]=>1110001
[4,5,3,2,6,7,8,1]=>0110001
[5,3,4,2,6,7,8,1]=>1010001
[4,3,5,2,6,7,8,1]=>1010001
[3,4,5,2,6,7,8,1]=>0010001
[5,4,2,3,6,7,8,1]=>1100001
[4,5,2,3,6,7,8,1]=>0100001
[5,3,2,4,6,7,8,1]=>1100001
[5,2,3,4,6,7,8,1]=>1000001
[4,3,2,5,6,7,8,1]=>1100001
[3,4,2,5,6,7,8,1]=>0100001
[4,2,3,5,6,7,8,1]=>1000001
[3,2,4,5,6,7,8,1]=>1000001
[2,3,4,5,6,7,8,1]=>0000001
[8,7,6,5,4,3,1,2]=>1111110
[7,8,6,5,4,3,1,2]=>0111110
[8,6,7,5,4,3,1,2]=>1011110
[7,6,8,5,4,3,1,2]=>1011110
[6,7,8,5,4,3,1,2]=>0011110
[8,7,5,6,4,3,1,2]=>1101110
[7,8,5,6,4,3,1,2]=>0101110
[8,6,5,7,4,3,1,2]=>1101110
[7,6,5,8,4,3,1,2]=>1101110
[6,7,5,8,4,3,1,2]=>0101110
[7,5,6,8,4,3,1,2]=>1001110
[6,5,7,8,4,3,1,2]=>1001110
[5,6,7,8,4,3,1,2]=>0001110
[8,7,6,4,5,3,1,2]=>1110110
[7,8,6,4,5,3,1,2]=>0110110
[8,6,7,4,5,3,1,2]=>1010110
[6,7,8,4,5,3,1,2]=>0010110
[8,7,5,4,6,3,1,2]=>1110110
[8,5,6,4,7,3,1,2]=>1010110
[8,6,4,5,7,3,1,2]=>1100110
[8,5,4,6,7,3,1,2]=>1100110
[7,6,5,4,8,3,1,2]=>1110110
[7,5,6,4,8,3,1,2]=>1010110
[6,5,7,4,8,3,1,2]=>1010110
[7,6,4,5,8,3,1,2]=>1100110
[6,7,4,5,8,3,1,2]=>0100110
[6,5,4,7,8,3,1,2]=>1100110
[5,6,4,7,8,3,1,2]=>0100110
[5,4,6,7,8,3,1,2]=>1000110
[4,5,6,7,8,3,1,2]=>0000110
[8,7,6,5,3,4,1,2]=>1111010
[7,8,6,5,3,4,1,2]=>0111010
[7,6,8,5,3,4,1,2]=>1011010
[6,7,8,5,3,4,1,2]=>0011010
[8,7,5,6,3,4,1,2]=>1101010
[7,8,5,6,3,4,1,2]=>0101010
[8,6,5,7,3,4,1,2]=>1101010
[8,5,6,7,3,4,1,2]=>1001010
[7,6,5,8,3,4,1,2]=>1101010
[6,7,5,8,3,4,1,2]=>0101010
[7,5,6,8,3,4,1,2]=>1001010
[6,5,7,8,3,4,1,2]=>1001010
[5,6,7,8,3,4,1,2]=>0001010
[6,7,8,4,3,5,1,2]=>0011010
[8,7,6,3,4,5,1,2]=>1110010
[8,6,7,3,4,5,1,2]=>1010010
[7,8,5,4,3,6,1,2]=>0111010
[8,7,4,5,3,6,1,2]=>1101010
[7,8,4,5,3,6,1,2]=>0101010
[7,8,5,3,4,6,1,2]=>0110010
[8,7,4,3,5,6,1,2]=>1110010
[7,8,4,3,5,6,1,2]=>0110010
[8,7,3,4,5,6,1,2]=>1100010
[7,8,3,4,5,6,1,2]=>0100010
[8,6,5,4,3,7,1,2]=>1111010
[8,5,4,3,6,7,1,2]=>1110010
[8,5,3,4,6,7,1,2]=>1100010
[8,4,3,5,6,7,1,2]=>1100010
[8,3,4,5,6,7,1,2]=>1000010
[7,6,5,4,3,8,1,2]=>1111010
[7,5,6,4,3,8,1,2]=>1011010
[6,5,7,4,3,8,1,2]=>1011010
[5,6,7,4,3,8,1,2]=>0011010
[6,7,4,5,3,8,1,2]=>0101010
[5,6,4,7,3,8,1,2]=>0101010
[5,4,6,7,3,8,1,2]=>1001010
[4,5,6,7,3,8,1,2]=>0001010
[7,6,5,3,4,8,1,2]=>1110010
[7,5,6,3,4,8,1,2]=>1010010
[5,6,7,3,4,8,1,2]=>0010010
[7,6,4,3,5,8,1,2]=>1110010
[7,6,3,4,5,8,1,2]=>1100010
[7,5,4,3,6,8,1,2]=>1110010
[7,5,3,4,6,8,1,2]=>1100010
[7,3,4,5,6,8,1,2]=>1000010
[6,5,4,3,7,8,1,2]=>1110010
[5,6,4,3,7,8,1,2]=>0110010
[5,4,6,3,7,8,1,2]=>1010010
[4,5,6,3,7,8,1,2]=>0010010
[6,5,3,4,7,8,1,2]=>1100010
[5,6,3,4,7,8,1,2]=>0100010
[6,4,3,5,7,8,1,2]=>1100010
[6,3,4,5,7,8,1,2]=>1000010
[5,4,3,6,7,8,1,2]=>1100010
[4,5,3,6,7,8,1,2]=>0100010
[5,3,4,6,7,8,1,2]=>1000010
[4,3,5,6,7,8,1,2]=>1000010
[3,4,5,6,7,8,1,2]=>0000010
[8,7,6,5,4,2,1,3]=>1111110
[7,8,6,5,4,2,1,3]=>0111110
[8,6,7,5,4,2,1,3]=>1011110
[7,6,8,5,4,2,1,3]=>1011110
[6,7,8,5,4,2,1,3]=>0011110
[8,7,5,6,4,2,1,3]=>1101110
[7,8,5,6,4,2,1,3]=>0101110
[8,6,5,7,4,2,1,3]=>1101110
[7,6,5,8,4,2,1,3]=>1101110
[6,7,5,8,4,2,1,3]=>0101110
[7,5,6,8,4,2,1,3]=>1001110
[6,5,7,8,4,2,1,3]=>1001110
[5,6,7,8,4,2,1,3]=>0001110
[8,7,6,4,5,2,1,3]=>1110110
[8,6,7,4,5,2,1,3]=>1010110
[7,6,8,4,5,2,1,3]=>1010110
[8,7,4,5,6,2,1,3]=>1100110
[8,6,5,4,7,2,1,3]=>1110110
[8,6,4,5,7,2,1,3]=>1100110
[8,4,5,6,7,2,1,3]=>1000110
[7,6,5,4,8,2,1,3]=>1110110
[6,7,5,4,8,2,1,3]=>0110110
[7,5,6,4,8,2,1,3]=>1010110
[6,5,7,4,8,2,1,3]=>1010110
[5,6,7,4,8,2,1,3]=>0010110
[7,6,4,5,8,2,1,3]=>1100110
[7,4,5,6,8,2,1,3]=>1000110
[5,4,6,7,8,2,1,3]=>1000110
[4,5,6,7,8,2,1,3]=>0000110
[8,7,6,5,4,1,2,3]=>1111100
[7,8,6,5,4,1,2,3]=>0111100
[7,6,8,5,4,1,2,3]=>1011100
[6,7,8,5,4,1,2,3]=>0011100
[7,8,5,6,4,1,2,3]=>0101100
[8,6,5,7,4,1,2,3]=>1101100
[8,5,6,7,4,1,2,3]=>1001100
[7,6,5,8,4,1,2,3]=>1101100
[6,7,5,8,4,1,2,3]=>0101100
[7,5,6,8,4,1,2,3]=>1001100
[6,5,7,8,4,1,2,3]=>1001100
[5,6,7,8,4,1,2,3]=>0001100
[8,7,6,4,5,1,2,3]=>1110100
[8,6,7,4,5,1,2,3]=>1010100
[6,7,8,4,5,1,2,3]=>0010100
[8,7,5,4,6,1,2,3]=>1110100
[7,8,5,4,6,1,2,3]=>0110100
[8,7,4,5,6,1,2,3]=>1100100
[7,8,4,5,6,1,2,3]=>0100100
[8,5,6,4,7,1,2,3]=>1010100
[8,6,4,5,7,1,2,3]=>1100100
[8,5,4,6,7,1,2,3]=>1100100
[8,4,5,6,7,1,2,3]=>1000100
[7,6,5,4,8,1,2,3]=>1110100
[6,7,5,4,8,1,2,3]=>0110100
[7,5,6,4,8,1,2,3]=>1010100
[6,5,7,4,8,1,2,3]=>1010100
[5,6,7,4,8,1,2,3]=>0010100
[7,6,4,5,8,1,2,3]=>1100100
[6,7,4,5,8,1,2,3]=>0100100
[7,5,4,6,8,1,2,3]=>1100100
[7,4,5,6,8,1,2,3]=>1000100
[6,5,4,7,8,1,2,3]=>1100100
[5,6,4,7,8,1,2,3]=>0100100
[6,4,5,7,8,1,2,3]=>1000100
[5,4,6,7,8,1,2,3]=>1000100
[4,5,6,7,8,1,2,3]=>0000100
[8,7,6,5,3,2,1,4]=>1111110
[7,8,6,5,3,2,1,4]=>0111110
[8,6,7,5,3,2,1,4]=>1011110
[7,6,8,5,3,2,1,4]=>1011110
[6,7,8,5,3,2,1,4]=>0011110
[8,7,5,6,3,2,1,4]=>1101110
[7,8,5,6,3,2,1,4]=>0101110
[8,6,5,7,3,2,1,4]=>1101110
[8,5,6,7,3,2,1,4]=>1001110
[7,6,5,8,3,2,1,4]=>1101110
[6,7,5,8,3,2,1,4]=>0101110
[7,5,6,8,3,2,1,4]=>1001110
[6,5,7,8,3,2,1,4]=>1001110
[5,6,7,8,3,2,1,4]=>0001110
[8,7,6,5,2,3,1,4]=>1111010
[7,8,6,5,2,3,1,4]=>0111010
[8,6,7,5,2,3,1,4]=>1011010
[7,6,8,5,2,3,1,4]=>1011010
[6,7,8,5,2,3,1,4]=>0011010
[8,7,5,6,2,3,1,4]=>1101010
[7,8,5,6,2,3,1,4]=>0101010
[8,6,5,7,2,3,1,4]=>1101010
[8,5,6,7,2,3,1,4]=>1001010
[7,6,5,8,2,3,1,4]=>1101010
[6,7,5,8,2,3,1,4]=>0101010
[7,5,6,8,2,3,1,4]=>1001010
[6,5,7,8,2,3,1,4]=>1001010
[5,6,7,8,2,3,1,4]=>0001010
[8,7,6,5,3,1,2,4]=>1111100
[7,8,6,5,3,1,2,4]=>0111100
[8,6,7,5,3,1,2,4]=>1011100
[7,6,8,5,3,1,2,4]=>1011100
[8,7,5,6,3,1,2,4]=>1101100
[7,8,5,6,3,1,2,4]=>0101100
[7,6,5,8,3,1,2,4]=>1101100
[6,7,5,8,3,1,2,4]=>0101100
[7,5,6,8,3,1,2,4]=>1001100
[6,5,7,8,3,1,2,4]=>1001100
[5,6,7,8,3,1,2,4]=>0001100
[8,7,6,5,2,1,3,4]=>1111100
[7,8,6,5,2,1,3,4]=>0111100
[7,6,8,5,2,1,3,4]=>1011100
[6,7,8,5,2,1,3,4]=>0011100
[8,7,5,6,2,1,3,4]=>1101100
[7,8,5,6,2,1,3,4]=>0101100
[8,6,5,7,2,1,3,4]=>1101100
[8,5,6,7,2,1,3,4]=>1001100
[7,6,5,8,2,1,3,4]=>1101100
[6,7,5,8,2,1,3,4]=>0101100
[7,5,6,8,2,1,3,4]=>1001100
[6,5,7,8,2,1,3,4]=>1001100
[5,6,7,8,2,1,3,4]=>0001100
[8,7,6,5,1,2,3,4]=>1111000
[7,8,6,5,1,2,3,4]=>0111000
[8,6,7,5,1,2,3,4]=>1011000
[7,6,8,5,1,2,3,4]=>1011000
[6,7,8,5,1,2,3,4]=>0011000
[8,7,5,6,1,2,3,4]=>1101000
[7,8,5,6,1,2,3,4]=>0101000
[8,6,5,7,1,2,3,4]=>1101000
[8,5,6,7,1,2,3,4]=>1001000
[7,6,5,8,1,2,3,4]=>1101000
[6,7,5,8,1,2,3,4]=>0101000
[7,5,6,8,1,2,3,4]=>1001000
[6,5,7,8,1,2,3,4]=>1001000
[5,6,7,8,1,2,3,4]=>0001000
[8,7,6,4,3,2,1,5]=>1111110
[7,8,6,4,3,2,1,5]=>0111110
[8,6,7,4,3,2,1,5]=>1011110
[7,6,8,4,3,2,1,5]=>1011110
[6,7,8,4,3,2,1,5]=>0011110
[8,7,6,3,4,2,1,5]=>1110110
[7,8,6,3,4,2,1,5]=>0110110
[6,7,8,3,4,2,1,5]=>0010110
[8,7,6,4,2,3,1,5]=>1111010
[8,6,7,4,2,3,1,5]=>1011010
[7,6,8,4,2,3,1,5]=>1011010
[6,7,8,4,2,3,1,5]=>0011010
[8,7,6,3,2,4,1,5]=>1111010
[8,6,7,3,2,4,1,5]=>1011010
[6,7,8,3,2,4,1,5]=>0011010
[8,7,6,2,3,4,1,5]=>1110010
[8,6,7,2,3,4,1,5]=>1010010
[7,6,8,2,3,4,1,5]=>1010010
[6,7,8,2,3,4,1,5]=>0010010
[8,7,6,4,3,1,2,5]=>1111100
[6,7,8,4,3,1,2,5]=>0011100
[8,7,6,3,4,1,2,5]=>1110100
[7,8,6,3,4,1,2,5]=>0110100
[8,6,7,3,4,1,2,5]=>1010100
[6,7,8,3,4,1,2,5]=>0010100
[8,7,6,4,2,1,3,5]=>1111100
[7,8,6,4,2,1,3,5]=>0111100
[8,6,7,4,2,1,3,5]=>1011100
[6,7,8,4,2,1,3,5]=>0011100
[8,7,6,4,1,2,3,5]=>1111000
[7,8,6,4,1,2,3,5]=>0111000
[7,6,8,4,1,2,3,5]=>1011000
[6,7,8,4,1,2,3,5]=>0011000
[8,7,6,3,2,1,4,5]=>1111100
[7,8,6,3,2,1,4,5]=>0111100
[8,6,7,3,2,1,4,5]=>1011100
[7,6,8,3,2,1,4,5]=>1011100
[6,7,8,3,2,1,4,5]=>0011100
[8,7,6,2,3,1,4,5]=>1110100
[7,8,6,2,3,1,4,5]=>0110100
[8,6,7,2,3,1,4,5]=>1010100
[7,6,8,2,3,1,4,5]=>1010100
[6,7,8,2,3,1,4,5]=>0010100
[8,7,6,3,1,2,4,5]=>1111000
[7,8,6,3,1,2,4,5]=>0111000
[8,6,7,3,1,2,4,5]=>1011000
[7,6,8,3,1,2,4,5]=>1011000
[6,7,8,3,1,2,4,5]=>0011000
[8,7,6,2,1,3,4,5]=>1111000
[7,8,6,2,1,3,4,5]=>0111000
[8,6,7,2,1,3,4,5]=>1011000
[6,7,8,2,1,3,4,5]=>0011000
[8,7,6,1,2,3,4,5]=>1110000
[7,8,6,1,2,3,4,5]=>0110000
[8,6,7,1,2,3,4,5]=>1010000
[7,6,8,1,2,3,4,5]=>1010000
[6,7,8,1,2,3,4,5]=>0010000
[8,7,5,4,3,2,1,6]=>1111110
[7,8,5,4,3,2,1,6]=>0111110
[8,7,4,5,3,2,1,6]=>1101110
[7,8,4,5,3,2,1,6]=>0101110
[8,7,5,3,4,2,1,6]=>1110110
[8,7,4,3,5,2,1,6]=>1110110
[8,7,3,4,5,2,1,6]=>1100110
[7,8,3,4,5,2,1,6]=>0100110
[8,7,4,5,2,3,1,6]=>1101010
[7,8,4,5,2,3,1,6]=>0101010
[8,7,5,3,2,4,1,6]=>1111010
[7,8,5,2,3,4,1,6]=>0110010
[8,7,4,3,2,5,1,6]=>1111010
[7,8,4,3,2,5,1,6]=>0111010
[8,7,3,4,2,5,1,6]=>1101010
[7,8,3,4,2,5,1,6]=>0101010
[8,7,2,3,4,5,1,6]=>1100010
[7,8,2,3,4,5,1,6]=>0100010
[8,7,5,4,3,1,2,6]=>1111100
[7,8,5,4,3,1,2,6]=>0111100
[8,7,5,3,4,1,2,6]=>1110100
[7,8,5,3,4,1,2,6]=>0110100
[8,7,3,4,5,1,2,6]=>1100100
[7,8,3,4,5,1,2,6]=>0100100
[7,8,5,4,2,1,3,6]=>0111100
[8,7,5,4,1,2,3,6]=>1111000
[7,8,5,4,1,2,3,6]=>0111000
[8,7,4,5,1,2,3,6]=>1101000
[7,8,4,5,1,2,3,6]=>0101000
[8,7,5,3,2,1,4,6]=>1111100
[7,8,5,3,2,1,4,6]=>0111100
[8,7,5,2,3,1,4,6]=>1110100
[8,7,5,3,1,2,4,6]=>1111000
[7,8,5,3,1,2,4,6]=>0111000
[8,7,5,2,1,3,4,6]=>1111000
[7,8,5,2,1,3,4,6]=>0111000
[8,7,5,1,2,3,4,6]=>1110000
[7,8,5,1,2,3,4,6]=>0110000
[8,7,4,3,2,1,5,6]=>1111100
[7,8,4,3,2,1,5,6]=>0111100
[8,7,3,4,2,1,5,6]=>1101100
[7,8,3,4,2,1,5,6]=>0101100
[7,8,4,2,3,1,5,6]=>0110100
[8,7,3,2,4,1,5,6]=>1110100
[7,8,3,2,4,1,5,6]=>0110100
[8,7,2,3,4,1,5,6]=>1100100
[7,8,2,3,4,1,5,6]=>0100100
[7,8,4,3,1,2,5,6]=>0111000
[8,7,3,4,1,2,5,6]=>1101000
[7,8,3,4,1,2,5,6]=>0101000
[8,7,4,2,1,3,5,6]=>1111000
[7,8,4,2,1,3,5,6]=>0111000
[8,7,4,1,2,3,5,6]=>1110000
[7,8,4,1,2,3,5,6]=>0110000
[8,7,3,2,1,4,5,6]=>1111000
[7,8,3,2,1,4,5,6]=>0111000
[8,7,2,3,1,4,5,6]=>1101000
[7,8,2,3,1,4,5,6]=>0101000
[7,8,3,1,2,4,5,6]=>0110000
[8,7,2,1,3,4,5,6]=>1110000
[7,8,2,1,3,4,5,6]=>0110000
[8,7,1,2,3,4,5,6]=>1100000
[7,8,1,2,3,4,5,6]=>0100000
[8,6,5,4,3,2,1,7]=>1111110
[8,5,6,4,3,2,1,7]=>1011110
[8,6,4,5,3,2,1,7]=>1101110
[8,5,4,6,3,2,1,7]=>1101110
[8,4,5,6,3,2,1,7]=>1001110
[8,6,5,3,4,2,1,7]=>1110110
[8,5,6,3,4,2,1,7]=>1010110
[8,6,4,3,5,2,1,7]=>1110110
[8,4,5,3,6,2,1,7]=>1010110
[8,4,3,5,6,2,1,7]=>1100110
[8,3,4,5,6,2,1,7]=>1000110
[8,6,5,4,2,3,1,7]=>1111010
[8,5,6,4,2,3,1,7]=>1011010
[8,6,4,5,2,3,1,7]=>1101010
[8,4,5,6,2,3,1,7]=>1001010
[8,6,5,3,2,4,1,7]=>1111010
[8,6,5,2,3,4,1,7]=>1110010
[8,5,6,2,3,4,1,7]=>1010010
[8,6,4,3,2,5,1,7]=>1111010
[8,6,4,2,3,5,1,7]=>1110010
[8,6,3,2,4,5,1,7]=>1110010
[8,5,4,3,2,6,1,7]=>1111010
[8,4,3,5,2,6,1,7]=>1101010
[8,5,4,2,3,6,1,7]=>1110010
[8,4,5,2,3,6,1,7]=>1010010
[8,5,3,2,4,6,1,7]=>1110010
[8,5,2,3,4,6,1,7]=>1100010
[8,3,4,2,5,6,1,7]=>1010010
[8,3,2,4,5,6,1,7]=>1100010
[8,2,3,4,5,6,1,7]=>1000010
[8,6,5,4,3,1,2,7]=>1111100
[8,6,4,5,3,1,2,7]=>1101100
[8,6,5,3,4,1,2,7]=>1110100
[8,5,6,3,4,1,2,7]=>1010100
[8,6,3,4,5,1,2,7]=>1100100
[8,5,4,3,6,1,2,7]=>1110100
[8,4,5,3,6,1,2,7]=>1010100
[8,5,3,4,6,1,2,7]=>1100100
[8,4,3,5,6,1,2,7]=>1100100
[8,3,4,5,6,1,2,7]=>1000100
[8,6,5,4,2,1,3,7]=>1111100
[8,5,6,4,2,1,3,7]=>1011100
[8,6,4,5,2,1,3,7]=>1101100
[8,4,5,6,2,1,3,7]=>1001100
[8,6,5,4,1,2,3,7]=>1111000
[8,5,6,4,1,2,3,7]=>1011000
[8,6,4,5,1,2,3,7]=>1101000
[8,4,5,6,1,2,3,7]=>1001000
[8,6,5,3,2,1,4,7]=>1111100
[8,5,6,3,2,1,4,7]=>1011100
[8,6,5,2,3,1,4,7]=>1110100
[8,5,6,2,3,1,4,7]=>1010100
[8,5,6,3,1,2,4,7]=>1011000
[8,6,5,2,1,3,4,7]=>1111000
[8,5,6,2,1,3,4,7]=>1011000
[8,6,5,1,2,3,4,7]=>1110000
[8,5,6,1,2,3,4,7]=>1010000
[8,6,4,3,2,1,5,7]=>1111100
[8,6,3,4,2,1,5,7]=>1101100
[8,6,4,2,3,1,5,7]=>1110100
[8,6,3,2,4,1,5,7]=>1110100
[8,6,2,3,4,1,5,7]=>1100100
[8,6,4,3,1,2,5,7]=>1111000
[8,6,3,4,1,2,5,7]=>1101000
[8,6,4,2,1,3,5,7]=>1111000
[8,6,4,1,2,3,5,7]=>1110000
[8,6,1,2,3,4,5,7]=>1100000
[8,5,4,3,2,1,6,7]=>1111100
[8,4,5,3,2,1,6,7]=>1011100
[8,4,3,5,2,1,6,7]=>1101100
[8,3,4,5,2,1,6,7]=>1001100
[8,4,5,2,3,1,6,7]=>1010100
[8,5,2,3,4,1,6,7]=>1100100
[8,4,2,3,5,1,6,7]=>1100100
[8,2,3,4,5,1,6,7]=>1000100
[8,5,3,4,1,2,6,7]=>1101000
[8,3,4,5,1,2,6,7]=>1001000
[8,5,4,2,1,3,6,7]=>1111000
[8,5,4,1,2,3,6,7]=>1110000
[8,4,5,1,2,3,6,7]=>1010000
[8,5,3,2,1,4,6,7]=>1111000
[8,5,3,1,2,4,6,7]=>1110000
[8,5,2,1,3,4,6,7]=>1110000
[8,5,1,2,3,4,6,7]=>1100000
[8,4,3,2,1,5,6,7]=>1111000
[8,3,4,2,1,5,6,7]=>1011000
[8,4,2,3,1,5,6,7]=>1101000
[8,2,3,4,1,5,6,7]=>1001000
[8,3,4,1,2,5,6,7]=>1010000
[8,4,2,1,3,5,6,7]=>1110000
[8,4,1,2,3,5,6,7]=>1100000
[8,3,2,1,4,5,6,7]=>1110000
[8,2,3,1,4,5,6,7]=>1010000
[8,3,1,2,4,5,6,7]=>1100000
[8,2,1,3,4,5,6,7]=>1100000
[8,1,2,3,4,5,6,7]=>1000000
[7,6,5,4,3,2,1,8]=>1111110
[6,7,5,4,3,2,1,8]=>0111110
[7,5,6,4,3,2,1,8]=>1011110
[6,5,7,4,3,2,1,8]=>1011110
[5,6,7,4,3,2,1,8]=>0011110
[7,6,4,5,3,2,1,8]=>1101110
[6,7,4,5,3,2,1,8]=>0101110
[7,5,4,6,3,2,1,8]=>1101110
[7,4,5,6,3,2,1,8]=>1001110
[6,5,4,7,3,2,1,8]=>1101110
[5,6,4,7,3,2,1,8]=>0101110
[5,4,6,7,3,2,1,8]=>1001110
[4,5,6,7,3,2,1,8]=>0001110
[7,6,5,3,4,2,1,8]=>1110110
[6,7,5,3,4,2,1,8]=>0110110
[7,5,6,3,4,2,1,8]=>1010110
[6,5,7,3,4,2,1,8]=>1010110
[5,6,7,3,4,2,1,8]=>0010110
[7,6,4,3,5,2,1,8]=>1110110
[6,7,4,3,5,2,1,8]=>0110110
[7,6,3,4,5,2,1,8]=>1100110
[7,5,4,3,6,2,1,8]=>1110110
[7,4,5,3,6,2,1,8]=>1010110
[7,3,4,5,6,2,1,8]=>1000110
[6,5,4,3,7,2,1,8]=>1110110
[5,6,4,3,7,2,1,8]=>0110110
[5,4,6,3,7,2,1,8]=>1010110
[5,4,3,6,7,2,1,8]=>1100110
[3,4,5,6,7,2,1,8]=>0000110
[7,6,5,4,2,3,1,8]=>1111010
[6,7,5,4,2,3,1,8]=>0111010
[7,5,6,4,2,3,1,8]=>1011010
[5,6,7,4,2,3,1,8]=>0011010
[7,6,4,5,2,3,1,8]=>1101010
[6,7,4,5,2,3,1,8]=>0101010
[7,5,4,6,2,3,1,8]=>1101010
[7,4,5,6,2,3,1,8]=>1001010
[6,5,4,7,2,3,1,8]=>1101010
[5,6,4,7,2,3,1,8]=>0101010
[5,4,6,7,2,3,1,8]=>1001010
[4,5,6,7,2,3,1,8]=>0001010
[7,6,5,3,2,4,1,8]=>1111010
[6,5,7,3,2,4,1,8]=>1011010
[5,6,7,3,2,4,1,8]=>0011010
[7,6,5,2,3,4,1,8]=>1110010
[6,7,5,2,3,4,1,8]=>0110010
[7,5,6,2,3,4,1,8]=>1010010
[6,5,7,2,3,4,1,8]=>1010010
[5,6,7,2,3,4,1,8]=>0010010
[7,6,4,3,2,5,1,8]=>1111010
[6,7,4,3,2,5,1,8]=>0111010
[6,7,3,4,2,5,1,8]=>0101010
[7,6,4,2,3,5,1,8]=>1110010
[6,7,4,2,3,5,1,8]=>0110010
[7,6,3,2,4,5,1,8]=>1110010
[6,7,3,2,4,5,1,8]=>0110010
[7,6,2,3,4,5,1,8]=>1100010
[6,7,2,3,4,5,1,8]=>0100010
[7,5,4,3,2,6,1,8]=>1111010
[7,4,5,3,2,6,1,8]=>1011010
[7,5,3,4,2,6,1,8]=>1101010
[7,4,3,5,2,6,1,8]=>1101010
[7,5,4,2,3,6,1,8]=>1110010
[7,4,5,2,3,6,1,8]=>1010010
[7,5,3,2,4,6,1,8]=>1110010
[7,4,2,3,5,6,1,8]=>1100010
[7,2,3,4,5,6,1,8]=>1000010
[6,5,4,3,2,7,1,8]=>1111010
[5,6,4,3,2,7,1,8]=>0111010
[5,4,6,3,2,7,1,8]=>1011010
[5,6,3,4,2,7,1,8]=>0101010
[6,3,4,5,2,7,1,8]=>1001010
[5,4,3,6,2,7,1,8]=>1101010
[4,5,3,6,2,7,1,8]=>0101010
[5,3,4,6,2,7,1,8]=>1001010
[4,3,5,6,2,7,1,8]=>1001010
[3,4,5,6,2,7,1,8]=>0001010
[5,4,6,2,3,7,1,8]=>1010010
[6,5,3,2,4,7,1,8]=>1110010
[6,4,2,3,5,7,1,8]=>1100010
[6,3,2,4,5,7,1,8]=>1100010
[6,2,3,4,5,7,1,8]=>1000010
[5,4,3,2,6,7,1,8]=>1110010
[3,4,5,2,6,7,1,8]=>0010010
[5,4,2,3,6,7,1,8]=>1100010
[4,5,2,3,6,7,1,8]=>0100010
[5,2,3,4,6,7,1,8]=>1000010
[4,3,2,5,6,7,1,8]=>1100010
[3,4,2,5,6,7,1,8]=>0100010
[4,2,3,5,6,7,1,8]=>1000010
[3,2,4,5,6,7,1,8]=>1000010
[2,3,4,5,6,7,1,8]=>0000010
[7,6,5,4,3,1,2,8]=>1111100
[6,7,5,4,3,1,2,8]=>0111100
[7,5,6,4,3,1,2,8]=>1011100
[7,6,4,5,3,1,2,8]=>1101100
[7,4,5,6,3,1,2,8]=>1001100
[5,4,6,7,3,1,2,8]=>1001100
[4,5,6,7,3,1,2,8]=>0001100
[7,6,5,3,4,1,2,8]=>1110100
[7,5,6,3,4,1,2,8]=>1010100
[6,7,3,4,5,1,2,8]=>0100100
[7,5,3,4,6,1,2,8]=>1100100
[6,5,4,3,7,1,2,8]=>1110100
[5,6,3,4,7,1,2,8]=>0100100
[6,4,3,5,7,1,2,8]=>1100100
[6,3,4,5,7,1,2,8]=>1000100
[4,3,5,6,7,1,2,8]=>1000100
[3,4,5,6,7,1,2,8]=>0000100
[7,6,5,4,2,1,3,8]=>1111100
[6,5,7,4,2,1,3,8]=>1011100
[7,6,4,5,2,1,3,8]=>1101100
[7,5,4,6,2,1,3,8]=>1101100
[7,4,5,6,2,1,3,8]=>1001100
[5,4,6,7,2,1,3,8]=>1001100
[4,5,6,7,2,1,3,8]=>0001100
[7,6,5,4,1,2,3,8]=>1111000
[7,5,6,4,1,2,3,8]=>1011000
[5,6,7,4,1,2,3,8]=>0011000
[7,6,4,5,1,2,3,8]=>1101000
[7,5,4,6,1,2,3,8]=>1101000
[7,4,5,6,1,2,3,8]=>1001000
[5,4,6,7,1,2,3,8]=>1001000
[4,5,6,7,1,2,3,8]=>0001000
[7,6,5,3,2,1,4,8]=>1111100
[7,6,5,2,3,1,4,8]=>1110100
[6,7,5,2,3,1,4,8]=>0110100
[7,5,6,2,3,1,4,8]=>1010100
[6,5,7,2,3,1,4,8]=>1010100
[5,6,7,2,3,1,4,8]=>0010100
[7,5,6,3,1,2,4,8]=>1011000
[7,6,5,2,1,3,4,8]=>1111000
[6,7,5,2,1,3,4,8]=>0111000
[7,5,6,2,1,3,4,8]=>1011000
[5,6,7,2,1,3,4,8]=>0011000
[7,6,5,1,2,3,4,8]=>1110000
[6,7,5,1,2,3,4,8]=>0110000
[7,5,6,1,2,3,4,8]=>1010000
[6,5,7,1,2,3,4,8]=>1010000
[5,6,7,1,2,3,4,8]=>0010000
[7,6,4,3,2,1,5,8]=>1111100
[6,7,4,3,2,1,5,8]=>0111100
[7,6,3,4,2,1,5,8]=>1101100
[7,6,3,2,4,1,5,8]=>1110100
[6,7,3,2,4,1,5,8]=>0110100
[7,6,2,3,4,1,5,8]=>1100100
[6,7,2,3,4,1,5,8]=>0100100
[7,6,4,3,1,2,5,8]=>1111000
[6,7,3,4,1,2,5,8]=>0101000
[7,6,4,2,1,3,5,8]=>1111000
[7,6,3,2,1,4,5,8]=>1111000
[6,7,3,2,1,4,5,8]=>0111000
[7,6,2,3,1,4,5,8]=>1101000
[6,7,2,3,1,4,5,8]=>0101000
[6,7,3,1,2,4,5,8]=>0110000
[7,6,1,2,3,4,5,8]=>1100000
[6,7,1,2,3,4,5,8]=>0100000
[7,5,4,3,2,1,6,8]=>1111100
[7,4,5,3,2,1,6,8]=>1011100
[7,4,3,5,2,1,6,8]=>1101100
[7,3,4,5,2,1,6,8]=>1001100
[7,5,4,2,3,1,6,8]=>1110100
[7,5,3,2,4,1,6,8]=>1110100
[7,5,2,3,4,1,6,8]=>1100100
[7,4,2,3,5,1,6,8]=>1100100
[7,2,3,4,5,1,6,8]=>1000100
[7,5,4,3,1,2,6,8]=>1111000
[7,5,3,4,1,2,6,8]=>1101000
[7,4,5,2,1,3,6,8]=>1011000
[7,4,5,1,2,3,6,8]=>1010000
[7,5,3,2,1,4,6,8]=>1111000
[7,5,2,3,1,4,6,8]=>1101000
[7,5,3,1,2,4,6,8]=>1110000
[7,5,1,2,3,4,6,8]=>1100000
[7,4,3,2,1,5,6,8]=>1111000
[7,2,3,4,1,5,6,8]=>1001000
[7,4,3,1,2,5,6,8]=>1110000
[7,3,4,1,2,5,6,8]=>1010000
[7,4,1,2,3,5,6,8]=>1100000
[7,3,2,1,4,5,6,8]=>1110000
[7,2,3,1,4,5,6,8]=>1010000
[7,3,1,2,4,5,6,8]=>1100000
[7,2,1,3,4,5,6,8]=>1100000
[7,1,2,3,4,5,6,8]=>1000000
[6,5,4,3,2,1,7,8]=>1111100
[5,6,4,3,2,1,7,8]=>0111100
[5,4,6,3,2,1,7,8]=>1011100
[4,5,6,3,2,1,7,8]=>0011100
[6,5,3,4,2,1,7,8]=>1101100
[5,6,3,4,2,1,7,8]=>0101100
[5,4,3,6,2,1,7,8]=>1101100
[3,4,5,6,2,1,7,8]=>0001100
[5,4,6,2,3,1,7,8]=>1010100
[5,6,3,2,4,1,7,8]=>0110100
[6,5,2,3,4,1,7,8]=>1100100
[5,6,2,3,4,1,7,8]=>0100100
[6,4,3,2,5,1,7,8]=>1110100
[6,2,3,4,5,1,7,8]=>1000100
[5,4,3,2,6,1,7,8]=>1110100
[4,5,3,2,6,1,7,8]=>0110100
[4,3,5,2,6,1,7,8]=>1010100
[3,4,5,2,6,1,7,8]=>0010100
[5,3,2,4,6,1,7,8]=>1100100
[5,2,3,4,6,1,7,8]=>1000100
[4,3,2,5,6,1,7,8]=>1100100
[3,4,2,5,6,1,7,8]=>0100100
[4,2,3,5,6,1,7,8]=>1000100
[3,2,4,5,6,1,7,8]=>1000100
[2,3,4,5,6,1,7,8]=>0000100
[6,5,4,3,1,2,7,8]=>1111000
[6,4,5,3,1,2,7,8]=>1011000
[5,4,6,3,1,2,7,8]=>1011000
[5,6,3,4,1,2,7,8]=>0101000
[5,4,3,6,1,2,7,8]=>1101000
[4,3,5,6,1,2,7,8]=>1001000
[3,4,5,6,1,2,7,8]=>0001000
[6,5,4,2,1,3,7,8]=>1111000
[5,6,4,2,1,3,7,8]=>0111000
[6,4,5,2,1,3,7,8]=>1011000
[4,5,6,2,1,3,7,8]=>0011000
[6,5,4,1,2,3,7,8]=>1110000
[4,5,6,1,2,3,7,8]=>0010000
[6,5,3,2,1,4,7,8]=>1111000
[5,6,3,2,1,4,7,8]=>0111000
[5,6,2,1,3,4,7,8]=>0110000
[6,4,3,2,1,5,7,8]=>1111000
[6,3,4,2,1,5,7,8]=>1011000
[6,4,3,1,2,5,7,8]=>1110000
[6,4,2,1,3,5,7,8]=>1110000
[6,4,1,2,3,5,7,8]=>1100000
[6,3,2,1,4,5,7,8]=>1110000
[6,2,3,1,4,5,7,8]=>1010000
[6,3,1,2,4,5,7,8]=>1100000
[6,2,1,3,4,5,7,8]=>1100000
[6,1,2,3,4,5,7,8]=>1000000
[5,4,3,2,1,6,7,8]=>1111000
[4,5,3,2,1,6,7,8]=>0111000
[5,3,4,2,1,6,7,8]=>1011000
[4,3,5,2,1,6,7,8]=>1011000
[3,4,5,2,1,6,7,8]=>0011000
[5,4,2,3,1,6,7,8]=>1101000
[4,5,2,3,1,6,7,8]=>0101000
[5,3,2,4,1,6,7,8]=>1101000
[5,2,3,4,1,6,7,8]=>1001000
[4,3,2,5,1,6,7,8]=>1101000
[3,4,2,5,1,6,7,8]=>0101000
[4,2,3,5,1,6,7,8]=>1001000
[3,2,4,5,1,6,7,8]=>1001000
[2,3,4,5,1,6,7,8]=>0001000
[5,4,3,1,2,6,7,8]=>1110000
[5,3,4,1,2,6,7,8]=>1010000
[4,3,5,1,2,6,7,8]=>1010000
[3,4,5,1,2,6,7,8]=>0010000
[5,4,2,1,3,6,7,8]=>1110000
[4,5,2,1,3,6,7,8]=>0110000
[5,4,1,2,3,6,7,8]=>1100000
[4,5,1,2,3,6,7,8]=>0100000
[5,3,2,1,4,6,7,8]=>1110000
[5,2,3,1,4,6,7,8]=>1010000
[5,3,1,2,4,6,7,8]=>1100000
[5,2,1,3,4,6,7,8]=>1100000
[5,1,2,3,4,6,7,8]=>1000000
[4,3,2,1,5,6,7,8]=>1110000
[3,4,2,1,5,6,7,8]=>0110000
[4,2,3,1,5,6,7,8]=>1010000
[3,2,4,1,5,6,7,8]=>1010000
[2,3,4,1,5,6,7,8]=>0010000
[4,3,1,2,5,6,7,8]=>1100000
[3,4,1,2,5,6,7,8]=>0100000
[4,2,1,3,5,6,7,8]=>1100000
[4,1,2,3,5,6,7,8]=>1000000
[3,2,1,4,5,6,7,8]=>1100000
[2,3,1,4,5,6,7,8]=>0100000
[3,1,2,4,5,6,7,8]=>1000000
[2,1,3,4,5,6,7,8]=>1000000
[1,2,3,4,5,6,7,8]=>0000000
[6,8,7,5,4,3,2,1]=>0111111
[5,8,7,6,4,3,2,1]=>0111111
[5,7,8,6,4,3,2,1]=>0011111
[6,5,8,7,4,3,2,1]=>1011111
[5,6,8,7,4,3,2,1]=>0011111
[5,7,6,8,4,3,2,1]=>0101111
[4,8,7,6,5,3,2,1]=>0111111
[4,7,8,6,5,3,2,1]=>0011111
[4,6,8,7,5,3,2,1]=>0011111
[4,7,6,8,5,3,2,1]=>0101111
[4,6,7,8,5,3,2,1]=>0001111
[5,4,7,8,6,3,2,1]=>1001111
[4,5,8,7,6,3,2,1]=>0011111
[4,5,7,8,6,3,2,1]=>0001111
[6,5,4,8,7,3,2,1]=>1101111
[5,6,4,8,7,3,2,1]=>0101111
[4,6,5,8,7,3,2,1]=>0101111
[4,5,6,8,7,3,2,1]=>0001111
[5,7,6,4,8,3,2,1]=>0110111
[4,7,6,5,8,3,2,1]=>0110111
[4,6,7,5,8,3,2,1]=>0010111
[5,4,7,6,8,3,2,1]=>1010111
[4,5,7,6,8,3,2,1]=>0010111
[4,6,5,7,8,3,2,1]=>0100111
[3,8,7,6,5,4,2,1]=>0111111
[3,7,8,6,5,4,2,1]=>0011111
[3,6,8,7,5,4,2,1]=>0011111
[3,7,6,8,5,4,2,1]=>0101111
[3,5,8,7,6,4,2,1]=>0011111
[3,5,7,8,6,4,2,1]=>0001111
[3,5,6,8,7,4,2,1]=>0001111
[3,7,6,5,8,4,2,1]=>0110111
[3,6,7,5,8,4,2,1]=>0010111
[3,5,7,6,8,4,2,1]=>0010111
[3,5,6,7,8,4,2,1]=>0000111
[4,3,8,7,6,5,2,1]=>1011111
[4,3,7,8,6,5,2,1]=>1001111
[4,3,6,7,8,5,2,1]=>1000111
[3,4,8,7,6,5,2,1]=>0011111
[3,4,6,7,8,5,2,1]=>0000111
[5,4,3,8,7,6,2,1]=>1101111
[5,4,3,7,8,6,2,1]=>1100111
[3,5,4,7,8,6,2,1]=>0100111
[3,4,5,8,7,6,2,1]=>0001111
[3,4,5,7,8,6,2,1]=>0000111
[6,5,4,3,8,7,2,1]=>1110111
[5,6,4,3,8,7,2,1]=>0110111
[4,5,6,3,8,7,2,1]=>0010111
[4,3,6,5,8,7,2,1]=>1010111
[5,4,3,6,8,7,2,1]=>1100111
[4,5,3,6,8,7,2,1]=>0100111
[3,4,5,6,8,7,2,1]=>0000111
[5,7,6,4,3,8,2,1]=>0111011
[4,7,6,5,3,8,2,1]=>0111011
[5,4,7,6,3,8,2,1]=>1011011
[3,7,6,5,4,8,2,1]=>0111011
[3,5,7,6,4,8,2,1]=>0011011
[3,5,6,7,4,8,2,1]=>0001011
[4,3,7,6,5,8,2,1]=>1011011
[3,4,7,6,5,8,2,1]=>0011011
[3,4,6,7,5,8,2,1]=>0001011
[4,5,3,7,6,8,2,1]=>0101011
[3,5,4,7,6,8,2,1]=>0101011
[4,3,5,7,6,8,2,1]=>1001011
[3,4,5,7,6,8,2,1]=>0001011
[3,6,5,4,7,8,2,1]=>0110011
[3,5,6,4,7,8,2,1]=>0010011
[4,3,6,5,7,8,2,1]=>1010011
[3,4,6,5,7,8,2,1]=>0010011
[3,5,4,6,7,8,2,1]=>0100011
[2,8,7,6,5,4,3,1]=>0111111
[2,7,8,6,5,4,3,1]=>0011111
[2,6,8,7,5,4,3,1]=>0011111
[2,7,6,8,5,4,3,1]=>0101111
[2,6,7,8,5,4,3,1]=>0001111
[2,5,8,7,6,4,3,1]=>0011111
[2,6,7,5,8,4,3,1]=>0010111
[2,6,5,7,8,4,3,1]=>0100111
[2,5,6,7,8,4,3,1]=>0000111
[2,4,8,7,6,5,3,1]=>0011111
[2,4,7,8,6,5,3,1]=>0001111
[2,4,6,8,7,5,3,1]=>0001111
[2,4,6,7,8,5,3,1]=>0000111
[2,5,4,8,7,6,3,1]=>0101111
[2,5,4,7,8,6,3,1]=>0100111
[2,4,5,7,8,6,3,1]=>0000111
[2,6,5,4,8,7,3,1]=>0110111
[2,5,6,4,8,7,3,1]=>0010111
[2,4,6,5,8,7,3,1]=>0010111
[2,4,5,6,8,7,3,1]=>0000111
[2,7,6,5,4,8,3,1]=>0111011
[2,6,7,5,4,8,3,1]=>0011011
[2,5,6,7,4,8,3,1]=>0001011
[2,4,7,6,5,8,3,1]=>0011011
[2,4,6,7,5,8,3,1]=>0001011
[2,5,4,7,6,8,3,1]=>0101011
[2,6,5,4,7,8,3,1]=>0110011
[2,5,6,4,7,8,3,1]=>0010011
[2,4,6,5,7,8,3,1]=>0010011
[2,5,4,6,7,8,3,1]=>0100011
[2,4,5,6,7,8,3,1]=>0000011
[3,2,8,7,6,5,4,1]=>1011111
[3,2,6,8,7,5,4,1]=>1001111
[3,2,5,7,8,6,4,1]=>1000111
[3,2,6,5,8,7,4,1]=>1010111
[3,2,5,7,6,8,4,1]=>1001011
[3,2,5,6,7,8,4,1]=>1000011
[2,3,8,7,6,5,4,1]=>0011111
[2,3,6,7,8,5,4,1]=>0000111
[2,3,5,7,8,6,4,1]=>0000111
[2,3,6,5,8,7,4,1]=>0010111
[2,3,5,6,8,7,4,1]=>0000111
[2,3,7,6,5,8,4,1]=>0011011
[2,3,5,7,6,8,4,1]=>0001011
[2,3,5,6,7,8,4,1]=>0000011
[4,3,2,8,7,6,5,1]=>1101111
[4,3,2,7,8,6,5,1]=>1100111
[3,4,2,8,7,6,5,1]=>0101111
[3,4,2,7,8,6,5,1]=>0100111
[2,4,3,8,7,6,5,1]=>0101111
[2,4,3,6,8,7,5,1]=>0100111
[2,4,3,6,7,8,5,1]=>0100011
[3,2,4,8,7,6,5,1]=>1001111
[3,2,4,7,8,6,5,1]=>1000111
[2,3,4,8,7,6,5,1]=>0001111
[2,3,4,7,8,6,5,1]=>0000111
[2,3,4,6,8,7,5,1]=>0000111
[2,3,4,7,6,8,5,1]=>0001011
[2,3,4,6,7,8,5,1]=>0000011
[5,4,3,2,8,7,6,1]=>1110111
[5,4,3,2,7,8,6,1]=>1110011
[3,5,4,2,7,8,6,1]=>0110011
[3,4,5,2,7,8,6,1]=>0010011
[2,5,4,3,8,7,6,1]=>0110111
[2,5,4,3,7,8,6,1]=>0110011
[2,4,5,3,8,7,6,1]=>0010111
[2,4,5,3,7,8,6,1]=>0010011
[3,2,5,4,7,8,6,1]=>1010011
[2,3,5,4,8,7,6,1]=>0010111
[2,3,5,4,7,8,6,1]=>0010011
[4,3,2,5,8,7,6,1]=>1100111
[4,3,2,5,7,8,6,1]=>1100011
[3,4,2,5,8,7,6,1]=>0100111
[3,4,2,5,7,8,6,1]=>0100011
[2,4,3,5,8,7,6,1]=>0100111
[3,2,4,5,7,8,6,1]=>1000011
[2,3,4,5,8,7,6,1]=>0000111
[2,3,4,5,7,8,6,1]=>0000011
[6,5,4,3,2,8,7,1]=>1111011
[4,6,5,3,2,8,7,1]=>0111011
[5,4,6,3,2,8,7,1]=>1011011
[4,5,6,3,2,8,7,1]=>0011011
[3,6,5,4,2,8,7,1]=>0111011
[3,5,6,4,2,8,7,1]=>0011011
[4,3,6,5,2,8,7,1]=>1011011
[5,4,3,6,2,8,7,1]=>1101011
[4,5,3,6,2,8,7,1]=>0101011
[3,5,4,6,2,8,7,1]=>0101011
[3,4,5,6,2,8,7,1]=>0001011
[2,6,5,4,3,8,7,1]=>0111011
[2,4,6,5,3,8,7,1]=>0011011
[2,4,5,6,3,8,7,1]=>0001011
[3,2,6,5,4,8,7,1]=>1011011
[2,3,5,6,4,8,7,1]=>0001011
[4,3,2,6,5,8,7,1]=>1101011
[2,4,3,6,5,8,7,1]=>0101011
[3,2,4,6,5,8,7,1]=>1001011
[2,3,4,6,5,8,7,1]=>0001011
[5,4,3,2,6,8,7,1]=>1110011
[4,5,3,2,6,8,7,1]=>0110011
[2,5,4,3,6,8,7,1]=>0110011
[2,4,5,3,6,8,7,1]=>0010011
[3,2,5,4,6,8,7,1]=>1010011
[4,3,2,5,6,8,7,1]=>1100011
[3,4,2,5,6,8,7,1]=>0100011
[2,4,3,5,6,8,7,1]=>0100011
[3,2,4,5,6,8,7,1]=>1000011
[2,3,4,5,6,8,7,1]=>0000011
[5,7,6,4,3,2,8,1]=>0111101
[4,7,6,5,3,2,8,1]=>0111101
[4,6,7,5,3,2,8,1]=>0011101
[4,6,5,7,3,2,8,1]=>0101101
[3,5,7,6,4,2,8,1]=>0011101
[3,5,6,7,4,2,8,1]=>0001101
[4,3,7,6,5,2,8,1]=>1011101
[4,3,6,7,5,2,8,1]=>1001101
[3,4,7,6,5,2,8,1]=>0011101
[3,4,6,7,5,2,8,1]=>0001101
[5,4,3,7,6,2,8,1]=>1101101
[4,5,3,7,6,2,8,1]=>0101101
[3,5,4,7,6,2,8,1]=>0101101
[3,4,5,7,6,2,8,1]=>0001101
[4,6,5,3,7,2,8,1]=>0110101
[3,6,5,4,7,2,8,1]=>0110101
[3,5,6,4,7,2,8,1]=>0010101
[4,3,6,5,7,2,8,1]=>1010101
[3,4,6,5,7,2,8,1]=>0010101
[3,5,4,6,7,2,8,1]=>0100101
[2,7,6,5,4,3,8,1]=>0111101
[2,6,5,7,4,3,8,1]=>0101101
[2,5,6,7,4,3,8,1]=>0001101
[2,4,6,7,5,3,8,1]=>0001101
[2,5,4,7,6,3,8,1]=>0101101
[2,4,6,5,7,3,8,1]=>0010101
[2,5,4,6,7,3,8,1]=>0100101
[2,4,5,6,7,3,8,1]=>0000101
[3,2,7,6,5,4,8,1]=>1011101
[3,2,6,7,5,4,8,1]=>1001101
[3,2,5,7,6,4,8,1]=>1001101
[3,2,6,5,7,4,8,1]=>1010101
[3,2,5,6,7,4,8,1]=>1000101
[2,3,7,6,5,4,8,1]=>0011101
[2,3,5,7,6,4,8,1]=>0001101
[2,3,5,6,7,4,8,1]=>0000101
[4,3,2,7,6,5,8,1]=>1101101
[4,3,2,6,7,5,8,1]=>1100101
[3,4,2,7,6,5,8,1]=>0101101
[3,4,2,6,7,5,8,1]=>0100101
[2,4,3,7,6,5,8,1]=>0101101
[2,4,3,6,7,5,8,1]=>0100101
[3,2,4,7,6,5,8,1]=>1001101
[2,3,4,7,6,5,8,1]=>0001101
[2,3,4,6,7,5,8,1]=>0000101
[5,4,3,2,7,6,8,1]=>1110101
[3,5,4,2,7,6,8,1]=>0110101
[4,3,5,2,7,6,8,1]=>1010101
[3,4,5,2,7,6,8,1]=>0010101
[2,5,4,3,7,6,8,1]=>0110101
[3,2,5,4,7,6,8,1]=>1010101
[2,3,5,4,7,6,8,1]=>0010101
[4,3,2,5,7,6,8,1]=>1100101
[3,4,2,5,7,6,8,1]=>0100101
[2,4,3,5,7,6,8,1]=>0100101
[3,2,4,5,7,6,8,1]=>1000101
[2,3,4,5,7,6,8,1]=>0000101
[3,6,5,4,2,7,8,1]=>0111001
[3,5,6,4,2,7,8,1]=>0011001
[3,4,6,5,2,7,8,1]=>0011001
[3,5,4,6,2,7,8,1]=>0101001
[2,6,5,4,3,7,8,1]=>0111001
[2,5,6,4,3,7,8,1]=>0011001
[2,4,6,5,3,7,8,1]=>0011001
[2,5,4,6,3,7,8,1]=>0101001
[2,4,5,6,3,7,8,1]=>0001001
[3,2,5,6,4,7,8,1]=>1001001
[2,3,6,5,4,7,8,1]=>0011001
[2,3,5,6,4,7,8,1]=>0001001
[4,3,2,6,5,7,8,1]=>1101001
[3,4,2,6,5,7,8,1]=>0101001
[2,4,3,6,5,7,8,1]=>0101001
[2,3,4,6,5,7,8,1]=>0001001
[3,5,4,2,6,7,8,1]=>0110001
[2,5,4,3,6,7,8,1]=>0110001
[2,4,5,3,6,7,8,1]=>0010001
[3,2,5,4,6,7,8,1]=>1010001
[2,3,5,4,6,7,8,1]=>0010001
[2,4,3,5,6,7,8,1]=>0100001
[1,8,7,6,5,4,3,2]=>0111111
[1,7,8,6,5,4,3,2]=>0011111
[1,6,8,7,5,4,3,2]=>0011111
[1,7,6,8,5,4,3,2]=>0101111
[1,6,7,8,5,4,3,2]=>0001111
[1,5,8,7,6,4,3,2]=>0011111
[1,6,5,8,7,4,3,2]=>0101111
[1,7,6,5,8,4,3,2]=>0110111
[1,6,7,5,8,4,3,2]=>0010111
[1,5,7,6,8,4,3,2]=>0010111
[1,6,5,7,8,4,3,2]=>0100111
[1,5,6,7,8,4,3,2]=>0000111
[1,4,8,7,6,5,3,2]=>0011111
[1,4,7,8,6,5,3,2]=>0001111
[1,4,6,8,7,5,3,2]=>0001111
[1,4,6,7,8,5,3,2]=>0000111
[1,5,4,7,8,6,3,2]=>0100111
[1,4,5,8,7,6,3,2]=>0001111
[1,4,5,7,8,6,3,2]=>0000111
[1,6,5,4,8,7,3,2]=>0110111
[1,4,6,5,8,7,3,2]=>0010111
[1,7,6,5,4,8,3,2]=>0111011
[1,4,7,6,5,8,3,2]=>0011011
[1,4,6,7,5,8,3,2]=>0001011
[1,6,5,4,7,8,3,2]=>0110011
[1,5,6,4,7,8,3,2]=>0010011
[1,5,4,6,7,8,3,2]=>0100011
[1,4,5,6,7,8,3,2]=>0000011
[1,3,8,7,6,5,4,2]=>0011111
[1,3,7,8,6,5,4,2]=>0001111
[1,3,6,8,7,5,4,2]=>0001111
[1,3,6,7,8,5,4,2]=>0000111
[1,3,5,8,7,6,4,2]=>0001111
[1,3,5,7,8,6,4,2]=>0000111
[1,3,5,6,8,7,4,2]=>0000111
[1,3,6,7,5,8,4,2]=>0001011
[1,3,5,7,6,8,4,2]=>0001011
[1,3,6,5,7,8,4,2]=>0010011
[1,3,5,6,7,8,4,2]=>0000011
[1,4,3,8,7,6,5,2]=>0101111
[1,4,3,7,8,6,5,2]=>0100111
[1,4,3,6,8,7,5,2]=>0100111
[1,4,3,7,6,8,5,2]=>0101011
[1,4,3,6,7,8,5,2]=>0100011
[1,3,4,8,7,6,5,2]=>0001111
[1,3,4,7,6,8,5,2]=>0001011
[1,3,4,6,7,8,5,2]=>0000011
[1,5,4,3,8,7,6,2]=>0110111
[1,4,5,3,8,7,6,2]=>0010111
[1,4,5,3,7,8,6,2]=>0010011
[1,3,5,4,8,7,6,2]=>0010111
[1,3,5,4,7,8,6,2]=>0010011
[1,4,3,5,8,7,6,2]=>0100111
[1,4,3,5,7,8,6,2]=>0100011
[1,3,4,5,8,7,6,2]=>0000111
[1,3,4,5,7,8,6,2]=>0000011
[1,6,5,4,3,8,7,2]=>0111011
[1,5,6,4,3,8,7,2]=>0011011
[1,4,6,5,3,8,7,2]=>0011011
[1,4,5,6,3,8,7,2]=>0001011
[1,3,6,5,4,8,7,2]=>0011011
[1,4,3,6,5,8,7,2]=>0101011
[1,5,4,3,6,8,7,2]=>0110011
[1,4,5,3,6,8,7,2]=>0010011
[1,3,4,5,6,8,7,2]=>0000011
[1,7,6,5,4,3,8,2]=>0111101
[1,6,7,5,4,3,8,2]=>0011101
[1,6,5,7,4,3,8,2]=>0101101
[1,4,6,7,5,3,8,2]=>0001101
[1,5,6,4,7,3,8,2]=>0010101
[1,4,6,5,7,3,8,2]=>0010101
[1,5,4,6,7,3,8,2]=>0100101
[1,4,5,6,7,3,8,2]=>0000101
[1,3,5,7,6,4,8,2]=>0001101
[1,3,6,5,7,4,8,2]=>0010101
[1,3,5,6,7,4,8,2]=>0000101
[1,4,3,6,7,5,8,2]=>0100101
[1,3,4,7,6,5,8,2]=>0001101
[1,3,4,6,7,5,8,2]=>0000101
[1,3,5,4,7,6,8,2]=>0010101
[1,3,4,5,7,6,8,2]=>0000101
[1,6,5,4,3,7,8,2]=>0111001
[1,5,4,6,3,7,8,2]=>0101001
[1,3,5,6,4,7,8,2]=>0001001
[1,4,3,6,5,7,8,2]=>0101001
[1,3,4,6,5,7,8,2]=>0001001
[1,5,4,3,6,7,8,2]=>0110001
[1,4,5,3,6,7,8,2]=>0010001
[1,3,5,4,6,7,8,2]=>0010001
[1,4,3,5,6,7,8,2]=>0100001
[1,3,4,5,6,7,8,2]=>0000001
[2,1,8,7,6,5,4,3]=>1011111
[2,1,7,8,6,5,4,3]=>1001111
[2,1,6,8,7,5,4,3]=>1001111
[2,1,7,6,8,5,4,3]=>1010111
[2,1,6,7,8,5,4,3]=>1000111
[2,1,5,8,7,6,4,3]=>1001111
[2,1,5,7,8,6,4,3]=>1000111
[2,1,6,5,8,7,4,3]=>1010111
[2,1,5,6,8,7,4,3]=>1000111
[2,1,7,6,5,8,4,3]=>1011011
[2,1,6,7,5,8,4,3]=>1001011
[2,1,5,7,6,8,4,3]=>1001011
[2,1,6,5,7,8,4,3]=>1010011
[2,1,5,6,7,8,4,3]=>1000011
[2,1,4,8,7,6,5,3]=>1001111
[2,1,4,7,8,6,5,3]=>1000111
[2,1,4,6,8,7,5,3]=>1000111
[2,1,4,7,6,8,5,3]=>1001011
[2,1,4,6,7,8,5,3]=>1000011
[2,1,5,4,8,7,6,3]=>1010111
[2,1,5,4,7,8,6,3]=>1010011
[2,1,4,5,8,7,6,3]=>1000111
[2,1,4,5,7,8,6,3]=>1000011
[2,1,6,5,4,8,7,3]=>1011011
[2,1,5,6,4,8,7,3]=>1001011
[2,1,4,6,5,8,7,3]=>1001011
[2,1,5,4,6,8,7,3]=>1010011
[2,1,4,5,6,8,7,3]=>1000011
[2,1,7,6,5,4,8,3]=>1011101
[2,1,6,7,5,4,8,3]=>1001101
[2,1,5,7,6,4,8,3]=>1001101
[2,1,6,5,7,4,8,3]=>1010101
[2,1,5,6,7,4,8,3]=>1000101
[2,1,4,7,6,5,8,3]=>1001101
[2,1,4,6,7,5,8,3]=>1000101
[2,1,5,4,7,6,8,3]=>1010101
[2,1,5,6,4,7,8,3]=>1001001
[2,1,5,4,6,7,8,3]=>1010001
[2,1,4,5,6,7,8,3]=>1000001
[1,2,8,7,6,5,4,3]=>0011111
[1,2,7,8,6,5,4,3]=>0001111
[1,2,7,6,8,5,4,3]=>0010111
[1,2,6,7,8,5,4,3]=>0000111
[1,2,5,8,7,6,4,3]=>0001111
[1,2,6,5,8,7,4,3]=>0010111
[1,2,5,6,8,7,4,3]=>0000111
[1,2,7,6,5,8,4,3]=>0011011
[1,2,5,7,6,8,4,3]=>0001011
[1,2,6,5,7,8,4,3]=>0010011
[1,2,5,6,7,8,4,3]=>0000011
[1,2,4,8,7,6,5,3]=>0001111
[1,2,4,7,8,6,5,3]=>0000111
[1,2,4,6,8,7,5,3]=>0000111
[1,2,4,7,6,8,5,3]=>0001011
[1,2,4,6,7,8,5,3]=>0000011
[1,2,5,4,8,7,6,3]=>0010111
[1,2,4,5,8,7,6,3]=>0000111
[1,2,4,5,7,8,6,3]=>0000011
[1,2,6,5,4,8,7,3]=>0011011
[1,2,5,4,6,8,7,3]=>0010011
[1,2,4,5,6,8,7,3]=>0000011
[1,2,7,6,5,4,8,3]=>0011101
[1,2,5,7,6,4,8,3]=>0001101
[1,2,5,6,7,4,8,3]=>0000101
[1,2,4,7,6,5,8,3]=>0001101
[1,2,5,4,7,6,8,3]=>0010101
[1,2,6,5,4,7,8,3]=>0011001
[1,2,5,6,4,7,8,3]=>0001001
[1,2,4,6,5,7,8,3]=>0001001
[1,2,5,4,6,7,8,3]=>0010001
[1,2,4,5,6,7,8,3]=>0000001
[3,2,1,8,7,6,5,4]=>1101111
[3,2,1,7,8,6,5,4]=>1100111
[3,2,1,6,8,7,5,4]=>1100111
[3,2,1,7,6,8,5,4]=>1101011
[3,2,1,6,7,8,5,4]=>1100011
[3,2,1,5,8,7,6,4]=>1100111
[3,2,1,5,7,8,6,4]=>1100011
[3,2,1,6,5,8,7,4]=>1101011
[3,2,1,5,6,8,7,4]=>1100011
[3,2,1,7,6,5,8,4]=>1101101
[3,2,1,6,7,5,8,4]=>1100101
[3,2,1,5,7,6,8,4]=>1100101
[3,2,1,6,5,7,8,4]=>1101001
[3,2,1,5,6,7,8,4]=>1100001
[2,3,1,8,7,6,5,4]=>0101111
[2,3,1,7,8,6,5,4]=>0100111
[2,3,1,6,8,7,5,4]=>0100111
[2,3,1,7,6,8,5,4]=>0101011
[2,3,1,6,7,8,5,4]=>0100011
[2,3,1,5,7,8,6,4]=>0100011
[2,3,1,6,5,8,7,4]=>0101011
[2,3,1,7,6,5,8,4]=>0101101
[2,3,1,6,7,5,8,4]=>0100101
[2,3,1,5,7,6,8,4]=>0100101
[2,3,1,5,6,7,8,4]=>0100001
[1,3,2,8,7,6,5,4]=>0101111
[1,3,2,6,8,7,5,4]=>0100111
[1,3,2,7,6,8,5,4]=>0101011
[1,3,2,6,7,8,5,4]=>0100011
[1,3,2,5,8,7,6,4]=>0100111
[1,3,2,5,7,8,6,4]=>0100011
[1,3,2,6,5,8,7,4]=>0101011
[1,3,2,5,6,8,7,4]=>0100011
[1,3,2,7,6,5,8,4]=>0101101
[1,3,2,6,7,5,8,4]=>0100101
[1,3,2,5,7,6,8,4]=>0100101
[1,3,2,6,5,7,8,4]=>0101001
[1,3,2,5,6,7,8,4]=>0100001
[2,1,3,8,7,6,5,4]=>1001111
[2,1,3,7,8,6,5,4]=>1000111
[2,1,3,6,8,7,5,4]=>1000111
[2,1,3,6,7,8,5,4]=>1000011
[2,1,3,6,5,8,7,4]=>1001011
[2,1,3,5,7,6,8,4]=>1000101
[2,1,3,5,6,7,8,4]=>1000001
[1,2,3,8,7,6,5,4]=>0001111
[1,2,3,7,8,6,5,4]=>0000111
[1,2,3,6,8,7,5,4]=>0000111
[1,2,3,7,6,8,5,4]=>0001011
[1,2,3,6,7,8,5,4]=>0000011
[1,2,3,5,8,7,6,4]=>0000111
[1,2,3,5,7,8,6,4]=>0000011
[1,2,3,6,5,8,7,4]=>0001011
[1,2,3,5,6,8,7,4]=>0000011
[1,2,3,7,6,5,8,4]=>0001101
[1,2,3,6,7,5,8,4]=>0000101
[1,2,3,5,7,6,8,4]=>0000101
[1,2,3,6,5,7,8,4]=>0001001
[1,2,3,5,6,7,8,4]=>0000001
[4,3,2,1,8,7,6,5]=>1110111
[4,3,2,1,7,8,6,5]=>1110011
[4,3,2,1,6,8,7,5]=>1110011
[4,3,2,1,7,6,8,5]=>1110101
[4,3,2,1,6,7,8,5]=>1110001
[3,4,2,1,8,7,6,5]=>0110111
[3,4,2,1,7,8,6,5]=>0110011
[3,4,2,1,6,8,7,5]=>0110011
[3,4,2,1,7,6,8,5]=>0110101
[3,4,2,1,6,7,8,5]=>0110001
[2,4,3,1,8,7,6,5]=>0110111
[2,4,3,1,7,8,6,5]=>0110011
[2,4,3,1,6,8,7,5]=>0110011
[2,4,3,1,7,6,8,5]=>0110101
[2,4,3,1,6,7,8,5]=>0110001
[3,2,4,1,8,7,6,5]=>1010111
[3,2,4,1,7,8,6,5]=>1010011
[3,2,4,1,6,8,7,5]=>1010011
[3,2,4,1,7,6,8,5]=>1010101
[3,2,4,1,6,7,8,5]=>1010001
[2,3,4,1,8,7,6,5]=>0010111
[2,3,4,1,7,8,6,5]=>0010011
[2,3,4,1,6,8,7,5]=>0010011
[2,3,4,1,7,6,8,5]=>0010101
[2,3,4,1,6,7,8,5]=>0010001
[1,4,3,2,8,7,6,5]=>0110111
[1,4,3,2,6,8,7,5]=>0110011
[1,4,3,2,7,6,8,5]=>0110101
[1,4,3,2,6,7,8,5]=>0110001
[1,3,4,2,8,7,6,5]=>0010111
[1,3,4,2,7,8,6,5]=>0010011
[1,3,4,2,6,8,7,5]=>0010011
[1,3,4,2,7,6,8,5]=>0010101
[1,3,4,2,6,7,8,5]=>0010001
[2,1,4,3,8,7,6,5]=>1010111
[2,1,4,3,7,8,6,5]=>1010011
[2,1,4,3,6,8,7,5]=>1010011
[2,1,4,3,7,6,8,5]=>1010101
[2,1,4,3,6,7,8,5]=>1010001
[1,2,4,3,8,7,6,5]=>0010111
[1,2,4,3,7,8,6,5]=>0010011
[1,2,4,3,6,8,7,5]=>0010011
[1,2,4,3,7,6,8,5]=>0010101
[1,2,4,3,6,7,8,5]=>0010001
[3,2,1,4,8,7,6,5]=>1100111
[3,2,1,4,7,8,6,5]=>1100011
[3,2,1,4,6,8,7,5]=>1100011
[3,2,1,4,7,6,8,5]=>1100101
[3,2,1,4,6,7,8,5]=>1100001
[2,3,1,4,8,7,6,5]=>0100111
[2,3,1,4,7,8,6,5]=>0100011
[2,3,1,4,7,6,8,5]=>0100101
[2,3,1,4,6,7,8,5]=>0100001
[1,3,2,4,8,7,6,5]=>0100111
[1,3,2,4,6,8,7,5]=>0100011
[1,3,2,4,7,6,8,5]=>0100101
[1,3,2,4,6,7,8,5]=>0100001
[2,1,3,4,8,7,6,5]=>1000111
[2,1,3,4,7,8,6,5]=>1000011
[2,1,3,4,7,6,8,5]=>1000101
[2,1,3,4,6,7,8,5]=>1000001
[1,2,3,4,8,7,6,5]=>0000111
[1,2,3,4,7,8,6,5]=>0000011
[1,2,3,4,6,8,7,5]=>0000011
[1,2,3,4,7,6,8,5]=>0000101
[1,2,3,4,6,7,8,5]=>0000001
[5,4,3,2,1,8,7,6]=>1111011
[5,4,3,2,1,7,8,6]=>1111001
[4,5,3,2,1,8,7,6]=>0111011
[3,5,4,2,1,8,7,6]=>0111011
[3,5,4,2,1,7,8,6]=>0111001
[4,3,5,2,1,8,7,6]=>1011011
[3,4,5,2,1,8,7,6]=>0011011
[3,4,5,2,1,7,8,6]=>0011001
[2,5,4,3,1,8,7,6]=>0111011
[2,5,4,3,1,7,8,6]=>0111001
[2,4,5,3,1,8,7,6]=>0011011
[2,4,5,3,1,7,8,6]=>0011001
[3,2,5,4,1,8,7,6]=>1011011
[3,2,5,4,1,7,8,6]=>1011001
[2,3,5,4,1,8,7,6]=>0011011
[4,3,2,5,1,8,7,6]=>1101011
[4,3,2,5,1,7,8,6]=>1101001
[3,4,2,5,1,8,7,6]=>0101011
[3,4,2,5,1,7,8,6]=>0101001
[2,4,3,5,1,8,7,6]=>0101011
[2,4,3,5,1,7,8,6]=>0101001
[3,2,4,5,1,8,7,6]=>1001011
[2,3,4,5,1,8,7,6]=>0001011
[2,3,4,5,1,7,8,6]=>0001001
[1,5,4,3,2,8,7,6]=>0111011
[1,5,4,3,2,7,8,6]=>0111001
[1,4,5,3,2,8,7,6]=>0011011
[1,4,5,3,2,7,8,6]=>0011001
[1,3,5,4,2,7,8,6]=>0011001
[1,4,3,5,2,8,7,6]=>0101011
[1,4,3,5,2,7,8,6]=>0101001
[1,3,4,5,2,8,7,6]=>0001011
[1,3,4,5,2,7,8,6]=>0001001
[2,1,5,4,3,8,7,6]=>1011011
[2,1,4,5,3,8,7,6]=>1001011
[1,2,5,4,3,8,7,6]=>0011011
[1,2,5,4,3,7,8,6]=>0011001
[1,2,4,5,3,8,7,6]=>0001011
[1,2,4,5,3,7,8,6]=>0001001
[1,3,2,5,4,8,7,6]=>0101011
[1,3,2,5,4,7,8,6]=>0101001
[2,1,3,5,4,8,7,6]=>1001011
[2,1,3,5,4,7,8,6]=>1001001
[1,2,3,5,4,8,7,6]=>0001011
[1,2,3,5,4,7,8,6]=>0001001
[4,3,2,1,5,8,7,6]=>1110011
[4,3,2,1,5,7,8,6]=>1110001
[2,4,3,1,5,8,7,6]=>0110011
[3,2,4,1,5,8,7,6]=>1010011
[3,2,4,1,5,7,8,6]=>1010001
[2,3,4,1,5,8,7,6]=>0010011
[2,3,4,1,5,7,8,6]=>0010001
[1,4,3,2,5,8,7,6]=>0110011
[1,4,3,2,5,7,8,6]=>0110001
[1,3,4,2,5,8,7,6]=>0010011
[1,3,4,2,5,7,8,6]=>0010001
[2,1,4,3,5,8,7,6]=>1010011
[2,1,4,3,5,7,8,6]=>1010001
[1,2,4,3,5,8,7,6]=>0010011
[1,2,4,3,5,7,8,6]=>0010001
[3,2,1,4,5,8,7,6]=>1100011
[3,2,1,4,5,7,8,6]=>1100001
[2,3,1,4,5,7,8,6]=>0100001
[1,3,2,4,5,8,7,6]=>0100011
[1,3,2,4,5,7,8,6]=>0100001
[2,1,3,4,5,8,7,6]=>1000011
[2,1,3,4,5,7,8,6]=>1000001
[1,2,3,4,5,8,7,6]=>0000011
[1,2,3,4,5,7,8,6]=>0000001
[6,5,4,3,2,1,8,7]=>1111101
[5,6,4,3,2,1,8,7]=>0111101
[4,6,5,3,2,1,8,7]=>0111101
[5,4,6,3,2,1,8,7]=>1011101
[4,5,6,3,2,1,8,7]=>0011101
[3,6,5,4,2,1,8,7]=>0111101
[3,5,6,4,2,1,8,7]=>0011101
[4,3,6,5,2,1,8,7]=>1011101
[3,4,6,5,2,1,8,7]=>0011101
[5,4,3,6,2,1,8,7]=>1101101
[4,5,3,6,2,1,8,7]=>0101101
[4,3,5,6,2,1,8,7]=>1001101
[3,4,5,6,2,1,8,7]=>0001101
[2,6,5,4,3,1,8,7]=>0111101
[2,5,6,4,3,1,8,7]=>0011101
[2,4,6,5,3,1,8,7]=>0011101
[3,2,6,5,4,1,8,7]=>1011101
[3,2,5,6,4,1,8,7]=>1001101
[2,3,6,5,4,1,8,7]=>0011101
[2,3,5,6,4,1,8,7]=>0001101
[4,3,2,6,5,1,8,7]=>1101101
[3,4,2,6,5,1,8,7]=>0101101
[2,4,3,6,5,1,8,7]=>0101101
[5,4,3,2,6,1,8,7]=>1110101
[4,5,3,2,6,1,8,7]=>0110101
[3,5,4,2,6,1,8,7]=>0110101
[4,3,5,2,6,1,8,7]=>1010101
[3,4,5,2,6,1,8,7]=>0010101
[2,5,4,3,6,1,8,7]=>0110101
[2,4,5,3,6,1,8,7]=>0010101
[3,2,5,4,6,1,8,7]=>1010101
[4,3,2,5,6,1,8,7]=>1100101
[3,4,2,5,6,1,8,7]=>0100101
[2,4,3,5,6,1,8,7]=>0100101
[2,3,4,5,6,1,8,7]=>0000101
[1,6,5,4,3,2,8,7]=>0111101
[1,5,6,4,3,2,8,7]=>0011101
[1,5,4,6,3,2,8,7]=>0101101
[1,3,6,5,4,2,8,7]=>0011101
[1,3,4,5,6,2,8,7]=>0000101
[2,1,6,5,4,3,8,7]=>1011101
[2,1,5,6,4,3,8,7]=>1001101
[2,1,4,6,5,3,8,7]=>1001101
[2,1,5,4,6,3,8,7]=>1010101
[2,1,4,5,6,3,8,7]=>1000101
[1,2,4,5,6,3,8,7]=>0000101
[3,2,1,6,5,4,8,7]=>1101101
[2,3,1,6,5,4,8,7]=>0101101
[1,3,2,6,5,4,8,7]=>0101101
[1,3,2,5,6,4,8,7]=>0100101
[2,1,3,5,6,4,8,7]=>1000101
[1,2,3,6,5,4,8,7]=>0001101
[1,2,3,5,6,4,8,7]=>0000101
[4,3,2,1,6,5,8,7]=>1110101
[3,4,2,1,6,5,8,7]=>0110101
[2,4,3,1,6,5,8,7]=>0110101
[3,2,4,1,6,5,8,7]=>1010101
[2,3,4,1,6,5,8,7]=>0010101
[1,3,4,2,6,5,8,7]=>0010101
[2,1,4,3,6,5,8,7]=>1010101
[1,2,4,3,6,5,8,7]=>0010101
[2,3,1,4,6,5,8,7]=>0100101
[1,3,2,4,6,5,8,7]=>0100101
[2,1,3,4,6,5,8,7]=>1000101
[1,2,3,4,6,5,8,7]=>0000101
[5,4,3,2,1,6,8,7]=>1111001
[4,5,3,2,1,6,8,7]=>0111001
[3,5,4,2,1,6,8,7]=>0111001
[4,3,5,2,1,6,8,7]=>1011001
[3,4,5,2,1,6,8,7]=>0011001
[2,5,4,3,1,6,8,7]=>0111001
[2,4,5,3,1,6,8,7]=>0011001
[3,2,5,4,1,6,8,7]=>1011001
[2,3,5,4,1,6,8,7]=>0011001
[2,4,3,5,1,6,8,7]=>0101001
[2,3,4,5,1,6,8,7]=>0001001
[1,4,5,3,2,6,8,7]=>0011001
[1,3,5,4,2,6,8,7]=>0011001
[1,3,4,5,2,6,8,7]=>0001001
[2,1,4,5,3,6,8,7]=>1001001
[1,2,5,4,3,6,8,7]=>0011001
[2,1,3,5,4,6,8,7]=>1001001
[1,2,3,5,4,6,8,7]=>0001001
[4,3,2,1,5,6,8,7]=>1110001
[3,2,4,1,5,6,8,7]=>1010001
[2,3,4,1,5,6,8,7]=>0010001
[1,4,3,2,5,6,8,7]=>0110001
[1,3,4,2,5,6,8,7]=>0010001
[2,1,4,3,5,6,8,7]=>1010001
[1,2,4,3,5,6,8,7]=>0010001
[3,2,1,4,5,6,8,7]=>1100001
[2,3,1,4,5,6,8,7]=>0100001
[1,3,2,4,5,6,8,7]=>0100001
[2,1,3,4,5,6,8,7]=>1000001
[1,2,3,4,5,6,8,7]=>0000001
[5,7,6,4,3,2,1,8]=>0111110
[4,7,6,5,3,2,1,8]=>0111110
[4,6,7,5,3,2,1,8]=>0011110
[5,4,7,6,3,2,1,8]=>1011110
[4,5,7,6,3,2,1,8]=>0011110
[4,6,5,7,3,2,1,8]=>0101110
[3,5,7,6,4,2,1,8]=>0011110
[3,5,6,7,4,2,1,8]=>0001110
[4,3,7,6,5,2,1,8]=>1011110
[3,4,7,6,5,2,1,8]=>0011110
[5,4,3,7,6,2,1,8]=>1101110
[4,5,3,7,6,2,1,8]=>0101110
[3,5,4,7,6,2,1,8]=>0101110
[4,3,5,7,6,2,1,8]=>1001110
[3,6,5,4,7,2,1,8]=>0110110
[3,5,6,4,7,2,1,8]=>0010110
[4,3,6,5,7,2,1,8]=>1010110
[2,7,6,5,4,3,1,8]=>0111110
[2,6,7,5,4,3,1,8]=>0011110
[2,5,7,6,4,3,1,8]=>0011110
[2,5,6,7,4,3,1,8]=>0001110
[2,4,6,7,5,3,1,8]=>0001110
[2,5,4,7,6,3,1,8]=>0101110
[2,5,6,4,7,3,1,8]=>0010110
[2,5,4,6,7,3,1,8]=>0100110
[2,4,5,6,7,3,1,8]=>0000110
[3,2,7,6,5,4,1,8]=>1011110
[3,2,6,7,5,4,1,8]=>1001110
[3,2,5,7,6,4,1,8]=>1001110
[3,2,6,5,7,4,1,8]=>1010110
[3,2,5,6,7,4,1,8]=>1000110
[2,3,7,6,5,4,1,8]=>0011110
[2,3,6,7,5,4,1,8]=>0001110
[2,3,5,7,6,4,1,8]=>0001110
[2,3,6,5,7,4,1,8]=>0010110
[2,3,5,6,7,4,1,8]=>0000110
[4,3,2,6,7,5,1,8]=>1100110
[3,4,2,7,6,5,1,8]=>0101110
[3,4,2,6,7,5,1,8]=>0100110
[3,2,4,6,7,5,1,8]=>1000110
[2,3,4,7,6,5,1,8]=>0001110
[2,3,4,6,7,5,1,8]=>0000110
[5,4,3,2,7,6,1,8]=>1110110
[4,5,3,2,7,6,1,8]=>0110110
[3,5,4,2,7,6,1,8]=>0110110
[4,3,5,2,7,6,1,8]=>1010110
[3,4,5,2,7,6,1,8]=>0010110
[3,2,5,4,7,6,1,8]=>1010110
[4,3,2,5,7,6,1,8]=>1100110
[3,4,2,5,7,6,1,8]=>0100110
[2,3,4,5,7,6,1,8]=>0000110
[3,6,5,4,2,7,1,8]=>0111010
[3,5,6,4,2,7,1,8]=>0011010
[3,4,6,5,2,7,1,8]=>0011010
[3,5,4,6,2,7,1,8]=>0101010
[2,5,4,6,3,7,1,8]=>0101010
[3,2,6,5,4,7,1,8]=>1011010
[2,3,5,6,4,7,1,8]=>0001010
[4,3,2,6,5,7,1,8]=>1101010
[3,4,2,6,5,7,1,8]=>0101010
[2,4,3,6,5,7,1,8]=>0101010
[2,3,4,6,5,7,1,8]=>0001010
[3,5,4,2,6,7,1,8]=>0110010
[2,5,4,3,6,7,1,8]=>0110010
[2,4,5,3,6,7,1,8]=>0010010
[2,3,5,4,6,7,1,8]=>0010010
[1,7,6,5,4,3,2,8]=>0111110
[1,6,7,5,4,3,2,8]=>0011110
[1,6,5,7,4,3,2,8]=>0101110
[1,5,6,7,4,3,2,8]=>0001110
[1,4,7,6,5,3,2,8]=>0011110
[1,4,6,7,5,3,2,8]=>0001110
[1,5,4,7,6,3,2,8]=>0101110
[1,5,6,4,7,3,2,8]=>0010110
[1,4,6,5,7,3,2,8]=>0010110
[1,5,4,6,7,3,2,8]=>0100110
[1,4,5,6,7,3,2,8]=>0000110
[1,3,7,6,5,4,2,8]=>0011110
[1,3,6,7,5,4,2,8]=>0001110
[1,3,5,7,6,4,2,8]=>0001110
[1,3,6,5,7,4,2,8]=>0010110
[1,3,5,6,7,4,2,8]=>0000110
[1,3,4,6,7,5,2,8]=>0000110
[1,3,5,4,7,6,2,8]=>0010110
[1,4,3,5,7,6,2,8]=>0100110
[1,3,4,5,7,6,2,8]=>0000110
[1,5,4,6,3,7,2,8]=>0101010
[1,4,5,6,3,7,2,8]=>0001010
[1,3,6,5,4,7,2,8]=>0011010
[1,3,5,6,4,7,2,8]=>0001010
[1,4,3,6,5,7,2,8]=>0101010
[1,3,4,6,5,7,2,8]=>0001010
[1,5,4,3,6,7,2,8]=>0110010
[1,4,5,3,6,7,2,8]=>0010010
[1,3,5,4,6,7,2,8]=>0010010
[1,3,4,5,6,7,2,8]=>0000010
[2,1,7,6,5,4,3,8]=>1011110
[2,1,6,7,5,4,3,8]=>1001110
[2,1,5,6,7,4,3,8]=>1000110
[2,1,4,6,7,5,3,8]=>1000110
[2,1,4,5,6,7,3,8]=>1000010
[1,2,7,6,5,4,3,8]=>0011110
[1,2,6,7,5,4,3,8]=>0001110
[1,2,5,7,6,4,3,8]=>0001110
[1,2,5,6,7,4,3,8]=>0000110
[1,2,4,6,7,5,3,8]=>0000110
[1,2,5,6,4,7,3,8]=>0001010
[1,2,5,4,6,7,3,8]=>0010010
[1,2,4,5,6,7,3,8]=>0000010
[3,2,1,7,6,5,4,8]=>1101110
[3,2,1,6,7,5,4,8]=>1100110
[3,2,1,5,7,6,4,8]=>1100110
[3,2,1,5,6,7,4,8]=>1100010
[2,3,1,6,7,5,4,8]=>0100110
[2,3,1,6,5,7,4,8]=>0101010
[2,3,1,5,6,7,4,8]=>0100010
[1,3,2,7,6,5,4,8]=>0101110
[1,3,2,6,7,5,4,8]=>0100110
[1,3,2,5,7,6,4,8]=>0100110
[1,3,2,6,5,7,4,8]=>0101010
[1,3,2,5,6,7,4,8]=>0100010
[2,1,3,6,7,5,4,8]=>1000110
[1,2,3,7,6,5,4,8]=>0001110
[1,2,3,6,7,5,4,8]=>0000110
[1,2,3,5,7,6,4,8]=>0000110
[1,2,3,6,5,7,4,8]=>0001010
[1,2,3,5,6,7,4,8]=>0000010
[4,3,2,1,7,6,5,8]=>1110110
[4,3,2,1,6,7,5,8]=>1110010
[3,2,4,1,7,6,5,8]=>1010110
[3,2,4,1,6,7,5,8]=>1010010
[2,3,4,1,7,6,5,8]=>0010110
[2,3,4,1,6,7,5,8]=>0010010
[1,4,3,2,7,6,5,8]=>0110110
[1,4,3,2,6,7,5,8]=>0110010
[1,3,4,2,6,7,5,8]=>0010010
[1,2,4,3,6,7,5,8]=>0010010
[3,2,1,4,7,6,5,8]=>1100110
[2,3,1,4,6,7,5,8]=>0100010
[1,3,2,4,7,6,5,8]=>0100110
[2,1,3,4,6,7,5,8]=>1000010
[1,2,3,4,7,6,5,8]=>0000110
[1,2,3,4,6,7,5,8]=>0000010
[5,4,3,2,1,7,6,8]=>1111010
[4,5,3,2,1,7,6,8]=>0111010
[3,5,4,2,1,7,6,8]=>0111010
[3,4,5,2,1,7,6,8]=>0011010
[2,5,4,3,1,7,6,8]=>0111010
[2,4,5,3,1,7,6,8]=>0011010
[3,2,5,4,1,7,6,8]=>1011010
[2,3,5,4,1,7,6,8]=>0011010
[3,4,2,5,1,7,6,8]=>0101010
[2,4,3,5,1,7,6,8]=>0101010
[2,3,4,5,1,7,6,8]=>0001010
[1,5,4,3,2,7,6,8]=>0111010
[1,4,5,3,2,7,6,8]=>0011010
[1,3,5,4,2,7,6,8]=>0011010
[1,4,3,5,2,7,6,8]=>0101010
[1,3,4,5,2,7,6,8]=>0001010
[2,1,5,4,3,7,6,8]=>1011010
[1,2,4,5,3,7,6,8]=>0001010
[3,2,1,5,4,7,6,8]=>1101010
[2,3,1,5,4,7,6,8]=>0101010
[1,3,2,5,4,7,6,8]=>0101010
[1,2,3,5,4,7,6,8]=>0001010
[4,3,2,1,5,7,6,8]=>1110010
[3,2,4,1,5,7,6,8]=>1010010
[2,3,4,1,5,7,6,8]=>0010010
[1,4,3,2,5,7,6,8]=>0110010
[1,3,4,2,5,7,6,8]=>0010010
[1,2,4,3,5,7,6,8]=>0010010
[2,3,1,4,5,7,6,8]=>0100010
[1,3,2,4,5,7,6,8]=>0100010
[2,1,3,4,5,7,6,8]=>1000010
[1,2,3,4,5,7,6,8]=>0000010
[3,6,5,4,2,1,7,8]=>0111100
[4,3,6,5,2,1,7,8]=>1011100
[2,4,6,5,3,1,7,8]=>0011100
[2,4,5,6,3,1,7,8]=>0001100
[2,3,6,5,4,1,7,8]=>0011100
[2,3,5,6,4,1,7,8]=>0001100
[4,3,2,6,5,1,7,8]=>1101100
[2,4,3,6,5,1,7,8]=>0101100
[2,3,4,6,5,1,7,8]=>0001100
[3,5,4,2,6,1,7,8]=>0110100
[2,3,5,4,6,1,7,8]=>0010100
[1,6,5,4,3,2,7,8]=>0111100
[1,5,6,4,3,2,7,8]=>0011100
[1,4,6,5,3,2,7,8]=>0011100
[1,5,4,6,3,2,7,8]=>0101100
[1,4,5,6,3,2,7,8]=>0001100
[1,3,5,6,4,2,7,8]=>0001100
[1,4,3,6,5,2,7,8]=>0101100
[1,5,4,3,6,2,7,8]=>0110100
[1,4,5,3,6,2,7,8]=>0010100
[1,3,5,4,6,2,7,8]=>0010100
[1,4,3,5,6,2,7,8]=>0100100
[1,3,4,5,6,2,7,8]=>0000100
[2,1,5,6,4,3,7,8]=>1001100
[2,1,4,6,5,3,7,8]=>1001100
[1,2,6,5,4,3,7,8]=>0011100
[1,2,5,6,4,3,7,8]=>0001100
[1,2,4,6,5,3,7,8]=>0001100
[1,2,4,5,6,3,7,8]=>0000100
[3,2,1,6,5,4,7,8]=>1101100
[3,2,1,5,6,4,7,8]=>1100100
[2,3,1,6,5,4,7,8]=>0101100
[2,3,1,5,6,4,7,8]=>0100100
[1,3,2,6,5,4,7,8]=>0101100
[1,3,2,5,6,4,7,8]=>0100100
[1,2,3,6,5,4,7,8]=>0001100
[1,2,3,5,6,4,7,8]=>0000100
[4,3,2,1,6,5,7,8]=>1110100
[2,4,3,1,6,5,7,8]=>0110100
[3,2,4,1,6,5,7,8]=>1010100
[2,3,4,1,6,5,7,8]=>0010100
[2,1,4,3,6,5,7,8]=>1010100
[1,2,4,3,6,5,7,8]=>0010100
[1,3,2,4,6,5,7,8]=>0100100
[2,1,3,4,6,5,7,8]=>1000100
[1,2,3,4,6,5,7,8]=>0000100
[3,5,4,2,1,6,7,8]=>0111000
[2,5,4,3,1,6,7,8]=>0111000
[2,4,5,3,1,6,7,8]=>0011000
[3,2,5,4,1,6,7,8]=>1011000
[2,3,5,4,1,6,7,8]=>0011000
[2,4,3,5,1,6,7,8]=>0101000
[1,5,4,3,2,6,7,8]=>0111000
[1,4,5,3,2,6,7,8]=>0011000
[1,3,5,4,2,6,7,8]=>0011000
[1,3,4,5,2,6,7,8]=>0001000
[2,1,5,4,3,6,7,8]=>1011000
[2,1,4,5,3,6,7,8]=>1001000
[1,2,5,4,3,6,7,8]=>0011000
[3,2,1,5,4,6,7,8]=>1101000
[2,3,1,5,4,6,7,8]=>0101000
[1,3,2,5,4,6,7,8]=>0101000
[1,2,3,5,4,6,7,8]=>0001000
[2,4,3,1,5,6,7,8]=>0110000
[1,4,3,2,5,6,7,8]=>0110000
[1,3,4,2,5,6,7,8]=>0010000
[2,1,4,3,5,6,7,8]=>1010000
[1,2,4,3,5,6,7,8]=>0010000
[1,3,2,4,5,6,7,8]=>0100000
[1,2,3,4,8,6,7,5]=>0000101
[1,2,3,5,8,6,7,4]=>0000101
[1,2,3,7,5,6,4,8]=>0001010
[1,2,3,7,5,6,8,4]=>0001001
[1,2,3,8,5,6,7,4]=>0001001
[1,2,3,8,5,7,6,4]=>0001011
[1,2,3,8,6,5,7,4]=>0001101
[1,2,3,8,6,7,5,4]=>0001011
[1,2,4,5,8,6,7,3]=>0000101
[1,2,4,7,5,6,8,3]=>0001001
[1,2,4,8,5,6,7,3]=>0001001
[1,2,4,8,6,5,7,3]=>0001101
[1,2,5,4,8,6,7,3]=>0010101
[1,2,6,4,5,3,7,8]=>0010100
[1,2,6,4,5,7,8,3]=>0010001
[1,2,6,4,5,8,7,3]=>0010011
[1,2,7,4,5,6,8,3]=>0010001
[1,2,8,4,5,6,7,3]=>0010001
[1,2,8,4,6,7,5,3]=>0010011
[1,2,8,4,7,6,5,3]=>0010111
[1,2,7,5,4,6,3,8]=>0011010
[1,2,7,5,4,6,8,3]=>0011001
[1,2,8,5,4,6,7,3]=>0011001
[1,2,8,5,4,7,6,3]=>0011011
[1,2,8,5,6,4,7,3]=>0010101
[1,2,8,5,6,7,4,3]=>0010011
[1,2,8,6,5,4,7,3]=>0011101
[1,2,8,6,5,7,4,3]=>0011011
[1,2,8,7,5,6,4,3]=>0011011
[1,3,2,4,8,6,7,5]=>0100101
[1,3,2,7,5,6,8,4]=>0101001
[1,3,2,8,5,7,6,4]=>0101011
[1,3,2,8,6,5,7,4]=>0101101
[1,3,2,8,6,7,5,4]=>0101011
[1,3,4,2,8,6,7,5]=>0010101
[1,3,4,5,8,6,7,2]=>0000101
[1,3,4,8,5,6,7,2]=>0001001
[1,3,4,8,6,5,7,2]=>0001101
[1,3,4,8,6,7,5,2]=>0001011
[1,3,6,4,5,2,8,7]=>0010101
[1,3,6,4,5,7,2,8]=>0010010
[1,3,6,4,5,7,8,2]=>0010001
[1,3,6,4,5,8,7,2]=>0010011
[1,3,7,4,5,6,2,8]=>0010010
[1,3,7,4,5,6,8,2]=>0010001
[1,3,8,4,5,6,7,2]=>0010001
[1,3,8,4,6,5,7,2]=>0010101
[1,3,8,5,4,6,7,2]=>0011001
[1,3,8,5,4,7,6,2]=>0011011
[1,3,8,5,6,7,4,2]=>0010011
[1,3,8,5,7,6,4,2]=>0010111
[1,3,8,6,5,7,4,2]=>0011011
[1,3,8,7,5,6,4,2]=>0011011
[1,4,3,5,8,6,7,2]=>0100101
[1,4,3,8,5,6,7,2]=>0101001
[1,4,3,8,5,7,6,2]=>0101011
[1,4,3,8,6,5,7,2]=>0101101
[1,4,3,8,6,7,5,2]=>0101011
[1,5,3,4,2,6,7,8]=>0101000
[1,5,3,4,2,7,8,6]=>0101001
[1,5,3,4,2,8,7,6]=>0101011
[1,5,3,4,6,2,7,8]=>0100100
[1,5,3,4,6,2,8,7]=>0100101
[1,5,3,4,6,7,2,8]=>0100010
[1,5,3,4,6,7,8,2]=>0100001
[1,5,3,4,7,6,2,8]=>0100110
[1,5,3,4,8,6,7,2]=>0100101
[1,6,3,4,5,2,7,8]=>0100100
[1,6,3,4,5,8,7,2]=>0100011
[1,7,3,4,5,6,2,8]=>0100010
[1,7,3,4,5,6,8,2]=>0100001
[1,8,3,4,5,6,7,2]=>0100001
[1,8,3,4,6,7,5,2]=>0100011
[1,6,3,5,4,2,7,8]=>0101100
[1,6,3,5,4,8,7,2]=>0101011
[1,7,3,5,4,6,2,8]=>0101010
[1,8,3,5,4,6,7,2]=>0101001
[1,8,3,5,4,7,6,2]=>0101011
[1,8,3,5,6,4,7,2]=>0100101
[1,8,3,5,6,7,4,2]=>0100011
[1,8,3,5,7,6,4,2]=>0100111
[1,7,3,6,5,4,2,8]=>0101110
[1,7,3,6,5,4,8,2]=>0101101
[1,8,3,6,5,4,7,2]=>0101101
[1,8,3,7,5,6,4,2]=>0101011
[1,8,3,7,6,5,4,2]=>0101111
[1,6,4,3,5,2,7,8]=>0110100
[1,6,4,3,5,8,7,2]=>0110011
[1,8,4,3,5,6,7,2]=>0110001
[1,8,4,3,5,7,6,2]=>0110011
[1,7,4,3,6,5,8,2]=>0110101
[1,8,4,3,6,5,7,2]=>0110101
[1,8,4,3,6,7,5,2]=>0110011
[1,6,4,5,3,2,7,8]=>0101100
[1,6,4,5,3,2,8,7]=>0101101
[1,6,4,5,3,8,7,2]=>0101011
[1,7,4,5,3,6,8,2]=>0101001
[1,8,4,5,3,6,7,2]=>0101001
[1,7,4,5,6,3,2,8]=>0100110
[1,7,4,5,6,3,8,2]=>0100101
[1,8,4,5,6,3,7,2]=>0100101
[1,8,4,5,6,7,3,2]=>0100011
[1,7,4,6,5,3,2,8]=>0101110
[1,8,4,6,5,3,7,2]=>0101101
[1,8,4,6,5,7,3,2]=>0101011
[1,8,4,7,6,5,3,2]=>0101111
[1,7,5,4,3,6,2,8]=>0111010
[1,7,5,4,3,6,8,2]=>0111001
[1,8,5,4,3,6,7,2]=>0111001
[1,8,5,4,3,7,6,2]=>0111011
[1,8,5,4,6,3,7,2]=>0110101
[1,8,5,4,6,7,3,2]=>0110011
[1,8,5,4,7,6,3,2]=>0110111
[1,7,6,4,5,3,2,8]=>0110110
[1,8,6,4,5,3,7,2]=>0110101
[1,8,6,4,5,7,3,2]=>0110011
[1,8,7,4,5,6,3,2]=>0110011
[1,8,7,4,6,5,3,2]=>0110111
[1,8,6,5,4,3,7,2]=>0111101
[1,8,6,5,4,7,3,2]=>0111011
[1,8,7,5,4,6,3,2]=>0111011
[1,8,7,5,6,4,3,2]=>0110111
[2,1,3,4,8,6,7,5]=>1000101
[2,1,3,5,8,6,7,4]=>1000101
[2,1,3,8,5,6,7,4]=>1001001
[2,1,3,8,5,7,6,4]=>1001011
[2,1,3,8,6,5,7,4]=>1001101
[2,1,3,8,6,7,5,4]=>1001011
[2,1,4,3,8,6,7,5]=>1010101
[2,1,4,5,8,6,7,3]=>1000101
[2,1,4,8,5,6,7,3]=>1001001
[2,1,4,8,5,7,6,3]=>1001011
[2,1,4,8,6,5,7,3]=>1001101
[2,1,4,8,6,7,5,3]=>1001011
[2,1,5,4,8,6,7,3]=>1010101
[2,1,6,4,5,3,8,7]=>1010101
[2,1,6,4,5,7,8,3]=>1010001
[2,1,6,4,5,8,7,3]=>1010011
[2,1,8,4,5,6,7,3]=>1010001
[2,1,8,4,5,7,6,3]=>1010011
[2,1,7,4,6,5,8,3]=>1010101
[2,1,8,4,6,5,7,3]=>1010101
[2,1,8,4,6,7,5,3]=>1010011
[2,1,8,4,7,6,5,3]=>1010111
[2,1,7,5,4,6,8,3]=>1011001
[2,1,8,5,4,6,7,3]=>1011001
[2,1,8,5,4,7,6,3]=>1011011
[2,1,7,5,6,4,8,3]=>1010101
[2,1,8,5,6,4,7,3]=>1010101
[2,1,8,5,6,7,4,3]=>1010011
[2,1,8,5,7,6,4,3]=>1010111
[2,1,8,6,5,4,7,3]=>1011101
[2,1,8,6,5,7,4,3]=>1011011
[2,1,8,7,5,6,4,3]=>1011011
[2,3,1,7,5,6,4,8]=>0101010
[2,3,1,8,5,6,7,4]=>0101001
[2,3,1,8,6,7,5,4]=>0101011
[2,3,4,1,8,6,7,5]=>0010101
[2,3,4,5,8,6,7,1]=>0000101
[2,3,4,7,5,6,1,8]=>0001010
[2,3,4,7,5,6,8,1]=>0001001
[2,3,4,8,5,6,7,1]=>0001001
[2,3,4,8,5,7,6,1]=>0001011
[2,3,4,8,6,5,7,1]=>0001101
[2,3,4,8,6,7,5,1]=>0001011
[2,3,5,4,8,6,7,1]=>0010101
[2,3,6,4,5,1,7,8]=>0010100
[2,3,6,4,5,1,8,7]=>0010101
[2,3,6,4,5,7,8,1]=>0010001
[2,3,6,4,5,8,7,1]=>0010011
[2,3,7,4,5,6,8,1]=>0010001
[2,3,8,4,5,6,7,1]=>0010001
[2,3,7,4,6,5,8,1]=>0010101
[2,3,8,4,6,7,5,1]=>0010011
[2,3,7,5,4,6,1,8]=>0011010
[2,3,7,5,4,6,8,1]=>0011001
[2,3,8,5,4,6,7,1]=>0011001
[2,3,7,5,6,4,1,8]=>0010110
[2,3,7,5,6,4,8,1]=>0010101
[2,3,8,5,6,4,7,1]=>0010101
[2,3,8,5,6,7,4,1]=>0010011
[2,3,8,5,7,6,4,1]=>0010111
[2,3,8,6,5,4,7,1]=>0011101
[2,4,3,1,8,6,7,5]=>0110101
[2,4,3,5,8,6,7,1]=>0100101
[2,4,3,7,5,6,8,1]=>0101001
[2,4,3,8,5,6,7,1]=>0101001
[2,4,3,8,5,7,6,1]=>0101011
[2,4,3,8,6,5,7,1]=>0101101
[2,4,3,8,6,7,5,1]=>0101011
[2,5,3,4,1,6,7,8]=>0101000
[2,5,3,4,1,8,7,6]=>0101011
[2,5,3,4,6,7,1,8]=>0100010
[2,5,3,4,6,7,8,1]=>0100001
[2,5,3,4,6,8,7,1]=>0100011
[2,5,3,4,7,6,8,1]=>0100101
[2,5,3,4,8,6,7,1]=>0100101
[2,5,3,4,8,7,6,1]=>0100111
[2,6,3,4,5,1,7,8]=>0100100
[2,6,3,4,5,7,8,1]=>0100001
[2,6,3,4,5,8,7,1]=>0100011
[2,7,3,4,5,6,1,8]=>0100010
[2,8,3,4,5,6,7,1]=>0100001
[2,8,3,4,5,7,6,1]=>0100011
[2,6,3,5,4,1,7,8]=>0101100
[2,6,3,5,4,1,8,7]=>0101101
[2,6,3,5,4,7,8,1]=>0101001
[2,6,3,5,4,8,7,1]=>0101011
[2,7,3,5,4,6,8,1]=>0101001
[2,8,3,5,4,7,6,1]=>0101011
[2,7,3,5,6,4,8,1]=>0100101
[2,8,3,5,6,7,4,1]=>0100011
[2,8,3,5,7,6,4,1]=>0100111
[2,7,3,6,5,4,1,8]=>0101110
[2,8,3,7,5,6,4,1]=>0101011
[2,8,3,7,6,5,4,1]=>0101111
[2,5,4,3,8,6,7,1]=>0110101
[2,6,4,3,5,1,8,7]=>0110101
[2,6,4,3,5,7,8,1]=>0110001
[2,6,4,3,5,8,7,1]=>0110011
[2,7,4,3,5,6,8,1]=>0110001
[2,8,4,3,5,6,7,1]=>0110001
[2,8,4,3,5,7,6,1]=>0110011
[2,7,4,3,6,5,8,1]=>0110101
[2,8,4,3,6,5,7,1]=>0110101
[2,8,4,3,6,7,5,1]=>0110011
[2,8,4,3,7,6,5,1]=>0110111
[2,6,4,5,3,1,7,8]=>0101100
[2,6,4,5,3,1,8,7]=>0101101
[2,6,4,5,3,7,8,1]=>0101001
[2,6,4,5,3,8,7,1]=>0101011
[2,8,4,5,3,6,7,1]=>0101001
[2,7,4,5,6,3,1,8]=>0100110
[2,7,4,5,6,3,8,1]=>0100101
[2,8,4,5,6,3,7,1]=>0100101
[2,8,4,5,6,7,3,1]=>0100011
[2,7,4,6,5,3,1,8]=>0101110
[2,7,4,6,5,3,8,1]=>0101101
[2,8,4,6,5,3,7,1]=>0101101
[2,8,4,7,6,5,3,1]=>0101111
[2,7,5,4,3,6,8,1]=>0111001
[2,8,5,4,3,6,7,1]=>0111001
[2,8,5,4,3,7,6,1]=>0111011
[2,7,5,4,6,3,8,1]=>0110101
[2,8,5,4,6,7,3,1]=>0110011
[2,8,5,4,7,6,3,1]=>0110111
[2,7,6,4,5,3,8,1]=>0110101
[2,8,7,4,5,6,3,1]=>0110011
[2,8,7,4,6,5,3,1]=>0110111
[2,8,7,5,4,6,3,1]=>0111011
[2,8,7,5,6,4,3,1]=>0110111
[3,2,1,4,8,6,7,5]=>1100101
[3,2,1,5,8,6,7,4]=>1100101
[3,2,1,7,5,6,8,4]=>1101001
[3,2,1,8,5,6,7,4]=>1101001
[3,2,1,8,5,7,6,4]=>1101011
[3,2,1,8,6,5,7,4]=>1101101
[3,2,1,8,6,7,5,4]=>1101011
[3,2,4,1,8,6,7,5]=>1010101
[3,2,4,5,8,6,7,1]=>1000101
[3,2,4,7,5,6,8,1]=>1001001
[3,2,4,8,5,6,7,1]=>1001001
[3,2,4,8,6,7,5,1]=>1001011
[3,2,5,4,8,6,7,1]=>1010101
[3,2,6,4,5,1,8,7]=>1010101
[3,2,6,4,5,7,1,8]=>1010010
[3,2,7,4,5,6,1,8]=>1010010
[3,2,8,4,5,6,7,1]=>1010001
[3,2,7,4,6,5,1,8]=>1010110
[3,2,7,4,6,5,8,1]=>1010101
[3,2,8,4,6,5,7,1]=>1010101
[3,2,7,5,4,6,1,8]=>1011010
[3,2,8,5,4,6,7,1]=>1011001
[3,2,8,5,4,7,6,1]=>1011011
[3,2,7,5,6,4,1,8]=>1010110
[3,2,7,5,6,4,8,1]=>1010101
[3,2,8,5,6,4,7,1]=>1010101
[3,2,8,5,7,6,4,1]=>1010111
[3,2,8,6,5,7,4,1]=>1011011
[3,2,8,7,5,6,4,1]=>1011011
[4,2,3,1,5,7,6,8]=>1010010
[4,2,3,1,5,7,8,6]=>1010001
[4,2,3,1,6,5,8,7]=>1010101
[4,2,3,1,6,7,8,5]=>1010001
[4,2,3,1,6,8,7,5]=>1010011
[4,2,3,1,7,6,8,5]=>1010101
[4,2,3,1,8,6,7,5]=>1010101
[4,2,3,1,8,7,6,5]=>1010111
[4,2,3,5,1,6,8,7]=>1001001
[4,2,3,5,1,7,8,6]=>1001001
[4,2,3,5,1,8,7,6]=>1001011
[4,2,3,5,6,1,8,7]=>1000101
[4,2,3,5,6,8,7,1]=>1000011
[4,2,3,5,7,6,1,8]=>1000110
[4,2,3,5,8,7,6,1]=>1000111
[4,2,3,6,5,1,7,8]=>1001100
[4,2,3,6,5,1,8,7]=>1001101
[4,2,3,6,5,8,7,1]=>1001011
[4,2,3,7,5,6,1,8]=>1001010
[4,2,3,7,5,6,8,1]=>1001001
[4,2,3,8,5,6,7,1]=>1001001
[4,2,3,8,5,7,6,1]=>1001011
[4,2,3,7,6,5,8,1]=>1001101
[4,2,3,8,6,7,5,1]=>1001011
[4,2,3,8,7,6,5,1]=>1001111
[5,2,3,4,1,6,8,7]=>1001001
[5,2,3,4,1,7,8,6]=>1001001
[5,2,3,4,1,8,7,6]=>1001011
[5,2,3,4,6,1,8,7]=>1000101
[5,2,3,4,7,6,1,8]=>1000110
[5,2,3,4,8,6,7,1]=>1000101
[5,2,3,4,8,7,6,1]=>1000111
[6,2,3,4,5,1,8,7]=>1000101
[6,2,3,4,5,8,7,1]=>1000011
[8,2,3,4,5,7,6,1]=>1000011
[7,2,3,4,6,5,1,8]=>1000110
[8,2,3,4,7,6,5,1]=>1000111
[6,2,3,5,4,1,7,8]=>1001100
[6,2,3,5,4,1,8,7]=>1001101
[6,2,3,5,4,7,1,8]=>1001010
[6,2,3,5,4,7,8,1]=>1001001
[7,2,3,5,4,6,1,8]=>1001010
[8,2,3,5,4,6,7,1]=>1001001
[8,2,3,5,4,7,6,1]=>1001011
[7,2,3,5,6,4,1,8]=>1000110
[8,2,3,5,6,7,4,1]=>1000011
[8,2,3,5,7,6,4,1]=>1000111
[7,2,3,6,5,4,1,8]=>1001110
[8,2,3,6,5,4,7,1]=>1001101
[8,2,3,7,5,6,4,1]=>1001011
[8,2,3,7,6,5,4,1]=>1001111
[5,2,4,3,1,6,7,8]=>1011000
[5,2,4,3,1,6,8,7]=>1011001
[5,2,4,3,1,7,6,8]=>1011010
[5,2,4,3,1,8,7,6]=>1011011
[5,2,4,3,6,1,7,8]=>1010100
[5,2,4,3,6,1,8,7]=>1010101
[5,2,4,3,6,7,1,8]=>1010010
[5,2,4,3,7,6,1,8]=>1010110
[5,2,4,3,7,6,8,1]=>1010101
[5,2,4,3,8,7,6,1]=>1010111
[6,2,4,3,5,1,8,7]=>1010101
[7,2,4,3,6,5,1,8]=>1010110
[7,2,4,3,6,5,8,1]=>1010101
[8,2,4,3,6,5,7,1]=>1010101
[8,2,4,3,6,7,5,1]=>1010011
[8,2,4,3,7,6,5,1]=>1010111
[6,2,4,5,3,1,7,8]=>1001100
[6,2,4,5,3,1,8,7]=>1001101
[6,2,4,5,3,8,7,1]=>1001011
[7,2,4,5,3,6,1,8]=>1001010
[7,2,4,5,3,6,8,1]=>1001001
[8,2,4,5,3,7,6,1]=>1001011
[8,2,4,5,6,3,7,1]=>1000101
[8,2,4,5,6,7,3,1]=>1000011
[8,2,4,5,7,6,3,1]=>1000111
[7,2,4,6,5,3,1,8]=>1001110
[7,2,4,6,5,3,8,1]=>1001101
[8,2,4,7,5,6,3,1]=>1001011
[8,2,4,7,6,5,3,1]=>1001111
[6,2,5,4,3,1,7,8]=>1011100
[6,2,5,4,3,1,8,7]=>1011101
[6,2,5,4,3,7,1,8]=>1011010
[6,2,5,4,3,7,8,1]=>1011001
[7,2,5,4,3,6,1,8]=>1011010
[8,2,5,4,3,6,7,1]=>1011001
[8,2,5,4,3,7,6,1]=>1011011
[7,2,5,4,6,3,8,1]=>1010101
[8,2,5,4,7,6,3,1]=>1010111
[7,2,6,4,5,3,1,8]=>1010110
[7,2,6,4,5,3,8,1]=>1010101
[8,2,6,4,5,3,7,1]=>1010101
[8,2,6,4,5,7,3,1]=>1010011
[8,2,7,4,5,6,3,1]=>1010011
[8,2,7,4,6,5,3,1]=>1010111
[7,2,6,5,4,3,1,8]=>1011110
[7,2,6,5,4,3,8,1]=>1011101
[8,2,6,5,4,3,7,1]=>1011101
[8,2,6,5,4,7,3,1]=>1011011
[8,2,7,5,4,6,3,1]=>1011011
[8,2,7,5,6,4,3,1]=>1010111
[8,2,7,6,5,4,3,1]=>1011111
[4,3,2,1,8,6,7,5]=>1110101
[4,3,2,7,5,6,8,1]=>1101001
[4,3,2,8,5,6,7,1]=>1101001
[4,3,2,8,5,7,6,1]=>1101011
[4,3,2,8,6,7,5,1]=>1101011
[5,3,2,4,1,6,8,7]=>1101001
[5,3,2,4,1,7,6,8]=>1101010
[5,3,2,4,1,8,7,6]=>1101011
[5,3,2,4,6,1,8,7]=>1100101
[5,3,2,4,7,6,1,8]=>1100110
[8,3,2,4,6,5,7,1]=>1100101
[8,3,2,4,6,7,5,1]=>1100011
[8,3,2,4,7,6,5,1]=>1100111
[6,3,2,5,4,1,7,8]=>1101100
[6,3,2,5,4,1,8,7]=>1101101
[6,3,2,5,4,7,1,8]=>1101010
[6,3,2,5,4,7,8,1]=>1101001
[6,3,2,5,4,8,7,1]=>1101011
[7,3,2,5,4,6,1,8]=>1101010
[8,3,2,5,4,7,6,1]=>1101011
[7,3,2,5,6,4,8,1]=>1100101
[8,3,2,5,6,4,7,1]=>1100101
[8,3,2,5,6,7,4,1]=>1100011
[8,3,2,5,7,6,4,1]=>1100111
[8,3,2,6,5,7,4,1]=>1101011
[8,3,2,7,5,6,4,1]=>1101011
[8,3,2,7,6,5,4,1]=>1101111
[5,3,4,2,1,6,8,7]=>1011001
[5,3,4,2,1,7,8,6]=>1011001
[5,3,4,2,1,8,7,6]=>1011011
[5,3,4,2,6,1,8,7]=>1010101
[5,3,4,2,7,6,1,8]=>1010110
[5,3,4,2,7,6,8,1]=>1010101
[5,3,4,2,8,6,7,1]=>1010101
[6,3,4,2,5,1,8,7]=>1010101
[7,3,4,2,6,5,1,8]=>1010110
[7,3,4,2,6,5,8,1]=>1010101
[8,3,4,2,6,5,7,1]=>1010101
[6,3,4,5,2,1,8,7]=>1001101
[6,3,4,5,2,8,7,1]=>1001011
[8,3,4,5,2,7,6,1]=>1001011
[8,3,4,5,7,6,2,1]=>1000111
[7,3,4,6,5,2,1,8]=>1001110
[8,3,4,7,6,5,2,1]=>1001111
[6,3,5,4,2,1,8,7]=>1011101
[6,3,5,4,2,7,1,8]=>1011010
[6,3,5,4,2,7,8,1]=>1011001
[6,3,5,4,2,8,7,1]=>1011011
[7,3,5,4,2,6,1,8]=>1011010
[8,3,5,4,2,6,7,1]=>1011001
[8,3,5,4,2,7,6,1]=>1011011
[7,3,5,4,6,2,1,8]=>1010110
[7,3,5,4,6,2,8,1]=>1010101
[8,3,5,4,6,7,2,1]=>1010011
[8,3,5,4,7,6,2,1]=>1010111
[7,3,6,4,5,2,1,8]=>1010110
[7,3,6,4,5,2,8,1]=>1010101
[8,3,6,4,5,2,7,1]=>1010101
[8,3,6,4,5,7,2,1]=>1010011
[8,3,7,4,5,6,2,1]=>1010011
[8,3,7,4,6,5,2,1]=>1010111
[7,3,6,5,4,2,1,8]=>1011110
[7,3,6,5,4,2,8,1]=>1011101
[8,3,6,5,4,2,7,1]=>1011101
[8,3,6,5,4,7,2,1]=>1011011
[8,3,7,5,4,6,2,1]=>1011011
[8,3,7,5,6,4,2,1]=>1010111
[8,3,7,6,5,4,2,1]=>1011111
[5,4,3,2,8,6,7,1]=>1110101
[6,4,3,2,5,1,8,7]=>1110101
[6,4,3,2,5,8,7,1]=>1110011
[8,4,3,2,5,7,6,1]=>1110011
[7,4,3,2,6,5,1,8]=>1110110
[7,4,3,2,6,5,8,1]=>1110101
[8,4,3,2,6,5,7,1]=>1110101
[8,4,3,2,6,7,5,1]=>1110011
[8,4,3,2,7,6,5,1]=>1110111
[6,4,3,5,2,1,8,7]=>1101101
[8,4,3,5,2,7,6,1]=>1101011
[8,4,3,5,7,6,2,1]=>1100111
[7,4,3,6,5,2,1,8]=>1101110
[7,4,3,6,5,2,8,1]=>1101101
[8,4,3,7,5,6,2,1]=>1101011
[8,4,3,7,6,5,2,1]=>1101111
[6,5,3,4,2,1,8,7]=>1101101
[8,5,3,4,2,7,6,1]=>1101011
[8,5,3,4,7,6,2,1]=>1100111
[8,7,3,4,6,5,2,1]=>1100111
[7,6,3,5,4,2,1,8]=>1101110
[7,6,3,5,4,2,8,1]=>1101101
[8,6,3,5,4,2,7,1]=>1101101
[8,6,3,5,4,7,2,1]=>1101011
[8,7,3,5,4,6,2,1]=>1101011
[8,7,3,5,6,4,2,1]=>1100111
[8,7,3,6,5,4,2,1]=>1101111
[8,5,4,3,2,7,6,1]=>1111011
[8,5,4,3,7,6,2,1]=>1110111
[8,7,4,3,6,5,2,1]=>1110111
[8,7,4,6,5,3,2,1]=>1101111
[2,4,1,3,6,5,8,7]=>0100101
[2,1,4,6,3,5,8,7]=>1001001
[2,4,1,6,3,5,8,7]=>0101001
[2,4,6,1,3,5,8,7]=>0010001
[2,1,4,3,6,8,5,7]=>1010010
[2,4,1,3,6,8,5,7]=>0100010
[2,1,4,6,3,8,5,7]=>1001010
[2,4,1,6,3,8,5,7]=>0101010
[2,4,6,1,3,8,5,7]=>0010010
[2,1,4,6,8,3,5,7]=>1000100
[2,4,1,6,8,3,5,7]=>0100100
[2,4,6,1,8,3,5,7]=>0010100
[2,4,6,8,1,3,5,7]=>0001000
[2,4,1,3,6,5,7,8]=>0100100
[2,1,4,6,3,5,7,8]=>1001000
[2,4,1,6,3,5,7,8]=>0101000
[2,4,6,1,3,5,7,8]=>0010000
[2,1,4,6,3,7,5,8]=>1001010
[2,4,1,6,3,7,5,8]=>0101010
[2,4,6,1,3,7,5,8]=>0010010
[2,4,6,7,1,3,5,8]=>0001000
[2,4,1,3,6,7,8,5]=>0100001
[2,1,4,6,3,7,8,5]=>1001001
[2,4,1,6,3,7,8,5]=>0101001
[2,4,6,1,3,7,8,5]=>0010001
[2,1,4,6,7,3,8,5]=>1000101
[2,4,1,6,7,3,8,5]=>0100101
[2,4,6,1,7,3,8,5]=>0010101
[2,4,6,7,1,3,8,5]=>0001001
[2,1,4,6,7,8,3,5]=>1000010
[2,4,1,6,7,8,3,5]=>0100010
[2,4,6,1,7,8,3,5]=>0010010
[2,4,6,7,1,8,3,5]=>0001010
[2,4,6,7,8,1,3,5]=>0000100
[2,1,4,3,7,5,8,6]=>1010101
[2,4,1,3,7,5,8,6]=>0100101
[2,1,4,7,3,5,8,6]=>1001001
[2,4,1,7,3,5,8,6]=>0101001
[2,4,7,1,3,5,8,6]=>0010001
[2,1,4,3,7,8,5,6]=>1010010
[2,4,1,3,7,8,5,6]=>0100010
[2,4,1,7,3,8,5,6]=>0101010
[2,1,4,7,8,3,5,6]=>1000100
[2,4,1,7,8,3,5,6]=>0100100
[2,4,7,1,8,3,5,6]=>0010100
[2,4,7,8,1,3,5,6]=>0001000
[2,4,1,5,3,7,6,8]=>0101010
[2,4,5,1,3,7,6,8]=>0010010
[2,4,5,1,7,3,6,8]=>0010100
[2,4,1,3,5,7,8,6]=>0100001
[2,4,1,5,3,7,8,6]=>0101001
[2,4,5,1,3,7,8,6]=>0010001
[2,1,4,5,7,3,8,6]=>1000101
[2,4,1,5,7,3,8,6]=>0100101
[2,4,5,1,7,3,8,6]=>0010101
[2,4,5,7,1,3,8,6]=>0001001
[2,1,4,5,7,8,3,6]=>1000010
[2,4,5,1,7,8,3,6]=>0010010
[2,4,5,7,1,8,3,6]=>0001010
[2,4,5,7,8,1,3,6]=>0000100
[2,1,4,3,8,5,6,7]=>1010100
[2,4,1,3,8,5,6,7]=>0100100
[2,1,4,8,3,5,6,7]=>1001000
[2,4,1,8,3,5,6,7]=>0101000
[2,4,8,1,3,5,6,7]=>0010000
[2,1,4,3,5,8,6,7]=>1010010
[2,4,1,5,3,8,6,7]=>0101010
[2,1,4,5,8,3,6,7]=>1000100
[2,4,1,5,8,3,6,7]=>0100100
[2,4,5,1,8,3,6,7]=>0010100
[2,4,5,8,1,3,6,7]=>0001000
[2,4,1,5,3,6,8,7]=>0101001
[2,4,1,5,6,3,8,7]=>0100101
[2,4,5,1,6,3,8,7]=>0010101
[2,4,5,6,1,3,8,7]=>0001001
[2,1,4,5,6,8,3,7]=>1000010
[2,4,1,5,6,8,3,7]=>0100010
[2,4,5,1,6,8,3,7]=>0010010
[2,4,5,6,1,8,3,7]=>0001010
[2,4,5,6,8,1,3,7]=>0000100
[2,4,1,3,5,6,7,8]=>0100000
[2,4,1,5,3,6,7,8]=>0101000
[2,4,5,1,3,6,7,8]=>0010000
[2,4,1,5,6,3,7,8]=>0100100
[2,4,5,1,6,3,7,8]=>0010100
[2,4,5,6,1,3,7,8]=>0001000
[2,4,1,5,6,7,3,8]=>0100010
[2,4,5,6,1,7,3,8]=>0001010
[2,4,5,6,7,1,3,8]=>0000100
[2,4,1,5,6,7,8,3]=>0100001
[2,4,5,1,6,7,8,3]=>0010001
[2,4,5,6,1,7,8,3]=>0001001
[2,4,5,6,7,1,8,3]=>0000101
[2,4,5,6,7,8,1,3]=>0000010
[2,1,5,3,6,4,8,7]=>1010101
[2,5,1,3,6,4,8,7]=>0100101
[2,1,5,6,3,4,8,7]=>1001001
[2,5,1,6,3,4,8,7]=>0101001
[2,5,6,1,3,4,8,7]=>0010001
[2,1,5,3,6,8,4,7]=>1010010
[2,5,1,3,6,8,4,7]=>0100010
[2,5,1,6,3,8,4,7]=>0101010
[2,5,6,1,3,8,4,7]=>0010010
[2,1,5,6,8,3,4,7]=>1000100
[2,5,1,6,8,3,4,7]=>0100100
[2,5,6,8,1,3,4,7]=>0001000
[2,5,1,3,6,4,7,8]=>0100100
[2,1,5,6,3,4,7,8]=>1001000
[2,5,1,6,3,4,7,8]=>0101000
[2,1,5,3,6,7,4,8]=>1010010
[2,1,5,6,3,7,4,8]=>1001010
[2,5,1,6,3,7,4,8]=>0101010
[2,5,6,1,3,7,4,8]=>0010010
[2,1,5,6,7,3,4,8]=>1000100
[2,5,1,6,7,3,4,8]=>0100100
[2,5,6,1,7,3,4,8]=>0010100
[2,1,5,3,6,7,8,4]=>1010001
[2,5,1,3,6,7,8,4]=>0100001
[2,1,5,6,3,7,8,4]=>1001001
[2,5,1,6,3,7,8,4]=>0101001
[2,5,6,1,3,7,8,4]=>0010001
[2,1,5,6,7,3,8,4]=>1000101
[2,5,1,6,7,3,8,4]=>0100101
[2,5,6,7,1,3,8,4]=>0001001
[2,1,5,6,7,8,3,4]=>1000010
[2,5,1,6,7,8,3,4]=>0100010
[2,5,6,1,7,8,3,4]=>0010010
[2,5,6,7,1,8,3,4]=>0001010
[2,5,6,7,8,1,3,4]=>0000100
[2,1,5,3,7,4,8,6]=>1010101
[2,5,1,3,7,4,8,6]=>0100101
[2,1,5,7,3,4,8,6]=>1001001
[2,5,1,7,3,4,8,6]=>0101001
[2,5,7,1,3,4,8,6]=>0010001
[2,1,5,3,7,8,4,6]=>1010010
[2,5,1,3,7,8,4,6]=>0100010
[2,1,5,7,3,8,4,6]=>1001010
[2,1,5,7,8,3,4,6]=>1000100
[2,5,1,7,8,3,4,6]=>0100100
[2,5,7,1,8,3,4,6]=>0010100
[2,5,7,8,1,3,4,6]=>0001000
[2,5,1,3,7,4,6,8]=>0100100
[2,1,5,7,3,4,6,8]=>1001000
[2,3,5,1,4,7,6,8]=>0010010
[2,3,5,7,1,4,6,8]=>0001000
[2,3,5,1,7,4,8,6]=>0010101
[2,3,5,7,1,4,8,6]=>0001001
[2,3,1,5,7,8,4,6]=>0100010
[2,3,5,7,1,8,4,6]=>0001010
[2,3,5,7,8,1,4,6]=>0000100
[2,1,5,3,8,4,6,7]=>1010100
[2,5,1,3,8,4,6,7]=>0100100
[2,1,5,8,3,4,6,7]=>1001000
[2,5,1,8,3,4,6,7]=>0101000
[2,5,8,1,3,4,6,7]=>0010000
[2,3,5,1,4,8,6,7]=>0010010
[2,1,3,5,8,4,6,7]=>1000100
[2,3,5,1,8,4,6,7]=>0010100
[2,3,5,8,1,4,6,7]=>0001000
[2,1,5,3,4,6,8,7]=>1010001
[2,3,5,1,6,4,8,7]=>0010101
[2,3,5,6,1,4,8,7]=>0001001
[2,3,1,5,6,8,4,7]=>0100010
[2,3,5,1,6,8,4,7]=>0010010
[2,3,5,6,1,8,4,7]=>0001010
[2,3,5,6,8,1,4,7]=>0000100
[2,1,5,3,4,6,7,8]=>1010000
[2,5,1,3,4,6,7,8]=>0100000
[2,3,5,1,4,6,7,8]=>0010000
[2,3,5,1,6,4,7,8]=>0010100
[2,3,5,6,1,4,7,8]=>0001000
[2,3,5,6,1,7,4,8]=>0001010
[2,3,5,6,7,1,4,8]=>0000100
[2,3,5,1,6,7,8,4]=>0010001
[2,3,5,6,1,7,8,4]=>0001001
[2,3,5,6,7,1,8,4]=>0000101
[2,3,5,6,7,8,1,4]=>0000010
[2,1,6,3,7,4,8,5]=>1010101
[2,6,1,3,7,4,8,5]=>0100101
[2,1,6,7,3,4,8,5]=>1001001
[2,6,1,7,3,4,8,5]=>0101001
[2,6,7,1,3,4,8,5]=>0010001
[2,1,6,3,7,8,4,5]=>1010010
[2,6,1,3,7,8,4,5]=>0100010
[2,1,6,7,3,8,4,5]=>1001010
[2,6,1,7,3,8,4,5]=>0101010
[2,1,6,7,8,3,4,5]=>1000100
[2,6,1,7,8,3,4,5]=>0100100
[2,6,7,1,8,3,4,5]=>0010100
[2,6,7,8,1,3,4,5]=>0001000
[2,1,6,3,7,4,5,8]=>1010100
[2,6,1,7,3,4,5,8]=>0101000
[2,6,7,1,3,4,5,8]=>0010000
[2,6,1,3,4,7,5,8]=>0100010
[2,3,1,6,4,7,5,8]=>0101010
[2,3,6,1,4,7,5,8]=>0010010
[2,3,6,7,1,4,5,8]=>0001000
[2,1,6,3,4,7,8,5]=>1010001
[2,6,1,3,4,7,8,5]=>0100001
[2,3,6,1,4,7,8,5]=>0010001
[2,1,3,6,7,4,8,5]=>1000101
[2,3,6,7,1,4,8,5]=>0001001
[2,1,3,6,7,8,4,5]=>1000010
[2,3,1,6,7,8,4,5]=>0100010
[2,3,6,1,7,8,4,5]=>0010010
[2,3,6,7,1,8,4,5]=>0001010
[2,3,6,7,8,1,4,5]=>0000100
[2,1,6,3,8,4,5,7]=>1010100
[2,6,1,3,8,4,5,7]=>0100100
[2,1,6,8,3,4,5,7]=>1001000
[2,6,1,8,3,4,5,7]=>0101000
[2,6,8,1,3,4,5,7]=>0010000
[2,1,6,3,4,8,5,7]=>1010010
[2,6,1,3,4,8,5,7]=>0100010
[2,3,1,6,4,8,5,7]=>0101010
[2,3,6,1,4,8,5,7]=>0010010
[2,3,1,6,8,4,5,7]=>0100100
[2,3,6,1,8,4,5,7]=>0010100
[2,3,6,8,1,4,5,7]=>0001000
[2,1,6,3,4,5,8,7]=>1010001
[2,6,1,3,4,5,8,7]=>0100001
[2,1,3,6,4,5,8,7]=>1001001
[2,3,6,1,4,5,8,7]=>0010001
[2,3,4,1,6,8,5,7]=>0010010
[2,3,4,6,1,8,5,7]=>0001010
[2,3,4,6,8,1,5,7]=>0000100
[2,6,1,3,4,5,7,8]=>0100000
[2,1,3,6,4,5,7,8]=>1001000
[2,3,1,6,4,5,7,8]=>0101000
[2,3,6,1,4,5,7,8]=>0010000
[2,3,4,6,1,5,7,8]=>0001000
[2,3,4,6,1,7,5,8]=>0001010
[2,3,4,6,7,1,5,8]=>0000100
[2,3,4,6,1,7,8,5]=>0001001
[2,3,4,6,7,8,1,5]=>0000010
[2,1,7,3,8,4,5,6]=>1010100
[2,7,1,3,8,4,5,6]=>0100100
[2,1,7,8,3,4,5,6]=>1001000
[2,7,1,8,3,4,5,6]=>0101000
[2,7,8,1,3,4,5,6]=>0010000
[2,1,7,3,4,8,5,6]=>1010010
[2,7,1,3,4,8,5,6]=>0100010
[2,1,3,7,4,8,5,6]=>1001010
[2,3,1,7,4,8,5,6]=>0101010
[2,3,7,1,4,8,5,6]=>0010010
[2,1,3,7,8,4,5,6]=>1000100
[2,3,1,7,8,4,5,6]=>0100100
[2,3,7,8,1,4,5,6]=>0001000
[2,1,7,3,4,5,8,6]=>1010001
[2,7,1,3,4,5,8,6]=>0100001
[2,3,1,7,4,5,8,6]=>0101001
[2,3,7,1,4,5,8,6]=>0010001
[2,1,3,4,7,5,8,6]=>1000101
[2,3,4,1,7,5,8,6]=>0010101
[2,3,4,7,1,5,8,6]=>0001001
[2,1,3,4,7,8,5,6]=>1000010
[2,3,1,4,7,8,5,6]=>0100010
[2,3,4,1,7,8,5,6]=>0010010
[2,3,4,7,1,8,5,6]=>0001010
[2,3,4,7,8,1,5,6]=>0000100
[2,1,7,3,4,5,6,8]=>1010000
[2,7,1,3,4,5,6,8]=>0100000
[2,3,7,1,4,5,6,8]=>0010000
[2,1,3,4,7,5,6,8]=>1000100
[2,3,1,4,7,5,6,8]=>0100100
[2,3,4,1,7,5,6,8]=>0010100
[2,3,4,7,1,5,6,8]=>0001000
[2,3,4,5,7,1,6,8]=>0000100
[2,3,4,5,7,1,8,6]=>0000101
[2,3,4,5,7,8,1,6]=>0000010
[2,1,8,3,4,5,6,7]=>1010000
[2,8,1,3,4,5,6,7]=>0100000
[2,1,3,8,4,5,6,7]=>1001000
[2,3,1,8,4,5,6,7]=>0101000
[2,3,8,1,4,5,6,7]=>0010000
[2,1,3,4,8,5,6,7]=>1000100
[2,3,1,4,8,5,6,7]=>0100100
[2,3,4,1,8,5,6,7]=>0010100
[2,3,4,8,1,5,6,7]=>0001000
[2,1,3,4,5,8,6,7]=>1000010
[2,3,1,4,5,8,6,7]=>0100010
[2,3,4,1,5,8,6,7]=>0010010
[2,3,4,5,1,8,6,7]=>0001010
[2,3,4,5,8,1,6,7]=>0000100
[2,3,4,5,6,8,1,7]=>0000010
[3,1,4,2,6,5,8,7]=>1010101
[3,4,1,2,6,5,8,7]=>0100101
[3,1,4,6,2,5,8,7]=>1001001
[3,4,1,6,2,5,8,7]=>0101001
[3,4,6,1,2,5,8,7]=>0010001
[3,1,4,2,6,8,5,7]=>1010010
[3,4,1,2,6,8,5,7]=>0100010
[3,1,4,6,2,8,5,7]=>1001010
[3,4,1,6,2,8,5,7]=>0101010
[3,1,4,6,8,2,5,7]=>1000100
[3,4,1,6,8,2,5,7]=>0100100
[3,4,6,8,1,2,5,7]=>0001000
[3,1,4,2,6,5,7,8]=>1010100
[3,4,1,2,6,5,7,8]=>0100100
[3,1,4,2,6,7,5,8]=>1010010
[3,4,1,2,6,7,5,8]=>0100010
[3,4,1,6,2,7,5,8]=>0101010
[3,4,6,1,2,7,5,8]=>0010010
[3,4,1,6,7,2,5,8]=>0100100
[3,4,6,7,1,2,5,8]=>0001000
[3,1,4,2,6,7,8,5]=>1010001
[3,4,1,2,6,7,8,5]=>0100001
[3,1,4,6,2,7,8,5]=>1001001
[3,4,1,6,2,7,8,5]=>0101001
[3,4,6,1,2,7,8,5]=>0010001
[3,1,4,6,7,2,8,5]=>1000101
[3,4,1,6,7,2,8,5]=>0100101
[3,4,6,1,7,2,8,5]=>0010101
[3,4,6,7,1,2,8,5]=>0001001
[3,1,4,6,7,8,2,5]=>1000010
[3,4,1,6,7,8,2,5]=>0100010
[3,4,6,1,7,8,2,5]=>0010010
[3,4,6,7,1,8,2,5]=>0001010
[3,4,6,7,8,1,2,5]=>0000100
[3,1,4,2,7,5,8,6]=>1010101
[3,4,1,2,7,5,8,6]=>0100101
[3,1,4,7,2,5,8,6]=>1001001
[3,4,1,7,2,5,8,6]=>0101001
[3,4,7,1,2,5,8,6]=>0010001
[3,1,4,2,7,8,5,6]=>1010010
[3,4,1,2,7,8,5,6]=>0100010
[3,1,4,7,2,8,5,6]=>1001010
[3,4,7,1,8,2,5,6]=>0010100
[3,4,7,8,1,2,5,6]=>0001000
[3,1,4,2,7,5,6,8]=>1010100
[3,4,1,2,7,5,6,8]=>0100100
[3,4,1,2,5,7,6,8]=>0100010
[3,1,4,5,2,7,6,8]=>1001010
[3,4,1,5,2,7,6,8]=>0101010
[3,4,1,5,7,2,6,8]=>0100100
[3,4,5,7,1,2,6,8]=>0001000
[3,1,4,2,5,7,8,6]=>1010001
[3,4,1,2,5,7,8,6]=>0100001
[3,1,4,5,2,7,8,6]=>1001001
[3,4,5,1,2,7,8,6]=>0010001
[3,1,4,5,7,2,8,6]=>1000101
[3,4,1,5,7,2,8,6]=>0100101
[3,4,5,7,1,2,8,6]=>0001001
[3,1,4,5,7,8,2,6]=>1000010
[3,4,1,5,7,8,2,6]=>0100010
[3,4,5,1,7,8,2,6]=>0010010
[3,4,5,7,1,8,2,6]=>0001010
[3,4,5,7,8,1,2,6]=>0000100
[3,1,4,2,8,5,6,7]=>1010100
[3,4,1,2,8,5,6,7]=>0100100
[3,1,4,8,2,5,6,7]=>1001000
[3,4,1,8,2,5,6,7]=>0101000
[3,4,8,1,2,5,6,7]=>0010000
[3,1,4,2,5,8,6,7]=>1010010
[3,4,1,2,5,8,6,7]=>0100010
[3,4,1,5,2,8,6,7]=>0101010
[3,4,5,1,2,8,6,7]=>0010010
[3,1,4,5,8,2,6,7]=>1000100
[3,4,1,5,8,2,6,7]=>0100100
[3,4,5,8,1,2,6,7]=>0001000
[3,4,1,2,5,6,8,7]=>0100001
[3,4,5,1,2,6,8,7]=>0010001
[3,1,4,5,6,2,8,7]=>1000101
[3,4,1,5,6,2,8,7]=>0100101
[3,4,5,1,6,2,8,7]=>0010101
[3,4,5,6,1,2,8,7]=>0001001
[3,1,4,5,6,8,2,7]=>1000010
[3,4,1,5,6,8,2,7]=>0100010
[3,4,5,6,1,8,2,7]=>0001010
[3,4,5,6,8,1,2,7]=>0000100
[3,1,4,2,5,6,7,8]=>1010000
[3,1,4,5,2,6,7,8]=>1001000
[3,4,1,5,2,6,7,8]=>0101000
[3,1,4,5,6,2,7,8]=>1000100
[3,4,1,5,6,2,7,8]=>0100100
[3,4,5,1,6,2,7,8]=>0010100
[3,1,4,5,6,7,2,8]=>1000010
[3,4,1,5,6,7,2,8]=>0100010
[3,4,5,1,6,7,2,8]=>0010010
[3,4,5,6,1,7,2,8]=>0001010
[3,1,4,5,6,7,8,2]=>1000001
[3,4,1,5,6,7,8,2]=>0100001
[3,4,5,1,6,7,8,2]=>0010001
[3,4,5,6,1,7,8,2]=>0001001
[3,4,5,6,7,1,8,2]=>0000101
[3,1,5,2,6,4,8,7]=>1010101
[3,5,1,2,6,4,8,7]=>0100101
[3,1,5,6,2,4,8,7]=>1001001
[3,5,1,6,2,4,8,7]=>0101001
[3,5,6,1,2,4,8,7]=>0010001
[3,1,5,2,6,8,4,7]=>1010010
[3,5,1,2,6,8,4,7]=>0100010
[3,1,5,6,2,8,4,7]=>1001010
[3,5,6,1,2,8,4,7]=>0010010
[3,1,5,6,8,2,4,7]=>1000100
[3,5,1,6,8,2,4,7]=>0100100
[3,5,6,1,8,2,4,7]=>0010100
[3,5,6,8,1,2,4,7]=>0001000
[3,1,5,6,2,4,7,8]=>1001000
[3,5,1,6,2,4,7,8]=>0101000
[3,5,6,1,2,4,7,8]=>0010000
[3,5,1,2,6,7,4,8]=>0100010
[3,5,1,6,2,7,4,8]=>0101010
[3,5,6,1,2,7,4,8]=>0010010
[3,5,1,6,7,2,4,8]=>0100100
[3,5,6,1,7,2,4,8]=>0010100
[3,5,6,7,1,2,4,8]=>0001000
[3,1,5,2,6,7,8,4]=>1010001
[3,5,1,2,6,7,8,4]=>0100001
[3,1,5,6,2,7,8,4]=>1001001
[3,5,1,6,2,7,8,4]=>0101001
[3,5,6,1,2,7,8,4]=>0010001
[3,1,5,6,7,2,8,4]=>1000101
[3,5,1,6,7,2,8,4]=>0100101
[3,5,6,1,7,2,8,4]=>0010101
[3,5,6,7,1,2,8,4]=>0001001
[3,1,5,6,7,8,2,4]=>1000010
[3,5,1,6,7,8,2,4]=>0100010
[3,5,6,1,7,8,2,4]=>0010010
[3,5,6,7,1,8,2,4]=>0001010
[3,5,6,7,8,1,2,4]=>0000100
[3,1,5,2,7,4,8,6]=>1010101
[3,5,1,2,7,4,8,6]=>0100101
[3,1,5,7,2,4,8,6]=>1001001
[3,5,1,7,2,4,8,6]=>0101001
[3,5,7,1,2,4,8,6]=>0010001
[3,1,5,2,7,8,4,6]=>1010010
[3,5,1,2,7,8,4,6]=>0100010
[3,1,5,7,2,8,4,6]=>1001010
[3,5,1,7,2,8,4,6]=>0101010
[3,1,5,7,8,2,4,6]=>1000100
[3,5,1,7,8,2,4,6]=>0100100
[3,5,7,8,1,2,4,6]=>0001000
[3,1,5,2,7,4,6,8]=>1010100
[3,5,1,2,7,4,6,8]=>0100100
[3,1,5,7,2,4,6,8]=>1001000
[3,5,1,7,2,4,6,8]=>0101000
[3,5,7,1,2,4,6,8]=>0010000
[3,1,5,2,4,7,6,8]=>1010010
[3,5,1,2,4,7,6,8]=>0100010
[3,1,2,5,4,7,6,8]=>1001010
[1,3,5,2,4,7,6,8]=>0010010
[3,1,2,5,7,4,6,8]=>1000100
[1,3,2,5,7,4,6,8]=>0100100
[1,3,5,2,7,4,6,8]=>0010100
[1,3,5,7,2,4,6,8]=>0001000
[3,1,5,2,4,7,8,6]=>1010001
[3,5,1,2,4,7,8,6]=>0100001
[1,3,5,2,4,7,8,6]=>0010001
[3,1,2,5,7,4,8,6]=>1000101
[1,3,2,5,7,4,8,6]=>0100101
[1,3,5,2,7,4,8,6]=>0010101
[1,3,5,7,2,4,8,6]=>0001001
[3,1,2,5,7,8,4,6]=>1000010
[1,3,2,5,7,8,4,6]=>0100010
[1,3,5,2,7,8,4,6]=>0010010
[1,3,5,7,2,8,4,6]=>0001010
[1,3,5,7,8,2,4,6]=>0000100
[3,1,5,2,8,4,6,7]=>1010100
[3,5,1,2,8,4,6,7]=>0100100
[3,1,5,8,2,4,6,7]=>1001000
[3,5,1,8,2,4,6,7]=>0101000
[3,1,5,2,4,8,6,7]=>1010010
[3,5,1,2,4,8,6,7]=>0100010
[1,3,2,5,4,8,6,7]=>0101010
[1,3,5,2,4,8,6,7]=>0010010
[3,1,2,5,8,4,6,7]=>1000100
[1,3,2,5,8,4,6,7]=>0100100
[1,3,5,2,8,4,6,7]=>0010100
[1,3,5,8,2,4,6,7]=>0001000
[3,1,5,2,4,6,8,7]=>1010001
[3,5,1,2,4,6,8,7]=>0100001
[3,1,2,5,4,6,8,7]=>1001001
[1,3,5,2,4,6,8,7]=>0010001
[1,3,5,6,2,4,8,7]=>0001001
[3,1,2,5,6,8,4,7]=>1000010
[1,3,5,2,6,8,4,7]=>0010010
[1,3,5,6,2,8,4,7]=>0001010
[1,3,5,6,8,2,4,7]=>0000100
[3,1,5,2,4,6,7,8]=>1010000
[3,5,1,2,4,6,7,8]=>0100000
[1,3,5,2,4,6,7,8]=>0010000
[3,1,2,5,6,4,7,8]=>1000100
[1,3,5,2,6,4,7,8]=>0010100
[1,3,5,6,2,4,7,8]=>0001000
[3,1,2,5,6,7,4,8]=>1000010
[1,3,5,2,6,7,4,8]=>0010010
[1,3,5,6,2,7,4,8]=>0001010
[1,3,5,6,7,2,4,8]=>0000100
[3,1,2,5,6,7,8,4]=>1000001
[1,3,5,2,6,7,8,4]=>0010001
[1,3,5,6,2,7,8,4]=>0001001
[1,3,5,6,7,2,8,4]=>0000101
[1,3,5,6,7,8,2,4]=>0000010
[3,1,6,2,7,4,8,5]=>1010101
[3,6,1,2,7,4,8,5]=>0100101
[3,6,1,7,2,4,8,5]=>0101001
[3,6,7,1,2,4,8,5]=>0010001
[3,6,1,2,7,8,4,5]=>0100010
[3,1,6,7,2,8,4,5]=>1001010
[3,6,1,7,2,8,4,5]=>0101010
[3,6,7,1,2,8,4,5]=>0010010
[3,6,1,7,8,2,4,5]=>0100100
[3,6,7,8,1,2,4,5]=>0001000
[3,1,6,2,7,4,5,8]=>1010100
[3,1,6,7,2,4,5,8]=>1001000
[3,6,7,1,2,4,5,8]=>0010000
[3,1,6,2,4,7,5,8]=>1010010
[3,6,1,2,4,7,5,8]=>0100010
[3,1,2,6,4,7,5,8]=>1001010
[1,3,2,6,4,7,5,8]=>0101010
[1,3,6,2,4,7,5,8]=>0010010
[1,3,2,6,7,4,5,8]=>0100100
[1,3,6,2,7,4,5,8]=>0010100
[3,1,6,2,4,7,8,5]=>1010001
[3,6,1,2,4,7,8,5]=>0100001
[3,1,2,6,4,7,8,5]=>1001001
[1,3,2,6,4,7,8,5]=>0101001
[1,3,6,2,4,7,8,5]=>0010001
[3,1,2,6,7,4,8,5]=>1000101
[1,3,2,6,7,4,8,5]=>0100101
[1,3,6,2,7,4,8,5]=>0010101
[3,1,2,6,7,8,4,5]=>1000010
[1,3,2,6,7,8,4,5]=>0100010
[1,3,6,2,7,8,4,5]=>0010010
[1,3,6,7,8,2,4,5]=>0000100
[3,1,6,2,8,4,5,7]=>1010100
[3,1,6,8,2,4,5,7]=>1001000
[3,6,1,8,2,4,5,7]=>0101000
[3,6,8,1,2,4,5,7]=>0010000
[3,1,6,2,4,8,5,7]=>1010010
[3,6,1,2,4,8,5,7]=>0100010
[1,3,2,6,4,8,5,7]=>0101010
[1,3,6,2,4,8,5,7]=>0010010
[3,1,2,6,8,4,5,7]=>1000100
[1,3,2,6,8,4,5,7]=>0100100
[3,1,6,2,4,5,8,7]=>1010001
[3,6,1,2,4,5,8,7]=>0100001
[3,1,2,6,4,5,8,7]=>1001001
[1,3,6,2,4,5,8,7]=>0010001
[3,1,2,4,6,5,8,7]=>1000101
[1,3,4,6,2,5,8,7]=>0001001
[3,1,2,4,6,8,5,7]=>1000010
[1,3,2,4,6,8,5,7]=>0100010
[1,3,4,6,8,2,5,7]=>0000100
[3,1,6,2,4,5,7,8]=>1010000
[3,6,1,2,4,5,7,8]=>0100000
[1,3,2,6,4,5,7,8]=>0101000
[1,3,6,2,4,5,7,8]=>0010000
[1,3,4,6,2,5,7,8]=>0001000
[3,1,2,4,6,7,5,8]=>1000010
[1,3,4,6,2,7,5,8]=>0001010
[1,3,4,6,7,2,5,8]=>0000100
[3,1,2,4,6,7,8,5]=>1000001
[1,3,4,6,7,2,8,5]=>0000101
[1,3,4,6,7,8,2,5]=>0000010
[3,1,7,2,8,4,5,6]=>1010100
[3,7,1,2,8,4,5,6]=>0100100
[3,1,7,8,2,4,5,6]=>1001000
[3,7,1,8,2,4,5,6]=>0101000
[3,7,8,1,2,4,5,6]=>0010000
[3,7,1,2,4,8,5,6]=>0100010
[3,1,2,7,4,8,5,6]=>1001010
[1,3,2,7,4,8,5,6]=>0101010
[1,3,7,2,4,8,5,6]=>0010010
[3,1,2,7,8,4,5,6]=>1000100
[1,3,7,2,8,4,5,6]=>0010100
[1,3,7,8,2,4,5,6]=>0001000
[3,1,7,2,4,5,8,6]=>1010001
[3,7,1,2,4,5,8,6]=>0100001
[1,3,7,2,4,5,8,6]=>0010001
[3,1,2,4,7,5,8,6]=>1000101
[1,3,2,4,7,5,8,6]=>0100101
[1,3,4,2,7,5,8,6]=>0010101
[3,1,2,4,7,8,5,6]=>1000010
[1,3,2,4,7,8,5,6]=>0100010
[1,3,4,2,7,8,5,6]=>0010010
[1,3,4,7,8,2,5,6]=>0000100
[3,1,7,2,4,5,6,8]=>1010000
[3,7,1,2,4,5,6,8]=>0100000
[1,3,2,7,4,5,6,8]=>0101000
[1,3,7,2,4,5,6,8]=>0010000
[3,1,2,4,7,5,6,8]=>1000100
[1,3,4,7,2,5,6,8]=>0001000
[3,1,2,4,5,7,6,8]=>1000010
[1,3,4,5,7,2,6,8]=>0000100
[3,1,2,4,5,7,8,6]=>1000001
[1,3,4,5,7,2,8,6]=>0000101
[1,3,4,5,7,8,2,6]=>0000010
[3,1,8,2,4,5,6,7]=>1010000
[3,8,1,2,4,5,6,7]=>0100000
[3,1,2,8,4,5,6,7]=>1001000
[1,3,2,8,4,5,6,7]=>0101000
[1,3,8,2,4,5,6,7]=>0010000
[3,1,2,4,8,5,6,7]=>1000100
[1,3,2,4,8,5,6,7]=>0100100
[1,3,4,2,8,5,6,7]=>0010100
[1,3,4,8,2,5,6,7]=>0001000
[3,1,2,4,5,8,6,7]=>1000010
[1,3,2,4,5,8,6,7]=>0100010
[1,3,4,2,5,8,6,7]=>0010010
[1,3,4,5,2,8,6,7]=>0001010
[1,3,4,5,8,2,6,7]=>0000100
[3,1,2,4,5,6,8,7]=>1000001
[1,3,4,5,6,8,2,7]=>0000010
[4,1,5,2,6,3,8,7]=>1010101
[4,5,1,2,6,3,8,7]=>0100101
[4,1,5,6,2,3,8,7]=>1001001
[4,5,1,6,2,3,8,7]=>0101001
[4,5,6,1,2,3,8,7]=>0010001
[4,1,5,2,6,8,3,7]=>1010010
[4,5,1,2,6,8,3,7]=>0100010
[4,1,5,6,2,8,3,7]=>1001010
[4,5,1,6,2,8,3,7]=>0101010
[4,5,6,1,2,8,3,7]=>0010010
[4,1,5,6,8,2,3,7]=>1000100
[4,5,1,6,8,2,3,7]=>0100100
[4,5,6,1,8,2,3,7]=>0010100
[4,5,6,8,1,2,3,7]=>0001000
[4,1,5,2,6,3,7,8]=>1010100
[4,1,5,6,2,3,7,8]=>1001000
[4,5,1,6,2,3,7,8]=>0101000
[4,5,1,2,6,7,3,8]=>0100010
[4,5,1,6,2,7,3,8]=>0101010
[4,5,6,1,2,7,3,8]=>0010010
[4,1,5,6,7,2,3,8]=>1000100
[4,5,1,6,7,2,3,8]=>0100100
[4,5,6,1,7,2,3,8]=>0010100
[4,1,5,2,6,7,8,3]=>1010001
[4,5,1,2,6,7,8,3]=>0100001
[4,5,1,6,2,7,8,3]=>0101001
[4,5,6,1,2,7,8,3]=>0010001
[4,1,5,6,7,2,8,3]=>1000101
[4,5,1,6,7,2,8,3]=>0100101
[4,5,6,1,7,2,8,3]=>0010101
[4,5,6,7,1,2,8,3]=>0001001
[4,1,5,6,7,8,2,3]=>1000010
[4,5,1,6,7,8,2,3]=>0100010
[4,5,6,1,7,8,2,3]=>0010010
[4,5,6,7,1,8,2,3]=>0001010
[4,1,5,2,7,3,8,6]=>1010101
[4,5,1,7,2,3,8,6]=>0101001
[4,5,7,1,2,3,8,6]=>0010001
[4,1,5,2,7,8,3,6]=>1010010
[4,5,1,2,7,8,3,6]=>0100010
[4,1,5,7,2,8,3,6]=>1001010
[4,5,1,7,2,8,3,6]=>0101010
[4,5,7,1,2,8,3,6]=>0010010
[4,5,1,7,8,2,3,6]=>0100100
[4,5,7,8,1,2,3,6]=>0001000
[4,1,5,2,7,3,6,8]=>1010100
[4,5,1,2,7,3,6,8]=>0100100
[4,1,5,7,2,3,6,8]=>1001000
[4,5,1,7,2,3,6,8]=>0101000
[4,1,5,2,3,7,6,8]=>1010010
[4,5,1,2,3,7,6,8]=>0100010
[4,1,2,5,3,7,6,8]=>1001010
[1,4,2,5,3,7,6,8]=>0101010
[1,4,5,2,3,7,6,8]=>0010010
[4,1,2,5,7,3,6,8]=>1000100
[1,4,2,5,7,3,6,8]=>0100100
[1,4,5,2,7,3,6,8]=>0010100
[1,4,5,7,2,3,6,8]=>0001000
[4,1,5,2,3,7,8,6]=>1010001
[4,1,2,5,3,7,8,6]=>1001001
[1,4,2,5,3,7,8,6]=>0101001
[1,4,5,2,3,7,8,6]=>0010001
[4,1,2,5,7,3,8,6]=>1000101
[1,4,2,5,7,3,8,6]=>0100101
[1,4,5,2,7,3,8,6]=>0010101
[1,4,5,7,2,3,8,6]=>0001001
[4,1,2,5,7,8,3,6]=>1000010
[1,4,2,5,7,8,3,6]=>0100010
[1,4,5,2,7,8,3,6]=>0010010
[1,4,5,7,8,2,3,6]=>0000100
[4,1,5,2,8,3,6,7]=>1010100
[4,5,1,2,8,3,6,7]=>0100100
[4,1,5,8,2,3,6,7]=>1001000
[4,5,1,8,2,3,6,7]=>0101000
[4,5,8,1,2,3,6,7]=>0010000
[4,1,5,2,3,8,6,7]=>1010010
[4,5,1,2,3,8,6,7]=>0100010
[4,1,2,5,3,8,6,7]=>1001010
[1,4,2,5,3,8,6,7]=>0101010
[1,4,5,2,3,8,6,7]=>0010010
[4,1,2,5,8,3,6,7]=>1000100
[1,4,2,5,8,3,6,7]=>0100100
[1,4,5,2,8,3,6,7]=>0010100
[1,4,5,8,2,3,6,7]=>0001000
[1,4,2,5,3,6,8,7]=>0101001
[4,1,2,5,6,3,8,7]=>1000101
[1,4,5,2,6,3,8,7]=>0010101
[1,4,5,6,2,3,8,7]=>0001001
[4,1,2,5,6,8,3,7]=>1000010
[1,4,2,5,6,8,3,7]=>0100010
[1,4,5,2,6,8,3,7]=>0010010
[1,4,5,6,2,8,3,7]=>0001010
[1,4,5,6,8,2,3,7]=>0000100
[4,1,5,2,3,6,7,8]=>1010000
[4,1,2,5,3,6,7,8]=>1001000
[1,4,2,5,3,6,7,8]=>0101000
[1,4,5,2,3,6,7,8]=>0010000
[4,1,2,5,6,3,7,8]=>1000100
[1,4,5,2,6,3,7,8]=>0010100
[1,4,5,6,2,3,7,8]=>0001000
[4,1,2,5,6,7,3,8]=>1000010
[1,4,2,5,6,7,3,8]=>0100010
[1,4,5,2,6,7,3,8]=>0010010
[1,4,5,6,2,7,3,8]=>0001010
[1,4,5,6,7,2,3,8]=>0000100
[4,1,2,5,6,7,8,3]=>1000001
[1,4,2,5,6,7,8,3]=>0100001
[1,4,5,2,6,7,8,3]=>0010001
[1,4,5,6,2,7,8,3]=>0001001
[1,4,5,6,7,2,8,3]=>0000101
[1,4,5,6,7,8,2,3]=>0000010
[4,1,6,2,7,3,8,5]=>1010101
[4,1,6,7,2,3,8,5]=>1001001
[4,6,7,1,2,3,8,5]=>0010001
[4,6,1,2,7,8,3,5]=>0100010
[4,6,1,7,2,8,3,5]=>0101010
[4,6,7,1,2,8,3,5]=>0010010
[4,1,6,7,8,2,3,5]=>1000100
[4,6,1,7,8,2,3,5]=>0100100
[4,6,7,1,8,2,3,5]=>0010100
[4,6,7,8,1,2,3,5]=>0001000
[4,1,6,2,7,3,5,8]=>1010100
[4,6,1,2,7,3,5,8]=>0100100
[4,1,6,7,2,3,5,8]=>1001000
[4,6,1,7,2,3,5,8]=>0101000
[4,6,7,1,2,3,5,8]=>0010000
[4,1,6,2,3,7,5,8]=>1010010
[4,6,1,2,3,7,5,8]=>0100010
[4,1,2,6,3,7,5,8]=>1001010
[1,4,2,6,3,7,5,8]=>0101010
[4,1,2,6,7,3,5,8]=>1000100
[1,4,2,6,7,3,5,8]=>0100100
[1,4,6,2,7,3,5,8]=>0010100
[1,4,6,7,2,3,5,8]=>0001000
[4,1,6,2,3,7,8,5]=>1010001
[4,1,2,6,3,7,8,5]=>1001001
[1,4,6,2,3,7,8,5]=>0010001
[4,1,2,6,7,3,8,5]=>1000101
[1,4,6,2,7,3,8,5]=>0010101
[1,4,6,7,2,3,8,5]=>0001001
[1,4,2,6,7,8,3,5]=>0100010
[1,4,6,2,7,8,3,5]=>0010010
[1,4,6,7,2,8,3,5]=>0001010
[1,4,6,7,8,2,3,5]=>0000100
[4,1,6,2,8,3,5,7]=>1010100
[4,6,1,2,8,3,5,7]=>0100100
[4,1,6,8,2,3,5,7]=>1001000
[4,6,1,8,2,3,5,7]=>0101000
[4,6,8,1,2,3,5,7]=>0010000
[4,1,6,2,3,8,5,7]=>1010010
[4,6,1,2,3,8,5,7]=>0100010
[4,1,2,6,3,8,5,7]=>1001010
[1,4,2,6,3,8,5,7]=>0101010
[1,4,6,2,3,8,5,7]=>0010010
[1,4,2,6,8,3,5,7]=>0100100
[1,4,6,2,8,3,5,7]=>0010100
[1,4,6,8,2,3,5,7]=>0001000
[4,1,6,2,3,5,8,7]=>1010001
[4,6,1,2,3,5,8,7]=>0100001
[4,1,2,6,3,5,8,7]=>1001001
[1,4,2,6,3,5,8,7]=>0101001
[1,4,6,2,3,5,8,7]=>0010001
[4,1,2,3,6,5,8,7]=>1000101
[1,4,2,3,6,5,8,7]=>0100101
[1,2,4,6,3,5,8,7]=>0001001
[4,1,2,3,6,8,5,7]=>1000010
[1,2,4,3,6,8,5,7]=>0010010
[1,2,4,6,8,3,5,7]=>0000100
[4,1,6,2,3,5,7,8]=>1010000
[4,6,1,2,3,5,7,8]=>0100000
[1,4,2,6,3,5,7,8]=>0101000
[1,4,6,2,3,5,7,8]=>0010000
[4,1,2,3,6,5,7,8]=>1000100
[1,4,2,3,6,5,7,8]=>0100100
[1,2,4,6,3,5,7,8]=>0001000
[4,1,2,3,6,7,5,8]=>1000010
[1,4,2,3,6,7,5,8]=>0100010
[1,2,4,6,7,3,5,8]=>0000100
[4,1,2,3,6,7,8,5]=>1000001
[1,4,2,3,6,7,8,5]=>0100001
[1,2,4,6,7,3,8,5]=>0000101
[1,2,4,6,7,8,3,5]=>0000010
[4,1,7,2,8,3,5,6]=>1010100
[4,7,1,2,8,3,5,6]=>0100100
[4,1,7,8,2,3,5,6]=>1001000
[4,7,1,8,2,3,5,6]=>0101000
[4,7,8,1,2,3,5,6]=>0010000
[4,7,1,2,3,8,5,6]=>0100010
[1,4,2,7,3,8,5,6]=>0101010
[1,4,7,2,3,8,5,6]=>0010010
[4,1,2,7,8,3,5,6]=>1000100
[1,4,2,7,8,3,5,6]=>0100100
[1,4,7,2,8,3,5,6]=>0010100
[1,4,7,8,2,3,5,6]=>0001000
[4,1,7,2,3,5,8,6]=>1010001
[4,7,1,2,3,5,8,6]=>0100001
[4,1,2,7,3,5,8,6]=>1001001
[1,4,2,7,3,5,8,6]=>0101001
[1,4,7,2,3,5,8,6]=>0010001
[4,1,2,3,7,5,8,6]=>1000101
[1,4,2,3,7,5,8,6]=>0100101
[1,2,4,3,7,5,8,6]=>0010101
[1,2,4,7,3,5,8,6]=>0001001
[4,1,2,3,7,8,5,6]=>1000010
[1,4,2,3,7,8,5,6]=>0100010
[1,2,4,3,7,8,5,6]=>0010010
[1,2,4,7,3,8,5,6]=>0001010
[1,2,4,7,8,3,5,6]=>0000100
[4,1,7,2,3,5,6,8]=>1010000
[4,7,1,2,3,5,6,8]=>0100000
[4,1,2,7,3,5,6,8]=>1001000
[1,4,2,7,3,5,6,8]=>0101000
[1,4,7,2,3,5,6,8]=>0010000
[4,1,2,3,7,5,6,8]=>1000100
[1,4,2,3,7,5,6,8]=>0100100
[1,2,4,3,7,5,6,8]=>0010100
[1,2,4,7,3,5,6,8]=>0001000
[4,1,2,3,5,7,6,8]=>1000010
[1,4,2,3,5,7,6,8]=>0100010
[1,2,4,5,7,3,6,8]=>0000100
[4,1,2,3,5,7,8,6]=>1000001
[1,4,2,3,5,7,8,6]=>0100001
[1,2,4,5,7,3,8,6]=>0000101
[1,2,4,5,7,8,3,6]=>0000010
[4,1,8,2,3,5,6,7]=>1010000
[4,8,1,2,3,5,6,7]=>0100000
[4,1,2,8,3,5,6,7]=>1001000
[1,4,2,8,3,5,6,7]=>0101000
[1,4,8,2,3,5,6,7]=>0010000
[4,1,2,3,8,5,6,7]=>1000100
[1,4,2,3,8,5,6,7]=>0100100
[1,2,4,3,8,5,6,7]=>0010100
[1,2,4,8,3,5,6,7]=>0001000
[4,1,2,3,5,8,6,7]=>1000010
[1,4,2,3,5,8,6,7]=>0100010
[1,2,4,3,5,8,6,7]=>0010010
[1,2,4,5,3,8,6,7]=>0001010
[1,2,4,5,8,3,6,7]=>0000100
[4,1,2,3,5,6,8,7]=>1000001
[1,4,2,3,5,6,8,7]=>0100001
[1,2,4,5,6,8,3,7]=>0000010
[1,4,2,3,5,6,7,8]=>0100000
[5,1,6,2,7,3,8,4]=>1010101
[5,6,1,2,7,3,8,4]=>0100101
[5,1,6,7,2,3,8,4]=>1001001
[5,6,1,7,2,3,8,4]=>0101001
[5,6,7,1,2,3,8,4]=>0010001
[5,6,1,2,7,8,3,4]=>0100010
[5,1,6,7,2,8,3,4]=>1001010
[5,6,7,1,2,8,3,4]=>0010010
[5,1,6,7,8,2,3,4]=>1000100
[5,6,1,7,8,2,3,4]=>0100100
[5,6,7,1,8,2,3,4]=>0010100
[5,1,6,2,7,3,4,8]=>1010100
[5,6,1,2,7,3,4,8]=>0100100
[5,6,1,7,2,3,4,8]=>0101000
[5,1,6,2,3,7,4,8]=>1010010
[5,1,2,6,3,7,4,8]=>1001010
[1,5,2,6,3,7,4,8]=>0101010
[5,1,2,6,7,3,4,8]=>1000100
[1,5,2,6,7,3,4,8]=>0100100
[1,5,6,2,7,3,4,8]=>0010100
[1,5,6,7,2,3,4,8]=>0001000
[5,1,6,2,3,7,8,4]=>1010001
[5,6,1,2,3,7,8,4]=>0100001
[5,1,2,6,3,7,8,4]=>1001001
[1,5,2,6,3,7,8,4]=>0101001
[1,5,6,2,3,7,8,4]=>0010001
[5,1,2,6,7,3,8,4]=>1000101
[1,5,6,7,2,3,8,4]=>0001001
[5,1,2,6,7,8,3,4]=>1000010
[1,5,2,6,7,8,3,4]=>0100010
[1,5,6,2,7,8,3,4]=>0010010
[1,5,6,7,2,8,3,4]=>0001010
[1,5,6,7,8,2,3,4]=>0000100
[5,1,6,2,8,3,4,7]=>1010100
[5,6,1,2,8,3,4,7]=>0100100
[5,6,1,8,2,3,4,7]=>0101000
[5,6,8,1,2,3,4,7]=>0010000
[5,1,6,2,3,8,4,7]=>1010010
[5,6,1,2,3,8,4,7]=>0100010
[5,1,2,6,3,8,4,7]=>1001010
[1,5,2,6,3,8,4,7]=>0101010
[1,5,6,2,3,8,4,7]=>0010010
[5,1,2,6,8,3,4,7]=>1000100
[1,5,2,6,8,3,4,7]=>0100100
[1,5,6,2,8,3,4,7]=>0010100
[1,5,6,8,2,3,4,7]=>0001000
[5,1,6,2,3,4,8,7]=>1010001
[5,6,1,2,3,4,8,7]=>0100001
[5,1,2,6,3,4,8,7]=>1001001
[1,5,2,6,3,4,8,7]=>0101001
[1,5,6,2,3,4,8,7]=>0010001
[1,5,2,3,6,4,8,7]=>0100101
[1,2,5,3,6,4,8,7]=>0010101
[1,2,5,6,3,4,8,7]=>0001001
[5,1,2,3,6,8,4,7]=>1000010
[1,5,2,3,6,8,4,7]=>0100010
[1,2,5,6,3,8,4,7]=>0001010
[5,1,6,2,3,4,7,8]=>1010000
[5,1,2,6,3,4,7,8]=>1001000
[1,5,2,6,3,4,7,8]=>0101000
[1,5,6,2,3,4,7,8]=>0010000
[5,1,2,3,6,4,7,8]=>1000100
[1,5,2,3,6,4,7,8]=>0100100
[1,2,5,3,6,4,7,8]=>0010100
[1,2,5,6,3,4,7,8]=>0001000
[5,1,2,3,6,7,4,8]=>1000010
[1,5,2,3,6,7,4,8]=>0100010
[1,2,5,3,6,7,4,8]=>0010010
[1,2,5,6,3,7,4,8]=>0001010
[5,1,2,3,6,7,8,4]=>1000001
[1,5,2,3,6,7,8,4]=>0100001
[1,2,5,3,6,7,8,4]=>0010001
[1,2,5,6,3,7,8,4]=>0001001
[1,2,5,6,7,3,8,4]=>0000101
[1,2,5,6,7,8,3,4]=>0000010
[5,1,7,2,8,3,4,6]=>1010100
[5,7,1,2,8,3,4,6]=>0100100
[5,1,7,8,2,3,4,6]=>1001000
[5,7,1,8,2,3,4,6]=>0101000
[5,7,8,1,2,3,4,6]=>0010000
[5,1,7,2,3,8,4,6]=>1010010
[5,7,1,2,3,8,4,6]=>0100010
[5,1,2,7,3,8,4,6]=>1001010
[1,5,2,7,3,8,4,6]=>0101010
[1,5,7,2,3,8,4,6]=>0010010
[5,1,2,7,8,3,4,6]=>1000100
[1,5,2,7,8,3,4,6]=>0100100
[1,5,7,2,8,3,4,6]=>0010100
[1,5,7,8,2,3,4,6]=>0001000
[5,1,7,2,3,4,8,6]=>1010001
[5,7,1,2,3,4,8,6]=>0100001
[5,1,2,7,3,4,8,6]=>1001001
[1,5,2,7,3,4,8,6]=>0101001
[1,5,7,2,3,4,8,6]=>0010001
[5,1,2,3,7,4,8,6]=>1000101
[1,5,2,3,7,4,8,6]=>0100101
[1,2,5,3,7,4,8,6]=>0010101
[1,2,5,7,3,4,8,6]=>0001001
[5,1,2,3,7,8,4,6]=>1000010
[1,5,2,3,7,8,4,6]=>0100010
[1,2,5,7,3,8,4,6]=>0001010
[1,2,5,7,8,3,4,6]=>0000100
[5,7,1,2,3,4,6,8]=>0100000
[5,1,2,7,3,4,6,8]=>1001000
[1,5,2,7,3,4,6,8]=>0101000
[1,5,7,2,3,4,6,8]=>0010000
[1,5,2,3,7,4,6,8]=>0100100
[1,2,5,3,7,4,6,8]=>0010100
[1,2,5,7,3,4,6,8]=>0001000
[1,5,2,3,4,7,6,8]=>0100010
[1,2,5,3,4,7,6,8]=>0010010
[1,2,3,5,7,4,6,8]=>0000100
[5,1,2,3,4,7,8,6]=>1000001
[1,5,2,3,4,7,8,6]=>0100001
[1,2,5,3,4,7,8,6]=>0010001
[1,2,3,5,7,4,8,6]=>0000101
[1,2,3,5,7,8,4,6]=>0000010
[5,1,8,2,3,4,6,7]=>1010000
[5,8,1,2,3,4,6,7]=>0100000
[5,1,2,8,3,4,6,7]=>1001000
[1,5,2,8,3,4,6,7]=>0101000
[1,5,8,2,3,4,6,7]=>0010000
[5,1,2,3,8,4,6,7]=>1000100
[1,5,2,3,8,4,6,7]=>0100100
[1,2,5,3,8,4,6,7]=>0010100
[1,2,5,8,3,4,6,7]=>0001000
[5,1,2,3,4,8,6,7]=>1000010
[1,5,2,3,4,8,6,7]=>0100010
[1,2,5,3,4,8,6,7]=>0010010
[1,2,3,5,4,8,6,7]=>0001010
[1,2,3,5,8,4,6,7]=>0000100
[5,1,2,3,4,6,8,7]=>1000001
[1,5,2,3,4,6,8,7]=>0100001
[1,2,5,3,4,6,8,7]=>0010001
[1,2,3,5,6,8,4,7]=>0000010
[1,5,2,3,4,6,7,8]=>0100000
[1,2,5,3,4,6,7,8]=>0010000
[6,1,7,2,8,3,4,5]=>1010100
[6,7,1,2,8,3,4,5]=>0100100
[6,1,7,8,2,3,4,5]=>1001000
[6,7,1,8,2,3,4,5]=>0101000
[6,1,7,2,3,8,4,5]=>1010010
[6,7,1,2,3,8,4,5]=>0100010
[6,1,2,7,3,8,4,5]=>1001010
[1,6,2,7,3,8,4,5]=>0101010
[1,6,7,2,3,8,4,5]=>0010010
[6,1,2,7,8,3,4,5]=>1000100
[1,6,2,7,8,3,4,5]=>0100100
[1,6,7,2,8,3,4,5]=>0010100
[1,6,7,8,2,3,4,5]=>0001000
[6,1,7,2,3,4,8,5]=>1010001
[6,7,1,2,3,4,8,5]=>0100001
[6,1,2,7,3,4,8,5]=>1001001
[1,6,2,7,3,4,8,5]=>0101001
[1,6,7,2,3,4,8,5]=>0010001
[6,1,2,3,7,4,8,5]=>1000101
[1,6,2,3,7,4,8,5]=>0100101
[1,2,6,3,7,4,8,5]=>0010101
[6,1,2,3,7,8,4,5]=>1000010
[1,6,2,3,7,8,4,5]=>0100010
[1,2,6,3,7,8,4,5]=>0010010
[1,2,6,7,3,8,4,5]=>0001010
[1,2,6,7,8,3,4,5]=>0000100
[6,1,7,2,3,4,5,8]=>1010000
[6,1,2,7,3,4,5,8]=>1001000
[1,6,2,7,3,4,5,8]=>0101000
[1,6,7,2,3,4,5,8]=>0010000
[6,1,2,3,7,4,5,8]=>1000100
[1,6,2,3,7,4,5,8]=>0100100
[1,2,6,3,7,4,5,8]=>0010100
[1,2,6,7,3,4,5,8]=>0001000
[6,1,2,3,4,7,5,8]=>1000010
[1,6,2,3,4,7,5,8]=>0100010
[1,2,6,3,4,7,5,8]=>0010010
[1,2,3,6,4,7,5,8]=>0001010
[1,2,3,6,7,4,5,8]=>0000100
[6,1,2,3,4,7,8,5]=>1000001
[1,6,2,3,4,7,8,5]=>0100001
[1,2,6,3,4,7,8,5]=>0010001
[1,2,3,6,4,7,8,5]=>0001001
[1,2,3,6,7,4,8,5]=>0000101
[1,2,3,6,7,8,4,5]=>0000010
[6,1,8,2,3,4,5,7]=>1010000
[6,8,1,2,3,4,5,7]=>0100000
[6,1,2,8,3,4,5,7]=>1001000
[1,6,2,8,3,4,5,7]=>0101000
[1,6,8,2,3,4,5,7]=>0010000
[6,1,2,3,8,4,5,7]=>1000100
[1,6,2,3,8,4,5,7]=>0100100
[1,2,6,3,8,4,5,7]=>0010100
[1,2,6,8,3,4,5,7]=>0001000
[6,1,2,3,4,8,5,7]=>1000010
[1,6,2,3,4,8,5,7]=>0100010
[1,2,6,3,4,8,5,7]=>0010010
[1,2,3,6,4,8,5,7]=>0001010
[1,2,3,6,8,4,5,7]=>0000100
[6,1,2,3,4,5,8,7]=>1000001
[1,6,2,3,4,5,8,7]=>0100001
[1,2,6,3,4,5,8,7]=>0010001
[1,2,3,6,4,5,8,7]=>0001001
[1,2,3,4,6,8,5,7]=>0000010
[1,6,2,3,4,5,7,8]=>0100000
[1,2,6,3,4,5,7,8]=>0010000
[1,2,3,6,4,5,7,8]=>0001000
[7,1,8,2,3,4,5,6]=>1010000
[7,1,2,8,3,4,5,6]=>1001000
[1,7,2,8,3,4,5,6]=>0101000
[1,7,8,2,3,4,5,6]=>0010000
[7,1,2,3,8,4,5,6]=>1000100
[1,7,2,3,8,4,5,6]=>0100100
[1,2,7,3,8,4,5,6]=>0010100
[1,2,7,8,3,4,5,6]=>0001000
[7,1,2,3,4,8,5,6]=>1000010
[1,7,2,3,4,8,5,6]=>0100010
[1,2,7,3,4,8,5,6]=>0010010
[1,2,3,7,4,8,5,6]=>0001010
[1,2,3,7,8,4,5,6]=>0000100
[7,1,2,3,4,5,8,6]=>1000001
[1,7,2,3,4,5,8,6]=>0100001
[1,2,7,3,4,5,8,6]=>0010001
[1,2,3,7,4,5,8,6]=>0001001
[1,2,3,4,7,5,8,6]=>0000101
[1,2,3,4,7,8,5,6]=>0000010
[1,7,2,3,4,5,6,8]=>0100000
[1,2,7,3,4,5,6,8]=>0010000
[1,2,3,7,4,5,6,8]=>0001000
[1,2,3,4,7,5,6,8]=>0000100
[1,8,2,3,4,5,6,7]=>0100000
[1,2,8,3,4,5,6,7]=>0010000
[1,2,3,8,4,5,6,7]=>0001000
[1,2,3,4,8,5,6,7]=>0000100
[1,2,3,4,5,8,6,7]=>0000010
[5,3,2,6,1,4,8,7]=>1101001
[7,3,2,5,4,8,1,6]=>1101010
[8,4,5,2,3,7,6,1]=>1010011
[7,4,5,2,3,8,1,6]=>1010010
[6,4,5,2,3,1,8,7]=>1010101
[5,4,6,2,1,3,8,7]=>1011001
[3,6,1,5,4,2,8,7]=>0101101
[4,6,5,1,3,2,8,7]=>0110101
[5,6,4,3,1,2,8,7]=>0111001
[7,5,4,3,2,8,1,6]=>1111010
[8,6,4,3,7,2,5,1]=>1110101
[7,6,4,3,8,2,1,5]=>1110110
[6,7,4,3,8,1,2,5]=>0110100
[5,7,4,3,1,8,2,6]=>0111010
[4,7,5,1,3,8,2,6]=>0110010
[3,7,1,5,4,8,2,6]=>0101010
[2,1,7,5,4,8,3,6]=>1011010
[3,8,1,5,4,7,6,2]=>0101011
[4,8,5,1,3,7,6,2]=>0110011
[5,8,4,3,1,7,6,2]=>0111011
[6,8,4,3,7,1,5,2]=>0110101
[7,8,4,3,6,5,1,2]=>0110110
[6,8,5,7,3,1,4,2]=>0101101
[5,8,6,7,1,3,4,2]=>0101001
[4,8,6,1,7,3,5,2]=>0110101
[3,8,1,6,7,4,5,2]=>0100101
[2,1,8,6,7,4,5,3]=>1010101
[2,1,7,6,8,4,3,5]=>1010110
[3,7,1,6,8,4,2,5]=>0100110
[4,7,6,1,8,3,2,5]=>0110110
[5,7,6,8,1,3,2,4]=>0101010
[5,4,7,2,1,8,3,6]=>1011010
[6,4,7,2,8,1,3,5]=>1010100
[7,4,6,2,8,3,1,5]=>1010110
[8,4,6,2,7,3,5,1]=>1010101
[8,3,2,6,7,4,5,1]=>1100101
[7,3,2,6,8,4,1,5]=>1100110
[6,3,2,7,8,1,4,5]=>1100100
[5,3,2,7,1,8,4,6]=>1101010
[4,3,2,1,7,8,5,6]=>1110010
[3,4,1,2,8,7,6,5]=>0100111
[5,3,2,8,1,7,6,4]=>1101011
[6,3,2,8,7,1,5,4]=>1101101
[7,3,2,8,6,5,1,4]=>1101110
[8,4,7,2,6,5,3,1]=>1010111
[7,4,8,2,6,5,1,3]=>1010110
[6,4,8,2,7,1,5,3]=>1010101
[5,4,8,2,1,7,6,3]=>1011011
[4,5,8,1,2,7,6,3]=>0010011
[3,5,1,8,2,7,6,4]=>0101011
[2,1,5,8,3,7,6,4]=>1001011
[2,1,6,8,7,3,5,4]=>1001101
[3,6,1,8,7,2,5,4]=>0101101
[4,6,8,1,7,2,5,3]=>0010101
[5,6,8,7,1,2,4,3]=>0011001
[6,5,8,7,2,1,4,3]=>1011101
[7,5,8,6,2,4,1,3]=>1011010
[8,5,7,6,2,4,3,1]=>1011011
[5,7,8,6,1,4,2,3]=>0011010
[4,7,8,1,6,5,2,3]=>0010110
[3,7,1,8,6,5,2,4]=>0101110
[2,1,7,8,6,5,3,4]=>1001110
[3,8,1,7,6,5,4,2]=>0101111
[4,8,7,1,6,5,3,2]=>0110111
[5,8,7,6,1,4,3,2]=>0111011
[6,8,7,5,4,1,3,2]=>0111101
[3,2,5,1,4,6,7,8]=>1010000
[4,2,5,1,3,6,7,8]=>1010000
[5,2,4,1,3,6,7,8]=>1010000
[3,2,6,1,4,5,7,8]=>1010000
[4,2,6,1,3,5,7,8]=>1010000
[5,3,6,1,2,4,7,8]=>1010000
[6,2,4,1,3,5,7,8]=>1010000
[6,3,5,1,2,4,7,8]=>1010000
[5,2,7,1,3,4,6,8]=>1010000
[5,3,7,1,2,4,6,8]=>1010000
[5,4,7,1,2,3,6,8]=>1010000
[6,2,7,1,3,4,5,8]=>1010000
[6,3,7,1,2,4,5,8]=>1010000
[6,4,7,1,2,3,5,8]=>1010000
[7,3,5,1,2,4,6,8]=>1010000
[7,3,6,1,2,4,5,8]=>1010000
[7,4,6,1,2,3,5,8]=>1010000
[3,2,8,1,4,5,6,7]=>1010000
[4,2,8,1,3,5,6,7]=>1010000
[5,2,8,1,3,4,6,7]=>1010000
[5,4,8,1,2,3,6,7]=>1010000
[6,2,8,1,3,4,5,7]=>1010000
[6,3,8,1,2,4,5,7]=>1010000
[6,4,8,1,2,3,5,7]=>1010000
[6,5,8,1,2,3,4,7]=>1010000
[7,2,8,1,3,4,5,6]=>1010000
[7,3,8,1,2,4,5,6]=>1010000
[7,4,8,1,2,3,5,6]=>1010000
[7,5,8,1,2,3,4,6]=>1010000
[8,2,4,1,3,5,6,7]=>1010000
[8,3,5,1,2,4,6,7]=>1010000
[8,3,6,1,2,4,5,7]=>1010000
[8,3,7,1,2,4,5,6]=>1010000
[8,4,7,1,2,3,5,6]=>1010000
[8,5,7,1,2,3,4,6]=>1010000
[3,2,5,7,1,4,6,8]=>1001000
[4,2,5,7,1,3,6,8]=>1001000
[4,3,5,7,1,2,6,8]=>1001000
[5,2,4,7,1,3,6,8]=>1001000
[5,3,4,7,1,2,6,8]=>1001000
[4,2,6,7,1,3,5,8]=>1001000
[5,2,6,7,1,3,4,8]=>1001000
[5,3,6,7,1,2,4,8]=>1001000
[6,2,5,7,1,3,4,8]=>1001000
[6,3,5,7,1,2,4,8]=>1001000
[7,2,4,6,1,3,5,8]=>1001000
[7,3,4,6,1,2,5,8]=>1001000
[7,3,5,6,1,2,4,8]=>1001000
[3,2,5,8,1,4,6,7]=>1001000
[4,2,5,8,1,3,6,7]=>1001000
[4,3,5,8,1,2,6,7]=>1001000
[5,2,4,8,1,3,6,7]=>1001000
[3,2,6,8,1,4,5,7]=>1001000
[4,2,6,8,1,3,5,7]=>1001000
[4,3,6,8,1,2,5,7]=>1001000
[5,2,6,8,1,3,4,7]=>1001000
[6,2,4,8,1,3,5,7]=>1001000
[6,3,4,8,1,2,5,7]=>1001000
[6,2,5,8,1,3,4,7]=>1001000
[6,3,5,8,1,2,4,7]=>1001000
[6,4,5,8,1,2,3,7]=>1001000
[3,2,7,8,1,4,5,6]=>1001000
[4,3,7,8,1,2,5,6]=>1001000
[5,3,7,8,1,2,4,6]=>1001000
[6,2,7,8,1,3,4,5]=>1001000
[6,3,7,8,1,2,4,5]=>1001000
[6,4,7,8,1,2,3,5]=>1001000
[7,2,4,8,1,3,5,6]=>1001000
[7,3,4,8,1,2,5,6]=>1001000
[7,3,5,8,1,2,4,6]=>1001000
[7,4,5,8,1,2,3,6]=>1001000
[7,4,6,8,1,2,3,5]=>1001000
[8,2,4,6,1,3,5,7]=>1001000
[8,3,4,6,1,2,5,7]=>1001000
[8,2,5,6,1,3,4,7]=>1001000
[8,3,5,6,1,2,4,7]=>1001000
[8,2,4,7,1,3,5,6]=>1001000
[8,2,5,7,1,3,4,6]=>1001000
[8,3,5,7,1,2,4,6]=>1001000
[8,2,6,7,1,3,4,5]=>1001000
[8,4,6,7,1,2,3,5]=>1001000
[3,6,2,5,1,4,7,8]=>0101000
[4,6,2,5,1,3,7,8]=>0101000
[4,6,3,5,1,2,7,8]=>0101000
[3,7,2,5,1,4,6,8]=>0101000
[4,7,3,5,1,2,6,8]=>0101000
[5,7,2,4,1,3,6,8]=>0101000
[5,7,3,4,1,2,6,8]=>0101000
[3,7,2,6,1,4,5,8]=>0101000
[4,7,3,6,1,2,5,8]=>0101000
[5,7,2,6,1,3,4,8]=>0101000
[5,7,3,6,1,2,4,8]=>0101000
[6,7,2,5,1,3,4,8]=>0101000
[4,8,2,5,1,3,6,7]=>0101000
[5,8,2,4,1,3,6,7]=>0101000
[5,8,3,4,1,2,6,7]=>0101000
[3,8,2,6,1,4,5,7]=>0101000
[4,8,2,6,1,3,5,7]=>0101000
[5,8,3,6,1,2,4,7]=>0101000
[5,8,4,6,1,2,3,7]=>0101000
[6,8,2,4,1,3,5,7]=>0101000
[6,8,3,4,1,2,5,7]=>0101000
[6,8,3,5,1,2,4,7]=>0101000
[6,8,4,5,1,2,3,7]=>0101000
[3,8,2,7,1,4,5,6]=>0101000
[4,8,2,7,1,3,5,6]=>0101000
[4,8,3,7,1,2,5,6]=>0101000
[5,8,2,7,1,3,4,6]=>0101000
[5,8,3,7,1,2,4,6]=>0101000
[5,8,4,7,1,2,3,6]=>0101000
[6,8,2,7,1,3,4,5]=>0101000
[6,8,3,7,1,2,4,5]=>0101000
[6,8,5,7,1,2,3,4]=>0101000
[7,8,2,4,1,3,5,6]=>0101000
[7,8,2,5,1,3,4,6]=>0101000
[7,8,3,5,1,2,4,6]=>0101000
[7,8,4,6,1,2,3,5]=>0101000
[4,3,2,6,1,5,7,8]=>1101000
[5,3,2,6,1,4,7,8]=>1101000
[6,3,2,5,1,4,7,8]=>1101000
[6,4,2,5,1,3,7,8]=>1101000
[6,5,2,4,1,3,7,8]=>1101000
[4,3,2,7,1,5,6,8]=>1101000
[5,3,2,7,1,4,6,8]=>1101000
[5,4,3,7,1,2,6,8]=>1101000
[6,3,2,7,1,4,5,8]=>1101000
[6,4,2,7,1,3,5,8]=>1101000
[6,4,3,7,1,2,5,8]=>1101000
[6,5,3,7,1,2,4,8]=>1101000
[7,3,2,5,1,4,6,8]=>1101000
[7,4,2,5,1,3,6,8]=>1101000
[7,3,2,6,1,4,5,8]=>1101000
[7,4,2,6,1,3,5,8]=>1101000
[7,4,3,6,1,2,5,8]=>1101000
[7,5,2,6,1,3,4,8]=>1101000
[7,5,3,6,1,2,4,8]=>1101000
[7,6,3,5,1,2,4,8]=>1101000
[4,3,2,8,1,5,6,7]=>1101000
[5,3,2,8,1,4,6,7]=>1101000
[5,4,3,8,1,2,6,7]=>1101000
[6,3,2,8,1,4,5,7]=>1101000
[6,4,2,8,1,3,5,7]=>1101000
[6,4,3,8,1,2,5,7]=>1101000
[6,5,2,8,1,3,4,7]=>1101000
[6,5,3,8,1,2,4,7]=>1101000
[6,5,4,8,1,2,3,7]=>1101000
[7,3,2,8,1,4,5,6]=>1101000
[7,4,2,8,1,3,5,6]=>1101000
[7,4,3,8,1,2,5,6]=>1101000
[7,5,3,8,1,2,4,6]=>1101000
[7,5,4,8,1,2,3,6]=>1101000
[7,6,2,8,1,3,4,5]=>1101000
[8,3,2,5,1,4,6,7]=>1101000
[8,4,2,5,1,3,6,7]=>1101000
[8,3,2,6,1,4,5,7]=>1101000
[8,4,2,6,1,3,5,7]=>1101000
[8,5,3,6,1,2,4,7]=>1101000
[8,6,2,4,1,3,5,7]=>1101000
[8,6,2,5,1,3,4,7]=>1101000
[8,3,2,7,1,4,5,6]=>1101000
[8,4,2,7,1,3,5,6]=>1101000
[8,4,3,7,1,2,5,6]=>1101000
[8,5,2,7,1,3,4,6]=>1101000
[8,5,3,7,1,2,4,6]=>1101000
[8,5,4,7,1,2,3,6]=>1101000
[8,6,3,7,1,2,4,5]=>1101000
[8,7,2,4,1,3,5,6]=>1101000
[8,7,2,5,1,3,4,6]=>1101000
[8,7,3,5,1,2,4,6]=>1101000
[8,7,2,6,1,3,4,5]=>1101000
[8,7,3,6,1,2,4,5]=>1101000
[8,7,4,6,1,2,3,5]=>1101000
[3,6,2,5,8,1,4,7]=>0100100
[4,6,3,5,8,1,2,7]=>0100100
[5,6,2,4,8,1,3,7]=>0100100
[4,7,2,5,8,1,3,6]=>0100100
[4,7,3,5,8,1,2,6]=>0100100
[5,7,2,4,8,1,3,6]=>0100100
[5,7,3,4,8,1,2,6]=>0100100
[3,7,2,6,8,1,4,5]=>0100100
[4,7,3,6,8,1,2,5]=>0100100
[5,7,2,6,8,1,3,4]=>0100100
[5,7,4,6,8,1,2,3]=>0100100
[6,7,3,4,8,1,2,5]=>0100100
[6,7,3,5,8,1,2,4]=>0100100
[3,8,2,5,7,1,4,6]=>0100100
[4,8,2,5,7,1,3,6]=>0100100
[4,8,3,5,7,1,2,6]=>0100100
[5,8,2,4,7,1,3,6]=>0100100
[3,8,2,6,7,1,4,5]=>0100100
[4,8,3,6,7,1,2,5]=>0100100
[5,8,2,6,7,1,3,4]=>0100100
[5,8,3,6,7,1,2,4]=>0100100
[6,8,2,5,7,1,3,4]=>0100100
[6,8,3,5,7,1,2,4]=>0100100
[6,8,4,5,7,1,2,3]=>0100100
[7,8,2,4,6,1,3,5]=>0100100
[7,8,2,5,6,1,3,4]=>0100100
[7,8,3,5,6,1,2,4]=>0100100
[4,3,2,6,8,1,5,7]=>1100100
[5,3,2,6,8,1,4,7]=>1100100
[5,4,2,6,8,1,3,7]=>1100100
[5,4,3,6,8,1,2,7]=>1100100
[6,3,2,5,8,1,4,7]=>1100100
[6,4,3,5,8,1,2,7]=>1100100
[6,5,2,4,8,1,3,7]=>1100100
[4,3,2,7,8,1,5,6]=>1100100
[5,3,2,7,8,1,4,6]=>1100100
[5,4,2,7,8,1,3,6]=>1100100
[5,4,3,7,8,1,2,6]=>1100100
[6,4,2,7,8,1,3,5]=>1100100
[6,4,3,7,8,1,2,5]=>1100100
[6,5,2,7,8,1,3,4]=>1100100
[7,4,2,5,8,1,3,6]=>1100100
[7,4,3,5,8,1,2,6]=>1100100
[7,5,3,4,8,1,2,6]=>1100100
[7,3,2,6,8,1,4,5]=>1100100
[7,5,2,6,8,1,3,4]=>1100100
[7,5,3,6,8,1,2,4]=>1100100
[7,6,2,4,8,1,3,5]=>1100100
[7,6,3,5,8,1,2,4]=>1100100
[8,3,2,5,7,1,4,6]=>1100100
[8,4,2,5,7,1,3,6]=>1100100
[8,5,2,4,7,1,3,6]=>1100100
[8,3,2,6,7,1,4,5]=>1100100
[8,4,2,6,7,1,3,5]=>1100100
[8,5,2,6,7,1,3,4]=>1100100
[8,5,3,6,7,1,2,4]=>1100100
[8,6,2,4,7,1,3,5]=>1100100
[8,6,3,5,7,1,2,4]=>1100100
[8,7,2,4,6,1,3,5]=>1100100
[8,7,3,4,6,1,2,5]=>1100100
[8,7,2,5,6,1,3,4]=>1100100
[8,7,3,5,6,1,2,4]=>1100100
[4,3,7,2,6,1,5,8]=>1010100
[5,3,7,2,6,1,4,8]=>1010100
[5,4,7,2,6,1,3,8]=>1010100
[6,3,7,2,5,1,4,8]=>1010100
[6,4,7,2,5,1,3,8]=>1010100
[6,4,7,3,5,1,2,8]=>1010100
[7,3,6,2,5,1,4,8]=>1010100
[4,3,8,2,6,1,5,7]=>1010100
[5,3,8,2,6,1,4,7]=>1010100
[5,4,8,2,6,1,3,7]=>1010100
[5,4,8,3,6,1,2,7]=>1010100
[6,4,8,2,5,1,3,7]=>1010100
[6,4,8,3,5,1,2,7]=>1010100
[6,5,8,2,4,1,3,7]=>1010100
[6,5,8,3,4,1,2,7]=>1010100
[4,3,8,2,7,1,5,6]=>1010100
[5,3,8,2,7,1,4,6]=>1010100
[5,4,8,2,7,1,3,6]=>1010100
[5,4,8,3,7,1,2,6]=>1010100
[6,3,8,2,7,1,4,5]=>1010100
[6,4,8,2,7,1,3,5]=>1010100
[6,4,8,3,7,1,2,5]=>1010100
[7,3,8,2,5,1,4,6]=>1010100
[7,4,8,3,5,1,2,6]=>1010100
[7,5,8,2,4,1,3,6]=>1010100
[7,5,8,3,4,1,2,6]=>1010100
[7,3,8,2,6,1,4,5]=>1010100
[7,4,8,2,6,1,3,5]=>1010100
[7,5,8,2,6,1,3,4]=>1010100
[7,5,8,3,6,1,2,4]=>1010100
[7,5,8,4,6,1,2,3]=>1010100
[7,6,8,2,5,1,3,4]=>1010100
[7,6,8,3,5,1,2,4]=>1010100
[8,3,6,2,5,1,4,7]=>1010100
[8,5,6,2,4,1,3,7]=>1010100
[8,3,7,2,5,1,4,6]=>1010100
[8,5,7,2,4,1,3,6]=>1010100
[8,3,7,2,6,1,4,5]=>1010100
[8,4,7,2,6,1,3,5]=>1010100
[8,4,7,3,6,1,2,5]=>1010100
[8,5,7,2,6,1,3,4]=>1010100
[8,6,7,2,4,1,3,5]=>1010100
[8,6,7,2,5,1,3,4]=>1010100
[8,6,7,3,5,1,2,4]=>1010100
[5,4,3,2,7,1,6,8]=>1110100
[6,4,3,2,7,1,5,8]=>1110100
[6,5,3,2,7,1,4,8]=>1110100
[6,5,4,2,7,1,3,8]=>1110100
[7,5,3,2,6,1,4,8]=>1110100
[7,5,4,2,6,1,3,8]=>1110100
[7,6,3,2,5,1,4,8]=>1110100
[5,4,3,2,8,1,6,7]=>1110100
[6,5,3,2,8,1,4,7]=>1110100
[6,5,4,2,8,1,3,7]=>1110100
[6,5,4,3,8,1,2,7]=>1110100
[7,5,3,2,8,1,4,6]=>1110100
[7,5,4,2,8,1,3,6]=>1110100
[7,6,3,2,8,1,4,5]=>1110100
[7,6,4,3,8,1,2,5]=>1110100
[7,6,5,2,8,1,3,4]=>1110100
[8,5,3,2,6,1,4,7]=>1110100
[8,5,4,2,6,1,3,7]=>1110100
[8,6,4,2,5,1,3,7]=>1110100
[8,6,5,2,4,1,3,7]=>1110100
[8,5,3,2,7,1,4,6]=>1110100
[8,6,3,2,7,1,4,5]=>1110100
[8,6,4,2,7,1,3,5]=>1110100
[8,6,4,3,7,1,2,5]=>1110100
[8,7,3,2,6,1,4,5]=>1110100
[8,7,4,2,6,1,3,5]=>1110100
[8,7,4,3,6,1,2,5]=>1110100
[8,7,5,2,6,1,3,4]=>1110100
[8,7,6,2,4,1,3,5]=>1110100
[8,7,6,2,5,1,3,4]=>1110100
[8,7,6,3,5,1,2,4]=>1110100
[4,8,3,7,2,6,1,5]=>0101010
[5,8,3,7,2,6,1,4]=>0101010
[5,8,4,7,2,6,1,3]=>0101010
[5,8,4,7,3,6,1,2]=>0101010
[6,8,3,7,2,5,1,4]=>0101010
[6,8,4,7,2,5,1,3]=>0101010
[6,8,4,7,3,5,1,2]=>0101010
[6,8,5,7,2,4,1,3]=>0101010
[6,8,5,7,3,4,1,2]=>0101010
[7,8,3,6,2,5,1,4]=>0101010
[7,8,4,6,2,5,1,3]=>0101010
[7,8,4,6,3,5,1,2]=>0101010
[7,8,5,6,2,4,1,3]=>0101010
[5,4,3,8,2,7,1,6]=>1101010
[6,4,3,8,2,7,1,5]=>1101010
[6,5,3,8,2,7,1,4]=>1101010
[6,5,4,8,2,7,1,3]=>1101010
[6,5,4,8,3,7,1,2]=>1101010
[7,4,3,8,2,6,1,5]=>1101010
[7,5,3,8,2,6,1,4]=>1101010
[7,5,4,8,2,6,1,3]=>1101010
[7,6,3,8,2,5,1,4]=>1101010
[7,6,4,8,2,5,1,3]=>1101010
[7,6,5,8,2,4,1,3]=>1101010
[8,4,3,7,2,6,1,5]=>1101010
[8,5,3,7,2,6,1,4]=>1101010
[8,5,4,7,2,6,1,3]=>1101010
[8,5,4,7,3,6,1,2]=>1101010
[8,6,3,7,2,5,1,4]=>1101010
[8,6,4,7,2,5,1,3]=>1101010
[8,6,5,7,2,4,1,3]=>1101010
[8,7,3,6,2,5,1,4]=>1101010
[8,7,4,6,2,5,1,3]=>1101010
[8,7,4,6,3,5,1,2]=>1101010
[8,7,5,6,2,4,1,3]=>1101010
[6,5,4,3,2,8,1,7]=>1111010
[7,6,4,3,2,8,1,5]=>1111010
[7,6,5,4,2,8,1,3]=>1111010
[8,5,4,3,2,7,1,6]=>1111010
[8,6,4,3,2,7,1,5]=>1111010
[8,6,5,3,2,7,1,4]=>1111010
[8,6,5,4,2,7,1,3]=>1111010
[8,7,4,3,2,6,1,5]=>1111010
[8,7,5,3,2,6,1,4]=>1111010
[8,7,5,4,2,6,1,3]=>1111010
[8,7,6,3,2,5,1,4]=>1111010
[8,7,6,4,2,5,1,3]=>1111010
[8,7,6,5,2,4,1,3]=>1111010
[8,1,2,3,4,7,5,6]=>1000010
[8,1,2,3,6,4,5,7]=>1000100
[8,1,2,3,7,4,5,6]=>1000100
[7,1,2,3,6,4,8,5]=>1000101
[5,1,2,3,8,7,4,6]=>1000110
[8,1,2,3,6,7,4,5]=>1000010
[4,1,2,8,3,7,5,6]=>1001010
[8,1,2,5,3,4,6,7]=>1001000
[7,1,2,5,3,4,8,6]=>1001001
[8,1,2,6,3,4,5,7]=>1001000
[7,1,2,6,3,4,8,5]=>1001001
[6,1,2,5,3,8,4,7]=>1001010
[8,1,2,5,3,7,4,6]=>1001010
[8,1,2,6,3,7,4,5]=>1001010
[6,1,2,5,3,7,8,4]=>1001001
[4,1,2,8,6,3,5,7]=>1001100
[4,1,2,8,7,3,5,6]=>1001100
[4,1,2,7,6,3,8,5]=>1001101
[8,1,2,5,6,3,4,7]=>1000100
[8,1,2,5,7,3,4,6]=>1000100
[8,1,2,7,6,3,4,5]=>1001100
[7,1,2,5,6,3,8,4]=>1000101
[4,1,2,5,8,7,3,6]=>1000110
[4,1,2,8,6,7,3,5]=>1001010
[8,1,2,5,6,7,3,4]=>1000010
[3,1,8,2,4,7,5,6]=>1010010
[3,1,8,2,6,4,5,7]=>1010100
[3,1,8,2,7,4,5,6]=>1010100
[3,1,7,2,6,4,8,5]=>1010101
[3,1,5,2,8,7,4,6]=>1010110
[3,1,8,2,6,7,4,5]=>1010010
[8,1,4,2,3,5,6,7]=>1010000
[7,1,4,2,3,5,8,6]=>1010001
[6,1,4,2,3,8,5,7]=>1010010
[8,1,4,2,3,7,5,6]=>1010010
[6,1,4,2,3,7,8,5]=>1010001
[8,1,5,2,3,4,6,7]=>1010000
[7,1,5,2,3,4,8,6]=>1010001
[8,1,7,2,3,4,5,6]=>1010000
[6,1,5,2,3,8,4,7]=>1010010
[8,1,5,2,3,7,4,6]=>1010010
[6,1,8,2,3,7,4,5]=>1010010
[6,1,5,2,3,7,8,4]=>1010001
[5,1,4,2,8,3,6,7]=>1010100
[5,1,4,2,7,3,8,6]=>1010101
[8,1,4,2,6,3,5,7]=>1010100
[8,1,4,2,7,3,5,6]=>1010100
[7,1,4,2,6,3,8,5]=>1010101
[8,1,5,2,6,3,4,7]=>1010100
[8,1,5,2,7,3,4,6]=>1010100
[7,1,8,2,6,3,4,5]=>1010100
[7,1,5,2,6,3,8,4]=>1010101
[5,1,4,2,6,8,3,7]=>1010010
[5,1,4,2,8,7,3,6]=>1010110
[8,1,4,2,6,7,3,5]=>1010010
[8,1,5,2,6,7,3,4]=>1010010
[5,1,4,2,6,7,8,3]=>1010001
[3,1,4,8,2,7,5,6]=>1001010
[3,1,8,5,2,4,6,7]=>1011000
[3,1,7,5,2,4,8,6]=>1011001
[3,1,8,6,2,4,5,7]=>1011000
[3,1,7,6,2,4,8,5]=>1011001
[3,1,6,5,2,8,4,7]=>1011010
[3,1,8,5,2,7,4,6]=>1011010
[3,1,8,6,2,7,4,5]=>1011010
[3,1,6,5,2,7,8,4]=>1011001
[8,1,4,5,2,3,6,7]=>1001000
[7,1,4,5,2,3,8,6]=>1001001
[8,1,4,6,2,3,5,7]=>1001000
[7,1,4,8,2,3,5,6]=>1001000
[7,1,4,6,2,3,8,5]=>1001001
[8,1,6,5,2,3,4,7]=>1011000
[7,1,8,5,2,3,4,6]=>1011000
[7,1,8,6,2,3,4,5]=>1011000
[7,1,6,5,2,3,8,4]=>1011001
[6,1,4,5,2,8,3,7]=>1001010
[8,1,4,5,2,7,3,6]=>1001010
[8,1,4,6,2,7,3,5]=>1001010
[8,1,6,5,2,7,3,4]=>1011010
[6,1,4,5,2,7,8,3]=>1001001
[3,1,4,8,6,2,5,7]=>1001100
[3,1,4,8,7,2,5,6]=>1001100
[3,1,4,7,6,2,8,5]=>1001101
[3,1,8,5,6,2,4,7]=>1010100
[3,1,8,5,7,2,4,6]=>1010100
[3,1,8,7,6,2,4,5]=>1011100
[3,1,7,5,6,2,8,4]=>1010101
[8,1,4,5,6,2,3,7]=>1000100
[8,1,4,5,7,2,3,6]=>1000100
[8,1,4,7,6,2,3,5]=>1001100
[8,1,7,5,6,2,3,4]=>1010100
[7,1,4,5,6,2,8,3]=>1000101
[3,1,4,5,8,7,2,6]=>1000110
[3,1,4,8,6,7,2,5]=>1001010
[3,1,8,5,6,7,2,4]=>1010010
[8,1,4,5,6,7,2,3]=>1000010
[2,8,1,3,4,7,5,6]=>0100010
[2,8,1,3,6,4,5,7]=>0100100
[2,8,1,3,7,4,5,6]=>0100100
[2,7,1,3,6,4,8,5]=>0100101
[2,5,1,3,8,7,4,6]=>0100110
[2,8,1,3,6,7,4,5]=>0100010
[2,4,1,8,3,7,5,6]=>0101010
[2,8,1,5,3,4,6,7]=>0101000
[2,7,1,5,3,4,8,6]=>0101001
[2,8,1,6,3,4,5,7]=>0101000
[2,7,1,6,3,4,8,5]=>0101001
[2,6,1,5,3,8,4,7]=>0101010
[2,8,1,5,3,7,4,6]=>0101010
[2,6,1,5,3,7,8,4]=>0101001
[2,4,1,8,6,3,5,7]=>0101100
[2,4,1,8,7,3,5,6]=>0101100
[2,4,1,7,6,3,8,5]=>0101101
[2,8,1,5,6,3,4,7]=>0100100
[2,8,1,5,7,3,4,6]=>0100100
[2,8,1,7,6,3,4,5]=>0101100
[2,7,1,5,6,3,8,4]=>0100101
[2,4,1,5,8,7,3,6]=>0100110
[2,4,1,8,6,7,3,5]=>0101010
[2,8,1,5,6,7,3,4]=>0100010
[7,3,1,2,4,5,8,6]=>1100001
[6,3,1,2,4,8,5,7]=>1100010
[8,3,1,2,4,7,5,6]=>1100010
[6,3,1,2,4,7,8,5]=>1100001
[5,3,1,2,8,4,6,7]=>1100100
[5,3,1,2,7,4,8,6]=>1100101
[8,3,1,2,6,4,5,7]=>1100100
[8,3,1,2,7,4,5,6]=>1100100
[7,3,1,2,6,4,8,5]=>1100101
[5,3,1,2,6,8,4,7]=>1100010
[5,3,1,2,8,7,4,6]=>1100110
[8,3,1,2,6,7,4,5]=>1100010
[5,3,1,2,6,7,8,4]=>1100001
[7,4,1,2,3,5,8,6]=>1100001
[6,4,1,2,3,8,5,7]=>1100010
[8,4,1,2,3,7,5,6]=>1100010
[6,4,1,2,3,7,8,5]=>1100001
[7,6,1,2,3,4,8,5]=>1100001
[5,8,1,2,3,7,4,6]=>0100010
[8,6,1,2,3,7,4,5]=>1100010
[5,4,1,2,8,3,6,7]=>1100100
[5,4,1,2,7,3,8,6]=>1100101
[8,4,1,2,6,3,5,7]=>1100100
[8,4,1,2,7,3,5,6]=>1100100
[7,4,1,2,6,3,8,5]=>1100101
[5,8,1,2,6,3,4,7]=>0100100
[5,8,1,2,7,3,4,6]=>0100100
[8,7,1,2,6,3,4,5]=>1100100
[5,7,1,2,6,3,8,4]=>0100101
[5,4,1,2,6,8,3,7]=>1100010
[5,4,1,2,8,7,3,6]=>1100110
[8,4,1,2,6,7,3,5]=>1100010
[5,8,1,2,6,7,3,4]=>0100010
[5,4,1,2,6,7,8,3]=>1100001
[4,3,1,8,2,5,6,7]=>1101000
[4,3,1,7,2,5,8,6]=>1101001
[4,3,1,6,2,8,5,7]=>1101010
[4,3,1,8,2,7,5,6]=>1101010
[4,3,1,6,2,7,8,5]=>1101001
[8,3,1,5,2,4,6,7]=>1101000
[7,3,1,5,2,4,8,6]=>1101001
[8,3,1,6,2,4,5,7]=>1101000
[7,3,1,8,2,4,5,6]=>1101000
[7,3,1,6,2,4,8,5]=>1101001
[6,3,1,5,2,8,4,7]=>1101010
[8,3,1,5,2,7,4,6]=>1101010
[8,3,1,6,2,7,4,5]=>1101010
[6,3,1,5,2,7,8,4]=>1101001
[8,4,1,5,2,3,6,7]=>1101000
[7,4,1,5,2,3,8,6]=>1101001
[8,4,1,6,2,3,5,7]=>1101000
[7,4,1,8,2,3,5,6]=>1101000
[7,4,1,6,2,3,8,5]=>1101001
[6,8,1,5,2,3,4,7]=>0101000
[8,7,1,5,2,3,4,6]=>1101000
[8,7,1,6,2,3,4,5]=>1101000
[6,7,1,5,2,3,8,4]=>0101001
[6,4,1,5,2,8,3,7]=>1101010
[8,4,1,5,2,7,3,6]=>1101010
[8,4,1,6,2,7,3,5]=>1101010
[6,8,1,5,2,7,3,4]=>0101010
[6,4,1,5,2,7,8,3]=>1101001
[4,3,1,5,8,2,6,7]=>1100100
[4,3,1,5,7,2,8,6]=>1100101
[4,3,1,8,6,2,5,7]=>1101100
[4,3,1,8,7,2,5,6]=>1101100
[4,3,1,7,6,2,8,5]=>1101101
[8,3,1,5,6,2,4,7]=>1100100
[8,3,1,5,7,2,4,6]=>1100100
[8,3,1,7,6,2,4,5]=>1101100
[7,3,1,5,6,2,8,4]=>1100101
[8,4,1,5,6,2,3,7]=>1100100
[8,4,1,5,7,2,3,6]=>1100100
[8,4,1,7,6,2,3,5]=>1101100
[7,8,1,5,6,2,3,4]=>0100100
[7,4,1,5,6,2,8,3]=>1100101
[4,3,1,5,6,8,2,7]=>1100010
[4,3,1,5,8,7,2,6]=>1100110
[4,3,1,8,6,7,2,5]=>1101010
[8,3,1,5,6,7,2,4]=>1100010
[8,4,1,5,6,7,2,3]=>1100010
[4,3,1,5,6,7,8,2]=>1100001
[2,3,8,1,4,7,5,6]=>0010010
[2,3,8,1,6,4,5,7]=>0010100
[2,3,8,1,7,4,5,6]=>0010100
[2,3,7,1,6,4,8,5]=>0010101
[2,3,5,1,8,7,4,6]=>0010110
[2,3,8,1,6,7,4,5]=>0010010
[2,8,4,1,3,5,6,7]=>0110000
[2,7,4,1,3,5,8,6]=>0110001
[2,6,4,1,3,8,5,7]=>0110010
[2,8,4,1,3,7,5,6]=>0110010
[2,6,4,1,3,7,8,5]=>0110001
[2,8,5,1,3,4,6,7]=>0110000
[2,7,5,1,3,4,8,6]=>0110001
[2,8,7,1,3,4,5,6]=>0110000
[2,6,5,1,3,8,4,7]=>0110010
[2,8,5,1,3,7,4,6]=>0110010
[2,6,8,1,3,7,4,5]=>0010010
[2,6,5,1,3,7,8,4]=>0110001
[2,5,4,1,8,3,6,7]=>0110100
[2,5,4,1,7,3,8,6]=>0110101
[2,8,4,1,6,3,5,7]=>0110100
[2,8,4,1,7,3,5,6]=>0110100
[2,7,4,1,6,3,8,5]=>0110101
[2,8,5,1,6,3,4,7]=>0110100
[2,8,5,1,7,3,4,6]=>0110100
[2,7,8,1,6,3,4,5]=>0010100
[2,7,5,1,6,3,8,4]=>0110101
[2,5,4,1,6,8,3,7]=>0110010
[2,5,4,1,8,7,3,6]=>0110110
[2,8,4,1,6,7,3,5]=>0110010
[2,8,5,1,6,7,3,4]=>0110010
[2,5,4,1,6,7,8,3]=>0110001
[7,3,4,1,2,5,8,6]=>1010001
[6,3,4,1,2,8,5,7]=>1010010
[8,3,4,1,2,7,5,6]=>1010010
[6,3,4,1,2,7,8,5]=>1010001
[7,3,5,1,2,4,8,6]=>1010001
[6,3,7,1,2,4,8,5]=>1010001
[6,3,5,1,2,8,4,7]=>1010010
[8,3,5,1,2,7,4,6]=>1010010
[6,3,8,1,2,7,4,5]=>1010010
[6,3,5,1,2,7,8,4]=>1010001
[7,5,4,1,2,3,8,6]=>1110001
[6,8,4,1,2,3,5,7]=>0110000
[6,7,4,1,2,3,8,5]=>0110001
[6,8,5,1,2,3,4,7]=>0110000
[6,7,5,1,2,3,8,4]=>0110001
[6,5,4,1,2,8,3,7]=>1110010
[8,5,4,1,2,7,3,6]=>1110010
[6,8,4,1,2,7,3,5]=>0110010
[6,8,5,1,2,7,3,4]=>0110010
[6,5,4,1,2,7,8,3]=>1110001
[5,3,4,1,8,2,6,7]=>1010100
[5,3,4,1,7,2,8,6]=>1010101
[8,3,4,1,6,2,5,7]=>1010100
[8,3,4,1,7,2,5,6]=>1010100
[7,3,4,1,6,2,8,5]=>1010101
[8,3,5,1,6,2,4,7]=>1010100
[8,3,5,1,7,2,4,6]=>1010100
[7,3,8,1,6,2,4,5]=>1010100
[7,3,5,1,6,2,8,4]=>1010101
[8,5,4,1,6,2,3,7]=>1110100
[8,5,4,1,7,2,3,6]=>1110100
[7,8,4,1,6,2,3,5]=>0110100
[7,8,5,1,6,2,3,4]=>0110100
[7,5,4,1,6,2,8,3]=>1110101
[5,3,4,1,6,8,2,7]=>1010010
[5,3,4,1,8,7,2,6]=>1010110
[8,3,4,1,6,7,2,5]=>1010010
[8,3,5,1,6,7,2,4]=>1010010
[8,5,4,1,6,7,2,3]=>1110010
[5,3,4,1,6,7,8,2]=>1010001
[2,3,4,8,1,7,5,6]=>0001010
[2,3,8,5,1,4,6,7]=>0011000
[2,3,7,5,1,4,8,6]=>0011001
[2,3,8,6,1,4,5,7]=>0011000
[2,3,7,6,1,4,8,5]=>0011001
[2,3,6,5,1,8,4,7]=>0011010
[2,3,8,5,1,7,4,6]=>0011010
[2,3,8,6,1,7,4,5]=>0011010
[2,3,6,5,1,7,8,4]=>0011001
[2,8,4,5,1,3,6,7]=>0101000
[2,7,4,5,1,3,8,6]=>0101001
[2,8,4,6,1,3,5,7]=>0101000
[2,7,4,8,1,3,5,6]=>0101000
[2,7,4,6,1,3,8,5]=>0101001
[2,8,6,5,1,3,4,7]=>0111000
[2,7,8,5,1,3,4,6]=>0011000
[2,7,8,6,1,3,4,5]=>0011000
[2,7,6,5,1,3,8,4]=>0111001
[2,6,4,5,1,8,3,7]=>0101010
[2,8,4,5,1,7,3,6]=>0101010
[2,8,4,6,1,7,3,5]=>0101010
[2,8,6,5,1,7,3,4]=>0111010
[2,6,4,5,1,7,8,3]=>0101001
[7,3,4,5,1,2,8,6]=>1001001
[7,3,4,6,1,2,8,5]=>1001001
[8,3,6,5,1,2,4,7]=>1011000
[7,3,8,5,1,2,4,6]=>1011000
[7,3,8,6,1,2,4,5]=>1011000
[7,3,6,5,1,2,8,4]=>1011001
[7,6,4,5,1,2,8,3]=>1101001
[6,3,4,5,1,8,2,7]=>1001010
[8,3,4,5,1,7,2,6]=>1001010
[8,3,4,6,1,7,2,5]=>1001010
[8,3,6,5,1,7,2,4]=>1011010
[8,6,4,5,1,7,2,3]=>1101010
[6,3,4,5,1,7,8,2]=>1001001
[2,3,4,8,6,1,5,7]=>0001100
[2,3,4,8,7,1,5,6]=>0001100
[2,3,4,7,6,1,8,5]=>0001101
[2,3,8,5,6,1,4,7]=>0010100
[2,3,8,5,7,1,4,6]=>0010100
[2,3,8,7,6,1,4,5]=>0011100
[2,3,7,5,6,1,8,4]=>0010101
[2,8,4,5,6,1,3,7]=>0100100
[2,8,4,5,7,1,3,6]=>0100100
[2,8,4,7,6,1,3,5]=>0101100
[2,8,7,5,6,1,3,4]=>0110100
[2,7,4,5,6,1,8,3]=>0100101
[8,3,4,5,7,1,2,6]=>1000100
[8,3,4,7,6,1,2,5]=>1001100
[8,3,7,5,6,1,2,4]=>1010100
[7,3,4,5,6,1,8,2]=>1000101
[2,3,4,5,8,7,1,6]=>0000110
[2,3,4,8,6,7,1,5]=>0001010
[2,3,8,5,6,7,1,4]=>0010010
[2,8,4,5,6,7,1,3]=>0100010
[3,5,2,6,1,4,8,7]=>0101001
[3,5,2,6,4,1,8,7]=>0101101
[3,5,2,7,4,8,1,6]=>0101010
[3,5,2,7,4,8,6,1]=>0101011
[4,5,7,2,3,8,6,1]=>0010011
[4,5,7,2,3,8,1,6]=>0010010
[4,5,6,2,3,1,8,7]=>0010101
[4,5,6,2,1,3,8,7]=>0011001
[3,5,1,6,4,2,8,7]=>0101101
[4,5,6,1,3,2,8,7]=>0010101
[4,5,6,3,1,2,8,7]=>0011001
[4,5,7,3,2,8,1,6]=>0011010
[4,5,7,3,2,8,6,1]=>0011011
[4,6,7,3,8,2,5,1]=>0010101
[4,6,7,3,8,2,1,5]=>0010110
[4,6,7,3,8,1,2,5]=>0010100
[4,5,7,3,1,8,2,6]=>0011010
[4,5,7,1,3,8,2,6]=>0010010
[3,5,1,7,4,8,2,6]=>0101010
[2,1,5,7,4,8,3,6]=>1001010
[2,1,5,7,4,8,6,3]=>1001011
[3,5,1,7,4,8,6,2]=>0101011
[4,5,7,1,3,8,6,2]=>0010011
[4,5,7,3,1,8,6,2]=>0011011
[4,6,7,3,8,1,5,2]=>0010101
[4,6,7,3,8,5,1,2]=>0010110
[4,6,7,3,8,5,2,1]=>0010111
[5,6,7,8,3,1,4,2]=>0001101
[5,6,7,8,1,3,4,2]=>0001001
[4,6,7,1,8,3,5,2]=>0010101
[3,6,1,7,8,4,5,2]=>0100101
[2,1,6,7,8,4,5,3]=>1000101
[2,1,6,7,8,4,3,5]=>1000110
[3,6,1,7,8,4,2,5]=>0100110
[4,6,7,1,8,3,2,5]=>0010110
[5,6,7,8,1,3,2,4]=>0001010
[4,5,7,2,1,8,3,6]=>0011010
[4,6,7,2,8,1,3,5]=>0010100
[4,6,7,2,8,3,1,5]=>0010110
[4,6,7,2,8,3,5,1]=>0010101
[3,6,2,7,8,4,5,1]=>0100101
[3,6,2,7,8,4,1,5]=>0100110
[3,6,2,7,8,1,4,5]=>0100100
[3,5,2,7,1,8,4,6]=>0101010
[3,4,2,1,7,8,5,6]=>0110010
[3,4,1,2,7,8,6,5]=>0100011
[3,5,2,7,1,8,6,4]=>0101011
[3,6,2,7,8,1,5,4]=>0100101
[3,6,2,7,8,5,1,4]=>0100110
[3,6,2,7,8,5,4,1]=>0100111
[4,6,7,2,8,5,3,1]=>0010111
[4,6,7,2,8,5,1,3]=>0010110
[4,6,7,2,8,1,5,3]=>0010101
[4,5,7,2,1,8,6,3]=>0011011
[4,5,7,1,2,8,6,3]=>0010011
[3,5,1,7,2,8,6,4]=>0101011
[2,1,5,7,3,8,6,4]=>1001011
[2,1,6,7,8,3,5,4]=>1000101
[3,6,1,7,8,2,5,4]=>0100101
[4,6,7,1,8,2,5,3]=>0010101
[5,6,7,8,1,2,4,3]=>0001001
[5,6,7,8,2,1,4,3]=>0001101
[5,6,7,8,2,4,1,3]=>0001010
[5,6,7,8,2,4,3,1]=>0001011
[5,6,7,8,1,4,2,3]=>0001010
[4,6,7,1,8,5,2,3]=>0010110
[3,6,1,7,8,5,2,4]=>0100110
[2,1,6,7,8,5,3,4]=>1000110
[3,6,1,7,8,5,4,2]=>0100111
[4,6,7,1,8,5,3,2]=>0010111
[5,6,7,8,1,4,3,2]=>0001011
[5,6,7,8,4,1,3,2]=>0001101
[6,5,8,7,3,4,1,2]=>1011010
[3,6,7,4,5,8,1,2]=>0010010
[2,6,7,4,5,1,8,3]=>0010101
[1,6,7,4,5,2,3,8]=>0010100
[1,5,4,7,6,2,3,8]=>0101100
[2,5,4,7,6,1,8,3]=>0101101
[3,5,4,7,6,8,1,2]=>0101010
[4,5,3,7,8,6,1,2]=>0100110
[5,4,3,8,7,6,1,2]=>1101110
[6,4,8,3,7,5,1,2]=>1010110
[6,3,8,4,5,7,1,2]=>1010010
[5,3,4,8,6,7,1,2]=>1001010
[4,3,5,6,8,7,1,2]=>1000110
[3,2,5,6,1,8,7,4]=>1001011
[4,2,5,6,8,1,7,3]=>1000101
[5,2,4,8,6,1,7,3]=>1001101
[6,2,8,4,5,1,7,3]=>1010101
[7,8,2,4,5,1,6,3]=>0100101
[7,8,1,4,5,2,3,6]=>0100100
[6,1,8,4,5,2,3,7]=>1010100
[5,1,4,8,6,2,3,7]=>1001100
[4,1,3,2,8,6,5,7]=>1010110
[5,1,3,8,2,6,4,7]=>1001010
[6,1,8,3,2,5,4,7]=>1011010
[7,8,1,3,2,5,4,6]=>0101010
[7,8,2,3,1,5,6,4]=>0101001
[6,2,8,3,1,5,7,4]=>1011001
[5,2,3,8,1,6,7,4]=>1001001
[6,3,8,2,1,7,5,4]=>1011011
[7,8,3,2,1,6,5,4]=>0111011
[7,8,4,2,6,1,5,3]=>0110101
[5,4,2,8,7,1,6,3]=>1101101
[4,5,2,7,8,1,6,3]=>0100101
[2,5,3,7,1,6,8,4]=>0101001
[1,5,3,7,2,6,4,8]=>0101010
[1,6,7,3,2,5,4,8]=>0011010
[2,6,7,3,1,5,8,4]=>0011001
[3,6,7,2,1,8,5,4]=>0011011
[7,8,5,6,2,1,4,3]=>0101101
[6,5,8,7,1,2,3,4]=>1011000
[5,4,1,8,7,2,3,6]=>1101100
[6,4,8,1,7,2,3,5]=>1010100
[7,8,3,1,2,6,4,5]=>0110010
[5,3,1,8,2,7,4,6]=>1101010
[4,3,1,2,8,7,5,6]=>1100110
[4,2,1,3,8,5,7,6]=>1100101
[5,2,1,8,3,4,7,6]=>1101001
[6,2,8,1,3,4,7,5]=>1010001
[7,8,2,1,3,4,6,5]=>0110001
[4,3,1,2,6,5,8,7]=>1100101
[5,3,1,6,2,4,8,7]=>1101001
[6,3,1,5,2,4,8,7]=>1101001
[7,3,1,5,2,8,4,6]=>1101010
[8,4,5,1,2,7,3,6]=>1010010
[7,4,5,1,2,8,3,6]=>1010010
[6,4,5,1,2,3,8,7]=>1010001
[5,4,6,1,2,3,8,7]=>1010001
[2,1,6,5,3,4,8,7]=>1011001
[3,6,1,5,2,4,8,7]=>0101001
[4,6,5,1,2,3,8,7]=>0110001
[5,6,4,1,2,3,8,7]=>0110001
[6,5,4,1,2,3,8,7]=>1110001
[7,5,4,1,2,8,3,6]=>1110010
[8,6,4,1,7,2,3,5]=>1110100
[7,6,4,1,8,2,3,5]=>1110100
[6,7,4,1,8,2,3,5]=>0110100
[5,7,4,1,2,8,3,6]=>0110010
[4,7,5,1,2,8,3,6]=>0110010
[3,7,1,5,2,8,4,6]=>0101010
[2,1,7,5,3,8,4,6]=>1011010
[2,1,8,5,3,7,4,6]=>1011010
[3,8,1,5,2,7,4,6]=>0101010
[4,8,5,1,2,7,3,6]=>0110010
[5,8,4,1,2,7,3,6]=>0110010
[6,8,4,1,7,2,3,5]=>0110100
[8,7,4,1,6,2,3,5]=>1110100
[5,8,6,7,1,2,3,4]=>0101000
[4,8,6,1,7,2,3,5]=>0110100
[3,8,1,6,7,2,4,5]=>0100100
[2,1,8,6,7,3,4,5]=>1010100
[2,1,7,6,8,3,4,5]=>1010100
[3,7,1,6,8,2,4,5]=>0100100
[4,7,6,1,8,2,3,5]=>0110100
[5,7,6,8,1,2,3,4]=>0101000
[5,4,7,1,2,8,3,6]=>1010010
[6,4,7,1,8,2,3,5]=>1010100
[7,4,6,1,8,2,3,5]=>1010100
[8,4,6,1,7,2,3,5]=>1010100
[8,3,1,6,7,2,4,5]=>1100100
[7,3,1,6,8,2,4,5]=>1100100
[6,3,1,7,8,2,4,5]=>1100100
[5,3,1,7,2,8,4,6]=>1101010
[4,3,1,2,7,8,5,6]=>1100010
[2,1,4,3,8,7,5,6]=>1010110
[3,4,1,2,8,7,5,6]=>0100110
[6,3,1,8,7,2,4,5]=>1101100
[7,3,1,8,6,2,4,5]=>1101100
[8,4,7,1,6,2,3,5]=>1010100
[7,4,8,1,6,2,3,5]=>1010100
[5,4,8,1,2,7,3,6]=>1010010
[4,5,8,1,2,7,3,6]=>0010010
[3,5,1,8,2,7,4,6]=>0101010
[2,1,5,8,3,7,4,6]=>1001010
[2,1,6,8,7,3,4,5]=>1001100
[3,6,1,8,7,2,4,5]=>0101100
[4,6,8,1,7,2,3,5]=>0010100
[5,6,8,7,1,2,3,4]=>0011000
[7,5,8,6,1,2,3,4]=>1011000
[8,5,7,6,1,2,3,4]=>1011000
[5,7,8,6,1,2,3,4]=>0011000
[4,7,8,1,6,2,3,5]=>0010100
[3,7,1,8,6,2,4,5]=>0101100
[2,1,7,8,6,3,4,5]=>1001100
[2,1,8,7,6,3,4,5]=>1011100
[3,8,1,7,6,2,4,5]=>0101100
[4,8,7,1,6,2,3,5]=>0110100
[5,8,7,6,1,2,3,4]=>0111000
[6,8,7,5,1,2,3,4]=>0111000
[6,4,7,3,8,5,1,2]=>1010110
[6,4,7,3,5,8,1,2]=>1010010
[6,4,7,2,5,1,8,3]=>1010101
[5,4,2,7,6,1,3,8]=>1101100
[5,4,2,7,6,1,8,3]=>1101101
[5,4,3,7,6,8,1,2]=>1101010
[5,4,3,7,8,6,1,2]=>1100110
[6,4,8,3,5,7,1,2]=>1010010
[5,4,3,8,6,7,1,2]=>1101010
[5,4,3,6,8,7,1,2]=>1100110
[5,4,2,6,7,1,8,3]=>1100101
[5,4,2,6,7,1,3,8]=>1100100
[5,3,2,6,1,7,4,8]=>1101010
[5,3,2,6,1,7,8,4]=>1101001
[5,3,2,6,1,8,7,4]=>1101011
[5,4,2,6,8,1,7,3]=>1100101
[5,4,2,8,6,1,7,3]=>1101101
[6,4,8,2,5,1,7,3]=>1010101
[7,8,4,2,5,1,6,3]=>0110101
[7,8,4,2,5,1,3,6]=>0110100
[5,4,2,8,6,1,3,7]=>1101100
[5,3,2,6,1,8,4,7]=>1101010
[4,3,2,1,6,8,5,7]=>1110010
[4,3,2,1,8,6,5,7]=>1110110
[5,3,2,8,1,6,4,7]=>1101010
[6,3,8,2,1,5,4,7]=>1011010
[7,8,3,2,1,5,4,6]=>0111010
[7,8,3,2,1,5,6,4]=>0111001
[6,3,8,2,1,5,7,4]=>1011001
[5,3,2,8,1,6,7,4]=>1101001
[5,4,2,7,8,1,6,3]=>1100101
[5,3,2,7,1,8,6,4]=>1101011
[5,3,2,7,1,6,8,4]=>1101001
[5,3,2,7,1,6,4,8]=>1101010
[6,3,7,2,1,5,4,8]=>1011010
[6,3,7,2,1,5,8,4]=>1011001
[6,3,7,2,1,8,5,4]=>1011011
[6,4,7,2,8,1,5,3]=>1010101
[6,5,7,8,2,1,4,3]=>1001101
[6,5,8,7,2,1,3,4]=>1011100
[6,3,7,2,1,8,4,5]=>1011010
[6,3,7,2,1,4,8,5]=>1011001
[6,3,7,2,1,4,5,8]=>1011000
[5,3,2,7,1,4,8,6]=>1101001
[5,4,2,8,7,1,3,6]=>1101100
[7,8,4,2,6,1,3,5]=>0110100
[7,8,3,2,1,6,4,5]=>0111010
[6,3,8,2,1,7,4,5]=>1011010
[5,3,2,8,1,7,4,6]=>1101010
[4,3,2,1,8,7,5,6]=>1110110
[4,3,2,1,7,5,8,6]=>1110101
[4,3,2,1,7,5,6,8]=>1110100
[4,3,2,1,8,5,7,6]=>1110101
[5,3,2,8,1,4,7,6]=>1101001
[6,3,8,2,1,4,7,5]=>1011001
[7,8,3,2,1,4,6,5]=>0111001
[6,3,8,2,1,4,5,7]=>1011000
[4,3,2,1,8,5,6,7]=>1110100
[4,3,2,1,5,8,6,7]=>1110010
[7,8,5,6,1,2,4,3]=>0101001
[7,8,4,1,6,2,5,3]=>0110101
[7,8,1,4,6,2,5,3]=>0100101
[6,1,8,4,7,2,5,3]=>1010101
[1,6,8,4,7,2,5,3]=>0010101
[1,6,8,3,2,7,5,4]=>0011011
[6,1,8,3,2,7,5,4]=>1011011
[7,8,1,3,2,6,5,4]=>0101011
[7,8,3,1,2,6,5,4]=>0110011
[7,8,3,4,6,5,1,2]=>0100110
[7,8,2,4,6,1,5,3]=>0100101
[7,8,2,3,1,6,5,4]=>0101011
[7,8,2,1,3,6,5,4]=>0110011
[7,8,1,2,3,6,5,4]=>0100011
[6,1,8,2,3,7,5,4]=>1010011
[1,6,8,2,3,7,5,4]=>0010011
[1,5,2,8,3,7,6,4]=>0101011
[5,1,2,8,3,7,6,4]=>1001011
[5,2,1,8,3,7,6,4]=>1101011
[6,2,8,1,3,7,5,4]=>1010011
[6,2,8,3,1,7,5,4]=>1011011
[6,2,8,4,7,1,5,3]=>1010101
[6,3,8,4,7,5,1,2]=>1010110
[3,6,8,4,7,5,1,2]=>0010110
[2,6,8,4,7,1,5,3]=>0010101
[2,6,8,3,1,7,5,4]=>0011011
[2,6,8,1,3,7,5,4]=>0010011
[2,5,1,8,3,7,6,4]=>0101011
[1,2,5,8,3,7,6,4]=>0001011
[2,4,1,3,8,7,6,5]=>0100111
[2,5,3,8,1,7,6,4]=>0101011
[2,5,4,8,7,1,6,3]=>0101101
[3,5,4,8,7,6,1,2]=>0101110
[5,3,4,8,7,6,1,2]=>1001110
[5,2,4,8,7,1,6,3]=>1001101
[5,2,3,8,1,7,6,4]=>1001011
[4,2,1,3,8,7,6,5]=>1100111
[4,1,2,3,8,7,6,5]=>1000111
[1,4,2,3,8,7,6,5]=>0100111
[4,1,3,2,8,7,6,5]=>1010111
[4,3,1,2,8,7,6,5]=>1100111
[6,3,8,1,2,7,5,4]=>1010011
[5,3,1,8,2,7,6,4]=>1101011
[5,1,3,8,2,7,6,4]=>1001011
[1,5,3,8,2,7,6,4]=>0101011
[1,5,4,8,7,2,6,3]=>0101101
[5,1,4,8,7,2,6,3]=>1001101
[5,4,1,8,7,2,6,3]=>1101101
[6,4,8,1,7,2,5,3]=>1010101
[6,5,8,7,1,2,4,3]=>1011001
[5,6,8,7,3,4,1,2]=>0011010
[5,6,8,7,2,1,4,3]=>0011101
[4,5,1,8,7,2,6,3]=>0101101
[4,1,5,8,7,2,6,3]=>1001101
[1,4,5,8,7,2,6,3]=>0001101
[1,3,5,8,2,7,6,4]=>0001011
[3,1,5,8,2,7,6,4]=>1001011
[3,6,8,1,2,7,5,4]=>0010011
[3,6,8,2,1,7,5,4]=>0011011
[4,6,8,2,7,1,5,3]=>0010101
[4,6,8,3,7,5,1,2]=>0010110
[4,5,3,8,7,6,1,2]=>0101110
[4,5,2,8,7,1,6,3]=>0101101
[3,5,2,8,1,7,6,4]=>0101011
[3,1,4,2,8,7,6,5]=>1010111
[3,1,2,4,8,7,6,5]=>1000111
[3,2,5,8,1,7,6,4]=>1001011
[4,2,5,8,7,1,6,3]=>1001101
[4,3,5,8,7,6,1,2]=>1001110
[3,4,5,8,7,6,1,2]=>0001110
[2,4,5,8,7,1,6,3]=>0001101
[2,3,5,8,1,7,6,4]=>0001011
[4,1,3,2,6,5,8,7]=>1010101
[5,1,3,2,6,4,8,7]=>1010101
[6,1,3,2,5,4,8,7]=>1010101
[7,1,3,2,5,4,8,6]=>1010101
[8,1,3,2,5,4,7,6]=>1010101
[8,1,4,2,5,3,7,6]=>1010101
[7,1,4,2,5,3,8,6]=>1010101
[6,1,4,2,5,3,8,7]=>1010101
[5,1,4,2,6,3,8,7]=>1010101
[2,1,6,3,5,4,8,7]=>1010101
[3,1,6,2,5,4,8,7]=>1010101
[4,1,6,2,5,3,8,7]=>1010101
[6,2,5,1,4,3,8,7]=>1010101
[5,2,6,1,4,3,8,7]=>1010101
[5,2,7,1,4,3,8,6]=>1010101
[5,2,8,1,4,3,7,6]=>1010101
[6,2,8,1,4,3,7,5]=>1010101
[6,2,7,1,4,3,8,5]=>1010101
[7,2,6,1,4,3,8,5]=>1010101
[7,2,5,1,4,3,8,6]=>1010101
[4,1,7,2,5,3,8,6]=>1010101
[3,1,7,2,5,4,8,6]=>1010101
[2,1,7,3,5,4,8,6]=>1010101
[2,1,8,3,5,4,7,6]=>1010101
[3,1,8,2,5,4,7,6]=>1010101
[4,1,8,2,5,3,7,6]=>1010101
[8,2,5,1,4,3,7,6]=>1010101
[8,2,6,1,4,3,7,5]=>1010101
[7,1,4,3,8,2,6,5]=>1010101
[8,1,4,3,7,2,6,5]=>1010101
[8,1,5,3,7,2,6,4]=>1010101
[7,1,5,3,8,2,6,4]=>1010101
[8,2,6,1,5,3,7,4]=>1010101
[5,1,8,2,6,3,7,4]=>1010101
[4,1,8,2,6,3,7,5]=>1010101
[3,1,8,2,6,4,7,5]=>1010101
[2,1,8,3,6,4,7,5]=>1010101
[2,1,7,3,6,4,8,5]=>1010101
[4,1,7,2,6,3,8,5]=>1010101
[5,1,7,2,6,3,8,4]=>1010101
[7,2,6,1,5,3,8,4]=>1010101
[6,2,7,1,5,3,8,4]=>1010101
[6,2,8,1,5,3,7,4]=>1010101
[8,1,5,2,6,3,7,4]=>1010101
[6,1,5,2,7,3,8,4]=>1010101
[6,1,4,2,7,3,8,5]=>1010101
[8,1,4,2,6,3,7,5]=>1010101
[8,1,3,2,6,4,7,5]=>1010101
[7,1,3,2,6,4,8,5]=>1010101
[6,1,3,2,7,4,8,5]=>1010101
[5,1,3,2,7,4,8,6]=>1010101
[4,1,3,2,7,5,8,6]=>1010101
[2,1,4,3,8,5,7,6]=>1010101
[3,1,4,2,8,5,7,6]=>1010101
[4,1,3,2,8,5,7,6]=>1010101
[5,1,3,2,8,4,7,6]=>1010101
[6,1,3,2,8,4,7,5]=>1010101
[8,4,7,1,3,2,6,5]=>1010101
[7,4,8,1,3,2,6,5]=>1010101
[7,3,8,1,4,2,6,5]=>1010101
[8,3,7,1,4,2,6,5]=>1010101
[6,1,4,2,8,3,7,5]=>1010101
[5,1,4,2,8,3,7,6]=>1010101
[4,1,5,2,8,3,7,6]=>1010101
[3,1,5,2,8,4,7,6]=>1010101
[2,1,5,3,8,4,7,6]=>1010101
[2,1,6,3,8,4,7,5]=>1010101
[3,1,6,2,8,4,7,5]=>1010101
[4,1,6,2,8,3,7,5]=>1010101
[5,1,6,2,8,3,7,4]=>1010101
[6,1,5,2,8,3,7,4]=>1010101
[8,3,7,1,5,2,6,4]=>1010101
[7,3,8,1,5,2,6,4]=>1010101
[6,2,7,3,8,1,5,4]=>1010101
[6,2,8,3,7,1,5,4]=>1010101
[8,3,7,2,6,1,5,4]=>1010101
[5,1,8,3,7,2,6,4]=>1010101
[4,1,8,3,7,2,6,5]=>1010101
[3,1,8,4,7,2,6,5]=>1010101
[2,1,8,4,7,3,6,5]=>1010101
[2,1,7,4,8,3,6,5]=>1010101
[3,1,7,4,8,2,6,5]=>1010101
[4,1,7,3,8,2,6,5]=>1010101
[5,1,7,3,8,2,6,4]=>1010101
[7,3,8,2,6,1,5,4]=>1010101
[8,2,6,3,7,1,5,4]=>1010101
[7,2,6,3,8,1,5,4]=>1010101
[3,4,2,6,8,1,5,7]=>0100100
[5,3,6,2,8,1,4,7]=>1010100
[5,3,6,2,4,8,1,7]=>1010010
[5,7,3,8,2,4,1,6]=>0101010
[5,7,3,8,2,4,6,1]=>0101001
[7,4,2,5,8,3,6,1]=>1100101
[7,4,2,5,8,3,1,6]=>1100110
[4,5,2,6,3,8,1,7]=>0101010
[4,5,2,1,6,8,3,7]=>0110010
[5,3,1,6,8,2,4,7]=>1100100
[5,6,2,8,1,3,4,7]=>0101000
[3,5,6,1,4,8,2,7]=>0010010
[4,1,5,6,3,8,2,7]=>1001010
[4,5,1,6,3,8,2,7]=>0101010
[4,5,6,3,2,8,1,7]=>0011010
[7,4,5,3,8,2,1,6]=>1010110
[7,4,5,3,8,2,6,1]=>1010101
[6,7,4,8,3,2,5,1]=>0101101
[6,7,4,8,3,2,1,5]=>0101110
[6,7,4,1,8,3,2,5]=>0110110
[7,4,5,3,1,8,2,6]=>1011010
[4,7,1,5,8,3,2,6]=>0100110
[5,3,7,8,1,4,2,6]=>1001010
[7,5,8,2,4,6,1,3]=>1010010
[7,3,5,8,1,4,6,2]=>1001001
[4,5,1,7,8,3,6,2]=>0100101
[7,4,1,5,8,3,6,2]=>1100101
[6,7,4,3,8,1,5,2]=>0110101
[6,7,4,8,3,1,5,2]=>0101101
[6,7,4,8,3,5,2,1]=>0101011
[5,6,7,3,8,4,2,1]=>0010111
[5,6,7,3,1,8,4,2]=>0011011
[5,6,1,7,3,8,4,2]=>0101011
[5,1,6,7,3,8,4,2]=>1001011
[6,4,7,1,8,3,5,2]=>1010101
[6,7,8,3,1,4,5,2]=>0011001
[6,7,2,8,4,5,1,3]=>0101010
[6,7,2,8,4,1,3,5]=>0101100
[6,1,7,4,8,3,2,5]=>1010110
[5,1,6,7,3,2,8,4]=>1001101
[5,6,1,7,3,2,8,4]=>0101101
[5,6,7,3,2,1,8,4]=>0011101
[5,6,7,3,2,8,4,1]=>0011011
[5,6,2,7,3,8,4,1]=>0101011
[5,6,2,7,3,1,8,4]=>0101101
[5,6,2,1,7,3,8,4]=>0110101
[6,1,7,4,2,8,3,5]=>1011010
[6,7,2,1,8,3,4,5]=>0110100
[7,5,8,2,1,3,4,6]=>1011000
[5,7,3,1,8,2,4,6]=>0110100
[4,7,1,5,2,8,3,6]=>0101010
[7,4,2,5,1,8,3,6]=>1101010
[6,7,4,2,1,8,3,5]=>0111010
[6,7,4,2,8,3,1,5]=>0110110
[6,7,4,2,8,3,5,1]=>0110101
[3,6,7,2,8,4,5,1]=>0010101
[3,6,7,2,8,4,1,5]=>0010110
[3,6,7,2,1,8,4,5]=>0011010
[5,7,3,8,2,1,4,6]=>0101100
[3,4,7,8,2,1,5,6]=>0001100
[3,7,8,1,4,6,2,5]=>0010010
[3,4,7,8,2,6,1,5]=>0001010
[5,7,3,8,2,6,1,4]=>0101010
[3,6,7,2,8,5,1,4]=>0010110
[3,6,7,8,5,2,1,4]=>0001110
[3,6,7,8,5,2,4,1]=>0001101
[6,4,7,8,2,5,3,1]=>1001011
[6,4,7,8,2,1,5,3]=>1001101
[4,1,5,7,8,2,6,3]=>1000101
[5,3,7,8,1,6,2,4]=>1001010
[6,7,2,8,5,1,3,4]=>0101100
[6,4,1,7,8,2,5,3]=>1100101
[5,1,6,2,7,8,4,3]=>1010011
[5,6,2,1,7,8,4,3]=>0110011
[5,6,2,7,1,8,4,3]=>0101011
[5,6,2,7,8,4,3,1]=>0100111
[5,6,7,2,8,4,3,1]=>0010111
[5,6,7,2,1,8,4,3]=>0011011
[5,6,1,7,2,8,4,3]=>0101011
[5,1,6,7,2,8,4,3]=>1001011
[6,4,7,1,8,2,5,3]=>1010101
[3,6,7,1,8,5,2,4]=>0010110
[6,7,8,5,2,4,1,3]=>0011010
[6,7,8,3,5,1,4,2]=>0010101
[4,6,7,8,1,5,3,2]=>0001011
[5,1,6,7,8,4,3,2]=>1000111
[5,6,1,7,8,4,3,2]=>0100111
[5,6,7,1,8,4,3,2]=>0010111
[8,6,1,3,4,2,5,7]=>1100100
[8,3,2,5,1,6,4,7]=>1101010
[8,5,3,6,2,4,1,7]=>1101010
[5,3,2,7,4,1,8,6]=>1101101
[7,5,3,8,2,4,6,1]=>1101001
[7,2,4,5,8,3,6,1]=>1000101
[2,4,5,3,7,1,8,6]=>0010101
[8,2,4,5,6,3,1,7]=>1000110
[8,2,4,5,6,1,3,7]=>1000100
[8,1,2,4,5,6,3,7]=>1000010
[8,2,5,1,3,6,4,7]=>1010010
[8,5,6,2,1,4,3,7]=>1011010
[8,5,3,6,4,1,2,7]=>1101100
[8,4,1,5,6,3,2,7]=>1100110
[8,1,4,5,6,3,2,7]=>1000110
[4,5,3,7,2,1,8,6]=>0101101
[7,4,5,8,3,2,6,1]=>1001101
[4,3,6,7,2,8,5,1]=>1001011
[4,3,6,7,2,8,1,5]=>1001010
[1,4,3,6,7,2,8,5]=>0100101
[4,5,3,7,1,8,2,6]=>0101010
[4,1,5,3,7,2,8,6]=>1010101
[5,3,4,7,1,2,8,6]=>1001001
[7,5,8,2,1,4,6,3]=>1011001
[7,5,3,8,4,1,6,2]=>1101101
[7,4,5,8,3,6,1,2]=>1001010
[4,3,6,7,8,1,5,2]=>1000101
[1,6,4,7,8,3,5,2]=>0100101
[6,4,7,8,3,5,2,1]=>1001011
[3,5,6,7,8,4,1,2]=>0000110
[3,1,5,6,7,8,4,2]=>1000011
[4,6,1,7,8,3,5,2]=>0100101
[3,6,7,1,4,8,5,2]=>0010011
[6,2,4,1,7,8,5,3]=>1010011
[2,6,7,1,4,8,3,5]=>0010010
[4,3,6,7,8,1,2,5]=>1000100
[1,5,3,6,7,8,2,4]=>0100010
[3,5,6,7,8,2,1,4]=>0000110
[3,5,6,7,8,2,4,1]=>0000101
[5,2,7,1,3,8,4,6]=>1010010
[5,3,1,7,8,2,4,6]=>1100100
[4,5,2,7,8,1,3,6]=>0100100
[4,2,6,7,8,3,1,5]=>1000110
[4,2,6,7,8,3,5,1]=>1000101
[3,6,2,7,4,8,5,1]=>0101011
[3,6,2,7,4,8,1,5]=>0101010
[3,2,1,6,4,7,8,5]=>1101001
[3,7,4,2,1,5,8,6]=>0111001
[1,7,3,4,2,5,8,6]=>0101001
[4,7,2,1,3,5,8,6]=>0110001
[7,8,4,2,1,3,6,5]=>0111001
[7,8,1,3,4,2,6,5]=>0100101
[7,8,3,4,2,1,6,5]=>0101101
[6,3,2,7,1,8,5,4]=>1101011
[3,6,2,7,1,8,5,4]=>0101011
[6,7,3,8,2,5,4,1]=>0101011
[6,4,7,8,5,2,3,1]=>1001101
[2,6,4,7,8,1,5,3]=>0100101
[4,6,2,7,8,1,5,3]=>0100101
[7,4,5,8,6,2,1,3]=>1001110
[7,4,1,5,8,6,2,3]=>1100110
[7,5,3,8,6,1,2,4]=>1101100
[7,5,8,2,1,6,3,4]=>1011010
[6,2,7,1,3,8,5,4]=>1010011
[6,3,1,7,8,2,5,4]=>1100101
[4,6,1,7,8,5,2,3]=>0100110
[5,1,2,6,7,8,4,3]=>1000011
[5,2,6,7,8,4,1,3]=>1000110
[5,2,6,7,8,4,3,1]=>1000111
[2,5,6,7,8,4,1,3]=>0000110
[1,5,2,6,7,8,4,3]=>0100011
[1,6,4,7,8,5,2,3]=>0100110
[2,6,7,1,3,8,5,4]=>0010011
[6,7,8,2,1,5,4,3]=>0011011
[6,7,3,8,5,1,4,2]=>0101101
[6,4,7,8,5,3,1,2]=>1001110
[4,5,2,3,7,6,1,8]=>0100110
[6,4,3,7,2,5,1,8]=>1101010
[8,4,3,6,5,1,2,7]=>1101100
[1,5,6,3,4,8,7,2]=>0010011
[4,6,2,7,3,5,1,8]=>0101010
[3,2,6,7,4,5,1,8]=>1001010
[4,7,2,6,5,3,1,8]=>0101110
[5,7,6,2,4,3,1,8]=>0110110
[1,7,5,4,8,3,6,2]=>0110101
[8,7,5,4,1,3,2,6]=>1111010
[6,8,5,4,2,1,3,7]=>0111100
[5,8,6,2,4,1,3,7]=>0110100
[4,8,2,6,5,1,3,7]=>0101100
[3,2,8,6,5,1,4,7]=>1011100
[4,1,2,6,5,8,7,3]=>1001011
[5,1,6,2,4,8,7,3]=>1010011
[6,1,5,4,2,8,7,3]=>1011011
[7,1,5,4,8,2,6,3]=>1010101
[8,1,5,4,7,6,2,3]=>1010110
[1,8,6,7,4,5,3,2]=>0101011
[8,1,6,7,4,5,2,3]=>1001010
[7,1,6,8,4,2,5,3]=>1001101
[6,1,7,8,2,4,5,3]=>1001001
[5,1,7,2,8,4,6,3]=>1010101
[4,1,2,7,8,5,6,3]=>1000101
[3,2,1,7,8,5,6,4]=>1100101
[3,2,8,7,1,5,4,6]=>1011010
[4,8,2,7,1,5,3,6]=>0101010
[5,8,7,2,1,4,3,6]=>0111010
[6,8,7,1,2,4,3,5]=>0110010
[7,8,6,1,4,2,3,5]=>0110100
[8,7,6,1,4,3,2,5]=>1110110
[1,7,6,8,4,3,5,2]=>0101101
[1,6,7,8,3,4,5,2]=>0001001
[8,6,7,1,3,4,2,5]=>1010010
[7,6,8,1,3,2,4,5]=>1010100
[5,7,8,2,1,3,4,6]=>0011000
[4,7,2,8,1,3,5,6]=>0101000
[3,2,6,8,4,1,5,7]=>1001100
[4,6,2,8,3,1,5,7]=>0101100
[5,6,8,2,3,1,4,7]=>0010100
[6,5,8,3,2,1,4,7]=>1011100
[7,5,8,3,1,2,4,6]=>1011000
[8,5,7,3,1,4,2,6]=>1011010
[1,5,7,3,8,4,6,2]=>0010101
[1,4,3,7,8,5,6,2]=>0100101
[8,4,3,7,1,5,2,6]=>1101010
[6,4,3,8,2,1,5,7]=>1101100
[4,5,2,3,8,1,6,7]=>0100100
[3,2,5,4,8,1,6,7]=>1010100
[4,5,2,3,1,8,7,6]=>0101011
[6,4,3,1,2,8,7,5]=>1110011
[7,4,3,1,8,2,6,5]=>1110101
[8,4,3,1,7,6,2,5]=>1110110
[1,5,8,3,7,6,4,2]=>0010111
[8,5,1,3,7,6,2,4]=>1100110
[7,5,1,3,8,2,6,4]=>1100101
[6,5,1,3,2,8,7,4]=>1101011
[5,6,1,2,3,8,7,4]=>0100011
[4,6,2,1,3,8,7,5]=>0110011
[3,2,6,1,4,8,7,5]=>1010011
[3,2,7,1,8,4,6,5]=>1010101
[4,7,2,1,8,3,6,5]=>0110101
[5,7,1,2,8,3,6,4]=>0100101
[6,7,1,8,2,3,5,4]=>0101001
[7,6,1,8,3,2,5,4]=>1101101
[8,6,1,7,3,5,2,4]=>1101010
[1,6,8,7,3,5,4,2]=>0011011
[1,7,8,6,5,3,4,2]=>0011101
[8,7,1,6,5,3,2,4]=>1101110
[7,8,1,6,5,2,3,4]=>0101100
[6,8,1,7,2,5,3,4]=>0101010
[5,8,1,2,7,6,3,4]=>0100110
[4,8,2,1,7,6,3,5]=>0110110
[3,2,8,1,7,6,4,5]=>1010110
[4,1,2,8,7,6,5,3]=>1001111
[5,1,8,2,7,6,4,3]=>1010111
[6,1,8,7,2,5,4,3]=>1011011
[7,1,8,6,5,2,4,3]=>1011101
[8,1,7,6,5,4,2,3]=>1011110
[3,1,2,6,5,8,7,4]=>1001011
[3,1,6,2,4,8,7,5]=>1010011
[3,1,5,2,4,8,7,6]=>1010011
[4,5,1,2,3,8,7,6]=>0100011
[4,6,1,2,3,8,7,5]=>0100011
[1,6,5,3,4,8,7,2]=>0110011
[6,1,5,2,4,8,7,3]=>1010011
[6,5,1,2,3,8,7,4]=>1100011
[6,4,1,2,3,8,7,5]=>1100011
[5,4,1,2,3,8,7,6]=>1100011
[5,4,1,2,7,3,6,8]=>1100100
[6,4,1,7,2,3,5,8]=>1101000
[6,4,1,8,2,3,5,7]=>1101000
[7,4,1,2,8,3,6,5]=>1100101
[7,5,1,2,8,3,6,4]=>1100101
[7,1,5,2,8,4,6,3]=>1010101
[1,7,5,3,8,4,6,2]=>0110101
[1,8,5,3,7,4,6,2]=>0110101
[8,1,5,2,7,4,6,3]=>1010101
[8,5,1,2,7,3,6,4]=>1100101
[8,4,1,2,7,3,6,5]=>1100101
[8,4,1,7,2,3,5,6]=>1101000
[7,4,1,6,2,3,5,8]=>1101000
[8,6,1,7,2,3,5,4]=>1101001
[8,1,6,7,2,4,5,3]=>1001001
[1,8,6,7,3,4,5,2]=>0101001
[1,7,6,8,3,4,5,2]=>0101001
[7,1,6,8,2,4,5,3]=>1001001
[7,6,1,8,2,3,5,4]=>1101001
[4,7,1,2,8,3,6,5]=>0100101
[3,1,7,2,8,4,6,5]=>1010101
[3,1,2,7,8,5,6,4]=>1000101
[1,4,3,8,7,5,6,2]=>0101101
[4,1,2,8,7,5,6,3]=>1001101
[3,1,2,8,7,5,6,4]=>1001101
[3,1,8,2,7,4,6,5]=>1010101
[3,1,8,7,2,4,5,6]=>1011000
[3,1,7,6,2,4,5,8]=>1011000
[4,7,1,6,2,3,5,8]=>0101000
[4,8,1,6,2,3,5,7]=>0101000
[4,8,1,7,2,3,5,6]=>0101000
[4,8,1,2,7,3,6,5]=>0100101
[5,8,1,2,7,3,6,4]=>0100101
[5,1,8,2,7,4,6,3]=>1010101
[1,5,8,3,7,4,6,2]=>0010101
[1,6,8,7,3,4,5,2]=>0011001
[6,1,8,7,2,4,5,3]=>1011001
[6,8,1,7,2,3,5,4]=>0101001
[6,8,7,1,2,3,4,5]=>0110000
[5,8,7,1,2,3,4,6]=>0110000
[5,8,6,1,2,3,4,7]=>0110000
[5,7,6,1,2,3,4,8]=>0110000
[7,8,1,6,2,3,5,4]=>0101001
[7,1,8,6,2,4,5,3]=>1011001
[1,7,8,6,3,4,5,2]=>0011001
[1,8,7,6,3,4,5,2]=>0111001
[8,1,7,6,2,4,5,3]=>1011001
[8,7,1,6,2,3,5,4]=>1101001
[3,2,5,1,6,4,8,7]=>1010101
[3,2,5,4,7,1,8,6]=>1010101
[4,2,5,3,7,6,8,1]=>1010101
[4,2,5,3,7,1,8,6]=>1010101
[4,2,5,3,6,1,8,7]=>1010101
[4,2,5,1,6,3,8,7]=>1010101
[3,1,5,4,6,2,8,7]=>1010101
[4,1,5,3,6,2,8,7]=>1010101
[4,3,5,1,6,2,8,7]=>1010101
[4,3,5,2,7,1,8,6]=>1010101
[4,3,6,2,7,5,8,1]=>1010101
[4,3,6,2,7,1,8,5]=>1010101
[4,3,6,1,7,2,8,5]=>1010101
[4,3,5,1,7,2,8,6]=>1010101
[3,1,5,4,7,2,8,6]=>1010101
[2,1,5,4,7,3,8,6]=>1010101
[3,1,5,4,7,6,8,2]=>1010101
[4,1,5,3,7,6,8,2]=>1010101
[4,3,5,1,7,6,8,2]=>1010101
[4,3,6,1,7,5,8,2]=>1010101
[4,3,6,5,7,1,8,2]=>1010101
[5,3,6,4,7,2,8,1]=>1010101
[5,3,6,4,7,1,8,2]=>1010101
[5,3,6,1,7,4,8,2]=>1010101
[5,1,6,3,7,4,8,2]=>1010101
[4,1,6,3,7,5,8,2]=>1010101
[3,1,6,4,7,5,8,2]=>1010101
[2,1,6,4,7,5,8,3]=>1010101
[2,1,6,4,7,3,8,5]=>1010101
[3,1,6,4,7,2,8,5]=>1010101
[4,1,6,3,7,2,8,5]=>1010101
[5,1,6,3,7,2,8,4]=>1010101
[5,3,6,1,7,2,8,4]=>1010101
[5,3,6,2,7,1,8,4]=>1010101
[5,3,6,2,7,4,8,1]=>1010101
[5,2,6,3,7,4,8,1]=>1010101
[5,2,6,3,7,1,8,4]=>1010101
[5,2,6,1,7,3,8,4]=>1010101
[4,2,5,1,7,3,8,6]=>1010101
[4,2,6,1,7,3,8,5]=>1010101
[4,2,6,3,7,1,8,5]=>1010101
[4,2,6,3,7,5,8,1]=>1010101
[3,2,6,4,7,5,8,1]=>1010101
[3,2,6,4,7,1,8,5]=>1010101
[3,2,6,1,7,4,8,5]=>1010101
[3,2,5,1,7,4,8,6]=>1010101
[3,2,4,1,7,5,8,6]=>1010101
[3,1,4,2,7,6,8,5]=>1010101
[3,2,5,1,7,6,8,4]=>1010101
[3,2,6,1,7,5,8,4]=>1010101
[3,2,6,5,7,1,8,4]=>1010101
[4,2,6,5,7,3,8,1]=>1010101
[4,2,6,5,7,1,8,3]=>1010101
[4,2,6,1,7,5,8,3]=>1010101
[4,2,5,1,7,6,8,3]=>1010101
[4,1,5,2,7,6,8,3]=>1010101
[3,1,5,2,7,6,8,4]=>1010101
[2,1,5,3,7,6,8,4]=>1010101
[2,1,6,3,7,5,8,4]=>1010101
[3,1,6,2,7,5,8,4]=>1010101
[4,1,6,2,7,5,8,3]=>1010101
[5,1,6,2,7,4,8,3]=>1010101
[5,2,6,1,7,4,8,3]=>1010101
[5,2,6,4,7,1,8,3]=>1010101
[5,2,6,4,7,3,8,1]=>1010101
[5,4,6,2,7,3,8,1]=>1010101
[5,4,6,2,7,1,8,3]=>1010101
[5,4,6,1,7,2,8,3]=>1010101
[5,1,6,4,7,2,8,3]=>1010101
[4,1,6,5,7,2,8,3]=>1010101
[3,1,6,5,7,2,8,4]=>1010101
[2,1,6,5,7,3,8,4]=>1010101
[3,1,6,5,7,4,8,2]=>1010101
[4,1,6,5,7,3,8,2]=>1010101
[5,1,6,4,7,3,8,2]=>1010101
[5,4,6,1,7,3,8,2]=>1010101
[5,4,6,3,7,1,8,2]=>1010101
[8,3,5,2,1,6,4,7]=>1011010
[8,6,3,5,2,4,1,7]=>1101010
[3,7,5,2,4,1,8,6]=>0110101
[8,3,7,5,2,4,6,1]=>1011001
[8,2,4,5,7,3,6,1]=>1000101
[2,4,5,7,3,1,8,6]=>0001101
[8,2,4,6,5,3,1,7]=>1001110
[8,2,5,4,6,1,3,7]=>1010100
[8,6,3,5,1,4,2,7]=>1101010
[8,6,1,4,5,3,2,7]=>1100110
[8,1,5,6,4,3,2,7]=>1001110
[5,7,4,3,2,1,8,6]=>0111101
[8,5,7,4,3,2,6,1]=>1011101
[4,6,8,3,2,7,5,1]=>0011011
[4,7,6,3,2,8,1,5]=>0111010
[1,4,6,7,3,2,8,5]=>0001101
[5,4,7,3,1,8,2,6]=>1011010
[1,7,4,5,3,2,8,6]=>0101101
[3,7,5,1,4,2,8,6]=>0110101
[5,7,4,2,1,3,8,6]=>0111001
[8,5,7,4,2,1,6,3]=>1011101
[8,3,7,5,1,4,6,2]=>1011001
[8,4,1,7,5,3,6,2]=>1101101
[4,6,3,8,7,1,5,2]=>0101101
[1,7,4,8,6,3,5,2]=>0101101
[8,4,7,6,3,5,2,1]=>1011011
[3,6,5,8,7,4,1,2]=>0101110
[3,1,5,8,6,7,4,2]=>1001011
[4,8,1,6,7,3,5,2]=>0100101
[3,6,4,1,8,7,5,2]=>0110111
[8,2,6,1,4,7,5,3]=>1010011
[2,7,6,8,1,4,3,5]=>0101010
[3,7,1,6,4,8,2,5]=>0101010
[1,7,3,5,6,8,2,4]=>0100010
[1,3,6,7,5,8,2,4]=>0001010
[3,7,6,5,8,2,1,4]=>0110110
[3,6,8,5,7,2,4,1]=>0010101
[2,3,5,7,6,8,1,4]=>0001010
[2,1,6,5,7,8,3,4]=>1010010
[4,2,7,6,8,3,1,5]=>1010110
[4,2,6,8,7,3,5,1]=>1001101
[3,8,2,4,6,7,5,1]=>0100011
[3,7,2,6,4,8,1,5]=>0101010
[3,2,6,1,4,7,8,5]=>1010001
[5,3,7,2,1,8,4,6]=>1011010
[4,7,3,2,1,5,8,6]=>0111001
[8,7,6,1,3,4,2,5]=>1110010
[8,5,7,3,2,1,6,4]=>1011101
[8,3,6,7,2,1,5,4]=>1001101
[3,7,8,6,2,1,5,4]=>0011101
[8,7,6,3,5,2,4,1]=>1110101
[2,7,4,8,1,6,5,3]=>0101011
[4,6,8,2,1,7,5,3]=>0011011
[8,4,1,5,7,2,6,3]=>1100101
[8,5,3,7,1,6,2,4]=>1101010
[8,5,7,2,1,3,6,4]=>1011001
[8,2,6,7,1,3,5,4]=>1001001
[8,3,6,1,7,5,2,4]=>1010110
[4,6,1,8,7,2,5,3]=>0101101
[8,1,2,5,6,7,4,3]=>1000011
[8,2,6,5,7,4,1,3]=>1010110
[2,1,7,8,5,6,4,3]=>1001011
[8,2,5,7,6,4,3,1]=>1001111
[2,7,6,8,5,4,1,3]=>0101110
[1,7,2,5,8,6,4,3]=>0100111
[1,7,4,8,2,6,5,3]=>0101011
[3,7,8,1,6,5,2,4]=>0010110
[2,7,8,6,1,3,5,4]=>0011001
[8,7,6,3,5,1,4,2]=>1110101
[8,4,7,6,5,1,3,2]=>1011101
[8,7,1,5,6,4,3,2]=>1100111
[8,1,6,7,5,4,3,2]=>1001111
[6,5,3,1,2,4,8,7]=>1110001
[4,6,3,5,1,2,8,7]=>0101001
[8,5,3,7,2,1,4,6]=>1101100
[6,8,1,4,5,7,3,2]=>0100011
[8,7,2,4,5,1,3,6]=>1100100
[3,6,2,4,5,1,8,7]=>0100101
[2,6,1,4,5,3,8,7]=>0100101
[6,1,2,4,5,3,8,7]=>1000101
[5,6,3,2,1,4,8,7]=>0111001
[5,4,3,6,1,2,8,7]=>1101001
[6,3,1,4,5,2,8,7]=>1100101
[3,1,6,4,5,2,8,7]=>1010101
[8,3,7,4,5,1,2,6]=>1010100
[5,8,7,4,2,6,3,1]=>0111011
[2,8,7,4,1,6,3,5]=>0111010
[8,1,7,4,2,6,3,5]=>1011010
[3,7,8,4,5,1,2,6]=>0010100
[2,1,8,7,5,3,4,6]=>1011100
[2,1,6,8,5,7,3,4]=>1001010
[5,6,3,8,1,7,2,4]=>0101010
[7,6,1,4,5,8,3,2]=>1100011
[3,7,6,4,5,8,2,1]=>0110011
[8,5,7,4,1,6,3,2]=>1011011
[5,1,8,4,7,6,2,3]=>1010110
[2,5,8,4,7,6,1,3]=>0010110
[2,4,8,3,5,6,7,1]=>0010001
[4,1,8,3,5,6,7,2]=>1010001
[3,8,4,2,5,6,7,1]=>0110001
[8,4,1,3,5,6,7,2]=>1100001
[7,5,8,4,3,6,1,2]=>1011010
[6,5,3,8,4,1,7,2]=>1101101
[2,1,5,8,4,6,7,3]=>1001001
[2,1,4,8,3,6,7,5]=>1001001
[6,4,3,8,2,1,7,5]=>1101101
[7,3,8,4,2,6,1,5]=>1011010
[8,3,1,2,5,6,7,4]=>1100001
[3,1,8,2,5,6,7,4]=>1010001
[2,3,8,1,5,6,7,4]=>0010001
[4,3,8,2,5,6,7,1]=>1010001
[4,8,2,3,5,6,7,1]=>0100001
[3,8,2,1,5,6,7,4]=>0110001
[2,8,1,3,5,6,7,4]=>0100001
[8,1,2,3,5,6,7,4]=>1000001
[7,8,2,4,3,6,1,5]=>0101010
[6,8,3,2,4,1,7,5]=>0110101
[2,1,8,3,4,6,7,5]=>1010001
[2,1,7,8,5,4,3,6]=>1001110
[5,7,3,8,1,4,2,6]=>0101010
[7,1,8,4,5,3,2,6]=>1010110
[2,7,8,4,5,3,1,6]=>0010110
[8,7,1,4,3,6,2,5]=>1101010
[3,8,7,4,2,6,1,5]=>0111010
[5,7,8,4,3,6,2,1]=>0011011
[5,6,3,8,4,2,7,1]=>0101101
[4,8,3,6,2,1,7,5]=>0101101
[8,6,3,1,4,2,7,5]=>1110101
[7,5,3,8,2,4,1,6]=>1101010
[2,4,3,1,8,5,7,6]=>0110101
[4,1,3,2,6,8,7,5]=>1010011
[7,5,3,6,2,8,1,4]=>1101010
[8,6,3,5,1,2,7,4]=>1101001
[5,8,3,2,6,1,7,4]=>0110101
[4,5,3,8,6,2,7,1]=>0101101
[3,5,8,4,7,6,2,1]=>0010111
[5,8,2,4,7,6,1,3]=>0100110
[8,7,5,4,1,6,2,3]=>1111010
[2,7,6,4,5,8,1,3]=>0110010
[7,1,6,4,5,8,2,3]=>1010010
[5,7,3,6,1,8,2,4]=>0101010
[2,1,7,6,5,8,3,4]=>1011010
[2,1,8,5,3,6,7,4]=>1011001
[6,8,3,5,2,1,7,4]=>0101101
[7,8,5,4,2,6,1,3]=>0111010
[8,1,4,2,5,6,7,3]=>1010001
[2,8,4,1,5,6,7,3]=>0110001
[4,8,1,2,5,6,7,3]=>0100001
[3,4,8,1,5,6,7,2]=>0010001
[3,4,2,8,5,6,7,1]=>0101001
[2,4,1,8,5,6,7,3]=>0101001
[4,1,2,8,5,6,7,3]=>1001001
[8,4,2,1,5,6,7,3]=>1110001
[7,5,2,4,8,6,1,3]=>1100110
[6,5,3,2,8,1,7,4]=>1110101
[2,1,5,3,8,6,7,4]=>1010101
[6,4,3,5,8,1,7,2]=>1100101
[7,3,5,4,8,6,1,2]=>1010110
[8,3,4,1,5,6,7,2]=>1010001
[4,3,1,8,5,6,7,2]=>1101001
[3,1,4,8,5,6,7,2]=>1001001
[6,5,3,7,2,8,4,1]=>1101011
[6,3,7,4,5,8,2,1]=>1010011
[6,7,2,4,5,8,3,1]=>0100011
[5,1,7,4,8,6,3,2]=>1010111
[2,5,7,4,8,6,3,1]=>0010111
[5,6,3,7,1,8,4,2]=>0101011
[3,8,7,4,5,2,1,6]=>0110110
[3,7,5,4,8,6,2,1]=>0110111
[5,7,1,4,8,6,2,3]=>0100110
[5,6,3,1,8,2,7,4]=>0110101
[4,6,3,5,8,2,7,1]=>0100101
[4,6,3,8,1,2,7,5]=>0101001
[3,7,8,4,1,6,2,5]=>0011010
[3,2,5,1,6,8,4,7]=>1010010
[3,6,2,5,4,8,1,7]=>0101010
[3,5,2,4,7,1,8,6]=>0100101
[3,5,8,2,4,7,6,1]=>0010011
[4,2,5,8,3,7,6,1]=>1001011
[4,2,6,5,3,8,1,7]=>1011010
[5,4,2,1,6,8,3,7]=>1110010
[6,3,5,1,4,8,2,7]=>1010010
[4,6,1,5,3,8,2,7]=>0101010
[5,1,6,4,3,8,2,7]=>1011010
[5,4,3,2,7,1,8,6]=>1110101
[5,4,3,8,2,7,6,1]=>1101011
[4,3,6,2,8,7,5,1]=>1010111
[4,3,7,6,2,1,8,5]=>1011101
[6,4,3,1,7,2,8,5]=>1110101
[7,5,4,3,1,8,2,6]=>1111010
[1,4,7,5,8,3,2,6]=>0010110
[7,1,3,5,8,4,2,6]=>1000110
[7,2,5,8,4,1,3,6]=>1001100
[2,8,5,7,4,6,1,3]=>0101010
[3,5,8,7,1,4,6,2]=>0011001
[1,4,5,8,7,3,6,2]=>0001101
[1,5,4,8,7,3,6,2]=>0101101
[6,4,3,8,1,7,5,2]=>1101011
[4,3,7,1,8,6,5,2]=>1010111
[4,8,3,7,6,5,2,1]=>0101111
[5,3,8,7,6,4,2,1]=>1011111
[7,5,3,1,8,6,4,2]=>1110111
[1,8,6,5,3,7,4,2]=>0111011
[1,5,8,6,3,7,4,2]=>0011011
[4,6,1,8,7,3,5,2]=>0101101
[6,8,7,3,1,4,5,2]=>0111001
[6,2,8,7,4,5,1,3]=>1011010
[7,6,2,8,4,1,3,5]=>1101100
[7,3,1,6,8,4,2,5]=>1100110
[1,7,6,4,8,3,2,5]=>0110110
[5,7,1,6,3,2,8,4]=>0101101
[6,1,7,5,3,2,8,4]=>1011101
[7,6,5,3,2,1,8,4]=>1111101
[6,5,3,2,8,7,4,1]=>1110111
[5,2,6,3,8,7,4,1]=>1010111
[5,2,7,6,3,1,8,4]=>1011101
[6,5,2,1,7,3,8,4]=>1110101
[5,2,7,4,1,8,3,6]=>1011010
[4,7,2,6,3,1,8,5]=>0101101
[2,4,8,6,3,7,5,1]=>0011011
[3,8,6,2,4,7,5,1]=>0110011
[7,3,6,2,4,1,8,5]=>1010101
[3,6,7,2,1,4,8,5]=>0011001
[4,3,7,8,2,1,5,6]=>1001100
[8,3,7,1,4,6,2,5]=>1010010
[3,8,2,5,7,1,6,4]=>0100101
[8,3,6,2,7,1,5,4]=>1010101
[7,8,3,6,2,1,5,4]=>0101101
[8,7,3,6,2,5,4,1]=>1101011
[4,7,8,2,1,6,5,3]=>0011011
[4,2,6,8,1,7,5,3]=>1001011
[5,4,8,2,7,1,6,3]=>1010101
[4,8,1,5,7,2,6,3]=>0100101
[5,8,3,7,1,6,2,4]=>0101010
[5,8,7,2,6,1,3,4]=>0110100
[8,6,2,7,5,1,3,4]=>1101100
[3,6,8,1,7,5,2,4]=>0010110
[5,1,6,8,2,7,4,3]=>1001011
[6,5,2,8,1,7,4,3]=>1101011
[5,2,7,1,8,6,4,3]=>1010111
[5,8,2,7,6,4,3,1]=>0101111
[6,2,8,7,5,4,3,1]=>1011111
[7,6,2,1,8,5,4,3]=>1110111
[6,1,7,2,8,5,4,3]=>1010111
[7,5,1,8,2,6,4,3]=>1101011
[4,7,1,8,6,2,5,3]=>0101101
[7,8,3,1,6,5,2,4]=>0110110
[8,7,4,6,1,5,3,2]=>1101011
[8,5,7,1,6,4,3,2]=>1010111
[6,8,1,7,5,4,3,2]=>0101111
[7,1,8,6,5,4,3,2]=>1011111
[5,4,2,3,7,6,1,8]=>1100110
[6,4,2,7,3,5,1,8]=>1101010
[7,4,2,6,3,5,1,8]=>1101010
[8,4,2,6,3,1,5,7]=>1101100
[3,2,7,6,4,5,1,8]=>1011010
[4,7,2,6,3,5,1,8]=>0101010
[5,7,6,2,3,4,1,8]=>0110010
[1,6,5,2,3,8,4,7]=>0110010
[1,7,5,2,8,3,4,6]=>0110100
[6,8,5,2,3,1,4,7]=>0110100
[5,8,6,2,3,1,4,7]=>0110100
[4,8,2,6,3,1,5,7]=>0101100
[3,2,8,6,4,1,5,7]=>1011100
[3,2,1,6,4,8,5,7]=>1101010
[7,1,5,2,8,3,4,6]=>1010100
[1,8,5,2,7,3,4,6]=>0110100
[1,8,6,7,2,3,4,5]=>0101000
[8,1,6,7,2,3,4,5]=>1001000
[7,1,6,8,2,3,4,5]=>1001000
[3,2,1,7,8,4,5,6]=>1100100
[3,2,8,7,1,4,5,6]=>1011000
[5,8,7,2,1,3,4,6]=>0111000
[1,7,6,8,2,3,4,5]=>0101000
[6,5,8,2,3,1,4,7]=>1010100
[8,5,7,2,1,3,4,6]=>1011000
[6,4,2,8,3,1,5,7]=>1101100
[5,4,2,3,8,1,6,7]=>1100100
[3,2,5,4,1,8,6,7]=>1011010
[4,5,2,3,1,8,6,7]=>0101010
[5,4,2,3,1,8,6,7]=>1101010
[6,4,2,1,3,8,5,7]=>1110010
[7,4,2,1,8,3,5,6]=>1110100
[8,4,2,1,7,3,5,6]=>1110100
[1,4,2,8,7,3,5,6]=>0101100
[1,5,8,2,7,3,4,6]=>0010100
[8,5,1,2,7,3,4,6]=>1100100
[7,5,1,2,8,3,4,6]=>1100100
[6,5,1,2,3,8,4,7]=>1100010
[4,6,2,1,3,8,5,7]=>0110010
[3,2,6,1,4,8,5,7]=>1010010
[3,2,7,1,8,4,5,6]=>1010100
[4,7,2,1,8,3,5,6]=>0110100
[7,6,1,8,2,3,4,5]=>1101000
[8,6,1,7,2,3,4,5]=>1101000
[1,6,8,7,2,3,4,5]=>0011000
[1,7,8,6,2,3,4,5]=>0011000
[7,8,1,6,2,3,4,5]=>0101000
[6,8,1,7,2,3,4,5]=>0101000
[4,8,2,1,7,3,5,6]=>0110100
[3,2,8,1,7,4,5,6]=>1010100
[3,2,1,8,7,4,5,6]=>1101100
[5,1,8,2,7,3,4,6]=>1010100
[6,1,8,7,2,3,4,5]=>1011000
[8,1,7,6,2,3,4,5]=>1011000
[1,8,7,6,2,3,4,5]=>0111000
[6,3,5,1,2,4,8,7]=>1010001
[4,3,5,6,1,2,8,7]=>1001001
[8,3,7,5,2,1,4,6]=>1011100
[6,3,7,5,1,8,4,2]=>1011011
[6,5,2,7,1,8,3,4]=>1101010
[8,5,2,7,4,1,3,6]=>1101100
[2,6,1,5,4,3,8,7]=>0101101
[6,4,3,5,1,2,8,7]=>1101001
[5,3,1,4,6,2,8,7]=>1100101
[3,1,4,6,5,2,8,7]=>1001101
[5,7,4,6,2,8,3,1]=>0101011
[8,1,4,7,2,6,3,5]=>1001010
[3,4,7,8,5,2,1,6]=>0001110
[2,1,8,5,7,3,4,6]=>1010100
[8,6,3,5,1,7,4,2]=>1101011
[5,8,2,4,6,7,3,1]=>0100011
[3,4,8,6,5,7,1,2]=>0011010
[7,5,4,8,1,6,3,2]=>1101011
[5,1,4,6,8,2,7,3]=>1000101
[2,5,4,6,7,1,8,3]=>0100101
[2,4,6,3,7,5,8,1]=>0010101
[4,1,6,3,8,5,7,2]=>1010101
[3,7,4,2,8,6,5,1]=>0110111
[7,4,1,3,5,8,6,2]=>1100011
[6,5,8,4,1,7,3,2]=>1011011
[8,5,3,7,4,1,6,2]=>1101101
[2,1,4,8,3,7,6,5]=>1001011
[7,4,3,8,2,1,6,5]=>1101101
[6,3,7,4,1,8,2,5]=>1011010
[8,3,1,2,5,7,6,4]=>1100011
[3,1,8,2,7,6,5,4]=>1010111
[2,3,8,1,6,7,5,4]=>0010011
[4,3,7,2,6,8,5,1]=>1010011
[4,7,2,3,8,5,6,1]=>0100101
[3,8,2,1,7,5,6,4]=>0110101
[2,8,1,3,6,5,7,4]=>0100101
[2,7,8,5,4,3,1,6]=>0011110
[8,7,1,6,3,4,2,5]=>1101010
[3,8,6,7,2,4,1,5]=>0101010
[5,3,8,7,4,2,6,1]=>1011101
[4,3,8,7,2,1,6,5]=>1011101
[8,3,6,1,4,2,7,5]=>1010101
[7,3,5,8,2,4,1,6]=>1001010
[2,3,4,1,8,5,7,6]=>0010101
[4,1,3,2,6,7,8,5]=>1010001
[8,3,5,6,2,7,1,4]=>1001010
[5,3,6,1,8,7,2,4]=>1010110
[5,6,2,8,7,4,1,3]=>0101110
[7,8,5,6,1,4,2,3]=>0101010
[2,8,6,5,4,7,1,3]=>0111010
[8,1,6,4,5,7,2,3]=>1010010
[5,8,3,6,1,7,2,4]=>0101010
[2,1,8,6,5,7,3,4]=>1011010
[2,1,7,5,3,6,8,4]=>1011001
[6,7,3,5,2,1,8,4]=>0101101
[7,1,4,2,5,6,8,3]=>1010001
[2,7,4,1,6,5,8,3]=>0110101
[4,6,1,2,8,7,3,5]=>0100110
[2,4,1,5,8,7,6,3]=>0100111
[4,1,2,5,8,6,7,3]=>1000101
[6,4,2,1,5,8,7,3]=>1110011
[8,5,2,4,6,1,7,3]=>1100101
[7,5,3,2,6,8,1,4]=>1110010
[2,1,5,3,6,8,7,4]=>1010011
[7,3,5,4,6,1,8,2]=>1010101
[6,3,4,1,5,7,8,2]=>1010001
[4,3,1,5,7,6,8,2]=>1100101
[3,1,4,5,6,8,7,2]=>1000011
[4,5,2,6,3,1,8,7]=>0101101
[6,5,2,1,4,3,8,7]=>1110101
[6,5,2,7,4,8,3,1]=>1101011
[8,5,2,7,4,1,6,3]=>1101101
[8,3,7,5,2,1,6,4]=>1011101
[6,3,7,5,2,8,4,1]=>1011011
[3,1,6,5,4,2,8,7]=>1011101
[5,6,3,2,4,1,8,7]=>0110101
[3,6,2,4,1,5,8,7]=>0101001
[2,6,1,3,5,4,8,7]=>0100101
[6,7,2,3,4,8,5,1]=>0100011
[8,7,2,3,4,1,6,5]=>1100101
[5,1,7,3,8,4,6,2]=>1010101
[2,5,7,3,8,6,4,1]=>0010111
[7,6,1,3,5,8,4,2]=>1100011
[3,6,7,4,1,8,5,2]=>0011011
[5,6,3,7,4,8,1,2]=>0101010
[2,1,6,7,4,8,5,3]=>1001011
[2,1,8,7,4,3,6,5]=>1011101
[5,8,3,7,4,2,6,1]=>0101101
[3,8,7,4,1,2,6,5]=>0111001
[7,8,1,3,5,2,6,4]=>0100101
[5,8,7,3,2,6,1,4]=>0111010
[2,8,6,3,1,5,7,4]=>0111001
[8,1,6,3,2,5,4,7]=>1011010
[2,8,4,1,6,3,7,5]=>0110101
[4,8,1,2,7,6,3,5]=>0100110
[3,8,4,2,5,7,1,6]=>0110010
[6,8,3,5,2,7,4,1]=>0101011
[2,1,5,3,8,7,6,4]=>1010111
[6,5,3,2,8,7,1,4]=>1110110
[7,5,2,4,8,1,6,3]=>1100101
[3,4,2,8,5,7,6,1]=>0101011
[2,4,1,8,7,6,5,3]=>0101111
[8,4,2,1,7,5,3,6]=>1110110
[4,3,1,8,6,7,5,2]=>1101011
[3,1,4,8,6,5,7,2]=>1001101
[7,1,6,5,4,8,2,3]=>1011010
[3,7,5,6,8,4,2,1]=>0100111
[5,7,1,6,8,2,4,3]=>0100101
[8,6,2,5,1,7,4,3]=>1101011
[5,6,2,1,8,7,3,4]=>0110110
[4,6,2,5,8,3,7,1]=>0100101
[7,5,2,6,3,8,1,4]=>1101010
[4,1,2,3,6,8,7,5]=>1000011
[2,4,3,1,8,5,6,7]=>0110100
[7,5,2,8,3,4,6,1]=>1101001
[5,6,2,8,4,3,1,7]=>0101110
[4,7,2,8,1,5,3,6]=>0101010
[8,7,2,1,4,5,6,3]=>1110001
[3,6,8,7,1,5,4,2]=>0011011
[5,7,8,6,3,4,1,2]=>0011010
[7,1,8,5,4,3,6,2]=>1011101
[2,7,8,4,5,3,6,1]=>0010101
[5,7,3,8,1,4,6,2]=>0101001
[2,1,7,8,5,4,6,3]=>1001101
[2,1,5,8,4,6,3,7]=>1001010
[6,5,3,8,4,1,2,7]=>1101100
[7,5,8,4,3,6,2,1]=>1011011
[2,4,8,3,5,6,1,7]=>0010010
[4,1,8,3,6,5,2,7]=>1010110
[3,4,8,1,7,2,5,6]=>0010100
[8,4,1,3,7,2,6,5]=>1100101
[3,1,8,2,4,7,6,5]=>1010011
[2,3,8,1,4,6,7,5]=>0010001
[4,3,8,2,5,1,7,6]=>1010101
[6,3,8,4,2,5,7,1]=>1011001
[7,4,3,8,2,5,1,6]=>1101010
[2,1,4,8,3,5,7,6]=>1001001
[6,8,2,4,3,5,1,7]=>0101010
[4,8,2,3,5,1,6,7]=>0100100
[3,8,2,1,4,6,5,7]=>0110010
[2,8,1,3,4,5,7,6]=>0100001
[2,8,4,1,6,5,3,7]=>0110110
[2,8,4,1,6,5,7,3]=>0110101
[2,8,7,6,1,4,3,5]=>0111010
[2,8,5,6,7,4,3,1]=>0100111
[7,5,8,6,1,4,2,3]=>1011010
[3,5,7,6,1,4,2,8]=>0011010
[3,5,7,2,4,1,6,8]=>0010100
[7,5,8,2,4,1,6,3]=>1010101
[2,8,5,3,4,7,6,1]=>0110011
[2,8,5,3,4,1,7,6]=>0110101
[2,8,5,3,4,1,6,7]=>0110100
[2,8,7,6,1,4,5,3]=>0111001
[2,8,5,3,6,1,7,4]=>0110101
[2,8,5,6,7,4,1,3]=>0100110
[2,8,5,3,4,7,1,6]=>0110010
[2,8,5,3,4,6,1,7]=>0110010
[2,8,5,3,4,6,7,1]=>0110001
[3,5,7,2,4,6,1,8]=>0010010
[6,5,2,7,3,1,4,8]=>1101100
[6,5,2,8,3,1,7,4]=>1101101
[6,5,2,8,3,1,4,7]=>1101100
[7,5,8,2,4,6,3,1]=>1010011
[7,5,8,6,1,4,3,2]=>1011011
[6,5,8,2,1,3,7,4]=>1011001
[3,5,6,2,1,8,7,4]=>0011011
[3,5,7,6,1,4,8,2]=>0011001
[3,5,7,2,4,1,8,6]=>0010101
[3,5,7,2,4,6,8,1]=>0010001
[6,5,2,7,3,1,8,4]=>1101101
[4,5,2,6,3,1,7,8]=>0101100
[4,1,2,3,7,6,8,5]=>1000101
[6,5,2,7,3,4,8,1]=>1101001
[5,1,6,7,4,3,8,2]=>1001101
[5,1,2,6,4,8,7,3]=>1001011
[5,1,2,8,6,4,7,3]=>1001101
[5,1,6,8,7,3,4,2]=>1001101
[6,5,2,8,3,7,4,1]=>1101011
[4,1,2,3,8,7,5,6]=>1000110
[4,1,2,3,8,6,5,7]=>1000110
[4,1,2,3,8,6,7,5]=>1000101
[4,1,2,3,7,6,5,8]=>1000110
[4,1,2,3,8,5,7,6]=>1000101
[7,1,6,8,4,3,5,2]=>1001101
[6,1,2,8,4,5,7,3]=>1001001
[5,6,8,2,3,1,7,4]=>0010101
[6,5,8,2,4,3,1,7]=>1010110
[6,5,8,2,4,3,7,1]=>1010101
[7,5,2,8,3,4,1,6]=>1101010
[6,5,2,8,3,7,1,4]=>1101010
[6,5,2,7,3,4,1,8]=>1101010
[5,1,6,7,4,3,2,8]=>1001110
[5,1,6,8,7,3,2,4]=>1001110
[7,1,6,8,4,3,2,5]=>1001110
[5,7,8,6,3,4,2,1]=>0011011
[4,1,8,3,6,5,7,2]=>1010101
[4,1,8,3,6,2,7,5]=>1010101
[3,1,4,8,6,2,7,5]=>1001101
[3,1,4,8,6,5,2,7]=>1001110
[7,1,6,5,8,3,2,4]=>1010110
[4,1,6,7,8,3,2,5]=>1000110
[4,1,6,5,7,3,2,8]=>1010110
[4,5,2,6,3,7,1,8]=>0101010
[4,5,2,7,3,8,1,6]=>0101010
[3,5,6,2,4,8,7,1]=>0010011
[3,5,6,2,4,8,1,7]=>0010010
[3,7,5,6,8,4,1,2]=>0100110
[3,6,5,2,8,1,7,4]=>0110101
[6,1,2,5,8,4,7,3]=>1000101
[7,1,6,5,8,3,4,2]=>1010101
[7,5,2,6,3,8,4,1]=>1101011
[4,1,2,3,5,8,7,6]=>1000011
[4,1,2,3,7,8,6,5]=>1000011
[4,5,2,7,3,8,6,1]=>0101011
[4,1,6,7,8,3,5,2]=>1000101
[4,1,2,6,8,5,7,3]=>1000101
[4,1,2,5,6,8,7,3]=>1000011
[4,5,2,6,3,7,8,1]=>0101001
[7,8,5,6,1,4,3,2]=>0101011
[7,8,4,2,1,5,3,6]=>0111010
[7,8,2,1,6,5,3,4]=>0110110
[6,4,1,2,5,7,3,8]=>1100010
[2,4,8,1,5,7,3,6]=>0010010
[4,3,8,1,7,2,5,6]=>1010100
[6,3,1,4,7,2,5,8]=>1100100
[7,8,3,4,5,1,6,2]=>0100101
[7,8,3,5,4,2,1,6]=>0101110
[7,8,4,1,2,3,6,5]=>0110001
[7,8,3,6,5,4,1,2]=>0101110
[7,8,2,1,5,3,4,6]=>0110100
[7,8,2,6,4,1,3,5]=>0101100
[7,8,2,5,6,4,1,3]=>0100110
[7,8,1,6,5,4,3,2]=>0101111
[6,2,1,7,5,4,3,8]=>1101110
[2,1,8,7,5,4,3,6]=>1011110
[1,3,8,2,6,4,7,5]=>0010101
[5,3,7,1,6,4,8,2]=>1010101
[5,3,6,2,7,4,1,8]=>1010110
[6,1,2,5,8,7,4,3]=>1000111
[6,3,1,8,4,2,7,5]=>1101101
[6,4,2,1,5,3,8,7]=>1110101
[6,4,3,7,5,8,1,2]=>1101010
[4,3,8,7,5,6,1,2]=>1011010
[2,4,7,1,5,3,6,8]=>0010100
[1,3,7,6,4,2,8,5]=>0011101
[2,1,7,5,6,8,4,3]=>1010011
[3,7,2,8,6,4,1,5]=>0101110
[3,8,1,7,6,4,5,2]=>0101101
[1,8,5,7,3,6,4,2]=>0101011
[2,7,5,8,3,6,1,4]=>0101010
[1,5,6,8,2,4,7,3]=>0001001
[2,6,8,5,3,1,4,7]=>0011100
[2,6,1,4,7,3,5,8]=>0100100
[5,6,7,3,8,4,1,2]=>0010110
[5,2,8,1,4,7,3,6]=>1010010
[4,6,7,5,2,1,3,8]=>0011100
[4,5,6,7,2,8,1,3]=>0001010
[4,5,7,6,1,8,3,2]=>0011011
[1,5,8,6,2,7,3,4]=>0011010
[1,6,5,8,3,2,7,4]=>0101101
[4,6,5,7,1,2,8,3]=>0101001
[4,7,5,6,3,1,8,2]=>0101101
[5,1,6,3,4,2,8,7]=>1010101
[5,7,1,4,2,3,8,6]=>0101001
[5,7,6,4,3,8,1,2]=>0111010
[6,3,4,5,8,7,1,2]=>1000110
[6,2,4,1,8,3,7,5]=>1010101
[6,2,3,5,4,8,1,7]=>1001010
[6,1,3,4,5,8,7,2]=>1000011
[5,1,4,2,7,6,8,3]=>1010101
[1,6,2,4,7,8,3,5]=>0100010
[5,7,2,4,1,6,3,8]=>0101010
[6,1,4,2,8,5,3,7]=>1010110
[6,7,5,8,1,4,3,2]=>0101011
[5,8,7,6,3,4,1,2]=>0111010
[5,8,7,6,2,3,1,4]=>0111010
[4,1,7,2,6,5,3,8]=>1010110
[4,8,2,1,5,6,3,7]=>0110010
[4,2,7,8,1,6,3,5]=>1001010
[2,1,8,7,6,5,3,4]=>1011110
[3,1,4,7,8,2,6,5]=>1000101
[3,1,7,4,5,6,8,2]=>1010001
[4,2,7,1,6,3,8,5]=>1010101
[4,3,7,5,6,8,1,2]=>1010010
[4,8,6,3,5,7,1,2]=>0110010
[4,8,1,2,5,3,7,6]=>0100101
[3,8,6,5,2,4,1,7]=>0111010
[3,8,5,6,1,4,7,2]=>0101001
[5,3,7,8,2,1,6,4]=>1001101
[5,2,8,7,1,6,4,3]=>1011011
[1,6,8,7,5,2,4,3]=>0011101
[3,6,7,8,5,1,4,2]=>0001101
[3,7,6,8,5,2,1,4]=>0101110
[3,7,8,5,1,2,4,6]=>0011000
[3,7,1,6,4,2,5,8]=>0101100
[4,1,8,6,2,3,5,7]=>1011000
[4,7,8,6,3,5,1,2]=>0011010
[3,8,7,6,5,4,1,2]=>0111110
[2,1,7,6,5,3,4,8]=>1011100
[2,8,1,6,4,5,3,7]=>0101010
[2,8,7,5,1,4,3,6]=>0111010
[2,8,6,7,5,1,3,4]=>0101100
[2,7,8,6,5,4,1,3]=>0011110
[6,4,2,7,1,3,8,5]=>1101001
[7,4,2,5,1,3,8,6]=>1101001
[7,5,3,6,1,8,2,4]=>1101010
[8,5,3,6,1,7,2,4]=>1101010
[7,3,6,2,4,8,1,5]=>1010010
[4,3,7,1,2,5,8,6]=>1010001
[3,6,2,7,1,4,8,5]=>0101001
[5,3,6,7,1,2,8,4]=>1001001
[6,3,7,4,1,2,8,5]=>1011001
[4,7,1,5,2,3,8,6]=>0101001
[3,7,5,1,2,4,8,6]=>0110001
[7,6,4,2,3,8,1,5]=>1110010
[8,6,4,2,3,7,1,5]=>1110010
[4,7,6,3,8,1,2,5]=>0110100
[5,7,4,2,3,8,1,6]=>0110010
[3,7,6,1,4,8,2,5]=>0110010
[6,4,7,5,2,8,1,3]=>1011010
[7,4,8,5,2,6,1,3]=>1011010
[5,8,2,6,3,7,1,4]=>0101010
[3,8,6,2,4,7,1,5]=>0110010
[3,8,5,7,1,2,4,6]=>0101000
[2,8,5,7,1,3,4,6]=>0101000
[4,8,6,2,7,1,3,5]=>0110100
[2,6,5,8,1,3,4,7]=>0101000
[3,6,5,8,1,2,4,7]=>0101000
[2,5,7,4,8,1,3,6]=>0010100
[5,4,6,7,2,8,1,3]=>1001010
[3,5,7,1,4,8,2,6]=>0010010
[5,3,7,2,4,8,1,6]=>1010010
[5,4,7,3,8,1,2,6]=>1010100
[7,4,6,3,8,1,2,5]=>1010100
[8,4,6,3,7,1,2,5]=>1010100
[8,4,1,6,7,2,3,5]=>1100100
[7,4,1,6,8,2,3,5]=>1100100
[6,5,3,7,1,8,2,4]=>1101010
[6,5,1,2,7,8,3,4]=>1100010
[5,3,6,4,7,8,1,2]=>1010010
[6,3,7,4,8,5,1,2]=>1010110
[4,7,1,5,8,6,2,3]=>0100110
[7,5,1,2,8,6,3,4]=>1100110
[7,5,3,8,1,6,2,4]=>1101010
[7,6,1,8,5,2,3,4]=>1101100
[8,6,1,7,5,2,3,4]=>1101100
[5,7,2,8,1,6,3,4]=>0101010
[6,3,7,8,5,1,2,4]=>1001100
[3,6,8,2,7,1,4,5]=>0010100
[2,4,8,7,1,3,5,6]=>0011000
[4,3,8,7,1,2,5,6]=>1011000
[5,3,8,7,1,2,4,6]=>1011000
[8,3,7,6,1,2,4,5]=>1011000
[8,4,7,6,1,2,3,5]=>1011000
[5,4,8,7,1,2,3,6]=>1011000
[3,5,8,7,1,2,4,6]=>0011000
[2,5,8,7,1,3,4,6]=>0011000
[4,6,8,2,7,1,3,5]=>0010100
[6,8,4,7,5,1,2,3]=>0101100
[5,8,7,1,6,2,3,4]=>0110100
[2,8,7,6,1,3,4,5]=>0111000
[3,8,7,6,1,2,4,5]=>0111000
[4,8,7,6,1,2,3,5]=>0111000
[5,6,3,1,4,2,8,7]=>0110101
[7,5,3,8,2,1,6,4]=>1101101
[3,8,7,4,5,1,6,2]=>0110101
[6,7,1,4,5,8,2,3]=>0100010
[2,1,7,8,5,3,6,4]=>1001101
[5,7,3,8,1,2,6,4]=>0101001
[8,7,1,4,5,3,2,6]=>1100110
[2,7,8,4,1,6,5,3]=>0011011
[7,1,8,4,2,6,5,3]=>1011011
[7,5,1,4,8,6,3,2]=>1100111
[6,5,3,1,8,4,7,2]=>1110101
[6,4,3,8,1,5,7,2]=>1101001
[8,6,3,1,2,5,7,4]=>1110001
[8,7,1,4,2,6,5,3]=>1101011
[7,3,8,4,1,6,5,2]=>1011011
[3,6,4,5,7,2,8,1]=>0100101
[5,3,2,7,4,6,8,1]=>1101001
[7,5,3,6,2,4,8,1]=>1101001
[6,3,2,5,1,8,4,7]=>1101010
[8,5,3,6,2,7,1,4]=>1101010
[8,2,6,3,4,7,1,5]=>1010010
[7,2,6,3,4,5,8,1]=>1010001
[6,2,7,3,4,5,8,1]=>1010001
[4,2,5,7,3,6,8,1]=>1001001
[5,4,7,6,2,3,8,1]=>1011001
[6,7,3,5,2,4,8,1]=>0101001
[3,7,6,2,4,5,8,1]=>0110001
[2,7,6,3,4,5,8,1]=>0110001
[6,5,3,1,2,8,4,7]=>1110010
[8,6,5,2,3,7,1,4]=>1110010
[8,5,2,1,7,3,4,6]=>1110100
[7,5,2,1,8,3,4,6]=>1110100
[1,6,3,2,8,4,5,7]=>0110100
[5,6,2,3,1,8,4,7]=>0101010
[4,2,6,5,1,8,3,7]=>1011010
[5,4,8,6,2,7,1,3]=>1011010
[6,8,3,5,2,7,1,4]=>0101010
[7,8,5,2,3,6,1,4]=>0110010
[6,8,2,1,7,3,4,5]=>0110100
[1,8,6,3,7,2,4,5]=>0110100
[1,8,2,7,3,4,5,6]=>0101000
[2,8,1,7,3,4,5,6]=>0101000
[3,8,6,1,7,2,4,5]=>0110100
[4,8,1,5,7,2,3,6]=>0100100
[4,2,8,3,7,1,5,6]=>1010100
[8,1,2,7,3,4,5,6]=>1001000
[3,6,2,7,1,8,4,5]=>0101010
[6,3,7,1,2,8,4,5]=>1010010
[7,2,6,1,8,3,4,5]=>1010100
[7,3,1,5,8,2,4,6]=>1100100
[3,2,1,5,8,4,6,7]=>1100100
[5,4,1,3,6,8,2,7]=>1100010
[1,5,3,4,6,8,2,7]=>0100010
[4,3,5,1,6,8,2,7]=>1010010
[5,4,6,3,8,7,1,2]=>1010110
[3,6,4,5,8,7,1,2]=>0100110
[6,5,3,4,8,7,1,2]=>1100110
[5,3,2,8,7,1,4,6]=>1101100
[5,3,1,8,7,2,4,6]=>1101100
[8,5,3,7,6,1,2,4]=>1101100
[6,1,8,3,7,2,4,5]=>1010100
[6,3,8,1,7,2,4,5]=>1010100
[7,6,8,2,3,5,1,4]=>1010010
[3,7,8,2,4,6,1,5]=>0010010
[6,7,3,8,2,5,1,4]=>0101010
[5,4,7,8,2,6,1,3]=>1001010
[4,2,5,8,7,1,3,6]=>1001100
[2,3,8,7,1,4,5,6]=>0011000
[7,2,8,6,1,3,4,5]=>1011000
[2,1,8,7,3,4,5,6]=>1011000
[8,2,7,6,1,3,4,5]=>1011000
[1,2,8,7,3,4,5,6]=>0011000
[1,3,8,7,2,4,5,6]=>0011000
[1,7,8,3,6,2,4,5]=>0010100
[4,1,5,8,7,2,3,6]=>1001100
[5,4,8,7,6,1,2,3]=>1011100
[6,8,3,7,5,1,2,4]=>0101100
[7,8,6,2,5,1,3,4]=>0110100
[8,1,6,7,3,2,5,4]=>1001101
[8,1,6,7,3,2,4,5]=>1001100
[8,1,5,3,7,2,4,6]=>1010100
[8,1,5,3,6,2,4,7]=>1010100
[7,5,1,3,6,2,4,8]=>1100100
[7,5,8,3,6,2,4,1]=>1010101
[7,4,8,3,2,6,5,1]=>1011011
[7,4,1,3,2,6,5,8]=>1101010
[8,1,4,3,2,6,5,7]=>1011010
[8,1,4,3,2,7,5,6]=>1011010
[8,1,4,3,2,7,6,5]=>1011011
[8,1,5,4,6,7,2,3]=>1010010
[8,1,5,3,6,2,7,4]=>1010101
[8,1,4,3,2,6,7,5]=>1011001
[8,1,4,3,2,5,7,6]=>1011001
[8,1,4,3,2,5,6,7]=>1011000
[7,4,1,3,2,5,6,8]=>1101000
[7,4,8,3,2,5,6,1]=>1011001
[6,4,3,8,2,5,7,1]=>1101001
[6,4,3,1,2,5,8,7]=>1110001
[7,4,1,3,2,5,8,6]=>1101001
[7,4,1,3,2,6,8,5]=>1101001
[7,5,1,3,6,2,8,4]=>1100101
[7,5,1,4,6,8,2,3]=>1100010
[7,5,8,3,6,2,1,4]=>1010110
[7,4,8,3,2,6,1,5]=>1011010
[7,4,8,3,2,5,1,6]=>1011010
[6,4,3,8,2,5,1,7]=>1101010
[6,4,3,7,2,5,8,1]=>1101001
[5,4,3,2,8,6,1,7]=>1110110
[5,4,3,2,8,7,1,6]=>1110110
[6,5,3,8,7,2,1,4]=>1101110
[6,5,4,8,7,1,2,3]=>1101100
[6,5,4,1,7,8,2,3]=>1110010
[6,5,3,1,7,2,8,4]=>1110101
[6,4,3,1,2,7,8,5]=>1110001
[5,4,3,2,1,8,6,7]=>1111010
[6,5,3,1,8,2,7,4]=>1110101
[6,5,4,1,8,7,2,3]=>1110110
[7,5,1,4,8,6,2,3]=>1100110
[7,4,1,3,2,8,6,5]=>1101011
[7,4,1,3,2,8,5,6]=>1101010
[6,4,3,1,2,8,5,7]=>1110010
[6,4,3,1,2,7,5,8]=>1110010
[6,4,3,8,2,7,5,1]=>1101011
[6,5,3,8,7,2,4,1]=>1101101
[6,5,3,1,7,2,4,8]=>1110100
[6,5,3,1,8,2,4,7]=>1110100
[7,5,1,3,8,2,4,6]=>1100100
[7,6,1,8,3,2,4,5]=>1101100
[7,6,1,8,4,5,2,3]=>1101010
[7,6,8,1,4,5,2,3]=>1010010
[7,6,8,1,3,2,5,4]=>1010101
[6,5,3,7,8,2,4,1]=>1100101
[6,4,3,7,2,8,5,1]=>1101011
[6,4,3,7,2,1,5,8]=>1101100
[7,4,8,3,2,1,5,6]=>1011100
[7,4,8,3,2,1,6,5]=>1011101
[7,5,8,3,1,2,6,4]=>1011001
[7,5,8,4,1,6,2,3]=>1011010
[6,5,4,8,1,7,2,3]=>1101010
[6,5,3,8,1,2,7,4]=>1101001
[5,4,3,2,8,1,7,6]=>1110101
[6,4,3,7,2,1,8,5]=>1101101
[6,5,3,7,1,2,8,4]=>1101001
[6,5,4,7,1,8,2,3]=>1101010
[6,5,3,7,8,2,1,4]=>1100110
[6,4,3,7,2,8,1,5]=>1101010
[5,4,3,2,7,8,1,6]=>1110010
[5,4,3,2,6,8,1,7]=>1110010
[5,6,2,1,3,4,8,7]=>0110001
[5,8,2,7,4,1,3,6]=>0101100
[5,3,7,8,2,1,4,6]=>1001100
[7,6,1,2,5,8,3,4]=>1100010
[2,1,7,8,4,3,5,6]=>1001100
[8,3,7,4,1,5,6,2]=>1011001
[7,8,1,2,5,4,6,3]=>0100101
[2,6,8,3,1,4,7,5]=>0011001
[6,1,8,3,2,4,5,7]=>1011000
[8,4,1,3,7,6,2,5]=>1100110
[5,8,7,4,2,1,6,3]=>0111101
[7,5,1,6,8,3,4,2]=>1100101
[6,5,2,1,8,7,4,3]=>1110111
[4,7,2,8,1,3,6,5]=>0101001
[7,3,8,6,1,2,5,4]=>1011001
[3,4,7,1,8,2,6,5]=>0010101
[1,8,2,4,3,5,6,7]=>0101000
[1,7,2,4,3,5,6,8]=>0101000
[1,6,2,4,3,5,7,8]=>0101000
[1,5,2,4,3,6,7,8]=>0101000
[1,6,2,5,3,4,7,8]=>0101000
[1,7,2,5,3,4,6,8]=>0101000
[1,8,2,5,3,4,6,7]=>0101000
[1,8,2,6,3,4,5,7]=>0101000
[1,7,2,6,3,4,5,8]=>0101000
[1,8,2,7,3,5,4,6]=>0101010
[1,7,2,8,3,5,4,6]=>0101010
[1,6,2,8,3,5,4,7]=>0101010
[1,5,2,8,3,6,4,7]=>0101010
[1,4,2,8,3,6,5,7]=>0101010
[1,3,2,8,4,6,5,7]=>0101010
[1,2,3,8,4,6,5,7]=>0001010
[1,2,3,7,4,6,5,8]=>0001010
[1,3,2,7,4,6,5,8]=>0101010
[1,4,2,7,3,6,5,8]=>0101010
[1,5,2,7,3,6,4,8]=>0101010
[1,6,2,7,3,5,4,8]=>0101010
[1,7,2,6,3,5,4,8]=>0101010
[1,8,2,6,3,5,4,7]=>0101010
[1,8,2,5,3,6,4,7]=>0101010
[1,7,2,5,3,6,4,8]=>0101010
[1,6,2,5,3,7,4,8]=>0101010
[1,5,2,4,3,7,6,8]=>0101010
[1,6,2,4,3,7,5,8]=>0101010
[1,7,2,4,3,6,5,8]=>0101010
[1,8,2,4,3,6,5,7]=>0101010
[1,8,2,3,4,6,5,7]=>0100010
[1,7,2,3,4,6,5,8]=>0100010
[1,8,2,3,4,7,5,6]=>0100010
[1,8,2,4,3,7,5,6]=>0101010
[1,7,2,4,3,8,5,6]=>0101010
[1,6,2,4,3,8,5,7]=>0101010
[1,5,2,4,3,8,6,7]=>0101010
[1,6,2,5,3,8,4,7]=>0101010
[1,7,2,5,3,8,4,6]=>0101010
[1,8,2,5,3,7,4,6]=>0101010
[1,8,2,6,3,7,4,5]=>0101010
[1,7,2,6,3,8,4,5]=>0101010
[1,2,3,8,4,7,5,6]=>0001010
[1,3,2,8,4,7,5,6]=>0101010
[1,4,2,8,3,7,5,6]=>0101010
[1,5,2,8,3,7,4,6]=>0101010
[1,6,2,8,3,7,4,5]=>0101010
[1,7,2,8,3,6,4,5]=>0101010
[1,8,2,7,3,6,4,5]=>0101010
[4,6,3,7,2,5,1,8]=>0101010
[4,6,3,7,5,2,1,8]=>0101110
[4,6,3,8,5,1,7,2]=>0101101
[4,6,3,8,5,1,2,7]=>0101100
[5,6,8,3,4,1,2,7]=>0010100
[5,6,8,3,4,1,7,2]=>0010101
[4,6,2,7,5,3,1,8]=>0101110
[5,6,7,2,4,3,1,8]=>0010110
[5,6,8,4,3,1,7,2]=>0011101
[5,6,8,4,3,1,2,7]=>0011100
[5,7,8,4,1,6,2,3]=>0011010
[5,7,8,4,1,6,3,2]=>0011011
[5,7,8,4,1,3,6,2]=>0011001
[5,6,8,4,2,1,7,3]=>0011101
[5,6,8,2,4,1,7,3]=>0010101
[4,6,2,8,5,1,7,3]=>0101101
[3,2,6,8,5,1,7,4]=>1001101
[3,2,6,8,5,1,4,7]=>1001100
[4,6,2,8,5,1,3,7]=>0101100
[5,6,8,2,4,1,3,7]=>0010100
[5,6,8,4,2,1,3,7]=>0011100
[5,7,8,4,1,3,2,6]=>0011010
[5,7,8,4,1,2,6,3]=>0011001
[5,7,8,4,1,2,3,6]=>0011000
[6,7,8,1,5,2,3,4]=>0010100
[6,7,8,1,5,2,4,3]=>0010101
[6,7,8,1,5,3,2,4]=>0010110
[6,7,8,1,3,5,2,4]=>0010010
[5,7,8,2,1,6,3,4]=>0011010
[4,7,2,8,1,6,3,5]=>0101010
[3,2,7,8,1,6,4,5]=>1001010
[3,2,7,8,1,6,5,4]=>1001011
[4,7,2,8,1,6,5,3]=>0101011
[5,7,8,2,1,6,4,3]=>0011011
[6,7,8,1,3,5,4,2]=>0010011
[6,7,8,1,5,3,4,2]=>0010101
[6,7,8,1,5,4,3,2]=>0010111
[6,7,8,1,5,4,2,3]=>0010110
[6,7,8,1,4,5,2,3]=>0010010
[6,7,8,1,4,5,3,2]=>0010011
[6,7,8,1,4,3,5,2]=>0010101
[6,7,8,1,3,4,5,2]=>0010001
[5,7,8,2,1,4,6,3]=>0011001
[4,7,2,8,1,5,6,3]=>0101001
[3,2,7,8,1,5,6,4]=>1001001
[3,2,6,8,4,1,7,5]=>1001101
[4,6,2,8,3,1,7,5]=>0101101
[5,6,8,3,2,1,7,4]=>0011101
[5,7,8,3,1,4,6,2]=>0011001
[5,7,8,3,1,6,4,2]=>0011011
[5,7,8,3,1,6,2,4]=>0011010
[4,7,3,8,1,6,2,5]=>0101010
[4,7,3,8,1,6,5,2]=>0101011
[4,7,3,8,1,5,6,2]=>0101001
[4,6,3,8,2,1,7,5]=>0101101
[4,5,3,2,8,1,7,6]=>0110101
[4,5,2,3,8,1,7,6]=>0100101
[3,2,5,4,8,1,7,6]=>1010101
[4,5,3,2,8,1,6,7]=>0110100
[4,6,3,8,2,1,5,7]=>0101100
[4,7,3,8,1,5,2,6]=>0101010
[4,7,3,8,1,2,6,5]=>0101001
[4,7,3,8,1,2,5,6]=>0101000
[5,7,8,3,1,2,4,6]=>0011000
[5,7,8,3,1,2,6,4]=>0011001
[5,7,8,3,1,4,2,6]=>0011010
[5,6,8,3,2,1,4,7]=>0011100
[3,2,7,8,1,5,4,6]=>1001010
[5,7,8,2,1,4,3,6]=>0011010
[6,7,8,1,3,4,2,5]=>0010010
[6,7,8,1,4,3,2,5]=>0010110
[6,7,8,1,4,2,5,3]=>0010101
[6,7,8,1,4,2,3,5]=>0010100
[6,7,8,1,2,5,3,4]=>0010010
[6,7,8,1,2,5,4,3]=>0010011
[6,7,8,1,2,4,5,3]=>0010001
[6,7,8,1,3,2,5,4]=>0010101
[5,7,8,2,1,3,6,4]=>0011001
[3,2,7,8,1,4,6,5]=>1001001
[6,7,8,1,3,2,4,5]=>0010100
[6,7,8,1,2,4,3,5]=>0010010
[6,7,8,1,2,3,5,4]=>0010001
[7,2,8,5,1,6,4,3]=>1011011
[1,3,7,5,2,6,4,8]=>0011010
[1,3,7,5,4,2,6,8]=>0011100
[7,2,8,5,4,1,6,3]=>1011101
[2,8,5,4,3,1,7,6]=>0111101
[2,8,4,5,6,1,7,3]=>0100101
[2,8,6,5,7,3,1,4]=>0110110
[2,8,4,5,3,7,1,6]=>0101010
[2,8,4,3,5,6,1,7]=>0110010
[7,2,8,4,5,6,1,3]=>1010010
[1,6,3,7,5,2,4,8]=>0101100
[6,2,3,8,5,1,7,4]=>1001101
[6,3,2,8,5,1,4,7]=>1101100
[7,4,8,2,5,6,3,1]=>1010011
[7,4,8,5,2,1,3,6]=>1011100
[6,4,8,5,1,3,7,2]=>1011001
[6,3,7,5,2,1,8,4]=>1011101
[4,3,7,5,1,2,8,6]=>1011001
[4,3,7,1,5,6,8,2]=>1010001
[3,6,1,7,5,2,8,4]=>0101101
[3,4,1,2,7,6,8,5]=>0100101
[3,4,2,1,7,5,8,6]=>0110101
[3,6,5,7,1,4,8,2]=>0101001
[6,5,2,7,4,1,8,3]=>1101101
[3,5,2,6,4,8,7,1]=>0101011
[5,3,1,8,6,4,7,2]=>1101101
[5,6,1,8,7,2,4,3]=>0101101
[6,3,5,8,2,7,4,1]=>1001011
[6,5,8,4,2,3,7,1]=>1011001
[6,2,5,8,3,7,1,4]=>1001010
[1,6,5,7,3,4,2,8]=>0101010
[1,5,2,7,4,6,3,8]=>0101010
[5,2,1,8,7,6,3,4]=>1101110
[7,1,3,8,4,6,2,5]=>1001010
[2,3,4,8,6,1,7,5]=>0001101
[2,3,4,8,6,5,1,7]=>0001110
[2,7,3,5,8,6,1,4]=>0100110
[3,2,4,7,8,6,1,5]=>1000110
[1,5,4,6,2,7,3,8]=>0101010
[5,2,4,7,1,8,3,6]=>1001010
[5,3,6,4,1,8,7,2]=>1011011
[5,3,6,1,4,8,2,7]=>1010010
[7,3,5,6,8,4,2,1]=>1000111
[6,3,5,1,8,2,7,4]=>1010101
[2,6,1,5,8,4,7,3]=>0100101
[2,7,6,5,8,3,4,1]=>0110101
[5,7,1,6,3,8,4,2]=>0101011
[3,2,4,1,7,8,5,6]=>1010010
[3,1,4,2,7,8,6,5]=>1010011
[5,1,4,7,2,8,6,3]=>1001011
[3,6,4,7,8,2,5,1]=>0100101
[3,1,4,6,8,5,7,2]=>1000101
[6,3,4,5,7,1,8,2]=>1000101
[2,5,4,6,1,7,8,3]=>0101001
[7,2,1,4,3,6,5,8]=>1101010
[7,3,4,1,2,6,5,8]=>1010010
[7,4,3,2,1,6,5,8]=>1111010
[7,6,3,2,5,4,1,8]=>1110110
[6,7,3,2,5,4,8,1]=>0110101
[1,8,3,2,5,4,7,6]=>0110101
[1,8,4,5,2,3,7,6]=>0101001
[7,3,5,1,6,2,4,8]=>1010100
[7,2,1,5,6,3,4,8]=>1100100
[7,2,1,6,5,4,3,8]=>1101110
[7,3,6,1,5,4,2,8]=>1010110
[7,4,6,5,1,3,2,8]=>1011010
[1,8,5,4,3,2,7,6]=>0111101
[1,8,6,4,3,7,2,5]=>0111010
[6,5,7,4,3,1,8,2]=>1011101
[6,4,7,5,1,3,8,2]=>1011001
[6,3,7,1,5,4,8,2]=>1010101
[6,2,1,7,5,4,8,3]=>1101101
[3,2,1,8,5,4,7,6]=>1101101
[2,3,8,1,5,4,7,6]=>0010101
[2,4,8,5,1,3,7,6]=>0011001
[2,5,8,4,3,1,7,6]=>0011101
[2,6,8,4,3,7,1,5]=>0011010
[2,7,8,4,3,6,5,1]=>0011011
[1,8,7,4,3,6,5,2]=>0111011
[1,8,7,5,6,3,4,2]=>0110101
[2,7,8,5,6,3,4,1]=>0010101
[2,6,8,5,7,3,1,4]=>0010110
[2,5,8,6,7,1,3,4]=>0010100
[2,4,8,6,1,7,3,5]=>0011010
[3,2,1,8,6,7,4,5]=>1101010
[5,2,1,7,6,8,4,3]=>1101011
[5,3,7,1,6,8,4,2]=>1010011
[5,4,7,6,1,8,3,2]=>1011011
[4,5,7,6,8,1,3,2]=>0010101
[4,6,7,5,8,3,1,2]=>0010110
[1,8,6,5,7,3,2,4]=>0110110
[1,8,5,6,7,2,3,4]=>0100100
[4,7,5,6,8,2,3,1]=>0100101
[4,6,5,7,8,2,1,3]=>0100110
[5,4,6,7,1,8,2,3]=>1001010
[5,3,6,1,7,8,2,4]=>1010010
[5,2,1,6,7,8,3,4]=>1100010
[6,2,1,5,7,3,8,4]=>1100101
[6,3,5,1,7,2,8,4]=>1010101
[6,4,5,7,1,2,8,3]=>1001001
[6,5,4,7,2,1,8,3]=>1101101
[5,6,4,7,2,8,1,3]=>0101010
[1,8,4,6,2,7,3,5]=>0101010
[1,8,3,2,6,7,4,5]=>0110010
[5,7,3,2,6,8,4,1]=>0110011
[5,6,3,2,7,8,1,4]=>0110010
[6,5,3,2,7,1,8,4]=>1110101
[6,4,3,2,1,7,8,5]=>1111001
[6,2,1,4,3,7,8,5]=>1101001
[5,2,1,4,3,8,7,6]=>1101011
[5,3,4,1,2,8,7,6]=>1010011
[4,6,3,2,8,7,1,5]=>0110110
[4,7,3,2,8,6,5,1]=>0110111
[1,8,3,2,7,6,5,4]=>0110111
[1,8,4,7,2,6,5,3]=>0101011
[3,7,4,8,2,6,5,1]=>0101011
[3,6,4,8,2,7,1,5]=>0101010
[3,5,4,8,2,1,7,6]=>0101101
[3,4,5,8,1,2,7,6]=>0001001
[4,3,5,1,8,2,7,6]=>1010101
[4,2,1,5,8,3,7,6]=>1100101
[4,2,1,6,8,7,3,5]=>1100110
[4,3,6,1,8,7,2,5]=>1010110
[3,4,6,8,1,7,2,5]=>0001010
[3,5,6,8,7,1,2,4]=>0001100
[3,6,5,8,7,2,1,4]=>0101110
[3,7,5,8,6,2,4,1]=>0101101
[1,8,5,7,6,2,4,3]=>0101101
[1,8,6,7,5,4,2,3]=>0101110
[3,6,7,8,5,4,1,2]=>0001110
[3,5,7,8,6,1,4,2]=>0001101
[3,4,7,8,1,6,5,2]=>0001011
[4,2,1,7,8,6,5,3]=>1100111
[2,3,8,1,7,6,5,4]=>0010111
[2,4,8,7,1,6,5,3]=>0011011
[2,5,8,7,6,1,4,3]=>0011101
[2,6,8,7,5,4,1,3]=>0011110
[7,4,6,1,8,3,5,2]=>1010101
[8,3,5,1,7,4,6,2]=>1010101
[8,3,4,1,7,5,6,2]=>1010101
[4,8,3,1,7,5,6,2]=>0110101
[4,6,2,1,7,5,8,3]=>0110101
[1,4,6,2,7,5,8,3]=>0010101
[1,7,5,2,6,8,4,3]=>0110011
[7,5,2,1,6,8,4,3]=>1110011
[6,8,4,3,1,7,5,2]=>0111011
[3,6,8,4,1,7,5,2]=>0011011
[3,6,7,5,1,8,4,2]=>0011011
[7,5,6,1,8,3,4,2]=>1010101
[3,4,6,5,7,1,8,2]=>0010101
[4,7,5,6,1,8,3,2]=>0101011
[6,7,5,1,8,4,3,2]=>0110111
[6,8,4,1,7,5,3,2]=>0110111
[6,7,5,3,1,8,4,2]=>0111011
[8,4,2,1,6,7,5,3]=>1110011
[1,8,4,2,6,7,5,3]=>0110011
[1,5,3,2,7,6,8,4]=>0110101
[5,3,2,1,7,6,8,4]=>1110101
[2,5,3,1,7,6,8,4]=>0110101
[2,8,4,1,6,7,5,3]=>0110011
[2,7,5,1,6,8,4,3]=>0110011
[2,4,6,1,7,5,8,3]=>0010101
[4,7,1,6,5,8,2,3]=>0101010
[4,8,2,6,5,7,1,3]=>0101010
[4,6,1,2,7,5,8,3]=>0100101
[7,5,1,2,6,8,4,3]=>1100011
[8,4,1,2,6,7,5,3]=>1100011
[5,3,1,2,7,6,8,4]=>1100101
[1,2,5,3,7,6,8,4]=>0010101
[4,3,1,2,7,6,8,5]=>1100101
[3,5,1,2,7,6,8,4]=>0100101
[6,7,1,5,8,2,3,4]=>0100100
[2,7,6,1,5,8,3,4]=>0110010
[2,3,5,1,7,6,8,4]=>0010101
[7,6,1,5,8,3,2,4]=>1100110
[3,6,7,1,5,8,2,4]=>0010010
[7,1,6,5,8,2,4,3]=>1010101
[7,5,1,6,8,4,2,3]=>1100110
[8,4,1,6,7,5,2,3]=>1100110
[5,2,3,1,7,6,8,4]=>1010101
[3,5,2,1,7,6,8,4]=>0110101
[1,3,5,2,7,6,8,4]=>0010101
[1,7,6,2,5,8,3,4]=>0110010
[7,6,2,1,5,8,3,4]=>1110010
[8,3,1,5,7,6,2,4]=>1100110
[6,2,4,1,7,5,8,3]=>1010101
[6,2,5,1,7,4,8,3]=>1010101
[7,1,6,4,8,2,5,3]=>1010101
[8,2,6,4,7,1,5,3]=>1010101
[6,1,5,2,7,4,8,3]=>1010101
[7,6,2,5,8,3,1,4]=>1100110
[8,3,5,7,6,2,1,4]=>1001110
[1,8,3,5,7,6,2,4]=>0100110
[1,5,2,3,7,6,8,4]=>0100101
[5,2,1,3,7,6,8,4]=>1100101
[7,5,2,6,8,4,1,3]=>1100110
[8,4,2,6,7,5,1,3]=>1100110
[6,1,4,2,7,5,8,3]=>1010101
[8,2,6,5,7,1,4,3]=>1010101
[3,6,8,2,5,7,1,4]=>0010010
[8,3,2,5,7,6,1,4]=>1100110
[5,1,3,2,7,6,8,4]=>1010101
[4,1,3,2,7,6,8,5]=>1010101
[4,2,1,3,7,6,8,5]=>1100101
[1,4,2,3,7,6,8,5]=>0100101
[2,4,1,3,7,6,8,5]=>0100101
[2,5,1,3,7,6,8,4]=>0100101
[2,8,3,5,7,6,1,4]=>0100110
[6,8,2,3,5,7,1,4]=>0100010
[6,7,1,3,5,8,2,4]=>0100010
[8,3,5,7,6,1,2,4]=>1001100
[5,1,2,3,7,6,8,4]=>1000101
[3,1,2,4,7,6,8,5]=>1000101
[8,1,2,4,3,6,5,7]=>1001010
[8,1,3,5,6,2,7,4]=>1000101
[8,1,3,4,2,6,7,5]=>1001001
[8,1,3,2,4,5,7,6]=>1010001
[2,7,8,3,4,5,6,1]=>0010001
[2,6,3,8,4,5,7,1]=>0101001
[6,3,2,1,4,5,8,7]=>1110001
[7,3,1,4,2,6,8,5]=>1101001
[7,4,1,5,6,8,2,3]=>1100010
[4,7,8,5,6,1,2,3]=>0010100
[3,7,8,5,6,2,1,4]=>0010110
[3,7,8,4,2,6,1,5]=>0011010
[3,7,8,2,4,5,1,6]=>0010010
[3,6,2,8,4,5,1,7]=>0101010
[2,3,6,7,4,5,8,1]=>0001001
[3,5,2,4,8,6,1,7]=>0100110
[3,5,4,2,8,7,1,6]=>0110110
[4,6,5,8,7,1,2,3]=>0101100
[6,4,5,1,7,8,2,3]=>1010010
[7,4,1,2,3,8,5,6]=>1100010
[6,2,4,1,3,7,5,8]=>1010010
[2,6,4,8,3,7,5,1]=>0101011
[2,6,5,8,7,3,4,1]=>0101101
[6,2,5,1,7,3,4,8]=>1010100
[6,5,2,1,8,3,4,7]=>1110100
[2,5,6,7,8,3,4,1]=>0000101
[2,4,6,7,3,8,5,1]=>0001011
[4,2,6,7,3,1,5,8]=>1001100
[4,7,8,2,3,1,5,6]=>0010100
[4,7,8,3,2,1,6,5]=>0011101
[5,6,4,8,1,7,2,3]=>0101010
[5,6,3,8,1,2,7,4]=>0101001
[4,2,5,3,7,1,6,8]=>1010100
[4,3,6,7,2,1,8,5]=>1001101
[3,4,6,7,2,8,1,5]=>0001010
[3,4,5,2,7,8,1,6]=>0010010
[3,4,2,5,6,8,1,7]=>0100010
[5,2,7,8,6,4,1,3]=>1001110
[5,1,2,7,8,6,4,3]=>1000111
[4,7,1,8,6,5,2,3]=>0101110
[4,7,1,2,8,6,5,3]=>0100111
[4,6,8,1,2,7,5,3]=>0010011
[6,8,7,1,5,3,2,4]=>0110110
[6,8,7,3,5,1,2,4]=>0110100
[7,8,1,6,3,5,2,4]=>0101010
[7,8,1,3,6,5,2,4]=>0100110
[7,8,3,6,5,2,1,4]=>0101110
[4,7,2,8,6,1,5,3]=>0101101
[1,7,3,4,8,6,5,2]=>0100111
[4,2,7,1,8,6,5,3]=>1010111
[7,8,2,3,6,5,1,4]=>0100110
[8,5,7,1,6,2,3,4]=>1010100
[8,5,7,1,2,6,3,4]=>1010010
[6,8,2,7,1,3,5,4]=>0101001
[6,8,7,2,5,3,1,4]=>0110110
[6,2,4,8,7,1,5,3]=>1001101
[1,6,8,3,7,4,5,2]=>0010101
[1,6,8,3,4,7,5,2]=>0010011
[6,2,4,8,1,7,5,3]=>1001011
[6,8,7,2,3,5,1,4]=>0110010
[6,8,2,1,7,3,5,4]=>0110101
[8,5,7,2,1,6,3,4]=>1011010
[8,5,7,1,2,3,6,4]=>1010001
[8,7,6,2,1,4,3,5]=>1111010
[8,5,7,2,3,1,6,4]=>1010101
[5,8,4,2,7,1,6,3]=>0110101
[1,8,7,5,3,4,6,2]=>0111001
[1,8,7,3,5,4,6,2]=>0110101
[8,2,5,4,7,1,6,3]=>1010101
[8,5,2,7,3,1,6,4]=>1101101
[8,7,6,2,4,3,1,5]=>1110110
[8,7,6,1,2,4,3,5]=>1110010
[8,7,6,1,4,2,3,5]=>1110100
[8,7,6,4,1,3,2,5]=>1111010
[5,8,4,7,2,1,6,3]=>0101101
[1,8,7,5,4,3,6,2]=>0111101
[1,6,8,4,3,7,5,2]=>0011011
[6,8,7,3,2,5,1,4]=>0111010
[6,8,1,7,3,2,5,4]=>0101101
[8,5,7,3,1,6,2,4]=>1011010
[8,5,7,1,3,2,6,4]=>1010101
[8,5,7,3,1,2,6,4]=>1011001
[5,8,4,7,1,2,6,3]=>0101001
[5,8,4,1,7,2,6,3]=>0110101
[5,8,4,7,1,6,2,3]=>0101010
[8,1,2,6,5,7,4,3]=>1001011
[8,2,5,6,7,4,1,3]=>1000110
[4,8,5,7,1,6,2,3]=>0101010
[4,8,5,7,1,2,6,3]=>0101001
[4,8,5,1,7,2,6,3]=>0110101
[8,5,3,1,7,2,6,4]=>1110101
[8,5,3,7,1,2,6,4]=>1101001
[6,8,1,3,7,2,5,4]=>0100101
[4,6,2,8,1,7,5,3]=>0101011
[1,6,4,8,3,7,5,2]=>0101011
[1,8,7,4,5,3,6,2]=>0110101
[4,8,5,7,2,1,6,3]=>0101101
[8,5,3,7,2,1,6,4]=>1101101
[8,7,6,3,1,4,2,5]=>1111010
[8,7,6,1,3,2,4,5]=>1110100
[8,5,3,2,7,1,6,4]=>1110101
[4,8,5,2,7,1,6,3]=>0110101
[1,8,7,4,3,5,6,2]=>0111001
[1,8,7,3,4,5,6,2]=>0110001
[8,2,4,5,7,1,6,3]=>1000101
[8,5,2,3,7,1,6,4]=>1100101
[6,3,1,5,4,2,8,7]=>1101101
[8,3,1,5,2,7,6,4]=>1101011
[8,5,4,2,1,7,3,6]=>1111010
[8,5,4,2,1,7,6,3]=>1111011
[6,5,4,2,1,3,8,7]=>1111001
[6,5,4,2,3,1,8,7]=>1110101
[6,3,2,5,1,4,8,7]=>1101001
[6,5,4,3,1,2,8,7]=>1111001
[6,5,4,1,3,2,8,7]=>1110101
[8,5,4,1,2,7,6,3]=>1110011
[8,7,4,1,6,3,2,5]=>1110110
[8,7,4,1,6,3,5,2]=>1110101
[8,7,4,1,6,5,3,2]=>1110111
[8,5,4,1,3,7,6,2]=>1110011
[8,5,4,3,1,7,6,2]=>1111011
[8,3,2,5,1,7,6,4]=>1101011
[2,1,8,5,3,7,6,4]=>1011011
[8,3,2,5,1,7,4,6]=>1101010
[8,5,4,3,1,7,2,6]=>1111010
[8,5,4,1,3,7,2,6]=>1110010
[8,7,4,1,6,5,2,3]=>1110110
[8,7,4,1,6,2,5,3]=>1110101
[8,7,6,5,2,1,4,3]=>1111101
[8,7,4,3,6,2,1,5]=>1110110
[8,3,2,7,6,4,1,5]=>1101110
[2,1,8,7,6,4,3,5]=>1011110
[2,1,8,7,6,4,5,3]=>1011101
[8,3,2,7,6,4,5,1]=>1101101
[8,7,4,3,6,2,5,1]=>1110101
[8,7,6,5,2,4,3,1]=>1111011
[8,5,4,2,3,7,6,1]=>1110011
[8,7,4,2,6,5,3,1]=>1110111
[8,7,4,2,6,3,5,1]=>1110101
[8,7,4,2,6,3,1,5]=>1110110
[8,3,1,7,6,4,2,5]=>1101110
[8,3,1,7,6,4,5,2]=>1101101
[8,3,1,7,6,5,4,2]=>1101111
[8,3,1,5,4,7,6,2]=>1101011
[8,3,1,5,4,7,2,6]=>1101010
[8,3,1,7,6,5,2,4]=>1101110
[8,3,1,7,6,2,5,4]=>1101101
[8,7,4,2,6,1,5,3]=>1110101
[8,7,4,2,6,5,1,3]=>1110110
[8,5,4,2,3,7,1,6]=>1110010
[8,3,2,5,4,7,1,6]=>1101010
[2,1,8,5,4,7,3,6]=>1011010
[8,3,2,7,6,5,1,4]=>1101110
[8,7,4,3,6,5,1,2]=>1110110
[8,7,6,5,3,1,4,2]=>1111101
[8,7,6,5,1,3,2,4]=>1111010
[8,7,6,5,1,3,4,2]=>1111001
[8,7,6,5,1,4,3,2]=>1111011
[8,7,6,5,4,1,3,2]=>1111101
[8,7,4,3,6,1,5,2]=>1110101
[8,3,2,7,6,1,5,4]=>1101101
[2,1,8,7,6,3,5,4]=>1011101
[8,3,2,7,6,1,4,5]=>1101100
[8,7,6,5,1,4,2,3]=>1111010
[8,7,6,5,1,2,4,3]=>1111001
[7,3,5,1,8,4,6,2]=>1010101
[7,3,4,1,8,5,6,2]=>1010101
[4,5,6,2,1,8,7,3]=>0011011
[1,6,5,2,7,4,3,8]=>0110110
[7,4,3,1,8,6,5,2]=>1110111
[7,6,5,1,8,4,3,2]=>1110111
[7,6,4,1,8,5,3,2]=>1110111
[6,4,2,1,8,7,5,3]=>1110111
[1,6,4,2,7,5,3,8]=>0110110
[1,5,3,2,7,6,4,8]=>0110110
[5,3,2,1,8,7,6,4]=>1110111
[2,5,3,1,7,8,6,4]=>0110011
[2,6,4,1,7,8,5,3]=>0110011
[2,6,5,1,7,8,4,3]=>0110011
[4,5,7,1,6,8,2,3]=>0010010
[6,5,1,2,8,4,3,7]=>1100110
[6,4,1,2,8,5,3,7]=>1100110
[5,3,1,2,8,6,4,7]=>1100110
[4,3,1,2,8,6,5,7]=>1100110
[6,1,2,5,8,3,4,7]=>1000100
[7,1,3,4,8,2,5,6]=>1000100
[7,1,5,6,8,2,3,4]=>1000100
[2,6,1,5,7,8,3,4]=>0100010
[7,4,1,6,8,5,2,3]=>1100110
[5,2,3,1,8,6,7,4]=>1010101
[3,5,2,1,6,8,7,4]=>0110011
[1,6,2,5,7,3,4,8]=>0100100
[6,2,1,5,8,7,3,4]=>1100110
[7,3,1,5,8,6,2,4]=>1100110
[6,2,4,1,8,5,7,3]=>1010101
[6,2,5,1,8,4,7,3]=>1010101
[7,3,1,4,8,6,2,5]=>1100110
[6,2,1,4,8,7,3,5]=>1100110
[1,6,2,4,7,3,5,8]=>0100100
[5,2,1,3,8,7,4,6]=>1100110
[7,4,1,3,8,5,2,6]=>1100110
[7,5,1,3,8,4,2,6]=>1100110
[3,6,7,1,4,8,2,5]=>0010010
[7,6,1,4,8,3,2,5]=>1100110
[4,2,1,3,8,7,5,6]=>1100110
[2,6,1,4,7,8,3,5]=>0100010
[7,1,4,6,8,2,3,5]=>1000100
[7,1,3,5,8,2,4,6]=>1000100
[6,1,2,4,8,3,5,7]=>1000100
[5,2,3,1,6,4,8,7]=>1010101
[7,4,5,2,3,1,8,6]=>1010101
[8,6,7,3,5,2,4,1]=>1010101
[7,3,5,2,4,1,8,6]=>1010101
[6,3,5,2,4,1,8,7]=>1010101
[5,2,4,1,6,3,8,7]=>1010101
[4,1,6,3,5,2,8,7]=>1010101
[6,3,4,1,5,2,8,7]=>1010101
[5,2,6,3,4,1,8,7]=>1010101
[5,2,7,3,4,1,8,6]=>1010101
[5,2,8,6,7,3,4,1]=>1010101
[6,2,8,5,7,3,4,1]=>1010101
[6,2,7,3,4,1,8,5]=>1010101
[7,3,4,1,5,2,8,6]=>1010101
[4,1,7,3,5,2,8,6]=>1010101
[3,1,7,4,5,2,8,6]=>1010101
[2,1,7,4,5,3,8,6]=>1010101
[3,1,8,6,7,4,5,2]=>1010101
[4,1,8,6,7,3,5,2]=>1010101
[8,6,7,3,4,1,5,2]=>1010101
[8,5,7,3,4,1,6,2]=>1010101
[8,5,6,2,7,3,4,1]=>1010101
[8,4,7,3,5,1,6,2]=>1010101
[5,1,8,4,7,3,6,2]=>1010101
[4,1,8,5,7,3,6,2]=>1010101
[3,1,8,5,7,4,6,2]=>1010101
[2,1,8,5,7,4,6,3]=>1010101
[2,1,7,4,6,3,8,5]=>1010101
[3,1,7,4,6,2,8,5]=>1010101
[4,1,7,3,6,2,8,5]=>1010101
[5,1,7,3,6,2,8,4]=>1010101
[6,2,7,3,5,1,8,4]=>1010101
[6,2,8,4,7,3,5,1]=>1010101
[8,4,7,3,6,2,5,1]=>1010101
[7,3,6,2,5,1,8,4]=>1010101
[6,2,5,1,7,3,8,4]=>1010101
[5,2,4,1,7,3,8,6]=>1010101
[6,2,4,1,7,3,8,5]=>1010101
[8,5,7,3,6,2,4,1]=>1010101
[8,5,7,4,6,2,3,1]=>1010101
[7,4,6,2,3,1,8,5]=>1010101
[6,2,3,1,7,4,8,5]=>1010101
[5,2,3,1,7,4,8,6]=>1010101
[4,2,3,1,7,5,8,6]=>1010101
[3,1,4,2,8,6,7,5]=>1010101
[6,2,3,1,8,5,7,4]=>1010101
[8,5,6,2,3,1,7,4]=>1010101
[7,4,8,5,6,2,3,1]=>1010101
[7,3,8,5,6,2,4,1]=>1010101
[8,5,6,2,4,1,7,3]=>1010101
[5,2,4,1,8,6,7,3]=>1010101
[4,1,5,2,8,6,7,3]=>1010101
[3,1,5,2,8,6,7,4]=>1010101
[2,1,6,3,8,5,7,4]=>1010101
[3,1,6,2,8,5,7,4]=>1010101
[4,1,6,2,8,5,7,3]=>1010101
[5,1,6,2,8,4,7,3]=>1010101
[8,4,6,2,5,1,7,3]=>1010101
[7,3,8,4,6,2,5,1]=>1010101
[6,2,7,3,8,4,5,1]=>1010101
[8,4,5,1,6,2,7,3]=>1010101
[5,1,8,4,6,2,7,3]=>1010101
[4,1,8,5,6,2,7,3]=>1010101
[3,1,8,5,6,2,7,4]=>1010101
[2,1,8,5,6,3,7,4]=>1010101
[2,1,7,4,8,5,6,3]=>1010101
[3,1,7,4,8,5,6,2]=>1010101
[4,1,7,3,8,5,6,2]=>1010101
[7,3,8,4,5,1,6,2]=>1010101
[8,4,5,1,7,3,6,2]=>1010101
[7,3,6,2,8,4,5,1]=>1010101
[7,8,5,6,1,3,4,2]=>0101001
[7,8,1,3,6,2,5,4]=>0100101
[1,3,8,4,7,2,5,6]=>0010100
[3,6,1,4,7,2,5,8]=>0100100
[4,6,1,2,5,7,3,8]=>0100010
[1,4,8,2,5,7,3,6]=>0010010
[7,8,2,4,5,6,1,3]=>0100010
[7,8,1,5,4,6,3,2]=>0101011
[7,8,2,1,6,3,4,5]=>0110100
[7,8,3,5,6,4,1,2]=>0100110
[7,8,1,4,2,3,6,5]=>0101001
[7,8,5,1,4,2,6,3]=>0110101
[7,8,4,5,3,1,6,2]=>0101101
[1,5,8,4,3,2,7,6]=>0011101
[5,6,1,4,3,2,7,8]=>0101100
[2,6,4,8,3,7,1,5]=>0101010
[1,4,6,8,3,7,5,2]=>0001011
[2,4,8,5,3,1,6,7]=>0011100
[2,5,8,1,4,7,6,3]=>0010011
[3,5,8,4,7,6,1,2]=>0010110
[1,6,2,4,7,3,8,5]=>0100101
[5,6,2,1,4,7,8,3]=>0110001
[4,6,2,5,3,1,8,7]=>0101101
[4,7,5,1,3,6,8,2]=>0110001
[7,5,3,6,2,4,1,8]=>1101010
[5,7,3,6,1,4,8,2]=>0101001
[5,3,6,7,2,1,8,4]=>1001101
[6,1,7,5,2,4,8,3]=>1011001
[6,3,1,2,4,5,8,7]=>1100001
[1,4,7,2,5,3,8,6]=>0010101
[4,6,7,8,3,5,1,2]=>0001010
[3,6,1,8,4,2,5,7]=>0101100
[1,6,7,5,8,2,4,3]=>0010101
[3,5,6,7,8,1,4,2]=>0000101
[3,6,5,7,8,2,1,4]=>0100110
[5,2,7,6,1,4,3,8]=>1011010
[2,5,7,6,8,1,3,4]=>0010100
[2,7,5,6,8,4,1,3]=>0100110
[2,1,6,8,4,5,3,7]=>1001010
[2,7,1,8,5,3,4,6]=>0101100
[3,7,6,8,5,4,1,2]=>0101110
[4,3,8,5,6,7,1,2]=>1010010
[4,2,8,1,6,3,7,5]=>1010101
[3,1,8,5,4,6,7,2]=>1011001
[3,2,8,4,5,6,1,7]=>1010010
[3,4,2,8,6,1,7,5]=>0101101
[3,4,7,1,5,2,6,8]=>0010100
[4,3,7,8,1,2,6,5]=>1001001
[1,7,3,8,5,2,6,4]=>0101101
[4,1,8,3,6,2,5,7]=>1010100
[5,7,8,6,3,2,1,4]=>0011110
[5,7,8,6,1,3,4,2]=>0011001
[7,6,5,8,1,3,4,2]=>1101001
[1,6,4,3,8,2,5,7]=>0110100
[7,1,3,4,8,2,6,5]=>1000101
[3,6,5,4,1,2,7,8]=>0111000
[2,4,5,1,7,8,6,3]=>0010011
[2,6,3,4,5,8,1,7]=>0100010
[2,6,4,1,8,3,7,5]=>0110101
[7,3,6,4,8,5,1,2]=>1010110
[7,2,1,4,8,3,5,6]=>1100100
[7,1,6,5,3,8,4,2]=>1011011
[7,2,5,6,3,8,1,4]=>1001010
[6,5,2,7,1,8,4,3]=>1101011
[5,6,2,7,3,1,4,8]=>0101100
[5,6,7,4,2,8,1,3]=>0011010
[5,7,6,4,1,8,3,2]=>0111011
[6,7,1,5,2,8,3,4]=>0101010
[1,7,5,2,4,8,3,6]=>0110010
[6,1,5,2,8,3,4,7]=>1010100
[6,7,5,3,8,4,1,2]=>0110110
[1,6,5,4,2,3,8,7]=>0111001
[7,1,5,3,4,2,8,6]=>1010101
[7,6,1,5,3,2,8,4]=>1101101
[7,5,6,4,1,2,8,3]=>1011001
[6,7,5,4,3,1,8,2]=>0111101
[7,5,2,4,3,1,6,8]=>1101100
[7,4,6,1,2,5,3,8]=>1010010
[7,1,4,2,5,3,6,8]=>1010100
[6,8,1,4,2,5,7,3]=>0101001
[1,6,4,2,5,7,3,8]=>0110010
[1,6,3,7,5,4,2,8]=>0101110
[6,8,1,3,7,5,4,2]=>0100111
[7,1,3,5,6,4,2,8]=>1000110
[7,3,1,6,4,5,2,8]=>1101010
[7,4,2,6,5,1,3,8]=>1101100
[7,4,6,3,1,5,2,8]=>1011010
[7,2,4,1,5,3,6,8]=>1010100
[7,2,3,5,4,1,6,8]=>1001100
[6,8,1,2,3,4,7,5]=>0100001
[1,5,7,2,3,8,6,4]=>0010011
[5,1,8,2,3,6,7,4]=>1010001
[5,8,2,3,7,6,4,1]=>0100111
[6,2,8,1,3,7,4,5]=>1010010
[6,8,2,3,5,4,7,1]=>0100101
[6,8,2,4,1,5,7,3]=>0101001
[6,8,3,1,2,4,7,5]=>0110001
[2,6,4,1,5,7,3,8]=>0110010
[2,6,3,5,7,1,4,8]=>0100100
[2,5,1,7,8,3,6,4]=>0100101
[2,5,3,6,8,4,7,1]=>0100101
[2,1,4,7,8,5,6,3]=>1000101
[2,4,7,6,8,5,1,3]=>0010110
[2,5,3,7,6,1,8,4]=>0101101
[2,5,7,8,1,4,6,3]=>0001001
[3,5,7,4,1,6,2,8]=>0011010
[5,3,4,1,8,6,7,2]=>1010101
[5,2,8,4,6,1,7,3]=>1010101
[5,2,1,8,6,3,7,4]=>1101101
[4,2,8,6,5,3,7,1]=>1011101
[4,2,8,5,7,6,3,1]=>1010111
[1,4,2,7,5,8,6,3]=>0101011
[4,1,8,6,7,5,3,2]=>1010111
[5,3,8,7,6,2,4,1]=>1011101
[5,8,4,7,6,2,1,3]=>0101110
[5,8,7,4,3,6,1,2]=>0111010
[6,4,8,3,1,7,2,5]=>1011010
[6,4,2,8,7,1,3,5]=>1101100
[6,3,8,7,2,5,1,4]=>1011010
[5,8,3,7,1,6,4,2]=>0101011
[5,1,3,8,6,7,2,4]=>1001010
[1,5,3,7,8,6,2,4]=>0100110
[1,5,7,6,4,2,8,3]=>0011101
[5,8,7,4,1,6,2,3]=>0111010
[6,4,8,1,2,7,3,5]=>1010010
[6,8,5,1,2,3,7,4]=>0110001
[6,8,5,2,4,3,7,1]=>0110101
[6,8,5,3,1,2,7,4]=>0111001
[4,5,1,2,7,6,3,8]=>0100110
[4,5,1,2,6,8,7,3]=>0100011
[3,5,6,1,8,4,7,2]=>0010101
[3,5,7,1,2,8,6,4]=>0010011
[3,6,2,7,5,1,4,8]=>0101100
[4,2,6,1,7,3,5,8]=>1010100
[4,6,3,1,2,7,5,8]=>0110010
[4,5,3,1,7,6,2,8]=>0110110
[4,2,5,7,1,6,3,8]=>1001010
[3,5,2,7,8,1,6,4]=>0100101
[3,1,4,7,5,6,2,8]=>1001010
[3,4,6,5,8,7,1,2]=>0010110
[3,1,4,5,8,6,7,2]=>1000101
[3,4,6,8,5,2,7,1]=>0001101
[3,5,6,2,8,4,7,1]=>0010101
[4,2,5,6,1,8,7,3]=>1001011
[4,5,3,1,6,8,7,2]=>0110011
[2,1,7,5,8,6,4,3]=>1010111
[1,2,7,5,3,8,6,4]=>0011011
[4,1,2,7,3,8,6,5]=>1001011
[6,4,1,7,5,2,3,8]=>1101100
[6,1,3,7,5,2,4,8]=>1001100
[3,1,2,6,8,5,4,7]=>1000110
[3,7,1,2,5,4,8,6]=>0100101
[1,3,7,2,4,8,6,5]=>0010011
[2,4,1,7,8,6,5,3]=>0100111
[3,4,7,5,1,8,6,2]=>0011011
[2,7,4,1,5,8,6,3]=>0110011
[2,3,7,1,5,8,6,4]=>0010011
[5,2,8,1,3,7,4,6]=>1010010
[2,1,6,8,3,4,7,5]=>1001001
[2,6,8,3,1,5,7,4]=>0011001
[2,8,6,4,1,5,7,3]=>0111001
[3,6,4,8,5,1,7,2]=>0101101
[6,3,7,4,5,1,8,2]=>1010101
[2,6,3,7,5,8,1,4]=>0101010
[5,2,1,7,8,3,4,6]=>1100100
[4,7,2,3,6,8,1,5]=>0100010
[5,2,7,3,6,8,1,4]=>1010010
[5,7,4,6,2,8,1,3]=>0101010
[5,7,3,4,6,1,8,2]=>0100101
[5,3,8,4,6,1,7,2]=>1010101
[8,5,2,4,1,6,7,3]=>1101001
[8,2,3,5,1,6,7,4]=>1001001
[4,2,8,3,6,7,1,5]=>1010010
[2,4,8,1,7,3,5,6]=>0010100
[8,4,1,3,6,2,5,7]=>1100100
[4,8,3,1,7,2,5,6]=>0110100
[5,2,8,4,7,1,6,3]=>1010101
[5,8,4,7,3,1,6,2]=>0101101
[4,6,8,3,1,7,5,2]=>0011011
[6,3,8,2,7,1,5,4]=>1010101
[6,3,1,8,2,4,7,5]=>1101001
[5,3,8,1,2,6,4,7]=>1010010
[5,7,4,1,6,2,3,8]=>0110100
[8,5,4,1,2,6,3,7]=>1110010
[5,1,8,4,2,7,3,6]=>1011010
[1,6,2,8,5,3,7,4]=>0101101
[6,8,5,3,1,7,4,2]=>0111011
[8,4,5,1,2,6,3,7]=>1010010
[5,6,3,7,1,2,4,8]=>0101000
[1,6,3,7,2,8,4,5]=>0101010
[6,3,2,7,8,5,1,4]=>1100110
[4,5,7,8,3,1,6,2]=>0001101
[4,7,2,5,8,1,6,3]=>0100101
[8,1,3,4,6,2,5,7]=>1000100
[3,8,2,4,6,7,1,5]=>0100010
[3,5,6,8,2,7,1,4]=>0001010
[2,4,5,6,8,1,7,3]=>0000101
[4,8,3,5,6,1,7,2]=>0100101
[5,6,2,3,7,8,1,4]=>0100010
[5,8,7,3,4,1,2,6]=>0110100
[6,8,7,3,4,1,2,5]=>0110100
[6,8,4,7,1,5,3,2]=>0101011
[6,8,4,7,2,5,3,1]=>0101011
[5,4,8,7,2,6,3,1]=>1011011
[5,4,8,7,1,6,3,2]=>1011011
[5,3,8,7,6,1,2,4]=>1011100
[4,3,8,7,6,1,2,5]=>1011100
[4,8,3,7,5,1,2,6]=>0101100
[8,3,4,6,5,1,2,7]=>1001100
[3,8,4,7,5,1,2,6]=>0101100
[3,4,8,7,6,1,2,5]=>0011100
[3,5,8,7,6,1,2,4]=>0011100
[4,5,8,7,6,1,2,3]=>0011100
[4,5,8,7,1,6,3,2]=>0011011
[4,5,8,7,2,6,3,1]=>0011011
[3,5,8,2,7,6,4,1]=>0010111
[3,5,8,1,7,6,4,2]=>0010111
[2,5,8,1,7,6,4,3]=>0010111
[2,5,8,7,1,6,3,4]=>0011010
[2,4,8,7,1,6,3,5]=>0011010
[2,8,4,7,1,5,3,6]=>0101010
[8,2,4,6,1,5,3,7]=>1001010
[8,1,4,6,2,5,3,7]=>1001010
[1,8,4,7,2,5,3,6]=>0101010
[1,4,8,7,2,6,3,5]=>0011010
[1,5,8,7,2,6,3,4]=>0011010
[1,5,8,2,7,6,4,3]=>0010111
[2,5,8,3,7,6,4,1]=>0010111
[1,4,2,8,7,6,5,3]=>0101111
[1,3,8,2,7,6,4,5]=>0010110
[1,8,3,2,7,5,4,6]=>0110110
[8,1,3,2,6,5,4,7]=>1010110
[8,2,3,1,6,5,4,7]=>1010110
[2,8,3,1,7,5,4,6]=>0110110
[2,3,8,1,7,6,4,5]=>0010110
[3,4,1,8,7,6,5,2]=>0101111
[4,3,1,8,7,6,5,2]=>1101111
[4,2,1,8,7,6,5,3]=>1101111
[3,8,2,1,7,5,4,6]=>0110110
[8,3,2,1,6,5,4,7]=>1110110
[8,4,2,6,1,5,3,7]=>1101010
[4,2,8,7,1,6,3,5]=>1011010
[5,2,8,7,1,6,3,4]=>1011010
[5,2,8,1,7,6,4,3]=>1010111
[5,3,8,1,7,6,4,2]=>1010111
[5,3,8,2,7,6,4,1]=>1010111
[6,8,3,2,7,5,4,1]=>0110111
[6,8,3,1,7,5,4,2]=>0110111
[6,8,2,1,7,5,4,3]=>0110111
[6,8,2,7,1,5,3,4]=>0101010
[6,8,7,2,1,4,3,5]=>0111010
[8,5,6,1,2,4,3,7]=>1010010
[5,8,7,1,2,4,3,6]=>0110010
[6,8,1,2,7,5,4,3]=>0100111
[6,8,2,3,7,5,4,1]=>0100111
[5,2,8,3,7,6,4,1]=>1010111
[5,1,8,3,7,6,4,2]=>1010111
[5,1,8,7,2,6,3,4]=>1011010
[4,1,8,7,2,6,3,5]=>1011010
[4,8,1,7,2,5,3,6]=>0101010
[8,4,1,6,2,5,3,7]=>1101010
[8,3,1,2,6,5,4,7]=>1100110
[3,8,1,2,7,5,4,6]=>0100110
[3,1,8,2,7,6,4,5]=>1010110
[3,1,2,8,7,6,5,4]=>1001111
[4,1,3,8,7,6,5,2]=>1001111
[3,1,4,8,7,6,5,2]=>1001111
[2,1,8,3,7,6,4,5]=>1010110
[2,8,1,3,7,5,4,6]=>0100110
[8,2,1,3,6,5,4,7]=>1100110
[8,1,2,3,6,5,4,7]=>1000110
[1,8,2,3,7,5,4,6]=>0100110
[1,2,8,3,7,6,4,5]=>0010110
[1,4,3,6,8,2,5,7]=>0100100
[3,1,6,2,5,8,4,7]=>1010010
[3,5,1,8,2,4,7,6]=>0101001
[1,4,5,2,8,3,7,6]=>0010101
[1,4,2,6,5,8,3,7]=>0101010
[1,5,4,2,6,8,3,7]=>0110010
[3,1,6,5,8,2,4,7]=>1010100
[1,6,4,2,5,8,3,7]=>0110010
[1,5,2,6,4,8,3,7]=>0101010
[1,2,6,5,4,8,3,7]=>0011010
[1,2,5,4,7,3,8,6]=>0010101
[4,1,2,6,3,8,7,5]=>1001011
[7,1,5,4,2,8,3,6]=>1011010
[1,4,7,5,2,8,3,6]=>0011010
[7,1,3,5,2,8,4,6]=>1001010
[7,2,5,1,8,3,4,6]=>1010100
[1,4,5,2,8,7,3,6]=>0010110
[1,6,4,2,8,3,7,5]=>0110101
[1,4,2,8,3,7,6,5]=>0101011
[1,2,5,3,8,7,6,4]=>0010111
[1,2,8,6,5,3,7,4]=>0011101
[1,5,2,8,6,3,7,4]=>0101101
[1,6,4,2,8,7,3,5]=>0110110
[6,2,1,8,7,3,4,5]=>1101100
[7,6,2,1,8,3,4,5]=>1110100
[7,3,1,6,2,8,4,5]=>1101010
[1,7,6,4,2,8,3,5]=>0111010
[1,7,5,2,6,3,8,4]=>0110101
[1,6,2,7,5,3,8,4]=>0101101
[1,2,7,6,5,3,8,4]=>0011101
[1,2,6,5,3,8,7,4]=>0011011
[1,5,2,6,3,8,7,4]=>0101011
[1,5,2,7,6,3,8,4]=>0101101
[1,6,5,2,7,3,8,4]=>0110101
[1,5,7,4,2,8,3,6]=>0011010
[4,1,2,8,6,3,7,5]=>1001101
[3,1,8,6,2,4,7,5]=>1011001
[4,3,7,1,8,2,5,6]=>1010100
[8,3,1,6,2,4,7,5]=>1101001
[7,1,8,3,2,4,6,5]=>1011001
[1,8,7,3,2,4,6,5]=>0111001
[1,4,2,8,7,3,6,5]=>0101101
[1,7,4,2,8,3,6,5]=>0110101
[8,1,5,4,2,7,3,6]=>1011010
[1,4,8,5,2,7,3,6]=>0011010
[8,5,3,1,7,2,4,6]=>1110100
[8,6,2,1,7,3,4,5]=>1110100
[1,8,6,4,2,7,3,5]=>0111010
[1,8,5,2,6,3,7,4]=>0110101
[1,5,2,7,3,8,6,4]=>0101011
[1,2,8,5,3,7,6,4]=>0011011
[1,2,6,3,8,7,5,4]=>0010111
[1,2,7,6,3,8,5,4]=>0011011
[1,6,2,7,3,8,5,4]=>0101011
[1,7,2,8,5,3,6,4]=>0101101
[1,7,4,2,8,6,3,5]=>0110110
[7,1,8,3,2,6,4,5]=>1011010
[7,2,1,8,6,3,4,5]=>1101100
[1,8,7,3,2,6,4,5]=>0111010
[1,4,2,8,7,6,3,5]=>0101110
[1,2,8,7,5,3,6,4]=>0011101
[1,2,8,6,3,7,5,4]=>0011011
[1,2,7,3,8,6,5,4]=>0010111
[4,1,7,3,6,5,8,2]=>1010101
[5,1,8,7,6,2,4,3]=>1011101
[8,1,7,6,3,4,5,2]=>1011001
[5,7,8,6,2,4,1,3]=>0011010
[5,7,1,6,2,4,3,8]=>0101010
[6,4,1,5,2,7,3,8]=>1101010
[8,1,4,5,3,7,6,2]=>1001011
[6,1,4,5,3,8,7,2]=>1001011
[6,1,4,5,3,7,8,2]=>1001001
[5,1,7,8,6,2,4,3]=>1001101
[6,1,4,8,3,5,7,2]=>1001001
[7,1,8,6,3,4,5,2]=>1011001
[7,1,4,5,3,8,6,2]=>1001011
[7,1,4,5,3,6,8,2]=>1001001
[8,1,4,5,3,6,7,2]=>1001001
[7,4,1,5,2,6,3,8]=>1101010
[6,3,5,7,2,1,4,8]=>1001100
[6,3,5,8,2,1,7,4]=>1001101
[6,3,5,7,2,1,8,4]=>1001101
[8,4,5,7,3,6,1,2]=>1001010
[6,4,5,8,3,7,2,1]=>1001011
[5,8,7,6,2,4,1,3]=>0111010
[5,4,8,6,3,1,7,2]=>1011101
[5,4,1,8,2,3,7,6]=>1101001
[5,8,1,6,2,4,3,7]=>0101010
[8,4,1,5,2,6,3,7]=>1101010
[6,3,5,8,2,1,4,7]=>1001100
[2,3,4,1,8,6,5,7]=>0010110
[8,3,5,6,2,1,4,7]=>1001100
[2,3,8,5,1,4,7,6]=>0011001
[2,3,8,6,1,5,7,4]=>0011001
[2,8,6,7,1,3,5,4]=>0101001
[8,3,5,7,2,1,6,4]=>1001101
[2,3,8,5,6,1,7,4]=>0010101
[7,4,5,6,3,1,8,2]=>1001101
[8,4,5,6,3,1,7,2]=>1001101
[7,3,5,6,2,8,1,4]=>1001010
[7,3,5,8,2,1,6,4]=>1001101
[7,3,5,6,2,1,4,8]=>1001100
[2,7,6,5,1,3,4,8]=>0111000
[2,7,6,8,1,3,5,4]=>0101001
[2,7,6,5,8,3,1,4]=>0110110
[8,7,5,6,1,4,2,3]=>1101010
[2,6,4,1,8,5,7,3]=>0110101
[2,6,1,3,8,5,7,4]=>0100101
[2,7,1,3,6,5,8,4]=>0100101
[2,7,6,8,4,3,1,5]=>0101110
[2,7,6,1,8,3,4,5]=>0110100
[2,7,6,1,4,3,5,8]=>0110100
[7,3,5,1,2,8,4,6]=>1010010
[8,4,1,5,2,3,7,6]=>1101001
[7,8,1,6,3,4,2,5]=>0101010
[6,4,1,8,3,2,7,5]=>1101101
[2,3,8,6,4,1,7,5]=>0011101
[2,8,6,7,4,3,1,5]=>0101110
[8,3,5,7,2,4,1,6]=>1001010
[2,3,4,1,8,7,5,6]=>0010110
[2,8,6,1,7,3,4,5]=>0110100
[2,3,8,1,6,4,7,5]=>0010101
[2,3,8,1,4,5,7,6]=>0010001
[2,8,6,1,4,3,5,7]=>0110100
[8,4,3,6,5,1,7,2]=>1101101
[8,5,6,3,4,1,7,2]=>1010101
[8,6,5,4,3,1,7,2]=>1111101
[1,7,6,5,4,2,3,8]=>0111100
[1,8,6,5,2,7,3,4]=>0111010
[8,7,5,4,1,6,3,2]=>1111011
[7,8,5,4,1,3,6,2]=>0111001
[6,8,5,4,2,1,7,3]=>0111101
[5,8,6,2,4,1,7,3]=>0110101
[4,8,2,6,5,1,7,3]=>0101101
[3,2,8,6,5,1,7,4]=>1011101
[3,2,1,7,6,4,5,8]=>1101100
[4,1,3,7,6,2,5,8]=>1001100
[5,1,7,3,6,2,4,8]=>1010100
[6,1,7,5,3,2,4,8]=>1011100
[7,1,6,5,2,4,3,8]=>1011010
[8,1,6,5,2,3,7,4]=>1011001
[1,2,7,6,3,4,5,8]=>0011000
[1,2,8,3,7,4,5,6]=>0010100
[8,1,7,2,6,3,5,4]=>1010101
[7,1,8,2,6,4,3,5]=>1010110
[6,1,8,2,4,7,3,5]=>1010010
[5,1,8,3,2,7,4,6]=>1011010
[4,1,3,8,2,7,5,6]=>1001010
[3,2,1,8,4,7,5,6]=>1101010
[3,2,8,7,1,6,5,4]=>1011011
[4,8,2,7,1,6,5,3]=>0101011
[5,8,7,2,1,6,4,3]=>0111011
[6,8,7,1,3,5,4,2]=>0110011
[7,8,6,1,5,3,4,2]=>0110101
[8,7,6,1,5,4,3,2]=>1110111
[1,8,7,2,6,5,3,4]=>0110110
[1,7,8,2,5,6,3,4]=>0010010
[8,6,7,1,4,5,3,2]=>1010011
[7,6,8,1,4,3,5,2]=>1010101
[6,5,8,3,2,1,7,4]=>1011101
[7,5,8,3,1,4,6,2]=>1011001
[8,5,7,3,1,6,4,2]=>1011011
[1,6,8,4,2,7,3,5]=>0011010
[1,5,4,8,2,7,3,6]=>0101010
[8,4,3,7,1,6,5,2]=>1101011
[7,4,3,8,1,5,6,2]=>1101001
[6,4,3,1,5,2,7,8]=>1110100
[7,4,3,1,2,6,5,8]=>1110010
[8,4,3,1,2,5,7,6]=>1110001
[1,5,4,2,3,6,7,8]=>0110000
[8,5,1,4,2,3,7,6]=>1101001
[7,5,1,4,2,6,3,8]=>1101010
[6,5,1,4,3,2,7,8]=>1101100
[5,6,1,3,4,2,7,8]=>0100100
[4,6,2,1,5,3,7,8]=>0110100
[3,2,6,1,5,4,7,8]=>1010100
[3,2,7,1,4,6,5,8]=>1010010
[4,7,2,1,3,6,5,8]=>0110010
[5,7,1,3,2,6,4,8]=>0101010
[6,7,1,2,4,5,3,8]=>0100010
[7,6,1,2,5,4,3,8]=>1100110
[8,6,1,2,5,3,7,4]=>1100101
[1,7,2,3,6,4,5,8]=>0100100
[8,7,1,2,3,6,5,4]=>1100011
[7,8,1,2,3,5,6,4]=>0100001
[6,8,1,2,4,3,7,5]=>0100101
[5,8,1,3,2,4,7,6]=>0101001
[4,8,2,1,3,5,7,6]=>0110001
[3,2,8,1,4,5,7,6]=>1010001
[4,1,3,2,5,6,7,8]=>1010000
[5,1,2,4,3,6,7,8]=>1001000
[6,1,2,3,5,4,7,8]=>1000100
[7,1,2,3,4,6,5,8]=>1000010
[8,1,2,3,4,5,7,6]=>1000001
[6,7,3,8,5,1,2,4]=>0101100
[6,7,4,5,1,8,3,2]=>0101011
[5,4,7,6,8,1,2,3]=>1010100
[5,3,7,8,6,1,2,4]=>1001100
[3,8,4,5,7,1,2,6]=>0100100
[3,4,8,6,7,1,2,5]=>0010100
[4,5,6,7,1,8,3,2]=>0001011
[3,5,6,2,7,4,8,1]=>0010101
[3,5,6,1,7,8,4,2]=>0010011
[2,5,6,1,8,7,4,3]=>0010111
[2,5,6,8,1,7,3,4]=>0001010
[8,2,4,5,1,6,3,7]=>1001010
[1,4,8,6,2,3,7,5]=>0011001
[1,5,6,8,2,3,7,4]=>0001001
[1,5,6,2,8,4,7,3]=>0010101
[2,5,6,3,4,7,8,1]=>0010001
[1,4,2,6,8,5,7,3]=>0100101
[8,1,3,2,5,4,6,7]=>1010100
[8,2,3,1,5,6,4,7]=>1010010
[2,8,3,1,5,7,4,6]=>0110010
[2,4,1,6,8,7,5,3]=>0100111
[3,4,1,6,7,8,5,2]=>0100011
[4,3,1,7,6,8,5,2]=>1101011
[5,2,7,8,1,6,3,4]=>1001010
[5,3,7,2,6,4,8,1]=>1010101
[6,7,3,1,5,8,4,2]=>0110011
[6,7,2,1,8,5,4,3]=>0110111
[6,7,2,8,1,5,3,4]=>0101010
[6,7,8,2,1,4,3,5]=>0011010
[6,7,1,2,8,4,5,3]=>0100101
[6,7,1,3,4,8,5,2]=>0100011
[5,2,7,3,4,6,8,1]=>1010001
[5,1,7,3,4,8,6,2]=>1010011
[5,1,7,8,2,3,6,4]=>1001001
[4,1,8,7,2,3,6,5]=>1011001
[3,8,1,2,7,4,5,6]=>0100100
[4,1,3,7,5,8,6,2]=>1001011
[3,1,4,5,7,8,6,2]=>1000011
[2,1,8,3,4,7,6,5]=>1010011
[8,2,1,3,4,6,5,7]=>1100010
[1,8,2,3,4,5,7,6]=>0100001
[1,2,8,3,4,6,7,5]=>0010001
[4,2,1,6,5,8,7,3]=>1101011
[5,2,6,1,4,8,7,3]=>1010011
[5,2,6,4,1,8,7,3]=>1011011
[5,2,7,4,8,1,6,3]=>1010101
[5,2,7,4,8,6,1,3]=>1010110
[5,7,2,3,8,6,1,4]=>0100110
[5,7,2,3,8,1,6,4]=>0100101
[5,6,2,3,1,8,7,4]=>0101011
[5,6,2,1,3,8,7,4]=>0110011
[5,1,6,4,2,8,7,3]=>1011011
[5,6,1,3,2,8,7,4]=>0101011
[5,6,3,1,2,8,7,4]=>0110011
[5,6,3,2,1,8,7,4]=>0111011
[5,7,3,2,8,1,6,4]=>0110101
[5,7,3,2,8,6,1,4]=>0110110
[6,7,3,8,2,1,5,4]=>0101101
[6,7,3,8,1,2,5,4]=>0101001
[5,7,3,1,8,2,6,4]=>0110101
[5,7,1,3,8,2,6,4]=>0100101
[5,1,7,4,8,2,6,3]=>1010101
[1,5,7,4,8,3,6,2]=>0010101
[1,5,7,4,8,6,3,2]=>0010111
[5,1,7,4,8,6,2,3]=>1010110
[5,7,1,3,8,6,2,4]=>0100110
[5,7,3,1,8,6,2,4]=>0110110
[6,7,3,8,1,5,2,4]=>0101010
[6,7,3,8,5,2,1,4]=>0101110
[6,7,8,3,1,4,2,5]=>0011010
[6,7,1,8,3,5,2,4]=>0101010
[6,1,7,8,4,5,2,3]=>1001010
[1,6,7,8,4,5,3,2]=>0001011
[1,6,7,8,4,3,5,2]=>0001101
[6,1,7,8,4,2,5,3]=>1001101
[6,7,1,8,3,2,5,4]=>0101101
[5,7,2,1,8,3,6,4]=>0110101
[6,7,2,8,1,3,5,4]=>0101001
[6,7,2,8,3,1,5,4]=>0101101
[6,7,2,8,3,5,1,4]=>0101010
[6,2,7,8,4,5,1,3]=>1001010
[6,2,7,8,4,1,5,3]=>1001101
[6,2,7,8,1,4,5,3]=>1001001
[5,2,7,1,8,4,6,3]=>1010101
[4,2,1,7,8,5,6,3]=>1100101
[4,1,2,7,8,6,5,3]=>1000111
[6,2,7,8,1,5,4,3]=>1001011
[6,2,7,8,5,1,4,3]=>1001101
[6,2,7,8,5,4,1,3]=>1001110
[6,7,2,8,5,3,1,4]=>0101110
[5,7,2,1,8,6,3,4]=>0110110
[5,7,1,2,8,6,3,4]=>0100110
[5,1,7,2,8,6,4,3]=>1010111
[1,5,7,3,8,6,4,2]=>0010111
[1,6,7,8,3,5,4,2]=>0001011
[6,1,7,8,2,5,4,3]=>1001011
[6,7,1,8,2,5,3,4]=>0101010
[6,7,8,2,4,1,3,5]=>0010100
[6,7,8,2,4,3,1,5]=>0010110
[6,7,1,8,5,2,3,4]=>0101100
[6,1,7,8,5,2,4,3]=>1001101
[1,6,7,8,5,3,4,2]=>0001101
[6,1,7,8,5,4,2,3]=>1001110
[6,7,1,8,5,3,2,4]=>0101110
[6,7,8,4,1,3,2,5]=>0011010
[6,3,8,5,2,7,4,1]=>1011011
[6,5,2,8,4,7,3,1]=>1101011
[6,3,4,5,8,7,2,1]=>1000111
[3,8,4,7,5,2,1,6]=>0101110
[5,8,1,4,7,2,3,6]=>0100100
[5,6,1,4,8,7,3,2]=>0100111
[3,6,4,8,5,7,1,2]=>0101010
[5,1,4,8,6,3,7,2]=>1001101
[3,4,7,1,8,6,5,2]=>0010111
[6,3,8,4,2,7,1,5]=>1011010
[3,6,8,7,1,4,2,5]=>0011010
[5,3,7,1,6,8,2,4]=>1010010
[4,3,8,5,6,7,2,1]=>1010011
[5,8,1,7,6,2,4,3]=>0101101
[4,6,1,2,7,8,5,3]=>0100011
[3,6,4,2,8,7,5,1]=>0110111
[6,3,7,5,2,8,1,4]=>1011010
[6,5,2,7,4,8,1,3]=>1101010
[5,7,1,4,8,3,2,6]=>0100110
[7,8,3,5,1,4,6,2]=>0101001
[5,8,1,4,6,7,2,3]=>0100010
[6,5,8,4,3,7,2,1]=>1011011
[6,3,7,4,2,8,5,1]=>1011011
[8,7,1,6,2,4,5,3]=>1101001
[3,8,6,7,1,4,5,2]=>0101001
[5,3,8,7,4,1,2,6]=>1011100
[4,3,8,7,1,5,6,2]=>1011001
[8,3,6,1,2,5,7,4]=>1010001
[5,6,1,8,7,3,2,4]=>0101110
[5,4,2,7,3,6,8,1]=>1101001
[7,5,3,6,4,2,8,1]=>1101101
[6,4,1,5,3,8,2,7]=>1101010
[8,2,6,3,4,7,5,1]=>1010011
[7,2,6,3,5,4,8,1]=>1010101
[6,2,7,4,3,5,8,1]=>1011001
[3,7,6,4,5,2,8,1]=>0110101
[2,7,6,5,3,4,8,1]=>0111001
[6,5,4,3,1,8,2,7]=>1111010
[8,6,5,4,2,7,3,1]=>1111011
[8,5,4,1,7,2,6,3]=>1110101
[7,5,4,1,8,3,2,6]=>1110110
[1,6,5,2,8,3,4,7]=>0110100
[1,6,5,3,4,8,2,7]=>0110010
[5,4,6,3,1,8,2,7]=>1011010
[6,5,8,4,2,7,3,1]=>1011011
[5,8,2,6,4,7,3,1]=>0101011
[7,8,5,3,2,6,4,1]=>0111011
[6,8,3,1,7,2,5,4]=>0110101
[1,8,6,3,7,5,2,4]=>0110110
[8,7,5,2,6,4,3,1]=>1110111
[8,7,1,6,2,5,4,3]=>1101011
[2,8,1,7,3,5,6,4]=>0101001
[4,8,1,3,7,2,6,5]=>0100101
[4,2,8,5,7,3,6,1]=>1010101
[5,1,7,6,8,3,2,4]=>1010110
[6,7,3,1,8,4,2,5]=>0110110
[1,7,3,8,4,5,2,6]=>0101010
[1,7,2,8,5,3,4,6]=>0101100
[7,6,1,8,4,3,2,5]=>1101110
[8,6,1,7,4,2,5,3]=>1101101
[8,1,2,7,3,4,6,5]=>1001001
[7,1,2,8,3,5,4,6]=>1001010
[8,2,6,1,7,3,5,4]=>1010101
[8,3,1,4,7,5,6,2]=>1100101
[4,2,1,5,8,3,6,7]=>1100100
[5,4,3,1,6,8,2,7]=>1110010
[4,7,5,6,8,3,2,1]=>0100111
[6,5,4,8,2,7,3,1]=>1101011
[6,5,1,8,7,4,2,3]=>1101110
[8,6,4,7,5,3,2,1]=>1101111
[5,1,8,3,7,6,2,4]=>1010110
[5,4,8,1,7,2,6,3]=>1010101
[3,6,8,2,4,7,5,1]=>0010011
[5,7,3,8,2,6,4,1]=>0101011
[4,7,2,8,6,3,5,1]=>0101101
[2,3,8,7,4,5,6,1]=>0011001
[7,2,8,6,4,3,5,1]=>1011101
[2,1,8,7,5,6,3,4]=>1011010
[8,2,7,6,3,5,4,1]=>1011011
[8,1,7,6,5,2,4,3]=>1011101
[7,1,8,6,5,3,2,4]=>1011110
[1,2,8,7,6,3,4,5]=>0011100
[1,3,8,7,4,6,2,5]=>0011010
[5,1,6,8,7,4,2,3]=>1001110
[6,8,4,7,5,3,2,1]=>0101111
[6,8,7,2,5,4,3,1]=>0110111
[3,8,7,6,4,5,2,1]=>0111011
[2,8,7,6,5,3,4,1]=>0111101
[1,8,7,6,5,4,2,3]=>0111110
[5,8,6,7,3,4,1,2]=>0101010
[4,8,6,7,3,5,1,2]=>0101010
[3,8,6,7,4,5,1,2]=>0101010
[2,8,6,7,4,5,1,3]=>0101010
[1,8,6,7,4,5,2,3]=>0101010
[1,8,5,7,4,6,2,3]=>0101010
[3,8,5,7,4,6,1,2]=>0101010
[4,8,5,7,3,6,1,2]=>0101010
[7,8,3,6,4,5,1,2]=>0101010
[6,8,3,7,4,5,1,2]=>0101010
[5,8,3,7,4,6,1,2]=>0101010
[3,7,4,8,5,6,1,2]=>0101010
[4,7,3,8,5,6,1,2]=>0101010
[4,7,2,8,5,6,1,3]=>0101010
[4,7,1,8,5,6,2,3]=>0101010
[3,7,1,8,5,6,2,4]=>0101010
[3,7,2,8,5,6,1,4]=>0101010
[2,7,3,8,5,6,1,4]=>0101010
[2,7,4,8,5,6,1,3]=>0101010
[5,8,2,7,4,6,1,3]=>0101010
[6,8,2,7,4,5,1,3]=>0101010
[7,8,2,6,4,5,1,3]=>0101010
[7,8,1,6,4,5,2,3]=>0101010
[6,8,1,7,4,5,2,3]=>0101010
[5,8,1,7,4,6,2,3]=>0101010
[1,7,4,8,5,6,2,3]=>0101010
[1,7,3,8,5,6,2,4]=>0101010
[2,8,5,6,1,7,3,4]=>0101010
[1,8,5,6,2,7,3,4]=>0101010
[1,7,3,8,4,6,2,5]=>0101010
[4,8,1,7,3,6,2,5]=>0101010
[5,8,1,7,3,6,2,4]=>0101010
[6,8,1,7,3,5,2,4]=>0101010
[7,8,2,6,3,5,1,4]=>0101010
[6,8,2,7,3,5,1,4]=>0101010
[5,8,2,7,3,6,1,4]=>0101010
[4,8,2,7,3,6,1,5]=>0101010
[2,7,3,8,4,6,1,5]=>0101010
[3,7,2,8,4,6,1,5]=>0101010
[3,7,1,8,4,6,2,5]=>0101010
[1,8,4,7,3,6,2,5]=>0101010
[2,8,4,7,3,6,1,5]=>0101010
[3,8,4,7,2,6,1,5]=>0101010
[4,8,5,7,2,6,1,3]=>0101010
[3,8,5,7,2,6,1,4]=>0101010
[2,8,5,7,3,6,1,4]=>0101010
[1,8,5,7,3,6,2,4]=>0101010
[1,8,6,7,3,5,2,4]=>0101010
[2,8,6,7,3,5,1,4]=>0101010
[3,8,6,7,2,5,1,4]=>0101010
[4,8,6,7,2,5,1,3]=>0101010
[5,8,6,7,2,4,1,3]=>0101010
[6,8,5,7,1,4,2,3]=>0101010
[5,8,6,7,1,4,2,3]=>0101010
[4,8,6,7,1,5,2,3]=>0101010
[3,8,6,7,1,5,2,4]=>0101010
[1,5,2,8,6,7,3,4]=>0101010
[2,5,1,8,6,7,3,4]=>0101010
[2,6,1,8,5,7,3,4]=>0101010
[1,6,2,8,5,7,3,4]=>0101010
[3,8,5,7,1,6,2,4]=>0101010
[6,8,4,7,1,5,2,3]=>0101010
[7,8,4,6,1,5,2,3]=>0101010
[7,8,3,6,1,5,2,4]=>0101010
[6,8,3,7,1,5,2,4]=>0101010
[4,8,3,7,1,6,2,5]=>0101010
[3,8,4,7,1,6,2,5]=>0101010
[1,6,2,8,4,7,3,5]=>0101010
[2,6,1,8,4,7,3,5]=>0101010
[3,7,2,6,1,8,4,5]=>0101010
[3,7,1,6,2,8,4,5]=>0101010
[4,8,1,6,2,7,3,5]=>0101010
[5,8,1,6,2,7,3,4]=>0101010
[7,8,1,5,2,6,3,4]=>0101010
[7,8,2,5,1,6,3,4]=>0101010
[6,8,2,5,1,7,3,4]=>0101010
[5,8,2,6,1,7,3,4]=>0101010
[4,8,2,6,1,7,3,5]=>0101010
[1,7,3,6,2,8,4,5]=>0101010
[2,7,3,6,1,8,4,5]=>0101010
[6,7,4,8,3,5,1,2]=>0101010
[6,7,4,5,2,8,1,3]=>0101010
[5,7,4,6,2,3,1,8]=>0101010
[5,7,4,6,3,8,1,2]=>0101010
[5,7,4,8,3,6,1,2]=>0101010
[6,8,4,5,3,7,1,2]=>0101010
[5,8,4,6,3,7,1,2]=>0101010
[5,6,4,8,3,7,1,2]=>0101010
[5,6,3,7,2,4,1,8]=>0101010
[5,6,3,7,2,8,1,4]=>0101010
[5,6,3,8,2,7,1,4]=>0101010
[5,6,4,8,2,7,1,3]=>0101010
[5,8,4,6,2,7,1,3]=>0101010
[6,8,4,5,2,7,1,3]=>0101010
[7,8,4,5,2,6,1,3]=>0101010
[6,8,4,5,2,3,1,7]=>0101010
[5,8,4,6,2,3,1,7]=>0101010
[5,6,4,8,2,3,1,7]=>0101010
[5,6,3,8,2,4,1,7]=>0101010
[5,6,3,4,2,8,1,7]=>0101010
[4,6,3,5,2,7,1,8]=>0101010
[4,6,3,5,2,8,1,7]=>0101010
[4,6,3,8,2,5,1,7]=>0101010
[4,8,3,6,2,5,1,7]=>0101010
[5,8,3,6,2,4,1,7]=>0101010
[6,8,3,5,2,4,1,7]=>0101010
[7,8,3,5,2,4,1,6]=>0101010
[7,8,3,5,2,6,1,4]=>0101010
[5,8,3,6,2,7,1,4]=>0101010
[4,8,3,6,2,7,1,5]=>0101010
[4,6,3,8,2,7,1,5]=>0101010
[4,6,3,7,2,8,1,5]=>0101010
[4,7,3,6,2,5,1,8]=>0101010
[4,7,3,6,2,8,1,5]=>0101010
[4,7,3,8,2,6,1,5]=>0101010
[5,7,4,8,2,6,1,3]=>0101010
[5,7,3,6,2,8,1,4]=>0101010
[5,7,3,6,2,4,1,8]=>0101010
[6,7,3,5,2,4,1,8]=>0101010
[6,7,3,5,2,8,1,4]=>0101010
[6,7,4,8,2,5,1,3]=>0101010
[6,7,5,8,2,4,1,3]=>0101010
[6,8,5,7,2,3,1,4]=>0101010
[6,7,4,8,2,3,1,5]=>0101010
[6,7,3,8,2,4,1,5]=>0101010
[6,7,3,4,2,8,1,5]=>0101010
[5,7,3,4,2,6,1,8]=>0101010
[5,7,3,4,2,8,1,6]=>0101010
[5,7,4,8,2,3,1,6]=>0101010
[5,8,4,7,2,3,1,6]=>0101010
[6,8,4,7,2,3,1,5]=>0101010
[7,8,4,6,2,3,1,5]=>0101010
[7,8,3,6,2,4,1,5]=>0101010
[6,8,3,7,2,4,1,5]=>0101010
[5,8,3,7,2,4,1,6]=>0101010
[4,8,3,7,2,5,1,6]=>0101010
[4,7,3,8,2,5,1,6]=>0101010
[4,7,3,5,2,8,1,6]=>0101010
[4,7,3,5,2,6,1,8]=>0101010
[4,5,3,7,2,6,1,8]=>0101010
[4,5,3,7,2,8,1,6]=>0101010
[4,5,3,8,2,7,1,6]=>0101010
[4,8,3,5,2,7,1,6]=>0101010
[5,8,3,4,2,7,1,6]=>0101010
[6,8,3,4,2,7,1,5]=>0101010
[7,8,3,4,2,6,1,5]=>0101010
[6,8,3,4,2,5,1,7]=>0101010
[5,8,3,4,2,6,1,7]=>0101010
[4,8,3,5,2,6,1,7]=>0101010
[4,5,3,8,2,6,1,7]=>0101010
[4,5,3,6,2,8,1,7]=>0101010
[4,7,5,2,1,8,3,6]=>0111010
[4,8,5,2,1,7,6,3]=>0111011
[4,6,5,2,1,3,8,7]=>0111001
[5,6,4,2,3,1,8,7]=>0110101
[6,4,5,3,1,2,8,7]=>1011001
[5,4,6,1,3,2,8,7]=>1010101
[4,6,8,1,7,3,2,5]=>0010110
[4,7,8,1,6,3,5,2]=>0010101
[7,4,8,1,6,5,3,2]=>1010111
[5,4,8,1,3,7,6,2]=>1010011
[8,4,5,3,1,7,6,2]=>1011011
[5,4,7,1,3,8,2,6]=>1010010
[6,4,8,1,7,5,2,3]=>1010110
[5,6,8,7,2,1,3,4]=>0011100
[8,5,7,6,4,2,1,3]=>1011110
[8,4,6,3,7,2,1,5]=>1010110
[6,3,2,8,7,4,1,5]=>1101110
[2,1,6,8,7,4,3,5]=>1001110
[2,1,7,8,6,4,5,3]=>1001101
[7,3,2,8,6,4,5,1]=>1101101
[7,6,8,5,2,4,3,1]=>1011011
[5,7,8,6,2,3,1,4]=>0011010
[5,8,7,6,3,2,1,4]=>0111110
[6,8,7,5,3,2,4,1]=>0111101
[5,8,4,2,3,7,6,1]=>0110011
[7,8,4,2,6,5,3,1]=>0110111
[4,8,7,2,6,3,5,1]=>0110101
[4,8,6,2,7,3,1,5]=>0110110
[3,6,1,8,7,4,2,5]=>0101110
[3,7,1,8,6,4,5,2]=>0101101
[3,8,1,6,7,5,2,4]=>0100110
[3,7,1,6,8,2,5,4]=>0100101
[4,7,6,2,8,1,3,5]=>0110100
[6,7,4,2,8,1,5,3]=>0110101
[6,8,4,2,7,5,1,3]=>0110110
[2,1,8,6,7,5,3,4]=>1010110
[8,3,2,6,7,5,1,4]=>1100110
[8,6,4,3,7,5,1,2]=>1110110
[5,8,6,7,3,1,2,4]=>0101100
[6,7,5,8,1,3,4,2]=>0101001
[7,6,5,8,1,4,3,2]=>1101011
[8,6,5,7,4,1,3,2]=>1101101
[7,6,4,3,8,1,5,2]=>1110101
[7,3,2,6,8,1,5,4]=>1100101
[2,1,7,6,8,3,5,4]=>1010101
[7,5,6,8,1,4,2,3]=>1001010
[6,5,7,8,1,2,4,3]=>1001001
[8,1,3,7,4,6,5,2]=>1001011
[5,2,8,7,4,6,1,3]=>1011010
[1,6,2,5,4,7,3,8]=>0101010
[6,2,7,5,4,8,3,1]=>1011011
[8,1,3,5,4,7,6,2]=>1001011
[6,1,5,4,3,8,7,2]=>1011011
[6,1,8,3,4,5,7,2]=>1010001
[7,1,5,3,4,8,6,2]=>1010011
[7,1,4,3,5,6,8,2]=>1010001
[8,1,3,4,5,6,7,2]=>1000001
[1,7,2,4,5,6,3,8]=>0100010
[6,3,2,7,5,1,8,4]=>1101101
[8,4,7,2,5,6,1,3]=>1010010
[6,5,8,2,4,7,3,1]=>1010011
[8,5,2,1,4,3,7,6]=>1110101
[6,5,2,8,4,1,3,7]=>1101100
[5,6,2,1,4,8,3,7]=>0110010
[3,6,1,8,5,2,4,7]=>0101100
[1,2,6,3,5,4,7,8]=>0010100
[3,4,1,2,8,6,5,7]=>0100110
[4,3,1,2,6,8,5,7]=>1100010
[5,8,1,6,3,2,4,7]=>0101100
[6,3,8,5,2,1,4,7]=>1011100
[8,3,1,5,2,4,7,6]=>1101001
[3,8,2,6,1,5,7,4]=>0101001
[3,8,6,7,2,1,5,4]=>0101101
[8,5,6,4,2,1,7,3]=>1011101
[7,2,5,8,3,1,6,4]=>1001101
[1,7,5,6,3,2,4,8]=>0101100
[6,1,2,3,8,5,7,4]=>1000101
[7,1,2,3,6,5,8,4]=>1000101
[7,2,1,3,8,6,4,5]=>1100110
[1,5,7,3,2,4,6,8]=>0011000
[5,2,7,3,1,8,4,6]=>1011010
[5,8,2,4,1,3,7,6]=>0101001
[8,7,2,6,3,4,1,5]=>1101010
[4,8,1,6,3,2,7,5]=>0101101
[3,1,8,6,4,2,7,5]=>1011101
[8,1,6,7,4,3,2,5]=>1001110
[3,5,8,7,2,4,1,6]=>0011010
[4,2,1,3,7,8,5,6]=>1100010
[2,4,1,3,8,7,5,6]=>0100110
[2,5,8,3,1,7,4,6]=>0011010
[8,6,1,3,7,2,4,5]=>1100100
[2,8,1,3,6,4,7,5]=>0100101
[6,8,2,3,4,1,5,7]=>0100100
[5,1,8,3,2,4,6,7]=>1011000
[1,4,2,7,8,6,3,5]=>0100110
[1,6,2,4,8,5,3,7]=>0100110
[1,6,2,4,7,5,3,8]=>0100110
[1,7,3,8,5,2,4,6]=>0101100
[1,7,3,2,8,6,4,5]=>0110110
[4,2,5,7,8,6,1,3]=>1000110
[7,2,3,1,8,5,6,4]=>1010101
[8,2,5,1,7,3,4,6]=>1010100
[6,2,1,8,3,4,7,5]=>1101001
[6,2,8,3,5,1,7,4]=>1010101
[6,2,4,8,5,7,1,3]=>1001010
[1,3,6,4,8,5,7,2]=>0010101
[1,3,6,4,7,5,8,2]=>0010101
[6,2,4,7,5,8,1,3]=>1001010
[6,2,1,3,7,8,4,5]=>1100010
[7,8,2,1,4,3,5,6]=>0110100
[7,6,4,2,3,1,8,5]=>1110101
[5,7,2,3,1,6,8,4]=>0101001
[7,5,4,2,6,8,1,3]=>1110010
[1,7,5,3,4,6,8,2]=>0110001
[8,2,5,4,6,7,1,3]=>1010010
[5,2,6,3,1,8,7,4]=>1011011
[8,2,6,4,3,1,7,5]=>1011101
[8,2,7,4,1,3,5,6]=>1011000
[1,2,8,4,3,5,6,7]=>0011000
[1,7,4,2,3,5,6,8]=>0110000
[6,8,4,1,3,2,5,7]=>0110100
[1,8,7,4,3,2,5,6]=>0111100
[1,6,3,8,2,4,7,5]=>0101001
[5,3,8,1,2,7,4,6]=>1010010
[5,1,8,3,2,6,4,7]=>1011010
[5,7,3,1,2,6,4,8]=>0110010
[1,7,5,4,2,6,3,8]=>0111010
[1,5,8,2,4,6,3,7]=>0010010
[1,5,8,4,2,7,3,6]=>0011010
[1,4,6,2,8,3,7,5]=>0010101
[5,3,1,6,7,2,4,8]=>1100100
[5,3,6,1,2,8,4,7]=>1010010
[1,6,3,2,7,8,4,5]=>0110010
[1,7,4,5,3,8,6,2]=>0101011
[6,3,4,1,2,5,8,7]=>1010001
[6,3,1,4,2,7,5,8]=>1101010
[1,8,3,2,4,5,6,7]=>0110000
[8,6,3,2,4,1,7,5]=>1110101
[8,5,3,2,6,7,1,4]=>1110010
[4,5,2,6,8,1,7,3]=>0100101
[4,2,5,6,7,8,1,3]=>1000010
[5,2,3,6,7,1,8,4]=>1000101
[6,2,3,4,1,7,8,5]=>1001001
[7,2,3,1,4,5,8,6]=>1010001
[8,6,1,4,3,2,5,7]=>1101100
[8,3,1,6,5,2,4,7]=>1101100
[3,7,5,1,8,2,4,6]=>0110100
[4,1,5,2,8,7,3,6]=>1010110
[8,1,2,4,6,5,3,7]=>1000110
[8,1,2,5,4,6,3,7]=>1001010
[8,2,6,5,1,3,4,7]=>1011000
[8,3,1,6,2,5,4,7]=>1101010
[8,1,2,6,4,5,3,7]=>1001010
[8,1,2,5,6,4,3,7]=>1000110
[8,1,2,6,5,4,3,7]=>1001110
[1,7,5,4,2,8,3,6]=>0111010
[5,1,4,8,2,7,3,6]=>1001010
[1,4,6,8,2,7,3,5]=>0001010
[1,4,7,6,2,8,3,5]=>0011010
[5,1,4,7,2,8,3,6]=>1001010
[1,7,4,5,2,8,3,6]=>0101010
[3,7,5,1,2,8,4,6]=>0110010
[5,7,2,8,1,3,4,6]=>0101000
[5,2,8,7,1,3,4,6]=>1011000
[4,1,5,8,2,7,3,6]=>1001010
[1,4,6,2,8,7,3,5]=>0010110
[1,4,2,8,6,7,3,5]=>0101010
[3,1,2,6,4,8,7,5]=>1001011
[2,1,7,6,3,4,8,5]=>1011001
[3,1,2,7,4,6,8,5]=>1001001
[1,4,7,2,6,8,3,5]=>0010010
[1,2,3,6,8,5,7,4]=>0000101
[5,1,4,2,7,8,3,6]=>1010010
[1,4,2,7,6,8,3,5]=>0101010
[1,4,2,6,8,7,3,5]=>0100110
[3,1,2,8,4,6,7,5]=>1001001
[3,1,2,7,6,4,8,5]=>1001101
[5,3,7,1,8,2,4,6]=>1010100
[1,7,4,3,2,5,8,6]=>0111001
[4,8,7,2,1,3,5,6]=>0111000
[1,8,7,3,4,2,5,6]=>0110100
[3,1,7,8,2,6,4,5]=>1001010
[1,4,2,7,8,3,6,5]=>0100101
[5,2,8,1,3,4,7,6]=>1010001
[2,1,8,6,3,4,7,5]=>1011001
[1,4,2,6,8,3,7,5]=>0100101
[1,2,3,7,8,5,6,4]=>0000101
[1,2,3,7,5,8,6,4]=>0001011
[1,4,2,7,3,8,6,5]=>0101011
[3,1,7,2,8,6,4,5]=>1010110
[2,1,7,8,3,4,6,5]=>1001001
[1,2,3,8,7,5,6,4]=>0001101
[4,7,8,5,6,2,1,3]=>0010110
[5,7,8,4,2,6,1,3]=>0011010
[6,7,8,4,2,5,1,3]=>0011010
[8,6,3,7,2,1,5,4]=>1101101
[7,6,3,8,2,1,5,4]=>1101101
[6,7,8,3,2,1,5,4]=>0011101
[5,7,8,3,2,1,6,4]=>0011101
[2,7,8,4,3,5,6,1]=>0011001
[3,7,8,4,2,5,1,6]=>0011010
[4,7,8,3,2,1,5,6]=>0011100
[5,7,8,3,2,1,4,6]=>0011100
[7,6,3,8,2,1,4,5]=>1101100
[8,6,3,7,2,1,4,5]=>1101100
[5,6,3,8,2,1,4,7]=>0101100
[3,6,4,8,2,5,1,7]=>0101010
[2,6,4,8,3,5,7,1]=>0101001
[2,6,4,7,3,5,8,1]=>0101001
[3,6,4,7,2,5,1,8]=>0101010
[4,6,3,7,2,1,5,8]=>0101100
[5,6,3,7,2,1,4,8]=>0101100
[8,4,3,2,1,6,5,7]=>1111010
[6,4,3,2,1,7,5,8]=>1111010
[4,5,3,2,7,1,6,8]=>0110100
[3,5,4,2,8,6,1,7]=>0110110
[6,4,3,2,1,8,5,7]=>1111010
[7,4,3,2,1,8,5,6]=>1111010
[8,4,3,2,1,7,5,6]=>1111010
[8,4,3,2,1,7,6,5]=>1111011
[7,4,3,2,1,8,6,5]=>1111011
[6,4,3,2,1,8,7,5]=>1111011
[5,6,3,8,2,1,7,4]=>0101101
[7,5,3,2,8,1,6,4]=>1110101
[8,5,4,2,7,6,1,3]=>1110110
[7,5,4,2,8,6,1,3]=>1110110
[6,5,4,2,8,7,1,3]=>1110110
[4,6,5,8,7,2,1,3]=>0101110
[2,6,5,7,8,3,4,1]=>0100101
[6,5,4,2,7,8,1,3]=>1110010
[8,5,4,2,6,7,1,3]=>1110010
[8,5,3,2,6,1,7,4]=>1110101
[7,5,3,2,6,1,8,4]=>1110101
[5,6,3,7,2,1,8,4]=>0101101
[4,6,3,7,2,1,8,5]=>0101101
[3,6,4,7,2,8,1,5]=>0101010
[2,6,4,7,3,8,5,1]=>0101011
[3,5,4,2,7,8,1,6]=>0110010
[4,5,3,2,7,1,8,6]=>0110101
[7,4,3,2,1,6,8,5]=>1111001
[8,4,3,2,1,6,7,5]=>1111001
[8,4,3,2,1,5,7,6]=>1111001
[7,4,3,2,1,5,8,6]=>1111001
[6,4,3,2,1,5,8,7]=>1111001
[3,5,4,2,6,8,1,7]=>0110010
[5,6,3,4,1,2,8,7]=>0101001
[8,5,3,7,2,6,4,1]=>1101011
[8,5,7,4,2,6,3,1]=>1011011
[7,5,8,4,2,6,1,3]=>1011010
[2,1,7,8,5,6,3,4]=>1001010
[6,8,3,7,5,1,4,2]=>0101101
[5,7,3,8,1,6,2,4]=>0101010
[3,2,6,4,8,5,1,7]=>1010110
[3,5,2,4,1,7,6,8]=>0101010
[4,2,5,8,3,1,6,7]=>1001100
[3,1,5,4,2,8,6,7]=>1011010
[4,1,5,8,3,2,6,7]=>1001100
[4,3,8,5,2,1,6,7]=>1011100
[4,7,3,5,2,1,6,8]=>0101100
[4,3,2,7,5,1,6,8]=>1101100
[4,3,6,2,5,1,7,8]=>1010100
[4,6,3,2,5,1,7,8]=>0110100
[4,5,1,7,3,2,6,8]=>0101100
[5,2,1,4,3,7,8,6]=>1101001
[4,3,1,5,7,2,6,8]=>1100100
[4,3,6,1,5,2,7,8]=>1010100
[4,6,3,1,5,2,7,8]=>0110100
[5,3,6,4,1,2,7,8]=>1011000
[4,3,6,1,7,2,5,8]=>1010100
[6,2,4,1,3,7,8,5]=>1010001
[3,6,4,1,2,7,5,8]=>0110010
[4,6,3,1,7,2,5,8]=>0110100
[5,6,2,7,1,3,4,8]=>0101000
[4,5,2,7,3,1,6,8]=>0101100
[4,6,2,1,7,3,5,8]=>0110100
[3,2,6,1,4,7,5,8]=>1010010
[3,5,2,7,4,6,1,8]=>0101010
[3,7,2,4,8,5,1,6]=>0100110
[7,3,1,4,6,8,2,5]=>1100010
[3,2,6,1,5,7,4,8]=>1010010
[6,3,2,1,5,7,4,8]=>1110010
[6,4,2,1,5,3,7,8]=>1110100
[4,2,6,1,5,3,7,8]=>1010100
[4,2,1,7,5,3,6,8]=>1101100
[7,4,1,5,6,2,3,8]=>1100100
[7,3,1,5,2,6,4,8]=>1101010
[6,3,5,1,2,7,4,8]=>1010010
[5,2,6,4,1,3,7,8]=>1011000
[3,6,5,1,2,7,4,8]=>0110010
[6,5,2,1,4,7,8,3]=>1110001
[6,5,3,1,4,7,2,8]=>1110010
[2,3,1,8,5,4,7,6]=>0101101
[2,4,1,5,8,3,7,6]=>0100101
[2,4,1,5,3,8,7,6]=>0101011
[3,4,5,1,2,8,7,6]=>0010011
[3,4,5,1,8,2,7,6]=>0010101
[1,8,4,5,3,2,7,6]=>0101101
[2,4,8,5,3,1,7,6]=>0011101
[3,4,5,8,2,1,7,6]=>0001101
[3,4,5,2,8,1,7,6]=>0010101
[3,4,6,2,1,7,8,5]=>0011001
[3,4,6,2,1,7,5,8]=>0011010
[3,5,6,2,7,1,4,8]=>0010100
[3,5,6,2,7,1,8,4]=>0010101
[3,5,6,2,7,8,1,4]=>0010010
[3,4,6,2,8,7,1,5]=>0010110
[3,4,6,8,2,7,1,5]=>0001010
[2,4,8,6,3,7,1,5]=>0011010
[1,8,4,6,3,7,2,5]=>0101010
[1,8,4,6,3,7,5,2]=>0101011
[3,4,6,8,2,7,5,1]=>0001011
[3,4,6,2,8,7,5,1]=>0010111
[3,5,6,2,7,8,4,1]=>0010011
[3,5,6,2,7,4,1,8]=>0010110
[4,5,6,7,2,8,3,1]=>0001011
[3,5,6,8,7,2,4,1]=>0001101
[2,5,8,6,7,3,4,1]=>0010101
[1,8,5,6,7,3,4,2]=>0100101
[1,8,5,6,7,3,2,4]=>0100110
[2,5,8,6,7,3,1,4]=>0010110
[3,5,6,8,7,2,1,4]=>0001110
[4,5,6,7,2,1,8,3]=>0001101
[3,4,6,1,8,7,2,5]=>0010110
[2,4,1,6,8,7,3,5]=>0100110
[2,3,1,8,6,7,4,5]=>0101010
[1,8,3,2,6,7,5,4]=>0110011
[2,5,1,6,7,8,4,3]=>0100011
[2,5,1,6,7,4,8,3]=>0100101
[2,5,1,6,7,4,3,8]=>0100110
[3,5,6,1,7,4,2,8]=>0010110
[3,5,6,1,7,4,8,2]=>0010101
[3,4,6,1,8,7,5,2]=>0010111
[3,4,6,8,1,7,5,2]=>0001011
[2,4,8,6,1,7,5,3]=>0011011
[1,8,4,6,2,7,5,3]=>0101011
[1,8,5,6,7,2,4,3]=>0100101
[2,5,8,6,7,1,4,3]=>0010101
[3,5,6,8,7,1,4,2]=>0001101
[4,5,6,7,8,1,3,2]=>0000101
[4,5,6,7,1,3,8,2]=>0001001
[4,5,6,7,1,3,2,8]=>0001010
[4,5,6,7,3,1,8,2]=>0001101
[3,5,6,8,7,4,1,2]=>0001110
[2,5,8,6,7,4,1,3]=>0010110
[1,8,5,6,7,4,2,3]=>0100110
[1,8,5,6,7,4,3,2]=>0100111
[2,5,8,6,7,4,3,1]=>0010111
[8,2,5,3,7,1,6,4]=>1010101
[8,2,4,3,7,1,6,5]=>1010101
[5,8,2,4,3,7,1,6]=>0101010
[4,2,5,6,1,8,3,7]=>1001010
[4,2,5,6,1,7,3,8]=>1001010
[6,1,5,7,3,2,4,8]=>1001100
[6,1,5,8,3,2,4,7]=>1001100
[3,8,2,4,7,1,5,6]=>0100100
[3,6,8,2,4,7,1,5]=>0010010
[4,3,5,6,7,1,8,2]=>1000101
[3,7,1,5,6,8,2,4]=>0100010
[3,7,1,5,8,2,4,6]=>0100100
[8,3,2,4,6,1,5,7]=>1100100
[7,3,2,4,6,1,5,8]=>1100100
[3,2,5,1,7,4,6,8]=>1010100
[3,2,5,1,8,4,6,7]=>1010100
[3,2,5,1,7,8,4,6]=>1010010
[7,8,3,2,4,6,1,5]=>0110010
[6,1,5,7,8,3,2,4]=>1000110
[4,2,5,6,1,7,8,3]=>1001001
[5,7,6,1,8,3,4,2]=>0110101
[5,8,6,1,7,3,4,2]=>0110101
[6,1,5,8,7,3,2,4]=>1001110
[8,7,3,2,4,6,1,5]=>1110010
[3,2,5,1,8,7,4,6]=>1010110
[3,2,5,1,6,4,7,8]=>1010100
[3,2,4,1,8,7,5,6]=>1010110
[3,2,5,1,6,8,7,4]=>1010011
[3,8,6,5,1,7,4,2]=>0111011
[3,7,6,5,1,8,4,2]=>0111011
[6,5,1,7,8,4,2,3]=>1100110
[3,2,5,1,6,7,8,4]=>1010001
[3,2,4,1,8,5,6,7]=>1010100
[3,2,4,1,7,5,6,8]=>1010100
[3,2,4,1,6,8,5,7]=>1010010
[3,2,4,1,8,5,7,6]=>1010101
[8,3,2,4,7,6,1,5]=>1100110
[3,2,5,1,8,4,7,6]=>1010101
[3,2,5,1,6,7,4,8]=>1010010
[6,5,1,7,4,2,3,8]=>1101100
[6,5,1,8,4,2,3,7]=>1101100
[8,4,2,3,7,5,1,6]=>1100110
[4,2,6,1,8,3,7,5]=>1010101
[5,2,6,1,8,3,7,4]=>1010101
[8,4,6,1,7,3,5,2]=>1010101
[5,2,6,1,8,4,7,3]=>1010101
[7,4,2,3,8,5,1,6]=>1100110
[8,5,1,6,4,2,3,7]=>1101100
[7,5,1,6,4,2,3,8]=>1101100
[3,2,5,1,7,6,4,8]=>1010110
[3,2,5,1,8,6,4,7]=>1010110
[7,3,2,4,8,6,1,5]=>1100110
[8,6,1,5,7,3,2,4]=>1100110
[4,2,6,1,8,5,7,3]=>1010101
[8,5,6,1,7,3,4,2]=>1010101
[3,6,8,5,1,7,4,2]=>0011011
[8,5,1,6,7,4,2,3]=>1100110
[3,2,5,1,8,6,7,4]=>1010101
[3,2,4,1,8,6,5,7]=>1010110
[3,2,4,1,5,8,6,7]=>1010010
[3,2,5,1,7,8,6,4]=>1010011
[7,8,5,1,6,4,2,3]=>0110110
[3,8,5,1,7,6,4,2]=>0110111
[3,7,5,1,8,6,4,2]=>0110111
[8,7,5,1,6,4,2,3]=>1110110
[3,2,5,1,8,7,6,4]=>1010111
[6,5,7,3,1,8,4,2]=>1011011
[4,6,3,7,1,8,5,2]=>0101011
[4,6,3,7,5,1,8,2]=>0101101
[4,2,6,1,7,5,3,8]=>1010110
[2,5,7,4,1,6,3,8]=>0011010
[2,5,7,4,1,6,8,3]=>0011001
[5,4,7,3,6,1,8,2]=>1010101
[5,4,7,8,3,1,6,2]=>1001101
[4,3,7,5,1,8,6,2]=>1011011
[6,4,3,8,5,1,7,2]=>1101101
[5,8,4,3,6,1,7,2]=>0110101
[5,4,8,3,6,1,7,2]=>1010101
[5,4,3,6,7,1,8,2]=>1100101
[2,5,4,6,1,7,3,8]=>0101010
[3,2,5,8,1,6,7,4]=>1001001
[2,5,4,6,8,1,7,3]=>0100101
[5,2,8,4,1,6,7,3]=>1011001
[4,6,2,1,8,5,7,3]=>0110101
[2,4,1,7,5,8,6,3]=>0101011
[2,4,1,7,5,3,8,6]=>0101101
[2,6,4,1,8,5,3,7]=>0110110
[5,4,8,2,1,6,3,7]=>1011010
[2,5,8,4,1,6,3,7]=>0011010
[3,2,5,6,1,8,4,7]=>1001010
[4,8,3,2,6,1,5,7]=>0110100
[3,5,2,8,1,6,4,7]=>0101010
[3,2,1,6,8,5,4,7]=>1100110
[3,2,7,1,5,4,8,6]=>1010101
[3,2,7,1,5,8,6,4]=>1010011
[3,8,2,5,1,6,7,4]=>0101001
[4,8,3,2,6,7,1,5]=>0110010
[4,3,8,2,6,7,1,5]=>1010010
[4,3,2,6,7,8,1,5]=>1100010
[4,3,2,6,7,1,5,8]=>1100100
[4,3,7,2,6,8,1,5]=>1010010
[4,3,7,8,2,6,1,5]=>1001010
[2,5,7,4,8,1,6,3]=>0010101
[3,2,5,7,8,1,6,4]=>1000101
[3,2,5,7,1,6,8,4]=>1001001
[3,2,5,7,1,6,4,8]=>1001010
[6,3,2,7,1,5,4,8]=>1101010
[6,3,2,7,1,5,8,4]=>1101001
[6,3,2,7,8,1,5,4]=>1100101
[4,2,6,1,7,8,5,3]=>1010011
[6,5,2,1,7,8,4,3]=>1110011
[2,1,7,5,3,8,6,4]=>1011011
[6,2,1,8,5,3,7,4]=>1101101
[6,3,2,7,1,4,8,5]=>1101001
[6,3,2,1,4,7,8,5]=>1110001
[6,3,2,1,4,7,5,8]=>1110010
[3,5,2,1,7,4,6,8]=>0110100
[3,5,2,1,7,8,4,6]=>0110010
[5,8,4,2,1,7,3,6]=>0111010
[4,6,2,1,8,3,7,5]=>0110101
[2,4,1,7,3,8,6,5]=>0101011
[3,2,7,1,4,8,6,5]=>1010011
[3,5,8,2,1,7,4,6]=>0011010
[4,8,3,7,2,1,5,6]=>0101100
[4,3,7,2,8,1,5,6]=>1010100
[4,3,7,2,1,5,6,8]=>1011000
[4,8,3,2,7,1,5,6]=>0110100
[3,5,2,8,1,7,4,6]=>0101010
[6,3,2,8,1,4,7,5]=>1101001
[3,2,1,4,7,5,8,6]=>1100101
[5,3,2,1,8,4,6,7]=>1110100
[4,8,3,2,1,5,6,7]=>0111000
[4,3,8,2,1,5,6,7]=>1011000
[6,2,3,1,5,4,8,7]=>1010101
[8,4,5,2,3,1,7,6]=>1010101
[8,6,7,2,5,3,4,1]=>1010101
[8,2,5,3,4,1,7,6]=>1010101
[6,2,5,3,4,1,8,7]=>1010101
[6,1,5,2,4,3,8,7]=>1010101
[6,4,5,1,3,2,8,7]=>1010101
[6,1,5,3,4,2,8,7]=>1010101
[6,3,5,1,4,2,8,7]=>1010101
[8,3,5,2,4,1,7,6]=>1010101
[8,3,7,5,6,2,4,1]=>1010101
[8,3,7,2,4,1,6,5]=>1010101
[8,3,5,1,4,2,7,6]=>1010101
[8,1,5,3,4,2,7,6]=>1010101
[8,4,5,1,3,2,7,6]=>1010101
[2,1,8,4,5,3,7,6]=>1010101
[8,6,7,4,5,1,3,2]=>1010101
[8,6,7,1,5,3,4,2]=>1010101
[8,6,7,3,5,1,4,2]=>1010101
[8,3,7,5,6,1,4,2]=>1010101
[8,5,7,3,6,1,4,2]=>1010101
[8,3,7,4,6,2,5,1]=>1010101
[8,3,7,4,6,1,5,2]=>1010101
[8,3,7,1,6,4,5,2]=>1010101
[8,1,7,3,6,4,5,2]=>1010101
[8,1,7,5,6,3,4,2]=>1010101
[8,4,7,5,6,1,3,2]=>1010101
[2,1,8,4,7,5,6,3]=>1010101
[8,1,7,3,4,2,6,5]=>1010101
[8,1,7,3,6,2,5,4]=>1010101
[8,3,7,1,6,2,5,4]=>1010101
[8,3,7,2,6,4,5,1]=>1010101
[8,2,7,3,6,4,5,1]=>1010101
[8,2,7,3,6,1,5,4]=>1010101
[8,2,7,1,6,3,5,4]=>1010101
[8,1,7,2,4,3,6,5]=>1010101
[8,1,3,2,7,4,6,5]=>1010101
[2,1,8,3,7,4,6,5]=>1010101
[8,1,5,2,4,3,7,6]=>1010101
[8,2,7,1,4,3,6,5]=>1010101
[8,2,7,3,4,1,6,5]=>1010101
[8,2,7,5,6,3,4,1]=>1010101
[8,4,7,5,6,2,3,1]=>1010101
[8,4,7,2,3,1,6,5]=>1010101
[8,2,3,1,7,4,6,5]=>1010101
[8,2,3,1,5,4,7,6]=>1010101
[4,2,3,1,8,5,7,6]=>1010101
[4,1,3,2,8,6,7,5]=>1010101
[8,6,7,2,3,1,5,4]=>1010101
[8,2,3,1,7,5,6,4]=>1010101
[8,5,7,2,6,3,4,1]=>1010101
[8,5,7,2,6,1,4,3]=>1010101
[8,2,7,5,6,1,4,3]=>1010101
[8,6,7,2,5,1,4,3]=>1010101
[8,6,7,1,5,2,4,3]=>1010101
[8,6,7,1,3,2,5,4]=>1010101
[2,1,8,6,7,3,5,4]=>1010101
[2,1,8,3,7,5,6,4]=>1010101
[8,1,3,2,7,5,6,4]=>1010101
[8,1,7,5,6,2,4,3]=>1010101
[8,1,7,2,6,4,5,3]=>1010101
[8,2,7,1,6,4,5,3]=>1010101
[8,2,7,4,6,1,5,3]=>1010101
[8,2,7,4,6,3,5,1]=>1010101
[8,4,7,2,6,3,5,1]=>1010101
[8,4,7,2,6,1,5,3]=>1010101
[8,4,7,1,6,2,5,3]=>1010101
[8,1,7,4,6,2,5,3]=>1010101
[8,5,7,1,6,2,4,3]=>1010101
[2,1,8,5,7,3,6,4]=>1010101
[8,5,7,4,6,1,3,2]=>1010101
[8,5,7,1,6,3,4,2]=>1010101
[8,1,7,4,6,3,5,2]=>1010101
[8,4,7,1,6,3,5,2]=>1010101
[8,4,7,3,6,1,5,2]=>1010101
[2,4,8,3,6,1,7,5]=>0010101
[6,5,8,1,3,2,7,4]=>1010101
[4,5,8,6,3,2,7,1]=>0011101
[6,5,8,7,3,1,2,4]=>1011100
[1,5,8,7,3,6,2,4]=>0011010
[1,7,2,8,4,6,5,3]=>0101011
[6,7,2,8,4,1,5,3]=>0101101
[3,6,2,8,4,5,7,1]=>0101001
[2,6,1,8,4,5,7,3]=>0101001
[2,8,4,6,1,5,7,3]=>0101001
[6,3,1,8,4,5,7,2]=>1101001
[3,1,6,8,4,5,7,2]=>1001001
[2,3,6,8,4,5,7,1]=>0001001
[6,3,7,8,4,1,5,2]=>1001101
[1,3,7,8,4,6,5,2]=>0001011
[1,5,7,8,2,4,6,3]=>0001001
[5,1,7,8,2,4,6,3]=>1001001
[3,6,7,8,4,2,5,1]=>0001101
[7,6,1,8,4,2,5,3]=>1101101
[5,6,8,7,3,2,1,4]=>0011110
[2,8,3,7,1,6,5,4]=>0101011
[5,2,8,7,3,6,1,4]=>1011010
[7,2,1,8,4,6,5,3]=>1101011
[3,2,7,8,4,6,5,1]=>1001011
[5,2,7,8,1,4,6,3]=>1001001
[1,2,7,8,5,4,6,3]=>0001101
[4,2,1,3,8,5,6,7]=>1100100
[7,2,5,8,3,4,6,1]=>1001001
[6,2,8,5,4,3,1,7]=>1011110
[2,8,3,5,4,1,6,7]=>0101100
[2,8,4,5,3,1,6,7]=>0101100
[6,4,8,5,2,3,1,7]=>1011010
[7,3,5,8,2,4,6,1]=>1001001
[4,3,1,2,8,5,6,7]=>1100100
[3,4,2,1,8,5,6,7]=>0110100
[2,7,6,8,4,3,5,1]=>0101101
[5,7,1,8,3,4,6,2]=>0101001
[3,7,5,8,1,4,6,2]=>0101001
[1,7,5,8,3,4,6,2]=>0101001
[1,6,8,5,4,3,2,7]=>0011110
[4,6,8,5,1,3,2,7]=>0011010
[5,6,8,1,4,3,2,7]=>0010110
[7,5,8,6,3,4,2,1]=>1011011
[2,4,8,3,6,5,1,7]=>0010110
[2,8,4,1,5,6,3,7]=>0110010
[4,1,8,3,5,6,2,7]=>1010010
[5,6,8,4,1,3,2,7]=>0011010
[4,6,8,1,5,3,2,7]=>0010110
[1,6,8,4,5,3,2,7]=>0010110
[1,7,3,8,5,4,6,2]=>0101101
[3,7,1,8,5,4,6,2]=>0101101
[2,7,3,8,4,6,5,1]=>0101011
[7,1,3,8,4,6,5,2]=>1001011
[5,7,8,4,3,6,1,2]=>0011010
[2,8,7,4,1,6,5,3]=>0111011
[2,8,5,4,3,1,6,7]=>0111100
[6,5,8,4,2,3,1,7]=>1011010
[4,1,3,2,8,5,6,7]=>1010100
[1,4,3,2,8,5,6,7]=>0110100
[7,3,2,8,5,4,6,1]=>1101101
[6,4,8,2,5,3,1,7]=>1010110
[2,8,4,3,5,1,6,7]=>0110100
[2,8,3,4,5,1,6,7]=>0100100
[6,2,8,4,5,3,1,7]=>1010110
[7,2,3,8,5,4,6,1]=>1001101
[4,2,3,1,8,5,6,7]=>1010100
[3,2,1,4,8,5,6,7]=>1100100
[5,1,3,2,4,8,6,7]=>1010010
[2,8,1,5,3,4,7,6]=>0101001
[1,2,8,4,5,3,7,6]=>0010101
[1,4,2,8,5,3,6,7]=>0101100
[1,8,4,2,5,3,6,7]=>0110100
[8,1,5,3,2,4,6,7]=>1011000
[3,8,1,5,2,4,6,7]=>0101000
[3,5,1,4,8,2,6,7]=>0100100
[1,5,2,8,4,3,6,7]=>0101100
[1,2,8,5,4,3,6,7]=>0011100
[1,2,5,4,3,8,6,7]=>0011010
[1,2,4,8,5,3,7,6]=>0001101
[1,2,7,4,8,5,3,6]=>0010110
[1,5,2,7,8,4,3,6]=>0100110
[5,1,2,7,4,8,3,6]=>1001010
[8,3,5,1,4,7,2,6]=>1010010
[2,8,1,5,4,7,3,6]=>0101010
[1,2,8,5,7,4,3,6]=>0010110
[1,2,4,8,7,5,3,6]=>0001110
[2,8,1,4,3,7,6,5]=>0101011
[6,1,2,8,7,4,3,5]=>1001110
[6,4,1,2,8,7,3,5]=>1100110
[3,6,4,8,1,7,2,5]=>0101010
[7,6,1,4,2,8,3,5]=>1101010
[7,1,6,2,8,4,3,5]=>1010110
[1,6,7,2,8,4,3,5]=>0010110
[6,7,1,4,2,8,3,5]=>0101010
[6,3,7,1,4,8,2,5]=>1010010
[3,7,8,1,5,2,4,6]=>0010100
[7,1,2,8,5,3,4,6]=>1001100
[1,7,2,8,4,5,3,6]=>0101010
[1,4,2,7,8,5,3,6]=>0100110
[6,1,2,8,4,3,7,5]=>1001101
[6,4,1,2,8,3,7,5]=>1100101
[7,6,1,3,2,4,8,5]=>1101001
[6,7,1,3,2,4,8,5]=>0101001
[1,2,7,3,5,8,4,6]=>0010010
[1,2,7,5,8,3,4,6]=>0010100
[5,8,1,3,7,2,4,6]=>0100100
[1,2,5,8,7,3,4,6]=>0001100
[1,2,5,8,3,7,4,6]=>0001010
[2,8,1,7,3,5,4,6]=>0101010
[8,6,1,3,2,4,7,5]=>1101001
[4,2,8,1,7,3,6,5]=>1010101
[2,8,1,7,4,3,6,5]=>0101101
[7,1,2,8,4,3,6,5]=>1001101
[1,2,8,4,7,5,3,6]=>0010110
[1,2,8,7,4,5,3,6]=>0011010
[2,8,1,7,5,3,4,6]=>0101100
[8,3,7,1,5,2,4,6]=>1010100
[3,8,6,1,4,7,2,5]=>0110010
[8,6,1,4,2,7,3,5]=>1101010
[8,1,6,2,7,4,3,5]=>1010110
[7,1,2,8,6,4,3,5]=>1001110
[7,4,1,2,8,6,3,5]=>1100110
[3,7,4,8,1,6,2,5]=>0101010
[3,4,8,7,1,6,2,5]=>0011010
[4,2,8,1,7,6,3,5]=>1010110
[2,8,1,7,6,4,3,5]=>0101110
[7,8,3,4,1,5,2,6]=>0101010
[7,8,3,4,1,6,2,5]=>0101010
[6,8,3,4,1,7,2,5]=>0101010
[6,7,3,4,1,8,2,5]=>0101010
[5,7,3,4,1,8,2,6]=>0101010
[5,8,3,4,1,7,2,6]=>0101010
[5,8,3,4,1,6,2,7]=>0101010
[6,8,3,4,1,5,2,7]=>0101010
[6,7,3,4,1,5,2,8]=>0101010
[5,7,3,4,1,6,2,8]=>0101010
[5,6,2,8,3,4,1,7]=>0101010
[5,6,2,7,3,4,1,8]=>0101010
[4,6,2,8,3,5,1,7]=>0101010
[4,7,3,5,1,6,2,8]=>0101010
[4,8,3,5,1,6,2,7]=>0101010
[4,8,3,5,1,7,2,6]=>0101010
[4,7,3,5,1,8,2,6]=>0101010
[5,6,2,3,1,7,4,8]=>0101010
[5,6,2,4,1,8,3,7]=>0101010
[5,6,2,4,1,7,3,8]=>0101010
[4,6,2,5,1,7,3,8]=>0101010
[4,6,2,5,1,8,3,7]=>0101010
[4,5,1,8,3,7,2,6]=>0101010
[4,5,1,7,3,8,2,6]=>0101010
[4,6,2,7,3,8,1,5]=>0101010
[5,6,2,7,3,8,1,4]=>0101010
[5,6,2,7,4,8,1,3]=>0101010
[5,6,3,8,4,7,1,2]=>0101010
[5,6,2,8,4,7,1,3]=>0101010
[5,6,2,8,3,7,1,4]=>0101010
[4,6,2,8,3,7,1,5]=>0101010
[4,5,1,7,3,6,2,8]=>0101010
[4,5,1,8,3,6,2,7]=>0101010
[6,5,3,2,1,4,8,7]=>1111001
[4,6,3,5,2,1,8,7]=>0101101
[8,7,3,5,2,4,1,6]=>1101010
[6,8,2,4,5,7,3,1]=>0100011
[8,7,2,4,5,3,1,6]=>1100110
[3,6,1,4,5,2,8,7]=>0100101
[8,3,7,4,5,2,1,6]=>1010110
[6,3,8,4,5,7,2,1]=>1010011
[5,8,7,4,3,6,2,1]=>0111011
[2,8,7,4,3,6,1,5]=>0111010
[8,1,7,4,3,6,2,5]=>1011010
[8,7,3,5,1,4,2,6]=>1101010
[2,1,6,8,5,7,4,3]=>1001011
[6,8,3,5,1,7,4,2]=>0101011
[5,1,8,4,7,6,3,2]=>1010111
[2,5,8,4,7,6,3,1]=>0010111
[4,3,8,1,5,6,7,2]=>1010001
[4,8,1,3,5,6,7,2]=>0100001
[5,8,7,4,1,6,3,2]=>0111011
[5,8,3,6,1,4,7,2]=>0101001
[4,8,3,6,1,2,7,5]=>0101001
[3,8,7,4,1,6,2,5]=>0111010
[3,8,1,2,5,6,7,4]=>0100001
[8,7,1,4,2,6,3,5]=>1101010
[8,6,3,1,2,4,7,5]=>1110001
[8,1,7,4,5,2,3,6]=>1010100
[2,8,7,4,5,1,3,6]=>0110100
[8,7,2,4,1,6,3,5]=>1101010
[5,8,3,6,2,4,7,1]=>0101001
[8,6,3,2,1,4,7,5]=>1111001
[8,7,3,5,2,1,4,6]=>1101100
[5,8,3,6,2,1,7,4]=>0101101
[5,8,7,4,2,6,1,3]=>0111010
[2,6,8,4,5,7,1,3]=>0010010
[6,1,8,4,5,7,2,3]=>1010010
[6,8,3,5,1,7,2,4]=>0101010
[2,1,5,8,3,6,7,4]=>1001001
[5,8,3,6,1,2,7,4]=>0101001
[4,1,8,2,5,6,7,3]=>1010001
[2,4,8,1,5,6,7,3]=>0010001
[4,8,2,1,5,6,7,3]=>0110001
[3,4,8,2,5,6,7,1]=>0010001
[5,8,1,4,7,6,2,3]=>0100110
[5,8,3,1,6,2,7,4]=>0110101
[4,5,3,8,6,1,7,2]=>0101101
[3,4,1,8,5,6,7,2]=>0101001
[4,5,7,6,2,3,8,1]=>0011001
[3,5,7,2,6,4,8,1]=>0010101
[2,5,7,3,6,4,8,1]=>0010101
[1,5,7,3,6,8,4,2]=>0010011
[8,4,3,7,6,1,5,2]=>1101101
[6,7,2,3,5,4,8,1]=>0100101
[5,2,7,3,6,4,8,1]=>1010101
[8,3,4,7,6,1,5,2]=>1001101
[8,2,4,7,1,6,5,3]=>1001011
[3,1,4,7,6,8,5,2]=>1001011
[4,1,3,7,6,8,5,2]=>1001011
[5,1,7,3,6,8,4,2]=>1010011
[6,7,1,3,5,8,4,2]=>0100011
[5,8,7,3,6,1,4,2]=>0110101
[4,8,3,7,6,1,5,2]=>0101101
[3,8,4,7,6,1,5,2]=>0101101
[2,8,4,7,1,6,5,3]=>0101011
[8,1,4,7,2,6,5,3]=>1001011
[8,1,3,2,7,6,5,4]=>1010111
[2,8,3,1,7,6,5,4]=>0110111
[3,8,2,1,7,6,5,4]=>0110111
[6,7,1,2,8,5,4,3]=>0100111
[8,2,3,1,7,6,5,4]=>1010111
[8,3,2,1,7,6,5,4]=>1110111
[3,4,1,7,6,8,5,2]=>0101011
[1,4,2,7,8,6,5,3]=>0100111
[8,4,2,7,1,6,5,3]=>1101011
[8,5,7,2,1,6,4,3]=>1011011
[1,5,7,2,8,6,4,3]=>0010111
[2,5,7,1,8,6,4,3]=>0010111
[3,5,7,1,6,8,4,2]=>0010011
[6,7,4,5,8,1,3,2]=>0100101
[5,4,7,6,8,1,3,2]=>1010101
[2,5,7,8,1,6,4,3]=>0001011
[1,5,7,8,2,6,4,3]=>0001011
[8,5,7,1,2,6,4,3]=>1010011
[8,4,1,7,2,6,5,3]=>1101011
[1,4,8,7,2,6,5,3]=>0011011
[3,4,8,7,6,1,5,2]=>0011101
[4,3,8,7,6,1,5,2]=>1011101
[5,3,7,8,6,1,4,2]=>1001101
[6,7,2,8,1,5,4,3]=>0101011
[5,2,7,8,1,6,4,3]=>1001011
[4,2,8,7,1,6,5,3]=>1011011
[3,2,8,1,7,6,5,4]=>1010111
[1,3,8,2,7,6,5,4]=>0010111
[8,3,1,2,7,6,5,4]=>1100111
[8,2,1,3,7,6,5,4]=>1100111
[1,2,8,3,7,6,5,4]=>0010111
[2,1,8,3,7,6,5,4]=>1010111
[4,1,8,7,2,6,5,3]=>1011011
[5,1,7,8,2,6,4,3]=>1001011
[6,7,1,8,2,5,4,3]=>0101011
[5,8,7,1,2,6,4,3]=>0110011
[4,8,1,7,2,6,5,3]=>0101011
[3,8,1,2,7,6,5,4]=>0100111
[2,8,1,3,7,6,5,4]=>0100111
[1,8,2,3,7,6,5,4]=>0100111
[8,1,2,3,7,6,5,4]=>1000111
[6,7,1,8,4,5,2,3]=>0101010
[3,7,1,5,8,2,6,4]=>0100101
[2,7,1,5,8,3,6,4]=>0100101
[2,6,5,1,8,3,7,4]=>0110101
[3,6,5,1,8,2,7,4]=>0110101
[4,6,5,1,8,7,2,3]=>0110110
[5,6,4,1,8,7,2,3]=>0110110
[8,1,4,5,7,6,2,3]=>1000110
[6,4,5,1,8,7,2,3]=>1010110
[5,4,6,1,8,7,2,3]=>1010110
[4,5,6,1,8,7,2,3]=>0010110
[3,5,6,1,8,2,7,4]=>0010101
[2,5,6,1,8,3,7,4]=>0010101
[2,4,6,1,3,8,7,5]=>0010011
[3,4,6,1,2,8,7,5]=>0010011
[4,3,6,1,2,8,7,5]=>1010011
[5,3,6,1,8,2,7,4]=>1010101
[7,3,1,5,8,2,6,4]=>1100101
[8,1,3,5,7,2,6,4]=>1000101
[8,1,2,5,7,3,6,4]=>1000101
[7,2,1,5,8,3,6,4]=>1100101
[6,2,5,1,8,3,7,4]=>1010101
[4,2,6,1,3,8,7,5]=>1010011
[2,3,6,1,4,8,7,5]=>0010011
[4,2,5,3,1,8,7,6]=>1011011
[6,2,4,1,3,8,7,5]=>1010011
[7,2,1,4,3,8,6,5]=>1101011
[8,1,2,4,3,7,6,5]=>1001011
[8,1,3,4,2,7,6,5]=>1001011
[7,3,1,4,2,8,6,5]=>1101011
[6,3,4,1,2,8,7,5]=>1010011
[4,6,3,1,2,8,7,5]=>0110011
[3,6,4,1,2,8,7,5]=>0110011
[2,6,4,1,3,8,7,5]=>0110011
[2,7,1,4,3,8,6,5]=>0101011
[3,7,1,4,2,8,6,5]=>0101011
[4,7,1,3,2,8,6,5]=>0101011
[8,1,6,7,2,3,5,4]=>1001001
[4,7,1,2,3,8,6,5]=>0100011
[3,7,1,2,4,8,6,5]=>0100011
[2,7,1,3,4,8,6,5]=>0100011
[2,6,3,1,4,8,7,5]=>0110011
[3,6,2,1,4,8,7,5]=>0110011
[5,6,2,1,8,3,7,4]=>0110101
[6,5,2,1,8,3,7,4]=>1110101
[8,1,5,2,7,3,6,4]=>1010101
[8,1,4,2,3,7,6,5]=>1010011
[7,4,1,2,3,8,6,5]=>1100011
[6,4,2,1,3,8,7,5]=>1110011
[5,4,2,3,1,8,7,6]=>1101011
[3,5,2,4,1,8,7,6]=>0101011
[6,3,2,1,4,8,7,5]=>1110011
[7,3,1,2,4,8,6,5]=>1100011
[8,1,3,2,4,7,6,5]=>1010011
[8,1,2,3,4,7,6,5]=>1000011
[7,2,1,3,4,8,6,5]=>1100011
[6,2,3,1,4,8,7,5]=>1010011
[2,4,3,6,1,5,8,7]=>0101001
[2,4,3,6,5,8,1,7]=>0101010
[2,4,6,3,5,8,7,1]=>0010011
[2,4,6,3,5,8,1,7]=>0010010
[2,4,6,3,5,1,8,7]=>0010101
[2,4,6,3,1,5,8,7]=>0011001
[2,4,1,6,5,3,8,7]=>0101101
[2,4,6,1,5,3,8,7]=>0010101
[4,2,6,5,3,1,8,7]=>1011101
[4,2,6,5,1,3,8,7]=>1011001
[4,2,6,5,1,8,7,3]=>1011011
[4,2,6,5,8,1,7,3]=>1010101
[4,2,6,5,8,1,3,7]=>1010100
[4,2,6,5,8,3,1,7]=>1010110
[2,4,6,1,5,8,3,7]=>0010010
[2,4,1,6,5,8,3,7]=>0101010
[2,1,4,6,5,8,3,7]=>1001010
[2,4,1,6,5,8,7,3]=>0101011
[2,4,6,1,5,8,7,3]=>0010011
[4,2,6,5,3,8,7,1]=>1011011
[4,2,6,5,8,3,7,1]=>1010101
[2,6,4,3,8,7,1,5]=>0110110
[2,6,4,3,8,7,5,1]=>0110111
[4,2,6,8,5,3,7,1]=>1001101
[2,4,6,8,1,5,7,3]=>0001001
[2,4,6,1,8,5,7,3]=>0010101
[2,4,1,6,8,5,7,3]=>0100101
[2,1,4,6,8,5,7,3]=>1000101
[2,1,4,6,8,5,3,7]=>1000110
[2,4,1,6,8,5,3,7]=>0100110
[2,4,6,1,8,5,3,7]=>0010110
[2,4,6,8,1,5,3,7]=>0001010
[4,2,6,8,5,3,1,7]=>1001110
[4,2,6,8,5,1,3,7]=>1001100
[4,2,6,8,5,1,7,3]=>1001101
[2,4,6,8,3,5,7,1]=>0001001
[2,4,6,8,3,5,1,7]=>0001010
[2,4,6,8,3,1,5,7]=>0001100
[2,4,6,3,1,8,5,7]=>0011010
[2,4,6,3,8,1,5,7]=>0010100
[2,4,6,3,8,5,1,7]=>0010110
[2,4,6,3,8,5,7,1]=>0010101
[2,4,3,6,8,5,7,1]=>0100101
[2,4,3,6,8,5,1,7]=>0100110
[2,4,3,6,8,1,5,7]=>0100100
[2,4,3,6,1,8,5,7]=>0101010
[2,4,3,1,6,8,5,7]=>0110010
[2,4,1,3,6,8,7,5]=>0100011
[2,4,3,6,1,8,7,5]=>0101011
[2,4,3,6,8,1,7,5]=>0100101
[4,6,5,2,8,7,3,1]=>0110111
[4,6,5,2,8,7,1,3]=>0110110
[4,6,2,5,8,7,1,3]=>0100110
[4,6,2,5,8,7,3,1]=>0100111
[2,4,6,3,8,1,7,5]=>0010101
[2,4,6,3,1,8,7,5]=>0011011
[2,4,1,6,3,8,7,5]=>0101011
[2,1,4,6,3,8,7,5]=>1001011
[2,1,4,6,8,3,7,5]=>1000101
[2,4,1,6,8,3,7,5]=>0100101
[2,4,6,1,8,3,7,5]=>0010101
[2,4,6,8,1,3,7,5]=>0001001
[2,4,6,8,3,1,7,5]=>0001101
[4,6,2,8,5,7,3,1]=>0101011
[4,6,2,8,5,7,1,3]=>0101010
[6,2,4,8,7,1,3,5]=>1001100
[6,4,2,8,7,5,3,1]=>1101111
[2,6,4,8,1,7,5,3]=>0101011
[2,6,4,1,8,7,5,3]=>0110111
[2,6,1,4,8,7,5,3]=>0100111
[2,1,6,4,8,7,5,3]=>1010111
[2,1,6,4,8,7,3,5]=>1010110
[2,6,1,4,8,7,3,5]=>0100110
[2,6,4,1,8,7,3,5]=>0110110
[2,6,4,8,1,7,3,5]=>0101010
[6,4,2,8,7,5,1,3]=>1101110
[6,2,4,8,7,3,5,1]=>1001101
[6,2,4,8,7,3,1,5]=>1001110
[1,6,4,7,3,8,2,5]=>0101010
[1,3,7,4,5,8,2,6]=>0010010
[5,2,4,7,3,6,8,1]=>1001001
[1,7,6,3,4,8,2,5]=>0110010
[8,1,6,3,7,2,4,5]=>1010100
[7,1,6,3,8,2,4,5]=>1010100
[1,2,7,4,8,3,5,6]=>0010100
[6,1,7,3,4,8,2,5]=>1010010
[2,1,7,4,5,8,3,6]=>1010010
[5,1,4,7,3,8,2,6]=>1001010
[4,3,1,7,5,8,2,6]=>1101010
[2,8,6,3,7,1,4,5]=>0110100
[6,8,1,3,7,2,4,5]=>0100100
[5,8,2,1,7,3,4,6]=>0110100
[5,7,2,1,8,3,4,6]=>0110100
[6,7,1,3,8,2,4,5]=>0100100
[5,1,2,4,8,3,6,7]=>1000100
[4,3,6,1,5,8,2,7]=>1010010
[2,6,1,4,5,8,3,7]=>0100010
[6,5,1,3,4,8,2,7]=>1100010
[1,6,2,4,8,3,5,7]=>0100100
[8,5,1,3,7,2,4,6]=>1100100
[1,5,3,2,8,4,6,7]=>0110100
[6,4,2,1,5,8,3,7]=>1110010
[2,5,3,4,1,8,6,7]=>0101010
[4,3,5,2,1,8,6,7]=>1011010
[2,6,4,8,7,1,3,5]=>0101100
[1,6,4,8,7,2,3,5]=>0101100
[2,7,8,3,6,1,4,5]=>0010100
[4,3,2,8,7,1,5,6]=>1101100
[5,2,4,8,7,1,3,6]=>1001100
[6,2,8,3,7,1,4,5]=>1010100
[5,1,4,8,7,2,3,6]=>1001100
[4,8,2,5,1,3,7,6]=>0101001
[4,7,2,5,1,3,8,6]=>0101001
[3,7,2,1,5,4,8,6]=>0110101
[3,8,2,1,5,4,7,6]=>0110101
[8,3,2,1,5,4,6,7]=>1110100
[8,3,2,1,6,4,5,7]=>1110100
[8,4,2,5,1,6,3,7]=>1101010
[8,3,2,1,5,6,4,7]=>1110010
[8,3,2,1,4,6,5,7]=>1110010
[3,8,2,1,4,5,7,6]=>0110001
[3,7,2,1,4,5,8,6]=>0110001
[3,2,7,1,4,6,8,5]=>1010001
[3,2,8,1,4,6,7,5]=>1010001
[3,2,8,1,4,7,6,5]=>1010011
[3,8,2,1,4,7,5,6]=>0110010
[3,8,2,1,5,7,4,6]=>0110010
[4,8,2,5,1,7,3,6]=>0101010
[4,7,2,5,1,8,3,6]=>0101010
[3,7,2,1,5,8,4,6]=>0110010
[3,7,2,1,4,8,5,6]=>0110010
[3,2,1,7,5,8,6,4]=>1101011
[3,2,7,1,6,8,4,5]=>1010010
[4,2,7,6,1,8,3,5]=>1011010
[4,3,7,6,8,1,2,5]=>1010100
[4,3,8,6,7,1,2,5]=>1010100
[4,2,8,6,1,7,3,5]=>1011010
[3,2,8,1,6,7,4,5]=>1010010
[3,2,1,8,7,5,6,4]=>1101101
[3,8,2,1,7,4,5,6]=>0110100
[3,2,8,1,7,4,6,5]=>1010101
[3,2,8,1,6,4,7,5]=>1010101
[3,2,7,1,6,4,8,5]=>1010101
[4,2,7,6,1,3,8,5]=>1011001
[4,2,8,6,1,3,7,5]=>1011001
[4,2,8,7,1,3,6,5]=>1011001
[5,7,8,3,4,1,2,6]=>0010100
[4,2,7,8,1,3,6,5]=>1001001
[4,2,6,8,1,3,7,5]=>1001001
[4,2,6,7,1,3,8,5]=>1001001
[3,2,6,1,8,4,7,5]=>1010101
[3,7,2,1,8,4,5,6]=>0110100
[3,7,2,1,8,5,4,6]=>0110110
[4,7,3,8,5,1,2,6]=>0101100
[4,3,7,8,6,1,2,5]=>1001100
[3,2,7,1,8,6,4,5]=>1010110
[3,2,1,6,8,5,7,4]=>1100101
[3,2,6,1,8,7,4,5]=>1010110
[4,2,6,8,1,7,3,5]=>1001010
[4,3,6,8,7,1,2,5]=>1001100
[4,2,6,7,1,8,3,5]=>1001010
[3,2,6,1,7,8,4,5]=>1010010
[3,4,6,8,7,5,1,2]=>0001110
[5,3,6,4,8,7,1,2]=>1010110
[1,4,6,2,7,8,5,3]=>0010011
[3,1,8,5,4,2,6,7]=>1011100
[1,2,7,5,4,8,6,3]=>0011011
[6,3,7,5,4,8,1,2]=>1011010
[7,3,8,5,4,6,1,2]=>1011010
[3,8,7,5,4,6,1,2]=>0111010
[4,3,6,7,8,5,1,2]=>1000110
[4,5,6,3,8,7,1,2]=>0010110
[3,6,8,5,4,7,1,2]=>0011010
[6,8,3,5,4,7,1,2]=>0101010
[7,6,3,5,4,8,1,2]=>1101010
[1,6,2,5,4,8,7,3]=>0101011
[7,1,2,5,8,3,6,4]=>1000101
[1,8,2,5,7,3,6,4]=>0100101
[6,2,1,5,4,8,7,3]=>1101011
[4,1,6,2,8,7,5,3]=>1010111
[7,8,1,2,4,6,5,3]=>0100011
[7,8,3,1,4,2,6,5]=>0110101
[4,3,6,1,8,2,7,5]=>1010101
[2,3,8,5,4,1,6,7]=>0011100
[4,8,1,5,2,3,7,6]=>0101001
[7,5,1,6,4,3,2,8]=>1101110
[5,8,1,6,4,3,2,7]=>0101110
[6,1,5,7,4,3,2,8]=>1001110
[1,5,8,6,4,3,2,7]=>0011110
[3,4,6,1,5,8,2,7]=>0010010
[7,8,4,1,5,3,2,6]=>0110110
[7,8,5,1,6,3,2,4]=>0110110
[2,6,1,5,7,3,8,4]=>0100101
[1,6,8,7,4,3,2,5]=>0011110
[6,8,1,7,4,3,2,5]=>0101110
[5,6,1,7,4,3,2,8]=>0101110
[5,1,7,6,4,3,2,8]=>1011110
[6,1,7,8,4,3,2,5]=>1001110
[7,1,8,6,4,3,2,5]=>1011110
[1,8,7,6,4,3,2,5]=>0111110
[2,1,7,5,6,3,8,4]=>1010101
[3,1,6,7,5,8,2,4]=>1001010
[7,8,1,6,5,3,2,4]=>0101110
[7,8,2,1,4,5,6,3]=>0110001
[2,8,1,5,4,6,7,3]=>0101001
[7,2,1,5,4,6,8,3]=>1101001
[1,2,8,5,6,3,7,4]=>0010101
[6,1,2,5,7,3,8,4]=>1000101
[4,2,1,5,6,3,7,8]=>1100100
[4,3,6,1,5,7,2,8]=>1010010
[5,1,6,3,7,8,2,4]=>1010010
[1,3,6,8,5,7,2,4]=>0001010
[2,4,6,3,7,1,8,5]=>0010101
[1,3,6,4,8,7,2,5]=>0010110
[4,1,6,7,3,8,2,5]=>1001010
[5,4,6,1,3,7,2,8]=>1010010
[6,4,1,5,2,3,7,8]=>1101000
[4,1,7,5,2,3,8,6]=>1011001
[1,2,4,5,8,3,7,6]=>0000101
[7,2,3,5,4,1,8,6]=>1001101
[2,8,3,5,4,1,7,6]=>0101101
[4,2,6,3,8,1,7,5]=>1010101
[7,8,2,3,4,1,6,5]=>0100101
[7,8,1,4,6,3,2,5]=>0100110
[3,1,6,4,7,8,2,5]=>1010010
[1,8,5,7,4,3,2,6]=>0101110
[7,1,5,8,4,3,2,6]=>1001110
[5,1,8,7,4,3,2,6]=>1011110
[6,5,1,8,4,3,2,7]=>1101110
[6,5,7,1,4,3,2,8]=>1010110
[7,5,8,1,4,3,2,6]=>1010110
[5,8,7,1,4,3,2,6]=>0110110
[1,5,7,8,4,3,2,6]=>0001110
[2,4,7,5,1,3,8,6]=>0011001
[7,8,4,6,1,3,2,5]=>0101010
[7,8,5,4,1,3,2,6]=>0111010
[3,5,6,4,1,8,2,7]=>0011010
[2,6,4,5,1,3,8,7]=>0101001
[1,6,5,8,4,3,2,7]=>0101110
[6,8,5,1,4,3,2,7]=>0110110
[7,6,5,1,4,3,2,8]=>1110110
[3,4,6,2,7,1,5,8]=>0010100
[3,6,2,5,4,1,7,8]=>0101100
[3,2,7,5,4,1,6,8]=>1011100
[4,3,6,2,8,1,5,7]=>1010100
[6,1,2,5,4,7,8,3]=>1001001
[6,2,4,5,1,3,7,8]=>1001000
[4,2,8,5,1,3,7,6]=>1011001
[4,3,6,8,1,7,2,5]=>1001010
[5,3,6,4,1,7,2,8]=>1011010
[6,2,1,5,8,3,7,4]=>1100101
[1,6,7,4,8,3,5,2]=>0010101
[1,4,6,3,7,5,8,2]=>0010101
[4,6,7,2,5,8,1,3]=>0010010
[2,4,6,1,7,5,3,8]=>0010110
[2,7,5,4,1,6,3,8]=>0111010
[7,5,4,6,2,8,1,3]=>1101010
[1,7,5,4,3,8,6,2]=>0111011
[1,4,6,3,5,8,7,2]=>0010011
[1,5,8,4,3,6,7,2]=>0011001
[5,4,6,2,7,8,1,3]=>1010010
[2,5,4,1,6,7,3,8]=>0110010
[5,6,3,2,7,1,4,8]=>0110100
[5,6,3,2,7,1,8,4]=>0110101
[8,5,6,3,2,7,1,4]=>1011010
[5,4,6,2,8,1,7,3]=>1010101
[2,4,1,7,8,5,3,6]=>0100110
[2,5,4,1,6,3,8,7]=>0110101
[5,6,3,2,1,8,4,7]=>0111010
[3,5,2,1,6,4,7,8]=>0110100
[6,8,4,3,2,1,5,7]=>0111100
[5,3,8,2,1,6,4,7]=>1011010
[3,7,5,8,2,1,4,6]=>0101100
[7,3,2,8,5,1,6,4]=>1101101
[8,4,6,3,2,1,7,5]=>1011101
[8,6,4,3,2,1,7,5]=>1111101
[7,6,4,3,2,1,8,5]=>1111101
[7,8,4,3,2,1,6,5]=>0111101
[5,4,7,2,1,8,6,3]=>1011011
[7,5,8,3,2,6,1,4]=>1011010
[5,7,3,2,1,6,8,4]=>0111001
[5,7,3,2,1,6,4,8]=>0111010
[6,3,7,2,5,1,8,4]=>1010101
[6,7,8,3,5,2,1,4]=>0010110
[6,2,5,7,8,4,1,3]=>1000110
[2,1,5,7,8,6,3,4]=>1000110
[3,6,7,2,8,1,4,5]=>0010100
[6,3,7,2,8,1,4,5]=>1010100
[3,2,6,1,7,4,5,8]=>1010100
[3,5,2,1,4,7,6,8]=>0110010
[7,3,5,2,1,8,4,6]=>1011010
[2,5,4,1,3,7,8,6]=>0110001
[2,5,8,4,1,3,7,6]=>0011001
[2,4,1,7,8,3,6,5]=>0100101
[3,7,2,8,6,1,4,5]=>0101100
[3,6,8,2,1,7,4,5]=>0011010
[5,3,8,2,1,4,7,6]=>1011001
[4,8,7,3,2,1,5,6]=>0111100
[4,7,3,2,1,5,6,8]=>0111000
[8,4,7,3,2,1,5,6]=>1011100
[8,3,5,2,1,4,7,6]=>1011001
[7,3,2,8,6,1,4,5]=>1101100
[3,5,2,1,4,6,8,7]=>0110001
[7,8,3,5,4,6,1,2]=>0101010
[8,6,3,7,5,2,4,1]=>1101101
[5,4,1,6,3,2,8,7]=>1101101
[5,4,1,6,2,3,8,7]=>1101001
[5,7,1,6,2,8,3,4]=>0101010
[5,7,1,6,2,8,4,3]=>0101011
[2,7,6,5,1,8,3,4]=>0111010
[2,7,6,5,1,8,4,3]=>0111011
[2,3,6,5,1,4,8,7]=>0011001
[2,3,6,4,1,5,8,7]=>0011001
[2,3,6,1,5,4,8,7]=>0010101
[2,7,6,1,4,8,5,3]=>0110011
[2,7,6,1,4,8,3,5]=>0110010
[7,3,5,1,8,4,2,6]=>1010110
[7,3,5,1,8,6,4,2]=>1010111
[2,7,6,1,5,8,4,3]=>0110011
[2,7,6,4,1,8,5,3]=>0111011
[2,1,7,6,3,8,5,4]=>1011011
[2,1,7,6,3,8,4,5]=>1011010
[5,7,3,6,2,8,4,1]=>0101011
[2,7,6,4,1,8,3,5]=>0111010
[7,3,5,1,8,6,2,4]=>1010110
[6,3,5,1,8,2,4,7]=>1010100
[2,3,4,8,7,6,1,5]=>0001110
[2,3,4,8,5,7,1,6]=>0001010
[7,3,5,4,8,1,2,6]=>1010100
[6,4,3,5,8,7,2,1]=>1100111
[2,1,4,5,8,7,3,6]=>1000110
[6,4,3,5,8,7,1,2]=>1100110
[7,3,5,4,8,1,6,2]=>1010101
[2,3,4,8,7,5,6,1]=>0001101
[2,3,4,8,7,5,1,6]=>0001110
[2,7,6,5,4,8,1,3]=>0111010
[7,3,5,6,8,4,1,2]=>1000110
[7,3,5,6,8,1,4,2]=>1000101
[7,3,5,6,8,1,2,4]=>1000100
[6,4,1,5,8,7,2,3]=>1100110
[6,4,1,5,8,7,3,2]=>1100111
[6,4,1,5,8,3,7,2]=>1100101
[5,7,1,6,3,8,2,4]=>0101010
[6,4,1,5,8,3,2,7]=>1100110
[7,4,1,5,8,2,3,6]=>1100100
[7,4,1,5,8,2,6,3]=>1100101
[6,3,5,7,8,2,1,4]=>1000110
[6,3,5,7,8,2,4,1]=>1000101
[2,7,6,4,5,8,3,1]=>0110011
[5,7,3,6,1,8,4,2]=>0101011
[2,1,4,5,8,6,3,7]=>1000110
[7,3,5,4,8,6,2,1]=>1010111
[2,3,4,8,5,6,1,7]=>0001010
[2,3,4,8,7,1,6,5]=>0001101
[2,3,4,8,1,7,6,5]=>0001011
[2,3,4,8,1,6,7,5]=>0001001
[2,3,4,8,5,1,7,6]=>0001101
[6,3,5,4,8,2,7,1]=>1010101
[7,4,3,5,8,2,1,6]=>1100110
[2,1,4,5,8,3,7,6]=>1000101
[7,4,3,5,8,2,6,1]=>1100101
[6,3,5,4,8,2,1,7]=>1010110
[2,3,4,8,5,1,6,7]=>0001100
[2,3,4,8,1,6,5,7]=>0001010
[2,3,4,8,1,5,7,6]=>0001001
[7,8,2,6,1,5,3,4]=>0101010
[7,8,1,6,2,5,3,4]=>0101010
[1,8,6,7,2,5,3,4]=>0101010
[1,8,5,7,2,6,3,4]=>0101010
[5,8,1,7,2,6,3,4]=>0101010
[5,8,2,7,1,6,3,4]=>0101010
[2,8,6,7,1,5,3,4]=>0101010
[2,8,5,7,1,6,3,4]=>0101010
[2,8,1,7,5,6,3,4]=>0101010
[1,8,2,7,5,6,3,4]=>0101010
[1,8,2,7,4,6,3,5]=>0101010
[2,8,1,7,4,6,3,5]=>0101010
[2,8,4,7,1,6,3,5]=>0101010
[4,8,2,7,1,6,3,5]=>0101010
[4,8,1,7,2,6,3,5]=>0101010
[1,8,4,7,2,6,3,5]=>0101010
[4,8,1,7,5,6,2,3]=>0101010
[1,8,4,7,5,6,2,3]=>0101010
[1,8,3,7,5,6,2,4]=>0101010
[3,8,1,7,5,6,2,4]=>0101010
[3,8,1,7,4,6,2,5]=>0101010
[1,8,3,7,4,6,2,5]=>0101010
[1,8,3,7,2,6,4,5]=>0101010
[3,8,1,7,2,6,4,5]=>0101010
[3,8,2,7,1,6,4,5]=>0101010
[3,8,2,7,4,6,1,5]=>0101010
[3,8,2,7,5,6,1,4]=>0101010
[4,8,2,7,5,6,1,3]=>0101010
[4,8,3,7,5,6,1,2]=>0101010
[3,8,4,7,5,6,1,2]=>0101010
[2,8,4,7,5,6,1,3]=>0101010
[2,8,3,7,5,6,1,4]=>0101010
[2,8,3,7,4,6,1,5]=>0101010
[2,8,3,7,1,6,4,5]=>0101010
[2,8,1,7,3,6,4,5]=>0101010
[7,5,2,8,6,4,1,3]=>1101110
[7,5,1,8,6,2,3,4]=>1101100
[7,4,8,6,1,5,2,3]=>1011010
[7,1,8,4,5,2,6,3]=>1010101
[6,8,1,7,4,2,5,3]=>0101101
[1,6,7,4,2,8,5,3]=>0011011
[1,6,7,3,8,5,2,4]=>0010110
[7,1,8,3,5,6,2,4]=>1010010
[7,3,8,6,2,5,1,4]=>1011010
[7,4,2,8,6,1,3,5]=>1101100
[7,3,1,8,4,2,5,6]=>1101100
[7,2,8,4,1,5,3,6]=>1011010
[7,2,8,3,5,1,6,4]=>1010101
[7,2,8,3,4,6,1,5]=>1010010
[1,5,7,8,2,6,3,4]=>0001010
[6,2,3,8,5,7,4,1]=>1001011
[6,2,4,8,5,3,1,7]=>1001110
[6,3,1,4,8,5,2,7]=>1100110
[2,6,3,7,8,5,4,1]=>0100111
[2,6,3,7,8,4,5,1]=>0100101
[2,4,7,3,5,6,8,1]=>0010001
[2,4,7,3,6,8,5,1]=>0010011
[2,5,3,7,8,1,6,4]=>0100101
[3,1,5,4,7,8,2,6]=>1010010
[5,3,1,4,8,2,6,7]=>1100100
[5,2,4,8,6,1,3,7]=>1001100
[5,2,3,8,4,6,7,1]=>1001001
[4,8,2,3,6,1,7,5]=>0100101
[4,8,2,3,5,7,1,6]=>0100010
[1,4,7,8,3,6,2,5]=>0001010
[4,8,1,3,6,7,2,5]=>0100010
[5,3,8,2,4,7,1,6]=>1010010
[5,4,3,8,1,2,7,6]=>1101001
[6,4,2,8,1,3,7,5]=>1101001
[6,3,8,2,5,1,7,4]=>1010101
[6,3,8,1,4,7,2,5]=>1010010
[5,8,1,3,6,2,7,4]=>0100101
[1,5,7,4,2,6,8,3]=>0011001
[5,8,1,4,2,6,3,7]=>0101010
[5,8,4,1,2,7,6,3]=>0110011
[6,5,1,2,8,7,3,4]=>1100110
[6,5,3,1,4,2,8,7]=>1110101
[5,3,1,6,4,2,7,8]=>1101100
[5,2,6,4,1,7,3,8]=>1011010
[4,6,1,7,5,2,8,3]=>0101101
[4,5,1,7,2,6,3,8]=>0101010
[3,5,6,1,2,8,7,4]=>0010011
[3,5,7,1,8,6,2,4]=>0010110
[3,6,2,7,5,1,8,4]=>0101101
[4,2,5,7,1,8,6,3]=>1001011
[3,4,7,2,8,6,1,5]=>0010110
[3,4,5,8,2,7,1,6]=>0001010
[3,4,6,2,8,1,5,7]=>0010100
[3,5,2,6,8,1,7,4]=>0100101
[4,2,5,6,1,3,8,7]=>1001001
[4,3,1,2,5,6,8,7]=>1100001
[5,3,6,8,4,7,2,1]=>1001011
[3,7,2,5,4,8,6,1]=>0101011
[8,4,2,5,7,3,6,1]=>1100101
[3,1,6,5,4,8,2,7]=>1011010
[4,1,6,5,8,3,2,7]=>1010110
[5,1,6,8,4,3,2,7]=>1001110
[8,5,4,7,6,3,2,1]=>1101111
[2,7,1,5,4,3,8,6]=>0101101
[8,2,1,5,4,3,7,6]=>1101101
[8,4,1,5,7,3,2,6]=>1100110
[8,4,6,1,7,3,2,5]=>1010110
[8,3,6,1,4,7,2,5]=>1010010
[2,7,6,1,4,3,8,5]=>0110101
[6,7,8,5,1,3,2,4]=>0011010
[5,7,2,8,4,3,6,1]=>0101101
[6,7,8,2,4,3,5,1]=>0010101
[4,7,6,2,8,3,5,1]=>0110101
[8,3,6,2,4,7,5,1]=>1010011
[3,7,6,2,4,8,5,1]=>0110011
[5,7,3,8,4,6,2,1]=>0101011
[4,7,3,5,8,6,2,1]=>0100111
[8,7,2,1,4,3,6,5]=>1110101
[8,7,3,1,4,6,2,5]=>1110010
[8,7,6,3,2,5,4,1]=>1111011
[8,7,3,5,1,6,2,4]=>1101010
[8,7,2,5,1,3,6,4]=>1101001
[8,4,6,5,7,1,2,3]=>1010100
[4,7,6,5,8,1,2,3]=>0110100
[3,7,6,5,1,8,2,4]=>0111010
[3,6,4,8,7,5,1,2]=>0101110
[5,6,4,3,8,7,1,2]=>0110110
[1,6,2,4,7,8,5,3]=>0100011
[3,6,2,4,8,1,5,7]=>0100100
[3,4,7,2,8,1,6,5]=>0010101
[1,4,7,2,5,8,6,3]=>0010011
[7,3,8,4,5,6,1,2]=>1010010
[3,5,6,4,8,7,1,2]=>0010110
[4,6,8,5,3,7,1,2]=>0011010
[6,8,5,3,4,7,1,2]=>0110010
[1,6,5,4,2,8,7,3]=>0111011
[1,8,5,2,7,3,6,4]=>0110101
[4,2,7,5,1,8,6,3]=>1011011
[7,8,1,4,2,6,5,3]=>0101011
[1,3,6,4,8,2,5,7]=>0010100
[4,1,7,5,3,2,6,8]=>1011100
[6,5,1,3,4,2,8,7]=>1100101
[4,8,5,3,1,7,2,6]=>0111010
[7,4,5,3,2,8,1,6]=>1011010
[5,8,3,6,1,4,2,7]=>0101010
[2,5,8,6,4,1,3,7]=>0011100
[1,4,6,2,5,8,3,7]=>0010010
[3,6,2,5,8,1,7,4]=>0100101
[1,6,8,7,4,2,3,5]=>0011100
[6,1,7,8,2,4,3,5]=>1001010
[7,1,8,6,3,4,2,5]=>1011010
[7,2,1,4,5,6,8,3]=>1100001
[1,2,8,3,6,5,7,4]=>0010101
[6,1,3,2,7,5,8,4]=>1010101
[1,6,3,8,5,7,2,4]=>0101010
[2,6,4,1,7,5,8,3]=>0110101
[7,6,5,8,1,4,2,3]=>1101010
[5,8,6,7,3,2,1,4]=>0101110
[1,6,4,3,7,2,8,5]=>0110101
[2,6,3,4,8,7,1,5]=>0100110
[7,1,3,4,5,2,8,6]=>1000101
[1,8,3,5,4,2,7,6]=>0101101
[4,1,6,3,8,2,7,5]=>1010101
[7,8,2,4,6,3,1,5]=>0100110
[3,2,6,4,7,8,1,5]=>1010010
[2,8,5,7,4,3,1,6]=>0101110
[7,2,5,8,3,4,1,6]=>1001010
[5,3,8,7,1,2,6,4]=>1011001
[6,5,3,8,2,1,7,4]=>1101101
[7,5,8,4,1,2,3,6]=>1011000
[5,8,7,4,1,3,2,6]=>0111010
[3,5,7,8,4,1,2,6]=>0001100
[1,4,7,5,3,8,2,6]=>0011010
[2,4,6,7,3,1,8,5]=>0001101
[7,8,4,6,3,1,2,5]=>0101100
[2,6,4,5,3,8,1,7]=>0101010
[3,6,5,8,4,2,1,7]=>0101110
[5,6,8,4,2,3,1,7]=>0011010
[6,8,5,4,3,1,2,7]=>0111100
[6,1,4,2,8,5,7,3]=>1010101
[4,8,6,5,3,2,7,1]=>0111101
[8,6,5,1,2,4,7,3]=>1110001
[6,7,5,8,2,1,4,3]=>0101101
[1,7,5,8,2,6,4,3]=>0101011
[1,3,8,5,7,6,2,4]=>0010110
[6,3,8,5,7,1,2,4]=>1010100
[8,3,1,5,6,2,7,4]=>1100101
[6,8,5,2,1,4,7,3]=>0111001
[3,8,2,5,6,1,7,4]=>0100101
[2,8,1,5,6,3,7,4]=>0100101
[8,1,2,5,6,3,7,4]=>1000101
[1,8,2,5,7,6,3,4]=>0100110
[5,1,8,6,2,7,3,4]=>1011010
[2,5,8,6,1,7,3,4]=>0011010
[8,6,1,5,7,2,3,4]=>1100100
[3,8,6,5,7,1,2,4]=>0110100
[7,6,5,8,1,2,4,3]=>1101001
[5,1,7,6,8,4,2,3]=>1010110
[5,1,3,7,8,6,2,4]=>1000110
[7,2,5,8,1,6,4,3]=>1001011
[3,2,8,5,7,6,1,4]=>1010110
[8,2,1,5,7,6,3,4]=>1100110
[5,2,8,6,1,7,3,4]=>1011010
[1,2,8,6,5,7,3,4]=>0011010
[4,2,1,3,6,7,8,5]=>1100001
[8,2,5,6,3,7,1,4]=>1001010
[7,2,6,5,4,1,8,3]=>1011101
[6,1,3,5,4,7,8,2]=>1001001
[6,1,5,3,4,7,8,2]=>1010001
[7,5,6,2,4,1,8,3]=>1010101
[8,5,2,6,3,7,1,4]=>1101010
[4,3,1,2,6,7,8,5]=>1100001
[8,1,6,5,7,3,2,4]=>1010110
[3,5,8,6,2,7,1,4]=>0011010
[5,8,1,6,3,7,2,4]=>0101010
[1,8,5,6,3,7,2,4]=>0101010
[1,7,6,5,4,2,8,3]=>0111101
[5,7,6,1,4,2,8,3]=>0110101
[7,1,4,2,6,5,8,3]=>1010101
[4,1,7,3,5,6,8,2]=>1010001
[2,7,4,1,5,6,8,3]=>0110001
[5,7,6,4,1,2,8,3]=>0111001
[4,7,6,1,5,2,8,3]=>0110101
[1,7,6,4,5,2,8,3]=>0110101
[1,8,3,6,5,7,2,4]=>0101010
[3,8,1,6,5,7,2,4]=>0101010
[8,1,3,5,7,6,2,4]=>1000110
[7,8,5,4,1,6,2,3]=>0111010
[6,1,5,4,3,7,8,2]=>1011001
[7,5,6,4,2,1,8,3]=>1011101
[8,3,2,6,5,7,1,4]=>1101010
[7,4,6,2,5,1,8,3]=>1010101
[6,1,4,3,5,7,8,2]=>1010001
[6,1,3,4,5,7,8,2]=>1000001
[7,2,6,4,5,1,8,3]=>1010101
[8,2,3,6,5,7,1,4]=>1001010
[5,4,7,3,6,8,1,2]=>1010010
[3,4,7,8,5,6,1,2]=>0001010
[3,4,7,2,5,1,6,8]=>0010100
[1,4,7,2,5,8,3,6]=>0010010
[3,6,2,4,7,1,5,8]=>0100100
[6,8,3,4,5,7,1,2]=>0100010
[4,3,6,7,5,8,1,2]=>1001010
[6,3,7,5,8,4,1,2]=>1010110
[7,3,8,6,4,5,1,2]=>1011010
[3,2,7,6,5,1,4,8]=>1011100
[1,2,7,6,5,8,3,4]=>0011010
[4,8,2,6,1,5,3,7]=>0101010
[2,3,8,6,4,1,5,7]=>0011100
[4,3,6,2,5,1,8,7]=>1010101
[7,8,3,2,5,1,4,6]=>0110100
[7,8,1,2,5,6,3,4]=>0100010
[4,1,6,2,5,7,3,8]=>1010010
[6,1,2,5,8,7,3,4]=>1000110
[2,1,8,6,4,7,3,5]=>1011010
[7,1,3,6,8,4,2,5]=>1000110
[1,8,3,6,7,4,5,2]=>0100101
[7,1,5,8,3,6,2,4]=>1001010
[5,1,8,7,2,3,6,4]=>1011001
[6,1,5,7,4,2,8,3]=>1001101
[3,1,6,4,7,2,5,8]=>1010100
[2,4,7,5,1,8,3,6]=>0011010
[6,5,7,1,4,2,3,8]=>1010100
[5,6,8,1,3,2,4,7]=>0010100
[6,8,5,1,3,4,2,7]=>0110010
[2,8,3,4,5,1,7,6]=>0100101
[6,2,4,3,1,5,7,8]=>1011000
[4,2,8,3,1,7,5,6]=>1011010
[1,3,7,4,8,2,5,6]=>0010100
[5,3,7,4,1,6,2,8]=>1011010
[2,4,7,3,6,1,8,5]=>0010101
[5,8,7,6,3,1,2,4]=>0111100
[7,5,6,8,1,4,3,2]=>1001011
[2,4,7,1,6,5,3,8]=>0010110
[1,2,7,8,5,4,3,6]=>0001110
[6,3,1,2,8,4,5,7]=>1100100
[4,2,1,3,6,5,8,7]=>1100101
[2,8,1,4,5,6,3,7]=>0100010
[7,2,1,5,4,6,3,8]=>1101010
[4,2,6,1,8,5,3,7]=>1010110
[7,8,2,1,4,5,3,6]=>0110010
[7,8,4,1,5,3,6,2]=>0110101
[3,4,6,1,5,8,7,2]=>0010011
[7,5,1,6,4,3,8,2]=>1101101
[5,8,1,6,3,4,7,2]=>0101001
[6,5,1,8,2,7,4,3]=>1101011
[6,8,1,7,5,2,3,4]=>0101100
[7,6,1,8,5,3,2,4]=>1101110
[5,6,1,7,4,8,2,3]=>0101010
[3,6,1,5,7,4,2,8]=>0100110
[2,5,6,1,7,4,8,3]=>0010101
[3,1,7,5,6,4,8,2]=>1010101
[5,1,7,6,4,8,3,2]=>1011011
[6,1,7,8,5,3,4,2]=>1001101
[7,1,8,6,5,4,2,3]=>1011110
[2,6,5,7,3,4,8,1]=>0101001
[1,6,4,7,5,8,2,3]=>0101010
[8,5,3,6,2,7,4,1]=>1101011
[1,3,7,4,6,8,2,5]=>0010010
[4,7,5,6,3,2,8,1]=>0101101
[1,7,6,5,4,8,2,3]=>0111010
[8,1,6,5,7,2,4,3]=>1010101
[1,2,7,6,8,3,4,5]=>0010100
[6,1,7,5,3,8,2,4]=>1011010
[2,1,7,5,6,8,3,4]=>1010010
[5,4,1,7,6,8,2,3]=>1101010
[4,8,5,6,2,7,3,1]=>0101011
[3,8,6,4,2,7,5,1]=>0111011
[7,8,5,2,4,6,3,1]=>0110011
[2,8,6,3,7,4,5,1]=>0110101
[7,8,1,6,2,4,5,3]=>0101001
[6,8,1,4,7,2,5,3]=>0100101
[3,8,4,1,7,2,6,5]=>0110101
[5,4,7,1,8,3,2,6]=>1010110
[3,7,4,1,8,5,2,6]=>0110110
[6,7,1,4,8,3,2,5]=>0100110
[2,7,1,8,4,5,3,6]=>0101010
[6,1,2,8,4,3,5,7]=>1001100
[6,5,1,4,3,8,2,7]=>1101010
[1,6,2,5,8,3,4,7]=>0100100
[8,5,1,3,7,2,6,4]=>1100101
[8,4,2,1,7,3,6,5]=>1110101
[7,4,2,1,8,5,3,6]=>1110110
[1,5,4,2,8,3,6,7]=>0110100
[6,4,3,1,5,8,2,7]=>1110010
[3,7,6,8,4,5,2,1]=>0101011
[2,7,6,8,5,3,4,1]=>0101101
[1,7,6,8,5,4,2,3]=>0101110
[1,4,8,6,7,5,2,3]=>0010110
[2,4,8,6,7,3,5,1]=>0010101
[7,3,8,5,4,6,2,1]=>1011011
[3,4,8,5,6,7,2,1]=>0010011
[6,3,5,8,4,7,2,1]=>1001011
[5,4,3,8,6,7,2,1]=>1101011
[5,4,2,8,7,3,6,1]=>1101101
[6,2,5,8,7,3,4,1]=>1001101
[3,2,8,5,7,4,6,1]=>1010101
[1,3,8,7,5,6,2,4]=>0011010
[2,1,8,7,4,6,3,5]=>1011010
[3,1,8,5,7,6,2,4]=>1010110
[6,1,5,8,7,4,2,3]=>1001110
[5,4,1,8,7,6,2,3]=>1101110
[5,8,6,7,4,3,2,1]=>0101111
[4,8,7,5,6,3,2,1]=>0110111
[4,2,1,6,3,5,8,7]=>1101001
[6,2,1,4,3,5,8,7]=>1101001
[6,2,1,4,3,8,5,7]=>1101010
[8,2,1,4,3,6,5,7]=>1101010
[8,2,4,1,3,6,5,7]=>1010010
[6,2,4,1,3,8,5,7]=>1010010
[6,2,4,1,3,5,8,7]=>1010001
[4,2,6,1,3,5,8,7]=>1010001
[2,1,6,4,3,5,8,7]=>1011001
[2,6,1,4,3,5,8,7]=>0101001
[2,6,4,1,3,5,8,7]=>0110001
[4,6,2,1,3,5,8,7]=>0110001
[6,4,2,1,3,5,8,7]=>1110001
[8,4,2,1,3,6,5,7]=>1110010
[8,4,2,1,6,3,5,7]=>1110100
[6,4,2,1,8,3,5,7]=>1110100
[4,6,2,1,8,3,5,7]=>0110100
[2,6,1,4,3,8,5,7]=>0101010
[2,1,6,4,3,8,5,7]=>1011010
[2,1,8,4,3,6,5,7]=>1011010
[2,8,1,4,3,6,5,7]=>0101010
[2,8,4,1,3,6,5,7]=>0110010
[4,8,2,1,3,6,5,7]=>0110010
[4,8,2,1,6,3,5,7]=>0110100
[6,8,2,1,4,3,5,7]=>0110100
[8,6,2,1,4,3,5,7]=>1110100
[2,8,1,4,6,3,5,7]=>0100100
[2,1,8,4,6,3,5,7]=>1010100
[2,1,6,4,8,3,5,7]=>1010100
[2,6,1,4,8,3,5,7]=>0100100
[2,6,4,1,8,3,5,7]=>0110100
[2,6,4,8,1,3,5,7]=>0101000
[4,6,2,8,1,3,5,7]=>0101000
[4,2,6,1,3,8,5,7]=>1010010
[4,2,6,1,8,3,5,7]=>1010100
[6,2,4,1,8,3,5,7]=>1010100
[8,2,4,1,6,3,5,7]=>1010100
[8,2,1,4,6,3,5,7]=>1100100
[6,2,1,4,8,3,5,7]=>1100100
[4,2,1,6,8,3,5,7]=>1100100
[4,2,1,6,3,8,5,7]=>1101010
[4,2,1,3,6,8,5,7]=>1100010
[2,1,4,3,8,6,5,7]=>1010110
[2,4,1,3,8,6,5,7]=>0100110
[4,2,1,3,8,6,5,7]=>1100110
[4,2,1,8,3,6,5,7]=>1101010
[4,2,1,8,6,3,5,7]=>1101100
[6,2,1,8,4,3,5,7]=>1101100
[8,2,1,6,4,3,5,7]=>1101100
[8,2,6,1,4,3,5,7]=>1010100
[6,2,8,1,4,3,5,7]=>1010100
[4,2,8,1,6,3,5,7]=>1010100
[4,2,8,1,3,6,5,7]=>1010010
[2,4,8,1,3,6,5,7]=>0010010
[2,4,1,8,3,6,5,7]=>0101010
[2,1,4,8,3,6,5,7]=>1001010
[2,1,4,8,6,3,5,7]=>1001100
[2,4,8,1,6,3,5,7]=>0010100
[2,4,8,6,1,3,5,7]=>0011000
[4,2,8,6,1,3,5,7]=>1011000
[6,2,8,4,1,3,5,7]=>1011000
[8,2,6,4,1,3,5,7]=>1011000
[8,4,6,2,1,3,5,7]=>1011000
[6,4,8,2,1,3,5,7]=>1011000
[4,6,8,2,1,3,5,7]=>0011000
[2,6,8,4,1,3,5,7]=>0011000
[2,6,8,1,4,3,5,7]=>0010100
[2,6,1,8,4,3,5,7]=>0101100
[2,1,6,8,4,3,5,7]=>1001100
[2,1,8,6,4,3,5,7]=>1011100
[2,8,1,6,4,3,5,7]=>0101100
[2,8,6,4,1,3,5,7]=>0111000
[4,8,6,2,1,3,5,7]=>0111000
[6,8,4,2,1,3,5,7]=>0111000
[3,2,6,1,5,4,8,7]=>1010101
[5,2,4,3,8,1,7,6]=>1010101
[6,2,4,1,5,3,8,7]=>1010101
[4,3,6,1,5,2,8,7]=>1010101
[4,3,5,2,8,1,7,6]=>1010101
[4,3,7,2,6,5,8,1]=>1010101
[4,3,8,2,6,1,7,5]=>1010101
[4,3,8,1,7,2,6,5]=>1010101
[4,3,8,1,5,2,7,6]=>1010101
[5,1,8,3,4,2,7,6]=>1010101
[5,4,8,1,3,2,7,6]=>1010101
[2,1,5,4,8,3,7,6]=>1010101
[5,1,7,6,8,3,4,2]=>1010101
[4,3,7,6,8,1,5,2]=>1010101
[4,3,7,1,8,5,6,2]=>1010101
[4,3,6,5,8,1,7,2]=>1010101
[6,3,5,4,7,2,8,1]=>1010101
[6,3,5,4,8,1,7,2]=>1010101
[7,1,6,3,8,4,5,2]=>1010101
[7,4,6,5,8,1,3,2]=>1010101
[2,1,8,4,6,3,7,5]=>1010101
[8,4,6,1,3,2,7,5]=>1010101
[8,1,6,3,4,2,7,5]=>1010101
[8,1,6,3,7,2,5,4]=>1010101
[8,3,5,1,7,2,6,4]=>1010101
[8,3,5,2,6,1,7,4]=>1010101
[7,3,5,2,6,4,8,1]=>1010101
[8,2,6,3,5,1,7,4]=>1010101
[8,2,7,1,5,3,6,4]=>1010101
[8,2,4,1,5,3,7,6]=>1010101
[8,2,4,1,7,3,6,5]=>1010101
[8,2,4,3,6,1,7,5]=>1010101
[3,2,8,4,6,1,7,5]=>1010101
[3,2,8,1,5,4,7,6]=>1010101
[3,2,7,6,8,1,5,4]=>1010101
[3,2,7,1,8,5,6,4]=>1010101
[3,2,6,5,8,1,7,4]=>1010101
[6,5,7,2,4,3,8,1]=>1010101
[6,5,8,2,4,1,7,3]=>1010101
[7,2,4,1,8,5,6,3]=>1010101
[7,6,8,2,4,1,5,3]=>1010101
[7,6,8,1,5,2,4,3]=>1010101
[2,1,7,3,8,5,6,4]=>1010101
[7,1,3,2,8,5,6,4]=>1010101
[7,1,8,5,6,2,4,3]=>1010101
[7,1,8,2,6,4,5,3]=>1010101
[7,2,8,1,5,4,6,3]=>1010101
[6,2,7,4,5,3,8,1]=>1010101
[5,4,7,2,6,3,8,1]=>1010101
[5,4,8,2,6,1,7,3]=>1010101
[6,5,8,1,7,2,4,3]=>1010101
[2,1,6,5,8,3,7,4]=>1010101
[6,5,7,4,8,1,3,2]=>1010101
[6,5,7,1,8,3,4,2]=>1010101
[6,1,7,4,8,3,5,2]=>1010101
[5,4,7,1,8,3,6,2]=>1010101
[5,4,6,3,8,1,7,2]=>1010101
[2,8,3,1,5,4,6,7]=>0110100
[2,5,3,4,7,1,8,6]=>0100101
[2,4,8,3,5,7,6,1]=>0010011
[4,2,5,3,1,8,6,7]=>1011010
[4,2,1,8,5,3,6,7]=>1101100
[5,4,1,3,8,2,6,7]=>1100100
[5,1,4,8,3,2,6,7]=>1001100
[1,5,8,4,3,2,6,7]=>0011100
[1,8,5,4,3,2,6,7]=>0111100
[1,7,4,3,8,5,2,6]=>0110110
[1,5,7,3,8,4,2,6]=>0010110
[5,1,4,7,8,3,2,6]=>1000110
[4,8,1,5,7,3,6,2]=>0100101
[8,1,5,3,7,4,6,2]=>1010101
[3,8,4,7,6,5,2,1]=>0101111
[1,6,8,5,3,7,4,2]=>0011011
[6,8,1,7,4,3,5,2]=>0101101
[6,4,8,1,7,3,5,2]=>1010101
[6,4,8,7,1,5,2,3]=>1011010
[7,6,4,1,3,8,2,5]=>1110010
[1,7,5,6,3,2,8,4]=>0101101
[4,2,1,7,8,5,3,6]=>1100110
[2,7,4,6,3,1,8,5]=>0101101
[2,6,8,4,3,7,5,1]=>0011011
[6,2,4,8,3,7,5,1]=>1001011
[7,2,6,3,4,1,8,5]=>1010101
[2,6,7,3,1,4,8,5]=>0011001
[2,7,1,8,3,5,4,6]=>0101010
[2,1,7,3,5,8,4,6]=>1010010
[8,7,1,3,6,2,4,5]=>1100100
[8,2,1,7,3,5,6,4]=>1101001
[7,8,2,6,3,1,5,4]=>0101101
[8,7,2,6,3,5,4,1]=>1101011
[1,2,8,7,4,5,6,3]=>0011001
[8,3,7,1,5,6,2,4]=>1010010
[8,6,1,2,7,5,3,4]=>1100110
[8,1,6,2,7,4,5,3]=>1010101
[1,8,5,2,6,7,4,3]=>0110011
[5,2,1,8,6,7,4,3]=>1101011
[2,8,5,7,6,4,3,1]=>0101111
[1,7,8,5,2,6,4,3]=>0011011
[7,8,1,6,4,2,5,3]=>0101101
[7,8,6,1,5,3,2,4]=>0110110
[7,3,8,6,1,5,2,4]=>1011010
[8,7,6,1,5,3,4,2]=>1110101
[8,7,1,6,4,5,3,2]=>1101011
[8,1,7,5,6,4,3,2]=>1010111
[1,8,6,7,5,4,3,2]=>0101111
[6,3,5,2,1,4,8,7]=>1011001
[6,3,5,7,2,8,4,1]=>1001011
[8,5,2,7,4,3,1,6]=>1101110
[4,5,3,6,1,2,8,7]=>0101001
[3,5,1,4,6,2,8,7]=>0100101
[8,3,4,5,7,2,1,6]=>1000110
[5,7,4,6,3,8,2,1]=>0101011
[2,8,4,6,3,7,1,5]=>0101010
[8,1,4,7,3,6,2,5]=>1001010
[8,3,4,7,5,1,2,6]=>1001100
[8,5,1,4,7,3,2,6]=>1100110
[8,5,3,7,1,4,2,6]=>1101010
[2,1,8,5,7,4,3,6]=>1010110
[6,5,3,7,1,8,4,2]=>1101011
[6,5,1,4,7,8,3,2]=>1100011
[6,3,4,7,5,8,1,2]=>1001010
[5,1,4,6,8,3,7,2]=>1000101
[4,7,1,3,5,8,6,2]=>0100011
[4,8,3,7,1,2,6,5]=>0101001
[3,8,6,4,1,7,2,5]=>0111010
[3,8,1,2,5,7,6,4]=>0100011
[2,8,7,5,4,1,3,6]=>0111100
[8,7,2,6,4,1,3,5]=>1101100
[3,8,6,7,4,2,1,5]=>0101110
[5,7,6,8,4,2,3,1]=>0101101
[5,3,7,8,2,4,6,1]=>1001001
[8,3,6,2,1,4,7,5]=>1011001
[5,3,7,6,2,1,8,4]=>1011101
[5,3,6,2,8,7,1,4]=>1010110
[5,7,8,6,4,2,1,3]=>0011110
[2,6,7,5,4,8,1,3]=>0011010
[6,1,7,4,5,8,2,3]=>1010010
[6,7,3,5,1,8,2,4]=>0101010
[2,1,6,7,5,8,3,4]=>1001010
[2,1,5,7,3,6,8,4]=>1001001
[5,7,3,6,1,2,8,4]=>0101001
[4,1,7,2,5,6,8,3]=>1010001
[2,4,7,1,6,5,8,3]=>0010101
[4,6,2,1,8,7,5,3]=>0110111
[3,4,6,2,7,8,5,1]=>0010011
[4,6,1,2,5,8,7,3]=>0100011
[5,6,1,4,8,2,7,3]=>0100101
[5,6,3,1,8,7,2,4]=>0110110
[3,5,6,4,7,1,8,2]=>0010101
[3,4,6,1,5,7,8,2]=>0010001
[3,4,1,5,7,6,8,2]=>0100101
[3,8,2,7,1,6,5,4]=>0101011
[3,8,2,7,6,1,5,4]=>0101101
[3,8,2,7,6,5,1,4]=>0101110
[3,8,2,7,6,5,4,1]=>0101111
[4,8,7,2,6,5,3,1]=>0110111
[4,8,7,2,6,5,1,3]=>0110110
[4,8,7,2,6,1,5,3]=>0110101
[4,8,7,2,1,6,5,3]=>0111011
[4,8,7,3,1,6,5,2]=>0111011
[4,8,7,3,2,1,6,5]=>0111101
[4,8,7,3,2,6,1,5]=>0111010
[4,8,7,3,2,6,5,1]=>0111011
[4,8,7,3,6,2,5,1]=>0110101
[4,8,7,3,6,2,1,5]=>0110110
[4,8,7,3,6,1,5,2]=>0110101
[4,8,7,3,6,5,1,2]=>0110110
[4,8,7,3,6,5,2,1]=>0110111
[5,8,7,6,3,4,2,1]=>0111011
[5,8,7,6,3,1,4,2]=>0111101
[5,8,7,6,3,2,4,1]=>0111101
[5,8,7,6,2,4,3,1]=>0111011
[5,8,7,6,2,1,4,3]=>0111101
[5,8,7,6,4,2,3,1]=>0111101
[5,8,7,6,4,2,1,3]=>0111110
[5,8,7,6,4,1,3,2]=>0111101
[5,8,7,6,4,3,1,2]=>0111110
[7,3,4,2,1,6,5,8]=>1011010
[7,3,5,2,6,1,4,8]=>1010100
[7,3,5,2,6,4,1,8]=>1010110
[6,3,5,2,7,4,8,1]=>1010101
[7,2,1,5,6,4,3,8]=>1100110
[7,3,5,1,6,4,2,8]=>1010110
[7,4,5,6,1,3,2,8]=>1001010
[1,4,5,7,3,2,8,6]=>0001101
[1,4,6,7,3,8,2,5]=>0001010
[6,4,5,7,3,1,8,2]=>1001101
[6,4,5,7,1,3,8,2]=>1001001
[6,3,5,1,7,4,8,2]=>1010101
[6,2,1,5,7,4,8,3]=>1100101
[3,2,1,5,7,4,8,6]=>1100101
[2,4,6,7,3,8,1,5]=>0001010
[1,4,6,7,3,8,5,2]=>0001011
[1,5,6,7,8,3,4,2]=>0000101
[2,5,6,7,8,3,1,4]=>0000110
[3,2,1,6,7,8,4,5]=>1100010
[5,2,1,6,7,8,4,3]=>1100011
[5,3,6,1,7,8,4,2]=>1010011
[5,4,6,7,1,8,3,2]=>1001011
[1,5,6,7,8,3,2,4]=>0000110
[6,4,5,7,2,1,8,3]=>1001101
[5,4,6,7,2,8,3,1]=>1001011
[5,3,6,2,7,8,4,1]=>1010011
[5,3,6,2,7,8,1,4]=>1010010
[6,3,5,2,7,1,8,4]=>1010101
[6,3,4,2,1,7,8,5]=>1011001
[5,3,4,1,2,7,8,6]=>1010001
[4,3,6,2,7,8,1,5]=>1010010
[4,3,6,2,7,8,5,1]=>1010011
[1,3,6,2,7,8,5,4]=>0010011
[1,4,6,7,2,8,5,3]=>0001011
[3,4,6,7,2,8,5,1]=>0001011
[3,4,5,7,2,1,8,6]=>0001101
[4,2,1,5,7,3,8,6]=>1100101
[4,2,1,6,7,8,3,5]=>1100010
[4,3,6,1,7,8,2,5]=>1010010
[1,5,6,7,8,2,4,3]=>0000101
[1,5,6,7,8,4,2,3]=>0000110
[3,4,6,7,1,8,5,2]=>0001011
[4,3,6,1,7,8,5,2]=>1010011
[4,2,1,6,7,8,5,3]=>1100011
[2,3,6,1,7,8,5,4]=>0010011
[2,4,6,7,1,8,5,3]=>0001011
[2,5,6,7,8,1,4,3]=>0000101
[1,4,3,6,2,5,7,8]=>0101000
[1,4,3,7,2,5,6,8]=>0101000
[1,4,3,7,6,8,2,5]=>0101010
[1,4,3,7,5,8,2,6]=>0101010
[1,4,3,7,2,6,5,8]=>0101010
[1,5,3,7,4,8,2,6]=>0101010
[1,3,2,6,5,8,4,7]=>0101010
[1,5,4,8,2,6,3,7]=>0101010
[1,5,4,8,3,7,2,6]=>0101010
[1,2,3,6,5,8,4,7]=>0001010
[6,8,2,4,5,7,1,3]=>0100010
[3,7,8,4,5,2,6,1]=>0010101
[7,8,1,4,5,3,6,2]=>0100101
[3,8,7,4,1,6,5,2]=>0111011
[4,8,3,6,1,5,7,2]=>0101001
[5,8,3,1,6,4,7,2]=>0110101
[5,8,1,4,7,6,3,2]=>0100111
[7,5,1,8,6,2,4,3]=>1101101
[7,4,1,8,2,6,3,5]=>1101010
[7,1,8,4,2,6,3,5]=>1011010
[1,6,3,8,5,2,4,7]=>0101100
[6,1,3,8,5,2,4,7]=>1001100
[7,1,8,3,6,2,5,4]=>1010101
[7,3,1,8,4,2,6,5]=>1101101
[7,2,8,4,1,6,5,3]=>1011011
[7,2,8,3,6,5,1,4]=>1010110
[7,2,8,3,6,1,5,4]=>1010101
[7,1,8,2,3,6,5,4]=>1010011
[6,1,2,8,3,5,4,7]=>1001010
[1,5,2,3,8,4,7,6]=>0100101
[5,1,2,3,8,4,7,6]=>1000101
[5,2,3,8,1,4,7,6]=>1001001
[6,2,8,1,3,5,4,7]=>1010010
[6,2,4,1,8,7,3,5]=>1010110
[6,3,1,4,2,8,5,7]=>1101010
[3,1,6,4,2,8,5,7]=>1011010
[2,6,3,8,7,1,5,4]=>0101101
[2,6,3,8,5,1,4,7]=>0101100
[2,5,1,8,3,4,7,6]=>0101001
[2,5,1,3,8,4,7,6]=>0100101
[1,2,5,3,8,4,7,6]=>0010101
[1,2,4,8,3,7,6,5]=>0001011
[2,4,8,1,3,7,6,5]=>0010011
[2,4,8,3,7,1,6,5]=>0010101
[2,4,8,3,7,6,1,5]=>0010110
[2,5,3,8,1,7,4,6]=>0101010
[2,5,4,1,3,8,7,6]=>0110011
[3,1,5,4,8,2,7,6]=>1010101
[5,3,1,4,8,2,7,6]=>1100101
[5,2,3,8,4,7,1,6]=>1001010
[4,8,2,3,7,6,1,5]=>0100110
[4,8,2,3,7,1,6,5]=>0100101
[4,8,1,2,3,7,6,5]=>0100011
[1,4,8,2,3,7,6,5]=>0010011
[1,4,8,3,7,2,6,5]=>0010101
[6,3,8,1,5,2,4,7]=>1010100
[5,3,8,1,2,4,7,6]=>1010001
[5,1,3,8,2,4,7,6]=>1001001
[1,5,3,8,2,4,7,6]=>0101001
[1,5,4,8,2,7,6,3]=>0101011
[5,1,4,8,2,7,6,3]=>1001011
[5,4,8,1,2,7,6,3]=>1010011
[6,5,1,2,8,7,4,3]=>1100111
[5,3,1,6,4,2,8,7]=>1101101
[5,1,6,2,8,7,4,3]=>1010111
[4,1,5,8,2,7,6,3]=>1001011
[4,1,2,5,8,7,6,3]=>1000111
[1,4,2,5,8,7,6,3]=>0100111
[1,3,5,2,8,7,4,6]=>0010110
[3,5,1,2,8,7,4,6]=>0100110
[3,6,2,8,7,5,1,4]=>0101110
[4,2,6,1,8,7,3,5]=>1010110
[4,3,1,5,8,2,7,6]=>1100101
[3,5,2,8,7,1,4,6]=>0101100
[3,4,8,7,2,6,1,5]=>0011010
[3,4,8,7,1,2,6,5]=>0011001
[3,4,8,1,7,2,6,5]=>0010101
[1,3,4,8,7,2,6,5]=>0001101
[1,3,4,8,2,7,6,5]=>0001011
[3,4,8,1,2,7,6,5]=>0010011
[3,4,8,2,7,1,6,5]=>0010101
[3,4,8,2,7,6,1,5]=>0010110
[4,2,5,8,1,7,6,3]=>1001011
[4,3,1,2,5,8,7,6]=>1100011
[3,1,4,2,5,8,7,6]=>1010011
[2,3,5,1,8,7,6,4]=>0010111
[7,8,2,1,5,3,6,4]=>0110101
[6,4,1,2,7,3,5,8]=>1100100
[2,3,7,5,4,1,8,6]=>0011101
[6,3,1,5,4,2,7,8]=>1101100
[7,8,1,5,4,2,6,3]=>0101101
[7,8,3,5,4,1,6,2]=>0101101
[7,8,2,5,4,1,3,6]=>0101100
[7,8,2,5,4,6,1,3]=>0101010
[6,2,1,5,4,7,3,8]=>1101010
[5,3,6,1,4,7,8,2]=>1010001
[5,3,6,2,4,7,1,8]=>1010010
[6,4,2,1,7,3,8,5]=>1110101
[4,3,7,5,8,6,1,2]=>1010110
[4,2,7,1,8,3,6,5]=>1010101
[3,2,6,7,4,8,1,5]=>1001010
[3,1,6,7,4,8,5,2]=>1001011
[1,7,6,5,3,8,4,2]=>0111011
[2,7,6,5,3,8,1,4]=>0111010
[1,7,6,5,2,4,8,3]=>0111001
[2,7,6,5,3,1,4,8]=>0111100
[2,7,1,4,8,3,5,6]=>0100100
[3,7,6,4,8,5,1,2]=>0110110
[5,7,6,3,8,4,1,2]=>0110110
[5,1,6,2,4,8,3,7]=>1010010
[4,7,6,5,2,1,3,8]=>0111100
[4,7,6,5,2,8,1,3]=>0111010
[4,7,6,5,1,8,3,2]=>0111011
[1,7,6,5,2,8,3,4]=>0111010
[1,7,6,5,3,2,8,4]=>0111101
[4,7,6,5,1,2,8,3]=>0111001
[4,7,6,5,3,1,8,2]=>0111101
[6,1,3,5,4,8,7,2]=>1001011
[5,2,6,3,4,1,7,8]=>1010100
[5,1,6,2,4,7,8,3]=>1010001
[1,2,6,3,4,8,7,5]=>0010011
[1,7,2,4,8,3,6,5]=>0100101
[6,1,4,2,8,3,5,7]=>1010100
[4,1,8,2,6,3,5,7]=>1010100
[4,7,2,1,5,3,6,8]=>0110100
[4,7,1,6,2,3,8,5]=>0101001
[1,7,2,6,8,3,5,4]=>0100101
[1,2,6,7,4,8,5,3]=>0001011
[3,1,6,7,4,2,8,5]=>1001101
[3,2,8,5,4,6,1,7]=>1011010
[4,7,6,3,5,8,1,2]=>0110010
[4,7,1,2,5,3,8,6]=>0100101
[3,7,6,5,2,4,1,8]=>0111010
[3,7,6,5,1,4,8,2]=>0111001
[3,7,6,5,2,1,8,4]=>0111101
[1,7,6,5,8,2,4,3]=>0110101
[3,7,6,5,8,1,4,2]=>0110101
[3,7,6,5,1,2,4,8]=>0111000
[3,1,6,8,4,2,5,7]=>1001100
[4,7,6,8,3,5,1,2]=>0101010
[2,7,6,5,1,4,3,8]=>0111010
[2,7,6,5,8,1,3,4]=>0110100
[2,7,6,5,8,4,1,3]=>0110110
[6,3,2,1,7,4,8,5]=>1110101
[4,2,1,7,3,5,8,6]=>1101001
[7,3,1,5,4,2,8,6]=>1101101
[8,4,1,5,2,7,6,3]=>1101011
[8,2,5,1,3,7,6,4]=>1010011
[4,3,7,2,1,5,8,6]=>1011001
[4,7,2,5,3,1,8,6]=>0101101
[2,7,5,4,1,3,8,6]=>0111001
[7,5,4,3,2,1,8,6]=>1111101
[6,5,2,1,8,4,3,7]=>1110110
[4,6,3,2,8,1,5,7]=>0110100
[5,7,4,3,2,8,1,6]=>0111010
[1,7,6,2,4,8,3,5]=>0110010
[2,7,3,6,4,8,1,5]=>0101010
[6,2,7,5,3,8,1,4]=>1011010
[7,1,8,5,3,6,4,2]=>1011011
[5,8,3,2,7,1,6,4]=>0110101
[8,7,3,1,6,5,4,2]=>1110111
[8,7,2,6,1,5,4,3]=>1101011
[1,8,5,7,4,3,6,2]=>0101101
[1,8,5,7,2,4,6,3]=>0101001
[3,8,6,1,7,2,5,4]=>0110101
[7,2,8,5,6,1,4,3]=>1010101
[6,3,7,5,8,2,1,4]=>1010110
[3,7,2,6,8,4,1,5]=>0100110
[3,6,5,8,1,4,2,7]=>0101010
[2,6,5,8,4,1,3,7]=>0101100
[6,5,4,8,3,2,1,7]=>1101110
[8,4,3,7,2,1,6,5]=>1101101
[8,2,4,7,1,3,6,5]=>1001001
[6,2,5,8,1,4,3,7]=>1001010
[4,3,6,8,2,1,5,7]=>1001100
[6,3,5,1,8,4,2,7]=>1010110
[8,4,1,5,7,3,6,2]=>1100101
[6,4,2,5,8,3,1,7]=>1100110
[5,4,1,6,8,2,3,7]=>1100100
[6,3,7,4,8,5,2,1]=>1010111
[4,7,2,5,8,6,3,1]=>0100111
[6,3,1,8,4,7,5,2]=>1101011
[6,5,3,8,7,4,1,2]=>1101110
[5,4,8,1,7,6,2,3]=>1010110
[5,2,8,1,7,3,6,4]=>1010101
[5,7,3,8,1,6,4,2]=>0101011
[6,4,7,8,1,5,3,2]=>1001011
[2,5,8,7,1,3,6,4]=>0011001
[5,3,8,7,2,1,6,4]=>1011101
[8,3,7,6,1,5,4,2]=>1011011
[8,2,7,6,5,1,4,3]=>1011101
[4,3,8,7,6,2,1,5]=>1011110
[2,4,8,7,6,1,3,5]=>0011100
[3,5,8,7,2,6,1,4]=>0011010
[4,7,3,8,6,5,1,2]=>0101110
[7,5,8,6,4,3,2,1]=>1011111
[5,8,7,3,6,4,2,1]=>0110111
[4,8,7,6,2,5,3,1]=>0111011
[3,8,7,6,5,1,4,2]=>0111101
[2,8,7,6,5,4,1,3]=>0111110
[3,6,5,1,2,4,8,7]=>0110001
[3,7,5,8,2,4,1,6]=>0101010
[3,8,5,7,2,4,1,6]=>0101010
[5,1,7,8,4,3,2,6]=>1001110
[5,1,2,6,4,3,8,7]=>1001101
[6,1,2,5,4,3,8,7]=>1001101
[5,1,2,4,6,3,8,7]=>1000101
[4,1,2,6,5,3,8,7]=>1001101
[4,1,5,7,8,3,2,6]=>1000110
[4,1,5,8,7,3,2,6]=>1001110
[4,7,1,8,3,6,2,5]=>0101010
[4,1,7,8,5,2,3,6]=>1001100
[5,1,7,4,8,2,3,6]=>1010100
[7,5,3,8,1,4,2,6]=>1101010
[2,1,5,8,7,3,4,6]=>1001100
[5,1,8,4,7,2,3,6]=>1010100
[4,1,8,7,5,2,3,6]=>1011100
[4,7,1,6,3,2,8,5]=>0101101
[6,1,2,3,7,5,8,4]=>1000101
[7,1,2,3,8,6,5,4]=>1000111
[7,1,2,3,5,8,6,4]=>1000011
[6,8,1,4,3,7,2,5]=>0101010
[8,7,3,2,4,1,6,5]=>1110101
[2,1,7,3,4,8,6,5]=>1010011
[7,8,3,2,4,1,6,5]=>0110101
[6,7,1,4,3,8,2,5]=>0101010
[8,1,2,3,5,7,6,4]=>1000011
[8,1,2,3,6,7,5,4]=>1000011
[7,1,2,3,6,8,5,4]=>1000011
[7,1,2,3,8,5,6,4]=>1000101
[8,1,2,3,7,5,6,4]=>1000101
[8,1,2,3,6,5,7,4]=>1000101
[7,1,8,5,4,3,2,6]=>1011110
[7,8,2,6,3,4,1,5]=>0101010
[6,8,2,7,3,4,1,5]=>0101010
[6,7,2,8,3,4,1,5]=>0101010
[3,8,7,1,4,2,6,5]=>0110101
[3,7,8,1,4,2,6,5]=>0010101
[3,6,8,1,4,2,7,5]=>0010101
[3,5,7,8,2,4,1,6]=>0001010
[3,6,7,1,4,2,8,5]=>0010101
[7,6,2,8,3,1,4,5]=>1101100
[8,6,2,7,3,1,4,5]=>1101100
[8,1,7,5,4,3,2,6]=>1011110
[8,1,7,4,5,3,2,6]=>1010110
[5,8,3,7,1,4,2,6]=>0101010
[2,1,7,3,4,6,8,5]=>1010001
[6,7,3,2,4,1,8,5]=>0110101
[8,7,2,4,3,6,1,5]=>1101010
[7,1,2,3,5,6,8,4]=>1000001
[6,1,2,3,8,7,4,5]=>1000110
[5,1,2,3,7,8,6,4]=>1000011
[5,1,2,3,8,7,6,4]=>1000111
[5,1,2,3,8,6,7,4]=>1000101
[6,1,2,3,5,8,7,4]=>1000011
[8,6,2,4,3,1,7,5]=>1101101
[7,6,3,2,4,8,1,5]=>1110010
[2,1,6,3,4,8,7,5]=>1010011
[8,6,3,2,4,7,1,5]=>1110010
[7,6,2,4,3,1,8,5]=>1101101
[6,1,2,3,5,7,8,4]=>1000001
[5,1,2,3,6,8,7,4]=>1000011
[7,8,1,2,6,3,5,4]=>0100101
[1,4,8,2,7,3,5,6]=>0010100
[1,2,8,5,4,7,3,6]=>0011010
[1,3,8,5,4,2,7,6]=>0011101
[2,3,6,8,4,7,1,5]=>0001010
[1,3,6,8,4,7,5,2]=>0001011
[2,4,8,1,7,3,6,5]=>0010101
[3,4,8,5,7,6,1,2]=>0010110
[1,2,6,8,4,5,7,3]=>0001001
[7,5,1,2,4,3,6,8]=>1100100
[7,4,6,1,5,2,3,8]=>1010100
[7,1,4,2,6,3,5,8]=>1010100
[6,8,1,4,7,2,3,5]=>0100100
[1,6,4,2,8,3,5,7]=>0110100
[1,6,3,8,5,4,2,7]=>0101110
[6,8,1,7,3,5,4,2]=>0101011
[7,1,3,6,5,4,2,8]=>1001110
[7,3,1,6,5,4,2,8]=>1101110
[7,2,1,4,6,3,5,8]=>1100100
[7,2,3,6,5,1,4,8]=>1001100
[7,1,2,3,6,5,4,8]=>1000110
[6,8,1,2,7,3,5,4]=>0100101
[1,6,2,3,8,5,4,7]=>0100110
[1,5,8,2,7,6,3,4]=>0010110
[5,1,8,2,7,6,3,4]=>1010110
[5,8,2,7,6,3,4,1]=>0101101
[6,2,8,1,7,3,5,4]=>1010101
[6,8,2,1,7,4,3,5]=>0110110
[3,6,4,1,2,8,5,7]=>0110010
[2,1,6,3,8,5,4,7]=>1010110
[2,5,1,8,7,6,3,4]=>0101110
[2,5,3,8,7,4,6,1]=>0101101
[1,2,5,3,8,7,4,6]=>0010110
[2,4,8,7,6,5,1,3]=>0011110
[2,5,3,8,7,1,6,4]=>0101101
[2,5,8,4,1,7,6,3]=>0011011
[3,5,8,7,1,4,2,6]=>0011010
[5,3,8,4,1,7,6,2]=>1011011
[4,2,8,7,6,3,5,1]=>1011101
[4,2,8,7,6,5,3,1]=>1011111
[4,1,8,7,6,5,3,2]=>1011111
[4,3,8,7,6,5,1,2]=>1011110
[6,3,1,8,7,2,5,4]=>1101101
[5,8,3,7,6,1,4,2]=>0101101
[5,1,3,8,7,6,2,4]=>1001110
[1,5,3,8,7,6,2,4]=>0101110
[1,5,8,4,7,2,6,3]=>0010101
[5,1,8,4,7,2,6,3]=>1010101
[5,8,7,4,6,1,2,3]=>0110100
[6,8,5,1,2,4,7,3]=>0110001
[5,6,3,1,2,4,8,7]=>0110001
[5,6,2,4,3,1,8,7]=>0101101
[5,6,1,2,4,3,8,7]=>0100101
[4,5,8,1,7,2,3,6]=>0010100
[4,5,8,1,7,2,6,3]=>0010101
[1,3,2,5,8,7,4,6]=>0100110
[3,5,1,8,7,4,6,2]=>0101101
[3,5,1,8,7,2,6,4]=>0101101
[4,3,6,1,2,8,5,7]=>1010010
[4,5,8,3,1,7,2,6]=>0011010
[4,5,2,8,7,1,3,6]=>0101100
[3,2,5,8,7,1,6,4]=>1001101
[3,4,8,7,6,2,1,5]=>0011110
[3,1,4,8,7,6,2,5]=>1001110
[3,4,8,7,6,5,1,2]=>0011110
[1,3,4,8,7,6,2,5]=>0001110
[3,4,8,7,6,2,5,1]=>0011101
[3,2,5,8,7,4,6,1]=>1001101
[4,5,8,3,1,7,6,2]=>0011011
[2,1,3,5,8,7,4,6]=>1000110
[1,2,7,5,8,6,4,3]=>0010111
[7,1,4,8,2,6,5,3]=>1001011
[6,8,1,3,7,5,2,4]=>0100110
[3,7,8,1,2,6,5,4]=>0010011
[1,3,7,8,2,6,5,4]=>0001011
[2,3,7,8,1,6,5,4]=>0001011
[2,7,8,1,3,6,5,4]=>0010011
[8,1,2,6,7,3,5,4]=>1000101
[8,1,2,6,7,5,3,4]=>1000110
[8,2,5,7,1,3,6,4]=>1001001
[2,8,1,6,7,3,5,4]=>0100101
[2,6,8,3,7,1,5,4]=>0010101
[2,8,6,4,7,1,5,3]=>0110101
[6,8,3,4,1,7,5,2]=>0101011
[6,8,3,7,4,1,5,2]=>0101101
[2,6,8,3,7,5,1,4]=>0010110
[2,8,1,6,7,5,3,4]=>0100110
[8,2,5,7,1,6,3,4]=>1001010
[8,4,7,2,3,6,1,5]=>1010010
[8,5,7,4,2,6,1,3]=>1011010
[8,3,5,7,4,1,6,2]=>1001101
[8,5,2,4,7,1,6,3]=>1100101
[8,2,3,5,7,1,6,4]=>1000101
[8,2,4,7,3,6,1,5]=>1001010
[8,2,7,1,4,6,3,5]=>1010010
[8,7,1,2,4,6,3,5]=>1100010
[8,7,1,4,6,2,3,5]=>1100100
[8,4,7,1,3,6,2,5]=>1010010
[1,6,8,3,7,2,5,4]=>0010101
[8,3,5,7,1,2,6,4]=>1001001
[5,8,7,1,3,6,2,4]=>0110010
[8,5,4,7,1,6,2,3]=>1101010
[8,5,4,7,1,2,6,3]=>1101001
[8,5,1,4,7,2,6,3]=>1100101
[1,4,6,8,2,7,5,3]=>0001011
[1,6,5,8,2,7,4,3]=>0101011
[8,5,6,3,1,7,4,2]=>1011011
[5,6,2,8,1,7,4,3]=>0101011
[1,8,4,5,7,2,6,3]=>0100101
[5,8,7,3,6,1,2,4]=>0110100
[8,3,5,7,1,6,2,4]=>1001010
[1,6,8,3,7,5,2,4]=>0010110
[6,3,8,2,7,5,1,4]=>1010110
[6,8,4,2,7,1,5,3]=>0110101
[8,6,4,7,3,1,5,2]=>1101101
[8,4,5,7,3,1,6,2]=>1001101
[8,4,2,5,7,1,6,3]=>1100101
[8,3,4,7,2,6,1,5]=>1001010
[8,7,1,3,4,6,2,5]=>1100010
[8,3,7,2,4,6,1,5]=>1010010
[2,8,4,5,7,1,6,3]=>0100101
[8,7,3,4,5,1,6,2]=>1100101
[8,7,4,5,2,6,1,3]=>1101010
[5,8,7,2,3,6,1,4]=>0110010
[8,7,2,3,4,6,1,5]=>1100010
[8,7,2,3,6,1,4,5]=>1100100
[1,3,2,8,5,4,7,6]=>0101101
[4,2,8,5,3,7,1,6]=>1011010
[5,2,1,8,4,3,7,6]=>1101101
[6,2,8,4,3,7,5,1]=>1011011
[7,2,8,4,3,1,6,5]=>1011101
[7,3,4,8,2,1,6,5]=>1001101
[6,3,4,8,2,7,5,1]=>1001011
[5,3,4,1,8,2,7,6]=>1010101
[8,1,4,5,2,3,7,6]=>1001001
[8,1,5,4,3,2,7,6]=>1011101
[3,5,4,2,8,1,7,6]=>0110101
[4,5,3,2,8,7,1,6]=>0110110
[6,4,3,2,8,7,5,1]=>1110111
[6,5,3,2,1,7,8,4]=>1111001
[5,6,3,2,7,8,4,1]=>0110011
[4,1,6,3,2,7,8,5]=>1011001
[3,6,4,2,7,8,1,5]=>0110010
[8,1,6,4,3,7,2,5]=>1011010
[8,1,7,4,3,6,5,2]=>1011011
[2,7,4,1,3,6,5,8]=>0110010
[3,7,4,2,6,1,5,8]=>0110100
[4,1,7,3,2,6,5,8]=>1011010
[5,7,3,2,6,4,8,1]=>0110101
[6,7,3,2,5,4,1,8]=>0110110
[7,6,3,2,1,5,4,8]=>1111010
[4,7,5,6,2,3,8,1]=>0101001
[3,1,7,5,6,2,4,8]=>1010100
[2,7,5,6,1,3,4,8]=>0101000
[2,6,5,7,1,3,8,4]=>0101001
[4,6,5,7,2,8,1,3]=>0101010
[5,6,4,7,2,8,3,1]=>0101011
[6,5,4,1,7,2,8,3]=>1110101
[7,5,4,6,2,1,8,3]=>1101101
[6,4,5,7,1,8,2,3]=>1001010
[5,4,6,1,7,8,2,3]=>1010010
[8,1,5,6,7,2,3,4]=>1000100
[2,1,4,6,8,7,3,5]=>1000110
[3,4,6,8,7,1,2,5]=>0001100
[4,3,1,6,8,7,2,5]=>1100110
[5,3,6,8,7,2,4,1]=>1001101
[6,3,5,1,8,7,2,4]=>1010110
[7,3,5,8,6,2,1,4]=>1001110
[7,2,8,5,6,3,1,4]=>1010110
[6,2,8,5,1,7,3,4]=>1011010
[4,2,1,8,6,7,3,5]=>1101010
[1,3,2,8,6,7,4,5]=>0101010
[2,3,8,6,7,1,4,5]=>0010100
[8,1,3,2,6,7,4,5]=>1010010
[2,3,8,7,1,6,5,4]=>0011011
[4,2,8,7,6,1,5,3]=>1011101
[5,2,8,7,6,4,1,3]=>1011110
[7,2,1,8,6,5,4,3]=>1101111
[7,3,6,1,8,5,4,2]=>1010111
[6,3,7,8,5,4,2,1]=>1001111
[5,3,7,8,6,4,1,2]=>1001110
[4,3,1,7,8,6,5,2]=>1100111
[3,4,7,8,6,1,5,2]=>0001101
[8,1,5,7,6,2,4,3]=>1001101
[3,5,7,6,8,1,4,2]=>0010101
[4,5,7,6,8,3,1,2]=>0010110
[5,4,1,7,6,8,3,2]=>1101011
[6,4,7,5,8,3,2,1]=>1010111
[7,4,6,5,1,8,3,2]=>1011011
[7,5,6,4,3,1,8,2]=>1011101
[6,5,1,7,4,3,8,2]=>1101101
[4,6,7,5,3,8,1,2]=>0011010
[3,6,7,5,1,4,8,2]=>0011001
[8,1,6,7,5,4,2,3]=>1001110
[8,1,7,6,5,4,3,2]=>1011111
[2,7,6,1,5,4,3,8]=>0110110
[3,7,6,5,1,4,2,8]=>0111010
[4,7,6,5,3,1,2,8]=>0111100
[8,6,4,3,1,5,7,2]=>1111001
[8,6,4,1,5,2,7,3]=>1110101
[8,6,5,1,3,2,7,4]=>1110101
[8,6,3,1,7,2,4,5]=>1110100
[8,7,3,1,5,2,4,6]=>1110100
[5,3,1,7,2,4,6,8]=>1101000
[8,7,1,2,4,5,3,6]=>1100010
[8,6,1,2,4,7,3,5]=>1100010
[8,5,1,2,6,7,3,4]=>1100010
[8,5,1,6,4,2,7,3]=>1101101
[8,5,1,3,6,4,7,2]=>1100101
[8,6,1,5,3,4,7,2]=>1101001
[8,6,1,5,2,4,7,3]=>1101001
[8,6,1,2,5,7,3,4]=>1100010
[8,6,1,2,7,4,3,5]=>1100110
[8,7,1,2,5,4,3,6]=>1100110
[5,1,4,2,3,8,6,7]=>1010010
[5,1,4,2,7,3,6,8]=>1010100
[7,1,5,8,2,6,3,4]=>1001010
[5,7,8,1,2,4,6,3]=>0010001
[5,7,8,1,3,4,6,2]=>0010001
[5,8,1,7,3,4,6,2]=>0101001
[8,1,5,7,2,4,6,3]=>1001001
[8,4,1,2,7,6,3,5]=>1100110
[1,4,2,3,8,7,5,6]=>0100110
[1,4,2,7,6,3,5,8]=>0101100
[6,1,2,8,7,5,3,4]=>1001110
[6,1,2,4,8,7,5,3]=>1000111
[3,1,8,4,6,7,5,2]=>1010011
[3,1,7,6,4,8,5,2]=>1011011
[7,1,2,4,6,8,5,3]=>1000011
[7,1,2,6,8,5,3,4]=>1000110
[6,1,2,7,8,5,3,4]=>1000110
[6,1,2,7,4,8,5,3]=>1001011
[3,1,6,4,7,8,5,2]=>1010011
[5,7,1,3,8,4,6,2]=>0100101
[5,7,1,8,4,2,6,3]=>0101101
[7,1,5,3,2,8,6,4]=>1011011
[7,1,4,5,2,8,6,3]=>1001011
[4,7,3,1,5,8,6,2]=>0110011
[4,8,7,3,1,5,6,2]=>0111001
[8,1,7,4,5,2,6,3]=>1010101
[8,1,7,5,3,2,6,4]=>1011101
[8,3,7,1,2,6,4,5]=>1010010
[3,1,2,8,4,7,5,6]=>1001010
[3,1,2,8,6,4,5,7]=>1001100
[3,1,7,2,6,4,5,8]=>1010100
[1,4,2,3,8,6,5,7]=>0100110
[1,4,2,3,8,5,7,6]=>0100101
[5,8,1,7,2,4,6,3]=>0101001
[5,8,1,3,4,7,6,2]=>0100011
[3,1,8,6,4,7,5,2]=>1011011
[8,1,2,6,7,4,5,3]=>1000101
[6,1,2,8,7,3,5,4]=>1001101
[1,2,3,5,8,4,7,6]=>0000101
[1,2,3,5,8,6,4,7]=>0000110
[7,1,2,8,3,6,5,4]=>1001011
[7,1,2,8,6,4,5,3]=>1001101
[3,1,7,8,4,6,5,2]=>1001011
[3,1,8,7,6,4,5,2]=>1011101
[8,1,2,7,4,6,5,3]=>1001011
[8,1,2,7,3,6,5,4]=>1001011
[1,2,3,5,8,7,4,6]=>0000110
[1,2,3,6,8,5,4,7]=>0000110
[7,8,5,6,3,1,4,2]=>0101101
[7,8,5,3,6,1,2,4]=>0110100
[7,5,6,3,1,4,2,8]=>1011010
[7,5,8,3,1,4,2,6]=>1011010
[7,8,5,3,1,4,2,6]=>0111010
[7,8,5,3,1,6,2,4]=>0111010
[7,8,5,3,1,6,4,2]=>0111011
[7,8,5,3,6,1,4,2]=>0110101
[7,8,5,3,6,4,1,2]=>0110110
[7,8,5,3,4,1,6,2]=>0110101
[7,8,5,3,1,4,6,2]=>0111001
[7,8,5,3,1,2,6,4]=>0111001
[7,5,3,8,1,2,6,4]=>1101001
[7,5,8,3,4,1,6,2]=>1010101
[7,5,8,3,4,6,1,2]=>1010010
[7,5,6,3,4,1,8,2]=>1010101
[7,5,6,3,1,4,8,2]=>1011001
[7,5,6,3,1,2,8,4]=>1011001
[7,5,3,6,1,2,8,4]=>1101001
[7,5,3,4,1,2,8,6]=>1101001
[7,5,3,1,4,2,6,8]=>1110100
[7,5,3,1,4,2,8,6]=>1110101
[7,5,3,1,6,2,8,4]=>1110101
[7,5,3,1,6,4,8,2]=>1110101
[7,5,3,6,1,4,8,2]=>1101001
[7,5,3,6,4,1,8,2]=>1101101
[7,5,3,6,4,8,1,2]=>1101010
[7,5,3,8,4,6,1,2]=>1101010
[7,5,3,8,1,4,6,2]=>1101001
[7,5,3,1,8,4,6,2]=>1110101
[7,5,3,1,8,2,6,4]=>1110101
[7,5,3,1,8,2,4,6]=>1110100
[7,5,3,1,6,2,4,8]=>1110100
[7,5,3,1,6,4,2,8]=>1110110
[7,5,3,1,8,4,2,6]=>1110110
[7,5,3,1,8,6,2,4]=>1110110
[7,5,3,8,1,6,4,2]=>1101011
[7,5,3,8,6,1,4,2]=>1101101
[7,5,3,8,6,4,1,2]=>1101110
[7,5,8,3,6,4,1,2]=>1010110
[7,5,8,3,6,1,4,2]=>1010101
[7,5,8,3,1,6,4,2]=>1011011
[7,5,8,3,1,6,2,4]=>1011010
[7,5,3,6,1,4,2,8]=>1101010
[7,5,3,6,4,1,2,8]=>1101100
[7,5,3,8,4,1,2,6]=>1101100
[7,5,8,6,3,1,2,4]=>1011100
[7,5,8,6,3,1,4,2]=>1011101
[7,5,8,6,3,4,1,2]=>1011010
[7,5,6,8,3,1,4,2]=>1001101
[7,5,6,3,8,1,2,4]=>1010100
[7,5,3,4,1,6,2,8]=>1101010
[7,5,3,4,1,8,2,6]=>1101010
[7,5,6,3,1,8,2,4]=>1011010
[7,5,6,3,1,8,4,2]=>1011011
[7,5,6,3,8,1,4,2]=>1010101
[7,5,6,3,8,4,1,2]=>1010110
[7,5,3,6,8,4,1,2]=>1100110
[7,5,3,6,8,1,4,2]=>1100101
[7,5,3,6,1,8,4,2]=>1101011
[7,5,3,1,6,8,4,2]=>1110011
[7,5,3,1,6,8,2,4]=>1110010
[7,5,3,1,4,8,2,6]=>1110010
[7,5,3,1,4,6,2,8]=>1110010
[7,5,3,1,2,6,4,8]=>1110010
[7,5,3,1,2,8,4,6]=>1110010
[7,5,3,1,2,8,6,4]=>1110011
[7,5,3,1,4,8,6,2]=>1110011
[7,5,3,4,1,8,6,2]=>1101011
[7,5,3,4,8,1,6,2]=>1100101
[7,5,3,4,8,6,1,2]=>1100110
[7,5,3,4,6,1,8,2]=>1100101
[7,5,3,4,1,6,8,2]=>1101001
[7,5,3,1,4,6,8,2]=>1110001
[7,5,3,1,2,6,8,4]=>1110001
[7,5,3,1,2,4,8,6]=>1110001
[3,6,2,5,4,1,8,7]=>0101101
[3,5,2,8,4,7,6,1]=>0101011
[5,4,7,3,2,8,6,1]=>1011011
[5,4,8,3,2,7,6,1]=>1011011
[6,4,5,3,2,1,8,7]=>1011101
[5,3,2,6,4,1,8,7]=>1101101
[4,5,8,3,2,7,6,1]=>0011011
[4,7,6,3,8,5,2,1]=>0110111
[4,8,6,3,7,5,2,1]=>0110111
[4,8,5,3,2,7,6,1]=>0111011
[5,8,4,3,2,7,6,1]=>0111011
[5,3,2,8,4,7,6,1]=>1101011
[2,1,5,8,4,7,6,3]=>1001011
[5,3,2,7,4,8,6,1]=>1101011
[5,7,4,3,2,8,6,1]=>0111011
[4,7,5,3,2,8,6,1]=>0111011
[4,7,8,3,6,5,2,1]=>0010111
[4,6,8,3,7,5,2,1]=>0010111
[7,6,4,3,8,5,2,1]=>1110111
[7,3,2,6,8,5,4,1]=>1100111
[2,1,8,6,7,5,4,3]=>1010111
[8,3,2,6,7,5,4,1]=>1100111
[8,6,4,3,7,5,2,1]=>1110111
[8,5,7,6,4,3,2,1]=>1011111
[8,4,5,3,2,7,6,1]=>1011011
[8,4,7,3,6,5,2,1]=>1010111
[8,4,6,3,7,5,2,1]=>1010111
[7,4,6,3,8,5,2,1]=>1010111
[3,7,2,6,8,5,4,1]=>0100111
[3,8,2,6,7,5,4,1]=>0100111
[3,8,2,5,4,7,6,1]=>0101011
[3,7,2,8,6,5,4,1]=>0101111
[3,6,2,8,7,5,4,1]=>0101111
[6,4,7,3,8,5,2,1]=>1010111
[6,4,8,3,7,5,2,1]=>1010111
[7,4,8,3,6,5,2,1]=>1010111
[7,4,5,3,2,8,6,1]=>1011011
[7,5,4,3,2,8,6,1]=>1111011
[7,3,2,5,4,8,6,1]=>1101011
[2,1,7,5,4,8,6,3]=>1011011
[7,3,2,8,6,5,4,1]=>1101111
[7,8,4,3,6,5,2,1]=>0110111
[6,8,5,7,4,3,2,1]=>0101111
[6,8,4,3,7,5,2,1]=>0110111
[6,3,2,8,7,5,4,1]=>1101111
[6,3,2,7,8,5,4,1]=>1100111
[6,7,4,3,8,5,2,1]=>0110111
[4,6,8,3,5,7,1,2]=>0010010
[6,8,1,2,4,5,7,3]=>0100001
[3,5,8,2,4,7,1,6]=>0010010
[8,3,5,2,4,1,6,7]=>1010100
[4,2,5,7,3,6,1,8]=>1001010
[4,5,2,8,3,1,6,7]=>0101100
[4,2,5,8,3,7,1,6]=>1001010
[2,1,6,8,4,7,3,5]=>1001010
[1,2,5,8,3,6,7,4]=>0001001
[5,3,6,8,4,7,1,2]=>1001010
[1,6,5,8,2,4,7,3]=>0101001
[3,1,2,6,8,5,7,4]=>1000101
[1,4,3,8,2,6,7,5]=>0101001
[5,4,8,3,2,1,6,7]=>1011100
[5,4,3,7,2,6,1,8]=>1101010
[4,3,6,2,7,5,1,8]=>1010110
[4,6,3,2,1,8,5,7]=>0111010
[4,1,7,3,2,5,8,6]=>1011001
[4,3,1,7,8,2,6,5]=>1100101
[3,5,1,2,7,8,6,4]=>0100011
[7,5,1,4,8,2,6,3]=>1100101
[5,4,7,3,8,6,1,2]=>1010110
[5,8,4,7,6,3,1,2]=>0101110
[5,8,7,1,4,2,6,3]=>0110101
[8,3,5,1,2,7,6,4]=>1010011
[4,8,3,1,7,2,6,5]=>0110101
[1,8,4,3,5,2,7,6]=>0110101
[4,6,3,1,5,2,8,7]=>0110101
[4,7,3,6,5,2,1,8]=>0101110
[5,3,7,6,4,2,1,8]=>1011110
[1,6,3,4,2,8,7,5]=>0101011
[1,8,3,6,2,7,5,4]=>0101011
[1,6,8,7,4,2,5,3]=>0011101
[6,4,8,7,5,3,1,2]=>1011110
[7,6,4,3,8,5,1,2]=>1110110
[1,7,6,2,8,4,5,3]=>0110101
[7,1,3,2,6,8,5,4]=>1010011
[1,5,3,2,7,4,8,6]=>0110101
[6,3,2,1,8,5,4,7]=>1110110
[6,5,3,2,7,4,1,8]=>1110110
[5,2,6,3,7,4,1,8]=>1010110
[2,8,5,3,1,6,4,7]=>0111010
[2,1,7,3,8,5,4,6]=>1010110
[1,6,2,3,7,8,5,4]=>0100011
[1,6,7,2,8,4,5,3]=>0010101
[5,7,1,8,2,4,6,3]=>0101001
[5,1,2,7,8,3,6,4]=>1000101
[2,4,1,7,8,6,3,5]=>0100110
[4,2,1,7,3,8,5,6]=>1101010
[6,2,8,4,3,1,5,7]=>1011100
[7,3,2,1,8,4,5,6]=>1110100
[7,8,3,2,5,6,1,4]=>0110010
[7,1,8,2,4,5,6,3]=>1010001
[8,7,6,1,2,4,5,3]=>1110001
[8,3,7,6,2,1,4,5]=>1011100
[3,2,8,7,5,1,4,6]=>1011100
[8,3,6,5,2,1,4,7]=>1011100
[7,6,3,5,2,4,1,8]=>1101010
[7,4,6,2,5,3,1,8]=>1010110
[8,2,4,1,6,5,3,7]=>1010110
[4,2,8,1,7,5,3,6]=>1010110
[8,2,4,1,7,6,3,5]=>1010110
[8,7,1,5,6,2,4,3]=>1100101
[8,5,7,3,6,4,1,2]=>1010110
[6,8,3,7,5,4,1,2]=>0101110
[8,1,6,7,5,2,4,3]=>1001101
[8,1,2,6,4,3,7,5]=>1001101
[2,8,1,7,5,4,3,6]=>0101110
[2,5,1,8,6,4,3,7]=>0101110
[5,7,2,6,4,3,1,8]=>0101110
[6,2,7,5,4,3,1,8]=>1011110
[2,1,8,6,5,4,3,7]=>1011110
[1,2,7,5,4,3,8,6]=>0011101
[1,7,2,4,3,8,6,5]=>0101011
[1,7,2,8,3,6,5,4]=>0101011
[1,7,8,6,5,2,4,3]=>0011101
[7,3,8,6,5,4,1,2]=>1011110
[1,8,7,6,5,2,4,3]=>0111101
[8,1,7,3,2,6,5,4]=>1011011
[5,1,4,3,2,8,7,6]=>1011011
[8,6,5,3,2,1,7,4]=>1111101
[8,6,3,2,1,7,4,5]=>1111010
[8,6,5,4,1,7,2,3]=>1111010
[8,6,5,1,7,3,2,4]=>1110110
[8,6,1,7,4,3,2,5]=>1101110
[4,6,3,2,7,5,1,8]=>0110110
[1,4,3,7,2,5,8,6]=>0101001
[7,4,8,3,1,6,2,5]=>1011010
[7,1,5,8,3,2,6,4]=>1001101
[5,7,4,1,8,2,6,3]=>0110101
[5,7,4,3,1,8,6,2]=>0111011
[1,8,7,2,5,4,6,3]=>0110101
[1,8,5,3,7,2,6,4]=>0110101
[4,3,1,8,7,5,2,6]=>1101110
[1,4,8,6,3,5,2,7]=>0011010
[7,4,6,3,5,2,1,8]=>1010110
[1,3,5,6,8,4,2,7]=>0000110
[3,5,4,8,7,1,2,6]=>0101100
[3,1,4,6,8,7,2,5]=>1000110
[1,6,3,8,7,2,5,4]=>0101101
[1,6,2,4,8,7,5,3]=>0100111
[8,4,1,6,7,5,3,2]=>1100111
[7,1,6,4,8,5,2,3]=>1010110
[7,3,6,8,5,1,2,4]=>1001100
[1,3,7,2,6,8,4,5]=>0010010
[3,6,5,2,8,1,4,7]=>0110100
[3,6,5,7,2,4,1,8]=>0101010
[4,2,6,3,8,1,5,7]=>1010100
[4,2,6,7,3,5,1,8]=>1001010
[3,6,2,4,7,5,1,8]=>0100110
[3,6,2,4,1,8,5,7]=>0101010
[7,3,8,2,1,6,4,5]=>1011010
[7,3,5,2,1,8,6,4]=>1011011
[8,7,6,4,3,1,5,2]=>1111101
[8,7,6,4,1,5,2,3]=>1111010
[3,8,7,2,1,4,6,5]=>0111001
[3,8,2,7,1,5,4,6]=>0101010
[3,6,8,2,1,5,4,7]=>0011010
[2,4,8,1,6,5,3,7]=>0010110
[4,2,8,1,5,7,3,6]=>1010010
[8,5,7,6,1,4,2,3]=>1011010
[8,6,1,7,3,5,4,2]=>1101011
[8,6,1,7,5,4,2,3]=>1101110
[1,6,2,8,7,3,5,4]=>0101101
[1,8,2,4,6,7,3,5]=>0100010
[2,8,5,4,7,1,3,6]=>0110100
[2,1,5,8,6,4,3,7]=>1001110
[7,2,5,6,4,3,1,8]=>1001110
[1,2,5,7,8,4,3,6]=>0000110
[1,2,7,4,8,6,3,5]=>0010110
[1,2,7,8,3,6,5,4]=>0001011
[7,1,8,6,3,5,4,2]=>1011011
[1,8,7,6,3,5,2,4]=>0111010
[1,8,7,4,6,3,2,5]=>0110110
[7,1,5,8,3,4,6,2]=>1001001
[7,1,6,4,2,3,5,8]=>1011000
[8,6,2,4,7,3,5,1]=>1100101
[8,6,2,4,5,7,3,1]=>1100011
[2,7,1,4,5,8,3,6]=>0100010
[7,1,6,4,5,2,3,8]=>1010100
[7,1,4,5,6,8,2,3]=>1000010
[7,1,4,6,5,8,3,2]=>1001011
[7,1,2,3,8,5,4,6]=>1000110
[7,1,5,4,3,8,2,6]=>1011010
[7,1,3,4,2,6,8,5]=>1001001
[7,1,5,4,6,2,8,3]=>1010101
[7,1,5,6,4,3,8,2]=>1001101
[7,1,6,5,4,3,2,8]=>1011110
[8,6,2,5,4,3,7,1]=>1101101
[2,5,1,7,4,3,6,8]=>0101100
[2,5,1,4,7,8,6,3]=>0100011
[3,5,1,4,8,6,2,7]=>0100110
[3,6,2,4,7,8,1,5]=>0100010
[5,6,2,4,8,7,1,3]=>0100110
[6,3,8,2,4,7,1,5]=>1010010
[6,5,8,7,2,3,1,4]=>1011010
[6,5,7,8,2,4,1,3]=>1001010
[6,3,4,2,8,5,1,7]=>1010110
[3,4,7,2,5,8,1,6]=>0010010
[4,6,8,1,3,5,2,7]=>0010010
[4,3,8,1,2,7,5,6]=>1010010
[3,6,4,1,7,2,5,8]=>0110100
[2,8,3,1,5,6,4,7]=>0110010
[3,8,7,1,5,4,2,6]=>0110110
[4,3,1,7,6,8,2,5]=>1101010
[3,4,1,7,5,6,8,2]=>0101001
[3,4,1,5,7,6,2,8]=>0100110
[3,7,4,1,6,2,8,5]=>0110101
[8,4,7,2,5,3,6,1]=>1010101
[4,7,8,1,2,3,6,5]=>0010001
[2,8,6,1,5,3,7,4]=>0110101
[7,6,5,1,3,8,2,4]=>1110010
[7,6,5,1,3,4,8,2]=>1110001
[7,2,6,4,1,3,8,5]=>1011001
[6,7,5,2,1,3,8,4]=>0111001
[8,4,5,3,7,2,6,1]=>1010101
[4,7,5,2,8,1,6,3]=>0110101
[2,6,4,3,1,5,7,8]=>0111000
[7,3,8,4,1,5,2,6]=>1011010
[7,2,3,4,1,6,5,8]=>1001010
[4,2,8,3,6,1,5,7]=>1010100
[6,8,5,7,2,1,3,4]=>0101100
[4,8,5,2,7,1,3,6]=>0110100
[6,3,5,2,1,7,4,8]=>1011010
[6,8,5,3,1,4,2,7]=>0111010
[3,6,5,4,2,8,1,7]=>0111010
[1,6,4,7,2,5,3,8]=>0101010
[1,6,4,8,2,5,3,7]=>0101010
[1,6,5,8,2,4,3,7]=>0101010
[1,6,8,2,4,3,7,5]=>0010101
[1,6,2,4,3,7,8,5]=>0101001
[1,5,6,2,4,7,3,8]=>0010010
[1,5,6,2,4,7,8,3]=>0010001
[1,5,8,2,4,7,3,6]=>0010010
[1,5,7,2,4,8,3,6]=>0010010
[1,6,5,7,2,4,3,8]=>0101010
[1,6,7,2,4,3,8,5]=>0010101
[1,5,6,7,2,4,8,3]=>0001001
[1,5,8,2,4,6,7,3]=>0010001
[1,5,7,2,4,6,8,3]=>0010001
[1,5,7,8,3,2,4,6]=>0001100
[1,5,8,3,2,4,6,7]=>0011000
[1,5,6,2,4,8,3,7]=>0010010
[1,7,6,2,8,3,4,5]=>0110100
[1,7,3,4,2,8,6,5]=>0101011
[1,6,2,4,3,8,7,5]=>0101011
[1,5,6,2,4,8,7,3]=>0010011
[1,5,8,7,3,2,4,6]=>0011100
[1,4,2,3,5,8,7,6]=>0100011
[1,5,2,3,4,8,7,6]=>0100011
[1,6,5,2,3,8,7,4]=>0110011
[1,7,4,2,8,6,5,3]=>0110111
[1,7,6,5,2,8,4,3]=>0111011
[1,6,7,5,2,3,8,4]=>0011001
[1,7,5,2,8,4,3,6]=>0110110
[1,7,5,6,2,8,3,4]=>0101010
[1,5,7,6,2,4,8,3]=>0011001
[1,5,8,3,2,4,7,6]=>0011001
[1,6,5,2,3,7,4,8]=>0110010
[1,6,5,2,3,7,8,4]=>0110001
[1,6,8,4,2,3,7,5]=>0011001
[1,7,4,6,2,8,3,5]=>0101010
[1,7,3,5,2,8,4,6]=>0101010
[1,6,8,5,2,3,7,4]=>0011001
[1,6,4,2,3,7,8,5]=>0110001
[1,6,4,2,3,7,5,8]=>0110010
[1,5,8,6,2,4,7,3]=>0011001
[1,5,7,3,2,4,8,6]=>0011001
[1,7,3,4,2,8,5,6]=>0101010
[1,7,4,2,8,5,3,6]=>0110110
[1,6,7,4,2,3,8,5]=>0011001
[1,6,4,2,3,8,5,7]=>0110010
[1,7,6,4,2,8,5,3]=>0111011
[1,7,5,2,8,6,4,3]=>0110111
[1,6,4,2,3,8,7,5]=>0110011
[7,3,5,6,1,4,8,2]=>1001001
[3,7,5,6,1,4,8,2]=>0101001
[8,2,4,1,6,7,5,3]=>1010011
[8,6,1,4,2,7,5,3]=>1101011
[3,6,1,4,2,8,5,7]=>0101010
[1,6,7,4,3,5,8,2]=>0011001
[6,7,1,4,3,5,8,2]=>0101001
[7,6,1,4,3,5,8,2]=>1101001
[3,5,4,1,6,7,8,2]=>0110001
[4,7,1,6,3,5,8,2]=>0101001
[3,1,4,7,6,5,8,2]=>1001101
[6,1,7,4,3,5,8,2]=>1011001
[7,1,6,4,3,5,8,2]=>1011001
[1,7,6,4,3,5,8,2]=>0111001
[8,1,6,4,2,7,5,3]=>1011011
[8,4,1,3,7,2,5,6]=>1100100
[4,7,1,3,8,2,5,6]=>0100100
[7,4,1,3,8,2,5,6]=>1100100
[1,3,6,4,2,8,5,7]=>0011010
[4,7,3,1,2,8,5,6]=>0110010
[4,7,8,1,2,6,5,3]=>0010011
[6,8,1,4,2,7,5,3]=>0101011
[1,8,6,4,2,7,5,3]=>0111011
[4,8,1,3,7,2,5,6]=>0100100
[8,7,1,3,6,2,5,4]=>1100101
[6,8,5,7,3,2,1,4]=>0101110
[1,8,4,3,7,2,5,6]=>0110100
[2,8,3,4,7,6,1,5]=>0100110
[3,7,8,4,6,2,1,5]=>0010110
[3,7,4,6,8,2,1,5]=>0100110
[2,4,3,7,8,6,1,5]=>0100110
[1,4,7,3,8,2,5,6]=>0010100
[5,7,6,8,3,2,1,4]=>0101110
[2,5,3,4,8,6,1,7]=>0100110
[3,7,5,4,8,2,1,6]=>0110110
[7,1,3,4,2,8,5,6]=>1001010
[6,1,4,3,8,2,5,7]=>1010100
[4,1,7,3,8,2,5,6]=>1010100
[8,1,4,3,7,2,5,6]=>1010100
[8,2,3,4,7,6,1,5]=>1000110
[4,2,3,7,8,6,1,5]=>1000110
[5,2,3,4,8,6,1,7]=>1000110
[2,7,5,6,3,8,1,4]=>0101010
[5,7,2,6,3,8,1,4]=>0101010
[5,7,2,6,8,4,1,3]=>0100110
[7,2,5,6,8,4,1,3]=>1000110
[4,2,3,8,5,6,1,7]=>1001010
[5,2,3,8,7,6,1,4]=>1001110
[8,2,3,7,5,6,1,4]=>1001010
[6,1,8,3,7,2,5,4]=>1010101
[1,7,8,4,2,6,5,3]=>0011011
[4,7,1,8,2,5,6,3]=>0101001
[3,7,4,8,5,2,1,6]=>0101110
[2,4,3,8,5,6,1,7]=>0101010
[1,4,8,3,6,2,5,7]=>0010100
[7,5,8,6,3,2,1,4]=>1011110
[6,5,8,7,3,2,1,4]=>1011110
[8,5,7,6,3,2,1,4]=>1011110
[2,5,3,8,7,6,1,4]=>0101110
[3,7,5,8,6,2,1,4]=>0101110
[3,7,8,6,5,2,1,4]=>0011110
[1,8,7,3,6,2,5,4]=>0110101
[6,8,7,5,3,2,1,4]=>0111110
[5,7,6,8,3,4,1,2]=>0101010
[3,7,6,8,4,5,1,2]=>0101010
[1,5,4,7,6,8,2,3]=>0101010
[1,7,4,6,5,8,2,3]=>0101010
[3,7,4,6,5,8,1,2]=>0101010
[3,5,4,8,6,7,1,2]=>0101010
[3,8,4,6,5,7,1,2]=>0101010
[3,6,4,7,5,8,1,2]=>0101010
[1,6,2,7,5,8,3,4]=>0101010
[1,6,4,8,5,7,2,3]=>0101010
[1,8,4,6,5,7,2,3]=>0101010
[1,5,4,8,6,7,2,3]=>0101010
[7,8,1,5,4,6,2,3]=>0101010
[7,8,1,5,2,4,3,6]=>0101010
[1,8,2,6,5,7,3,4]=>0101010
[1,7,2,8,5,6,3,4]=>0101010
[1,7,2,6,5,8,3,4]=>0101010
[1,5,2,7,6,8,3,4]=>0101010
[1,7,6,8,2,5,3,4]=>0101010
[1,7,6,8,4,5,2,3]=>0101010
[5,7,6,8,1,4,2,3]=>0101010
[7,8,5,6,1,3,2,4]=>0101010
[5,8,6,7,1,3,2,4]=>0101010
[1,3,2,7,6,8,4,5]=>0101010
[1,7,6,8,2,4,3,5]=>0101010
[7,8,1,3,2,6,4,5]=>0101010
[7,8,1,6,2,4,3,5]=>0101010
[1,8,6,7,2,4,3,5]=>0101010
[7,8,1,4,2,6,3,5]=>0101010
[7,8,1,4,2,5,3,6]=>0101010
[7,8,2,1,4,3,6,5]=>0110101
[7,8,1,2,4,3,5,6]=>0100100
[4,3,6,5,8,7,1,2]=>1010110
[3,4,6,5,7,8,1,2]=>0010010
[1,6,2,3,8,7,4,5]=>0100110
[1,7,4,3,2,8,6,5]=>0111011
[1,4,7,6,2,5,8,3]=>0011001
[1,2,6,5,3,7,4,8]=>0011010
[1,2,6,5,3,7,8,4]=>0011001
[1,3,7,5,2,6,8,4]=>0011001
[1,3,7,4,2,6,8,5]=>0011001
[1,2,6,4,3,7,8,5]=>0011001
[1,2,6,4,3,7,5,8]=>0011010
[1,4,7,3,2,5,8,6]=>0011001
[1,4,3,2,5,8,6,7]=>0110010
[1,5,3,2,4,8,6,7]=>0110010
[1,7,5,3,2,8,6,4]=>0111011
[1,5,3,2,4,8,7,6]=>0110011
[7,6,5,4,3,1,8,2]=>1111101
[6,8,5,4,3,2,1,7]=>0111110
[7,1,5,4,3,8,6,2]=>1011011
[3,6,5,4,8,1,7,2]=>0110101
[6,8,1,4,3,2,7,5]=>0101101
[2,8,5,4,3,7,1,6]=>0111010
[7,6,1,4,3,8,5,2]=>1101011
[4,6,5,8,3,1,7,2]=>0101101
[6,8,5,1,3,2,7,4]=>0110101
[1,8,2,4,3,7,6,5]=>0101011
[3,8,5,4,7,2,1,6]=>0110110
[7,6,5,1,3,8,4,2]=>1110011
[1,6,3,4,8,7,5,2]=>0100111
[1,4,5,8,3,7,6,2]=>0001011
[6,8,5,4,1,2,7,3]=>0111001
[1,8,5,2,3,7,6,4]=>0110011
[6,8,2,4,3,7,1,5]=>0101010
[1,8,3,4,7,2,6,5]=>0100101
[7,5,8,4,3,2,1,6]=>1011110
[4,8,5,7,3,2,1,6]=>0101110
[5,1,7,6,8,4,3,2]=>1010111
[6,4,8,5,2,7,1,3]=>1011010
[5,1,8,6,7,4,3,2]=>1010111
[8,4,7,5,2,6,1,3]=>1011010
[5,4,6,8,2,1,7,3]=>1001101
[6,4,5,8,1,2,7,3]=>1001001
[7,4,6,5,2,1,8,3]=>1011101
[8,4,6,5,2,1,7,3]=>1011101
[4,8,7,5,6,1,3,2]=>0110101
[2,7,5,1,8,4,3,6]=>0110110
[5,1,8,7,4,2,3,6]=>1011100
[2,8,6,7,4,3,5,1]=>0101101
[3,6,5,2,4,1,8,7]=>0110101
[5,2,3,6,4,1,8,7]=>1001101
[6,1,4,5,3,2,8,7]=>1001101
[3,8,7,1,4,6,5,2]=>0110011
[5,7,1,2,4,3,8,6]=>0100101
[4,3,7,6,8,2,5,1]=>1010101
[5,3,6,8,1,7,2,4]=>1001010
[3,2,6,8,5,7,1,4]=>1001010
[6,3,7,2,4,8,5,1]=>1010011
[7,4,8,6,5,2,1,3]=>1011110
[7,1,8,2,5,4,3,6]=>1010110
[2,5,3,7,4,1,8,6]=>0101101
[3,6,4,7,5,1,8,2]=>0101101
[8,4,7,6,2,3,1,5]=>1011010
[8,4,7,1,2,5,6,3]=>1010001
[4,2,8,7,3,5,6,1]=>1011001
[8,1,7,4,2,5,6,3]=>1011001
[7,4,3,8,2,5,6,1]=>1101001
[6,4,1,5,8,2,7,3]=>1100101
[2,5,8,7,3,6,1,4]=>0011010
[2,1,5,8,7,4,6,3]=>1001101
[8,3,5,6,7,4,1,2]=>1000110
[7,4,3,2,8,5,6,1]=>1110101
[4,2,7,1,8,5,6,3]=>1010101
[4,1,7,2,8,5,6,3]=>1010101
[2,4,8,7,3,5,6,1]=>0011001
[4,7,8,3,1,5,6,2]=>0011001
[3,4,7,2,8,5,6,1]=>0010101
[3,7,1,4,8,5,6,2]=>0100101
[7,2,3,4,8,5,6,1]=>1000101
[6,1,8,5,2,7,4,3]=>1011011
[2,1,7,4,5,8,6,3]=>1010011
[2,1,8,3,6,7,5,4]=>1010011
[8,2,1,6,4,7,5,3]=>1101011
[7,8,2,6,4,1,5,3]=>0101101
[2,6,3,5,8,7,1,4]=>0100110
[7,6,2,1,5,8,4,3]=>1110011
[4,5,2,7,6,1,8,3]=>0101101
[5,1,6,8,4,7,2,3]=>1001010
[3,6,8,7,5,2,1,4]=>0011110
[7,4,8,6,5,2,3,1]=>1011101
[8,1,6,4,7,3,2,5]=>1010110
[7,6,4,1,2,3,8,5]=>1110001
[2,6,4,8,5,3,7,1]=>0101101
[7,3,5,8,4,2,1,6]=>1001110
[3,2,5,8,4,1,7,6]=>1001101
[8,4,7,1,5,2,3,6]=>1010100
[4,8,7,5,6,1,2,3]=>0110100
[6,1,4,8,7,3,5,2]=>1001101
[7,2,8,4,3,5,6,1]=>1011001
[4,7,8,1,3,5,6,2]=>0010001
[8,7,3,4,1,5,6,2]=>1101001
[4,8,2,7,3,5,6,1]=>0101001
[3,1,8,7,2,5,6,4]=>1011001
[3,8,1,7,2,5,6,4]=>0101001
[8,2,3,7,1,5,6,4]=>1001001
[6,4,8,7,1,3,2,5]=>1011010
[2,8,4,6,7,3,1,5]=>0100110
[4,3,8,2,7,6,1,5]=>1010110
[6,8,4,2,1,3,7,5]=>0111001
[7,8,2,4,3,5,6,1]=>0101001
[2,8,3,7,1,5,6,4]=>0101001
[8,1,2,7,3,5,6,4]=>1001001
[6,4,1,3,2,8,5,7]=>1101010
[5,3,8,6,2,1,4,7]=>1011100
[4,6,5,2,8,3,1,7]=>0110110
[4,3,7,5,1,8,2,6]=>1011010
[6,8,5,2,7,4,3,1]=>0110111
[7,2,5,4,3,8,1,6]=>1011010
[3,6,8,1,4,5,2,7]=>0010010
[6,8,1,2,4,5,3,7]=>0100010
[8,1,6,2,4,5,3,7]=>1010010
[3,8,6,1,2,5,4,7]=>0110010
[5,8,1,6,2,3,4,7]=>0101000
[4,1,6,5,8,2,3,7]=>1010100
[4,3,8,6,2,5,1,7]=>1011010
[8,3,6,1,4,5,2,7]=>1010010
[2,3,6,8,4,5,1,7]=>0001010
[2,7,5,4,3,8,1,6]=>0111010
[6,3,8,7,4,2,5,1]=>1011101
[5,8,4,3,7,6,1,2]=>0110110
[8,7,4,3,1,6,2,5]=>1111010
[1,7,4,3,8,6,2,5]=>0110110
[7,1,5,3,4,8,2,6]=>1010010
[2,8,6,1,7,4,5,3]=>0110101
[4,8,6,5,7,2,1,3]=>0110110
[4,7,6,8,2,1,5,3]=>0101101
[6,1,8,7,4,3,5,2]=>1011101
[8,5,4,3,1,6,7,2]=>1111001
[1,5,8,6,3,4,7,2]=>0011001
[2,5,8,6,3,4,7,1]=>0011001
[4,1,3,8,5,6,7,2]=>1001001
[6,5,8,4,3,1,7,2]=>1011101
[4,6,5,2,8,1,7,3]=>0110101
[7,2,8,1,3,6,4,5]=>1010010
[1,8,5,2,3,6,7,4]=>0110001
[1,8,3,2,5,6,7,4]=>0110001
[2,8,3,1,5,6,7,4]=>0110001
[4,8,3,2,5,6,7,1]=>0110001
[8,2,3,1,5,6,7,4]=>1010001
[2,1,8,3,5,6,7,4]=>1010001
[1,4,8,2,3,6,7,5]=>0010001
[3,1,2,7,8,6,4,5]=>1000110
[7,5,1,8,2,4,3,6]=>1101010
[3,5,8,1,2,4,7,6]=>0010001
[4,5,8,1,2,3,7,6]=>0010001
[4,2,7,1,8,6,3,5]=>1010110
[3,8,4,1,2,6,7,5]=>0110001
[5,4,8,2,3,6,7,1]=>1010001
[5,8,3,6,7,4,1,2]=>0100110
[2,3,1,6,8,4,7,5]=>0100101
[2,4,3,7,1,8,5,6]=>0101010
[1,4,7,3,2,8,5,6]=>0011010
[2,7,1,4,3,8,5,6]=>0101010
[2,4,1,8,6,3,7,5]=>0101101
[8,4,1,3,6,2,7,5]=>1100101
[6,8,5,1,7,2,3,4]=>0110100
[7,3,6,5,8,2,1,4]=>1010110
[7,6,3,5,8,2,1,4]=>1100110
[4,5,8,7,3,6,1,2]=>0011010
[3,5,2,8,6,1,7,4]=>0101101
[8,2,5,6,1,4,7,3]=>1001001
[8,6,5,4,1,2,7,3]=>1111001
[2,6,1,8,3,7,5,4]=>0101011
[4,7,1,6,2,8,5,3]=>0101011
[6,1,5,3,8,7,2,4]=>1010110
[2,8,6,3,7,1,5,4]=>0110101
[7,6,1,5,8,2,3,4]=>1100100
[3,6,8,5,1,2,7,4]=>0011001
[6,5,2,4,8,1,7,3]=>1100101
[5,1,4,8,2,6,7,3]=>1001001
[4,8,2,5,1,6,7,3]=>0101001
[3,4,8,5,2,6,7,1]=>0011001
[4,2,1,8,5,6,7,3]=>1101001
[1,5,4,8,2,6,7,3]=>0101001
[7,2,1,5,8,6,3,4]=>1100110
[2,8,4,5,1,6,7,3]=>0101001
[5,4,8,3,7,6,1,2]=>1010110
[3,1,5,8,6,2,7,4]=>1001101
[6,3,4,8,5,1,7,2]=>1001101
[5,3,4,8,1,6,7,2]=>1001001
[7,6,1,2,8,3,5,4]=>1100101
[7,5,8,4,1,2,6,3]=>1011001
[7,5,8,4,6,1,3,2]=>1010101
[6,5,4,8,7,1,3,2]=>1101101
[6,5,4,8,1,2,7,3]=>1101001
[7,5,1,6,2,3,8,4]=>1101001
[7,5,1,6,8,2,4,3]=>1100101
[6,5,4,1,8,2,7,3]=>1110101
[6,5,4,7,1,2,8,3]=>1101001
[6,5,4,7,8,1,3,2]=>1100101
[6,5,3,7,1,4,2,8]=>1101010
[6,5,3,1,8,4,2,7]=>1110110
[7,5,1,4,8,3,2,6]=>1100110
[8,1,6,4,7,3,5,2]=>1010101
[7,5,1,4,8,3,6,2]=>1100101
[6,5,3,7,1,4,8,2]=>1101001
[6,4,3,1,5,8,7,2]=>1110011
[7,4,1,5,3,8,6,2]=>1101011
[8,1,5,4,3,7,6,2]=>1011011
[8,1,5,4,3,7,2,6]=>1011010
[7,4,1,5,3,8,2,6]=>1101010
[7,4,1,5,3,2,6,8]=>1101100
[8,1,5,4,3,2,6,7]=>1011100
[8,1,6,4,2,5,3,7]=>1011010
[6,5,3,1,2,7,4,8]=>1110010
[6,5,3,8,1,4,2,7]=>1101010
[7,6,8,1,4,3,2,5]=>1010110
[8,1,7,2,5,4,3,6]=>1010110
[8,1,7,2,5,4,6,3]=>1010101
[7,6,1,2,5,4,8,3]=>1100101
[6,5,3,8,1,4,7,2]=>1101001
[6,5,3,1,2,7,8,4]=>1110001
[7,5,1,4,2,6,8,3]=>1101001
[8,1,6,4,2,5,7,3]=>1011001
[7,4,1,5,3,2,8,6]=>1101101
[6,4,3,1,5,2,8,7]=>1110101
[6,4,3,1,5,7,2,8]=>1110010
[7,4,1,5,3,6,2,8]=>1101010
[8,1,5,4,3,6,2,7]=>1011010
[8,1,5,4,3,6,7,2]=>1011001
[7,4,1,5,3,6,8,2]=>1101001
[6,4,3,1,5,7,8,2]=>1110001
[6,7,3,8,4,5,1,2]=>0101010
[6,7,4,5,1,8,2,3]=>0101010
[4,7,5,6,2,3,1,8]=>0101010
[4,7,5,6,1,8,2,3]=>0101010
[4,7,5,6,3,8,1,2]=>0101010
[3,7,5,8,4,6,1,2]=>0101010
[4,5,3,8,6,7,1,2]=>0101010
[4,8,3,6,5,7,1,2]=>0101010
[5,6,4,7,1,8,2,3]=>0101010
[5,6,1,7,3,8,2,4]=>0101010
[5,6,1,8,2,7,3,4]=>0101010
[5,6,1,8,4,7,2,3]=>0101010
[4,8,1,6,5,7,2,3]=>0101010
[4,5,1,8,6,7,2,3]=>0101010
[7,8,4,5,1,6,2,3]=>0101010
[4,8,2,3,1,6,5,7]=>0101010
[5,6,2,8,1,4,3,7]=>0101010
[5,6,3,4,1,8,2,7]=>0101010
[3,6,4,5,2,7,1,8]=>0101010
[3,6,4,5,1,8,2,7]=>0101010
[2,6,4,8,1,5,3,7]=>0101010
[2,8,3,6,1,5,4,7]=>0101010
[2,8,3,4,1,6,5,7]=>0101010
[7,8,2,5,3,4,1,6]=>0101010
[7,8,1,5,3,6,2,4]=>0101010
[1,5,3,8,6,7,2,4]=>0101010
[1,8,3,6,2,7,4,5]=>0101010
[1,6,4,8,2,7,3,5]=>0101010
[2,6,4,7,3,5,1,8]=>0101010
[2,7,3,6,4,5,1,8]=>0101010
[1,7,3,6,4,8,2,5]=>0101010
[1,7,2,8,4,6,3,5]=>0101010
[1,7,5,8,4,6,2,3]=>0101010
[1,7,5,8,2,6,3,4]=>0101010
[1,7,5,6,3,8,2,4]=>0101010
[2,7,5,6,3,4,1,8]=>0101010
[6,7,2,5,3,4,1,8]=>0101010
[6,7,1,5,3,8,2,4]=>0101010
[6,7,5,8,1,4,2,3]=>0101010
[5,8,6,7,2,3,1,4]=>0101010
[6,7,2,3,1,8,4,5]=>0101010
[6,7,2,8,1,4,3,5]=>0101010
[3,4,2,7,5,6,1,8]=>0101010
[3,4,1,7,5,8,2,6]=>0101010
[2,7,5,8,1,4,3,6]=>0101010
[2,3,1,7,5,8,4,6]=>0101010
[2,3,1,8,4,7,5,6]=>0101010
[7,8,2,3,1,6,4,5]=>0101010
[7,8,2,6,1,4,3,5]=>0101010
[2,8,6,7,1,4,3,5]=>0101010
[2,8,1,4,3,7,5,6]=>0101010
[3,7,2,5,4,6,1,8]=>0101010
[4,5,2,7,3,6,1,8]=>0101010
[4,5,1,8,2,7,3,6]=>0101010
[3,4,1,8,2,7,5,6]=>0101010
[3,4,1,8,6,7,2,5]=>0101010
[3,4,2,5,1,8,6,7]=>0101010
[3,4,2,8,1,6,5,7]=>0101010
[3,8,2,5,1,6,4,7]=>0101010
[4,5,2,8,1,6,3,7]=>0101010
[4,5,3,6,1,8,2,7]=>0101010
[8,6,7,1,4,2,5,3]=>1010101
[8,6,3,7,5,1,2,4]=>1101100
[7,6,1,8,3,5,2,4]=>1101010
[7,6,2,8,3,5,1,4]=>1101010
[7,6,2,3,8,5,1,4]=>1100110
[8,7,1,5,2,6,3,4]=>1101010
[8,7,1,5,2,3,6,4]=>1101001
[8,5,2,3,1,7,6,4]=>1101011
[8,6,2,3,7,1,5,4]=>1100101
[8,6,2,7,3,1,5,4]=>1101101
[8,7,2,5,1,6,3,4]=>1101010
[8,4,2,1,7,6,3,5]=>1110110
[8,5,7,2,1,4,3,6]=>1011010
[5,8,7,3,1,4,2,6]=>0111010
[5,8,7,3,1,4,6,2]=>0111001
[8,5,7,2,1,4,6,3]=>1011001
[8,4,2,1,3,7,6,5]=>1110011
[8,4,3,1,7,2,6,5]=>1110101
[8,6,1,3,7,2,5,4]=>1100101
[8,5,1,3,2,7,6,4]=>1101011
[6,1,5,8,4,2,7,3]=>1001101
[5,2,8,6,4,1,3,7]=>1011100
[8,4,7,5,1,6,2,3]=>1011010
[8,4,7,5,1,2,3,6]=>1011000
[8,7,3,5,1,2,6,4]=>1101001
[8,3,2,6,5,1,4,7]=>1101100
[4,8,6,3,5,1,2,7]=>0110100
[4,8,7,3,1,5,2,6]=>0111010
[8,4,7,2,1,5,3,6]=>1011010
[8,7,3,1,4,2,6,5]=>1110101
[8,7,3,1,2,6,4,5]=>1110010
[8,7,3,1,2,4,6,5]=>1110001
[8,3,2,1,4,7,6,5]=>1110011
[8,3,2,1,7,4,6,5]=>1110101
[8,3,2,7,1,5,6,4]=>1101001
[8,4,7,2,1,5,6,3]=>1011001
[8,7,2,1,6,3,4,5]=>1110100
[3,6,5,4,1,2,8,7]=>0111001
[3,8,5,6,7,4,1,2]=>0100110
[4,7,5,8,6,2,1,3]=>0101110
[2,5,7,8,6,3,4,1]=>0001101
[4,8,5,7,6,3,1,2]=>0101110
[4,6,3,2,1,5,8,7]=>0111001
[6,2,1,5,3,4,8,7]=>1101001
[5,8,1,3,7,6,4,2]=>0100111
[4,7,2,3,6,1,8,5]=>0100101
[3,7,4,2,8,1,5,6]=>0110100
[4,2,6,8,5,7,3,1]=>1001011
[6,4,2,7,3,8,5,1]=>1101011
[8,1,6,7,5,3,4,2]=>1001101
[2,1,5,8,7,6,3,4]=>1001110
[2,1,4,7,6,3,8,5]=>1001101
[6,4,7,8,5,3,2,1]=>1001111
[4,1,3,7,6,2,8,5]=>1001101
[8,5,1,6,3,2,7,4]=>1101101
[6,3,7,1,5,2,8,4]=>1010101
[3,2,6,8,4,7,5,1]=>1001011
[8,4,6,1,3,2,5,7]=>1010100
[4,2,8,6,7,3,1,5]=>1010110
[7,4,3,8,2,1,5,6]=>1101100
[4,7,5,8,1,6,3,2]=>0101011
[6,4,3,2,7,8,1,5]=>1110010
[4,2,5,1,6,7,8,3]=>1010001
[2,4,8,5,7,1,3,6]=>0010100
[3,7,1,4,6,8,5,2]=>0100011
[7,8,2,5,6,1,4,3]=>0100101
[2,4,3,8,7,5,6,1]=>0101101
[2,6,7,3,5,1,8,4]=>0010101
[7,6,8,4,2,5,3,1]=>1011011
[8,5,7,1,6,3,2,4]=>1010110
[6,5,7,2,8,4,3,1]=>1010111
[3,4,8,6,5,2,1,7]=>0011110
[2,7,6,1,4,5,8,3]=>0110001
[6,5,8,2,1,7,3,4]=>1011010
[7,4,3,5,1,6,8,2]=>1101001
[4,1,6,3,5,8,7,2]=>1010011
[6,2,5,8,4,3,7,1]=>1001101
[8,6,7,1,5,4,3,2]=>1010111
[2,1,6,5,8,4,7,3]=>1010101
[2,1,6,8,5,4,3,7]=>1001110
[4,1,8,5,6,2,3,7]=>1010100
[2,6,4,8,7,3,5,1]=>0101101
[6,2,8,4,3,5,1,7]=>1011010
[4,8,2,7,6,1,3,5]=>0101100
[3,1,8,2,7,5,4,6]=>1010110
[3,8,1,2,6,7,4,5]=>0100010
[5,8,4,3,2,7,1,6]=>0111010
[7,4,8,6,3,2,5,1]=>1011101
[5,8,4,7,2,1,3,6]=>0101100
[2,1,8,4,3,7,5,6]=>1011010
[6,3,8,2,4,5,7,1]=>1010001
[5,8,4,2,3,6,1,7]=>0110010
[5,8,2,4,3,1,6,7]=>0101100
[2,8,3,1,6,4,5,7]=>0110100
[8,2,1,3,4,7,5,6]=>1100010
[1,4,8,2,6,3,5,7]=>0010100
[1,2,7,3,5,4,8,6]=>0010101
[1,2,3,8,4,5,7,6]=>0001001
[1,2,8,3,4,5,7,6]=>0010001
[1,3,8,2,6,4,5,7]=>0010100
[1,5,7,2,3,6,4,8]=>0010010
[1,7,2,3,5,4,8,6]=>0100101
[1,3,8,2,4,5,7,6]=>0010001
[1,2,3,8,4,6,7,5]=>0001001
[1,8,2,3,5,4,6,7]=>0100100
[1,7,8,2,3,6,4,5]=>0010010
[1,6,7,8,2,3,5,4]=>0001001
[1,7,8,2,5,3,6,4]=>0010101
[1,7,8,2,4,5,3,6]=>0010010
[1,2,8,3,6,4,5,7]=>0010100
[1,8,2,3,6,4,5,7]=>0100100
[1,2,8,3,5,4,6,7]=>0010100
[1,2,7,8,3,6,4,5]=>0001010
[1,5,2,7,8,3,6,4]=>0100101
[1,3,2,8,4,6,7,5]=>0101001
[1,8,2,3,4,6,7,5]=>0100001
[1,7,8,2,4,3,6,5]=>0010101
[7,6,3,1,5,2,4,8]=>1110100
[6,7,3,1,5,2,8,4]=>0110101
[6,8,3,1,5,2,7,4]=>0110101
[6,8,4,5,1,2,7,3]=>0101001
[6,7,4,5,1,2,8,3]=>0101001
[7,2,1,6,5,3,4,8]=>1101100
[7,3,6,1,5,2,4,8]=>1010100
[7,4,6,5,1,2,3,8]=>1011000
[6,7,5,4,1,2,8,3]=>0111001
[5,8,6,4,1,7,2,3]=>0111010
[5,7,6,4,1,8,2,3]=>0111010
[5,6,7,4,1,8,2,3]=>0011010
[6,5,7,4,1,2,8,3]=>1011001
[6,4,7,5,1,2,8,3]=>1011001
[6,2,1,7,5,3,8,4]=>1101101
[6,3,8,1,5,2,7,4]=>1010101
[6,4,8,5,1,2,7,3]=>1011001
[6,5,8,4,1,2,7,3]=>1011001
[5,6,8,4,1,7,2,3]=>0011010
[4,6,8,5,7,1,2,3]=>0010100
[4,5,8,6,7,1,2,3]=>0010100
[5,4,8,6,1,7,2,3]=>1011010
[5,3,8,1,6,7,2,4]=>1010010
[5,2,1,8,6,7,3,4]=>1101010
[5,2,1,7,6,8,3,4]=>1101010
[5,4,7,6,1,8,2,3]=>1011010
[4,5,7,6,8,1,2,3]=>0010100
[4,6,7,5,8,1,2,3]=>0010100
[4,8,6,5,7,1,2,3]=>0110100
[4,8,5,6,7,1,2,3]=>0100100
[4,7,5,6,8,1,2,3]=>0100100
[4,6,5,7,8,1,2,3]=>0100100
[5,7,4,6,1,8,2,3]=>0101010
[5,8,4,6,1,7,2,3]=>0101010
[5,8,3,1,6,7,2,4]=>0110010
[5,7,3,1,6,8,2,4]=>0110010
[5,6,3,1,7,8,2,4]=>0110010
[6,2,1,4,3,8,7,5]=>1101011
[5,8,3,1,7,6,2,4]=>0110110
[5,7,4,8,1,6,2,3]=>0101010
[5,2,1,6,8,7,3,4]=>1100110
[5,4,6,8,1,7,2,3]=>1001010
[4,5,6,8,7,1,2,3]=>0001100
[4,7,5,8,6,1,2,3]=>0101100
[4,8,5,7,6,1,2,3]=>0101100
[4,8,6,7,5,1,2,3]=>0101100
[4,7,6,8,5,1,2,3]=>0101100
[4,6,7,8,5,1,2,3]=>0001100
[4,5,7,8,6,1,2,3]=>0001100
[5,4,7,8,1,6,2,3]=>1001010
[5,3,7,1,8,6,2,4]=>1010110
[5,2,1,7,8,6,3,4]=>1100110
[5,3,8,1,7,6,2,4]=>1010110
[5,4,8,7,1,6,2,3]=>1011010
[4,6,8,7,5,1,2,3]=>0011100
[4,7,8,6,5,1,2,3]=>0011100
[4,8,7,6,5,1,2,3]=>0111100
[2,5,4,7,3,6,1,8]=>0101010
[2,4,6,3,7,5,1,8]=>0010110
[4,2,7,3,6,5,1,8]=>1010110
[4,2,6,3,1,5,8,7]=>1011001
[2,5,3,1,6,4,8,7]=>0110101
[2,5,3,7,6,4,1,8]=>0101110
[2,6,5,3,7,4,1,8]=>0110110
[4,2,7,6,3,5,1,8]=>1011010
[2,7,5,3,6,4,1,8]=>0110110
[2,6,3,7,5,4,1,8]=>0101110
[1,7,5,2,3,8,4,6]=>0110010
[2,1,3,7,5,4,8,6]=>1001101
[2,3,1,8,6,5,4,7]=>0101110
[2,5,3,1,8,6,4,7]=>0110110
[4,2,8,3,1,6,5,7]=>1011010
[8,3,2,6,4,1,5,7]=>1101100
[3,6,8,2,1,4,5,7]=>0011000
[1,5,2,8,3,4,7,6]=>0101001
[1,2,6,3,8,7,4,5]=>0010110
[1,2,8,3,6,4,7,5]=>0010101
[1,2,7,6,3,4,8,5]=>0011001
[2,1,3,8,7,5,4,6]=>1001110
[1,2,3,8,6,4,7,5]=>0001101
[1,2,3,7,4,8,6,5]=>0001011
[1,2,7,6,3,8,4,5]=>0011010
[1,2,3,6,4,8,7,5]=>0001011
[1,2,3,7,6,4,8,5]=>0001101
[2,6,3,1,8,5,4,7]=>0110110
[2,1,3,8,5,4,7,6]=>1001101
[7,1,8,4,2,3,5,6]=>1011000
[2,1,8,4,3,5,7,6]=>1011001
[4,2,6,3,1,8,5,7]=>1011010
[5,4,2,8,3,1,6,7]=>1101100
[3,5,8,2,4,1,6,7]=>0010100
[2,5,4,8,3,1,6,7]=>0101100
[4,2,1,8,3,5,7,6]=>1101001
[1,8,7,4,2,3,5,6]=>0111000
[1,5,2,8,7,3,4,6]=>0101100
[1,2,7,3,6,4,8,5]=>0010101
[1,2,8,6,3,7,4,5]=>0011010
[1,2,7,3,8,6,4,5]=>0010110
[1,2,3,8,4,7,6,5]=>0001011
[1,2,7,3,4,8,6,5]=>0010011
[1,2,6,3,8,4,7,5]=>0010101
[1,5,2,3,8,7,4,6]=>0100110
[4,2,1,8,3,7,5,6]=>1101010
[8,3,2,1,7,4,5,6]=>1110100
[1,8,4,2,7,3,5,6]=>0110100
[1,2,8,6,3,4,7,5]=>0011001
[1,2,7,3,8,4,6,5]=>0010101
[1,2,3,8,7,4,6,5]=>0001101
[1,2,3,8,7,6,4,5]=>0001110
[2,5,3,8,1,6,4,7]=>0101010
[2,6,4,7,1,5,3,8]=>0101010
[2,6,5,7,1,4,3,8]=>0101010
[3,8,5,7,1,2,6,4]=>0101001
[3,8,5,7,2,6,4,1]=>0101011
[3,4,8,6,2,5,7,1]=>0011001
[3,4,8,6,1,2,5,7]=>0011000
[2,5,7,1,4,8,6,3]=>0010011
[2,4,8,1,5,7,6,3]=>0010011
[2,4,3,8,1,6,5,7]=>0101010
[2,8,1,7,5,6,4,3]=>0101011
[2,3,8,1,6,5,7,4]=>0010101
[2,4,8,1,3,5,7,6]=>0010001
[3,5,7,6,1,2,4,8]=>0011000
[3,5,7,6,2,4,8,1]=>0011001
[4,8,6,7,2,3,5,1]=>0101001
[4,8,6,7,1,2,3,5]=>0101000
[4,8,6,7,1,3,5,2]=>0101001
[3,4,8,6,1,5,7,2]=>0011001
[3,8,5,7,1,6,4,2]=>0101011
[3,2,8,5,6,1,7,4]=>1010101
[3,8,5,7,2,1,6,4]=>0101101
[3,4,8,6,2,1,5,7]=>0011100
[3,5,7,6,2,1,4,8]=>0011100
[4,8,6,7,2,1,3,5]=>0101100
[4,8,6,7,3,5,2,1]=>0101011
[5,8,6,7,3,4,2,1]=>0101011
[5,8,6,7,2,1,3,4]=>0101100
[5,8,6,7,2,1,4,3]=>0101101
[4,8,6,7,2,1,5,3]=>0101101
[4,3,1,7,5,2,8,6]=>1101101
[4,3,2,8,5,1,7,6]=>1101101
[4,3,8,5,1,6,7,2]=>1011001
[4,8,6,7,1,5,3,2]=>0101011
[5,8,6,7,1,4,3,2]=>0101011
[5,8,6,7,2,3,4,1]=>0101001
[5,8,6,7,2,4,3,1]=>0101011
[5,8,6,7,1,2,4,3]=>0101001
[4,2,3,8,5,1,6,7]=>1001100
[4,2,8,5,1,7,6,3]=>1011011
[3,4,2,8,5,6,1,7]=>0101010
[3,2,4,8,6,1,5,7]=>1001100
[3,2,5,7,6,1,4,8]=>1001100
[4,8,6,7,1,3,2,5]=>0101010
[4,8,6,7,1,2,5,3]=>0101001
[4,8,6,7,2,5,3,1]=>0101011
[4,3,8,5,2,6,7,1]=>1011001
[4,3,8,5,1,2,6,7]=>1011000
[4,2,6,7,5,1,3,8]=>1001100
[3,8,5,7,1,4,2,6]=>0101010
[3,8,4,7,1,5,2,6]=>0101010
[3,5,2,8,4,6,1,7]=>0101010
[3,5,1,7,4,6,2,8]=>0101010
[3,8,4,7,2,5,1,6]=>0101010
[4,1,3,8,5,2,6,7]=>1001100
[4,1,2,6,7,5,3,8]=>1000110
[4,2,6,7,5,3,8,1]=>1001101
[4,8,6,7,3,2,5,1]=>0101101
[4,8,6,7,3,1,2,5]=>0101100
[3,1,5,7,6,2,4,8]=>1001100
[3,4,1,7,5,6,2,8]=>0101010
[4,1,7,5,2,8,6,3]=>1011011
[4,1,6,7,5,2,3,8]=>1001100
[4,8,6,7,2,3,1,5]=>0101010
[5,8,6,7,3,2,4,1]=>0101101
[5,8,6,7,4,2,3,1]=>0101101
[5,8,6,7,4,1,2,3]=>0101100
[5,8,6,7,4,1,3,2]=>0101101
[5,8,6,7,3,1,4,2]=>0101101
[4,8,6,7,3,1,5,2]=>0101101
[4,1,6,7,5,3,8,2]=>1001101
[4,1,7,5,3,2,8,6]=>1011101
[4,2,8,5,3,1,7,6]=>1011101
[4,2,1,6,7,5,3,8]=>1100110
[4,8,6,7,3,2,1,5]=>0101110
[5,8,6,7,4,2,1,3]=>0101110
[5,8,6,7,4,3,1,2]=>0101110
[7,3,5,8,1,4,2,6]=>1001010
[3,8,7,6,1,4,2,5]=>0111010
[5,1,8,3,6,7,2,4]=>1010010
[1,4,7,8,5,6,2,3]=>0001010
[3,4,7,1,5,8,6,2]=>0010011
[3,6,1,4,7,8,5,2]=>0100011
[1,6,8,4,7,5,2,3]=>0010110
[6,8,1,3,5,7,2,4]=>0100010
[7,6,1,4,3,8,2,5]=>1101010
[3,8,1,6,5,4,2,7]=>0101110
[4,1,3,7,5,8,2,6]=>1001010
[6,1,7,3,8,4,2,5]=>1010110
[7,1,8,6,3,5,2,4]=>1011010
[3,1,7,6,5,8,4,2]=>1011011
[8,2,7,6,5,3,4,1]=>1011101
[8,4,2,6,7,5,3,1]=>1100111
[4,8,1,6,7,5,3,2]=>0100111
[7,4,1,6,8,2,5,3]=>1100101
[1,3,8,6,2,7,5,4]=>0011011
[6,1,3,2,7,8,4,5]=>1010010
[1,8,6,2,5,3,4,7]=>0110100
[4,7,2,6,8,1,5,3]=>0100101
[8,7,3,6,4,5,2,1]=>1101011
[5,7,8,6,2,1,4,3]=>0011101
[2,7,4,1,6,8,3,5]=>0110010
[3,7,2,4,5,1,6,8]=>0100100
[1,8,6,4,5,2,3,7]=>0110100
[2,8,4,6,5,1,3,7]=>0101100
[3,4,1,7,5,2,6,8]=>0101100
[7,5,8,6,1,2,4,3]=>1011001
[5,6,8,7,3,1,4,2]=>0011101
[2,5,4,3,6,8,1,7]=>0110010
[3,8,5,4,6,2,1,7]=>0110110
[4,8,2,1,3,7,5,6]=>0110010
[6,4,1,2,7,5,8,3]=>1100101
[4,1,8,3,6,7,5,2]=>1010011
[8,3,7,4,5,2,6,1]=>1010101
[4,3,7,8,5,1,6,2]=>1001101
[5,4,8,2,7,6,1,3]=>1010110
[1,2,7,3,6,5,8,4]=>0010101
[2,8,7,6,3,4,1,5]=>0111010
[5,8,2,6,3,4,1,7]=>0101010
[4,1,7,5,8,6,2,3]=>1010110
[5,1,7,8,4,3,6,2]=>1001101
[8,2,7,5,4,3,6,1]=>1011101
[6,3,8,1,4,7,5,2]=>1010011
[3,8,4,5,6,1,2,7]=>0100100
[1,4,3,5,7,8,2,6]=>0100010
[6,5,8,7,1,3,4,2]=>1011001
[3,6,7,2,4,8,1,5]=>0010010
[1,5,2,7,4,3,8,6]=>0101101
[2,8,5,6,4,3,1,7]=>0101110
[1,8,6,5,4,3,2,7]=>0111110
[6,1,5,2,8,4,7,3]=>1010101
[4,6,1,8,5,7,2,3]=>0101010
[4,7,1,2,8,5,6,3]=>0100101
[1,4,7,2,8,5,6,3]=>0010101
[1,7,3,5,8,6,2,4]=>0100110
[7,3,5,8,6,1,2,4]=>1001100
[3,6,8,1,5,7,2,4]=>0010010
[3,4,6,5,8,1,7,2]=>0010101
[6,8,1,5,7,2,3,4]=>0100100
[7,1,2,5,8,6,3,4]=>1000110
[1,7,2,5,8,6,3,4]=>0100110
[1,7,6,8,2,3,5,4]=>0101001
[7,6,8,1,2,3,5,4]=>1010001
[2,7,1,5,8,6,3,4]=>0100110
[2,4,7,1,8,5,6,3]=>0010101
[4,7,5,8,3,1,6,2]=>0101101
[4,7,2,1,8,5,6,3]=>0110101
[7,6,8,2,1,3,5,4]=>1011001
[1,2,7,6,8,3,5,4]=>0010101
[3,7,6,8,2,1,5,4]=>0101101
[7,4,2,1,6,8,5,3]=>1110011
[6,7,4,1,8,5,3,2]=>0110111
[6,7,4,3,1,8,5,2]=>0111011
[2,7,4,1,6,8,5,3]=>0110011
[2,3,7,6,8,1,5,4]=>0010101
[7,4,2,6,8,5,1,3]=>1100110
[7,3,2,5,8,6,1,4]=>1100110
[3,1,7,6,8,2,5,4]=>1010101
[3,7,6,8,1,2,5,4]=>0101001
[1,3,7,6,8,2,5,4]=>0010101
[1,7,4,2,6,8,5,3]=>0110011
[7,4,1,2,6,8,5,3]=>1100011
[7,1,4,2,8,5,6,3]=>1010101
[7,1,8,2,5,4,6,3]=>1010101
[7,3,8,4,6,1,5,2]=>1010101
[7,2,8,1,6,4,5,3]=>1010101
[7,1,6,8,5,4,2,3]=>1001110
[7,1,2,6,8,5,4,3]=>1000111
[1,7,2,6,8,5,4,3]=>0100111
[1,7,6,8,3,2,5,4]=>0101101
[7,6,8,3,1,2,5,4]=>1011001
[7,1,5,8,6,3,2,4]=>1001110
[7,2,5,8,6,3,1,4]=>1001110
[3,6,7,1,8,5,4,2]=>0010111
[7,2,6,8,5,4,1,3]=>1001110
[7,6,8,2,3,1,5,4]=>1010101
[2,7,6,8,3,1,5,4]=>0101101
[2,7,1,6,8,5,4,3]=>0100111
[6,7,3,1,8,5,4,2]=>0110111
[6,7,1,8,5,4,3,2]=>0101111
[7,2,1,6,8,5,4,3]=>1100111
[7,6,8,3,2,1,5,4]=>1011101
[4,7,8,5,6,1,3,2]=>0010101
[4,6,5,8,7,1,3,2]=>0101101
[5,6,4,8,1,2,7,3]=>0101001
[8,1,5,6,7,2,4,3]=>1000101
[6,4,5,1,8,2,7,3]=>1010101
[5,4,6,7,1,2,8,3]=>1001001
[4,3,6,7,2,1,5,8]=>1001100
[5,3,6,7,1,4,2,8]=>1001010
[8,1,4,6,7,3,2,5]=>1000110
[8,1,3,6,7,4,5,2]=>1000101
[7,2,1,6,8,4,5,3]=>1100101
[5,2,6,7,1,4,8,3]=>1001001
[4,2,6,7,3,1,8,5]=>1001101
[6,2,4,1,5,8,7,3]=>1010011
[7,2,1,5,4,8,6,3]=>1101011
[8,1,4,5,3,7,2,6]=>1001010
[7,3,1,5,4,8,2,6]=>1101010
[6,3,4,1,5,8,2,7]=>1010010
[5,3,4,2,1,8,6,7]=>1011010
[4,3,5,2,7,1,6,8]=>1010100
[5,6,3,8,1,4,2,7]=>0101010
[8,1,7,2,4,5,6,3]=>1010001
[7,6,1,2,4,5,8,3]=>1100001
[4,7,8,2,3,1,6,5]=>0010101
[5,6,2,8,1,4,7,3]=>0101001
[6,5,2,1,3,7,8,4]=>1110001
[7,5,1,3,2,6,8,4]=>1101001
[8,1,6,3,2,5,7,4]=>1011001
[7,4,1,3,5,2,8,6]=>1100101
[5,4,2,3,1,6,8,7]=>1101001
[7,3,1,4,5,6,2,8]=>1100010
[8,1,4,3,5,6,2,7]=>1010010
[6,2,3,1,5,7,8,4]=>1010001
[7,8,4,2,1,6,5,3]=>0111011
[7,8,4,2,1,5,6,3]=>0111001
[6,2,3,4,8,7,1,5]=>1000110
[6,2,3,4,7,8,1,5]=>1000010
[7,8,3,4,6,2,1,5]=>0100110
[7,8,3,6,4,2,1,5]=>0101110
[7,8,3,5,6,2,1,4]=>0100110
[6,2,3,8,7,5,1,4]=>1001110
[6,2,3,7,8,5,1,4]=>1000110
[5,2,6,3,8,1,7,4]=>1010101
[6,3,2,5,8,7,1,4]=>1100110
[6,3,2,8,4,7,1,5]=>1101010
[6,4,3,8,7,5,1,2]=>1101110
[6,4,3,7,8,5,1,2]=>1100110
[6,2,4,1,7,3,5,8]=>1010100
[6,3,2,7,4,8,1,5]=>1101010
[6,3,2,5,7,8,1,4]=>1100010
[5,7,2,3,6,1,8,4]=>0100101
[5,8,2,3,6,1,7,4]=>0100101
[4,7,5,8,3,2,1,6]=>0101110
[4,5,6,8,3,2,1,7]=>0001110
[4,6,8,5,3,2,1,7]=>0011110
[5,6,1,4,2,3,7,8]=>0101000
[5,6,8,4,3,7,1,2]=>0011010
[5,6,1,4,2,3,8,7]=>0101001
[5,2,8,3,4,1,7,6]=>1010101
[4,5,8,6,3,2,1,7]=>0011110
[4,6,5,8,3,2,1,7]=>0101110
[4,7,5,6,3,2,1,8]=>0101110
[6,2,3,4,5,8,1,7]=>1000010
[5,1,4,3,6,2,8,7]=>1010101
[5,1,4,3,7,2,8,6]=>1010101
[5,1,4,3,8,2,7,6]=>1010101
[5,6,2,4,1,7,8,3]=>0101001
[5,6,2,4,1,8,7,3]=>0101011
[5,7,2,4,1,8,6,3]=>0101011
[6,1,4,2,8,7,5,3]=>1010111
[6,1,4,2,7,8,5,3]=>1010011
[5,8,2,4,1,7,6,3]=>0101011
[5,2,7,4,1,6,8,3]=>1011001
[5,4,1,3,7,2,6,8]=>1100100
[5,1,4,3,6,2,7,8]=>1010100
[5,8,6,4,3,7,1,2]=>0111010
[5,8,1,4,2,3,7,6]=>0101001
[5,1,6,3,4,2,7,8]=>1010100
[4,8,6,5,3,2,1,7]=>0111110
[4,8,5,6,3,2,1,7]=>0101110
[5,4,7,8,3,2,1,6]=>1001110
[5,4,8,7,3,2,1,6]=>1011110
[4,6,8,7,3,2,1,5]=>0011110
[4,6,7,8,3,2,1,5]=>0001110
[4,7,6,8,3,2,1,5]=>0101110
[4,7,8,5,3,2,1,6]=>0011110
[5,7,1,3,4,2,6,8]=>0100100
[5,1,8,4,2,3,6,7]=>1011000
[5,1,7,4,2,3,6,8]=>1011000
[5,8,1,3,4,2,6,7]=>0100100
[4,8,7,5,3,2,1,6]=>0111110
[4,7,8,6,3,2,1,5]=>0011110
[4,8,7,6,3,2,1,5]=>0111110
[4,8,2,6,3,7,5,1]=>0101011
[4,8,2,3,6,7,5,1]=>0100011
[4,8,3,1,6,7,5,2]=>0110011
[4,3,8,1,6,2,5,7]=>1010100
[1,4,8,7,3,5,2,6]=>0011010
[4,3,8,7,2,5,1,6]=>1011010
[5,8,4,3,7,1,6,2]=>0110101
[5,8,1,4,7,2,6,3]=>0100101
[5,8,1,7,4,2,3,6]=>0101100
[6,8,1,2,4,3,5,7]=>0100100
[5,8,7,1,3,4,2,6]=>0110010
[4,8,7,6,3,1,2,5]=>0111100
[5,8,4,7,3,1,2,6]=>0101100
[4,3,8,2,7,5,6,1]=>1010101
[1,4,8,3,7,5,6,2]=>0010101
[1,4,3,8,2,6,5,7]=>0101010
[4,3,2,8,1,6,5,7]=>1101010
[4,1,3,8,2,6,5,7]=>1001010
[4,1,8,3,7,5,6,2]=>1010101
[4,1,8,7,3,5,2,6]=>1011010
[3,7,8,1,5,4,2,6]=>0010110
[7,3,8,1,5,4,6,2]=>1010101
[3,4,8,1,6,2,5,7]=>0010100
[3,4,8,7,2,5,1,6]=>0011010
[3,4,8,2,7,5,6,1]=>0010101
[1,2,4,8,3,6,5,7]=>0001010
[1,2,4,3,8,6,5,7]=>0010110
[3,4,2,1,8,6,5,7]=>0110110
[3,4,1,8,2,6,5,7]=>0101010
[3,6,7,8,4,1,2,5]=>0001100
[4,1,7,8,5,3,2,6]=>1001110
[4,1,2,8,3,6,5,7]=>1001010
[1,4,3,2,8,6,5,7]=>0110110
[4,2,3,1,8,6,5,7]=>1010110
[3,7,6,8,4,2,1,5]=>0101110
[4,7,1,8,5,2,3,6]=>0101100
[2,6,8,7,4,3,1,5]=>0011110
[3,7,8,6,2,4,1,5]=>0011010
[3,7,8,2,6,4,5,1]=>0010101
[4,2,3,8,1,6,5,7]=>1001010
[4,3,1,8,2,6,5,7]=>1101010
[1,4,7,8,5,3,2,6]=>0001110
[4,3,7,8,5,2,1,6]=>1001110
[3,7,2,8,4,6,5,1]=>0101011
[4,2,8,6,3,1,5,7]=>1011100
[2,6,8,4,7,3,1,5]=>0010110
[2,4,8,6,3,1,5,7]=>0011100
[7,3,6,8,4,2,1,5]=>1001110
[7,6,2,8,3,5,4,1]=>1101011
[1,7,3,8,4,6,5,2]=>0101011
[1,3,4,8,2,6,5,7]=>0001010
[3,2,4,8,1,6,5,7]=>1001010
[7,3,8,6,2,4,1,5]=>1011010
[7,3,8,2,6,4,5,1]=>1010101
[2,4,8,3,6,1,5,7]=>0010100
[6,2,8,7,4,3,5,1]=>1011101
[7,4,1,8,5,2,6,3]=>1101101
[7,3,2,8,4,6,5,1]=>1101011
[2,4,3,1,8,6,5,7]=>0110110
[1,3,4,2,8,6,5,7]=>0010110
[1,3,2,4,8,6,5,7]=>0100110
[3,2,1,4,8,6,5,7]=>1100110
[3,1,2,4,8,6,5,7]=>1000110
[3,1,4,2,8,6,5,7]=>1010110
[3,1,4,8,2,6,5,7]=>1001010
[7,3,4,8,5,1,6,2]=>1001101
[3,7,4,8,5,1,2,6]=>0101100
[6,7,2,8,3,5,4,1]=>0101011
[2,3,1,4,8,6,5,7]=>0100110
[2,1,3,4,8,6,5,7]=>1000110
[1,2,3,4,8,6,5,7]=>0000110
[4,8,3,6,2,1,5,7]=>0101100
[3,5,8,2,6,1,4,7]=>0010100
[3,6,5,8,2,4,1,7]=>0101010
[5,3,8,7,2,4,6,1]=>1011001
[2,8,4,5,7,3,6,1]=>0100101
[2,4,5,7,3,8,1,6]=>0001010
[6,2,4,5,8,3,1,7]=>1000110
[4,8,1,2,5,6,3,7]=>0100010
[8,1,3,5,2,6,4,7]=>1001010
[5,2,1,6,3,8,4,7]=>1101010
[6,2,5,1,8,4,3,7]=>1010110
[3,6,1,5,8,4,2,7]=>0100110
[6,1,4,5,8,3,2,7]=>1000110
[5,6,4,8,1,3,2,7]=>0101010
[6,5,4,3,8,2,1,7]=>1110110
[5,4,3,7,2,8,1,6]=>1101010
[5,8,4,3,7,2,6,1]=>0110101
[4,6,8,3,7,2,5,1]=>0010101
[7,4,6,3,2,8,1,5]=>1011010
[1,4,3,6,2,7,8,5]=>0101001
[1,5,4,3,7,2,8,6]=>0110101
[4,7,8,5,3,1,2,6]=>0011100
[5,7,3,4,1,2,8,6]=>0101001
[8,5,4,7,6,2,1,3]=>1101110
[8,5,7,4,3,6,1,2]=>1011010
[4,3,8,1,6,7,5,2]=>1010011
[4,7,8,3,6,1,5,2]=>0010101
[5,3,8,6,7,4,1,2]=>1010110
[1,3,8,6,4,7,5,2]=>0011011
[8,6,2,7,4,1,5,3]=>1101101
[7,6,2,1,4,3,8,5]=>1110101
[7,6,1,3,4,2,8,5]=>1100101
[1,5,7,3,2,6,8,4]=>0011001
[1,6,7,3,2,5,8,4]=>0011001
[3,2,6,8,5,7,4,1]=>1001011
[5,8,2,3,6,7,4,1]=>0100011
[7,5,2,3,1,6,8,4]=>1101001
[1,6,4,7,2,3,8,5]=>0101001
[3,1,7,5,2,8,4,6]=>1011010
[2,5,7,4,1,8,3,6]=>0011010
[4,2,6,1,7,8,3,5]=>1010010
[4,2,7,6,3,8,1,5]=>1011010
[6,4,8,7,2,3,5,1]=>1011001
[3,2,6,8,7,4,5,1]=>1001101
[3,2,7,4,1,6,8,5]=>1011001
[6,3,2,1,7,8,4,5]=>1110010
[3,7,1,8,4,2,5,6]=>0101100
[4,2,1,3,7,5,8,6]=>1100101
[8,1,3,7,4,2,6,5]=>1001101
[8,4,3,7,6,2,1,5]=>1101110
[8,3,5,2,7,6,1,4]=>1010110
[3,6,2,8,7,1,5,4]=>0101101
[7,3,2,8,1,6,5,4]=>1101011
[3,8,7,2,6,5,4,1]=>0110111
[4,2,7,8,6,1,5,3]=>1001101
[6,8,2,4,7,1,5,3]=>0100101
[5,2,1,8,7,3,6,4]=>1101101
[8,2,1,6,3,7,5,4]=>1101011
[6,8,3,1,7,5,2,4]=>0110110
[5,8,1,6,7,2,4,3]=>0100101
[6,2,8,1,5,7,4,3]=>1010011
[5,7,8,2,6,1,4,3]=>0010101
[8,7,2,5,6,4,3,1]=>1100111
[8,6,7,5,2,4,3,1]=>1011011
[7,2,6,8,1,5,4,3]=>1001011
[1,2,7,8,5,6,4,3]=>0001011
[7,4,8,1,6,2,5,3]=>1010101
[3,7,1,8,2,6,5,4]=>0101011
[2,1,7,3,8,6,5,4]=>1010111
[8,2,1,7,6,5,4,3]=>1101111
[8,1,4,7,6,5,3,2]=>1001111
[8,6,7,5,1,4,3,2]=>1011011
[7,8,6,5,4,1,3,2]=>0111101
[5,8,4,3,2,1,6,7]=>0111100
[6,4,7,3,2,1,8,5]=>1011101
[5,4,7,3,2,1,6,8]=>1011100
[6,5,3,7,2,1,4,8]=>1101100
[5,8,3,6,2,1,4,7]=>0101100
[6,3,7,8,2,1,4,5]=>1001100
[5,3,7,6,2,1,4,8]=>1011100
[3,8,7,6,2,1,4,5]=>0111100
[5,8,4,2,6,1,3,7]=>0110100
[4,8,7,2,5,1,3,6]=>0110100
[5,8,3,2,6,1,4,7]=>0110100
[4,8,3,2,5,1,7,6]=>0110101
[4,3,7,2,5,1,8,6]=>1010101
[3,8,7,2,5,1,4,6]=>0110100
[6,4,2,7,5,1,3,8]=>1101100
[6,3,2,7,5,1,4,8]=>1101100
[5,3,2,6,7,1,4,8]=>1100100
[3,8,2,6,5,1,4,7]=>0101100
[6,2,7,8,5,1,3,4]=>1001100
[5,2,7,6,8,1,3,4]=>1010100
[4,2,7,6,5,1,3,8]=>1011100
[2,8,7,6,5,1,3,4]=>0111100
[6,5,4,3,1,7,8,2]=>1111001
[6,4,7,3,1,5,8,2]=>1011001
[5,4,7,3,1,8,6,2]=>1011011
[6,4,3,7,1,5,8,2]=>1101001
[5,4,3,6,1,8,7,2]=>1101011
[6,3,7,8,1,4,5,2]=>1001001
[5,3,7,6,1,4,8,2]=>1011001
[4,3,7,6,1,5,8,2]=>1011001
[3,8,7,6,1,4,5,2]=>0111001
[6,5,4,2,1,7,3,8]=>1111010
[6,4,7,2,1,5,3,8]=>1011010
[4,8,7,2,1,5,3,6]=>0111010
[5,8,3,2,1,4,7,6]=>0111001
[4,8,3,2,1,5,7,6]=>0111001
[5,3,7,2,1,4,8,6]=>1011001
[3,8,7,2,1,4,5,6]=>0111000
[6,5,2,7,1,4,3,8]=>1101010
[5,8,2,6,1,4,3,7]=>0101010
[6,4,2,7,1,5,3,8]=>1101010
[5,4,2,6,1,8,3,7]=>1101010
[4,3,2,6,1,5,8,7]=>1101001
[6,2,7,8,1,4,3,5]=>1001010
[4,2,7,6,1,5,3,8]=>1011010
[3,2,7,6,1,4,5,8]=>1011000
[6,5,4,1,8,7,3,2]=>1110111
[5,8,4,1,6,7,3,2]=>0110011
[6,4,7,1,5,8,3,2]=>1010011
[5,4,7,1,6,8,3,2]=>1010011
[4,8,7,1,5,6,3,2]=>0110011
[5,4,3,1,6,8,7,2]=>1110011
[4,8,3,1,5,6,7,2]=>0110001
[3,8,7,1,5,4,6,2]=>0110101
[5,8,2,1,6,4,3,7]=>0110110
[6,3,2,1,5,4,8,7]=>1110101
[5,3,2,1,6,4,8,7]=>1110101
[3,8,2,1,5,4,6,7]=>0110100
[6,2,7,1,5,4,3,8]=>1010110
[5,2,7,1,6,4,3,8]=>1010110
[4,2,7,1,5,6,3,8]=>1010010
[3,2,7,1,5,4,6,8]=>1010100
[2,8,7,1,5,4,3,6]=>0110110
[6,5,1,7,8,4,3,2]=>1100111
[5,8,1,6,7,4,3,2]=>0100111
[6,4,1,7,5,8,3,2]=>1101011
[5,4,1,6,7,8,3,2]=>1100011
[4,8,1,6,5,7,3,2]=>0101011
[6,3,1,7,5,4,8,2]=>1101101
[5,3,1,6,7,4,8,2]=>1100101
[4,3,1,6,5,7,8,2]=>1101001
[3,8,1,6,5,4,7,2]=>0101101
[5,2,1,6,7,4,3,8]=>1100110
[4,2,1,6,5,7,3,8]=>1101010
[2,8,1,6,5,4,3,7]=>0101110
[6,1,7,8,5,4,3,2]=>1001111
[4,1,7,6,5,8,3,2]=>1011011
[3,1,7,6,5,4,8,2]=>1011101
[4,5,8,1,2,6,3,7]=>0010010
[1,4,5,7,2,6,3,8]=>0001010
[1,7,3,5,6,2,4,8]=>0100100
[8,1,3,5,7,2,4,6]=>1000100
[3,6,8,1,7,2,4,5]=>0010100
[3,4,5,6,8,1,7,2]=>0000101
[4,5,8,2,6,7,1,3]=>0010010
[8,2,3,5,6,7,1,4]=>1000010
[1,7,2,3,5,4,6,8]=>0100100
[8,1,2,3,5,4,6,7]=>1000100
[2,7,8,1,3,5,4,6]=>0010010
[2,7,8,3,5,6,1,4]=>0010010
[2,4,5,7,8,1,6,3]=>0000101
[4,5,8,1,7,6,3,2]=>0010111
[4,5,8,7,2,1,6,3]=>0011101
[8,7,3,5,6,2,1,4]=>1100110
[8,7,2,1,3,5,4,6]=>1110010
[3,6,8,7,2,1,5,4]=>0011101
[8,6,4,1,7,5,3,2]=>1110111
[7,6,4,3,1,8,5,2]=>1111011
[2,3,6,7,8,1,5,4]=>0000101
[3,6,8,1,2,5,4,7]=>0010010
[1,3,6,7,2,5,4,8]=>0001010
[7,4,1,8,5,2,3,6]=>1101100
[7,1,4,2,8,3,6,5]=>1010101
[7,1,8,2,5,3,6,4]=>1010101
[8,1,7,5,4,2,3,6]=>1011100
[1,7,2,6,5,4,3,8]=>0101110
[1,7,6,3,2,5,4,8]=>0111010
[8,6,3,1,2,5,4,7]=>1110010
[8,1,7,6,3,2,4,5]=>1011100
[8,2,5,7,6,3,1,4]=>1001110
[3,6,8,1,7,5,4,2]=>0010111
[8,2,6,7,5,4,1,3]=>1001110
[2,7,8,6,3,1,5,4]=>0011101
[2,7,8,1,6,5,4,3]=>0010111
[7,3,1,8,6,5,4,2]=>1101111
[8,7,2,1,6,5,4,3]=>1110111
[8,7,6,3,2,1,5,4]=>1111101
[2,1,8,6,3,7,4,5]=>1011010
[8,6,1,5,2,7,4,3]=>1101011
[8,5,1,7,4,2,6,3]=>1101101
[2,1,7,5,4,3,8,6]=>1011101
[2,1,7,8,3,6,5,4]=>1001011
[2,1,4,8,5,7,3,6]=>1001010
[8,5,3,1,6,2,4,7]=>1110100
[6,4,1,5,2,3,8,7]=>1101001
[8,3,7,5,2,6,1,4]=>1011010
[5,3,7,4,6,8,1,2]=>1010010
[5,8,3,7,6,2,1,4]=>0101110
[4,2,6,3,8,5,1,7]=>1010110
[5,8,2,1,7,6,4,3]=>0110111
[8,3,2,4,1,7,5,6]=>1101010
[7,8,3,1,5,4,6,2]=>0110101
[7,2,8,1,4,6,5,3]=>1010011
[6,2,3,1,4,5,8,7]=>1010001
[6,8,1,4,5,3,2,7]=>0100110
[8,2,6,1,4,7,3,5]=>1010010
[8,3,5,6,1,7,4,2]=>1001011
[6,3,5,4,1,2,8,7]=>1011001
[8,7,3,6,5,1,4,2]=>1101101
[2,7,4,3,6,1,8,5]=>0110101
[3,4,7,2,8,1,5,6]=>0010100
[4,2,3,5,8,1,6,7]=>1000100
[3,8,4,7,1,6,5,2]=>0101011
[3,2,4,6,1,5,8,7]=>1001001
[8,3,4,5,7,6,1,2]=>1000110
[3,2,4,5,6,8,1,7]=>1000010
[5,6,8,1,4,2,7,3]=>0010101
[1,5,7,8,4,6,2,3]=>0001010
[1,3,5,7,8,6,2,4]=>0000110
[3,5,7,8,6,1,2,4]=>0001100
[3,5,1,6,8,2,7,4]=>0100101
[3,1,5,6,8,2,7,4]=>1000101
[2,3,5,6,8,1,7,4]=>0000101
[5,6,4,8,2,1,7,3]=>0101101
[5,1,6,3,8,4,7,2]=>1010101
[2,5,1,6,8,3,7,4]=>0100101
[5,1,2,6,8,3,7,4]=>1000101
[5,7,1,8,6,2,3,4]=>0101100
[1,5,2,7,8,6,3,4]=>0100110
[1,6,7,5,2,8,3,4]=>0011010
[6,1,7,5,2,8,3,4]=>1011010
[2,6,7,5,1,8,3,4]=>0011010
[5,7,2,8,6,1,3,4]=>0101100
[3,5,7,8,6,2,1,4]=>0001110
[5,1,7,8,6,3,4,2]=>1001101
[5,1,3,7,8,6,4,2]=>1000111
[5,2,7,8,4,6,1,3]=>1001010
[3,2,5,7,8,6,1,4]=>1000110
[6,2,7,5,1,8,3,4]=>1011010
[1,2,6,7,5,8,3,4]=>0001010
[6,2,7,5,4,1,8,3]=>1011101
[6,7,5,2,4,1,8,3]=>0110101
[6,7,2,5,3,8,1,4]=>0101010
[6,7,4,5,2,1,8,3]=>0101101
[5,1,7,8,6,4,3,2]=>1001111
[2,5,7,8,6,3,1,4]=>0001110
[5,1,7,8,6,3,2,4]=>1001110
[6,3,7,5,1,8,2,4]=>1011010
[1,6,7,5,3,8,2,4]=>0011010
[1,6,7,5,4,2,8,3]=>0011101
[6,7,5,1,4,2,8,3]=>0110101
[5,7,8,6,4,1,2,3]=>0011100
[4,1,7,2,6,5,8,3]=>1010101
[2,4,7,1,5,6,8,3]=>0010001
[6,7,4,1,5,2,8,3]=>0110101
[1,6,7,4,5,2,8,3]=>0010101
[1,6,3,7,5,8,2,4]=>0101010
[6,3,1,7,5,8,2,4]=>1101010
[2,5,3,7,8,6,1,4]=>0100110
[6,7,5,4,2,1,8,3]=>0111101
[6,3,2,7,5,8,1,4]=>1101010
[6,7,4,2,5,1,8,3]=>0110101
[6,2,7,4,5,1,8,3]=>1010101
[6,2,3,7,5,8,1,4]=>1001010
[4,5,1,6,3,2,8,7]=>0101101
[7,5,1,6,3,8,2,4]=>1101010
[7,5,1,6,3,8,4,2]=>1101011
[2,7,6,1,3,8,4,5]=>0110010
[2,7,6,1,3,8,5,4]=>0110011
[7,3,5,1,8,2,6,4]=>1010101
[7,3,5,1,8,2,4,6]=>1010100
[3,7,5,1,8,6,2,4]=>0110110
[2,6,7,1,5,8,3,4]=>0010010
[2,6,7,4,1,8,3,5]=>0011010
[2,1,6,7,3,8,5,4]=>1001011
[2,6,7,4,1,8,5,3]=>0011011
[2,6,7,1,5,8,4,3]=>0010011
[3,6,5,1,8,4,7,2]=>0110101
[3,6,5,1,8,4,2,7]=>0110110
[3,7,5,4,8,1,6,2]=>0110101
[3,7,5,4,8,1,2,6]=>0110100
[4,6,1,5,8,7,3,2]=>0100111
[4,6,1,5,8,7,2,3]=>0100110
[4,6,1,5,8,2,7,3]=>0100101
[7,5,1,6,2,8,3,4]=>1101010
[7,5,1,6,2,8,4,3]=>1101011
[4,6,1,5,8,2,3,7]=>0100100
[4,7,1,5,8,3,6,2]=>0100101
[2,3,4,7,8,1,6,5]=>0000101
[6,8,5,4,3,2,7,1]=>0111101
[6,8,5,4,3,7,2,1]=>0111011
[5,8,4,3,2,1,7,6]=>0111101
[6,5,4,3,1,8,7,2]=>1111011
[8,7,5,4,3,1,6,2]=>1111101
[8,3,4,6,2,1,5,7]=>1001100
[3,5,6,2,1,8,4,7]=>0011010
[3,5,2,6,8,4,1,7]=>0100110
[7,5,3,2,8,4,1,6]=>1110110
[7,5,3,2,8,4,6,1]=>1110101
[2,4,5,7,3,8,6,1]=>0001011
[4,2,5,6,8,3,1,7]=>1000110
[4,2,8,1,5,6,3,7]=>1010010
[2,5,6,1,8,4,3,7]=>0010110
[5,3,6,8,1,4,2,7]=>1001010
[4,5,6,8,1,3,2,7]=>0001010
[1,4,5,6,8,3,2,7]=>0000110
[4,5,6,3,8,2,1,7]=>0010110
[4,5,3,7,2,8,6,1]=>0101011
[6,4,7,3,2,8,5,1]=>1011011
[6,1,4,7,3,2,8,5]=>1001101
[1,7,8,4,5,3,2,6]=>0010110
[5,1,7,3,8,4,2,6]=>1010110
[2,5,1,7,4,3,8,6]=>0101101
[2,5,7,4,1,8,6,3]=>0011011
[5,3,7,1,4,8,6,2]=>1010011
[6,4,3,1,7,8,5,2]=>1110011
[6,4,1,7,3,8,5,2]=>1101011
[5,6,3,7,8,4,2,1]=>0100111
[5,1,6,3,7,8,4,2]=>1010011
[5,6,1,3,7,8,4,2]=>0100011
[5,6,1,7,8,3,4,2]=>0100101
[1,6,3,7,4,8,5,2]=>0101011
[6,7,2,4,1,8,5,3]=>0101011
[6,7,2,1,4,3,8,5]=>0110101
[6,4,7,3,1,2,8,5]=>1011001
[5,6,3,1,2,7,8,4]=>0110001
[5,6,1,3,2,7,8,4]=>0101001
[5,6,3,2,1,7,8,4]=>0111001
[2,5,6,3,7,8,4,1]=>0010011
[2,5,6,3,1,7,8,4]=>0011001
[2,6,4,7,3,1,8,5]=>0101101
[6,3,7,2,8,4,5,1]=>1010101
[6,3,7,2,8,4,1,5]=>1010110
[6,3,2,7,1,8,4,5]=>1101010
[7,5,3,2,1,8,4,6]=>1111010
[7,3,8,4,2,1,5,6]=>1011100
[4,7,2,1,3,8,6,5]=>0110011
[1,3,7,8,6,4,2,5]=>0001110
[7,3,8,4,6,2,1,5]=>1010110
[5,7,3,8,2,1,6,4]=>0101101
[6,3,7,8,5,2,1,4]=>1001110
[4,6,2,7,8,5,3,1]=>0100111
[4,6,2,1,7,8,5,3]=>0110011
[7,4,5,8,1,2,6,3]=>1001001
[2,5,1,7,3,8,6,4]=>0101011
[6,7,2,1,3,8,5,4]=>0110011
[5,1,6,7,8,2,4,3]=>1000101
[6,3,7,1,8,5,2,4]=>1010110
[6,2,1,7,3,8,5,4]=>1101011
[6,2,7,1,8,5,4,3]=>1010111
[6,3,1,7,8,5,4,2]=>1100111
[4,1,3,6,8,2,5,7]=>1000100
[4,2,3,6,8,1,5,7]=>1000100
[5,3,2,1,8,4,7,6]=>1110101
[3,6,5,8,2,1,7,4]=>0101101
[4,5,2,1,3,8,7,6]=>0110011
[3,2,6,4,5,8,1,7]=>1010010
[2,4,6,5,8,1,3,7]=>0010100
[1,6,2,4,5,8,3,7]=>0100010
[5,3,2,1,6,8,4,7]=>1110010
[6,2,4,5,8,1,3,7]=>1000100
[1,3,4,6,5,8,2,7]=>0001010
[1,6,3,4,5,8,2,7]=>0100010
[3,4,1,8,5,2,7,6]=>0101101
[2,8,4,1,7,6,3,5]=>0110110
[8,1,4,2,7,3,6,5]=>1010101
[1,5,3,2,8,7,4,6]=>0110110
[8,2,1,7,5,3,4,6]=>1101100
[1,7,6,4,5,8,3,2]=>0110011
[5,8,7,4,1,2,6,3]=>0111001
[5,8,7,4,6,2,1,3]=>0110110
[3,4,2,5,8,6,7,1]=>0100101
[4,1,3,5,6,8,7,2]=>1000011
[2,4,8,6,7,1,3,5]=>0010100
[4,3,6,2,8,1,7,5]=>1010101
[3,7,4,8,2,1,6,5]=>0101101
[2,3,5,8,6,7,1,4]=>0001010
[3,2,5,6,8,7,1,4]=>1000110
[2,1,8,5,6,7,3,4]=>1010010
[1,2,8,3,5,6,7,4]=>0010001
[4,2,3,7,1,8,6,5]=>1001011
[3,2,6,4,8,1,7,5]=>1010101
[8,2,1,6,7,3,4,5]=>1100100
[2,7,8,5,4,1,3,6]=>0011100
[1,7,5,3,8,4,2,6]=>0110110
[4,7,5,3,1,2,8,6]=>0111001
[7,2,4,8,5,3,1,6]=>1001110
[4,8,3,1,2,7,6,5]=>0110011
[3,5,2,7,4,1,8,6]=>0101101
[8,4,2,3,7,1,5,6]=>1100100
[2,8,4,7,1,3,5,6]=>0101000
[8,2,4,6,7,1,3,5]=>1000100
[4,8,2,3,6,7,1,5]=>0100010
[3,5,2,7,6,1,8,4]=>0101101
[1,6,3,2,5,8,7,4]=>0110011
[5,8,3,2,1,6,7,4]=>0111001
[5,8,7,3,4,6,2,1]=>0110011
[5,8,2,7,4,1,6,3]=>0101101
[5,1,4,2,8,7,6,3]=>1010111
[4,7,6,5,8,2,1,3]=>0110110
[5,3,7,1,6,2,8,4]=>1010101
[5,2,6,8,7,1,3,4]=>1001100
[6,3,2,1,8,5,7,4]=>1110101
[2,7,5,4,1,8,6,3]=>0111011
[4,2,5,6,8,7,1,3]=>1000110
[1,8,4,2,5,6,7,3]=>0110001
[3,8,4,1,5,6,7,2]=>0110001
[4,2,8,5,6,7,1,3]=>1010010
[5,2,4,7,1,8,6,3]=>1001011
[5,3,4,7,1,8,6,2]=>1001011
[8,6,4,1,3,2,5,7]=>1110100
[8,1,3,6,5,2,4,7]=>1001100
[8,1,4,3,6,5,2,7]=>1010110
[3,6,5,2,1,8,7,4]=>0111011
[8,3,2,4,6,5,1,7]=>1100110
[8,4,2,1,6,5,3,7]=>1110110
[8,4,1,2,6,5,3,7]=>1100110
[8,6,4,2,1,5,3,7]=>1111010
[8,3,6,4,1,5,2,7]=>1011010
[8,2,6,3,4,5,1,7]=>1010010
[1,3,4,8,5,7,2,6]=>0001010
[5,8,4,7,6,2,3,1]=>0101101
[1,3,4,7,5,8,2,6]=>0001010
[1,3,5,2,4,8,7,6]=>0010011
[2,6,5,1,3,8,7,4]=>0110011
[4,7,1,6,5,8,3,2]=>0101011
[5,4,8,7,6,3,1,2]=>1011110
[2,8,5,1,4,7,6,3]=>0110011
[4,3,1,5,8,6,7,2]=>1100101
[4,1,3,5,8,6,7,2]=>1000101
[6,5,3,8,4,7,1,2]=>1101010
[5,4,2,1,6,8,7,3]=>1110011
[6,8,4,3,2,7,1,5]=>0111010
[3,4,7,8,2,1,6,5]=>0001101
[5,1,3,2,8,6,7,4]=>1010101
[5,3,1,2,8,6,7,4]=>1100101
[5,2,3,1,6,8,7,4]=>1010011
[5,3,2,1,8,6,7,4]=>1110101
[5,2,1,3,6,8,7,4]=>1100011
[2,4,7,3,8,1,6,5]=>0010101
[6,3,8,2,7,4,1,5]=>1010110
[8,2,1,3,6,4,7,5]=>1100101
[3,5,1,7,8,4,2,6]=>0100110
[2,7,4,5,8,3,1,6]=>0100110
[1,8,4,3,7,2,6,5]=>0110101
[3,4,8,7,2,1,6,5]=>0011101
[5,4,7,8,3,6,2,1]=>1001011
[6,4,3,8,7,2,1,5]=>1101110
[6,3,8,7,4,1,2,5]=>1011100
[3,5,7,2,4,8,1,6]=>0010010
[8,4,7,2,3,1,5,6]=>1010100
[8,4,7,1,3,2,5,6]=>1010100
[8,4,7,2,1,3,5,6]=>1011000
[8,6,4,2,1,3,7,5]=>1111001
[8,6,4,1,3,2,7,5]=>1110101
[8,6,4,2,3,1,7,5]=>1110101
[3,5,7,2,6,1,8,4]=>0010101
[6,1,3,8,5,7,2,4]=>1001010
[5,8,3,2,6,7,1,4]=>0110010
[4,8,5,3,6,2,7,1]=>0110101
[2,8,1,5,4,7,6,3]=>0101011
[1,5,8,7,4,6,2,3]=>0011010
[2,1,7,6,4,5,8,3]=>1011001
[1,7,2,4,6,5,8,3]=>0100101
[3,5,1,7,6,8,2,4]=>0101010
[5,8,2,6,1,3,7,4]=>0101001
[6,3,5,8,7,2,1,4]=>1001110
[2,5,7,8,4,1,6,3]=>0001101
[4,2,8,1,5,6,7,3]=>1010001
[4,1,5,2,6,8,7,3]=>1010011
[3,4,5,1,6,8,7,2]=>0010011
[4,2,8,5,1,6,7,3]=>1011001
[4,1,8,5,2,6,7,3]=>1011001
[2,7,1,8,5,4,6,3]=>0101101
[5,8,6,2,1,3,7,4]=>0111001
[8,2,4,1,5,6,7,3]=>1010001
[4,6,3,5,8,1,7,2]=>0100101
[1,7,8,3,5,4,6,2]=>0010101
[3,4,5,1,8,6,7,2]=>0010101
[3,8,1,4,5,6,7,2]=>0100001
[3,4,5,6,8,2,1,7]=>0000110
[3,4,5,7,1,8,6,2]=>0001011
[3,4,5,7,8,2,6,1]=>0000101
[3,4,6,2,8,5,1,7]=>0010110
[3,4,6,8,1,5,2,7]=>0001010
[3,4,7,2,1,8,6,5]=>0011011
[3,4,7,8,1,5,6,2]=>0001001
[3,4,8,2,1,5,6,7]=>0011000
[3,5,2,6,7,8,1,4]=>0100010
[3,5,2,7,8,4,6,1]=>0100101
[3,5,2,8,4,1,6,7]=>0101100
[3,5,6,2,8,4,1,7]=>0010110
[3,5,6,8,4,1,2,7]=>0001100
[3,5,7,2,4,8,6,1]=>0010011
[3,5,7,2,8,4,6,1]=>0010101
[3,5,7,8,4,1,6,2]=>0001101
[3,6,2,1,7,8,5,4]=>0110011
[3,6,2,1,8,5,4,7]=>0110110
[3,6,7,2,4,8,5,1]=>0010011
[3,6,7,2,8,5,4,1]=>0010111
[3,6,7,8,4,5,1,2]=>0001010
[3,6,8,2,4,5,1,7]=>0010010
[3,7,2,1,4,8,6,5]=>0110011
[3,7,2,1,8,5,6,4]=>0110101
[3,7,2,8,4,5,6,1]=>0101001
[3,7,8,2,4,5,6,1]=>0010001
[3,8,2,1,4,5,6,7]=>0110000
[4,1,5,6,7,8,3,2]=>1000011
[4,1,5,7,3,8,6,2]=>1001011
[4,1,6,3,7,8,5,2]=>1010011
[4,1,6,3,8,5,2,7]=>1010110
[4,1,6,7,3,8,5,2]=>1001011
[4,1,6,7,8,5,2,3]=>1000110
[4,1,6,8,3,5,2,7]=>1001010
[4,1,7,3,2,8,6,5]=>1011011
[4,1,7,8,3,5,6,2]=>1001001
[4,1,8,3,2,5,6,7]=>1011000
[4,5,2,6,7,8,3,1]=>0100011
[4,5,2,6,8,1,3,7]=>0100100
[4,5,6,3,8,1,2,7]=>0010100
[4,5,6,8,3,1,2,7]=>0001100
[4,5,7,3,8,1,6,2]=>0010101
[4,5,8,3,2,1,6,7]=>0011100
[4,6,2,3,7,8,5,1]=>0100011
[4,6,2,3,8,5,1,7]=>0100110
[4,6,2,7,3,8,5,1]=>0101011
[4,6,2,7,8,5,1,3]=>0100110
[4,6,7,3,2,8,5,1]=>0011011
[4,6,8,3,2,5,1,7]=>0011010
[4,7,2,3,1,8,6,5]=>0101011
[4,7,2,8,3,5,6,1]=>0101001
[4,7,8,3,2,5,6,1]=>0011001
[4,8,2,3,1,5,6,7]=>0101000
[5,1,2,6,8,4,3,7]=>1000110
[5,1,2,7,4,8,6,3]=>1001011
[5,1,2,7,8,4,6,3]=>1000101
[5,1,2,8,4,3,6,7]=>1001100
[5,1,6,3,8,4,2,7]=>1010110
[5,1,6,7,4,8,2,3]=>1001010
[5,1,6,7,8,4,2,3]=>1000110
[5,1,8,3,4,2,6,7]=>1010100
[5,6,2,3,8,4,1,7]=>0100110
[5,6,2,7,8,4,1,3]=>0100110
[5,6,8,3,4,2,1,7]=>0010110
[5,7,2,3,4,8,6,1]=>0100011
[5,7,2,3,8,4,6,1]=>0100101
[5,7,8,3,4,2,6,1]=>0010101
[5,8,2,3,4,1,6,7]=>0100100
[6,1,2,3,7,8,5,4]=>1000011
[6,1,2,3,8,5,4,7]=>1000110
[6,1,2,7,8,5,4,3]=>1000111
[6,1,2,8,4,5,3,7]=>1001010
[6,1,7,3,4,8,5,2]=>1010011
[6,1,7,3,8,5,4,2]=>1010111
[6,1,7,8,4,5,3,2]=>1001011
[6,1,8,3,4,5,2,7]=>1010010
[6,7,2,3,8,5,4,1]=>0100111
[6,7,2,8,4,5,3,1]=>0101011
[6,8,2,3,4,5,1,7]=>0100010
[7,1,2,3,4,8,6,5]=>1000011
[7,1,2,8,4,5,6,3]=>1001001
[7,1,8,3,4,5,6,2]=>1010001
[6,4,1,8,2,3,7,5]=>1101001
[5,8,1,2,4,3,7,6]=>0100101
[1,3,5,7,2,6,4,8]=>0001010
[3,5,8,6,1,2,4,7]=>0011000
[3,1,6,8,2,4,7,5]=>1001001
[3,6,2,8,1,5,7,4]=>0101001
[2,6,1,3,8,4,7,5]=>0100101
[1,7,5,2,3,4,6,8]=>0110000
[2,7,5,1,3,8,4,6]=>0110010
[8,2,5,7,4,6,1,3]=>1001010
[8,2,1,3,7,6,4,5]=>1100110
[8,2,5,1,3,7,4,6]=>1010010
[8,2,7,5,3,1,6,4]=>1011101
[8,2,6,5,4,7,1,3]=>1011010
[7,6,5,2,4,8,1,3]=>1110010
[7,8,2,5,3,1,6,4]=>0101101
[7,1,8,6,3,2,4,5]=>1011100
[6,8,1,5,3,2,4,7]=>0101100
[1,6,7,5,3,2,4,8]=>0011100
[6,5,1,2,4,8,3,7]=>1100010
[7,8,1,6,4,2,3,5]=>0101100
[8,4,1,2,5,6,3,7]=>1100010
[1,7,3,6,5,2,4,8]=>0101100
[8,1,3,7,2,6,4,5]=>1001010
[7,3,2,6,5,1,8,4]=>1101101
[7,8,4,2,5,6,1,3]=>0110010
[8,2,7,4,5,6,1,3]=>1010010
[8,2,3,6,5,1,7,4]=>1001101
[4,8,6,5,7,3,2,1]=>0110111
[3,8,7,5,4,6,2,1]=>0111011
[4,8,5,6,7,3,2,1]=>0100111
[2,8,7,6,4,3,5,1]=>0111101
[3,8,7,4,5,6,2,1]=>0110011
[1,8,7,6,5,3,2,4]=>0111110
[2,8,7,6,3,4,5,1]=>0111001
[1,8,7,6,5,2,3,4]=>0111100
[7,2,8,6,5,4,1,3]=>1011110
[7,2,8,5,4,6,1,3]=>1011010
[6,3,2,8,5,1,7,4]=>1101101
[8,4,7,2,5,6,3,1]=>1010011
[6,8,5,4,3,1,7,2]=>0111101
[5,8,6,4,1,3,7,2]=>0111001
[4,8,6,1,5,3,7,2]=>0110101
[3,6,1,8,5,2,7,4]=>0101101
[3,4,1,2,8,6,7,5]=>0100101
[6,8,3,5,4,1,7,2]=>0101101
[7,2,5,8,3,6,1,4]=>1001010
[1,7,5,6,3,4,2,8]=>0101010
[7,2,6,8,5,3,1,4]=>1001110
[7,6,3,8,5,2,1,4]=>1101110
[7,2,6,4,8,3,1,5]=>1010110
[1,5,7,4,2,6,3,8]=>0011010
[4,2,3,1,7,8,5,6]=>1010010
[5,2,8,4,1,7,6,3]=>1011011
[8,6,3,4,7,2,5,1]=>1100101
[6,8,3,4,5,1,7,2]=>0100101
[1,6,3,2,5,8,4,7]=>0110010
[8,3,2,1,5,4,7,6]=>1110101
[6,3,7,1,5,8,4,2]=>1010011
[2,5,1,8,4,3,7,6]=>0101101
[6,2,5,4,8,1,3,7]=>1010100
[4,3,1,6,5,8,2,7]=>1101010
[1,3,5,4,6,8,2,7]=>0010010
[6,1,3,4,5,8,2,7]=>1000010
[8,3,4,1,5,2,7,6]=>1010101
[7,5,4,2,6,8,3,1]=>1110011
[8,2,6,4,1,7,3,5]=>1011010
[7,3,8,4,5,2,1,6]=>1010110
[7,2,5,1,8,4,3,6]=>1010110
[1,7,3,2,5,4,8,6]=>0110101
[8,7,2,1,5,3,4,6]=>1110100
[3,6,1,5,8,7,4,2]=>0100111
[8,3,6,4,5,1,7,2]=>1010101
[5,4,6,8,1,2,7,3]=>1001001
[6,4,7,2,3,5,8,1]=>1010001
[6,8,4,1,3,5,7,2]=>0110001
[3,4,7,8,6,2,5,1]=>0001101
[4,1,3,5,7,8,6,2]=>1000011
[6,5,1,8,4,7,3,2]=>1101011
[5,3,1,8,4,7,6,2]=>1101011
[8,2,7,4,6,1,3,5]=>1010100
[4,7,3,2,8,1,6,5]=>0110101
[6,3,1,4,7,2,8,5]=>1100101
[8,7,3,6,1,5,2,4]=>1101010
[7,4,3,6,8,2,5,1]=>1100101
[2,4,7,3,8,5,6,1]=>0010101
[2,8,6,1,5,7,3,4]=>0110010
[7,8,2,5,4,3,1,6]=>0101110
[1,8,3,4,2,7,6,5]=>0101011
[8,5,3,7,4,2,6,1]=>1101101
[5,7,3,2,4,1,8,6]=>0110101
[2,8,3,4,7,1,5,6]=>0100100
[4,1,3,6,7,8,2,5]=>1000010
[1,7,6,3,2,5,8,4]=>0111001
[3,8,1,5,6,2,7,4]=>0100101
[8,2,5,6,1,7,4,3]=>1001011
[7,1,5,2,8,6,4,3]=>1010111
[6,5,4,8,7,2,1,3]=>1101110
[1,8,6,4,5,2,7,3]=>0110101
[1,8,5,3,6,2,7,4]=>0110101
[3,6,2,1,7,5,8,4]=>0110101
[2,5,4,1,8,7,6,3]=>0110111
[4,7,2,6,5,8,1,3]=>0101010
[6,8,1,4,2,7,3,5]=>0101010
[6,3,4,7,1,8,2,5]=>1001010
[3,4,7,8,2,5,6,1]=>0001001
[1,8,2,4,5,6,7,3]=>0100001
[5,2,4,1,6,8,7,3]=>1010011
[3,2,5,7,6,1,8,4]=>1001101
[4,3,5,6,1,8,7,2]=>1001011
[5,3,4,1,7,6,8,2]=>1010101
[3,1,4,6,5,7,8,2]=>1001001
[1,4,7,3,5,6,8,2]=>0010001
[1,3,2,7,5,8,6,4]=>0101011
[1,4,2,5,8,3,7,6]=>0100101
[4,1,2,6,8,5,3,7]=>1000110
[1,5,2,4,8,7,6,3]=>0100111
[1,2,6,4,8,7,5,3]=>0010111
[1,2,7,4,8,6,5,3]=>0010111
[1,3,2,7,5,8,4,6]=>0101010
[1,3,2,8,5,7,4,6]=>0101010
[1,5,2,4,8,7,3,6]=>0100110
[1,2,6,4,8,7,3,5]=>0010110
[1,2,7,8,5,6,3,4]=>0001010
[1,3,8,2,6,7,4,5]=>0010010
[1,6,7,8,2,5,3,4]=>0001010
[1,5,7,8,2,3,6,4]=>0001001
[1,5,2,7,8,4,6,3]=>0100101
[1,3,6,2,4,8,7,5]=>0010011
[1,6,7,3,4,8,5,2]=>0010011
[1,5,3,7,4,8,6,2]=>0101011
[2,8,4,1,5,3,7,6]=>0110101
[3,8,4,1,5,7,2,6]=>0110010
[1,3,8,4,2,7,6,5]=>0011011
[1,2,8,4,7,3,6,5]=>0010101
[1,2,7,4,8,3,6,5]=>0010101
[1,2,6,4,8,3,7,5]=>0010101
[1,5,2,4,8,3,7,6]=>0100101
[1,8,3,5,2,7,4,6]=>0101010
[1,3,8,6,2,7,4,5]=>0011010
[1,4,8,6,7,2,3,5]=>0010100
[1,2,6,8,5,3,7,4]=>0001101
[1,2,7,8,6,3,5,4]=>0001101
[1,6,7,8,5,2,3,4]=>0001100
[1,5,7,8,6,2,3,4]=>0001100
[1,4,7,6,8,2,3,5]=>0010100
[1,3,7,6,2,8,4,5]=>0011010
[2,3,8,7,4,1,6,5]=>0011101
[1,2,5,8,7,6,3,4]=>0001110
[1,2,6,8,7,5,3,4]=>0001110
[1,2,7,8,6,5,3,4]=>0001110
[5,2,6,7,3,4,8,1]=>1001001
[5,2,4,7,6,3,8,1]=>1001101
[5,6,2,1,7,8,3,4]=>0110010
[5,6,2,1,4,8,7,3]=>0110011
[2,6,1,4,5,8,7,3]=>0100011
[5,4,2,7,6,3,8,1]=>1101101
[2,3,7,6,4,5,8,1]=>0011001
[2,6,1,7,5,8,3,4]=>0101010
[2,6,1,7,4,8,5,3]=>0101011
[5,1,2,7,8,4,3,6]=>1000110
[2,6,1,7,4,8,3,5]=>0101010
[3,6,4,1,7,8,2,5]=>0110010
[5,4,6,1,3,8,7,2]=>1010011
[3,6,4,1,5,8,7,2]=>0110011
[2,6,1,5,4,8,7,3]=>0101011
[2,6,1,4,7,8,5,3]=>0100011
[5,1,2,4,8,6,7,3]=>1000101
[5,1,2,4,8,7,3,6]=>1000110
[5,1,2,4,8,7,6,3]=>1000111
[1,2,3,8,5,4,7,6]=>0001101
[4,3,1,2,8,5,7,6]=>1100101
[2,1,5,3,8,6,4,7]=>1010110
[1,2,3,8,5,6,4,7]=>0001010
[1,2,3,8,6,4,5,7]=>0001100
[1,2,3,8,6,5,4,7]=>0001110
[1,2,3,8,5,4,6,7]=>0001100
[2,6,1,5,4,8,3,7]=>0101010
[5,1,2,4,8,6,3,7]=>1000110
[5,1,2,4,8,3,7,6]=>1000101
[5,6,3,1,4,8,2,7]=>0110010
[2,5,4,3,1,8,6,7]=>0111010
[5,4,6,3,1,8,7,2]=>1011011
[3,6,4,5,1,8,7,2]=>0101011
[3,6,5,4,1,8,7,2]=>0111011
[5,2,6,1,7,8,4,3]=>1010011
[5,1,6,2,8,7,3,4]=>1010110
[2,1,3,7,8,6,4,5]=>1000110
[2,1,3,7,8,5,6,4]=>1000101
[5,2,4,1,7,8,6,3]=>1010011
[4,3,1,2,8,6,7,5]=>1100101
[5,1,4,2,8,6,7,3]=>1010101
[2,1,3,6,8,5,7,4]=>1000101
[1,2,3,8,6,7,4,5]=>0001010
[1,2,3,8,7,5,4,6]=>0001110
[1,2,3,8,7,4,5,6]=>0001100
[1,2,3,8,5,7,4,6]=>0001010
[2,1,3,6,8,7,4,5]=>1000110
[5,4,1,2,8,7,6,3]=>1100111
[3,1,6,2,8,7,5,4]=>1010111
[1,2,8,4,5,3,6,7]=>0010100
[1,8,3,4,2,5,6,7]=>0101000
[1,8,4,3,2,5,6,7]=>0111000
[8,4,7,6,5,3,2,1]=>1011111
[8,4,7,5,6,3,2,1]=>1010111
[8,5,7,4,6,3,2,1]=>1010111
[8,7,6,3,5,4,2,1]=>1110111
[8,6,7,3,5,4,2,1]=>1010111
[8,5,7,3,6,4,2,1]=>1010111
[8,1,7,4,6,5,3,2]=>1010111
[8,1,7,3,6,5,4,2]=>1010111
[8,2,7,3,6,5,4,1]=>1010111
[8,3,7,2,6,5,4,1]=>1010111
[8,5,7,2,6,4,3,1]=>1010111
[8,6,7,2,5,4,3,1]=>1010111
[8,7,6,2,5,4,3,1]=>1110111
[8,4,7,1,6,5,3,2]=>1010111
[8,3,7,1,6,5,4,2]=>1010111
[8,2,7,1,6,5,4,3]=>1010111
[8,1,7,2,6,5,4,3]=>1010111
[8,7,6,2,5,3,4,1]=>1110101
[8,1,7,6,5,3,4,2]=>1011101
[8,3,7,6,5,2,4,1]=>1011101
[8,4,7,6,5,2,3,1]=>1011101
[8,5,7,6,4,2,3,1]=>1011101
[8,6,7,5,4,1,3,2]=>1011101
[8,5,7,6,4,1,3,2]=>1011101
[8,3,7,6,5,1,4,2]=>1011101
[8,7,6,4,5,1,3,2]=>1110101
[8,7,6,2,5,1,4,3]=>1110101
[8,7,6,1,5,2,4,3]=>1110101
[6,8,1,3,2,5,4,7]=>0101010
[6,8,1,4,2,5,3,7]=>0101010
[7,8,3,6,1,4,2,5]=>0101010
[7,8,2,5,3,6,1,4]=>0101010
[7,8,2,5,1,4,3,6]=>0101010
[7,8,1,4,3,6,2,5]=>0101010
[5,8,1,4,3,7,2,6]=>0101010
[6,8,2,5,1,4,3,7]=>0101010
[6,8,2,5,3,7,1,4]=>0101010
[6,8,2,5,4,7,1,3]=>0101010
[2,5,4,7,6,8,1,3]=>0101010
[2,5,3,7,6,8,1,4]=>0101010
[2,5,1,4,3,7,6,8]=>0101010
[2,6,1,4,3,7,5,8]=>0101010
[2,6,5,8,1,4,3,7]=>0101010
[2,6,1,5,3,7,4,8]=>0101010
[2,6,3,7,4,8,1,5]=>0101010
[2,6,4,7,5,8,1,3]=>0101010
[5,8,3,6,4,7,1,2]=>0101010
[5,8,2,6,4,7,1,3]=>0101010
[4,8,2,6,3,7,1,5]=>0101010
[4,8,1,5,3,7,2,6]=>0101010
[4,8,1,5,2,6,3,7]=>0101010
[4,8,3,7,1,5,2,6]=>0101010
[6,8,3,7,1,4,2,5]=>0101010
[5,8,1,3,2,6,4,7]=>0101010
[5,8,4,7,1,3,2,6]=>0101010
[6,8,4,7,1,3,2,5]=>0101010
[6,8,5,7,1,3,2,4]=>0101010
[5,7,6,8,2,4,1,3]=>0101010
[4,7,6,8,1,3,2,5]=>0101010
[4,7,5,8,1,3,2,6]=>0101010
[4,7,1,3,2,6,5,8]=>0101010
[3,7,1,4,2,6,5,8]=>0101010
[3,7,5,8,1,4,2,6]=>0101010
[3,7,6,8,1,4,2,5]=>0101010
[3,7,6,8,2,5,1,4]=>0101010
[4,7,6,8,2,5,1,3]=>0101010
[4,7,5,8,3,6,1,2]=>0101010
[4,7,5,8,2,6,1,3]=>0101010
[3,7,5,8,2,6,1,4]=>0101010
[3,7,4,8,2,6,1,5]=>0101010
[3,7,4,8,1,5,2,6]=>0101010
[3,7,1,5,2,6,4,8]=>0101010
[3,7,2,6,1,5,4,8]=>0101010
[3,7,2,6,5,8,1,4]=>0101010
[4,7,3,6,5,8,1,2]=>0101010
[3,6,5,8,4,7,1,2]=>0101010
[2,6,5,8,4,7,1,3]=>0101010
[2,6,5,8,3,7,1,4]=>0101010
[2,6,3,7,1,5,4,8]=>0101010
[7,6,4,2,8,5,3,1]=>1110111
[7,6,4,3,8,2,5,1]=>1110101
[7,6,4,8,5,2,3,1]=>1101101
[6,8,4,3,7,2,1,5]=>0110110
[6,7,4,3,5,1,8,2]=>0110101
[6,7,3,5,4,8,2,1]=>0101011
[6,8,3,7,5,2,4,1]=>0101101
[7,6,8,3,5,2,4,1]=>1010101
[7,6,3,5,8,2,4,1]=>1100101
[7,6,3,5,2,4,8,1]=>1101001
[7,6,4,2,5,1,8,3]=>1110101
[7,6,2,8,4,1,5,3]=>1101101
[7,6,3,8,2,4,1,5]=>1101010
[7,6,3,4,8,2,5,1]=>1100101
[6,8,3,7,4,5,2,1]=>0101011
[6,7,3,5,8,4,2,1]=>0100111
[5,7,8,3,6,2,1,4]=>0010110
[5,8,3,6,7,2,1,4]=>0100110
[6,3,4,8,7,2,5,1]=>1001101
[6,3,8,4,7,2,1,5]=>1010110
[6,2,8,4,1,7,5,3]=>1011011
[6,2,7,4,1,5,3,8]=>1011010
[6,3,4,7,5,8,2,1]=>1001011
[6,3,5,7,8,4,2,1]=>1000111
[5,7,3,6,8,2,1,4]=>0100110
[5,6,8,3,7,2,1,4]=>0010110
[5,6,7,3,4,1,8,2]=>0010101
[4,6,7,8,3,5,2,1]=>0001011
[4,6,8,3,5,7,2,1]=>0010011
[4,7,3,5,6,8,2,1]=>0100011
[4,7,3,5,8,2,6,1]=>0100101
[5,3,4,7,8,2,1,6]=>1000110
[5,3,8,2,4,1,6,7]=>1010100
[5,3,4,8,2,6,1,7]=>1001010
[4,8,3,6,2,5,7,1]=>0101001
[4,8,3,5,7,2,6,1]=>0100101
[4,8,3,5,6,7,2,1]=>0100011
[4,7,8,3,5,6,2,1]=>0010011
[4,7,8,3,6,2,5,1]=>0010101
[4,8,3,6,7,2,5,1]=>0100101
[4,8,3,7,2,5,6,1]=>0101001
[5,3,4,8,2,7,6,1]=>1001011
[5,3,8,2,4,1,7,6]=>1010101
[5,2,8,4,1,7,3,6]=>1011010
[6,4,2,5,1,8,7,3]=>1101011
[6,4,3,5,8,2,1,7]=>1100110
[6,3,5,8,7,2,4,1]=>1001101
[5,8,3,7,2,6,4,1]=>0101011
[5,7,3,4,8,2,1,6]=>0100110
[5,8,4,2,3,1,6,7]=>0110100
[5,8,4,2,3,1,7,6]=>0110101
[6,4,5,3,8,2,1,7]=>1010110
[6,4,8,5,3,7,2,1]=>1011011
[6,4,3,8,5,7,2,1]=>1101011
[6,4,2,8,5,3,1,7]=>1101110
[6,4,2,7,3,1,8,5]=>1101101
[6,4,3,7,8,5,2,1]=>1100111
[6,4,5,3,7,1,8,2]=>1010101
[5,7,4,2,3,1,6,8]=>0110100
[5,6,3,7,1,8,2,4]=>0101010
[5,6,3,4,7,1,8,2]=>0100101
[5,6,3,4,8,2,1,7]=>0100110
[6,3,5,7,4,8,2,1]=>1001011
[6,3,5,4,7,8,2,1]=>1010011
[6,4,3,5,7,1,8,2]=>1100101
[6,4,2,5,1,7,3,8]=>1101010
[5,3,7,2,4,1,6,8]=>1010100
[5,3,4,7,2,6,1,8]=>1001010
[4,7,3,6,2,5,8,1]=>0101001
[4,7,3,6,8,2,5,1]=>0100101
[4,6,7,3,5,8,2,1]=>0010011
[4,5,7,8,3,6,2,1]=>0001011
[4,5,8,3,6,7,2,1]=>0010011
[4,5,8,3,7,2,6,1]=>0010101
[5,3,4,6,8,2,1,7]=>1000110
[5,3,6,8,2,1,4,7]=>1001100
[5,3,6,7,1,8,2,4]=>1001010
[5,3,4,6,7,1,8,2]=>1000101
[4,6,3,5,7,8,2,1]=>0100011
[4,5,7,3,6,8,2,1]=>0010011
[4,5,6,8,3,7,2,1]=>0001011
[5,7,4,8,6,3,2,1]=>0101111
[3,2,6,5,1,8,7,4]=>1011011
[3,5,6,7,2,8,4,1]=>0001011
[1,6,2,5,3,4,8,7]=>0101001
[1,3,8,2,4,6,5,7]=>0010010
[1,7,2,3,6,4,8,5]=>0100101
[1,6,8,2,5,3,7,4]=>0010101
[1,8,2,5,3,4,7,6]=>0101001
[1,8,2,3,6,4,7,5]=>0100101
[1,3,5,2,8,4,7,6]=>0010101
[1,2,7,3,5,4,6,8]=>0010100
[1,8,2,7,3,4,6,5]=>0101001
[1,5,8,2,3,7,4,6]=>0010010
[1,6,8,2,3,5,4,7]=>0010010
[5,3,6,1,2,4,8,7]=>1010001
[7,1,5,8,4,2,3,6]=>1001100
[8,1,5,7,4,2,3,6]=>1001100
[7,1,4,5,8,2,3,6]=>1000100
[7,4,1,6,2,8,3,5]=>1101010
[8,4,1,7,2,6,3,5]=>1101010
[8,1,4,7,5,2,3,6]=>1001100
[8,1,5,4,7,2,3,6]=>1010100
[2,1,7,5,8,3,4,6]=>1010100
[7,1,5,4,8,2,3,6]=>1010100
[7,1,4,8,5,2,3,6]=>1001100
[6,4,1,7,2,3,8,5]=>1101001
[7,8,3,1,2,4,6,5]=>0110001
[8,7,1,6,4,2,3,5]=>1101100
[8,6,1,7,4,2,3,5]=>1101100
[7,6,1,8,4,2,3,5]=>1101100
[7,3,8,1,2,4,6,5]=>1010001
[8,3,7,1,2,4,6,5]=>1010001
[8,3,6,1,2,4,7,5]=>1010001
[8,3,7,5,1,2,4,6]=>1011000
[7,3,6,1,2,4,8,5]=>1010001
[6,7,1,8,4,2,3,5]=>0101100
[6,8,1,7,4,2,3,5]=>0101100
[7,1,8,5,4,2,3,6]=>1011100
[7,1,8,4,5,2,3,6]=>1010100
[2,1,7,8,5,3,4,6]=>1001100
[7,6,3,1,2,4,8,5]=>1110001
[6,1,2,3,8,7,5,4]=>1000111
[6,8,1,4,2,3,7,5]=>0101001
[6,8,3,1,2,7,4,5]=>0110010
[6,7,3,1,2,8,4,5]=>0110010
[6,7,1,4,2,3,8,5]=>0101001
[4,3,6,8,5,7,1,2]=>1001010
[6,1,2,5,4,8,3,7]=>1001010
[3,2,8,5,4,1,7,6]=>1011101
[7,8,2,1,4,6,3,5]=>0110010
[7,2,1,5,8,3,4,6]=>1100100
[2,4,8,5,1,3,6,7]=>0011000
[3,5,6,1,8,4,2,7]=>0010110
[1,3,6,8,7,4,2,5]=>0001110
[1,2,8,5,7,3,4,6]=>0010100
[2,6,1,5,8,3,4,7]=>0100100
[5,7,1,6,8,4,3,2]=>0100111
[4,8,1,2,5,7,3,6]=>0100010
[8,4,6,2,5,7,3,1]=>1010011
[8,3,6,4,7,2,5,1]=>1010101
[3,8,1,4,7,2,5,6]=>0100100
[1,7,8,4,6,2,5,3]=>0010101
[3,7,4,8,5,1,6,2]=>0101101
[3,7,1,6,5,4,8,2]=>0101101
[2,7,3,1,5,8,4,6]=>0110010
[2,7,4,6,8,1,3,5]=>0100100
[2,7,5,8,6,4,1,3]=>0101110
[8,2,6,7,5,4,3,1]=>1001111
[3,8,7,1,6,4,5,2]=>0110101
[3,6,8,2,7,4,1,5]=>0010110
[1,5,2,8,7,4,6,3]=>0101101
[3,4,2,7,8,1,6,5]=>0100101
[4,1,3,7,5,6,8,2]=>1001001
[6,3,8,1,7,4,2,5]=>1010110
[6,5,8,7,1,4,2,3]=>1011010
[4,1,7,3,8,5,2,6]=>1010110
[3,6,1,4,5,8,2,7]=>0100010
[1,6,7,4,5,3,8,2]=>0010101
[6,1,7,3,5,4,8,2]=>1010101
[6,3,1,2,5,8,4,7]=>1100010
[1,4,7,2,8,5,3,6]=>0010110
[5,6,8,7,2,4,1,3]=>0011010
[6,8,5,7,1,2,4,3]=>0101001
[2,8,4,1,7,5,6,3]=>0110101
[8,2,4,3,7,5,6,1]=>1010101
[6,8,2,1,5,7,3,4]=>0110010
[7,2,8,4,1,6,3,5]=>1011010
[1,2,4,8,6,5,3,7]=>0001110
[7,1,5,6,8,4,3,2]=>1000111
[2,7,8,1,4,6,3,5]=>0010010
[4,8,2,5,7,1,6,3]=>0100101
[4,1,6,8,5,3,7,2]=>1001101
[5,2,6,4,8,3,1,7]=>1010110
[6,7,1,3,4,5,8,2]=>0100001
[1,7,3,2,4,8,5,6]=>0110010
[1,3,6,5,2,8,4,7]=>0011010
[7,1,6,5,3,4,8,2]=>1011001
[6,3,4,2,8,7,5,1]=>1010111
[4,3,8,7,5,2,6,1]=>1011101
[6,8,7,4,2,3,5,1]=>0111001
[3,6,4,5,2,8,7,1]=>0101011
[8,6,1,3,5,4,2,7]=>1100110
[5,3,8,6,1,2,4,7]=>1011000
[2,5,6,3,4,8,7,1]=>0010011
[2,5,3,6,8,7,4,1]=>0100111
[4,8,7,3,5,2,6,1]=>0110101
[3,8,7,2,6,4,5,1]=>0110101
[6,3,5,4,8,7,2,1]=>1010111
[4,3,8,6,1,5,2,7]=>1011010
[4,7,6,2,5,3,8,1]=>0110101
[7,5,2,6,8,1,4,3]=>1100101
[8,5,2,7,1,4,3,6]=>1101010
[1,8,5,3,6,2,4,7]=>0110100
[5,1,7,2,4,3,8,6]=>1010101
[1,5,3,4,8,6,2,7]=>0100110
[5,4,1,3,8,6,2,7]=>1100110
[5,1,8,6,3,4,2,7]=>1011010
[4,5,2,8,3,7,6,1]=>0101011
[8,2,3,7,6,4,5,1]=>1001101
[5,8,2,4,7,6,3,1]=>0100111
[6,8,2,5,3,4,7,1]=>0101001
[7,2,5,6,4,8,1,3]=>1001010
[1,6,7,4,8,2,3,5]=>0010100
[7,1,3,5,8,2,6,4]=>1000101
[8,2,1,3,5,6,7,4]=>1100001
[6,3,1,4,7,5,8,2]=>1100101
[4,1,3,8,2,6,7,5]=>1001001
[2,8,3,6,7,5,4,1]=>0100111
[3,1,7,2,8,5,4,6]=>1010110
[3,6,1,4,7,2,8,5]=>0100101
[1,5,8,4,7,2,3,6]=>0010100
[7,1,3,6,2,8,4,5]=>1001010
[6,2,7,4,5,8,1,3]=>1010010
[2,1,8,4,5,7,3,6]=>1010010
[1,8,5,7,3,2,4,6]=>0101100
[2,1,8,5,4,3,6,7]=>1011100
[2,7,4,1,5,3,8,6]=>0110101
[7,4,8,6,2,3,1,5]=>1011010
[2,7,1,4,6,3,8,5]=>0100101
[4,7,5,6,8,1,3,2]=>0100101
[7,1,3,2,8,5,4,6]=>1010110
[2,8,5,4,1,3,6,7]=>0111000
[5,1,7,4,2,3,8,6]=>1011001
[3,8,6,5,1,4,2,7]=>0111010
[1,3,4,8,6,5,2,7]=>0001110
[4,1,8,6,5,3,2,7]=>1011110
[4,8,5,2,7,3,6,1]=>0110101
[7,2,8,5,3,6,4,1]=>1011011
[5,2,8,4,3,7,6,1]=>1011011
[8,4,7,5,2,3,6,1]=>1011001
[7,5,2,8,4,6,1,3]=>1101010
[5,7,4,3,6,2,8,1]=>0110101
[6,7,5,1,2,8,3,4]=>0110010
[5,2,6,8,3,4,7,1]=>1001001
[7,6,2,4,5,8,3,1]=>1100011
[3,6,8,4,7,2,5,1]=>0010101
[7,6,3,8,4,2,5,1]=>1101101
[2,6,3,8,4,7,5,1]=>0101011
[7,2,3,6,5,8,4,1]=>1001011
[6,2,7,5,8,3,1,4]=>1010110
[2,8,3,6,4,5,7,1]=>0101001
[2,1,5,6,8,3,7,4]=>1000101
[5,8,1,2,6,4,7,3]=>0100101
[1,6,8,3,2,7,4,5]=>0011010
[6,5,7,2,8,4,1,3]=>1010110
[7,5,1,2,8,4,6,3]=>1100101
[5,4,8,3,6,2,7,1]=>1010101
[5,8,2,7,4,3,6,1]=>0101101
[6,4,5,8,2,7,3,1]=>1001011
[5,7,3,6,4,8,2,1]=>0101011
[1,5,6,4,8,2,7,3]=>0010101
[3,1,5,6,4,8,7,2]=>1001011
[1,3,6,2,5,7,8,4]=>0010001
[1,4,6,3,5,7,8,2]=>0010001
[3,5,1,6,4,7,8,2]=>0101001
[3,6,1,4,2,7,8,5]=>0101001
[2,4,6,3,1,7,8,5]=>0011001
[1,3,6,5,2,7,8,4]=>0011001
[1,2,6,4,3,8,5,7]=>0011010
[1,2,6,3,5,8,7,4]=>0010011
[2,3,5,1,8,4,7,6]=>0010101
[2,3,6,1,8,5,4,7]=>0010110
[1,2,7,4,6,8,3,5]=>0010010
[2,3,7,5,1,8,4,6]=>0011010
[4,7,2,5,3,8,6,1]=>0101011
[3,1,7,5,4,8,6,2]=>1011011
[1,2,7,6,4,8,5,3]=>0011011
[1,2,7,3,6,8,5,4]=>0010011
[2,3,6,1,8,5,7,4]=>0010101
[3,1,5,4,8,7,6,2]=>1010111
[1,2,5,8,4,7,3,6]=>0001010
[1,2,6,8,5,4,7,3]=>0001101
[1,3,6,8,5,2,7,4]=>0001101
[3,5,7,4,8,2,1,6]=>0010110
[2,4,7,6,8,3,1,5]=>0010110
[1,4,6,8,3,5,2,7]=>0001010
[1,3,6,8,5,2,4,7]=>0001100
[1,2,6,8,5,4,3,7]=>0001110
[1,2,5,8,4,3,7,6]=>0001101
[1,3,5,8,2,4,7,6]=>0001001
[1,3,6,8,2,5,4,7]=>0001010
[1,4,6,8,3,2,5,7]=>0001100
[3,5,7,4,8,1,2,6]=>0010100
[4,6,1,7,5,8,2,3]=>0101010
[2,3,6,7,5,8,1,4]=>0001010
[1,3,7,5,6,8,2,4]=>0010010
[2,3,6,5,8,1,7,4]=>0010101
[3,4,6,2,8,1,7,5]=>0010101
[3,5,4,6,8,2,1,7]=>0100110
[3,5,4,6,8,1,2,7]=>0100100
[1,2,4,7,5,8,3,6]=>0001010
[1,2,6,7,4,8,3,5]=>0001010
[3,6,4,7,1,8,5,2]=>0101011
[1,2,6,7,3,8,5,4]=>0001011
[1,2,5,7,3,8,6,4]=>0001011
[3,1,5,7,6,8,4,2]=>1001011
[3,5,4,6,8,2,7,1]=>0100101
[4,2,6,1,8,7,5,3]=>1010111
[3,1,6,5,8,7,4,2]=>1010111
[2,3,6,5,8,7,1,4]=>0010110
[1,2,7,4,6,8,5,3]=>0010011
[1,2,7,5,6,8,4,3]=>0010011
[3,1,6,7,5,8,4,2]=>1001011
[4,6,2,7,5,8,3,1]=>0101011
[3,5,7,4,8,2,6,1]=>0010101
[2,4,7,6,8,3,5,1]=>0010101
[1,4,6,8,3,5,7,2]=>0001001
[1,3,6,8,2,5,7,4]=>0001001
[1,3,5,8,2,7,4,6]=>0001010
[1,2,5,8,4,7,6,3]=>0001011
[1,2,4,8,7,3,6,5]=>0001101
[1,2,5,8,7,4,3,6]=>0001110
[1,3,5,8,7,2,4,6]=>0001100
[2,3,7,6,8,5,1,4]=>0010110
[5,7,1,2,8,6,4,3]=>0100111
[3,1,7,6,8,5,4,2]=>1010111
[1,2,6,8,5,7,4,3]=>0001011
[1,2,5,8,7,4,6,3]=>0001101
[1,2,4,8,7,6,3,5]=>0001110
[6,4,5,7,2,8,1,3]=>1001010
[5,3,4,7,2,8,1,6]=>1001010
[3,2,7,4,6,8,1,5]=>1010010
[5,3,6,2,7,1,4,8]=>1010100
[2,6,3,4,7,1,5,8]=>0100100
[2,7,3,4,5,8,1,6]=>0100010
[3,7,4,5,6,8,1,2]=>0100010
[2,5,7,3,6,8,1,4]=>0010010
[4,7,6,2,3,8,1,5]=>0110010
[7,3,5,2,4,8,1,6]=>1010010
[7,6,2,4,5,8,1,3]=>1100010
[6,5,2,3,4,8,1,7]=>1100010
[5,3,1,2,8,4,7,6]=>1100101
[6,5,2,3,7,1,4,8]=>1100100
[5,2,1,7,3,4,6,8]=>1101000
[5,2,1,8,3,4,6,7]=>1101000
[6,3,2,8,4,5,7,1]=>1101001
[7,3,1,2,8,4,6,5]=>1100101
[6,4,1,3,8,5,7,2]=>1100101
[6,2,3,1,8,4,7,5]=>1010101
[8,3,5,2,7,1,4,6]=>1010100
[8,6,2,4,7,1,5,3]=>1100101
[8,5,2,3,6,1,4,7]=>1100100
[8,2,1,7,3,4,5,6]=>1101000
[8,6,3,7,2,4,5,1]=>1101001
[7,1,6,2,3,4,5,8]=>1010000
[8,2,7,3,4,5,6,1]=>1010001
[8,1,6,2,3,4,5,7]=>1010000
[8,1,7,3,4,5,6,2]=>1010001
[8,6,1,7,2,4,5,3]=>1101001
[8,1,5,7,2,3,6,4]=>1001001
[1,7,5,8,2,3,6,4]=>0101001
[7,2,1,8,3,4,5,6]=>1101000
[7,3,8,2,4,5,6,1]=>1010001
[7,2,8,3,4,5,6,1]=>1010001
[1,7,8,3,4,5,6,2]=>0010001
[1,4,5,8,3,6,7,2]=>0001001
[2,5,7,1,8,3,6,4]=>0010101
[6,2,7,1,8,4,5,3]=>1010101
[4,7,1,3,8,5,6,2]=>0100101
[1,6,2,8,4,5,7,3]=>0101001
[4,1,3,6,8,2,7,5]=>1000101
[5,3,4,6,8,2,7,1]=>1000101
[4,6,3,8,7,1,2,5]=>0101100
[6,4,5,8,7,1,2,3]=>1001100
[5,3,4,8,7,1,2,6]=>1001100
[3,2,8,7,1,4,6,5]=>1011001
[3,1,8,7,2,4,6,5]=>1011001
[5,3,7,6,1,2,4,8]=>1011000
[1,8,3,7,2,4,5,6]=>0101000
[3,8,1,7,2,4,5,6]=>0101000
[6,8,2,3,5,1,4,7]=>0100100
[4,7,8,2,6,1,3,5]=>0010100
[6,2,8,7,1,4,5,3]=>1011001
[3,8,7,1,4,5,6,2]=>0110001
[2,8,6,1,3,4,5,7]=>0110000
[2,7,6,1,3,4,5,8]=>0110000
[1,7,6,2,3,4,5,8]=>0110000
[1,8,6,2,3,4,5,7]=>0110000
[2,8,7,3,4,5,6,1]=>0110001
[3,8,7,2,4,5,6,1]=>0110001
[7,8,3,6,2,4,5,1]=>0101001
[1,5,8,7,2,3,6,4]=>0011001
[8,7,6,1,3,4,5,2]=>1110001
[3,6,2,4,7,1,8,5]=>0100101
[3,4,7,2,5,1,8,6]=>0010101
[2,1,6,4,8,5,3,7]=>1010110
[4,1,8,5,3,2,7,6]=>1011101
[3,6,2,5,7,1,4,8]=>0100100
[1,2,8,3,7,5,4,6]=>0010110
[6,1,3,2,8,5,4,7]=>1010110
[5,6,1,2,8,4,3,7]=>0100110
[1,6,3,8,7,4,2,5]=>0101110
[4,3,8,1,2,6,7,5]=>1010001
[3,6,8,7,1,2,5,4]=>0011001
[6,2,8,5,4,7,1,3]=>1011010
[6,5,7,2,4,8,1,3]=>1010010
[3,4,1,6,5,8,7,2]=>0101011
[3,5,1,2,4,8,7,6]=>0100011
[3,7,5,2,1,4,6,8]=>0111000
[3,8,5,2,7,4,1,6]=>0110110
[5,2,8,4,7,3,1,6]=>1010110
[5,2,7,4,1,3,6,8]=>1011000
[4,3,5,1,2,8,7,6]=>1010011
[3,1,4,6,2,8,7,5]=>1001011
[1,4,6,5,2,8,7,3]=>0011011
[3,4,5,6,1,8,7,2]=>0001011
[3,4,5,8,7,2,1,6]=>0001110
[1,4,7,2,6,3,5,8]=>0010100
[8,4,7,5,2,1,6,3]=>1011101
[8,1,4,7,2,3,6,5]=>1001001
[1,8,5,7,3,4,6,2]=>0101001
[6,3,5,1,7,4,2,8]=>1010110
[6,1,4,8,7,3,2,5]=>1001110
[6,4,8,5,7,1,2,3]=>1010100
[5,4,8,1,6,3,2,7]=>1010110
[1,4,8,6,3,7,2,5]=>0011010
[5,4,7,6,3,8,1,2]=>1011010
[4,6,3,7,5,8,1,2]=>0101010
[4,1,3,5,8,6,2,7]=>1000110
[5,7,4,3,8,1,2,6]=>0110100
[1,4,8,3,7,6,5,2]=>0010111
[4,3,8,2,1,6,5,7]=>1011010
[3,8,4,2,7,1,5,6]=>0110100
[3,1,2,5,7,6,4,8]=>1000110
[1,8,2,7,6,5,4,3]=>0101111
[3,8,1,6,7,5,4,2]=>0100111
[3,7,2,6,8,5,1,4]=>0100110
[7,2,3,8,5,6,1,4]=>1001010
[8,2,1,7,5,6,4,3]=>1101011
[8,1,3,6,5,7,4,2]=>1001011
[8,2,4,3,6,1,5,7]=>1010100
[1,7,8,5,4,3,6,2]=>0011101
[1,8,4,5,3,2,6,7]=>0101100
[7,8,5,4,3,1,6,2]=>0111101
[7,1,6,3,4,2,5,8]=>1010100
[6,8,7,1,4,2,5,3]=>0110101
[3,6,1,4,2,7,5,8]=>0101010
[3,4,1,8,5,7,6,2]=>0101011
[3,6,5,1,2,8,4,7]=>0110010
[3,8,5,6,7,2,1,4]=>0100110
[8,1,7,6,2,4,3,5]=>1011010
[8,5,6,1,4,2,3,7]=>1010100
[8,6,5,4,7,1,3,2]=>1110101
[1,6,4,5,7,2,3,8]=>0100100
[8,3,6,1,7,2,4,5]=>1010100
[1,8,6,5,7,3,4,2]=>0110101
[1,7,5,3,6,8,4,2]=>0110011
[7,4,1,6,5,8,3,2]=>1101011
[4,1,5,8,7,6,3,2]=>1001111
[1,2,5,8,6,7,3,4]=>0001010
[4,2,1,5,8,7,3,6]=>1100110
[5,2,4,6,1,7,3,8]=>1001010
[1,5,3,6,8,7,4,2]=>0100111
[3,5,4,6,1,8,2,7]=>0101010
[3,1,5,7,6,8,2,4]=>1001010
[1,4,5,6,8,7,2,3]=>0000110
[1,4,6,3,7,2,8,5]=>0010101
[1,7,3,6,5,2,8,4]=>0101101
[8,6,2,5,4,1,7,3]=>1101101
[3,7,2,6,5,4,1,8]=>0101110
[7,6,2,5,4,3,1,8]=>1101110
[4,7,5,2,6,3,1,8]=>0110110
[3,2,6,4,7,5,1,8]=>1010110
[6,2,3,7,5,4,1,8]=>1001110
[1,3,4,7,6,2,8,5]=>0001101
[2,8,3,6,1,7,5,4]=>0101011
[8,7,2,5,1,6,4,3]=>1101011
[3,8,2,6,5,1,7,4]=>0101101
[7,8,2,5,4,1,6,3]=>0101101
[4,8,5,2,6,1,7,3]=>0110101
[4,5,1,3,7,2,8,6]=>0100101
[6,1,3,7,5,2,8,4]=>1001101
[7,1,3,6,2,8,5,4]=>1001011
[8,1,3,6,2,7,5,4]=>1001011
[1,2,4,7,3,8,6,5]=>0001011
[7,1,8,2,6,5,4,3]=>1010111
[3,1,8,6,2,7,5,4]=>1011011
[4,1,7,8,2,6,5,3]=>1001011
[5,6,1,8,2,7,4,3]=>0101011
[4,2,7,8,1,6,5,3]=>1001011
[3,2,8,6,1,7,5,4]=>1011011
[7,2,8,1,6,5,4,3]=>1010111
[1,8,7,2,6,5,4,3]=>0110111
[2,8,7,1,6,5,4,3]=>0110111
[3,8,7,1,6,5,4,2]=>0110111
[4,8,7,5,1,6,3,2]=>0111011
[6,7,8,5,1,4,3,2]=>0011011
[5,6,3,8,4,1,7,2]=>0101101
[7,3,8,5,4,1,6,2]=>1011101
[3,4,8,6,5,1,7,2]=>0011101
[8,3,7,5,1,6,4,2]=>1011011
[1,4,8,6,2,7,5,3]=>0011011
[8,4,6,7,1,5,3,2]=>1001011
[5,6,4,7,8,1,3,2]=>0100101
[3,4,6,5,1,2,8,7]=>0011001
[7,3,5,1,2,8,6,4]=>1010011
[1,4,6,2,3,8,7,5]=>0010011
[1,3,2,7,4,8,6,5]=>0101011
[7,2,1,6,3,8,5,4]=>1101011
[2,3,1,7,6,4,8,5]=>0101101
[4,5,2,1,7,3,8,6]=>0110101
[5,6,7,1,2,8,4,3]=>0010011
[4,7,5,1,2,8,6,3]=>0110011
[3,7,1,6,2,8,5,4]=>0101011
[7,6,1,2,8,5,4,3]=>1100111
[2,7,1,3,8,6,5,4]=>0100111
[8,6,1,2,7,5,4,3]=>1100111
[1,7,2,3,8,6,5,4]=>0100111
[8,7,1,2,6,5,4,3]=>1100111
[7,8,1,2,6,5,4,3]=>0100111
[3,8,1,6,2,7,5,4]=>0101011
[4,8,5,1,2,7,6,3]=>0110011
[5,6,8,1,2,7,4,3]=>0010011
[2,1,3,7,4,8,6,5]=>1001011
[4,2,7,3,6,8,1,5]=>1010010
[5,3,6,4,2,8,1,7]=>1011010
[4,1,5,3,8,2,7,6]=>1010101
[5,2,6,4,7,3,1,8]=>1010110
[2,6,3,4,7,5,1,8]=>0100110
[2,6,3,5,4,8,1,7]=>0101010
[2,7,4,3,5,8,1,6]=>0110010
[7,3,6,4,2,8,1,5]=>1011010
[7,6,4,5,2,8,1,3]=>1101010
[5,4,3,1,8,2,7,6]=>1110101
[6,5,4,2,7,3,1,8]=>1110110
[5,4,1,7,2,6,3,8]=>1101010
[5,4,1,8,3,2,6,7]=>1101100
[6,5,2,8,3,4,7,1]=>1101001
[7,4,2,1,8,3,6,5]=>1110101
[6,5,3,4,8,2,7,1]=>1100101
[6,1,5,3,8,2,7,4]=>1010101
[4,6,3,1,8,2,7,5]=>0110101
[5,8,4,2,7,3,1,6]=>0110110
[8,2,6,4,7,3,1,5]=>1010110
[8,6,2,5,7,4,1,3]=>1100110
[8,5,3,2,6,4,1,7]=>1110110
[8,3,1,7,2,5,4,6]=>1101010
[7,5,2,6,4,3,1,8]=>1101110
[7,1,6,2,5,4,3,8]=>1010110
[8,1,7,3,5,6,4,2]=>1010011
[8,6,1,7,4,5,2,3]=>1101010
[8,1,3,7,2,6,5,4]=>1001011
[1,7,6,8,3,2,4,5]=>0101100
[7,1,5,8,4,2,6,3]=>1001101
[7,3,8,4,5,2,6,1]=>1010101
[7,2,8,5,3,4,6,1]=>1011001
[6,1,8,4,3,2,5,7]=>1011100
[6,1,7,4,2,5,3,8]=>1011010
[1,2,7,3,4,6,5,8]=>0010010
[1,7,8,4,3,5,6,2]=>0011001
[1,6,2,8,3,5,7,4]=>0101001
[2,6,1,7,3,5,4,8]=>0101010
[3,1,5,8,4,2,6,7]=>1001100
[4,3,1,6,8,2,7,5]=>1100101
[5,7,4,8,3,2,1,6]=>0101110
[5,4,8,2,7,3,1,6]=>1010110
[5,2,8,7,3,4,1,6]=>1011010
[6,4,7,5,3,2,1,8]=>1011110
[1,8,3,7,6,2,4,5]=>0101100
[5,8,3,2,6,4,1,7]=>0110110
[6,8,2,4,7,5,1,3]=>0100110
[7,3,8,2,6,4,1,5]=>1010110
[4,6,8,2,7,3,1,5]=>0010110
[2,6,8,7,3,4,1,5]=>0011010
[7,2,8,6,3,5,1,4]=>1011010
[6,8,1,7,2,5,4,3]=>0101011
[3,8,7,4,5,6,1,2]=>0110010
[2,8,6,4,3,5,1,7]=>0111010
[2,7,6,3,5,4,1,8]=>0110110
[1,7,6,5,2,4,3,8]=>0111010
[1,8,6,5,3,2,4,7]=>0111100
[3,8,7,4,6,2,5,1]=>0110101
[5,8,3,7,6,2,4,1]=>0101101
[7,1,8,6,5,2,3,4]=>1011100
[8,4,7,5,3,2,1,6]=>1011110
[8,7,2,5,4,3,1,6]=>1101110
[6,8,3,2,5,4,7,1]=>0110101
[6,8,4,5,2,3,7,1]=>0101001
[1,5,7,8,4,3,6,2]=>0001101
[6,3,8,1,5,4,7,2]=>1010101
[6,2,1,8,5,4,7,3]=>1101101
[2,6,3,1,7,5,4,8]=>0110110
[2,6,5,7,4,1,3,8]=>0101100
[2,5,6,8,4,3,7,1]=>0001101
[2,4,7,5,8,1,6,3]=>0010101
[2,5,4,7,1,8,6,3]=>0101011
[5,2,1,8,7,6,4,3]=>1101111
[4,8,5,7,6,1,3,2]=>0101101
[4,8,6,7,5,3,1,2]=>0101110
[4,8,7,5,6,2,3,1]=>0110101
[6,5,4,8,2,1,7,3]=>1101101
[5,8,4,7,2,6,3,1]=>0101011
[1,5,7,4,8,2,6,3]=>0010101
[1,5,7,3,2,8,6,4]=>0011011
[5,8,3,2,7,6,4,1]=>0110111
[5,2,1,4,3,6,7,8]=>1101000
[3,5,7,4,2,6,1,8]=>0011010
[3,6,4,5,1,2,7,8]=>0101000
[4,2,1,6,5,3,7,8]=>1101100
[4,2,1,5,7,6,3,8]=>1100110
[4,3,5,1,7,6,2,8]=>1010110
[3,5,4,7,1,6,2,8]=>0101010
[3,4,7,5,6,1,2,8]=>0010100
[3,4,5,8,6,7,1,2]=>0001010
[3,5,4,6,1,8,7,2]=>0101011
[4,3,5,1,6,8,7,2]=>1010011
[4,2,1,5,6,8,7,3]=>1100011
[2,1,7,3,8,4,6,5]=>1010101
[4,1,8,2,7,3,6,5]=>1010101
[4,1,7,2,8,3,6,5]=>1010101
[7,1,3,2,8,4,6,5]=>1010101
[7,1,8,2,4,3,6,5]=>1010101
[8,1,7,2,5,3,6,4]=>1010101
[7,1,5,2,8,3,6,4]=>1010101
[5,1,7,2,8,3,6,4]=>1010101
[5,1,8,2,7,3,6,4]=>1010101
[5,1,8,2,4,3,7,6]=>1010101
[8,1,6,2,4,3,7,5]=>1010101
[6,1,8,2,4,3,7,5]=>1010101
[6,1,8,2,5,3,7,4]=>1010101
[8,1,6,2,5,3,7,4]=>1010101
[8,1,6,2,7,3,5,4]=>1010101
[6,1,8,2,7,3,5,4]=>1010101
[6,1,7,2,8,3,5,4]=>1010101
[6,1,7,2,5,3,8,4]=>1010101
[6,1,7,2,4,3,8,5]=>1010101
[5,1,6,2,4,3,8,7]=>1010101
[7,1,5,2,4,3,8,6]=>1010101
[7,1,6,2,4,3,8,5]=>1010101
[7,1,6,2,5,3,8,4]=>1010101
[7,1,6,2,8,3,5,4]=>1010101
[7,1,8,2,6,3,5,4]=>1010101
[1,8,2,7,5,4,6,3]=>0101101
[1,8,2,7,4,3,5,6]=>0101100
[1,8,6,4,7,2,3,5]=>0110100
[1,8,4,2,6,3,5,7]=>0110100
[7,4,8,1,5,2,3,6]=>1010100
[4,1,7,2,6,3,5,8]=>1010100
[5,1,7,4,3,6,2,8]=>1011010
[7,5,8,3,2,4,1,6]=>1011010
[1,8,5,4,3,6,2,7]=>0111010
[1,8,5,4,3,7,2,6]=>0111010
[1,8,5,4,7,2,6,3]=>0110101
[1,8,4,2,5,3,7,6]=>0110101
[1,8,5,4,2,6,7,3]=>0111001
[7,4,8,2,1,3,5,6]=>1011000
[4,1,7,3,2,5,6,8]=>1011000
[7,5,4,8,2,3,6,1]=>1101001
[7,3,8,1,5,6,2,4]=>1010010
[3,1,7,2,6,8,4,5]=>1010010
[5,1,7,4,2,6,8,3]=>1011001
[4,1,6,3,2,5,8,7]=>1011001
[4,3,1,6,2,5,7,8]=>1101000
[6,5,4,3,7,1,8,2]=>1110101
[6,3,2,8,5,7,1,4]=>1101010
[6,5,4,3,8,2,7,1]=>1110101
[6,5,4,3,8,7,1,2]=>1110110
[7,6,3,8,5,4,1,2]=>1101110
[5,4,8,2,1,7,3,6]=>1011010
[6,4,2,8,5,1,3,7]=>1101100
[7,6,4,8,5,1,2,3]=>1101100
[7,2,8,6,3,1,4,5]=>1011100
[7,2,8,6,1,5,3,4]=>1011010
[2,1,7,8,3,6,4,5]=>1001010
[6,4,1,7,8,2,3,5]=>1100100
[4,2,1,6,7,3,5,8]=>1100100
[4,3,1,5,2,7,6,8]=>1101010
[5,4,2,7,3,8,1,6]=>1101010
[4,1,5,3,2,8,6,7]=>1011010
[3,1,6,2,8,7,4,5]=>1010110
[6,3,1,7,8,5,2,4]=>1100110
[6,5,4,1,7,8,3,2]=>1110011
[5,4,3,1,6,7,2,8]=>1110010
[6,5,4,2,7,8,3,1]=>1110011
[5,4,2,6,3,8,7,1]=>1101011
[4,3,1,5,2,6,8,7]=>1101001
[5,4,2,1,6,7,8,3]=>1110001
[5,4,3,1,6,7,8,2]=>1110001
[6,3,8,1,2,5,7,4]=>1010001
[3,6,7,1,2,5,8,4]=>0010001
[7,8,3,1,2,5,6,4]=>0110001
[7,8,1,3,2,4,6,5]=>0101001
[7,8,2,1,3,5,4,6]=>0110010
[5,2,3,7,1,8,6,4]=>1001011
[2,5,3,6,1,8,7,4]=>0101011
[2,6,7,3,1,8,4,5]=>0011010
[2,6,7,1,3,5,4,8]=>0010010
[6,2,8,3,1,7,4,5]=>1011010
[3,2,5,7,1,8,4,6]=>1001010
[4,3,1,2,7,8,6,5]=>1100011
[5,1,2,7,3,6,4,8]=>1001010
[5,1,4,7,8,2,3,6]=>1000100
[5,3,4,7,8,6,1,2]=>1000110
[3,5,4,6,8,7,1,2]=>0100110
[1,5,4,6,8,2,3,7]=>0100100
[1,6,7,3,2,4,8,5]=>0011001
[1,5,3,6,2,7,8,4]=>0101001
[5,1,3,7,2,6,8,4]=>1001001
[5,2,4,7,8,1,6,3]=>1000101
[4,2,5,7,6,1,8,3]=>1001101
[4,5,2,8,6,1,7,3]=>0101101
[5,3,1,8,2,6,7,4]=>1101001
[6,1,8,3,2,4,7,5]=>1011001
[4,3,5,7,6,8,1,2]=>1001010
[4,1,5,7,6,2,3,8]=>1001100
[4,5,1,8,6,2,3,7]=>0101100
[5,2,1,8,3,6,4,7]=>1101010
[3,4,2,1,8,7,5,6]=>0110110
[7,6,5,4,2,1,8,3]=>1111101
[7,6,5,4,8,1,3,2]=>1110101
[7,6,5,8,2,1,4,3]=>1101101
[8,5,4,3,2,1,7,6]=>1111101
[7,6,5,4,1,8,3,2]=>1111011
[7,6,5,2,8,1,4,3]=>1110101
[7,6,5,8,4,1,3,2]=>1101101
[7,6,8,5,2,1,4,3]=>1011101
[7,8,6,3,2,1,5,4]=>0111101
[8,7,4,3,2,1,6,5]=>1111101
[7,8,2,4,5,1,3,6]=>0100100
[4,6,7,2,5,1,3,8]=>0010100
[7,8,1,3,2,4,5,6]=>0101000
[7,8,4,1,5,2,3,6]=>0110100
[3,6,7,2,1,4,5,8]=>0011000
[5,2,3,6,1,4,7,8]=>1001000
[2,5,3,6,1,4,7,8]=>0101000
[2,6,7,3,1,4,5,8]=>0011000
[4,6,7,1,5,2,3,8]=>0010100
[4,6,7,3,5,8,1,2]=>0010010
[6,4,7,1,5,2,3,8]=>1010100
[6,2,7,3,1,4,5,8]=>1011000
[3,2,5,6,1,4,7,8]=>1001000
[3,5,2,6,1,4,7,8]=>0101000
[5,1,4,6,7,2,3,8]=>1000100
[3,5,4,6,7,8,1,2]=>0100010
[1,5,4,6,7,2,3,8]=>0100100
[1,6,7,3,2,4,5,8]=>0011000
[1,5,3,6,2,4,7,8]=>0101000
[5,1,3,6,2,4,7,8]=>1001000
[5,2,4,6,7,1,3,8]=>1000100
[2,5,4,6,7,1,3,8]=>0100100
[2,6,7,4,5,1,3,8]=>0010100
[6,2,7,4,5,1,3,8]=>1010100
[4,2,5,6,7,1,3,8]=>1000100
[4,5,2,6,7,1,3,8]=>0100100
[5,3,1,6,2,4,7,8]=>1101000
[6,1,7,3,2,4,5,8]=>1011000
[6,1,7,4,5,2,3,8]=>1010100
[6,3,7,4,5,8,1,2]=>1010010
[5,4,1,6,7,2,3,8]=>1100100
[5,2,1,6,3,4,7,8]=>1101000
[7,3,2,5,4,1,6,8]=>1101100
[7,3,5,4,2,1,6,8]=>1011100
[7,3,5,2,4,1,6,8]=>1010100
[7,6,5,2,1,4,3,8]=>1111010
[1,3,6,7,5,2,8,4]=>0001101
[7,3,4,1,6,2,5,8]=>1010100
[7,3,4,1,6,5,2,8]=>1010110
[7,3,4,1,5,6,2,8]=>1010010
[7,3,2,5,1,6,4,8]=>1101010
[7,6,5,4,1,3,2,8]=>1111010
[7,3,4,1,5,2,6,8]=>1010100
[1,3,6,7,2,5,8,4]=>0001001
[1,7,4,6,2,8,5,3]=>0101011
[4,3,1,7,2,6,8,5]=>1101001
[5,6,1,4,7,3,8,2]=>0100101
[5,3,2,1,7,4,8,6]=>1110101
[1,3,4,5,8,7,2,6]=>0000110
[6,3,4,5,8,1,7,2]=>1000101
[2,4,5,1,6,8,7,3]=>0010011
[3,1,2,5,6,8,7,4]=>1000011
[4,3,2,5,6,8,1,7]=>1100010
[3,7,5,4,6,8,1,2]=>0110010
[3,1,4,6,5,8,2,7]=>1001010
[2,3,4,5,8,6,1,7]=>0000110
[2,3,4,5,8,1,7,6]=>0000101
[3,1,4,6,5,8,7,2]=>1001011
[3,7,5,4,6,8,2,1]=>0110011
[5,6,1,4,7,2,8,3]=>0100101
[4,3,1,7,5,6,8,2]=>1101001
[4,3,1,7,6,5,8,2]=>1101101
[3,1,4,6,7,8,5,2]=>1000011
[1,4,5,2,6,8,7,3]=>0010011
[3,7,5,2,6,8,1,4]=>0110010
[3,7,5,2,6,8,4,1]=>0110011
[5,6,1,2,7,4,8,3]=>0100101
[6,3,5,2,4,7,8,1]=>1010001
[5,3,2,1,4,7,8,6]=>1110001
[5,3,1,4,2,7,8,6]=>1101001
[5,3,1,2,4,7,8,6]=>1100001
[7,1,5,2,6,8,4,3]=>1010011
[7,1,5,2,6,8,3,4]=>1010010
[1,7,4,6,5,8,3,2]=>0101011
[2,7,4,6,1,8,3,5]=>0101010
[2,7,4,6,1,8,5,3]=>0101011
[2,3,6,7,1,5,8,4]=>0001001
[2,3,6,7,5,1,8,4]=>0001101
[4,3,2,6,7,1,8,5]=>1100101
[7,3,2,5,6,8,1,4]=>1100010
[7,1,5,4,6,8,2,3]=>1010010
[2,7,4,6,5,8,1,3]=>0101010
[7,3,4,5,8,6,1,2]=>1000110
[7,3,4,5,8,1,6,2]=>1000101
[7,3,4,5,8,1,2,6]=>1000100
[1,3,4,5,8,6,2,7]=>0000110
[1,3,4,5,8,2,7,6]=>0000101
[6,3,4,5,8,2,1,7]=>1000110
[6,3,4,5,8,2,7,1]=>1000101
[7,3,4,5,8,6,2,1]=>1000111
[2,7,4,6,5,8,3,1]=>0101011
[7,1,5,4,6,8,3,2]=>1010011
[7,3,2,5,6,8,4,1]=>1100011
[5,7,4,6,1,8,3,2]=>0101011
[6,3,4,5,8,1,2,7]=>1000100
[7,3,4,5,8,2,1,6]=>1000110
[7,3,4,5,8,2,6,1]=>1000101
[4,7,6,1,8,2,5,3]=>0110101
[4,8,6,1,7,5,2,3]=>0110110
[4,7,8,2,6,1,5,3]=>0010101
[7,6,4,2,8,3,5,1]=>1110101
[8,6,4,2,7,5,3,1]=>1110111
[8,4,7,3,6,5,1,2]=>1010110
[8,4,6,1,7,5,3,2]=>1010111
[6,4,7,1,8,3,2,5]=>1010110
[7,4,8,3,6,1,5,2]=>1010101
[7,8,4,3,6,2,5,1]=>0110101
[2,1,7,3,5,8,6,4]=>1010011
[4,2,1,8,3,6,7,5]=>1101001
[2,1,8,6,3,5,7,4]=>1011001
[6,2,1,7,3,5,8,4]=>1101001
[2,7,3,1,4,8,5,6]=>0110010
[3,2,1,5,7,8,4,6]=>1100010
[2,1,7,3,6,8,4,5]=>1010010
[2,7,3,1,5,6,8,4]=>0110001
[4,3,7,5,6,1,8,2]=>1010101
[4,3,6,8,5,1,7,2]=>1001101
[2,6,1,8,3,5,7,4]=>0101001
[2,1,6,8,3,7,4,5]=>1001010
[2,1,8,3,5,7,4,6]=>1010010
[3,2,1,5,6,8,4,7]=>1100010
[3,2,1,5,7,4,6,8]=>1100100
[8,2,4,1,7,5,6,3]=>1010101
[3,8,4,7,5,1,6,2]=>0101101
[8,4,3,6,1,7,5,2]=>1101011
[8,2,1,7,3,5,4,6]=>1101010
[5,8,6,3,1,7,4,2]=>0111011
[2,4,7,1,8,5,3,6]=>0010110
[2,4,8,5,1,6,3,7]=>0011010
[6,2,1,7,3,4,8,5]=>1101001
[6,2,1,7,8,3,5,4]=>1100101
[2,1,8,3,6,4,5,7]=>1010100
[3,2,1,6,7,4,5,8]=>1100100
[3,2,1,6,8,4,5,7]=>1100100
[2,1,8,3,7,4,5,6]=>1010100
[2,1,8,3,6,7,4,5]=>1010010
[2,4,8,5,1,6,7,3]=>0011001
[3,2,1,8,4,5,6,7]=>1101000
[1,6,8,3,7,2,4,5]=>0010100
[3,8,1,5,7,2,4,6]=>0100100
[1,2,6,8,4,7,3,5]=>0001010
[6,1,5,8,2,4,7,3]=>1001001
[1,2,4,8,3,6,7,5]=>0001001
[4,1,2,7,8,3,6,5]=>1000101
[3,5,7,4,8,6,1,2]=>0010110
[5,3,8,4,7,6,1,2]=>1010110
[8,7,1,2,5,4,6,3]=>1100101
[5,8,1,2,3,7,6,4]=>0100011
[1,2,8,4,3,5,7,6]=>0011001
[1,2,5,3,7,6,4,8]=>0010110
[6,1,2,8,7,4,5,3]=>1001101
[7,1,6,2,8,4,5,3]=>1010101
[1,2,6,3,8,5,4,7]=>0010110
[1,2,8,5,3,6,4,7]=>0011010
[1,2,7,3,8,5,4,6]=>0010110
[4,1,2,7,8,6,3,5]=>1000110
[1,6,2,8,4,3,5,7]=>0101100
[1,6,4,2,7,3,5,8]=>0110100
[1,8,6,3,2,4,5,7]=>0111000
[1,7,3,2,8,4,5,6]=>0110100
[3,1,7,8,6,2,4,5]=>1001100
[1,8,7,2,4,5,6,3]=>0110001
[1,8,7,3,5,6,2,4]=>0110010
[1,3,2,8,7,4,5,6]=>0101100
[1,8,3,2,6,4,5,7]=>0110100
[1,7,6,3,2,4,5,8]=>0111000
[1,2,8,4,3,7,5,6]=>0011010
[8,5,1,7,2,4,6,3]=>1101001
[5,3,8,7,4,6,1,2]=>1011010
[3,8,6,4,7,5,1,2]=>0110110
[6,1,8,2,7,4,5,3]=>1010101
[1,2,5,3,8,6,4,7]=>0010110
[1,2,7,5,3,6,4,8]=>0011010
[1,2,6,3,7,5,4,8]=>0010110
[1,2,3,7,5,4,8,6]=>0001101
[3,7,4,8,6,5,1,2]=>0101110
[1,8,2,7,6,4,5,3]=>0101101
[2,8,7,6,5,1,4,3]=>0111101
[7,1,6,3,2,5,4,8]=>1011010
[2,7,6,3,1,5,8,4]=>0111001
[1,8,4,3,6,5,2,7]=>0110110
[1,8,4,6,5,3,2,7]=>0101110
[7,4,2,1,6,5,3,8]=>1110110
[7,6,1,4,3,5,2,8]=>1101010
[7,4,1,3,5,2,6,8]=>1100100
[7,3,1,2,4,6,5,8]=>1100010
[1,8,6,3,4,5,2,7]=>0110010
[1,8,6,7,4,2,5,3]=>0101101
[3,6,2,1,4,8,5,7]=>0110010
[3,1,7,2,4,6,8,5]=>1010001
[3,4,7,1,5,2,8,6]=>0010101
[3,6,7,4,1,5,8,2]=>0011001
[4,3,2,7,1,5,8,6]=>1101001
[3,1,2,8,6,5,4,7]=>1001110
[5,4,8,6,1,2,3,7]=>1011000
[5,6,8,7,4,3,1,2]=>0011110
[1,8,2,7,4,3,6,5]=>0101101
[6,5,8,2,3,7,1,4]=>1010010
[6,4,8,5,3,1,7,2]=>1011101
[5,7,8,6,1,3,2,4]=>0011010
[2,4,8,1,6,3,7,5]=>0010101
[3,1,2,8,6,4,7,5]=>1001101
[5,3,2,6,4,8,1,7]=>1101010
[4,1,6,3,5,8,2,7]=>1010010
[2,4,5,3,8,6,1,7]=>0010110
[1,8,5,3,2,7,6,4]=>0111011
[1,8,4,5,2,6,7,3]=>0101001
[4,1,2,7,6,5,8,3]=>1001101
[2,4,1,6,7,8,5,3]=>0100011
[1,8,4,3,6,2,7,5]=>0110101
[5,6,7,3,2,8,1,4]=>0011010
[2,5,7,3,6,8,4,1]=>0010011
[5,3,2,1,4,8,6,7]=>1110010
[5,3,1,4,2,8,6,7]=>1101010
[7,6,1,3,8,5,4,2]=>1100111
[3,4,7,8,1,2,6,5]=>0001001
[3,6,7,8,1,4,5,2]=>0001001
[3,6,2,8,1,5,4,7]=>0101010
[2,3,6,8,5,1,4,7]=>0001100
[3,1,6,4,8,2,5,7]=>1010100
[7,3,2,6,8,5,1,4]=>1100110
[7,3,5,8,4,6,1,2]=>1001010
[7,5,2,8,4,1,6,3]=>1101101
[7,4,5,8,2,1,3,6]=>1001100
[1,8,5,2,4,6,3,7]=>0110010
[1,8,4,2,3,5,7,6]=>0110001
[6,4,2,8,3,5,1,7]=>1101010
[6,3,4,8,2,5,7,1]=>1001001
[7,5,4,8,3,6,2,1]=>1101011
[2,7,4,8,5,3,6,1]=>0101101
[7,1,5,4,8,3,6,2]=>1010101
[7,3,2,5,8,4,6,1]=>1100101
[8,4,6,3,7,2,5,1]=>1010101
[7,4,6,3,8,5,1,2]=>1010110
[2,5,6,8,3,4,1,7]=>0001010
[8,4,6,2,7,5,3,1]=>1010111
[8,5,6,7,2,4,3,1]=>1001011
[2,5,6,8,4,3,1,7]=>0001110
[2,5,7,8,4,1,3,6]=>0001100
[6,5,7,8,4,1,3,2]=>1001101
[7,5,6,8,2,4,1,3]=>1001010
[7,4,6,2,8,5,1,3]=>1010110
[4,3,2,6,8,5,1,7]=>1100110
[3,5,6,8,2,4,1,7]=>0001010
[3,5,6,8,4,2,1,7]=>0001110
[2,6,7,8,1,4,5,3]=>0001001
[3,6,7,8,1,4,2,5]=>0001010
[3,5,7,8,2,1,4,6]=>0001100
[2,6,7,8,1,4,3,5]=>0001010
[6,5,7,8,3,1,4,2]=>1001101
[2,5,7,8,3,1,4,6]=>0001100
[2,4,7,3,8,1,5,6]=>0010100
[6,4,7,3,8,1,5,2]=>1010101
[6,4,7,3,8,1,2,5]=>1010100
[7,4,6,3,8,2,1,5]=>1010110
[6,3,2,5,4,8,1,7]=>1101010
[6,4,5,2,3,8,1,7]=>1010010
[6,4,5,3,2,8,1,7]=>1011010
[5,4,6,3,8,2,1,7]=>1010110
[5,4,7,3,8,1,6,2]=>1010101
[2,5,7,8,3,1,6,4]=>0001101
[4,5,7,8,3,1,2,6]=>0001100
[4,5,6,8,2,3,1,7]=>0001010
[5,4,6,2,8,3,1,7]=>1010110
[5,3,2,6,8,4,1,7]=>1100110
[5,4,7,2,8,1,3,6]=>1010100
[4,5,7,8,2,1,3,6]=>0001100
[4,6,7,8,1,3,2,5]=>0001010
[4,6,7,8,1,3,5,2]=>0001001
[2,6,7,8,1,3,5,4]=>0001001
[2,6,7,8,1,5,3,4]=>0001010
[4,6,7,8,1,5,2,3]=>0001010
[4,6,7,8,1,2,5,3]=>0001001
[4,5,7,8,2,1,6,3]=>0001101
[5,4,7,2,8,1,6,3]=>1010101
[5,3,2,7,8,1,6,4]=>1100101
[4,3,2,7,8,1,6,5]=>1100101
[3,5,7,8,2,1,6,4]=>0001101
[3,6,7,8,1,2,5,4]=>0001001
[3,6,7,8,1,5,2,4]=>0001010
[3,6,7,8,1,5,4,2]=>0001011
[2,6,7,8,1,5,4,3]=>0001011
[4,2,7,1,5,3,8,6]=>1010101
[4,2,8,6,1,5,3,7]=>1011010
[3,2,6,7,5,1,4,8]=>1001100
[2,7,1,3,5,4,8,6]=>0100101
[4,7,2,1,5,8,6,3]=>0110011
[7,2,1,3,5,8,6,4]=>1100011
[2,3,6,4,7,1,5,8]=>0010100
[1,3,4,8,2,7,5,6]=>0001010
[3,1,4,8,2,6,7,5]=>1001001
[8,3,1,6,2,5,7,4]=>1101001
[4,8,6,2,1,5,7,3]=>0111001
[4,8,3,6,5,1,7,2]=>0101101
[6,4,7,3,5,1,8,2]=>1010101
[6,4,7,5,1,8,2,3]=>1011010
[3,6,1,7,5,8,2,4]=>0101010
[7,3,5,1,6,8,2,4]=>1010010
[4,7,3,5,6,1,8,2]=>0100101
[3,4,6,8,5,1,7,2]=>0001101
[4,6,8,2,1,5,7,3]=>0011001
[6,8,2,1,3,5,7,4]=>0110001
[1,8,2,3,5,7,4,6]=>0100010
[2,7,3,6,1,4,5,8]=>0101000
[2,6,1,3,5,8,4,7]=>0100010
[7,3,2,5,6,1,4,8]=>1100100
[4,7,5,2,6,1,3,8]=>0110100
[4,6,2,8,1,5,3,7]=>0101010
[8,4,1,2,7,5,3,6]=>1100110
[4,5,6,2,7,1,3,8]=>0010100
[8,5,1,2,6,3,4,7]=>1100100
[1,6,2,7,4,8,3,5]=>0101010
[6,2,1,7,8,5,3,4]=>1100110
[6,7,3,8,4,1,5,2]=>0101101
[2,7,8,4,1,5,6,3]=>0011001
[2,7,1,8,5,6,3,4]=>0101010
[8,2,5,1,6,7,3,4]=>1010010
[8,2,4,5,1,6,7,3]=>1001001
[3,8,4,5,6,1,7,2]=>0100101
[4,5,8,3,6,7,1,2]=>0010010
[4,5,8,3,7,6,1,2]=>0010110
[4,2,8,3,7,1,6,5]=>1010101
[7,2,3,4,8,1,6,5]=>1000101
[7,2,3,4,8,1,5,6]=>1000100
[7,6,3,4,8,5,1,2]=>1100110
[7,6,3,5,8,4,1,2]=>1100110
[7,6,3,8,4,5,1,2]=>1101010
[7,2,3,8,5,1,4,6]=>1001100
[7,2,3,8,5,1,6,4]=>1001101
[2,6,4,8,1,5,7,3]=>0101001
[7,2,3,8,4,1,5,6]=>1001100
[7,2,3,5,8,1,4,6]=>1000100
[7,8,2,3,6,1,4,5]=>0100100
[7,8,2,3,6,1,5,4]=>0100101
[4,2,6,3,7,1,5,8]=>1010100
[7,2,3,5,8,1,6,4]=>1000101
[7,2,3,8,4,1,6,5]=>1001101
[2,6,4,8,1,3,7,5]=>0101001
[3,6,4,8,1,7,5,2]=>0101011
[7,6,5,1,2,3,8,4]=>1110001
[7,6,5,1,4,2,8,3]=>1110101
[2,6,4,5,1,8,7,3]=>0101011
[3,5,6,4,1,2,7,8]=>0011000
[7,8,5,4,1,2,6,3]=>0111001
[3,5,6,4,1,2,8,7]=>0011001
[7,6,5,1,4,2,3,8]=>1110100
[7,6,5,1,2,4,3,8]=>1110010
[7,6,5,1,2,4,8,3]=>1110001
[7,6,5,1,3,2,8,4]=>1110101
[7,6,5,1,3,2,4,8]=>1110100
[7,6,5,1,3,4,2,8]=>1110010
[7,2,3,4,5,1,8,6]=>1000101
[2,6,4,3,1,5,8,7]=>0111001
[2,6,4,3,1,8,5,7]=>0111010
[2,6,4,3,1,8,7,5]=>0111011
[3,5,8,4,1,2,7,6]=>0011001
[3,5,8,4,1,2,6,7]=>0011000
[3,5,8,4,1,6,2,7]=>0011010
[4,2,8,3,6,1,7,5]=>1010101
[3,5,8,4,1,6,7,2]=>0011001
[2,5,8,4,1,7,3,6]=>0011010
[3,6,4,2,1,7,8,5]=>0111001
[3,6,4,2,1,7,5,8]=>0111010
[3,5,6,4,1,8,7,2]=>0011011
[2,6,4,5,1,3,7,8]=>0101000
[7,6,5,1,4,3,8,2]=>1110101
[7,6,5,1,2,8,4,3]=>1110011
[7,6,5,1,2,8,3,4]=>1110010
[7,6,5,1,8,2,4,3]=>1110101
[7,6,5,1,8,2,3,4]=>1110100
[7,6,5,1,8,3,2,4]=>1110110
[7,6,5,1,4,8,2,3]=>1110010
[3,6,4,5,1,7,2,8]=>0101010
[2,5,6,4,1,7,8,3]=>0011001
[7,8,5,4,1,6,3,2]=>0111011
[2,5,6,4,1,7,3,8]=>0011010
[3,6,4,5,1,7,8,2]=>0101001
[7,6,5,1,4,8,3,2]=>1110011
[7,6,5,1,8,3,4,2]=>1110101
[7,6,5,1,8,4,2,3]=>1110110
[4,1,7,6,2,8,5,3]=>1011011
[7,8,6,2,1,3,5,4]=>0111001
[3,7,6,1,2,8,4,5]=>0110010
[2,6,5,3,1,4,8,7]=>0111001
[4,6,1,5,3,2,8,7]=>0101101
[3,6,1,4,2,5,8,7]=>0101001
[2,6,4,5,7,8,1,3]=>0100010
[8,7,1,6,5,2,4,3]=>1101101
[7,2,5,6,8,1,3,4]=>1000100
[6,1,3,4,2,8,7,5]=>1001011
[2,4,5,6,1,8,7,3]=>0001011
[8,4,1,6,5,7,3,2]=>1101011
[2,8,3,4,7,5,1,6]=>0100110
[6,8,2,7,4,3,5,1]=>0101101
[4,7,8,5,1,6,3,2]=>0011011
[8,2,6,4,7,3,5,1]=>1010101
[4,8,6,1,7,3,2,5]=>0110110
[8,7,3,2,1,5,4,6]=>1111010
[3,8,5,1,7,2,4,6]=>0110100
[6,8,7,1,3,2,4,5]=>0110100
[2,5,1,8,7,4,6,3]=>0101101
[3,7,1,8,4,5,6,2]=>0101001
[6,2,3,8,4,7,5,1]=>1001011
[8,6,4,3,1,7,2,5]=>1111010
[8,3,7,4,6,1,2,5]=>1010100
[7,1,3,8,6,4,5,2]=>1001101
[2,3,5,8,6,7,4,1]=>0001011
[7,4,2,1,8,6,5,3]=>1110111
[4,6,7,2,5,8,3,1]=>0010011
[7,6,2,5,3,8,1,4]=>1101010
[6,2,1,3,4,8,7,5]=>1100011
[6,5,4,2,8,3,1,7]=>1110110
[5,4,3,1,8,7,2,6]=>1110110
[6,1,4,3,8,5,2,7]=>1010110
[4,7,6,2,8,1,5,3]=>0110101
[6,4,5,1,7,8,3,2]=>1010011
[4,2,3,1,7,8,6,5]=>1010011
[3,4,2,1,8,6,7,5]=>0110101
[2,7,6,8,1,5,3,4]=>0101010
[6,4,5,8,3,1,2,7]=>1001100
[8,1,3,2,5,6,7,4]=>1010001
[3,6,8,1,5,2,4,7]=>0010100
[3,2,8,7,4,5,1,6]=>1011010
[6,3,8,5,7,4,2,1]=>1010111
[7,4,6,8,5,1,2,3]=>1001100
[2,1,4,8,7,5,3,6]=>1001110
[2,1,6,8,3,7,5,4]=>1001011
[3,6,8,2,4,1,5,7]=>0010100
[6,2,8,1,7,5,4,3]=>1010111
[2,6,5,4,8,1,3,7]=>0110100
[6,5,3,4,8,1,7,2]=>1100101
[8,4,3,2,5,1,7,6]=>1110101
[4,2,8,1,5,3,6,7]=>1010100
[5,1,8,2,6,4,3,7]=>1010110
[7,4,8,6,2,1,3,5]=>1011100
[4,6,2,8,3,7,5,1]=>0101011
[2,1,5,8,3,6,4,7]=>1001010
[2,8,5,3,6,7,1,4]=>0110010
[7,8,5,6,4,1,3,2]=>0101101
[5,8,4,1,6,3,7,2]=>0110101
[4,8,1,3,5,7,6,2]=>0100011
[3,8,1,4,5,6,2,7]=>0100010
[7,6,8,3,5,1,4,2]=>1010101
[7,8,6,3,5,1,4,2]=>0110101
[5,3,8,7,6,1,4,2]=>1011101
[6,5,8,4,7,1,3,2]=>1010101
[6,7,4,2,5,3,1,8]=>0110110
[7,6,4,8,3,1,5,2]=>1101101
[7,4,8,5,6,1,3,2]=>1010101
[7,4,2,5,6,3,1,8]=>1100110
[4,2,7,5,6,3,1,8]=>1010110
[3,4,7,5,6,2,1,8]=>0010110
[4,7,3,5,6,2,1,8]=>0100110
[3,7,2,5,6,4,1,8]=>0100110
[7,8,3,5,6,1,4,2]=>0100101
[1,6,8,5,2,7,4,3]=>0011011
[6,2,8,5,1,7,4,3]=>1011011
[6,7,4,8,2,1,5,3]=>0101101
[3,2,7,8,6,1,5,4]=>1001101
[6,8,4,1,2,3,7,5]=>0110001
[4,1,8,5,6,3,2,7]=>1010110
[1,8,2,5,6,4,3,7]=>0100110
[6,1,8,5,3,7,4,2]=>1011011
[3,8,1,5,2,7,6,4]=>0101011
[8,2,1,5,3,7,6,4]=>1101011
[1,5,2,4,6,7,8,3]=>0100001
[4,1,5,3,6,7,8,2]=>1010001
[8,1,6,5,3,7,2,4]=>1011010
[7,1,4,6,3,2,8,5]=>1001101
[3,2,6,4,1,7,8,5]=>1011001
[7,6,4,3,1,2,8,5]=>1111001
[8,6,3,5,1,7,2,4]=>1101010
[4,5,3,1,6,7,8,2]=>0110001
[3,5,2,1,6,7,8,4]=>0110001
[5,2,3,1,6,7,8,4]=>1010001
[1,5,3,2,6,7,8,4]=>0110001
[8,4,6,5,1,7,2,3]=>1011010
[7,5,4,6,1,2,8,3]=>1101001
[3,2,5,6,1,7,8,4]=>1001001
[3,2,8,7,6,1,4,5]=>1011100
[6,8,4,7,2,1,3,5]=>0101100
[3,8,7,5,6,1,2,4]=>0110100
[8,2,7,5,6,1,3,4]=>1010100
[4,8,6,5,1,7,3,2]=>0111011
[1,7,4,6,2,3,8,5]=>0101001
[7,6,4,2,1,5,8,3]=>1111001
[5,7,4,6,1,3,8,2]=>0101001
[8,6,4,7,3,1,2,5]=>1101100
[5,2,4,3,7,1,8,6]=>1010101
[3,5,4,2,7,1,8,6]=>0110101
[8,6,4,1,3,5,2,7]=>1110010
[6,7,4,1,5,3,8,2]=>0110101
[7,5,4,1,2,6,8,3]=>1110001
[1,7,4,2,3,6,8,5]=>0110001
[1,8,2,5,3,7,6,4]=>0101011
[6,8,1,5,4,7,3,2]=>0101011
[8,2,1,5,6,4,3,7]=>1100110
[3,8,1,5,6,4,2,7]=>0100110
[6,8,4,1,2,5,3,7]=>0110010
[3,2,8,1,6,5,4,7]=>1010110
[3,2,6,1,5,7,8,4]=>1010001
[7,6,4,1,5,2,8,3]=>1110101
[8,6,1,5,4,7,2,3]=>1101010
[3,5,1,4,6,7,8,2]=>0100001
[5,2,1,4,6,7,8,3]=>1100001
[5,4,1,3,6,7,8,2]=>1100001
[8,4,1,5,3,7,2,6]=>1101010
[7,5,4,1,3,2,8,6]=>1110101
[3,2,5,1,4,7,8,6]=>1010001
[7,1,4,3,5,2,8,6]=>1010101
[8,1,3,5,4,7,2,6]=>1001010
[5,1,3,4,6,7,8,2]=>1000001
[3,1,8,2,5,7,4,6]=>1010010
[8,3,2,6,1,4,7,5]=>1101001
[2,8,1,6,4,3,7,5]=>0101101
[2,6,1,3,8,7,5,4]=>0100111
[2,5,7,1,3,8,6,4]=>0010011
[2,6,8,1,5,7,4,3]=>0010011
[2,7,1,5,8,4,6,3]=>0100101
[2,7,1,6,4,8,3,5]=>0101010
[2,7,1,6,5,3,8,4]=>0101101
[2,8,1,7,6,5,4,3]=>0101111
[8,3,2,7,1,6,5,4]=>1101011
[4,1,8,7,3,2,6,5]=>1011101
[4,1,7,2,8,6,5,3]=>1010111
[3,7,1,8,6,5,4,2]=>0101111
[3,7,6,1,4,2,5,8]=>0110100
[3,7,5,1,4,6,8,2]=>0110001
[3,6,8,5,1,4,7,2]=>0011001
[7,3,5,8,2,1,4,6]=>1001100
[7,3,6,2,1,4,5,8]=>1011000
[7,3,6,2,1,5,4,8]=>1011010
[7,4,2,8,1,6,5,3]=>1101011
[8,7,5,3,2,1,6,4]=>1111101
[7,5,2,6,3,1,4,8]=>1101100
[7,4,6,2,1,8,3,5]=>1011010
[6,8,4,5,2,1,7,3]=>0101101
[4,6,8,5,1,7,3,2]=>0011011
[4,7,5,1,3,8,6,2]=>0110011
[4,7,6,1,5,3,2,8]=>0110110
[5,1,7,6,3,8,2,4]=>1011010
[5,1,7,6,4,2,8,3]=>1011101
[5,1,8,7,6,4,3,2]=>1011111
[8,5,2,1,7,6,4,3]=>1110111
[8,5,2,1,6,3,7,4]=>1110101
[5,1,8,6,3,2,7,4]=>1011101
[3,6,1,7,4,8,2,5]=>0101010
[4,1,8,6,3,7,2,5]=>1011010
[8,4,2,5,7,3,1,6]=>1100110
[3,4,6,8,5,7,1,2]=>0001010
[5,4,8,2,7,3,6,1]=>1010101
[5,4,8,7,3,6,1,2]=>1011010
[8,5,4,7,3,6,2,1]=>1101011
[6,4,3,8,7,1,2,5]=>1101100
[6,3,7,2,4,8,1,5]=>1010010
[5,6,8,4,2,7,3,1]=>0011011
[5,7,4,2,8,1,3,6]=>0110100
[6,5,2,7,1,3,8,4]=>1101001
[8,6,5,4,2,1,7,3]=>1111101
[6,4,7,3,1,8,2,5]=>1011010
[5,7,4,3,8,6,1,2]=>0110110
[7,5,8,4,6,3,2,1]=>1010111
[7,6,4,8,3,5,2,1]=>1101011
[7,6,5,3,8,2,4,1]=>1110101
[5,6,3,7,4,2,1,8]=>0101110
[7,6,3,8,5,1,4,2]=>1101101
[6,4,8,1,3,2,5,7]=>1010100
[7,4,8,6,3,1,5,2]=>1011101
[4,2,7,6,5,3,1,8]=>1011110
[3,7,2,4,6,5,1,8]=>0100110
[8,1,3,4,5,2,6,7]=>1000100
[1,6,8,4,2,5,3,7]=>0011010
[6,2,8,4,1,5,7,3]=>1011001
[6,7,4,8,5,1,2,3]=>0101100
[3,2,7,8,5,1,6,4]=>1001101
[3,2,8,1,5,4,6,7]=>1010100
[6,1,4,8,5,3,7,2]=>1001101
[1,4,8,5,2,6,7,3]=>0011001
[6,1,8,4,3,7,2,5]=>1011010
[3,7,1,4,2,5,8,6]=>0101001
[7,2,1,4,3,5,6,8]=>1101000
[4,1,5,3,6,8,2,7]=>1010010
[6,1,8,5,3,2,7,4]=>1011101
[7,1,4,6,3,8,5,2]=>1001011
[3,2,6,4,1,8,7,5]=>1011011
[7,6,4,3,1,8,2,5]=>1111010
[3,5,2,1,8,7,6,4]=>0110111
[1,5,3,2,8,6,4,7]=>0110110
[5,4,2,1,7,8,6,3]=>1110011
[8,2,7,6,5,1,3,4]=>1011100
[8,6,2,7,1,4,5,3]=>1101001
[1,7,3,6,2,8,5,4]=>0101011
[7,6,3,2,1,8,5,4]=>1111011
[8,6,3,7,4,1,2,5]=>1101100
[5,2,3,4,7,1,8,6]=>1000101
[8,6,3,1,4,5,7,2]=>1110001
[6,7,3,1,5,4,2,8]=>0110110
[5,8,3,1,2,4,7,6]=>0110001
[8,1,3,2,4,5,6,7]=>1010000
[8,4,1,7,2,3,6,5]=>1101001
[8,2,1,6,5,4,7,3]=>1101101
[3,8,1,5,6,4,7,2]=>0100101
[6,8,4,1,2,5,7,3]=>0110001
[3,2,8,1,6,5,7,4]=>1010101
[7,6,4,1,5,2,3,8]=>1110100
[8,6,1,5,4,7,3,2]=>1101011
[3,5,1,4,6,7,2,8]=>0100010
[5,2,1,4,7,6,3,8]=>1100110
[4,5,8,2,1,3,7,6]=>0011001
[5,8,2,3,1,4,6,7]=>0101000
[4,2,1,3,5,8,7,6]=>1100011
[5,4,1,3,6,2,8,7]=>1100101
[8,5,4,1,3,6,2,7]=>1110010
[3,2,5,1,4,6,8,7]=>1010001
[8,1,4,3,5,6,7,2]=>1010001
[7,1,3,5,4,6,2,8]=>1001010
[5,1,3,4,6,2,7,8]=>1000100
[4,1,3,2,5,7,6,8]=>1010010
[6,8,2,4,5,1,3,7]=>0100100
[4,6,7,3,1,5,2,8]=>0011010
[5,8,1,2,4,7,3,6]=>0100010
[6,8,1,3,5,2,7,4]=>0100101
[6,8,3,1,4,5,7,2]=>0110001
[7,5,1,8,2,3,6,4]=>1101001
[5,3,8,4,2,6,7,1]=>1011001
[4,1,8,3,5,7,2,6]=>1010010
[3,4,7,2,6,1,8,5]=>0010101
[4,5,7,2,3,6,8,1]=>0010001
[2,6,3,4,7,5,8,1]=>0100101
[4,5,2,7,1,6,8,3]=>0101001
[3,4,1,6,5,8,2,7]=>0101010
[7,3,1,4,8,5,6,2]=>1100101
[5,6,3,1,7,4,2,8]=>0110110
[7,3,4,1,8,5,2,6]=>1010110
[6,4,2,8,7,1,5,3]=>1101101
[7,2,4,8,1,5,3,6]=>1001010
[4,6,3,1,7,8,5,2]=>0110011
[5,3,1,6,7,8,4,2]=>1100011
[4,1,6,2,7,8,5,3]=>1010011
[2,1,3,4,8,7,5,6]=>1000110
[4,8,3,7,6,5,1,2]=>0101110
[6,3,8,7,5,4,1,2]=>1011110
[5,3,8,7,6,4,1,2]=>1011110
[2,8,7,6,1,5,4,3]=>0111011
[5,2,8,7,6,1,4,3]=>1011101
[6,2,8,7,5,1,4,3]=>1011101
[7,8,2,6,5,1,4,3]=>0101101
[6,1,8,7,5,4,3,2]=>1011111
[3,1,8,7,6,5,4,2]=>1011111
[7,8,2,6,1,5,4,3]=>0101011
[6,2,8,7,1,5,4,3]=>1011011
[4,2,8,1,7,6,5,3]=>1010111
[4,8,2,7,6,1,5,3]=>0101101
[3,8,7,2,1,6,5,4]=>0111011
[6,5,8,7,1,4,3,2]=>1011011
[4,8,1,7,6,5,3,2]=>0101111
[5,4,1,8,7,6,3,2]=>1101111
[6,4,8,1,7,5,3,2]=>1010111
[7,8,4,1,6,5,3,2]=>0110111
[7,8,3,1,6,5,4,2]=>0110111
[6,3,8,1,7,5,4,2]=>1010111
[5,3,1,8,7,6,4,2]=>1101111
[7,8,2,1,6,5,4,3]=>0110111
[6,5,3,1,8,7,4,2]=>1110111
[6,4,3,1,8,7,5,2]=>1110111
[5,4,3,1,8,7,6,2]=>1110111
[7,5,2,1,8,6,4,3]=>1110111
[5,4,2,1,8,7,6,3]=>1110111
[7,3,2,1,8,6,5,4]=>1110111
[6,3,2,1,8,7,5,4]=>1110111
[6,1,4,2,3,5,8,7]=>1010001
[8,6,1,4,2,3,5,7]=>1101000
[6,8,1,4,2,3,5,7]=>0101000
[8,1,4,2,3,6,5,7]=>1010010
[4,1,8,2,3,6,5,7]=>1010010
[8,2,3,6,1,4,5,7]=>1001000
[6,2,3,8,1,4,5,7]=>1001000
[4,6,2,3,8,1,5,7]=>0100100
[4,8,2,3,6,1,5,7]=>0100100
[8,2,3,6,4,1,5,7]=>1001100
[8,4,3,6,2,1,5,7]=>1101100
[6,2,3,8,4,1,5,7]=>1001100
[8,4,2,3,6,1,5,7]=>1100100
[6,4,2,3,8,1,5,7]=>1100100
[2,6,4,3,8,1,5,7]=>0110100
[2,8,4,3,6,1,5,7]=>0110100
[2,6,3,8,4,1,5,7]=>0101100
[6,3,8,4,2,1,5,7]=>1011100
[2,6,3,8,1,4,5,7]=>0101000
[2,8,3,6,1,4,5,7]=>0101000
[8,3,6,4,2,1,5,7]=>1011100
[2,8,3,6,4,1,5,7]=>0101100
[8,3,6,2,4,1,5,7]=>1010100
[8,3,6,2,1,4,5,7]=>1011000
[6,2,1,3,8,4,5,7]=>1100100
[8,2,1,3,6,4,5,7]=>1100100
[6,3,8,2,4,1,5,7]=>1010100
[6,2,4,3,8,1,5,7]=>1010100
[3,6,4,7,8,5,1,2]=>0100110
[1,6,4,2,7,5,8,3]=>0110101
[3,6,4,2,7,1,5,8]=>0110100
[1,4,7,2,5,6,8,3]=>0010001
[6,4,8,5,3,7,1,2]=>1011010
[1,6,5,4,2,7,8,3]=>0111001
[4,2,5,3,6,1,7,8]=>1010100
[7,1,5,3,6,2,8,4]=>1010101
[1,6,5,2,4,8,7,3]=>0110011
[1,4,6,2,8,5,7,3]=>0010101
[7,8,1,4,2,5,6,3]=>0101001
[3,4,8,5,2,1,6,7]=>0011100
[4,8,5,3,1,6,2,7]=>0111010
[6,1,3,5,8,2,7,4]=>1000101
[6,1,8,7,4,2,3,5]=>1011100
[1,2,8,5,7,3,6,4]=>0010101
[1,3,6,8,7,5,2,4]=>0001110
[1,8,2,5,4,7,6,3]=>0101011
[7,1,2,4,5,8,6,3]=>1000011
[1,2,7,3,5,8,6,4]=>0010011
[6,1,3,2,5,7,8,4]=>1010001
[4,6,2,1,7,5,3,8]=>0110110
[1,6,3,7,8,5,2,4]=>0100110
[4,6,2,3,7,8,1,5]=>0100010
[4,6,3,7,1,2,8,5]=>0101001
[4,2,1,3,5,7,8,6]=>1100001
[7,3,2,4,5,1,8,6]=>1100101
[3,8,2,5,4,1,7,6]=>0101101
[7,8,4,2,6,3,1,5]=>0110110
[4,2,6,3,8,7,1,5]=>1010110
[5,8,2,7,4,3,1,6]=>0101110
[4,3,8,5,1,7,2,6]=>1011010
[4,3,6,8,1,2,7,5]=>1001001
[6,4,3,5,2,8,1,7]=>1101010
[6,5,3,8,4,2,1,7]=>1101110
[3,8,1,7,5,6,4,2]=>0101011
[8,2,5,7,3,6,4,1]=>1001011
[1,8,6,7,5,3,4,2]=>0101101
[8,2,6,7,5,3,4,1]=>1001101
[1,5,8,7,2,6,4,3]=>0011011
[5,4,8,6,2,3,7,1]=>1011001
[2,7,6,1,3,5,4,8]=>0110010
[6,4,1,8,2,5,7,3]=>1101001
[2,8,6,1,3,5,4,7]=>0110010
[4,1,3,6,5,8,7,2]=>1001011
[2,1,6,3,5,8,7,4]=>1010011
[2,4,1,3,8,5,7,6]=>0100101
[2,4,1,3,5,8,7,6]=>0100011
[2,6,1,3,5,8,7,4]=>0100011
[4,6,1,3,5,8,7,2]=>0100011
[6,1,4,3,5,8,7,2]=>1010011
[6,4,1,3,5,8,7,2]=>1100011
[6,2,1,3,5,8,7,4]=>1100011
[4,2,1,3,6,5,7,8]=>1100100
[4,2,1,6,3,5,7,8]=>1101000
[6,2,1,8,3,5,7,4]=>1101001
[6,2,1,3,8,5,7,4]=>1100101
[6,1,4,3,8,5,7,2]=>1010101
[1,6,4,3,8,5,7,2]=>0110101
[8,1,4,3,6,5,7,2]=>1010101
[8,4,1,3,6,5,7,2]=>1100101
[8,2,1,3,6,5,7,4]=>1100101
[8,2,1,6,3,5,7,4]=>1101001
[8,2,1,4,3,5,7,6]=>1101001
[6,2,1,4,3,5,7,8]=>1101000
[8,2,4,1,3,5,7,6]=>1010001
[8,2,6,1,3,5,7,4]=>1010001
[8,4,6,1,3,5,7,2]=>1010001
[8,4,1,6,3,5,7,2]=>1101001
[8,1,4,6,3,5,7,2]=>1001001
[1,8,4,6,3,5,7,2]=>0101001
[1,6,4,8,3,5,7,2]=>0101001
[6,4,1,8,3,5,7,2]=>1101001
[6,4,8,1,3,5,7,2]=>1010001
[6,2,8,1,3,5,7,4]=>1010001
[4,2,8,1,3,5,7,6]=>1010001
[2,6,8,1,3,5,7,4]=>0010001
[4,6,8,1,3,5,7,2]=>0010001
[4,6,1,8,3,5,7,2]=>0101001
[4,1,6,8,3,5,7,2]=>1001001
[1,4,6,3,8,5,7,2]=>0010101
[4,6,1,3,8,5,7,2]=>0100101
[2,4,1,8,3,5,7,6]=>0101001
[2,1,6,8,3,5,7,4]=>1001001
[4,1,3,6,8,5,7,2]=>1000101
[1,4,3,6,8,5,7,2]=>0100101
[4,1,3,8,6,5,7,2]=>1001101
[2,1,8,3,6,5,7,4]=>1010101
[2,1,6,4,3,5,7,8]=>1011000
[2,6,1,4,3,5,7,8]=>0101000
[2,8,1,4,3,5,7,6]=>0101001
[2,8,1,6,3,5,7,4]=>0101001
[4,8,1,3,6,5,7,2]=>0100101
[1,4,8,3,6,5,7,2]=>0010101
[1,4,8,6,3,5,7,2]=>0011001
[4,1,8,6,3,5,7,2]=>1011001
[4,8,1,6,3,5,7,2]=>0101001
[4,8,6,1,3,5,7,2]=>0110001
[2,8,6,1,3,5,7,4]=>0110001
[2,8,4,1,3,5,7,6]=>0110001
[2,6,4,1,3,5,7,8]=>0110000
[4,6,2,1,3,5,7,8]=>0110000
[6,8,1,4,3,5,7,2]=>0101001
[6,1,8,4,3,5,7,2]=>1011001
[1,6,8,4,3,5,7,2]=>0011001
[1,8,6,4,3,5,7,2]=>0111001
[8,1,6,4,3,5,7,2]=>1011001
[8,6,1,4,3,5,7,2]=>1101001
[8,6,4,1,3,5,7,2]=>1110001
[8,6,2,1,3,5,7,4]=>1110001
[8,4,2,1,3,5,7,6]=>1110001
[7,8,6,5,2,1,4,3]=>0111101
[5,7,4,1,8,6,3,2]=>0110111
[5,6,4,2,8,3,7,1]=>0110101
[5,6,4,2,7,3,1,8]=>0110110
[5,7,1,4,6,3,2,8]=>0100110
[5,8,1,4,6,3,7,2]=>0100101
[3,6,7,4,5,8,2,1]=>0010011
[3,5,7,4,6,8,2,1]=>0010011
[6,8,4,1,7,2,5,3]=>0110101
[5,4,6,1,7,8,3,2]=>1010011
[5,6,4,1,8,7,3,2]=>0110111
[3,5,8,4,6,7,2,1]=>0010011
[3,6,8,4,5,7,2,1]=>0010011
[3,7,8,4,5,6,2,1]=>0010011
[6,8,1,4,5,3,7,2]=>0100101
[6,7,1,4,5,3,2,8]=>0100110
[3,7,1,5,4,6,2,8]=>0101010
[3,8,1,5,4,6,7,2]=>0101001
[3,7,1,5,4,6,8,2]=>0101001
[6,7,1,4,5,3,8,2]=>0100101
[5,7,1,4,6,3,8,2]=>0100101
[5,6,4,2,7,3,8,1]=>0110101
[5,4,7,2,8,3,1,6]=>1010110
[5,4,7,2,8,3,6,1]=>1010101
[5,6,4,2,8,3,1,7]=>0110110
[5,8,1,4,6,3,2,7]=>0100110
[3,8,1,5,4,6,2,7]=>0101010
[3,6,1,5,4,2,7,8]=>0101100
[3,6,1,5,4,8,2,7]=>0101010
[6,8,3,1,4,2,5,7]=>0110100
[7,3,8,1,4,2,5,6]=>1010100
[6,7,3,1,4,2,8,5]=>0110101
[3,6,1,5,4,7,8,2]=>0101001
[3,4,1,2,7,6,5,8]=>0100110
[3,4,1,2,6,8,7,5]=>0100011
[6,8,3,1,4,7,2,5]=>0110010
[6,4,7,2,8,5,1,3]=>1010110
[5,8,1,4,7,3,2,6]=>0100110
[7,8,1,4,5,3,2,6]=>0100110
[3,8,1,5,4,7,2,6]=>0101010
[3,6,1,5,4,8,7,2]=>0101011
[3,6,1,5,4,7,2,8]=>0101010
[6,7,3,1,4,2,5,8]=>0110100
[6,8,3,1,4,2,7,5]=>0110101
[7,8,3,1,4,6,2,5]=>0110010
[7,8,4,2,6,5,1,3]=>0110110
[6,5,8,7,3,4,2,1]=>1011011
[7,8,3,1,4,6,5,2]=>0110011
[6,7,3,1,4,5,2,8]=>0110010
[3,7,1,5,4,2,6,8]=>0101100
[3,8,1,5,4,2,7,6]=>0101101
[5,8,1,4,7,3,6,2]=>0100101
[6,8,4,2,7,5,3,1]=>0110111
[6,4,7,2,8,5,3,1]=>1010111
[6,3,7,1,4,8,5,2]=>1010011
[6,8,3,1,4,7,5,2]=>0110011
[3,7,1,5,4,8,6,2]=>0101011
[3,4,1,2,8,5,7,6]=>0100101
[3,4,1,2,5,8,7,6]=>0100011
[3,7,1,5,4,2,8,6]=>0101101
[6,7,3,1,4,5,8,2]=>0110001
[7,3,8,1,4,5,2,6]=>1010010
[7,3,8,1,4,5,6,2]=>1010001
[6,8,3,1,4,5,2,7]=>0110010
[3,8,1,5,4,2,6,7]=>0101100
[8,7,6,3,5,2,1,4]=>1110110
[8,7,4,6,3,2,1,5]=>1101110
[8,5,7,4,3,2,1,6]=>1011110
[8,7,6,2,5,4,1,3]=>1110110
[8,5,4,7,3,2,1,6]=>1101110
[8,7,3,6,5,2,1,4]=>1101110
[6,5,8,4,3,2,1,7]=>1011110
[8,4,7,6,3,2,1,5]=>1011110
[5,8,7,4,3,2,1,6]=>0111110
[5,8,6,2,3,4,7,1]=>0110001
[4,5,2,7,3,1,8,6]=>0101101
[4,8,2,6,3,5,7,1]=>0101001
[4,3,7,8,6,5,1,2]=>1001110
[4,1,7,2,5,8,6,3]=>1010011
[7,8,2,1,5,6,4,3]=>0110011
[1,6,2,5,8,4,3,7]=>0100110
[2,1,8,7,4,5,3,6]=>1011010
[7,3,1,6,8,5,2,4]=>1100110
[1,5,8,6,2,3,7,4]=>0011001
[2,4,8,3,1,6,5,7]=>0011010
[5,2,7,1,8,6,3,4]=>1010110
[2,6,1,3,8,7,4,5]=>0100110
[6,5,2,8,1,7,3,4]=>1101010
[2,8,3,5,1,7,4,6]=>0101010
[5,4,3,8,7,1,6,2]=>1101101
[8,5,4,3,7,2,6,1]=>1110101
[8,3,7,4,2,6,5,1]=>1011011
[2,8,6,5,1,7,4,3]=>0111011
[6,3,2,8,4,1,7,5]=>1101101
[2,8,3,4,1,7,5,6]=>0101010
[5,4,2,8,3,1,7,6]=>1101101
[2,8,4,3,1,7,6,5]=>0111011
[2,8,5,3,1,7,6,4]=>0111011
[2,8,6,4,1,7,5,3]=>0111011
[3,8,7,5,1,6,4,2]=>0111011
[8,3,7,5,2,6,4,1]=>1011011
[8,4,7,6,2,5,3,1]=>1011011
[4,8,7,6,1,5,3,2]=>0111011
[7,4,8,6,2,1,5,3]=>1011101
[7,3,8,5,2,1,6,4]=>1011101
[7,3,8,4,2,1,6,5]=>1011101
[7,5,4,3,8,2,1,6]=>1110110
[3,7,8,4,1,2,6,5]=>0011001
[3,7,8,5,1,2,6,4]=>0011001
[4,7,8,6,1,2,5,3]=>0011001
[8,7,4,6,3,5,2,1]=>1101011
[5,7,8,6,1,2,4,3]=>0011001
[6,4,7,8,3,1,2,5]=>1001100
[7,3,4,8,2,1,5,6]=>1001100
[7,6,4,8,3,2,1,5]=>1101110
[7,5,8,6,2,1,4,3]=>1011101
[6,5,8,7,3,1,4,2]=>1011101
[2,4,8,3,1,5,7,6]=>0011001
[6,3,2,4,8,1,5,7]=>1100100
[2,3,8,4,1,6,7,5]=>0011001
[2,3,8,5,1,6,7,4]=>0011001
[6,4,8,7,3,1,5,2]=>1011101
[8,6,4,7,3,2,5,1]=>1101101
[8,3,4,7,2,5,6,1]=>1001001
[3,4,8,7,1,5,6,2]=>0011001
[2,4,8,6,1,5,7,3]=>0011001
[2,5,8,6,1,4,7,3]=>0011001
[8,3,5,7,2,4,6,1]=>1001001
[8,4,6,7,2,3,5,1]=>1001001
[4,6,8,7,1,3,5,2]=>0011001
[2,6,8,5,1,3,7,4]=>0011001
[2,6,8,4,1,3,7,5]=>0011001
[2,5,8,3,1,4,7,6]=>0011001
[5,6,8,7,1,3,4,2]=>0011001
[7,4,6,8,2,1,3,5]=>1001100
[2,3,5,4,1,8,6,7]=>0011010
[2,3,6,4,8,1,5,7]=>0010100
[1,8,4,6,3,5,2,7]=>0101010
[5,4,8,6,2,1,3,7]=>1011100
[2,3,6,8,1,5,4,7]=>0001010
[2,5,6,1,4,7,8,3]=>0010001
[2,5,6,1,4,7,3,8]=>0010010
[7,3,5,1,6,8,4,2]=>1010011
[2,7,6,1,8,5,4,3]=>0110111
[2,7,6,8,1,4,5,3]=>0101001
[1,8,7,6,3,2,5,4]=>0111101
[1,8,7,6,3,2,4,5]=>0111100
[5,7,8,6,2,3,4,1]=>0011001
[2,7,6,1,8,5,3,4]=>0110110
[6,3,5,1,7,2,4,8]=>1010100
[2,3,4,7,6,1,5,8]=>0001100
[7,3,5,8,4,1,2,6]=>1001100
[1,8,4,5,2,7,3,6]=>0101010
[1,8,4,5,2,7,6,3]=>0101011
[7,3,5,8,4,1,6,2]=>1001101
[2,7,6,4,8,5,1,3]=>0110110
[7,3,5,4,6,8,1,2]=>1010010
[6,3,5,4,7,1,8,2]=>1010101
[6,3,5,4,7,1,2,8]=>1010100
[3,4,1,5,6,8,7,2]=>0100011
[3,7,1,6,8,5,2,4]=>0100110
[2,3,1,8,6,4,7,5]=>0101101
[1,8,4,3,6,2,5,7]=>0110100
[2,3,1,8,6,4,5,7]=>0101100
[3,7,1,6,8,5,4,2]=>0100111
[6,3,5,4,7,2,1,8]=>1010110
[7,3,5,4,6,8,2,1]=>1010011
[2,7,6,4,8,5,3,1]=>0110111
[1,8,4,5,2,6,3,7]=>0101010
[6,4,8,5,3,1,2,7]=>1011100
[7,3,5,8,4,6,2,1]=>1001011
[2,3,4,6,5,8,1,7]=>0001010
[2,3,4,7,5,1,8,6]=>0001101
[2,3,4,7,5,1,6,8]=>0001100
[2,3,4,7,1,6,5,8]=>0001010
[2,3,4,7,1,6,8,5]=>0001001
[2,3,4,6,1,8,7,5]=>0001011
[6,3,5,8,4,2,7,1]=>1001101
[7,4,8,5,3,2,1,6]=>1011110
[1,8,4,5,2,3,6,7]=>0101000
[7,4,8,5,3,2,6,1]=>1011101
[6,3,5,8,4,2,1,7]=>1001110
[5,2,4,6,8,3,7,1]=>1000101
[1,5,7,4,6,3,2,8]=>0010110
[5,2,8,4,6,3,7,1]=>1010101
[3,8,5,4,6,7,2,1]=>0110011
[6,8,3,4,5,7,2,1]=>0100011
[2,5,7,4,6,3,8,1]=>0010101
[5,4,1,7,8,3,2,6]=>1100110
[5,4,2,7,8,3,6,1]=>1100101
[5,1,4,6,8,3,2,7]=>1000110
[5,1,8,4,6,3,2,7]=>1010110
[8,1,6,4,5,3,2,7]=>1010110
[8,1,3,5,4,6,2,7]=>1001010
[8,1,6,2,4,3,5,7]=>1010100
[8,7,1,2,4,3,5,6]=>1100100
[1,7,6,2,4,3,5,8]=>0110100
[8,7,3,2,4,6,5,1]=>1110011
[8,2,6,3,4,5,7,1]=>1010001
[1,7,6,3,4,5,2,8]=>0110010
[1,7,2,5,4,3,6,8]=>0101100
[8,7,2,4,5,3,6,1]=>1100101
[5,8,2,4,7,3,6,1]=>0100101
[6,8,3,2,4,7,5,1]=>0110011
[8,7,1,3,4,5,2,6]=>1100010
[8,1,6,3,4,5,2,7]=>1010010
[8,1,2,5,4,3,6,7]=>1001100
[3,4,8,7,5,2,6,1]=>0011101
[3,2,8,6,1,5,4,7]=>1011010
[8,6,1,2,4,3,5,7]=>1100100
[8,7,3,6,4,2,5,1]=>1101101
[3,8,7,2,5,4,6,1]=>0110101
[8,7,2,4,5,6,3,1]=>1100011
[5,3,6,2,4,8,7,1]=>1010011
[3,5,2,8,6,1,4,7]=>0101100
[3,7,2,5,1,4,8,6]=>0101001
[5,1,8,6,2,3,4,7]=>1011000
[2,5,4,1,8,6,3,7]=>0110110
[3,7,6,1,8,2,5,4]=>0110101
[7,6,3,1,8,2,4,5]=>1110100
[8,2,3,6,1,4,7,5]=>1001001
[1,8,2,6,3,4,7,5]=>0101001
[8,1,3,6,4,7,2,5]=>1001010
[7,1,3,6,4,8,2,5]=>1001010
[8,2,1,3,5,7,4,6]=>1100010
[8,2,6,3,1,4,7,5]=>1011001
[7,5,4,1,3,8,2,6]=>1110010
[2,7,5,8,3,4,1,6]=>0101010
[7,3,8,5,4,1,2,6]=>1011100
[7,2,3,6,1,4,8,5]=>1001001
[1,3,7,2,5,8,4,6]=>0010010
[1,7,2,3,5,8,4,6]=>0100010
[7,4,8,1,3,6,2,5]=>1010010
[8,1,2,3,5,7,4,6]=>1000010
[7,1,2,3,5,8,4,6]=>1000010
[8,6,1,4,7,3,2,5]=>1100110
[2,6,3,7,1,4,8,5]=>0101001
[2,6,3,8,1,4,7,5]=>0101001
[7,5,4,8,1,3,2,6]=>1101010
[8,5,4,7,1,3,2,6]=>1101010
[2,3,1,8,5,4,6,7]=>0101100
[8,6,5,1,3,4,2,7]=>1110010
[8,5,1,7,6,3,4,2]=>1101101
[3,4,7,6,1,8,5,2]=>0011011
[3,5,2,6,7,1,8,4]=>0100101
[3,2,8,4,7,5,1,6]=>1010110
[8,4,7,5,1,3,2,6]=>1011010
[3,8,1,6,5,2,7,4]=>0101101
[6,1,2,8,3,4,7,5]=>1001001
[6,8,3,1,7,2,4,5]=>0110100
[3,7,2,5,6,1,8,4]=>0100101
[6,8,4,2,5,1,7,3]=>0110101
[2,7,5,3,8,4,1,6]=>0110110
[8,3,1,4,7,2,6,5]=>1100101
[8,3,2,1,5,7,4,6]=>1110010
[2,8,3,6,4,7,1,5]=>0101010
[7,3,6,4,8,1,2,5]=>1010100
[8,3,6,4,7,1,2,5]=>1010100
[1,2,8,3,5,7,4,6]=>0010010
[1,8,3,2,5,7,4,6]=>0110010
[6,5,1,7,4,2,8,3]=>1101101
[7,3,6,4,8,2,1,5]=>1010110
[4,6,1,7,3,5,2,8]=>0101010
[5,6,1,7,3,4,2,8]=>0101010
[6,1,7,3,4,2,8,5]=>1010101
[7,3,8,1,6,5,2,4]=>1010110
[8,3,7,1,6,5,2,4]=>1010110
[5,1,7,4,2,8,6,3]=>1011011
[2,8,1,7,6,5,3,4]=>0101110
[4,2,8,6,5,1,7,3]=>1011101
[6,4,2,8,5,1,7,3]=>1101101
[8,6,4,7,1,5,2,3]=>1101010
[7,6,4,8,1,5,2,3]=>1101010
[5,1,6,4,2,3,8,7]=>1011001
[4,2,3,8,7,5,1,6]=>1001110
[3,8,7,1,6,5,2,4]=>0110110
[2,4,3,8,1,6,7,5]=>0101001
[2,4,3,7,1,6,8,5]=>0101001
[4,2,3,7,8,5,1,6]=>1000110
[5,1,6,4,2,3,7,8]=>1011000
[6,4,7,8,1,5,2,3]=>1001010
[8,7,4,6,1,5,2,3]=>1101010
[6,5,7,8,1,4,2,3]=>1001010
[4,7,8,6,1,5,2,3]=>0011010
[3,2,4,7,8,1,5,6]=>1000100
[3,2,4,8,7,1,5,6]=>1001100
[4,8,7,6,1,5,2,3]=>0111010
[5,8,7,6,1,4,2,3]=>0111010
[8,6,5,7,1,4,2,3]=>1101010
[5,1,6,7,4,2,3,8]=>1001100
[6,7,4,8,1,5,2,3]=>0101010
[8,4,7,6,1,5,2,3]=>1011010
[8,3,2,4,7,1,5,6]=>1100100
[7,3,2,4,8,1,5,6]=>1100100
[2,5,3,7,1,6,4,8]=>0101010
[8,4,6,7,1,5,2,3]=>1001010
[7,4,6,8,1,5,2,3]=>1001010
[5,1,6,8,4,2,3,7]=>1001100
[4,2,3,7,5,1,6,8]=>1001100
[3,7,5,8,1,6,2,4]=>0101010
[2,4,3,7,1,6,5,8]=>0101010
[2,4,7,1,5,8,6,3]=>0010011
[3,2,4,7,6,1,5,8]=>1001100
[4,7,6,8,1,5,2,3]=>0101010
[8,5,6,7,1,4,2,3]=>1001010
[8,6,7,5,1,4,2,3]=>1011010
[7,6,8,5,1,4,2,3]=>1011010
[6,8,7,5,1,4,2,3]=>0111010
[5,6,8,7,1,4,2,3]=>0011010
[4,6,8,7,1,5,2,3]=>0011010
[2,4,6,7,1,5,8,3]=>0001001
[3,2,4,6,1,5,7,8]=>1001000
[6,7,8,5,1,4,2,3]=>0011010
[7,8,6,5,1,4,2,3]=>0111010
[3,1,7,5,4,2,8,6]=>1011101
[2,1,8,5,4,6,3,7]=>1011010
[4,1,8,5,2,3,6,7]=>1011000
[5,4,1,3,6,7,2,8]=>1100010
[8,4,1,2,6,3,7,5]=>1100101
[8,2,7,1,5,3,4,6]=>1010100
[3,2,7,1,5,8,4,6]=>1010010
[6,3,7,1,5,4,2,8]=>1010110
[7,3,8,1,5,4,2,6]=>1010110
[7,1,5,3,8,4,2,6]=>1010110
[4,5,1,3,6,8,2,7]=>0100010
[3,6,8,1,5,4,2,7]=>0010110
[6,8,3,1,5,4,2,7]=>0110110
[7,6,3,1,5,4,2,8]=>1110110
[3,6,2,1,5,8,4,7]=>0110010
[8,6,2,1,5,3,4,7]=>1110100
[4,8,2,1,7,5,3,6]=>0110110
[2,3,8,1,5,7,4,6]=>0010010
[7,1,3,2,8,6,4,5]=>1010110
[7,1,6,2,8,3,4,5]=>1010100
[4,7,1,2,6,3,8,5]=>0100101
[2,7,8,1,5,3,4,6]=>0010100
[6,7,2,1,5,3,4,8]=>0110100
[4,7,2,1,8,5,3,6]=>0110110
[8,7,2,1,4,5,3,6]=>1110010
[8,7,5,6,1,4,3,2]=>1101011
[5,7,8,6,1,4,3,2]=>0011011
[2,7,4,1,6,5,3,8]=>0110110
[3,7,1,4,5,6,8,2]=>0100001
[7,1,6,4,5,8,3,2]=>1010011
[3,5,1,4,7,6,8,2]=>0100101
[2,6,4,1,7,5,3,8]=>0110110
[5,6,8,7,1,4,3,2]=>0011011
[6,8,5,7,1,4,3,2]=>0101011
[8,6,5,7,1,4,3,2]=>1101011
[8,5,7,6,1,4,3,2]=>1011011
[6,5,7,8,1,4,3,2]=>1001011
[7,2,3,1,5,6,4,8]=>1010010
[4,2,8,1,6,5,3,7]=>1010110
[6,2,4,1,8,5,3,7]=>1010110
[8,3,1,4,5,6,7,2]=>1100001
[5,3,1,4,8,6,7,2]=>1100101
[7,5,1,6,3,4,8,2]=>1101001
[7,1,5,8,4,3,6,2]=>1001101
[5,8,1,6,4,3,7,2]=>0101101
[5,3,1,8,4,6,7,2]=>1101001
[8,3,1,5,4,6,7,2]=>1101001
[8,2,6,1,4,5,3,7]=>1010010
[6,2,8,1,4,5,3,7]=>1010010
[7,2,6,1,5,3,4,8]=>1010100
[2,8,6,1,5,3,4,7]=>0110100
[4,2,1,5,6,3,8,7]=>1100101
[7,1,2,5,8,3,4,6]=>1000100
[7,1,4,5,6,8,3,2]=>1000011
[8,5,6,7,1,4,3,2]=>1001011
[7,6,8,5,1,4,3,2]=>1011011
[6,8,7,5,1,4,3,2]=>0111011
[2,6,7,1,4,5,3,8]=>0010010
[3,5,1,7,4,6,8,2]=>0101001
[7,1,5,6,4,8,3,2]=>1001011
[7,1,6,5,4,8,3,2]=>1011011
[2,7,6,1,4,5,3,8]=>0110010
[5,7,6,8,1,4,3,2]=>0101011
[7,8,6,5,1,4,3,2]=>0111011
[4,3,1,6,5,8,7,2]=>1101011
[5,3,1,2,4,8,7,6]=>1100011
[5,3,6,2,1,8,7,4]=>1011011
[5,3,7,2,1,4,6,8]=>1011000
[5,3,7,2,8,4,1,6]=>1010110
[7,2,4,5,8,3,1,6]=>1000110
[7,2,4,5,1,3,6,8]=>1001000
[6,2,4,5,1,8,7,3]=>1001011
[3,1,4,5,2,8,7,6]=>1001011
[1,6,4,5,2,8,7,3]=>0101011
[3,7,4,5,1,2,6,8]=>0101000
[3,7,4,5,8,2,1,6]=>0100110
[1,7,4,2,6,3,5,8]=>0110100
[8,7,4,5,2,1,6,3]=>1101101
[6,3,7,1,8,4,2,5]=>1010110
[5,7,4,1,6,3,2,8]=>0110110
[1,7,4,8,6,3,2,5]=>0101110
[5,7,4,8,6,3,1,2]=>0101110
[4,8,3,5,6,7,1,2]=>0100010
[1,8,3,5,6,7,2,4]=>0100010
[4,8,1,5,6,7,2,3]=>0100010
[4,1,3,5,6,7,2,8]=>1000010
[5,8,4,3,6,1,2,7]=>0110100
[5,3,8,4,1,7,2,6]=>1011010
[1,5,8,4,6,7,3,2]=>0010011
[1,4,8,3,6,7,5,2]=>0010011
[4,3,8,2,1,7,5,6]=>1011010
[3,8,4,2,6,1,5,7]=>0110100
[1,8,2,5,6,7,4,3]=>0100011
[3,8,1,5,6,7,4,2]=>0100011
[3,8,2,5,6,7,1,4]=>0100010
[8,2,1,5,6,7,4,3]=>1100011
[8,1,3,5,6,7,4,2]=>1000011
[7,1,4,3,6,2,5,8]=>1010100
[7,8,4,3,6,2,1,5]=>0110110
[4,3,1,8,5,7,6,2]=>1101011
[4,3,1,6,8,7,5,2]=>1100111
[6,3,1,8,2,7,4,5]=>1101010
[6,3,5,8,2,7,1,4]=>1001010
[7,5,4,8,6,2,1,3]=>1101110
[7,1,4,8,6,2,3,5]=>1001100
[7,5,4,1,6,2,3,8]=>1110100
[7,6,4,5,8,1,3,2]=>1100101
[1,6,4,5,8,2,3,7]=>0100100
[7,3,6,1,8,2,4,5]=>1010100
[1,7,6,5,8,3,4,2]=>0110101
[1,8,5,3,6,7,4,2]=>0110011
[8,3,5,2,1,7,4,6]=>1011010
[8,4,1,5,6,7,3,2]=>1100011
[8,4,2,5,6,7,1,3]=>1100010
[4,1,8,5,6,7,3,2]=>1010011
[1,2,8,5,6,7,3,4]=>0010010
[4,2,1,5,6,7,3,8]=>1100010
[1,5,3,8,6,7,4,2]=>0101011
[1,4,5,8,6,7,3,2]=>0001011
[4,3,5,8,1,7,2,6]=>1001010
[3,5,4,8,6,1,2,7]=>0101100
[1,4,8,5,6,7,2,3]=>0010010
[3,4,8,5,6,7,1,2]=>0010010
[2,7,1,5,6,3,4,8]=>0100100
[2,7,1,4,3,6,5,8]=>0101010
[4,3,7,2,5,6,8,1]=>1010001
[2,6,3,1,4,5,8,7]=>0110001
[3,7,1,4,2,6,8,5]=>0101001
[3,7,1,5,6,2,8,4]=>0100101
[4,7,1,5,6,8,2,3]=>0100010
[8,5,2,6,7,3,1,4]=>1100110
[8,4,2,6,3,7,1,5]=>1101010
[8,4,2,3,5,7,1,6]=>1100010
[4,7,3,2,5,6,1,8]=>0110010
[5,3,4,6,2,8,1,7]=>1001010
[5,3,7,4,2,8,1,6]=>1011010
[6,4,7,2,3,8,1,5]=>1010010
[6,5,7,2,8,3,1,4]=>1010110
[5,3,7,2,4,8,6,1]=>1010011
[2,6,5,1,8,3,4,7]=>0110100
[8,7,6,1,4,5,2,3]=>1110010
[8,7,6,1,3,2,5,4]=>1110101
[8,7,2,4,3,1,6,5]=>1101101
[8,7,4,5,1,6,2,3]=>1101010
[8,5,6,4,1,7,2,3]=>1011010
[8,5,6,3,1,2,7,4]=>1011001
[8,4,6,2,3,1,7,5]=>1010101
[8,3,5,4,2,1,7,6]=>1011101
[5,7,3,4,2,1,8,6]=>0101101
[6,7,4,2,3,1,8,5]=>0110101
[6,7,5,3,1,2,8,4]=>0111001
[6,7,5,4,1,8,2,3]=>0111010
[6,2,4,3,8,7,5,1]=>1010111
[7,3,5,4,1,8,6,2]=>1011011
[5,2,7,1,3,4,8,6]=>1010001
[2,6,5,7,3,1,4,8]=>0101100
[2,6,5,7,3,1,8,4]=>0101101
[6,3,1,4,7,8,5,2]=>1100011
[6,8,2,1,3,4,5,7]=>0110000
[3,7,1,8,4,5,2,6]=>0101010
[6,3,2,4,7,5,8,1]=>1100101
[6,3,2,4,7,5,1,8]=>1100110
[4,2,1,6,3,7,5,8]=>1101010
[4,2,1,6,3,7,8,5]=>1101001
[7,4,3,5,8,6,1,2]=>1100110
[2,7,6,8,3,1,4,5]=>0101100
[7,4,3,5,8,6,2,1]=>1100111
[4,2,1,7,3,8,6,5]=>1101011
[4,2,1,3,7,8,6,5]=>1100011
[5,8,1,7,4,3,6,2]=>0101101
[5,8,1,7,4,3,2,6]=>0101110
[3,7,8,6,2,1,4,5]=>0011100
[4,2,1,8,3,5,6,7]=>1101000
[4,2,1,3,6,7,5,8]=>1100010
[4,2,1,3,7,5,6,8]=>1100100
[4,2,1,3,6,8,7,5]=>1100011
[7,3,2,4,8,6,5,1]=>1100111
[4,2,1,6,3,8,7,5]=>1101011
[4,2,1,7,3,5,6,8]=>1101000
[3,6,7,5,2,1,4,8]=>0011100
[3,6,7,5,2,1,8,4]=>0011101
[7,3,4,2,6,8,5,1]=>1010011
[4,8,6,2,7,3,5,1]=>0110101
[7,3,4,2,6,8,1,5]=>1010010
[3,6,7,5,2,4,8,1]=>0011001
[3,6,7,5,2,4,1,8]=>0011010
[4,2,1,7,3,6,5,8]=>1101010
[4,2,1,7,3,6,8,5]=>1101001
[3,7,6,8,4,2,5,1]=>0101101
[5,8,1,7,4,2,6,3]=>0101101
[3,7,8,6,2,4,5,1]=>0011001
[4,2,1,3,8,6,7,5]=>1100101
[4,2,1,3,7,6,5,8]=>1100110
[4,2,1,3,5,7,6,8]=>1100010
[4,2,1,3,5,8,6,7]=>1100010
[4,8,1,7,3,6,5,2]=>0101011
[4,7,8,6,3,5,2,1]=>0011011
[4,2,1,8,3,7,6,5]=>1101011
[4,2,1,3,5,6,8,7]=>1100001
[7,8,2,4,1,3,6,5]=>0101001
[2,6,1,5,4,7,8,3]=>0101001
[4,6,3,5,8,7,1,2]=>0100110
[3,5,6,1,4,8,7,2]=>0010011
[2,3,6,8,4,1,5,7]=>0001100
[2,7,5,1,8,3,4,6]=>0110100
[4,7,5,2,1,3,6,8]=>0111000
[3,5,6,2,4,1,7,8]=>0010100
[2,5,6,1,4,8,3,7]=>0010010
[6,7,8,4,1,5,3,2]=>0011011
[7,1,6,8,4,5,3,2]=>1001011
[7,4,6,5,2,8,1,3]=>1011010
[7,1,5,6,4,2,3,8]=>1001100
[5,7,4,6,8,1,3,2]=>0100101
[5,7,8,1,4,6,3,2]=>0010011
[8,1,5,7,4,6,3,2]=>1001011
[1,8,4,6,7,5,3,2]=>0100111
[6,1,8,4,7,5,3,2]=>1010111
[4,5,8,6,1,7,3,2]=>0011011
[4,8,5,1,6,7,3,2]=>0110011
[8,1,4,5,6,7,3,2]=>1000011
[5,6,7,1,4,2,3,8]=>0010100
[8,4,2,6,1,5,7,3]=>1101001
[4,8,5,2,1,6,7,3]=>0111001
[5,1,8,4,2,6,3,7]=>1011010
[1,8,4,6,2,5,3,7]=>0101010
[6,1,5,2,3,4,7,8]=>1010000
[8,3,1,4,6,2,5,7]=>1100100
[3,1,8,2,5,6,4,7]=>1010010
[3,5,1,8,2,6,4,7]=>0101010
[3,5,1,2,8,4,7,6]=>0100101
[2,3,5,8,6,1,7,4]=>0001101
[8,2,4,3,6,7,1,5]=>1010010
[3,2,8,5,7,1,6,4]=>1010101
[3,6,2,8,5,1,7,4]=>0101101
[6,2,1,8,4,7,5,3]=>1101011
[2,8,7,1,4,6,5,3]=>0110011
[8,2,7,1,5,4,6,3]=>1010101
[7,2,5,3,6,8,1,4]=>1010010
[7,3,1,5,6,2,4,8]=>1100100
[3,7,5,1,6,2,4,8]=>0110100
[2,7,3,6,5,8,1,4]=>0101010
[8,7,2,4,1,6,5,3]=>1101011
[1,8,7,2,3,6,5,4]=>0110011
[1,7,8,2,6,4,3,5]=>0010110
[1,7,3,8,2,6,4,5]=>0101010
[1,2,7,3,6,4,5,8]=>0010100
[7,1,5,8,3,2,4,6]=>1001100
[1,6,2,8,4,3,7,5]=>0101101
[1,3,8,7,2,4,6,5]=>0011001
[1,8,3,7,2,5,4,6]=>0101010
[8,1,4,7,3,2,5,6]=>1001100
[4,7,8,1,3,2,5,6]=>0010100
[7,1,4,2,3,5,6,8]=>1010000
[8,2,1,4,7,3,5,6]=>1100100
[2,1,3,8,4,6,7,5]=>1001001
[1,2,3,4,8,5,7,6]=>0000101
[2,4,7,5,6,8,3,1]=>0010011
[2,4,8,7,5,6,3,1]=>0011011
[2,5,3,8,4,7,6,1]=>0101011
[2,8,5,7,3,6,4,1]=>0101011
[3,1,8,5,2,7,6,4]=>1011011
[2,8,6,3,4,5,7,1]=>0110001
[2,5,7,3,4,8,6,1]=>0010011
[8,3,7,6,1,4,5,2]=>1011001
[3,1,7,8,2,5,6,4]=>1001001
[7,3,8,5,1,6,4,2]=>1011011
[7,5,1,2,3,4,8,6]=>1100001
[4,8,1,5,2,7,3,6]=>0101010
[4,1,2,5,3,8,7,6]=>1001011
[4,3,6,8,7,5,1,2]=>1001110
[5,4,1,8,2,7,6,3]=>1101011
[6,4,8,1,2,5,3,7]=>1010010
[6,7,3,1,4,8,5,2]=>0110011
[5,4,1,6,8,2,7,3]=>1100101
[5,4,7,1,2,8,6,3]=>1010011
[6,7,4,1,2,8,3,5]=>0110010
[6,5,1,2,3,7,8,4]=>1100001
[6,5,1,2,3,4,8,7]=>1100001
[6,7,4,1,2,5,3,8]=>0110010
[2,4,6,3,5,7,1,8]=>0010010
[1,4,6,3,7,2,5,8]=>0010100
[8,6,2,5,3,1,7,4]=>1101101
[8,2,3,4,5,1,7,6]=>1000101
[1,8,3,4,2,7,5,6]=>0101010
[2,8,3,4,1,6,7,5]=>0101001
[8,7,2,3,1,6,5,4]=>1101011
[3,8,2,4,6,1,7,5]=>0100101
[7,8,2,4,3,1,6,5]=>0101101
[4,5,8,2,3,1,7,6]=>0010101
[5,1,4,3,7,2,6,8]=>1010100
[6,1,3,5,7,2,4,8]=>1000100
[2,1,4,7,5,3,6,8]=>1001100
[7,1,3,6,2,5,4,8]=>1001010
[8,1,3,6,2,4,7,5]=>1001001
[2,1,8,3,7,5,4,6]=>1010110
[7,1,8,2,5,6,3,4]=>1010010
[6,1,5,8,2,7,3,4]=>1001010
[4,5,2,8,1,6,7,3]=>0101001
[6,2,5,8,1,4,7,3]=>1001001
[3,2,8,5,1,6,7,4]=>1011001
[8,2,7,1,4,6,5,3]=>1010011
[1,3,8,2,5,7,4,6]=>0010010
[2,8,7,1,6,4,5,3]=>0110101
[3,8,7,1,5,6,4,2]=>0110011
[3,4,8,5,6,1,7,2]=>0010101
[8,3,7,4,1,6,5,2]=>1011011
[1,4,8,6,2,7,3,5]=>0011010
[8,4,5,7,1,6,3,2]=>1001011
[3,5,6,8,4,1,7,2]=>0001101
[6,2,3,1,5,4,7,8]=>1010100
[7,2,3,1,4,6,5,8]=>1010010
[8,2,3,1,4,5,7,6]=>1010001
[8,5,1,3,2,4,7,6]=>1101001
[7,5,1,3,2,6,4,8]=>1101010
[2,6,1,4,5,3,7,8]=>0100100
[3,6,4,1,5,2,7,8]=>0110100
[4,5,6,1,3,2,7,8]=>0010100
[4,5,7,1,2,6,3,8]=>0010010
[3,7,4,1,2,6,5,8]=>0110010
[6,7,1,4,2,5,3,8]=>0101010
[2,7,1,3,5,6,4,8]=>0100010
[8,6,1,2,4,3,7,5]=>1100101
[2,8,1,3,4,6,7,5]=>0100001
[7,8,1,2,5,3,6,4]=>0100101
[3,8,4,1,2,5,7,6]=>0110001
[1,2,6,7,5,3,8,4]=>0001101
[1,7,5,3,2,8,4,6]=>0111010
[1,6,7,5,3,8,4,2]=>0011011
[1,6,5,7,2,3,8,4]=>0101001
[1,3,8,2,6,5,7,4]=>0010101
[1,2,5,7,6,3,4,8]=>0001100
[1,3,4,8,2,5,7,6]=>0001001
[1,5,7,6,2,3,4,8]=>0011000
[1,5,3,8,2,6,4,7]=>0101010
[1,4,8,3,2,5,7,6]=>0011001
[1,4,8,3,5,7,6,2]=>0010011
[1,2,4,8,3,5,7,6]=>0001001
[1,3,8,4,2,6,7,5]=>0011001
[1,4,8,2,3,5,7,6]=>0010001
[6,5,7,3,8,2,4,1]=>1010101
[4,2,6,7,5,8,3,1]=>1001011
[6,7,5,2,1,8,4,3]=>0111011
[3,4,8,7,5,2,1,6]=>0011110
[1,7,5,2,8,4,6,3]=>0110101
[5,6,8,3,1,7,2,4]=>0011010
[6,1,4,8,3,2,7,5]=>1001101
[3,4,7,1,8,6,2,5]=>0010110
[3,4,6,8,2,1,5,7]=>0001100
[3,8,2,5,6,1,4,7]=>0100100
[3,5,2,8,6,4,1,7]=>0101110
[4,2,5,7,3,8,6,1]=>1001011
[7,4,2,5,3,8,1,6]=>1101010
[3,1,2,8,5,6,4,7]=>1001010
[5,2,1,6,8,3,4,7]=>1100100
[5,2,6,8,4,1,3,7]=>1001100
[1,5,6,8,3,4,2,7]=>0001010
[4,5,8,1,6,3,2,7]=>0010110
[4,5,1,6,8,3,2,7]=>0100110
[4,5,7,3,8,2,6,1]=>0010101
[6,4,3,7,8,2,5,1]=>1100101
[6,4,3,1,7,8,2,5]=>1110010
[4,5,3,1,7,8,2,6]=>0110010
[7,1,3,5,4,8,2,6]=>1001010
[7,5,2,8,1,4,3,6]=>1101010
[5,7,3,8,4,6,1,2]=>0101010
[1,4,5,7,3,8,6,2]=>0001011
[4,6,3,7,8,5,2,1]=>0100111
[5,3,6,7,8,4,2,1]=>1000111
[1,5,3,6,7,8,4,2]=>0100011
[4,6,1,7,3,8,5,2]=>0101011
[6,3,7,1,8,4,5,2]=>1010101
[6,7,2,4,8,1,5,3]=>0100101
[2,6,1,4,7,3,8,5]=>0100101
[3,2,5,6,7,8,1,4]=>1000010
[5,2,3,6,7,8,4,1]=>1000011
[6,7,1,3,2,8,4,5]=>0101010
[6,2,7,1,3,4,8,5]=>1010001
[5,2,1,7,3,8,4,6]=>1101010
[6,4,2,7,1,8,3,5]=>1101010
[4,2,6,3,7,8,1,5]=>1010010
[4,2,6,3,7,8,5,1]=>1010011
[6,7,3,8,2,4,5,1]=>0101001
[3,6,2,7,4,1,8,5]=>0101101
[6,7,3,2,1,4,8,5]=>0111001
[7,1,8,3,4,2,5,6]=>1010100
[7,2,4,1,8,3,5,6]=>1010100
[7,2,4,8,6,1,3,5]=>1001100
[7,3,4,8,6,2,1,5]=>1001110
[3,5,7,2,1,8,6,4]=>0011011
[6,7,8,3,2,5,1,4]=>0011010
[6,3,7,8,2,5,4,1]=>1001011
[2,6,7,4,8,5,3,1]=>0010111
[6,2,4,7,1,8,5,3]=>1001011
[4,6,2,7,1,8,5,3]=>0101011
[1,7,4,8,5,2,6,3]=>0101101
[1,3,7,8,5,2,6,4]=>0001101
[2,5,7,8,1,6,3,4]=>0001010
[6,3,7,1,8,2,5,4]=>1010101
[1,6,4,7,8,2,5,3]=>0100101
[2,5,6,1,7,8,4,3]=>0010011
[5,6,1,2,7,8,4,3]=>0100011
[6,7,2,1,8,5,3,4]=>0110110
[6,7,2,8,5,4,1,3]=>0101110
[1,6,7,4,8,5,3,2]=>0010111
[1,8,2,4,6,3,5,7]=>0100100
[1,5,7,4,3,6,2,8]=>0011010
[1,8,4,5,3,6,2,7]=>0101010
[1,8,5,3,4,7,2,6]=>0110010
[1,8,2,4,6,3,7,5]=>0100101
[1,8,2,5,4,6,7,3]=>0101001
[3,6,2,7,1,4,5,8]=>0101000
[1,4,7,5,2,6,8,3]=>0011001
[4,6,5,3,7,1,8,2]=>0110101
[4,2,3,8,6,7,1,5]=>1001010
[5,2,4,8,1,3,7,6]=>1001001
[6,2,5,4,8,3,7,1]=>1010101
[6,4,3,5,8,2,7,1]=>1100101
[5,2,3,4,8,1,6,7]=>1000100
[3,5,2,4,7,1,6,8]=>0100100
[5,3,4,8,1,6,2,7]=>1001010
[4,5,3,7,1,6,2,8]=>0101010
[6,2,4,8,5,1,3,7]=>1001100
[7,6,3,8,5,1,2,4]=>1101100
[4,2,6,7,3,8,1,5]=>1001010
[1,5,7,4,2,8,6,3]=>0011011
[1,3,7,2,8,6,4,5]=>0010110
[1,4,3,7,8,6,2,5]=>0100110
[1,5,3,6,8,2,7,4]=>0100101
[4,3,6,5,7,8,1,2]=>1010010
[4,2,3,5,6,8,1,7]=>1000010
[4,2,6,7,3,8,5,1]=>1001011
[3,2,5,6,8,1,7,4]=>1000101
[6,4,5,2,3,8,7,1]=>1010011
[8,4,6,7,5,2,3,1]=>1001101
[4,6,5,2,3,1,8,7]=>0110101
[6,4,2,5,3,1,8,7]=>1101101
[6,4,2,5,3,8,7,1]=>1101011
[8,6,4,7,5,2,3,1]=>1101101
[8,6,2,7,4,5,3,1]=>1101011
[6,4,2,5,8,7,3,1]=>1100111
[4,6,2,5,3,8,7,1]=>0101011
[4,6,5,2,3,8,7,1]=>0110011
[6,8,7,4,5,2,3,1]=>0110101
[4,8,6,7,5,2,3,1]=>0101101
[6,8,4,7,5,2,3,1]=>0101101
[6,8,2,7,4,5,3,1]=>0101011
[8,6,4,7,2,5,3,1]=>1101011
[8,6,2,4,7,5,3,1]=>1100111
[6,8,2,4,7,5,3,1]=>0100111
[4,8,2,6,7,5,3,1]=>0100111
[2,8,4,6,7,5,3,1]=>0100111
[2,8,6,7,4,5,3,1]=>0101011
[6,8,7,2,4,5,3,1]=>0110011
[2,6,4,5,8,7,3,1]=>0100111
[2,6,4,8,7,5,3,1]=>0101111
[4,6,2,8,7,5,3,1]=>0101111
[8,2,4,6,7,5,3,1]=>1000111
[6,2,4,8,7,5,3,1]=>1001111
[4,2,6,8,7,5,3,1]=>1001111
[4,2,6,5,8,7,3,1]=>1010111
[6,2,4,5,8,7,3,1]=>1000111
[8,2,6,7,4,5,3,1]=>1001011
[8,6,7,2,4,5,3,1]=>1010011
[6,4,5,2,8,7,3,1]=>1010111
[4,2,3,6,8,7,5,1]=>1000111
[6,4,5,8,7,2,3,1]=>1001101
[8,6,7,4,2,5,3,1]=>1011011
[8,4,6,7,2,5,3,1]=>1001011
[6,4,8,7,2,5,3,1]=>1011011
[6,2,8,7,4,5,3,1]=>1011011
[6,4,8,7,5,2,3,1]=>1011101
[4,6,8,7,5,2,3,1]=>0011101
[4,6,5,8,7,2,3,1]=>0101101
[2,1,6,8,7,4,5,3]=>1001101
[2,6,8,7,4,5,3,1]=>0011011
[2,4,8,6,7,5,3,1]=>0010111
[4,2,8,6,7,5,3,1]=>1010111
[6,2,8,4,7,5,3,1]=>1010111
[8,2,6,4,7,5,3,1]=>1010111
[6,4,8,2,7,5,3,1]=>1010111
[4,6,8,2,7,5,3,1]=>0010111
[2,6,8,4,7,5,3,1]=>0010111
[4,6,8,7,2,5,3,1]=>0011011
[4,6,5,8,2,7,3,1]=>0101011
[2,1,6,8,4,7,5,3]=>1001011
[2,1,8,6,4,7,5,3]=>1011011
[6,8,7,4,2,5,3,1]=>0111011
[2,8,6,4,7,5,3,1]=>0110111
[4,8,6,2,7,5,3,1]=>0110111
[4,2,5,6,3,8,1,7]=>1001010
[6,2,5,7,4,8,3,1]=>1001011
[8,5,2,1,4,7,6,3]=>1110011
[6,7,3,2,5,8,4,1]=>0110011
[3,2,6,4,8,1,5,7]=>1010100
[2,3,6,4,7,8,5,1]=>0010011
[7,5,1,8,3,4,6,2]=>1101001
[5,7,8,2,6,3,4,1]=>0010101
[7,1,6,3,5,8,4,2]=>1010011
[6,3,1,7,8,4,5,2]=>1100101
[5,3,6,7,4,1,8,2]=>1001101
[7,3,1,2,5,8,6,4]=>1100011
[1,6,3,5,2,4,8,7]=>0101001
[3,4,8,2,7,5,1,6]=>0010110
[6,3,2,8,5,7,4,1]=>1101011
[3,8,4,7,2,5,6,1]=>0101001
[2,4,8,1,5,3,7,6]=>0010101
[3,4,8,1,6,2,7,5]=>0010101
[1,8,4,6,7,3,5,2]=>0100101
[8,1,6,3,4,5,7,2]=>1010001
[7,6,5,4,1,2,8,3]=>1111001
[5,7,6,8,3,4,2,1]=>0101011
[2,8,1,6,5,7,4,3]=>0101011
[4,6,8,2,5,3,7,1]=>0010101
[5,2,3,7,6,1,8,4]=>1001101
[8,1,2,4,6,7,3,5]=>1000010
[5,2,3,7,4,8,6,1]=>1001011
[5,2,6,8,4,3,1,7]=>1001110
[7,8,1,5,4,3,6,2]=>0101101
[7,2,4,8,5,3,6,1]=>1001101
[3,7,5,1,8,4,6,2]=>0110101
[2,7,8,5,4,6,1,3]=>0011010
[5,7,4,3,8,6,2,1]=>0110111
[4,8,1,6,3,5,2,7]=>0101010
[8,3,1,7,4,2,5,6]=>1101100
[3,1,8,2,4,5,7,6]=>1010001
[8,1,3,7,6,2,4,5]=>1001100
[2,3,6,8,7,1,4,5]=>0001100
[4,3,2,8,5,7,1,6]=>1101010
[3,6,4,2,8,5,7,1]=>0110101
[4,7,3,2,5,1,8,6]=>0110101
[3,2,4,7,5,8,6,1]=>1001011
[4,2,3,8,6,5,1,7]=>1001110
[2,4,3,5,1,8,6,7]=>0101010
[3,2,8,1,4,6,5,7]=>1010010
[3,7,8,5,6,1,2,4]=>0010100
[3,6,1,8,4,7,2,5]=>0101010
[3,1,6,8,4,7,2,5]=>1001010
[4,1,6,8,3,2,7,5]=>1001101
[4,6,1,8,3,2,7,5]=>0101101
[4,7,8,1,3,2,6,5]=>0010101
[4,7,8,3,1,2,6,5]=>0011001
[2,7,8,3,4,6,5,1]=>0010011
[4,7,8,2,1,3,6,5]=>0011001
[4,6,1,8,2,3,7,5]=>0101001
[4,1,6,8,2,3,7,5]=>1001001
[4,5,1,2,8,3,7,6]=>0100101
[4,5,2,1,8,3,7,6]=>0110101
[4,6,2,8,1,3,7,5]=>0101001
[3,6,2,8,4,7,1,5]=>0101010
[2,3,6,8,4,7,5,1]=>0001011
[3,2,6,8,4,7,1,5]=>1001010
[4,2,6,8,3,1,7,5]=>1001101
[4,2,5,1,8,3,7,6]=>1010101
[4,1,2,5,8,3,7,6]=>1000101
[5,1,2,4,3,8,7,6]=>1001011
[5,2,4,1,3,8,7,6]=>1010011
[4,2,5,3,8,1,7,6]=>1010101
[3,2,5,4,8,7,1,6]=>1010110
[3,5,2,4,8,7,1,6]=>0100110
[5,4,2,1,3,8,7,6]=>1110011
[5,1,4,2,3,8,7,6]=>1010011
[5,4,1,3,2,8,7,6]=>1101011
[5,4,3,1,2,8,7,6]=>1110011
[4,5,3,1,8,2,7,6]=>0110101
[4,5,1,3,8,2,7,6]=>0100101
[3,1,5,4,8,7,2,6]=>1010110
[3,5,1,4,8,7,2,6]=>0100110
[3,5,4,1,8,7,2,6]=>0110110
[3,6,5,8,7,1,2,4]=>0101100
[2,5,6,8,7,3,4,1]=>0001101
[3,4,5,1,8,7,2,6]=>0010110
[3,4,1,5,8,7,2,6]=>0100110
[4,1,3,5,8,2,7,6]=>1000101
[4,3,6,8,2,1,7,5]=>1001101
[2,4,6,8,3,7,5,1]=>0001011
[3,4,5,2,8,7,1,6]=>0010110
[5,3,1,4,2,8,7,6]=>1101011
[5,1,3,4,2,8,7,6]=>1001011
[5,1,3,2,4,8,7,6]=>1010011
[5,3,2,1,4,8,7,6]=>1110011
[4,3,2,5,8,1,7,6]=>1100101
[3,4,2,5,8,7,1,6]=>0100110
[3,2,4,5,8,7,1,6]=>1000110
[4,2,3,5,8,1,7,6]=>1000101
[5,2,3,1,4,8,7,6]=>1010011
[5,2,1,3,4,8,7,6]=>1100011
[5,1,2,3,4,8,7,6]=>1000011
[8,6,2,5,4,1,3,7]=>1101100
[6,5,7,4,2,8,3,1]=>1011011
[6,7,5,3,8,2,4,1]=>0110101
[8,2,1,6,3,4,5,7]=>1101000
[8,3,5,6,2,4,1,7]=>1001010
[8,6,2,1,3,5,4,7]=>1110010
[8,1,2,3,4,6,5,7]=>1000010
[6,2,3,7,8,4,5,1]=>1000101
[7,5,8,2,6,3,4,1]=>1010101
[7,3,1,6,5,8,4,2]=>1101011
[1,5,6,7,3,4,8,2]=>0001001
[6,7,8,2,1,4,5,3]=>0011001
[8,4,7,6,2,1,3,5]=>1011100
[5,3,8,4,7,2,6,1]=>1010101
[8,1,3,7,6,4,2,5]=>1001110
[5,3,1,7,8,6,2,4]=>1100110
[3,5,8,2,7,1,6,4]=>0010101
[6,2,8,5,3,1,7,4]=>1011101
[8,2,6,4,7,1,3,5]=>1010100
[3,4,2,8,5,1,7,6]=>0101101
[3,8,6,5,2,1,7,4]=>0111101
[8,3,7,4,2,5,6,1]=>1011001
[4,8,5,7,2,1,3,6]=>0101100
[3,4,1,8,2,6,7,5]=>0101001
[8,4,6,3,7,1,5,2]=>1010101
[6,8,3,4,1,5,7,2]=>0101001
[5,1,7,6,2,8,4,3]=>1011011
[6,8,2,5,7,4,1,3]=>0100110
[2,8,5,6,7,1,3,4]=>0100100
[2,5,7,6,3,1,8,4]=>0011101
[4,2,8,3,1,5,6,7]=>1011000
[2,5,7,3,8,4,6,1]=>0010101
[4,2,7,1,8,5,3,6]=>1010110
[4,2,1,8,7,5,6,3]=>1101101
[8,3,6,7,1,5,4,2]=>1001011
[1,3,7,5,8,6,4,2]=>0010111
[5,7,8,4,3,1,6,2]=>0011101
[2,7,4,5,8,3,6,1]=>0100101
[3,5,7,1,4,8,6,2]=>0010011
[7,2,8,5,1,4,6,3]=>1011001
[1,6,5,3,8,4,2,7]=>0110110
[5,7,4,8,3,6,2,1]=>0101011
[4,8,6,1,3,5,2,7]=>0110010
[1,8,3,2,4,7,5,6]=>0110010
[8,4,3,2,5,7,1,6]=>1110010
[3,6,4,8,2,5,7,1]=>0101001
[4,3,7,2,5,8,1,6]=>1010010
[3,2,4,7,8,5,6,1]=>1000101
[2,6,4,3,8,5,1,7]=>0110110
[3,8,2,1,6,4,5,7]=>0110100
[8,2,1,3,4,5,7,6]=>1100001
[4,6,8,3,2,1,5,7]=>0011100
[3,2,6,8,5,4,1,7]=>1001110
[7,3,8,2,5,4,1,6]=>1010110
[4,2,5,3,8,7,6,1]=>1010111
[4,8,2,6,5,3,1,7]=>0101110
[2,6,8,5,4,1,3,7]=>0011100
[3,1,8,6,5,4,2,7]=>1011110
[5,4,8,7,3,2,6,1]=>1011101
[6,4,8,3,7,2,5,1]=>1010101
[4,7,3,6,2,1,8,5]=>0101101
[5,4,3,7,1,8,2,6]=>1101010
[7,3,8,5,1,4,2,6]=>1011010
[5,4,8,7,6,2,1,3]=>1011110
[3,8,1,5,7,4,6,2]=>0100101
[4,8,5,7,3,1,6,2]=>0101101
[1,5,4,8,3,7,6,2]=>0101011
[4,8,3,6,7,1,5,2]=>0100101
[4,7,8,3,1,6,5,2]=>0011011
[8,7,5,3,6,4,2,1]=>1110111
[4,6,1,3,8,7,5,2]=>0100111
[6,8,2,1,7,4,5,3]=>0110101
[3,7,1,6,4,2,8,5]=>0101101
[3,1,2,7,5,6,8,4]=>1001001
[3,6,1,2,7,5,8,4]=>0100101
[3,7,6,2,5,8,1,4]=>0110010
[3,6,2,5,8,7,4,1]=>0100111
[8,5,2,3,6,7,4,1]=>1100011
[4,7,2,6,3,8,1,5]=>0101010
[6,3,2,4,8,7,5,1]=>1100111
[3,7,2,4,6,1,8,5]=>0100101
[5,3,7,2,8,1,4,6]=>1010100
[6,3,2,8,7,5,1,4]=>1101110
[7,3,8,2,6,5,1,4]=>1010110
[6,4,8,7,2,5,1,3]=>1011010
[2,5,4,8,1,7,6,3]=>0101011
[5,2,8,1,7,6,3,4]=>1010110
[6,2,1,3,8,7,5,4]=>1100111
[3,6,1,8,7,5,2,4]=>0101110
[5,6,1,2,8,7,4,3]=>0100111
[7,5,2,8,1,6,4,3]=>1101011
[2,7,6,8,1,5,4,3]=>0101011
[7,8,5,1,6,2,4,3]=>0110101
[7,4,8,6,1,2,5,3]=>1011001
[7,2,1,8,3,6,5,4]=>1101011
[5,8,7,1,6,4,3,2]=>0110111
[8,5,4,3,7,2,1,6]=>1110110
[6,5,4,8,3,2,7,1]=>1101101
[7,6,4,3,2,8,5,1]=>1111011
[7,3,1,4,8,2,5,6]=>1100100
[7,4,1,2,5,8,3,6]=>1100010
[6,7,4,2,5,1,3,8]=>0110100
[5,7,2,4,6,8,1,3]=>0100010
[4,7,5,1,6,2,8,3]=>0110101
[5,7,4,6,3,1,8,2]=>0101101
[7,5,1,4,3,2,8,6]=>1101101
[8,6,4,2,3,7,5,1]=>1110011
[6,4,7,1,3,8,5,2]=>1010011
[5,4,2,7,3,1,6,8]=>1101100
[4,5,1,2,7,6,8,3]=>0100101
[5,4,6,8,3,1,2,7]=>1001100
[6,4,8,1,3,7,2,5]=>1010010
[4,6,1,3,8,5,2,7]=>0100110
[1,3,8,4,5,7,2,6]=>0010010
[2,6,7,4,5,3,1,8]=>0010110
[2,6,8,4,3,5,1,7]=>0011010
[1,3,7,4,2,8,5,6]=>0011010
[4,6,1,3,7,2,5,8]=>0100100
[7,5,8,6,2,1,3,4]=>1011100
[2,8,1,3,6,5,4,7]=>0100110
[2,8,7,3,5,4,1,6]=>0110110
[3,4,2,6,8,7,1,5]=>0100110
[7,4,2,3,6,1,8,5]=>1100101
[8,4,2,3,6,5,7,1]=>1100101
[7,3,8,4,1,2,6,5]=>1011001
[6,8,3,2,7,1,5,4]=>0110101
[2,8,5,6,3,7,1,4]=>0101010
[7,4,2,5,8,1,6,3]=>1100101
[2,7,8,3,4,5,1,6]=>0010010
[3,7,1,2,4,6,5,8]=>0100010
[7,5,6,8,2,1,4,3]=>1001101
[3,1,6,5,2,7,4,8]=>1011010
[2,8,6,5,3,4,1,7]=>0111010
[1,7,2,3,5,6,8,4]=>0100001
[3,7,4,2,1,5,6,8]=>0111000
[3,4,6,2,8,5,7,1]=>0010101
[4,2,1,7,5,8,3,6]=>1101010
[4,7,2,6,5,1,3,8]=>0101100
[3,7,4,1,2,5,8,6]=>0110001
[4,7,1,6,5,2,8,3]=>0101101
[4,7,3,6,5,1,8,2]=>0101101
[4,3,7,1,6,8,5,2]=>1010011
[4,2,1,7,5,6,8,3]=>1101001
[3,2,4,8,6,7,1,5]=>1001010
[4,2,6,8,7,3,1,5]=>1001110
[3,4,6,1,8,5,2,7]=>0010110
[4,1,6,7,5,8,2,3]=>1001010
[4,3,6,7,5,1,2,8]=>1001100
[4,3,7,1,6,8,2,5]=>1010010
[4,3,7,5,6,8,2,1]=>1010011
[4,1,7,3,6,5,2,8]=>1010110
[2,8,7,4,5,3,1,6]=>0110110
[2,8,7,4,3,5,1,6]=>0111010
[3,8,1,4,2,6,5,7]=>0101010
[4,1,7,3,6,2,5,8]=>1010100
[5,8,7,6,1,2,4,3]=>0111001
[5,8,7,6,2,1,3,4]=>0111100
[4,1,7,2,6,8,5,3]=>1010011
[4,2,7,3,6,1,8,5]=>1010101
[4,2,7,3,6,5,8,1]=>1010101
[3,8,2,4,5,6,7,1]=>0100001
[3,8,2,4,1,6,7,5]=>0101001
[3,8,5,6,2,4,1,7]=>0101010
[2,8,6,5,3,7,1,4]=>0111010
[3,8,6,5,1,4,7,2]=>0111001
[3,8,2,1,4,6,7,5]=>0110001
[3,8,2,5,4,6,7,1]=>0101001
[4,2,7,5,6,3,8,1]=>1010101
[4,2,7,5,6,1,8,3]=>1010101
[4,2,6,7,5,3,1,8]=>1001110
[3,2,6,1,4,5,8,7]=>1010001
[2,8,7,3,4,5,1,6]=>0110010
[3,8,1,2,4,6,5,7]=>0100010
[5,8,7,6,1,3,4,2]=>0111001
[5,8,7,6,2,3,4,1]=>0111001
[4,1,7,5,6,2,3,8]=>1010100
[3,8,1,5,2,6,4,7]=>0101010
[2,8,7,5,3,4,1,6]=>0111010
[2,8,7,5,4,3,1,6]=>0111110
[4,1,7,5,6,3,2,8]=>1010110
[5,8,7,6,1,3,2,4]=>0111010
[5,8,7,6,4,1,2,3]=>0111100
[5,4,2,3,7,6,8,1]=>1100101
[7,4,3,5,2,8,1,6]=>1101010
[8,4,3,7,5,1,6,2]=>1101101
[8,4,7,2,5,1,6,3]=>1010101
[7,4,6,2,3,5,8,1]=>1010001
[5,1,7,2,4,6,8,3]=>1010001
[4,5,7,1,2,6,8,3]=>0010001
[5,4,1,7,3,6,8,2]=>1101001
[3,6,4,7,5,2,8,1]=>0101101
[3,4,7,6,2,5,8,1]=>0011001
[4,7,5,6,1,3,8,2]=>0101001
[5,7,6,4,3,1,8,2]=>0111101
[5,7,6,3,1,4,8,2]=>0111001
[7,5,2,3,4,8,1,6]=>1100010
[8,7,5,3,4,1,6,2]=>1110101
[6,7,1,3,8,4,2,5]=>0100110
[7,6,1,3,4,8,5,2]=>1100011
[3,6,5,2,7,8,1,4]=>0110010
[3,2,8,6,7,1,4,5]=>1010100
[4,8,3,6,5,2,1,7]=>0101110
[1,8,6,5,4,2,3,7]=>0111100
[1,8,7,2,3,5,4,6]=>0110010
[1,8,7,2,5,3,4,6]=>0110100
[3,6,8,5,1,2,4,7]=>0011000
[3,7,5,1,8,2,6,4]=>0110101
[7,1,2,8,3,5,6,4]=>1001001
[6,1,7,8,2,5,3,4]=>1001010
[6,7,5,2,8,1,4,3]=>0110101
[7,1,4,5,8,6,2,3]=>1000110
[5,7,6,4,2,8,1,3]=>0111010
[7,5,6,1,2,8,4,3]=>1010011
[4,1,3,7,8,6,2,5]=>1000110
[5,1,4,3,6,8,7,2]=>1010011
[4,5,7,6,8,2,1,3]=>0010110
[5,7,6,8,4,2,1,3]=>0101110
[5,1,6,8,4,2,7,3]=>1001101
[7,4,8,2,3,6,5,1]=>1010011
[5,6,8,4,7,3,2,1]=>0010111
[6,4,7,8,5,2,1,3]=>1001110
[3,6,4,8,5,1,2,7]=>0101100
[3,7,4,8,1,2,5,6]=>0101000
[7,4,3,8,2,6,5,1]=>1101011
[7,6,8,3,2,5,4,1]=>1011011
[8,7,1,3,5,4,6,2]=>1100101
[7,1,8,3,4,2,6,5]=>1010101
[7,6,8,3,1,4,5,2]=>1011001
[3,1,4,8,2,5,7,6]=>1001001
[4,8,5,2,1,3,6,7]=>0111000
[5,8,2,6,3,1,4,7]=>0101100
[6,8,2,3,7,4,1,5]=>0100110
[7,8,2,3,4,6,5,1]=>0100011
[8,1,7,2,4,5,3,6]=>1010010
[8,1,3,6,2,5,4,7]=>1001010
[7,2,1,6,3,5,4,8]=>1101010
[2,7,1,6,3,5,4,8]=>0101010
[2,7,1,5,4,3,6,8]=>0101100
[7,2,1,5,4,3,6,8]=>1101100
[8,1,3,5,4,2,6,7]=>1001100
[8,1,5,3,4,2,6,7]=>1010100
[8,1,5,6,2,3,7,4]=>1001001
[8,1,4,5,3,2,6,7]=>1001100
[8,1,4,3,5,2,6,7]=>1010100
[7,2,1,4,5,3,6,8]=>1100100
[2,7,1,4,5,3,6,8]=>0100100
[2,6,3,1,5,4,7,8]=>0110100
[6,3,2,1,5,4,7,8]=>1110100
[7,3,1,4,5,2,6,8]=>1100100
[7,3,1,5,4,2,6,8]=>1101100
[7,3,1,6,2,5,4,8]=>1101010
[3,7,1,6,2,5,4,8]=>0101010
[3,7,1,4,5,2,6,8]=>0100100
[3,6,2,1,5,4,7,8]=>0110100
[2,3,6,1,5,4,7,8]=>0010100
[3,5,2,4,1,6,7,8]=>0101000
[6,3,4,1,5,2,7,8]=>1010100
[6,2,4,1,5,3,7,8]=>1010100
[2,6,4,1,5,3,7,8]=>0110100
[2,6,5,1,3,7,4,8]=>0110010
[6,2,5,1,3,7,4,8]=>1010010
[6,5,2,1,3,7,4,8]=>1110010
[7,6,1,2,4,5,3,8]=>1100010
[6,7,1,2,8,3,5,4]=>0100101
[6,7,1,2,5,4,3,8]=>0100110
[5,6,2,1,3,7,4,8]=>0110010
[5,2,6,1,3,7,4,8]=>1010010
[2,4,6,1,5,3,7,8]=>0010100
[4,7,1,3,5,2,6,8]=>0100100
[4,7,1,5,3,2,6,8]=>0101100
[5,7,1,4,2,6,3,8]=>0101010
[5,7,1,6,2,3,8,4]=>0101001
[5,6,3,1,2,7,4,8]=>0110010
[4,2,5,3,1,6,7,8]=>1011000
[5,3,6,1,2,7,4,8]=>1010010
[3,4,6,1,5,2,7,8]=>0010100
[6,5,1,8,7,3,4,2]=>1101101
[8,2,7,5,4,1,3,6]=>1011100
[6,8,5,2,3,4,1,7]=>0110010
[2,6,8,7,1,5,3,4]=>0011010
[8,5,6,2,7,1,4,3]=>1010101
[6,5,1,2,7,8,4,3]=>1100011
[4,7,6,1,5,3,8,2]=>0110101
[5,7,6,4,1,3,8,2]=>0111001
[7,6,2,4,5,3,8,1]=>1100101
[6,1,7,5,3,8,4,2]=>1011011
[8,6,7,5,3,1,4,2]=>1011101
[8,5,2,7,1,6,4,3]=>1101011
[7,6,1,5,3,8,4,2]=>1101011
[5,6,2,4,7,8,1,3]=>0100010
[3,4,6,1,7,8,5,2]=>0010011
[3,4,8,6,7,1,5,2]=>0010101
[4,8,5,6,7,2,3,1]=>0100101
[5,8,6,4,1,2,7,3]=>0111001
[5,8,6,1,7,2,4,3]=>0110101
[5,8,7,3,2,6,4,1]=>0111011
[5,8,1,7,2,6,4,3]=>0101011
[8,1,5,7,2,6,4,3]=>1001011
[8,1,7,2,5,6,3,4]=>1010010
[6,8,7,2,5,1,3,4]=>0110100
[5,8,7,2,1,6,3,4]=>0111010
[4,8,1,5,2,6,7,3]=>0101001
[3,7,8,5,1,6,2,4]=>0011010
[6,5,2,7,8,1,4,3]=>1100101
[7,1,2,8,5,6,3,4]=>1001010
[8,7,2,1,5,6,3,4]=>1110010
[8,6,7,1,5,2,3,4]=>1010100
[6,1,7,8,5,2,3,4]=>1001100
[7,5,6,2,1,8,4,3]=>1011011
[8,7,5,2,1,6,4,3]=>1111011
[7,1,3,5,8,6,2,4]=>1000110
[5,1,3,4,6,8,7,2]=>1000011
[4,5,3,6,8,2,7,1]=>0100101
[5,6,3,4,8,1,7,2]=>0100101
[4,6,7,8,5,1,3,2]=>0001101
[8,4,3,1,2,6,7,5]=>1110001
[8,5,1,6,3,4,7,2]=>1101001
[5,1,8,6,3,4,7,2]=>1011001
[4,6,8,1,5,3,7,2]=>0010101
[6,4,5,8,3,2,7,1]=>1001101
[3,6,4,8,7,1,5,2]=>0101101
[6,5,8,1,3,4,7,2]=>1010001
[5,6,8,3,1,2,7,4]=>0011001
[6,1,8,3,5,2,7,4]=>1010101
[7,6,8,3,5,2,1,4]=>1010110
[8,6,1,3,5,2,7,4]=>1100101
[8,7,1,3,5,6,2,4]=>1100010
[6,7,8,3,5,1,2,4]=>0010100
[3,4,8,1,2,6,7,5]=>0010001
[5,8,2,4,3,6,7,1]=>0101001
[5,8,2,3,1,6,7,4]=>0101001
[6,8,2,3,5,1,7,4]=>0100101
[7,8,2,3,5,6,1,4]=>0100010
[8,6,5,1,4,3,7,2]=>1110101
[2,4,8,6,1,3,7,5]=>0011001
[6,7,1,8,4,3,5,2]=>0101101
[2,7,8,6,1,4,3,5]=>0011010
[2,7,3,8,1,6,4,5]=>0101010
[7,5,1,8,2,4,6,3]=>1101001
[2,7,8,4,1,6,3,5]=>0011010
[2,6,5,4,1,3,8,7]=>0111001
[4,1,7,6,3,8,2,5]=>1011010
[4,8,2,5,7,6,3,1]=>0100111
[3,4,6,5,1,8,2,7]=>0011010
[2,6,5,3,4,1,8,7]=>0110101
[4,6,1,5,2,3,8,7]=>0101001
[6,2,3,5,1,4,8,7]=>1001001
[2,6,7,5,1,8,4,3]=>0011011
[8,6,1,2,5,3,4,7]=>1100100
[6,2,5,1,8,3,4,7]=>1010100
[7,6,5,2,8,3,4,1]=>1110101
[2,6,3,5,1,8,7,4]=>0101011
[2,4,7,6,5,8,1,3]=>0011010
[2,1,4,8,7,6,3,5]=>1001110
[7,4,6,8,5,3,2,1]=>1001111
[8,1,3,5,7,4,6,2]=>1000101
[3,2,8,7,5,1,6,4]=>1011101
[4,8,5,1,6,7,2,3]=>0110010
[3,8,5,1,6,7,2,4]=>0110010
[7,8,6,1,3,5,2,4]=>0110010
[5,6,7,2,8,1,3,4]=>0010100
[2,5,1,8,6,7,4,3]=>0101011
[3,5,1,8,6,7,4,2]=>0101011
[5,2,3,8,6,7,4,1]=>1001011
[8,3,5,4,6,7,1,2]=>1010010
[5,1,3,8,6,7,4,2]=>1001011
[3,2,5,8,6,7,4,1]=>1001011
[6,2,1,5,3,8,7,4]=>1101011
[5,6,3,2,8,1,4,7]=>0110100
[8,1,6,3,5,2,7,4]=>1010101
[8,7,6,2,5,3,1,4]=>1110110
[4,7,6,8,3,2,5,1]=>0101101
[2,7,5,8,1,3,4,6]=>0101000
[7,6,2,8,5,1,4,3]=>1101101
[8,1,3,7,5,2,6,4]=>1001101
[3,4,8,7,5,1,6,2]=>0011101
[6,3,8,1,4,2,5,7]=>1010100
[6,3,8,5,7,4,1,2]=>1010110
[7,4,6,8,5,1,3,2]=>1001101
[2,1,4,8,7,5,6,3]=>1001101
[7,1,5,8,2,6,4,3]=>1001011
[3,6,8,2,4,1,7,5]=>0010101
[4,5,8,2,6,7,3,1]=>0010011
[5,2,8,1,6,7,3,4]=>1010010
[2,5,8,4,6,7,3,1]=>0010011
[5,8,3,4,6,7,2,1]=>0100011
[8,4,3,2,6,7,1,5]=>1110010
[4,2,8,1,6,7,3,5]=>1010010
[2,4,8,1,6,7,3,5]=>0010010
[5,1,8,2,6,7,3,4]=>1010010
[3,4,8,7,2,1,5,6]=>0011100
[7,8,5,3,6,4,2,1]=>0110111
[2,8,5,7,4,1,3,6]=>0101100
[5,8,4,1,6,7,2,3]=>0110010
[3,8,1,4,6,7,2,5]=>0100010
[8,2,3,4,6,7,1,5]=>1000010
[6,2,7,3,8,4,1,5]=>1010110
[7,4,3,2,8,5,1,6]=>1110110
[8,3,6,2,5,4,1,7]=>1010110
[5,4,8,3,2,6,1,7]=>1011010
[3,5,8,2,4,6,1,7]=>0010010
[6,4,7,8,2,3,1,5]=>1001010
[4,8,6,2,5,3,1,7]=>0110110
[1,6,4,3,2,8,7,5]=>0111011
[1,5,3,2,8,4,7,6]=>0110101
[5,7,4,3,1,2,6,8]=>0111000
[2,8,7,3,5,1,4,6]=>0110100
[6,1,2,7,3,8,5,4]=>1001011
[5,1,3,2,8,7,4,6]=>1010110
[1,8,3,7,2,6,5,4]=>0101011
[5,1,4,8,3,7,2,6]=>1001010
[2,1,6,8,5,4,7,3]=>1001101
[8,3,1,6,7,2,5,4]=>1100101
[3,7,6,1,5,2,4,8]=>0110100
[1,5,4,8,3,2,7,6]=>0101101
[7,3,6,1,2,5,4,8]=>1010010
[5,4,7,1,3,2,6,8]=>1010100
[5,7,2,3,8,1,4,6]=>0100100
[6,4,7,5,8,1,2,3]=>1010100
[7,4,8,5,1,6,3,2]=>1011011
[8,6,4,2,1,7,5,3]=>1111011
[7,4,2,1,5,8,6,3]=>1110011
[7,6,4,1,8,5,2,3]=>1110110
[1,6,4,8,7,5,3,2]=>0101111
[6,3,1,2,8,4,7,5]=>1100101
[6,8,4,1,2,7,5,3]=>0110011
[3,6,1,8,2,4,7,5]=>0101001
[1,3,8,7,6,2,5,4]=>0011101
[5,4,1,8,7,3,2,6]=>1101110
[3,5,1,8,7,2,4,6]=>0101100
[5,8,4,1,7,6,2,3]=>0110110
[8,6,1,7,5,4,3,2]=>1101111
[7,1,5,8,6,4,3,2]=>1001111
[4,1,8,7,6,2,5,3]=>1011101
[3,1,8,7,6,5,2,4]=>1011110
[1,6,4,5,2,3,7,8]=>0101000
[1,7,4,5,2,3,6,8]=>0101000
[1,7,3,5,2,4,6,8]=>0101000
[1,6,3,5,2,4,7,8]=>0101000
[1,6,3,4,2,5,7,8]=>0101000
[1,7,3,4,2,5,6,8]=>0101000
[1,8,6,7,3,4,2,5]=>0101010
[1,8,5,7,3,4,2,6]=>0101010
[1,7,3,4,2,6,5,8]=>0101010
[1,5,2,8,4,7,3,6]=>0101010
[1,4,2,8,5,7,3,6]=>0101010
[1,7,3,5,2,6,4,8]=>0101010
[1,8,4,7,3,5,2,6]=>0101010
[1,7,3,6,2,5,4,8]=>0101010
[1,7,3,6,2,4,5,8]=>0101000
[1,7,4,6,2,3,5,8]=>0101000
[1,8,5,6,2,3,4,7]=>0101000
[1,8,5,6,2,4,3,7]=>0101010
[1,3,2,8,5,6,4,7]=>0101010
[1,4,2,8,5,6,3,7]=>0101010
[1,5,2,8,4,6,3,7]=>0101010
[1,6,2,8,4,5,3,7]=>0101010
[8,1,2,4,5,3,6,7]=>1000100
[8,6,4,7,2,1,3,5]=>1101100
[8,4,6,2,3,5,1,7]=>1010010
[5,4,8,2,3,6,1,7]=>1010010
[3,8,6,2,4,5,1,7]=>0110010
[1,7,6,4,8,2,3,5]=>0110100
[5,8,7,4,1,2,3,6]=>0111000
[6,8,5,3,4,1,2,7]=>0110100
[6,8,3,7,2,1,4,5]=>0101100
[6,1,3,7,4,8,2,5]=>1001010
[7,1,6,4,8,2,3,5]=>1010100
[1,8,5,7,2,3,4,6]=>0101000
[6,1,5,8,2,3,4,7]=>1001000
[6,1,5,7,8,2,3,4]=>1000100
[3,8,7,5,1,2,4,6]=>0111000
[3,7,6,1,2,4,5,8]=>0110000
[4,7,6,1,2,3,5,8]=>0110000
[1,6,5,8,2,3,4,7]=>0101000
[8,5,7,4,1,2,3,6]=>1011000
[8,6,2,3,1,7,4,5]=>1101010
[8,6,4,1,2,7,3,5]=>1110010
[1,7,2,8,6,3,4,5]=>0101100
[7,5,8,1,3,6,2,4]=>1010010
[5,4,1,8,2,3,6,7]=>1101000
[1,4,8,7,2,3,5,6]=>0011000
[1,5,8,7,2,3,4,6]=>0011000
[5,7,1,3,8,2,4,6]=>0100100
[7,1,5,8,6,2,3,4]=>1001100
[6,1,8,2,7,3,4,5]=>1010100
[4,1,8,7,2,3,5,6]=>1011000
[5,1,8,7,2,3,4,6]=>1011000
[1,8,7,6,4,5,3,2]=>0111011
[1,8,7,3,6,5,4,2]=>0110111
[7,1,5,8,3,4,2,6]=>1001010
[7,1,4,3,2,5,6,8]=>1011000
[6,4,2,3,8,5,7,1]=>1100101
[6,4,2,7,5,8,3,1]=>1101011
[2,4,1,7,5,8,3,6]=>0101010
[7,1,4,6,5,2,3,8]=>1001100
[7,1,4,6,5,8,2,3]=>1001010
[7,1,4,6,3,8,2,5]=>1001010
[7,1,4,3,2,5,8,6]=>1011001
[7,1,4,6,5,2,8,3]=>1001101
[7,1,4,6,5,3,8,2]=>1001101
[7,1,4,6,5,3,2,8]=>1001110
[6,4,2,7,5,3,8,1]=>1101101
[3,4,7,2,6,8,5,1]=>0010011
[3,4,7,1,6,8,2,5]=>0010010
[3,4,7,1,6,8,5,2]=>0010011
[2,4,1,7,5,3,6,8]=>0101100
[3,4,1,7,8,6,2,5]=>0100110
[6,4,2,3,8,5,1,7]=>1100110
[6,4,2,7,5,8,1,3]=>1101010
[6,4,2,7,5,3,1,8]=>1101110
[3,4,7,2,6,8,1,5]=>0010010
[5,4,7,3,6,8,2,1]=>1010011
[3,4,7,2,6,5,1,8]=>0010110
[4,8,3,2,5,6,1,7]=>0110010
[4,8,7,3,5,1,2,6]=>0110100
[4,8,7,1,3,5,2,6]=>0110010
[4,8,3,1,2,6,5,7]=>0110010
[3,4,7,1,6,2,5,8]=>0010100
[3,4,7,1,6,2,8,5]=>0010101
[3,4,7,2,6,5,8,1]=>0010101
[4,8,3,1,2,6,7,5]=>0110001
[5,8,1,6,3,4,2,7]=>0101010
[6,8,5,1,3,7,2,4]=>0110010
[6,8,5,1,3,4,7,2]=>0110001
[5,8,3,4,2,6,7,1]=>0101001
[5,4,7,3,6,2,8,1]=>1010101
[5,4,7,2,6,1,8,3]=>1010101
[6,4,3,7,5,1,2,8]=>1101100
[6,4,3,7,5,1,8,2]=>1101101
[6,2,4,3,1,5,8,7]=>1011001
[3,8,7,4,1,5,2,6]=>0111010
[2,4,7,3,6,1,5,8]=>0010100
[5,8,3,2,1,6,4,7]=>0111010
[5,8,7,4,3,1,2,6]=>0111100
[5,4,7,3,6,2,1,8]=>1010110
[7,3,8,2,1,6,5,4]=>1011011
[7,4,3,8,5,2,1,6]=>1101110
[6,5,2,8,4,3,1,7]=>1101110
[4,3,2,8,6,5,1,7]=>1101110
[4,3,8,7,5,1,6,2]=>1011101
[3,2,5,8,6,1,4,7]=>1001100
[8,4,3,7,5,2,6,1]=>1101101
[4,3,7,8,5,1,2,6]=>1001100
[5,3,7,8,4,1,2,6]=>1001100
[6,2,5,8,3,1,4,7]=>1001100
[6,2,4,8,3,1,5,7]=>1001100
[5,2,3,8,4,1,6,7]=>1001100
[5,3,8,7,4,1,6,2]=>1011101
[5,3,2,8,6,4,1,7]=>1101110
[7,5,3,8,4,2,1,6]=>1101110
[8,7,5,3,6,2,4,1]=>1110101
[8,6,5,3,7,2,4,1]=>1110101
[7,5,4,3,8,2,6,1]=>1110101
[6,4,5,3,8,2,7,1]=>1010101
[7,4,6,3,8,2,5,1]=>1010101
[7,5,6,3,8,2,4,1]=>1010101
[8,5,6,3,7,2,4,1]=>1010101
[7,4,6,3,5,2,8,1]=>1010101
[8,4,6,3,5,2,7,1]=>1010101
[8,4,7,3,5,2,6,1]=>1010101
[8,5,7,3,4,2,6,1]=>1010101
[7,5,8,4,3,2,6,1]=>1011101
[6,5,8,4,3,2,7,1]=>1011101
[6,5,8,3,4,2,7,1]=>1010101
[7,5,8,3,4,2,6,1]=>1010101
[7,5,8,4,6,2,3,1]=>1010101
[7,4,8,3,6,2,5,1]=>1010101
[7,4,8,3,5,2,6,1]=>1010101
[6,4,8,3,5,2,7,1]=>1010101
[6,4,7,3,5,2,8,1]=>1010101
[5,4,8,3,7,2,6,1]=>1010101
[6,5,8,3,7,2,4,1]=>1010101
[6,5,8,4,7,2,3,1]=>1010101
[6,5,8,4,7,3,2,1]=>1010111
[6,4,7,3,8,2,5,1]=>1010101
[5,4,7,3,8,2,6,1]=>1010101
[5,4,6,3,8,2,7,1]=>1010101
[5,3,6,2,4,7,8,1]=>1010001
[5,3,6,1,4,8,7,2]=>1010011
[5,3,7,2,4,6,8,1]=>1010001
[4,3,1,5,6,8,7,2]=>1100011
[4,2,1,5,8,6,3,7]=>1100110
[4,2,1,5,8,6,7,3]=>1100101
[4,2,1,5,8,7,6,3]=>1100111
[4,3,1,5,7,8,6,2]=>1100011
[4,3,1,7,5,8,6,2]=>1101011
[6,7,3,1,4,8,2,5]=>0110010
[5,3,7,1,4,8,2,6]=>1010010
[4,3,1,5,7,8,2,6]=>1100010
[3,2,1,8,5,4,6,7]=>1101100
[3,2,1,8,5,7,4,6]=>1101010
[3,2,1,8,7,5,4,6]=>1101110
[5,2,7,1,8,4,3,6]=>1010110
[6,7,2,1,8,4,3,5]=>0110110
[6,7,2,1,8,4,5,3]=>0110101
[3,2,1,8,5,6,4,7]=>1101010
[3,2,1,8,6,5,4,7]=>1101110
[4,3,1,6,7,8,5,2]=>1100011
[4,2,1,6,8,7,5,3]=>1100111
[4,2,1,6,8,5,7,3]=>1100101
[4,2,1,6,8,5,3,7]=>1100110
[5,2,6,1,8,4,3,7]=>1010110
[5,2,6,1,8,7,4,3]=>1010111
[5,2,6,1,8,7,3,4]=>1010110
[5,2,6,1,8,3,4,7]=>1010100
[4,2,1,6,8,3,7,5]=>1100101
[4,3,1,6,7,8,2,5]=>1100010
[6,7,3,1,5,8,2,4]=>0110010
[4,2,1,7,8,6,3,5]=>1100110
[3,2,1,8,7,6,4,5]=>1101110
[3,2,1,8,6,4,7,5]=>1101101
[3,2,1,8,6,4,5,7]=>1101100
[3,2,1,8,4,6,5,7]=>1101010
[3,2,1,8,4,6,7,5]=>1101001
[3,2,1,8,4,7,6,5]=>1101011
[3,2,1,8,7,4,6,5]=>1101101
[4,2,1,7,8,3,6,5]=>1100101
[5,2,7,1,8,3,6,4]=>1010101
[6,7,2,1,8,3,5,4]=>0110101
[5,2,7,1,8,3,4,6]=>1010100
[4,2,1,7,8,3,5,6]=>1100100
[3,2,1,8,4,5,7,6]=>1101001
[7,5,2,8,6,3,4,1]=>1101101
[7,4,8,6,2,5,3,1]=>1011011
[7,3,8,6,2,4,5,1]=>1011001
[7,4,3,1,8,2,5,6]=>1110100
[7,4,2,8,5,6,1,3]=>1101010
[7,3,8,5,2,4,6,1]=>1011001
[7,3,8,4,5,6,2,1]=>1010011
[6,3,8,2,4,5,1,7]=>1010010
[6,3,8,2,5,7,4,1]=>1010011
[6,4,3,8,1,5,2,7]=>1101010
[6,3,7,8,2,4,1,5]=>1001010
[5,6,7,3,8,2,4,1]=>0010101
[5,4,7,2,6,8,1,3]=>1010010
[5,3,8,2,4,6,7,1]=>1010001
[6,3,8,2,4,7,5,1]=>1010011
[5,7,4,2,6,8,1,3]=>0110010
[6,4,8,2,7,5,1,3]=>1010110
[6,5,3,1,4,2,7,8]=>1110100
[5,7,4,2,6,1,3,8]=>0110100
[5,6,4,2,3,8,1,7]=>0110010
[5,6,3,7,8,2,4,1]=>0100101
[5,6,3,8,2,4,7,1]=>0101001
[6,3,7,2,4,5,1,8]=>1010010
[6,3,7,2,5,8,4,1]=>1010011
[5,3,6,8,2,4,7,1]=>1001001
[5,4,6,2,3,8,1,7]=>1010010
[5,3,6,7,8,2,4,1]=>1000101
[3,6,4,2,1,5,8,7]=>0111001
[3,5,8,6,4,2,1,7]=>0011110
[5,8,6,3,4,2,1,7]=>0110110
[5,6,3,4,2,1,8,7]=>0101101
[6,3,4,2,1,5,8,7]=>1011001
[5,6,4,2,1,3,8,7]=>0111001
[2,5,4,1,7,8,6,3]=>0110011
[2,7,8,5,4,1,6,3]=>0011101
[2,8,5,4,1,6,3,7]=>0111010
[2,6,3,8,5,4,1,7]=>0101110
[2,8,6,3,5,4,1,7]=>0110110
[5,8,6,4,2,1,3,7]=>0111100
[4,2,1,5,7,8,6,3]=>1100011
[2,7,8,6,3,5,4,1]=>0011011
[4,3,8,5,7,6,2,1]=>1010111
[7,6,2,1,8,4,3,5]=>1110110
[2,1,8,5,6,4,3,7]=>1010110
[4,2,1,8,5,6,3,7]=>1101010
[8,4,2,1,5,6,3,7]=>1110010
[2,5,6,3,8,4,1,7]=>0010110
[6,3,4,2,1,8,5,7]=>1011010
[3,7,8,5,6,4,2,1]=>0010111
[3,8,5,6,4,2,1,7]=>0101110
[3,6,4,2,1,8,5,7]=>0111010
[3,8,6,4,2,1,5,7]=>0111100
[3,7,8,6,4,2,1,5]=>0011110
[8,5,3,7,6,2,4,1]=>1101101
[7,6,2,4,1,8,5,3]=>1101011
[8,5,4,1,7,6,2,3]=>1110110
[7,6,2,3,8,5,4,1]=>1100111
[2,1,7,8,6,4,3,5]=>1001110
[2,1,6,4,3,7,8,5]=>1011001
[6,4,2,1,3,7,8,5]=>1110001
[6,3,7,8,4,2,1,5]=>1001110
[7,8,4,2,1,6,3,5]=>0111010
[5,7,6,2,3,8,4,1]=>0110011
[2,6,1,8,4,3,7,5]=>0101101
[2,6,1,7,5,8,4,3]=>0101011
[8,4,2,3,7,5,6,1]=>1100101
[8,5,7,6,2,1,4,3]=>1011101
[4,8,5,7,6,2,1,3]=>0101110
[4,7,6,2,1,3,8,5]=>0111001
[7,5,6,1,8,4,2,3]=>1010110
[2,7,5,8,4,3,6,1]=>0101101
[2,8,4,3,6,1,7,5]=>0110101
[6,4,7,8,3,2,1,5]=>1001110
[6,4,3,7,5,2,1,8]=>1101110
[6,5,3,2,8,4,1,7]=>1110110
[6,5,2,7,8,4,1,3]=>1100110
[6,4,3,2,5,8,1,7]=>1110010
[6,3,7,2,5,4,1,8]=>1010110
[6,3,2,7,5,4,1,8]=>1101110
[8,4,2,6,3,1,7,5]=>1101101
[1,5,3,7,4,2,8,6]=>0101101
[1,6,7,3,4,2,8,5]=>0010101
[8,6,5,2,3,1,7,4]=>1110101
[1,7,6,3,4,2,8,5]=>0110101
[1,8,6,3,2,5,7,4]=>0111001
[8,7,5,2,1,4,6,3]=>1111001
[7,8,5,2,1,4,6,3]=>0111001
[6,8,5,2,3,1,7,4]=>0110101
[5,8,6,2,3,1,7,4]=>0110101
[4,8,2,6,3,1,7,5]=>0101101
[3,2,8,6,4,1,7,5]=>1011101
[3,2,1,7,5,4,8,6]=>1101101
[4,1,3,7,5,2,8,6]=>1001101
[5,1,7,3,4,2,8,6]=>1010101
[7,1,6,3,2,5,8,4]=>1011001
[1,2,7,4,3,6,8,5]=>0011001
[6,1,8,2,4,5,7,3]=>1010001
[5,1,8,3,2,6,7,4]=>1011001
[3,2,8,7,1,5,6,4]=>1011001
[4,8,2,7,1,5,6,3]=>0101001
[5,8,7,2,1,4,6,3]=>0111001
[6,8,7,1,3,4,5,2]=>0110001
[7,8,6,1,3,4,5,2]=>0110001
[1,7,8,2,4,5,6,3]=>0010001
[8,6,7,1,3,4,5,2]=>1010001
[7,6,8,1,3,4,5,2]=>1010001
[6,5,8,2,3,1,7,4]=>1010101
[1,6,8,3,2,5,7,4]=>0011001
[1,5,3,8,2,6,7,4]=>0101001
[8,4,2,7,1,5,6,3]=>1101001
[7,4,2,8,1,5,6,3]=>1101001
[6,4,2,8,3,1,7,5]=>1101101
[5,4,2,3,8,1,7,6]=>1100101
[4,5,2,3,1,6,8,7]=>0101001
[7,4,2,1,3,6,8,5]=>1110001
[8,4,2,1,3,6,7,5]=>1110001
[1,5,3,2,4,7,8,6]=>0110001
[8,5,1,3,2,6,7,4]=>1101001
[5,6,1,3,4,2,8,7]=>0100101
[4,6,2,1,5,3,8,7]=>0110101
[4,7,2,1,3,6,8,5]=>0110001
[5,7,1,3,2,6,8,4]=>0101001
[6,7,1,2,4,5,8,3]=>0100001
[8,6,1,2,4,5,7,3]=>1100001
[1,8,2,3,5,6,7,4]=>0100001
[8,7,1,2,4,5,6,3]=>1100001
[7,8,1,2,4,5,6,3]=>0100001
[5,8,1,3,2,6,7,4]=>0101001
[4,8,2,1,3,6,7,5]=>0110001
[4,1,3,2,5,7,8,6]=>1010001
[5,1,2,4,3,7,8,6]=>1001001
[5,4,8,1,2,3,7,6]=>1010001
[1,4,7,6,3,2,5,8]=>0011100
[4,8,3,2,7,6,1,5]=>0110110
[4,3,8,2,7,1,6,5]=>1010101
[1,4,7,3,6,2,5,8]=>0010100
[4,3,2,8,1,7,6,5]=>1101011
[4,1,8,3,7,2,5,6]=>1010100
[4,1,8,7,3,2,5,6]=>1011100
[4,7,8,1,2,5,3,6]=>0010010
[3,4,7,6,2,1,8,5]=>0011101
[3,4,2,7,1,6,8,5]=>0101001
[2,3,6,7,4,1,8,5]=>0001101
[2,6,3,4,7,8,1,5]=>0100010
[2,6,7,8,3,4,1,5]=>0001010
[3,1,7,8,4,2,5,6]=>1001100
[4,1,3,2,8,7,5,6]=>1010110
[3,7,8,2,6,4,1,5]=>0010110
[4,2,3,8,1,6,7,5]=>1001001
[4,3,1,8,2,5,7,6]=>1101001
[1,3,6,7,4,2,5,8]=>0001100
[3,2,7,8,4,1,6,5]=>1001101
[4,2,8,6,3,1,7,5]=>1011101
[3,7,2,4,8,6,1,5]=>0100110
[3,2,7,4,8,1,6,5]=>1010101
[1,3,6,4,7,2,5,8]=>0010100
[3,2,4,7,1,8,6,5]=>1001011
[3,7,4,2,6,8,1,5]=>0110010
[3,7,4,6,2,8,1,5]=>0101010
[4,7,1,5,8,2,3,6]=>0100100
[3,7,6,4,8,2,1,5]=>0110110
[3,1,7,4,8,2,5,6]=>1010100
[2,6,7,3,8,4,1,5]=>0010110
[2,3,6,4,7,1,8,5]=>0010101
[8,7,5,2,6,3,4,1]=>1110101
[8,6,5,2,7,3,4,1]=>1110101
[7,4,8,5,6,3,2,1]=>1010111
[3,4,6,7,8,5,1,2]=>0000110
[1,2,6,4,7,5,8,3]=>0010101
[3,1,7,5,4,2,6,8]=>1011100
[6,3,8,5,4,7,1,2]=>1011010
[1,6,2,5,4,7,8,3]=>0101001
[1,8,2,5,6,3,7,4]=>0100101
[1,2,6,4,8,5,7,3]=>0010101
[7,8,3,1,4,2,5,6]=>0110100
[4,8,1,5,2,3,6,7]=>0101000
[7,4,1,5,2,3,6,8]=>1101000
[5,6,1,8,4,3,2,7]=>0101110
[5,1,8,6,4,3,2,7]=>1011110
[5,1,6,3,8,7,2,4]=>1010110
[6,1,2,5,8,3,7,4]=>1000101
[6,1,8,7,4,3,2,5]=>1011110
[7,1,2,5,4,8,6,3]=>1001011
[1,2,7,5,8,3,6,4]=>0010101
[4,1,6,3,7,5,2,8]=>1010110
[1,3,6,7,8,5,2,4]=>0000110
[1,2,6,4,7,8,5,3]=>0010011
[4,1,6,3,7,8,2,5]=>1010010
[3,1,6,4,8,2,7,5]=>1010101
[7,8,4,1,6,3,2,5]=>0110110
[4,1,6,3,8,7,2,5]=>1010110
[7,5,1,8,4,3,2,6]=>1101110
[6,5,1,7,4,3,2,8]=>1101110
[4,1,8,5,2,3,7,6]=>1011001
[4,1,6,8,3,7,2,5]=>1001010
[5,4,6,1,3,8,2,7]=>1010010
[6,5,8,1,4,3,2,7]=>1010110
[1,3,5,7,6,8,2,4]=>0001010
[1,3,5,7,6,2,8,4]=>0001101
[1,3,5,7,2,6,8,4]=>0001001
[1,3,5,2,7,6,4,8]=>0010110
[1,3,5,7,6,2,4,8]=>0001100
[1,3,5,7,4,6,8,2]=>0001001
[1,3,5,7,4,6,2,8]=>0001010
[1,3,5,7,4,2,6,8]=>0001100
[1,3,5,4,7,2,6,8]=>0010100
[1,3,5,4,7,8,2,6]=>0010010
[1,3,5,4,7,2,8,6]=>0010101
[1,3,5,7,4,2,8,6]=>0001101
[1,3,5,7,4,8,2,6]=>0001010
[1,3,5,7,4,8,6,2]=>0001011
[1,3,5,7,8,4,6,2]=>0000101
[1,3,5,7,8,4,2,6]=>0000110
[1,3,5,2,7,8,6,4]=>0010011
[1,3,5,7,2,8,6,4]=>0001011
[1,3,5,7,8,2,6,4]=>0000101
[1,6,3,2,7,4,8,5]=>0110101
[3,5,1,6,2,8,7,4]=>0101011
[1,3,7,2,5,4,8,6]=>0010101
[1,3,7,5,2,4,8,6]=>0011001
[2,5,7,4,3,8,1,6]=>0011010
[2,5,3,7,4,8,1,6]=>0101010
[2,4,7,3,1,8,6,5]=>0011011
[1,4,7,3,8,2,6,5]=>0010101
[3,2,6,7,8,1,5,4]=>1000101
[3,5,2,7,8,4,1,6]=>0100110
[1,5,7,4,8,3,2,6]=>0010110
[4,6,2,1,7,8,3,5]=>0110010
[3,5,2,6,8,4,7,1]=>0100101
[2,5,7,4,3,8,6,1]=>0011011
[1,5,7,2,4,8,6,3]=>0010011
[4,6,3,7,2,8,5,1]=>0101011
[1,4,7,3,8,6,2,5]=>0010110
[5,1,6,8,2,4,3,7]=>1001010
[5,3,7,8,2,4,1,6]=>1001010
[8,5,3,7,2,4,1,6]=>1101010
[8,2,4,7,3,1,5,6]=>1001100
[2,4,7,8,3,1,5,6]=>0001100
[6,3,1,5,8,2,4,7]=>1100100
[6,5,3,4,2,8,1,7]=>1101010
[5,2,4,3,8,1,6,7]=>1010100
[3,2,4,8,1,5,6,7]=>1001000
[3,2,4,6,8,1,5,7]=>1000100
[8,1,5,7,3,2,4,6]=>1001100
[8,4,6,7,2,3,1,5]=>1001010
[4,6,7,8,2,3,1,5]=>0001010
[7,4,6,8,2,3,1,5]=>1001010
[7,2,4,8,3,1,5,6]=>1001100
[5,3,8,7,2,4,1,6]=>1011010
[2,4,8,7,3,1,5,6]=>0011100
[4,6,8,7,2,3,1,5]=>0011010
[8,7,4,6,2,3,1,5]=>1101010
[5,6,8,7,2,3,1,4]=>0011010
[6,4,8,7,2,3,1,5]=>1011010
[3,1,7,4,2,8,6,5]=>1011011
[3,2,8,4,1,7,6,5]=>1011011
[7,6,4,8,2,3,1,5]=>1101010
[5,7,6,8,2,3,1,4]=>0101010
[4,7,6,8,2,3,1,5]=>0101010
[8,6,4,7,2,3,1,5]=>1101010
[8,2,3,7,4,1,6,5]=>1001101
[2,3,7,8,4,1,6,5]=>0001101
[3,7,4,8,2,5,1,6]=>0101010
[2,3,7,4,1,6,8,5]=>0011001
[8,1,6,4,2,3,7,5]=>1011001
[4,7,8,6,2,3,1,5]=>0011010
[2,4,7,3,1,5,8,6]=>0011001
[6,3,1,7,4,2,8,5]=>1101101
[8,5,7,6,2,3,1,4]=>1011010
[7,5,8,6,2,3,1,4]=>1011010
[7,1,6,4,2,3,8,5]=>1011001
[3,1,7,6,4,2,8,5]=>1011101
[4,8,7,6,2,3,1,5]=>0111010
[6,8,7,5,2,3,1,4]=>0111010
[4,3,6,1,5,8,7,2]=>1010011
[4,3,6,5,1,8,7,2]=>1011011
[4,6,3,5,1,8,7,2]=>0101011
[4,6,3,1,5,8,7,2]=>0110011
[4,1,6,5,3,8,7,2]=>1011011
[4,6,1,5,3,8,7,2]=>0101011
[2,6,5,3,1,8,7,4]=>0111011
[2,6,5,1,8,7,3,4]=>0110110
[2,6,5,8,1,7,3,4]=>0101010
[2,6,5,8,1,3,7,4]=>0101001
[2,6,5,8,3,1,7,4]=>0101101
[2,6,5,3,8,1,7,4]=>0110101
[4,6,1,5,8,3,7,2]=>0100101
[4,1,6,5,8,3,7,2]=>1010101
[1,4,6,5,8,3,7,2]=>0010101
[4,1,6,5,8,7,3,2]=>1010111
[2,6,5,3,8,7,1,4]=>0110110
[6,4,3,8,7,1,5,2]=>1101101
[6,4,8,3,7,1,5,2]=>1010101
[2,6,8,5,3,7,1,4]=>0011010
[4,6,8,1,5,7,3,2]=>0010011
[4,6,1,8,5,7,3,2]=>0101011
[4,1,6,8,5,7,3,2]=>1001011
[1,4,6,8,5,7,3,2]=>0001011
[1,4,6,8,5,3,7,2]=>0001101
[4,6,1,8,5,3,7,2]=>0101101
[2,6,8,5,3,1,7,4]=>0011101
[2,6,8,5,1,7,3,4]=>0011010
[4,6,8,3,5,1,7,2]=>0010101
[4,6,8,3,1,5,7,2]=>0011001
[4,6,3,1,8,5,7,2]=>0110101
[4,6,3,8,1,5,7,2]=>0101001
[4,6,3,8,5,7,1,2]=>0101010
[4,3,6,8,1,5,7,2]=>1001001
[4,3,6,1,8,5,7,2]=>1010101
[4,3,1,6,8,5,7,2]=>1100101
[4,1,3,6,8,7,5,2]=>1000111
[4,3,6,1,8,7,5,2]=>1010111
[4,3,6,8,1,7,5,2]=>1001011
[6,5,2,8,7,3,1,4]=>1101110
[6,5,2,8,7,1,3,4]=>1101100
[6,2,5,8,7,1,3,4]=>1001100
[6,2,5,8,7,3,1,4]=>1001110
[4,6,3,8,1,7,5,2]=>0101011
[4,6,3,1,8,7,5,2]=>0110111
[4,1,6,3,8,7,5,2]=>1010111
[1,4,6,3,8,7,5,2]=>0010111
[4,1,6,8,3,7,5,2]=>1001011
[4,6,1,8,3,7,5,2]=>0101011
[4,6,8,1,3,7,5,2]=>0010011
[6,2,8,5,7,3,1,4]=>1010110
[6,2,8,5,7,1,3,4]=>1010100
[2,4,8,7,1,5,3,6]=>0011010
[4,2,8,7,5,3,1,6]=>1011110
[6,4,1,8,7,5,3,2]=>1101111
[6,1,4,8,7,5,3,2]=>1001111
[1,6,4,8,7,3,5,2]=>0101101
[6,4,1,8,7,3,5,2]=>1101101
[4,2,8,7,5,1,3,6]=>1011100
[2,4,8,7,3,5,1,6]=>0011010
[2,3,4,7,1,8,6,5]=>0001011
[2,3,4,7,8,5,6,1]=>0000101
[2,3,6,7,4,8,5,1]=>0001011
[2,5,6,3,7,8,1,4]=>0010010
[2,3,7,1,4,8,6,5]=>0010011
[2,6,1,3,7,8,5,4]=>0100011
[2,5,6,7,4,8,1,3]=>0001010
[2,3,7,8,4,5,6,1]=>0001001
[2,6,7,3,4,8,5,1]=>0010011
[1,5,3,2,6,4,7,8]=>0110100
[1,5,3,2,6,7,4,8]=>0110010
[1,7,3,2,8,5,4,6]=>0110110
[1,7,3,2,5,8,4,6]=>0110010
[1,3,2,7,5,4,8,6]=>0101101
[6,5,2,4,3,7,1,8]=>1101010
[6,4,2,5,3,7,1,8]=>1101010
[5,4,7,6,2,3,1,8]=>1011010
[3,6,4,8,2,1,5,7]=>0101100
[1,6,2,8,5,3,4,7]=>0101100
[4,6,2,3,7,5,1,8]=>0100110
[4,7,2,3,6,5,1,8]=>0100110
[4,7,2,3,5,6,1,8]=>0100010
[5,3,2,7,4,6,1,8]=>1101010
[5,3,2,6,4,7,1,8]=>1101010
[4,6,2,3,5,7,1,8]=>0100010
[3,5,2,1,6,8,4,7]=>0110010
[1,5,2,6,8,4,3,7]=>0100110
[1,5,7,2,8,4,3,6]=>0010110
[3,5,2,1,8,6,4,7]=>0110110
[3,6,8,4,2,1,5,7]=>0011100
[4,3,2,6,1,8,5,7]=>1101010
[1,5,8,2,7,4,3,6]=>0010110
[1,7,2,3,4,8,6,5]=>0100011
[6,8,2,3,4,1,7,5]=>0100101
[4,1,8,2,3,5,7,6]=>1010001
[2,3,1,8,4,5,7,6]=>0101001
[7,3,2,1,4,5,8,6]=>1110001
[7,8,1,4,3,5,2,6]=>0101010
[7,1,2,3,4,6,8,5]=>1000001
[6,1,2,3,4,8,7,5]=>1000011
[1,8,2,3,4,7,6,5]=>0100011
[8,1,2,3,4,6,7,5]=>1000001
[2,8,1,3,5,4,7,6]=>0100101
[8,7,1,4,3,5,2,6]=>1101010
[8,3,2,1,4,5,7,6]=>1110001
[3,8,2,1,5,6,4,7]=>0110010
[3,8,2,1,6,5,4,7]=>0110110
[1,7,8,3,5,4,2,6]=>0010110
[7,4,1,8,3,5,2,6]=>1101010
[8,4,1,7,3,5,2,6]=>1101010
[3,8,4,6,2,1,5,7]=>0101100
[8,4,2,5,3,1,6,7]=>1101100
[8,5,2,4,3,1,6,7]=>1101100
[8,3,2,5,4,1,6,7]=>1101100
[4,3,2,5,1,8,6,7]=>1101010
[3,5,2,4,1,8,6,7]=>0101010
[2,4,7,8,1,5,3,6]=>0001010
[1,8,7,3,5,4,2,6]=>0110110
[5,1,8,2,7,4,3,6]=>1010110
[5,1,7,2,8,4,3,6]=>1010110
[6,1,2,8,5,3,4,7]=>1001100
[6,3,2,1,8,4,5,7]=>1110100
[7,3,2,8,4,5,1,6]=>1101010
[2,7,8,4,3,5,1,6]=>0011010
[7,1,8,3,5,4,2,6]=>1010110
[7,8,2,3,4,6,1,5]=>0100010
[6,7,1,3,4,8,2,5]=>0100010
[6,8,1,3,4,7,2,5]=>0100010
[1,7,2,3,4,6,8,5]=>0100001
[1,6,2,3,4,8,7,5]=>0100011
[7,6,2,3,4,1,8,5]=>1100101
[8,6,2,3,4,1,7,5]=>1100101
[8,1,7,3,5,4,2,6]=>1010110
[8,3,2,7,4,5,1,6]=>1101010
[6,7,2,3,4,1,8,5]=>0100101
[7,6,2,3,4,8,1,5]=>1100010
[8,6,2,3,4,7,1,5]=>1100010
[6,3,4,8,7,5,1,2]=>1001110
[4,8,7,3,5,6,1,2]=>0110010
[4,8,7,5,3,6,1,2]=>0111010
[5,8,7,3,4,6,1,2]=>0110010
[5,8,4,2,1,6,7,3]=>0111001
[5,8,4,1,2,6,7,3]=>0110001
[5,3,7,2,6,1,8,4]=>1010101
[5,2,8,1,6,3,7,4]=>1010101
[5,8,2,1,4,7,6,3]=>0110011
[4,8,2,5,1,7,6,3]=>0101011
[7,8,4,1,2,6,5,3]=>0110011
[4,8,1,5,2,7,6,3]=>0101011
[5,8,1,2,4,7,6,3]=>0100011
[5,2,8,3,6,7,1,4]=>1010010
[3,8,7,6,2,4,1,5]=>0111010
[2,8,7,6,4,1,3,5]=>0111100
[7,8,2,6,5,1,3,4]=>0101100
[1,8,7,6,4,2,3,5]=>0111100
[2,8,7,6,3,1,4,5]=>0111100
[1,8,7,6,2,4,3,5]=>0111010
[1,8,7,6,3,4,2,5]=>0111010
[2,8,1,4,5,6,7,3]=>0100001
[2,1,7,3,6,5,8,4]=>1010101
[3,1,7,2,6,5,8,4]=>1010101
[3,2,7,1,6,5,8,4]=>1010101
[6,1,2,8,5,7,3,4]=>1001010
[6,2,1,8,5,7,3,4]=>1101010
[6,3,1,8,5,7,2,4]=>1101010
[6,4,2,1,7,5,8,3]=>1110101
[6,1,3,8,5,2,7,4]=>1001101
[2,3,7,1,6,8,5,4]=>0010011
[1,3,7,2,6,8,5,4]=>0010011
[7,8,2,6,5,3,1,4]=>0101110
[3,2,6,7,5,8,1,4]=>1001010
[1,2,7,5,6,3,8,4]=>0010101
[2,8,7,6,4,3,1,5]=>0111110
[3,8,7,6,1,2,5,4]=>0111001
[3,8,7,6,2,1,5,4]=>0111101
[4,8,7,6,2,1,3,5]=>0111100
[4,8,7,6,1,3,2,5]=>0111010
[3,8,7,6,4,1,2,5]=>0111100
[7,8,3,6,5,1,2,4]=>0101100
[2,3,7,5,6,8,1,4]=>0010010
[3,8,7,6,4,2,1,5]=>0111110
[5,1,4,6,8,2,3,7]=>1000100
[1,7,6,3,5,4,8,2]=>0110101
[4,3,7,2,6,5,1,8]=>1010110
[3,4,6,1,5,7,2,8]=>0010010
[1,6,8,5,7,3,4,2]=>0010101
[2,4,1,5,8,6,3,7]=>0100110
[4,6,1,2,5,8,3,7]=>0100010
[5,6,7,2,1,4,8,3]=>0011001
[7,8,6,5,1,2,4,3]=>0111001
[1,3,6,5,7,8,2,4]=>0010010
[7,4,8,5,3,1,6,2]=>1011101
[6,8,5,2,4,1,7,3]=>0110101
[2,3,1,6,8,5,7,4]=>0100101
[7,3,2,5,1,4,8,6]=>1101001
[7,1,4,2,3,6,8,5]=>1010001
[1,5,8,3,4,6,7,2]=>0010001
[8,3,1,2,4,7,6,5]=>1100011
[2,3,8,1,6,5,4,7]=>0010110
[8,1,4,7,2,5,3,6]=>1001010
[3,5,2,4,1,7,8,6]=>0101001
[3,4,7,8,6,2,1,5]=>0001110
[3,4,8,6,2,7,1,5]=>0011010
[5,8,2,1,6,7,3,4]=>0110010
[5,7,2,8,6,4,3,1]=>0101111
[6,1,2,7,5,3,8,4]=>1001101
[7,3,2,8,6,4,1,5]=>1101110
[2,7,8,4,6,3,1,5]=>0010110
[1,4,5,7,2,6,8,3]=>0001001
[7,3,5,2,6,1,8,4]=>1010101
[8,5,2,3,6,1,7,4]=>1100101
[8,1,6,3,5,7,2,4]=>1010010
[2,8,6,4,3,7,1,5]=>0111010
[8,3,2,6,4,7,1,5]=>1101010
[2,3,8,7,6,5,1,4]=>0011110
[1,2,8,7,3,6,5,4]=>0011011
[4,2,8,7,3,6,1,5]=>1011010
[4,5,8,7,1,2,6,3]=>0011001
[1,5,8,7,3,2,6,4]=>0011101
[4,5,8,7,3,2,1,6]=>0011110
[2,6,8,1,7,5,4,3]=>0010111
[3,6,8,4,7,2,1,5]=>0010110
[2,5,8,3,7,6,1,4]=>0010110
[3,2,8,4,7,6,1,5]=>1010110
[1,5,8,3,7,2,6,4]=>0010101
[3,5,8,4,7,2,1,6]=>0010110
[5,6,8,2,3,7,1,4]=>0010010
[1,6,8,4,2,7,5,3]=>0011011
[1,5,8,4,2,7,6,3]=>0011011
[1,5,8,2,3,7,6,4]=>0010011
[2,1,8,4,3,7,6,5]=>1011011
[2,5,8,4,3,7,1,6]=>0011010
[5,6,8,4,1,2,7,3]=>0011001
[5,6,8,1,3,2,7,4]=>0010101
[1,6,8,4,3,2,7,5]=>0011101
[5,6,8,4,3,2,1,7]=>0011110
[7,1,2,8,6,5,4,3]=>1001111
[7,1,4,8,6,2,5,3]=>1001101
[7,3,1,8,6,2,5,4]=>1101101
[7,2,4,8,3,6,1,5]=>1001010
[7,1,4,8,3,2,6,5]=>1001101
[7,4,5,8,3,2,1,6]=>1001110
[1,6,2,8,7,5,4,3]=>0101111
[1,6,4,8,7,2,5,3]=>0101101
[3,6,4,8,7,2,1,5]=>0101110
[3,2,5,8,7,6,1,4]=>1001110
[3,2,4,8,7,6,1,5]=>1001110
[3,1,5,8,7,2,6,4]=>1001101
[3,1,4,8,7,2,6,5]=>1001101
[1,6,4,8,2,7,5,3]=>0101011
[1,4,5,8,2,7,6,3]=>0001011
[2,4,5,8,3,7,1,6]=>0001010
[4,6,5,8,1,2,7,3]=>0101001
[1,6,4,8,3,2,7,5]=>0101101
[1,4,5,8,3,2,7,6]=>0001101
[7,6,1,4,8,2,5,3]=>1100101
[7,6,1,3,8,2,5,4]=>1100101
[7,6,3,4,8,2,1,5]=>1100110
[7,2,5,1,8,6,4,3]=>1010111
[7,2,5,3,8,6,1,4]=>1010110
[7,2,1,4,8,6,5,3]=>1100111
[7,2,1,3,8,6,5,4]=>1100111
[7,2,3,4,8,6,1,5]=>1000110
[7,3,5,4,8,2,1,6]=>1010110
[2,6,5,1,8,7,4,3]=>0110111
[2,3,5,4,8,7,1,6]=>0010110
[1,6,5,4,8,2,7,3]=>0110101
[1,6,5,3,8,2,7,4]=>0110101
[1,6,3,4,8,2,7,5]=>0100101
[1,3,5,4,8,2,7,6]=>0010101
[3,6,5,4,8,2,1,7]=>0110110
[7,6,5,2,3,8,1,4]=>1110010
[7,6,1,4,2,8,5,3]=>1101011
[7,6,1,2,3,8,5,4]=>1100011
[7,6,2,4,3,8,1,5]=>1101010
[7,1,5,4,2,8,6,3]=>1011011
[7,1,5,2,3,8,6,4]=>1010011
[7,1,2,4,3,8,6,5]=>1001011
[2,6,5,4,3,8,1,7]=>0111010
[7,6,1,4,3,2,8,5]=>1101101
[7,1,5,4,3,2,8,6]=>1011101
[3,4,2,6,7,8,1,5]=>0100010
[3,1,4,2,6,8,7,5]=>1010011
[8,3,4,2,6,1,7,5]=>1010101
[2,6,7,3,5,4,1,8]=>0010110
[2,7,8,3,5,4,1,6]=>0010110
[2,6,8,3,5,4,1,7]=>0010110
[4,7,1,2,8,5,3,6]=>0100110
[4,8,1,2,7,5,3,6]=>0100110
[2,1,6,3,7,5,4,8]=>1010110
[2,7,1,3,6,8,4,5]=>0100010
[6,7,3,2,8,1,4,5]=>0110100
[7,3,4,2,6,1,8,5]=>1010101
[7,4,1,2,8,5,3,6]=>1100110
[8,7,4,2,1,5,3,6]=>1111010
[7,4,1,2,6,5,3,8]=>1100110
[7,4,3,1,5,6,8,2]=>1110001
[6,7,4,1,5,8,3,2]=>0110011
[4,7,5,1,6,8,3,2]=>0110011
[4,5,3,1,7,6,8,2]=>0110101
[4,6,1,2,7,5,3,8]=>0100110
[2,7,1,3,6,5,4,8]=>0100110
[4,1,8,2,6,5,3,7]=>1010110
[4,6,1,2,8,5,3,7]=>0100110
[8,4,3,1,5,6,7,2]=>1110001
[4,5,3,1,8,6,7,2]=>0110101
[4,8,5,6,3,1,7,2]=>0101101
[5,1,3,4,8,6,7,2]=>1000101
[5,4,3,8,1,6,7,2]=>1101001
[8,5,3,4,1,6,7,2]=>1101001
[6,4,8,2,1,5,3,7]=>1011010
[6,7,3,2,5,1,4,8]=>0110100
[6,8,3,2,5,1,4,7]=>0110100
[5,7,1,4,6,8,3,2]=>0100011
[5,1,3,4,7,6,8,2]=>1000101
[6,1,4,2,7,5,3,8]=>1010110
[5,4,3,7,1,6,8,2]=>1101001
[6,7,5,4,1,8,3,2]=>0111011
[7,6,4,2,1,5,3,8]=>1111010
[8,2,7,6,5,4,1,3]=>1011110
[7,2,8,6,5,4,3,1]=>1011111
[8,7,2,6,5,4,1,3]=>1101110
[3,2,8,7,6,5,1,4]=>1011110
[4,8,7,6,5,3,1,2]=>0111110
[7,8,6,1,5,4,3,2]=>0110111
[7,3,8,6,5,4,2,1]=>1011111
[4,8,5,7,6,3,2,1]=>0101111
[3,8,7,4,6,5,2,1]=>0110111
[2,8,7,6,3,5,4,1]=>0111011
[8,5,6,1,3,2,4,7]=>1010100
[8,6,1,5,3,2,4,7]=>1101100
[7,8,1,5,3,2,4,6]=>0101100
[8,1,7,5,3,2,4,6]=>1011100
[8,6,1,4,5,2,3,7]=>1100100
[8,6,3,1,5,2,4,7]=>1110100
[8,4,6,1,5,2,3,7]=>1010100
[8,6,2,1,5,4,3,7]=>1110110
[8,5,2,6,1,4,3,7]=>1101010
[8,5,2,1,7,4,3,6]=>1110110
[7,8,2,1,5,4,3,6]=>0110110
[7,8,3,1,5,2,4,6]=>0110100
[8,2,7,5,1,3,4,6]=>1011000
[8,4,1,7,5,2,3,6]=>1101100
[8,2,7,1,5,4,3,6]=>1010110
[8,2,6,1,7,4,3,5]=>1010110
[8,1,7,4,3,2,6,5]=>1011101
[8,1,5,7,3,2,6,4]=>1001101
[5,7,8,1,3,2,6,4]=>0010101
[8,2,6,1,5,7,3,4]=>1010010
[5,8,1,6,7,2,3,4]=>0100100
[5,7,6,1,8,2,3,4]=>0110100
[6,7,2,5,1,8,3,4]=>0101010
[7,5,1,6,8,2,3,4]=>1100100
[6,5,7,1,8,2,3,4]=>1010100
[6,7,3,8,1,2,4,5]=>0101000
[7,5,4,1,8,2,3,6]=>1110100
[7,6,1,4,8,2,3,5]=>1100100
[8,1,6,4,7,2,3,5]=>1010100
[7,5,8,1,3,2,4,6]=>1010100
[7,8,4,1,3,2,5,6]=>0110100
[8,3,7,4,1,2,5,6]=>1011000
[8,5,1,7,3,2,4,6]=>1101100
[6,8,1,7,3,2,4,5]=>0101100
[7,1,8,4,3,6,2,5]=>1011010
[7,3,1,8,6,4,2,5]=>1101110
[8,3,1,7,4,6,2,5]=>1101010
[8,4,5,1,7,2,3,6]=>1010100
[5,6,8,1,7,2,3,4]=>0010100
[6,5,8,1,2,7,3,4]=>1010010
[7,3,1,8,5,6,2,4]=>1101010
[6,2,7,8,3,1,5,4]=>1001101
[5,8,1,7,3,2,6,4]=>0101101
[8,4,1,7,3,2,6,5]=>1101101
[8,3,4,7,1,2,6,5]=>1001001
[8,2,7,4,1,3,6,5]=>1011001
[7,4,8,2,1,3,6,5]=>1011001
[7,4,3,8,1,2,6,5]=>1101001
[8,2,3,6,7,1,5,4]=>1000101
[2,6,8,7,1,5,4,3]=>0011011
[7,8,5,2,3,6,4,1]=>0110011
[8,7,5,2,3,1,6,4]=>1110101
[6,8,5,2,3,4,7,1]=>0110001
[3,5,2,6,8,1,4,7]=>0100100
[3,5,2,4,6,8,1,7]=>0100010
[2,4,5,7,3,6,8,1]=>0001001
[2,4,5,3,6,8,1,7]=>0010010
[5,2,4,6,8,1,3,7]=>1000100
[5,1,3,4,6,8,2,7]=>1000010
[4,3,5,2,6,8,1,7]=>1010010
[4,3,5,7,2,8,1,6]=>1001010
[4,3,5,7,2,6,8,1]=>1001001
[4,6,3,7,2,5,8,1]=>0101001
[4,6,3,1,7,8,2,5]=>0110010
[4,3,5,1,7,8,2,6]=>1010010
[5,7,1,3,4,8,2,6]=>0100010
[5,7,1,3,4,6,8,2]=>0100001
[4,5,7,1,3,6,8,2]=>0010001
[4,3,6,7,1,5,8,2]=>1001001
[4,6,3,5,1,7,8,2]=>0101001
[4,6,3,5,7,2,8,1]=>0100101
[3,5,6,4,1,7,8,2]=>0011001
[3,1,5,6,7,4,8,2]=>1000101
[5,1,6,7,3,4,8,2]=>1001001
[6,4,7,1,3,5,8,2]=>1010001
[1,6,7,3,4,5,8,2]=>0010001
[2,6,7,4,5,8,1,3]=>0010010
[2,6,7,4,8,1,3,5]=>0010100
[5,3,6,1,2,7,8,4]=>1010001
[3,5,2,6,1,7,8,4]=>0101001
[3,5,2,6,7,4,8,1]=>0100101
[5,2,3,6,7,4,8,1]=>1000101
[5,2,3,6,1,7,8,4]=>1001001
[5,2,6,1,3,7,8,4]=>1010001
[4,2,6,7,3,5,8,1]=>1001001
[6,3,7,2,4,5,8,1]=>1010001
[3,5,7,2,8,1,4,6]=>0010100
[3,7,2,4,8,1,5,6]=>0100100
[7,2,4,6,8,1,3,5]=>1000100
[7,1,3,4,6,8,2,5]=>1000010
[3,7,2,4,6,8,1,5]=>0100010
[3,5,7,2,6,8,1,4]=>0010010
[6,3,7,2,5,8,1,4]=>1010010
[6,3,5,7,2,8,1,4]=>1001010
[6,3,5,7,2,4,8,1]=>1001001
[6,2,4,5,7,3,8,1]=>1000101
[6,2,4,5,1,7,8,3]=>1001001
[4,7,1,2,5,6,8,3]=>0100001
[2,6,7,5,8,1,3,4]=>0010100
[4,6,7,1,2,5,8,3]=>0010001
[5,6,2,4,7,3,8,1]=>0100101
[5,4,2,6,7,3,8,1]=>1100101
[5,4,2,6,1,7,8,3]=>1101001
[1,5,4,6,2,7,8,3]=>0101001
[5,6,4,1,2,7,8,3]=>0110001
[6,4,5,1,2,7,8,3]=>1010001
[6,3,5,1,7,8,2,4]=>1010010
[6,5,7,2,8,1,3,4]=>1010100
[6,5,7,1,3,4,8,2]=>1010001
[5,6,4,7,1,3,8,2]=>0101001
[5,4,6,3,1,7,8,2]=>1011001
[7,5,3,2,4,8,1,6]=>1110010
[8,4,5,2,6,1,3,7]=>1010100
[8,5,4,2,1,6,3,7]=>1111010
[8,5,3,4,1,6,2,7]=>1101010
[8,4,5,3,1,6,2,7]=>1011010
[7,5,4,2,1,8,3,6]=>1111010
[7,5,4,2,1,6,8,3]=>1111001
[7,4,5,3,1,6,8,2]=>1011001
[7,4,3,5,6,1,8,2]=>1100101
[5,6,3,7,4,1,8,2]=>0101101
[5,6,7,3,1,4,8,2]=>0011001
[6,7,3,4,1,5,8,2]=>0101001
[6,7,4,2,1,5,8,3]=>0111001
[5,6,7,3,1,8,2,4]=>0011010
[5,6,3,7,8,1,2,4]=>0100100
[5,6,3,7,2,4,8,1]=>0101001
[5,6,7,2,3,8,1,4]=>0010010
[7,4,5,2,8,1,3,6]=>1010100
[6,7,3,2,4,8,1,5]=>0110010
[7,6,4,2,1,3,8,5]=>1111001
[7,6,3,4,1,2,8,5]=>1101001
[7,6,3,2,4,1,8,5]=>1110101
[6,7,3,2,5,1,8,4]=>0110101
[6,5,3,2,7,8,1,4]=>1110010
[6,5,3,2,7,4,8,1]=>1110101
[6,4,5,2,7,3,8,1]=>1010101
[6,4,5,2,7,8,1,3]=>1010010
[7,4,5,2,6,1,8,3]=>1010101
[7,4,5,6,1,2,8,3]=>1001001
[7,5,6,2,1,3,8,4]=>1011001
[6,7,3,5,1,2,8,4]=>0101001
[5,6,7,4,1,2,8,3]=>0011001
[5,6,7,2,4,1,8,3]=>0010101
[5,6,4,2,7,8,1,3]=>0110010
[6,5,7,2,1,8,3,4]=>1011010
[6,5,7,2,1,4,8,3]=>1011001
[5,4,6,7,3,1,8,2]=>1001101
[5,7,8,3,6,4,1,2]=>0010110
[3,7,8,5,6,4,1,2]=>0010110
[3,7,8,5,6,1,4,2]=>0010101
[1,7,8,5,6,3,4,2]=>0010101
[1,7,5,8,6,3,4,2]=>0101101
[3,7,5,8,6,1,4,2]=>0101101
[3,7,5,8,6,4,1,2]=>0101110
[5,7,3,8,6,4,1,2]=>0101110
[7,3,8,5,6,4,1,2]=>1010110
[7,3,5,8,6,4,1,2]=>1001110
[3,5,7,8,6,4,1,2]=>0001110
[1,5,7,8,6,3,4,2]=>0001101
[1,5,7,8,3,6,4,2]=>0001011
[3,5,7,8,1,6,4,2]=>0001011
[5,3,7,8,1,6,4,2]=>1001011
[7,3,5,8,6,1,4,2]=>1001101
[7,3,8,5,6,1,4,2]=>1010101
[7,8,1,5,6,3,4,2]=>0100101
[7,1,8,5,6,3,4,2]=>1010101
[7,1,5,8,6,3,4,2]=>1001101
[5,1,7,8,3,6,4,2]=>1001011
[3,1,7,8,5,6,4,2]=>1001011
[1,3,7,8,5,6,4,2]=>0001011
[3,1,7,5,8,6,4,2]=>1010111
[5,1,7,3,8,6,4,2]=>1010111
[7,1,5,3,8,6,4,2]=>1010111
[7,1,5,8,3,6,4,2]=>1001011
[7,8,1,5,3,6,4,2]=>0101011
[7,8,3,5,1,6,4,2]=>0101011
[7,3,5,8,1,6,4,2]=>1001011
[5,3,7,1,8,6,4,2]=>1010111
[3,5,7,1,8,6,4,2]=>0010111
[1,7,5,3,8,6,4,2]=>0110111
[5,7,3,1,8,6,4,2]=>0110111
[5,7,3,8,6,1,4,2]=>0101101
[3,7,5,8,1,6,4,2]=>0101011
[1,7,5,8,3,6,4,2]=>0101011
[1,7,8,5,3,6,4,2]=>0011011
[3,7,8,5,1,6,4,2]=>0011011
[5,7,8,3,6,1,4,2]=>0010101
[5,7,8,6,3,1,4,2]=>0011101
[7,5,8,6,1,3,4,2]=>1011001
[5,7,8,1,6,3,4,2]=>0010101
[5,7,8,1,3,6,4,2]=>0010011
[3,7,8,1,5,6,4,2]=>0010011
[1,7,8,3,5,6,4,2]=>0010011
[1,7,3,8,5,6,4,2]=>0101011
[3,7,1,8,5,6,4,2]=>0101011
[5,7,1,8,3,6,4,2]=>0101011
[5,7,1,8,6,3,4,2]=>0101101
[7,5,1,8,6,3,4,2]=>1101101
[7,5,8,1,6,3,4,2]=>1010101
[7,8,5,1,6,3,4,2]=>0110101
[7,8,5,1,3,6,4,2]=>0110011
[7,5,8,1,3,6,4,2]=>1010011
[7,5,1,8,3,6,4,2]=>1101011
[7,5,1,3,8,6,4,2]=>1100111
[5,7,1,3,8,6,4,2]=>0100111
[3,7,1,5,8,6,4,2]=>0100111
[1,7,3,5,8,6,4,2]=>0100111
[1,5,3,7,8,6,4,2]=>0100111
[3,5,1,7,8,6,4,2]=>0100111
[5,3,1,7,8,6,4,2]=>1100111
[7,3,1,5,8,6,4,2]=>1100111
[7,3,1,8,5,6,4,2]=>1101011
[7,3,8,1,5,6,4,2]=>1010011
[7,8,3,1,5,6,4,2]=>0110011
[7,8,1,3,5,6,4,2]=>0100011
[7,1,8,3,5,6,4,2]=>1010011
[7,1,3,8,5,6,4,2]=>1001011
[7,1,3,5,8,6,4,2]=>1000111
[3,1,5,7,8,6,4,2]=>1000111
[5,7,3,4,6,8,1,2]=>0100010
[5,7,3,4,8,6,1,2]=>0100110
[5,7,3,4,8,1,6,2]=>0100101
[5,7,3,4,1,8,6,2]=>0101011
[5,7,3,4,1,6,8,2]=>0101001
[5,7,3,4,6,1,2,8]=>0100100
[7,3,5,6,1,2,8,4]=>1001001
[5,7,3,1,4,6,2,8]=>0110010
[5,7,3,1,4,6,8,2]=>0110001
[5,7,3,1,4,8,6,2]=>0110011
[5,7,3,1,4,8,2,6]=>0110010
[5,3,7,4,1,2,8,6]=>1011001
[5,3,7,4,1,2,6,8]=>1011000
[5,3,7,1,4,2,6,8]=>1010100
[5,3,7,1,4,2,8,6]=>1010101
[3,7,5,1,2,8,6,4]=>0110011
[7,8,3,5,1,2,6,4]=>0101001
[7,3,8,5,1,2,6,4]=>1011001
[7,3,5,8,1,2,6,4]=>1001001
[3,7,5,1,2,6,4,8]=>0110010
[3,7,5,1,2,6,8,4]=>0110001
[6,1,4,3,5,2,8,7]=>1010101
[2,5,7,3,8,4,1,6]=>0010110
[5,4,7,8,6,1,3,2]=>1001101
[7,5,6,2,8,3,1,4]=>1010110
[4,7,2,5,8,3,1,6]=>0100110
[6,2,4,5,1,3,8,7]=>1001001
[5,1,4,6,3,2,8,7]=>1001101
[3,5,6,2,4,1,8,7]=>0010101
[3,8,6,7,5,4,1,2]=>0101110
[6,2,7,8,3,4,1,5]=>1001010
[2,5,3,4,8,1,7,6]=>0100101
[8,7,1,2,5,3,4,6]=>1100100
[5,1,8,2,3,4,7,6]=>1010001
[5,4,7,6,2,8,1,3]=>1011010
[3,7,8,1,5,4,6,2]=>0010101
[7,1,3,4,6,8,5,2]=>1000011
[8,3,6,5,7,1,4,2]=>1010101
[5,8,7,1,4,6,2,3]=>0110010
[4,7,6,1,8,3,5,2]=>0110101
[4,7,2,6,3,8,5,1]=>0101011
[2,1,8,4,6,7,3,5]=>1010010
[4,7,8,6,3,1,2,5]=>0011100
[3,8,1,5,6,7,2,4]=>0100010
[6,7,2,4,8,5,3,1]=>0100111
[2,8,3,6,7,5,1,4]=>0100110
[8,2,1,7,6,3,5,4]=>1101101
[3,2,4,5,8,1,7,6]=>1000101
[7,4,6,3,2,1,8,5]=>1011101
[4,7,3,2,1,8,6,5]=>0111011
[6,4,7,5,2,3,8,1]=>1011001
[6,4,8,1,7,3,2,5]=>1010110
[4,8,7,2,3,1,5,6]=>0110100
[4,2,3,1,8,7,5,6]=>1010110
[7,6,8,1,3,5,2,4]=>1010010
[6,7,5,2,3,1,8,4]=>0110101
[4,7,2,6,5,1,8,3]=>0101101
[6,4,2,1,8,5,7,3]=>1110101
[7,2,1,5,6,8,4,3]=>1100011
[8,7,2,6,4,1,5,3]=>1101101
[6,7,8,2,5,3,1,4]=>0010110
[2,1,7,3,6,8,5,4]=>1010011
[2,1,5,7,8,4,6,3]=>1000101
[2,5,7,8,3,6,1,4]=>0001010
[6,4,1,5,7,2,8,3]=>1100101
[7,4,8,1,2,5,6,3]=>1010001
[4,2,7,8,6,3,5,1]=>1001101
[6,1,7,4,3,2,8,5]=>1011101
[6,8,3,4,2,1,7,5]=>0101101
[4,2,6,1,5,7,8,3]=>1010001
[2,4,6,7,3,5,8,1]=>0001001
[6,5,8,3,7,4,1,2]=>1010110
[7,1,4,8,3,5,6,2]=>1001001
[6,8,7,5,3,4,1,2]=>0111010
[4,8,6,3,1,5,7,2]=>0111001
[3,4,8,2,5,7,6,1]=>0010011
[3,5,7,2,8,6,1,4]=>0010110
[2,5,7,4,8,6,1,3]=>0010110
[2,6,3,7,5,1,8,4]=>0101101
[2,6,4,8,7,5,1,3]=>0101110
[6,3,7,2,8,5,1,4]=>1010110
[3,6,2,5,8,7,1,4]=>0100110
[5,2,8,4,7,6,1,3]=>1010110
[7,2,4,8,6,5,1,3]=>1001110
[6,2,4,8,7,5,1,3]=>1001110
[2,4,5,8,7,6,1,3]=>0001110
[4,2,7,3,8,1,6,5]=>1010101
[2,5,1,4,7,3,8,6]=>0100101
[6,1,3,8,7,2,5,4]=>1001101
[3,1,5,6,2,8,7,4]=>1001011
[4,1,5,2,8,7,6,3]=>1010111
[7,1,4,2,8,6,5,3]=>1010111
[4,1,5,3,2,8,7,6]=>1011011
[7,2,3,5,1,8,6,4]=>1001011
[3,4,5,1,8,7,6,2]=>0010111
[1,4,5,2,8,7,6,3]=>0010111
[1,6,4,2,8,7,5,3]=>0110111
[5,6,3,1,8,7,4,2]=>0110111
[7,4,2,5,1,8,6,3]=>1101011
[5,3,6,2,8,1,7,4]=>1010101
[4,6,2,7,5,1,8,3]=>0101101
[1,5,3,6,2,8,7,4]=>0101011
[1,5,8,3,2,7,6,4]=>0011011
[4,5,8,2,1,7,6,3]=>0011011
[3,6,2,5,1,4,8,7]=>0101001
[5,2,8,4,1,3,7,6]=>1011001
[2,4,8,7,1,3,6,5]=>0011001
[1,3,8,2,4,7,6,5]=>0010011
[6,3,1,7,2,8,5,4]=>1101011
[7,5,1,2,8,6,4,3]=>1100111
[1,5,2,3,8,7,6,4]=>0100111
[4,5,1,2,8,7,6,3]=>0100111
[6,4,1,2,8,7,5,3]=>1100111
[5,3,1,7,2,8,6,4]=>1101011
[5,2,8,1,3,7,6,4]=>1010011
[4,7,5,6,8,3,1,2]=>0100110
[8,6,4,7,5,3,1,2]=>1101110
[1,6,3,7,5,8,4,2]=>0101011
[1,3,7,4,5,8,6,2]=>0010011
[6,8,4,7,5,3,1,2]=>0101110
[4,8,7,5,6,3,1,2]=>0110110
[8,6,5,2,1,4,3,7]=>1111010
[2,7,6,3,1,4,5,8]=>0111000
[2,7,6,4,5,1,3,8]=>0110100
[5,7,2,6,4,1,3,8]=>0101100
[1,8,2,7,3,6,5,4]=>0101011
[2,1,3,8,4,7,5,6]=>1001010
[8,1,2,7,4,3,6,5]=>1001101
[8,7,2,1,5,4,3,6]=>1110110
[2,4,8,3,1,5,6,7]=>0011000
[4,7,3,8,2,1,5,6]=>0101100
[5,2,7,3,1,4,6,8]=>1011000
[8,3,7,2,1,5,4,6]=>1011010
[2,6,4,5,7,1,3,8]=>0100100
[7,6,3,1,8,4,5,2]=>1110101
[1,7,5,8,6,4,3,2]=>0101111
[6,5,1,2,8,3,7,4]=>1100101
[6,8,4,1,3,7,5,2]=>0110011
[5,8,3,1,7,4,6,2]=>0110101
[8,3,1,7,5,4,6,2]=>1101101
[1,2,8,7,6,3,5,4]=>0011101
[2,3,1,8,7,4,5,6]=>0101100
[2,4,1,8,5,7,3,6]=>0101010
[5,8,2,1,7,6,3,4]=>0110110
[6,2,7,1,8,5,3,4]=>1010110
[8,7,1,6,5,4,3,2]=>1101111
[7,1,8,3,6,5,4,2]=>1010111
[3,5,8,7,2,6,4,1]=>0011011
[5,8,2,7,1,6,4,3]=>0101011
[2,1,6,4,5,8,3,7]=>1010010
[8,6,3,7,5,2,1,4]=>1101110
[4,6,3,8,5,2,1,7]=>0101110
[4,6,3,7,5,2,8,1]=>0101101
[3,5,7,8,2,6,1,4]=>0001010
[7,2,3,4,6,8,5,1]=>1000011
[4,2,3,6,1,5,8,7]=>1001001
[4,8,3,7,5,1,6,2]=>0101101
[5,2,3,4,8,7,1,6]=>1000110
[5,2,3,4,6,8,1,7]=>1000010
[4,2,8,5,7,6,1,3]=>1010110
[3,7,6,4,5,1,8,2]=>0110101
[3,8,6,4,5,1,2,7]=>0110100
[4,8,3,7,5,2,1,6]=>0101110
[8,7,3,6,5,1,2,4]=>1101100
[4,2,7,5,8,6,3,1]=>1010111
[5,8,1,7,3,6,4,2]=>0101011
[5,2,7,8,4,6,3,1]=>1001011
[5,2,8,3,7,6,1,4]=>1010110
[8,2,7,3,1,6,4,5]=>1011010
[6,2,3,4,8,5,1,7]=>1000110
[6,2,3,4,1,8,5,7]=>1001010
[7,2,3,4,1,8,6,5]=>1001011
[7,2,3,4,1,5,8,6]=>1001001
[1,2,3,4,8,7,5,6]=>0000110
[1,2,8,5,3,4,6,7]=>0011000
[1,8,4,2,3,5,6,7]=>0110000
[8,6,7,4,1,5,3,2]=>1011011
[4,8,6,7,5,1,3,2]=>0101101
[7,1,8,4,6,5,2,3]=>1010110
[8,7,1,5,4,6,2,3]=>1101010
[8,5,7,1,4,6,3,2]=>1010011
[6,4,8,5,1,7,3,2]=>1011011
[4,8,5,7,1,6,3,2]=>0101011
[8,4,7,1,5,6,3,2]=>1010011
[8,7,1,4,5,6,3,2]=>1100011
[8,7,4,5,6,1,3,2]=>1100101
[8,7,5,1,4,6,2,3]=>1110010
[8,7,2,5,1,4,6,3]=>1101001
[4,8,7,2,5,1,6,3]=>0110101
[1,6,4,8,5,2,7,3]=>0101101
[8,7,1,4,2,5,6,3]=>1101001
[8,7,5,1,2,4,6,3]=>1110001
[7,1,8,5,6,2,3,4]=>1010100
[3,8,7,1,2,5,6,4]=>0110001
[3,5,8,7,1,2,6,4]=>0011001
[2,3,8,5,7,1,6,4]=>0010101
[3,8,7,1,5,6,2,4]=>0110010
[3,5,8,7,1,6,2,4]=>0011010
[2,3,8,6,7,5,1,4]=>0010110
[3,2,8,6,7,5,1,4]=>1010110
[4,1,8,6,2,7,5,3]=>1011011
[8,7,4,1,2,6,5,3]=>1110011
[1,3,8,6,7,5,2,4]=>0010110
[5,7,1,8,2,6,3,4]=>0101010
[2,8,7,1,5,6,3,4]=>0110010
[8,7,1,5,2,4,6,3]=>1101001
[7,1,8,2,4,6,5,3]=>1010011
[1,6,2,8,4,7,5,3]=>0101011
[1,3,8,5,7,2,6,4]=>0010101
[1,8,3,7,2,5,6,4]=>0101001
[2,8,7,1,3,5,6,4]=>0110001
[5,7,1,8,2,3,6,4]=>0101001
[7,1,8,2,3,5,6,4]=>1010001
[8,6,3,7,4,1,5,2]=>1101101
[4,2,8,6,7,5,1,3]=>1010110
[8,4,2,7,5,6,1,3]=>1101010
[4,8,3,6,1,7,5,2]=>0101011
[8,3,4,7,5,1,6,2]=>1001101
[8,3,7,4,5,1,6,2]=>1010101
[8,7,4,2,5,6,1,3]=>1110010
[8,7,5,1,6,2,3,4]=>1110100
[8,7,2,4,1,5,6,3]=>1101001
[4,8,6,1,7,2,5,3]=>0110101
[4,7,1,8,2,6,5,3]=>0101011
[4,2,8,6,7,1,5,3]=>1010101
[8,7,4,1,2,5,6,3]=>1110001
[8,2,7,1,6,3,4,5]=>1010100
[8,2,7,1,3,6,4,5]=>1010010
[2,8,3,6,7,1,5,4]=>0100101
[8,7,2,1,3,5,6,4]=>1110001
[1,8,7,2,3,6,4,5]=>0110010
[1,8,7,2,6,3,4,5]=>0110100
[8,2,7,3,6,1,4,5]=>1010100
[1,8,7,3,6,2,4,5]=>0110100
[1,8,2,7,6,3,4,5]=>0101100
[8,2,7,4,1,5,6,3]=>1011001
[8,2,1,7,5,6,3,4]=>1101010
[8,7,3,1,5,6,2,4]=>1110010
[2,8,7,3,5,6,1,4]=>0110010
[8,3,1,6,7,5,2,4]=>1100110
[8,5,2,1,6,7,4,3]=>1110011
[1,5,2,8,6,7,4,3]=>0101011
[1,2,8,6,7,5,3,4]=>0010110
[1,8,3,6,7,5,2,4]=>0100110
[8,2,3,6,7,5,1,4]=>1000110
[8,3,7,2,5,6,1,4]=>1010010
[8,1,3,7,5,6,2,4]=>1001010
[8,4,1,2,7,5,6,3]=>1100101
[8,1,4,2,6,7,5,3]=>1010011
[1,2,8,6,7,3,5,4]=>0010101
[8,1,2,7,3,6,4,5]=>1001010
[8,1,7,3,6,2,4,5]=>1010100
[8,1,7,2,6,3,4,5]=>1010100
[8,1,7,2,3,6,4,5]=>1010010
[8,1,3,7,2,5,6,4]=>1001001
[1,8,3,6,7,2,5,4]=>0100101
[1,7,8,2,3,6,5,4]=>0010011
[8,3,7,1,2,5,6,4]=>1010001
[8,7,1,2,3,6,4,5]=>1100010
[2,8,5,7,4,6,3,1]=>0101011
[3,1,8,5,7,4,2,6]=>1010110
[8,3,5,7,4,2,6,1]=>1001101
[8,3,6,2,4,5,7,1]=>1010001
[2,8,6,4,3,5,7,1]=>0111001
[2,6,8,3,5,4,7,1]=>0010101
[2,7,5,8,4,6,3,1]=>0101011
[8,4,2,7,6,1,3,5]=>1101100
[4,8,1,7,6,3,2,5]=>0101110
[4,1,7,6,2,3,5,8]=>1011000
[3,7,1,8,6,2,5,4]=>0101101
[3,1,7,6,4,5,2,8]=>1011010
[3,1,7,5,8,4,2,6]=>1010110
[3,1,6,8,7,5,2,4]=>1001110
[6,3,8,7,5,2,4,1]=>1011101
[7,3,5,8,4,2,6,1]=>1001101
[7,3,6,4,2,8,5,1]=>1011011
[7,8,3,6,2,5,4,1]=>0101011
[7,4,8,2,1,6,3,5]=>1011010
[8,7,4,6,3,2,5,1]=>1101101
[7,8,5,2,1,4,3,6]=>0111010
[7,5,2,3,1,4,8,6]=>1101001
[7,4,6,2,3,8,1,5]=>1010010
[6,4,2,5,8,3,7,1]=>1100101
[4,6,5,8,1,3,2,7]=>0101010
[4,7,1,5,3,8,2,6]=>0101010
[4,7,8,1,3,6,2,5]=>0010010
[5,7,1,3,4,6,2,8]=>0100010
[5,7,1,4,2,3,6,8]=>0101000
[5,8,1,3,2,4,6,7]=>0101000
[4,8,6,1,3,2,7,5]=>0110101
[8,4,6,2,1,3,7,5]=>1011001
[5,4,8,7,2,3,6,1]=>1011001
[5,4,8,7,3,1,2,6]=>1011100
[6,8,3,7,2,5,4,1]=>0101011
[5,4,6,8,2,3,7,1]=>1001001
[5,7,4,2,8,3,6,1]=>0110101
[6,4,7,2,1,8,3,5]=>1011010
[6,5,3,4,1,2,8,7]=>1101001
[6,8,5,4,1,3,2,7]=>0111010
[6,4,3,7,1,5,2,8]=>1101010
[7,4,2,6,1,5,3,8]=>1101010
[7,4,2,5,6,1,3,8]=>1100100
[6,4,2,8,1,5,7,3]=>1101001
[6,3,7,8,2,5,1,4]=>1001010
[7,3,5,6,4,2,1,8]=>1001110
[7,4,3,1,5,6,2,8]=>1110010
[7,4,5,2,6,1,3,8]=>1010100
[5,3,7,2,8,6,4,1]=>1010111
[5,3,8,2,6,7,4,1]=>1010011
[6,3,8,2,5,4,7,1]=>1010101
[6,4,8,2,1,5,7,3]=>1011001
[6,4,3,1,8,2,7,5]=>1110101
[5,3,7,8,2,6,4,1]=>1001011
[4,7,8,5,6,3,2,1]=>0010111
[5,3,7,6,8,2,4,1]=>1010101
[5,7,8,4,6,2,1,3]=>0010110
[5,8,4,3,6,7,1,2]=>0110010
[5,8,6,4,7,2,1,3]=>0110110
[5,3,8,6,2,7,4,1]=>1011011
[4,7,5,8,6,3,2,1]=>0101111
[4,8,6,7,5,3,2,1]=>0101111
[6,3,8,7,2,4,1,5]=>1011010
[5,3,8,7,2,6,4,1]=>1011011
[5,3,8,6,7,2,4,1]=>1010101
[5,3,7,8,6,2,4,1]=>1001101
[5,7,6,4,8,2,1,3]=>0110110
[5,8,4,6,7,2,1,3]=>0100110
[6,4,2,8,1,7,3,5]=>1101010
[6,5,2,4,3,7,8,1]=>1101001
[5,4,6,2,8,7,1,3]=>1010110
[5,6,3,8,7,2,4,1]=>0101101
[6,7,4,3,1,8,2,5]=>0111010
[5,7,4,3,6,8,1,2]=>0110010
[5,7,3,8,6,2,4,1]=>0101101
[4,5,8,6,7,3,2,1]=>0010111
[4,6,8,5,7,3,2,1]=>0010111
[5,6,8,3,7,2,4,1]=>0010101
[5,4,6,8,2,7,1,3]=>1001010
[5,7,8,2,6,4,1,3]=>0010110
[1,7,4,8,6,2,3,5]=>0101100
[3,6,2,5,7,8,1,4]=>0100010
[5,2,7,4,6,8,1,3]=>1010010
[5,3,6,7,1,8,4,2]=>1001011
[4,2,5,6,7,1,8,3]=>1000101
[8,1,3,6,7,2,4,5]=>1000100
[8,1,4,2,5,6,3,7]=>1010010
[8,1,4,2,7,5,3,6]=>1010110
[6,1,3,8,2,7,4,5]=>1001010
[7,3,4,1,5,8,6,2]=>1010011
[1,7,5,2,8,6,3,4]=>0110110
[3,7,4,1,8,5,6,2]=>0110101
[5,6,3,1,7,8,4,2]=>0110011
[3,6,4,8,1,5,7,2]=>0101001
[1,5,8,4,2,6,3,7]=>0011010
[3,5,7,4,1,6,8,2]=>0011001
[3,5,7,1,2,6,4,8]=>0010010
[4,5,1,8,2,3,7,6]=>0101001
[4,7,1,8,2,6,3,5]=>0101010
[7,5,1,2,3,8,6,4]=>1100011
[6,4,1,2,7,3,8,5]=>1100101
[5,2,6,1,3,4,8,7]=>1010001
[7,8,4,5,1,3,2,6]=>0101010
[6,7,1,3,2,5,4,8]=>0101010
[6,7,1,4,3,5,2,8]=>0101010
[7,8,2,3,1,5,4,6]=>0101010
[7,8,2,4,3,5,1,6]=>0101010
[7,8,2,4,1,5,3,6]=>0101010
[1,4,2,6,5,7,3,8]=>0101010
[5,6,1,4,2,7,3,8]=>0101010
[6,7,2,4,1,5,3,8]=>0101010
[6,7,2,4,3,5,1,8]=>0101010
[6,7,2,3,1,5,4,8]=>0101010
[6,7,3,5,4,8,1,2]=>0101010
[2,4,1,6,5,7,3,8]=>0101010
[1,5,2,6,4,7,3,8]=>0101010
[2,5,1,6,4,7,3,8]=>0101010
[3,6,5,7,4,8,1,2]=>0101010
[5,6,2,4,3,7,1,8]=>0101010
[4,5,2,6,1,7,3,8]=>0101010
[4,5,1,6,3,7,2,8]=>0101010
[4,5,3,6,1,7,2,8]=>0101010
[5,6,3,4,1,7,2,8]=>0101010
[5,6,1,4,3,7,2,8]=>0101010
[5,6,1,3,2,7,4,8]=>0101010
[5,6,4,7,1,3,2,8]=>0101010
[6,7,4,5,1,3,2,8]=>0101010
[6,7,5,8,1,3,2,4]=>0101010
[4,5,1,3,2,7,6,8]=>0101010
[4,6,5,7,1,3,2,8]=>0101010
[4,6,1,3,2,7,5,8]=>0101010
[1,4,3,6,2,7,5,8]=>0101010
[3,4,1,6,5,7,2,8]=>0101010
[4,5,2,3,1,7,6,8]=>0101010
[4,5,3,7,6,8,1,2]=>0101010
[4,6,5,7,3,8,1,2]=>0101010
[4,6,5,7,2,3,1,8]=>0101010
[3,5,4,6,1,7,2,8]=>0101010
[3,5,1,6,4,7,2,8]=>0101010
[1,5,3,6,4,7,2,8]=>0101010
[1,5,3,6,2,7,4,8]=>0101010
[3,5,2,6,1,7,4,8]=>0101010
[3,5,2,6,4,7,1,8]=>0101010
[3,4,2,6,1,7,5,8]=>0101010
[4,6,2,3,1,7,5,8]=>0101010
[2,4,3,6,1,7,5,8]=>0101010
[2,5,3,6,4,7,1,8]=>0101010
[2,5,3,6,1,7,4,8]=>0101010
[3,6,2,7,5,4,8,1]=>0101101
[4,6,1,7,3,8,2,5]=>0101010
[5,2,6,7,4,3,8,1]=>1001101
[3,5,2,7,6,4,8,1]=>0101101
[1,5,7,2,8,3,6,4]=>0010101
[2,5,7,3,1,8,4,6]=>0011010
[1,3,7,2,8,5,6,4]=>0010101
[2,1,5,6,8,4,3,7]=>1000110
[1,3,7,2,8,5,4,6]=>0010110
[4,6,2,7,1,8,3,5]=>0101010
[1,5,4,3,6,8,2,7]=>0110010
[1,6,4,5,7,8,3,2]=>0100011
[2,1,5,6,8,4,7,3]=>1000101
[2,1,5,6,8,7,3,4]=>1000110
[3,6,5,2,7,8,4,1]=>0110011
[6,2,4,7,5,8,3,1]=>1001011
[1,5,7,8,4,2,6,3]=>0001101
[3,7,4,1,8,6,2,5]=>0110110
[3,4,6,8,5,7,2,1]=>0001011
[4,2,5,7,3,1,8,6]=>1001101
[4,5,6,2,8,7,3,1]=>0010111
[2,5,6,8,1,7,4,3]=>0001011
[4,5,6,1,8,7,3,2]=>0010111
[4,5,6,3,1,8,7,2]=>0011011
[4,3,6,2,1,7,5,8]=>1011010
[4,6,3,2,1,7,5,8]=>0111010
[4,6,3,1,7,5,2,8]=>0110110
[4,5,3,7,6,1,8,2]=>0101101
[4,5,1,7,3,8,6,2]=>0101011
[2,5,7,1,4,3,8,6]=>0010101
[4,3,5,7,6,1,8,2]=>1001101
[4,3,6,1,7,5,2,8]=>1010110
[4,3,2,6,1,7,5,8]=>1101010
[5,3,2,1,6,4,7,8]=>1110100
[5,3,1,6,2,7,4,8]=>1101010
[5,1,6,3,2,7,4,8]=>1011010
[2,6,1,4,7,5,3,8]=>0100110
[3,6,1,7,4,2,5,8]=>0101100
[4,6,1,7,5,3,2,8]=>0101110
[5,1,6,3,7,4,2,8]=>1010110
[5,3,6,4,2,1,7,8]=>1011100
[5,3,2,6,4,1,7,8]=>1101100
[5,2,1,6,3,7,4,8]=>1101010
[5,2,6,3,1,7,4,8]=>1011010
[4,2,6,3,1,7,8,5]=>1011001
[3,6,2,1,7,4,5,8]=>0110100
[3,6,2,7,4,1,5,8]=>0101100
[3,5,7,2,8,6,4,1]=>0010111
[2,4,7,1,3,6,5,8]=>0010010
[2,6,1,3,7,5,4,8]=>0100110
[3,6,1,7,5,2,4,8]=>0101100
[5,1,6,2,7,4,3,8]=>1010110
[5,2,6,4,3,1,7,8]=>1011100
[5,2,1,6,4,3,7,8]=>1101100
[5,4,2,1,6,3,7,8]=>1110100
[5,4,2,6,3,1,7,8]=>1101100
[5,4,1,6,2,7,3,8]=>1101010
[5,1,6,4,2,7,3,8]=>1011010
[3,6,1,7,5,4,8,2]=>0101101
[2,6,1,5,4,3,7,8]=>0101100
[3,1,6,2,5,4,7,8]=>1010100
[5,1,6,4,3,2,7,8]=>1011100
[5,4,1,6,3,2,7,8]=>1101100
[5,4,3,1,6,2,7,8]=>1110100
[7,3,1,6,5,4,8,2]=>1101101
[7,2,8,1,5,4,3,6]=>1010110
[4,2,7,6,5,8,1,3]=>1011010
[3,8,2,6,5,4,1,7]=>0101110
[7,3,2,1,5,4,6,8]=>1110100
[7,2,8,6,1,4,3,5]=>1011010
[5,2,7,6,8,4,1,3]=>1010110
[3,8,7,2,5,4,1,6]=>0110110
[7,5,1,6,8,4,3,2]=>1100111
[7,4,2,1,5,6,3,8]=>1110010
[7,2,8,6,5,1,3,4]=>1011100
[5,3,2,6,7,4,1,8]=>1100110
[4,3,7,2,5,6,1,8]=>1010010
[6,7,1,4,3,2,5,8]=>0101100
[3,4,2,6,7,1,5,8]=>0100100
[3,7,1,6,5,2,4,8]=>0101100
[3,5,6,2,4,7,1,8]=>0010010
[3,5,8,7,2,4,6,1]=>0011001
[1,7,8,2,5,4,3,6]=>0010110
[8,7,2,5,4,3,6,1]=>1101101
[2,5,6,4,7,1,3,8]=>0010100
[4,7,1,6,3,5,2,8]=>0101010
[4,5,3,8,7,2,6,1]=>0101101
[1,4,5,3,7,8,2,6]=>0010010
[1,4,8,2,7,6,3,5]=>0010110
[4,7,3,5,1,8,6,2]=>0101011
[8,7,3,6,1,5,4,2]=>1101011
[2,5,8,7,4,6,1,3]=>0011010
[5,4,2,1,7,8,3,6]=>1110010
[4,7,8,3,5,2,1,6]=>0010110
[4,7,6,2,1,8,3,5]=>0111010
[1,4,6,7,3,5,8,2]=>0001001
[8,3,6,2,1,7,5,4]=>1011011
[8,3,7,6,4,2,1,5]=>1011110
[2,3,1,8,4,7,6,5]=>0101011
[2,7,4,8,6,5,1,3]=>0101110
[8,6,5,1,4,7,3,2]=>1110011
[8,5,4,1,7,3,6,2]=>1110101
[6,3,7,2,8,5,4,1]=>1010111
[1,6,3,8,2,7,5,4]=>0101011
[1,7,5,3,8,2,6,4]=>0110101
[6,2,7,4,1,8,5,3]=>1011011
[8,6,3,2,7,5,1,4]=>1110110
[2,7,5,1,3,8,6,4]=>0110011
[1,7,6,4,3,8,2,5]=>0111010
[3,7,2,4,8,6,5,1]=>0100111
[3,4,2,8,7,6,1,5]=>0101110
[5,1,4,3,2,7,8,6]=>1011001
[3,7,8,5,2,4,1,6]=>0011010
[3,7,6,2,4,1,8,5]=>0110101
[1,6,8,2,5,7,4,3]=>0010011
[6,7,2,5,8,4,3,1]=>0100111
[5,2,7,8,4,3,1,6]=>1001110
[5,3,1,7,8,4,2,6]=>1100110
[2,7,6,4,1,3,8,5]=>0111001
[4,1,7,6,3,2,8,5]=>1011101
[8,4,2,7,6,3,1,5]=>1101110
[6,3,1,7,5,2,8,4]=>1101101
[6,2,7,5,3,1,8,4]=>1011101
[1,5,8,2,7,4,6,3]=>0010101
[5,7,2,8,4,6,3,1]=>0101011
[5,7,3,1,8,4,6,2]=>0110101
[8,4,7,3,1,6,5,2]=>1011011
[2,6,8,5,7,4,1,3]=>0010110
[6,5,2,1,7,4,8,3]=>1110101
[5,7,4,6,2,1,8,3]=>0101101
[5,6,4,8,3,7,2,1]=>0101011
[6,7,1,8,3,4,2,5]=>0101010
[7,8,3,5,1,4,2,6]=>0101010
[5,6,2,7,1,8,3,4]=>0101010
[6,7,2,4,3,8,1,5]=>0101010
[2,4,3,8,6,7,1,5]=>0101010
[1,8,2,7,4,5,3,6]=>0101010
[2,5,4,8,3,6,1,7]=>0101010
[2,3,1,8,5,6,4,7]=>0101010
[3,8,5,6,4,7,1,2]=>0101010
[5,7,3,6,4,8,1,2]=>0101010
[5,7,2,3,1,6,4,8]=>0101010
[5,7,2,4,3,6,1,8]=>0101010
[4,6,2,7,1,5,3,8]=>0101010
[4,7,1,6,2,5,3,8]=>0101010
[4,7,1,5,3,6,2,8]=>0101010
[4,6,3,5,1,7,2,8]=>0101010
[6,7,3,5,1,4,2,8]=>0101010
[5,6,3,7,1,4,2,8]=>0101010
[5,7,1,6,3,4,2,8]=>0101010
[1,8,5,6,3,4,2,7]=>0101010
[1,8,5,6,4,7,2,3]=>0101010
[5,7,1,6,4,8,2,3]=>0101010
[4,6,5,8,1,7,2,3]=>0101010
[3,7,1,4,2,8,5,6]=>0101010
[3,5,1,4,2,8,6,7]=>0101010
[4,6,5,8,3,7,1,2]=>0101010
[4,6,5,8,2,3,1,7]=>0101010
[3,4,2,6,5,8,1,7]=>0101010
[3,5,4,6,2,8,1,7]=>0101010
[1,8,3,5,4,7,2,6]=>0101010
[3,4,2,7,1,8,5,6]=>0101010
[4,7,2,3,1,8,5,6]=>0101010
[2,4,3,8,1,7,5,6]=>0101010
[2,5,3,8,4,7,1,6]=>0101010
[2,6,3,8,1,7,4,5]=>0101010
[2,7,1,8,3,6,4,5]=>0101010
[1,2,8,7,4,6,3,5]=>0011010
[4,5,1,8,7,6,2,3]=>0101110
[4,1,5,8,7,6,2,3]=>1001110
[4,5,7,8,2,6,3,1]=>0001011
[5,2,6,8,3,7,4,1]=>1001011
[3,1,6,8,7,4,5,2]=>1001101
[6,1,4,8,7,2,5,3]=>1001101
[6,1,8,4,7,3,5,2]=>1010101
[4,6,7,8,2,5,3,1]=>0001011
[7,4,5,2,8,6,3,1]=>1010111
[7,5,8,4,2,6,3,1]=>1011011
[6,8,4,5,2,7,3,1]=>0101011
[6,8,2,5,3,7,4,1]=>0101011
[6,3,8,4,2,7,5,1]=>1011011
[7,2,5,3,8,6,4,1]=>1010111
[3,4,7,5,8,6,2,1]=>0010111
[3,6,7,4,8,5,2,1]=>0010111
[6,7,4,2,8,5,3,1]=>0110111
[4,7,5,2,8,6,3,1]=>0110111
[2,7,5,3,8,6,4,1]=>0110111
[5,6,2,8,3,7,4,1]=>0101011
[1,5,8,2,7,3,6,4]=>0010101
[5,8,4,7,2,3,6,1]=>0101001
[6,7,4,8,1,5,3,2]=>0101011
[1,7,4,8,6,2,5,3]=>0101101
[6,8,5,3,7,2,4,1]=>0110101
[6,8,5,2,3,7,4,1]=>0110011
[7,5,3,8,2,6,4,1]=>1101011
[7,5,2,3,8,6,4,1]=>1100111
[3,7,4,5,8,6,2,1]=>0100111
[6,7,3,4,8,5,2,1]=>0100111
[3,6,4,7,8,5,2,1]=>0100111
[6,4,2,7,8,5,3,1]=>1100111
[7,4,2,5,8,6,3,1]=>1100111
[6,8,4,2,5,7,3,1]=>0110011
[7,5,8,3,4,6,2,1]=>1010011
[7,4,5,8,1,6,3,2]=>1001011
[6,3,4,7,8,5,2,1]=>1000111
[6,1,7,3,4,5,8,2]=>1010001
[5,7,2,3,4,1,8,6]=>0100101
[2,7,1,8,4,5,6,3]=>0101001
[2,6,8,3,4,5,1,7]=>0010010
[6,1,2,7,4,5,8,3]=>1001001
[4,7,2,3,1,5,8,6]=>0101001
[2,7,1,3,8,5,6,4]=>0100101
[2,6,7,8,4,5,3,1]=>0001011
[2,5,8,3,4,1,6,7]=>0010100
[5,6,2,7,4,3,8,1]=>0101101
[4,6,7,3,2,5,8,1]=>0011001
[2,6,7,3,8,5,4,1]=>0010111
[2,6,1,8,4,5,3,7]=>0101010
[2,5,7,8,4,3,6,1]=>0001101
[3,6,8,4,5,7,1,2]=>0010010
[1,6,8,4,7,2,3,5]=>0010100
[1,4,5,7,8,2,6,3]=>0000101
[3,4,5,7,8,6,1,2]=>0000110
[3,4,5,7,6,8,1,2]=>0001010
[3,6,7,4,8,5,1,2]=>0010110
[3,4,5,6,8,7,1,2]=>0000110
[1,4,5,8,7,2,3,6]=>0001100
[1,2,5,8,3,6,4,7]=>0001010
[1,4,5,8,6,2,3,7]=>0001100
[7,8,1,4,6,2,3,5]=>0100100
[1,6,7,4,8,2,5,3]=>0010101
[1,4,5,6,8,2,7,3]=>0000101
[1,4,5,8,6,2,7,3]=>0001101
[1,2,5,8,3,4,7,6]=>0001001
[1,6,7,2,3,5,8,4]=>0010001
[7,8,1,2,3,5,4,6]=>0100010
[1,6,7,2,3,5,4,8]=>0010010
[1,4,5,7,6,2,3,8]=>0001100
[1,2,5,7,3,6,4,8]=>0001010
[1,2,5,7,3,6,8,4]=>0001001
[1,6,8,2,3,5,7,4]=>0010001
[1,6,8,4,5,2,3,7]=>0010100
[1,6,8,4,5,2,7,3]=>0010101
[1,6,8,2,3,4,7,5]=>0010001
[1,6,8,2,3,7,4,5]=>0010010
[1,4,5,7,6,2,8,3]=>0001101
[7,8,1,4,5,2,6,3]=>0100101
[7,8,1,2,3,4,6,5]=>0100001
[7,8,1,2,3,6,4,5]=>0100010
[1,6,7,2,3,8,5,4]=>0010011
[1,2,5,6,3,8,7,4]=>0001011
[4,2,1,6,5,3,8,7]=>1101101
[8,2,4,3,1,6,5,7]=>1011010
[6,2,4,3,1,8,7,5]=>1011011
[4,2,6,3,5,1,8,7]=>1010101
[4,6,2,1,5,8,7,3]=>0110011
[4,6,5,2,1,8,7,3]=>0111011
[2,1,6,4,3,8,7,5]=>1011011
[4,8,2,1,6,7,3,5]=>0110010
[6,8,2,1,4,3,7,5]=>0110101
[8,6,2,4,3,1,5,7]=>1101100
[6,8,2,4,3,1,7,5]=>0101101
[6,8,7,2,4,3,1,5]=>0110110
[2,1,8,4,6,5,3,7]=>1010110
[2,1,6,4,8,5,7,3]=>1010101
[4,6,5,2,8,3,7,1]=>0110101
[2,6,4,5,8,3,7,1]=>0100101
[6,4,2,8,3,5,7,1]=>1101001
[8,4,2,6,3,5,1,7]=>1101010
[6,2,4,8,5,3,7,1]=>1001101
[4,2,6,3,5,8,7,1]=>1010011
[4,2,6,3,8,7,5,1]=>1010111
[6,2,4,3,8,5,7,1]=>1010101
[8,2,4,3,6,5,1,7]=>1010110
[8,2,1,4,6,5,3,7]=>1100110
[6,2,1,4,8,5,7,3]=>1100101
[6,2,1,8,7,4,3,5]=>1101110
[6,2,1,8,4,3,7,5]=>1101101
[8,4,6,5,2,1,3,7]=>1011100
[6,4,8,5,2,1,7,3]=>1011101
[6,4,8,5,7,2,1,3]=>1010110
[4,6,8,7,5,2,1,3]=>0011110
[2,1,4,8,6,7,3,5]=>1001010
[2,6,8,7,4,5,1,3]=>0011010
[2,4,8,6,7,5,1,3]=>0010110
[4,2,8,6,5,7,1,3]=>1011010
[8,2,6,4,5,1,3,7]=>1010100
[8,4,6,2,1,5,3,7]=>1011010
[4,6,8,7,2,1,5,3]=>0011101
[4,6,5,8,2,1,7,3]=>0101101
[2,1,6,8,4,3,7,5]=>1001101
[6,8,7,4,2,1,3,5]=>0111100
[2,8,6,4,7,1,3,5]=>0110100
[4,8,6,2,1,7,3,5]=>0111010
[2,8,5,3,1,4,6,7]=>0111000
[2,7,4,8,3,5,1,6]=>0101010
[2,7,4,8,3,5,6,1]=>0101001
[7,2,8,4,3,5,1,6]=>1011010
[8,4,2,1,5,3,6,7]=>1110100
[8,5,1,4,2,3,6,7]=>1101000
[8,4,1,5,3,2,6,7]=>1101100
[6,7,3,8,4,2,5,1]=>0101101
[6,7,3,8,4,2,1,5]=>0101110
[7,1,8,4,3,5,2,6]=>1011010
[1,7,8,4,3,5,2,6]=>0011010
[7,1,4,8,3,5,2,6]=>1001010
[7,4,8,1,5,6,2,3]=>1010010
[7,1,8,4,3,5,6,2]=>1011001
[6,7,3,1,8,4,5,2]=>0110101
[6,7,3,8,4,5,2,1]=>0101011
[6,7,1,4,8,3,5,2]=>0100101
[6,7,4,1,3,8,2,5]=>0110010
[1,6,7,8,4,3,2,5]=>0001110
[7,2,1,8,4,5,3,6]=>1101010
[6,2,7,1,8,4,3,5]=>1010110
[6,2,7,8,4,3,1,5]=>1001110
[6,2,7,8,4,3,5,1]=>1001101
[2,6,7,4,8,3,5,1]=>0010101
[2,6,7,4,8,3,1,5]=>0010110
[7,8,1,3,6,2,4,5]=>0100100
[1,2,7,8,6,3,4,5]=>0001100
[2,6,7,1,8,5,3,4]=>0010110
[2,6,7,8,5,3,1,4]=>0001110
[2,6,7,8,5,3,4,1]=>0001101
[6,2,7,8,4,5,3,1]=>1001011
[7,2,1,8,4,5,6,3]=>1101001
[1,7,2,8,4,5,6,3]=>0101001
[3,7,8,1,5,6,2,4]=>0010010
[6,3,7,8,1,5,2,4]=>1001010
[6,7,1,2,8,5,3,4]=>0100110
[1,6,7,8,4,2,5,3]=>0001101
[3,1,2,7,6,5,8,4]=>1001101
[6,1,2,4,7,3,8,5]=>1000101
[1,7,5,3,6,4,8,2]=>0110101
[5,1,2,6,7,4,8,3]=>1000101
[4,1,5,7,3,2,6,8]=>1001100
[4,6,1,7,3,2,5,8]=>0101100
[4,6,1,8,3,2,5,7]=>0101100
[4,7,1,8,3,5,2,6]=>0101010
[4,1,7,8,6,2,3,5]=>1001100
[1,6,5,7,8,3,4,2]=>0100101
[1,6,5,8,7,3,4,2]=>0101101
[4,1,8,7,6,2,3,5]=>1011100
[4,8,1,7,3,5,2,6]=>0101010
[4,8,1,6,3,2,5,7]=>0101100
[4,7,1,6,3,2,5,8]=>0101100
[6,1,2,3,7,5,4,8]=>1000110
[6,8,1,5,3,7,2,4]=>0101010
[8,7,5,2,4,1,6,3]=>1110101
[1,5,7,3,4,8,6,2]=>0010011
[1,5,8,3,4,7,6,2]=>0010011
[7,8,5,2,4,1,6,3]=>0110101
[7,1,2,3,5,6,4,8]=>1000010
[8,1,2,3,5,6,4,7]=>1000010
[8,1,2,3,5,4,7,6]=>1000101
[7,1,8,4,6,3,2,5]=>1010110
[6,8,2,4,3,1,5,7]=>0101100
[6,7,2,4,3,1,5,8]=>0101100
[3,8,1,2,4,5,7,6]=>0100001
[3,7,1,8,6,4,2,5]=>0101110
[1,6,4,3,7,5,8,2]=>0110101
[3,1,2,6,7,5,8,4]=>1000101
[3,8,1,7,6,4,2,5]=>0101110
[7,6,2,4,3,1,5,8]=>1101100
[8,7,2,4,3,5,1,6]=>1101010
[8,1,7,4,6,3,2,5]=>1010110
[8,1,7,6,5,3,2,4]=>1011110
[1,5,7,3,4,6,8,2]=>0010001
[8,7,2,5,3,6,1,4]=>1101010
[7,1,2,3,5,4,8,6]=>1000101
[6,1,2,3,5,8,4,7]=>1000010
[6,1,2,3,5,7,4,8]=>1000010
[5,1,2,3,7,6,4,8]=>1000110
[5,1,2,3,8,6,4,7]=>1000110
[1,5,6,3,4,7,8,2]=>0010001
[8,6,5,2,4,7,1,3]=>1110010
[7,6,2,5,3,1,8,4]=>1101101
[7,4,5,2,3,8,6,1]=>1010011
[8,2,3,7,4,5,1,6]=>1001010
[8,4,7,3,2,5,1,6]=>1011010
[5,4,6,3,1,2,8,7]=>1011001
[4,6,2,3,1,5,8,7]=>0101001
[7,2,3,4,5,8,6,1]=>1000011
[8,2,3,4,5,7,1,6]=>1000010
[7,3,4,6,8,5,1,2]=>1000110
[4,7,3,2,8,6,1,5]=>0110110
[3,7,4,5,1,8,6,2]=>0101011
[3,8,2,6,7,4,5,1]=>0100101
[4,8,1,5,6,7,3,2]=>0100011
[5,8,2,4,6,7,1,3]=>0100010
[6,8,1,3,4,2,7,5]=>0100101
[5,8,2,4,3,1,7,6]=>0101101
[2,1,7,6,8,5,3,4]=>1010110
[3,7,6,1,8,5,2,4]=>0110110
[4,7,2,3,8,5,1,6]=>0100110
[7,1,3,6,4,8,5,2]=>1001011
[7,6,1,4,8,5,2,3]=>1100110
[6,2,3,7,8,5,4,1]=>1000111
[6,2,3,8,4,5,1,7]=>1001010
[7,2,3,6,8,4,1,5]=>1000110
[8,2,3,5,7,1,4,6]=>1000100
[6,4,8,3,5,1,7,2]=>1010101
[5,4,8,3,6,7,1,2]=>1010010
[3,5,1,8,4,6,7,2]=>0101001
[3,6,1,8,4,5,2,7]=>0101010
[4,6,8,3,5,2,7,1]=>0010101
[5,7,8,3,2,4,1,6]=>0011010
[4,8,2,3,5,6,1,7]=>0100010
[6,8,2,3,1,4,5,7]=>0101000
[5,2,7,4,8,3,1,6]=>1010110
[3,7,8,2,1,4,6,5]=>0011001
[3,7,5,2,8,4,1,6]=>0110110
[6,3,2,4,1,8,7,5]=>1101011
[7,2,3,4,8,5,1,6]=>1000110
[5,7,3,1,4,2,6,8]=>0110100
[3,7,4,1,8,2,5,6]=>0110100
[6,3,7,4,8,1,2,5]=>1010100
[8,3,7,4,2,6,1,5]=>1011010
[3,7,4,1,5,6,2,8]=>0110010
[1,8,3,2,4,5,7,6]=>0110001
[8,4,1,6,3,7,5,2]=>1101011
[8,7,4,2,1,6,3,5]=>1111010
[8,3,5,2,7,4,1,6]=>1010110
[1,5,3,8,7,6,4,2]=>0101111
[7,2,4,8,1,3,6,5]=>1001001
[1,2,8,7,5,6,3,4]=>0011010
[3,1,8,6,7,5,2,4]=>1010110
[1,4,8,6,5,7,2,3]=>0011010
[1,6,5,4,8,2,3,7]=>0110100
[5,1,6,8,3,4,2,7]=>1001010
[6,2,5,1,7,4,3,8]=>1010110
[5,2,1,8,7,4,3,6]=>1101110
[5,2,6,3,8,1,4,7]=>1010100
[5,2,8,3,4,6,1,7]=>1010010
[6,2,8,4,3,1,7,5]=>1011101
[7,2,8,1,3,6,5,4]=>1010011
[7,3,8,1,4,6,2,5]=>1010010
[1,7,8,5,4,6,3,2]=>0011011
[1,5,8,4,6,3,7,2]=>0010101
[5,3,8,4,1,2,7,6]=>1011001
[5,8,4,3,6,2,1,7]=>0110110
[1,8,3,6,5,2,7,4]=>0101101
[1,8,2,4,7,6,5,3]=>0100111
[3,8,1,4,6,7,5,2]=>0100011
[3,8,2,5,1,7,6,4]=>0101011
[4,3,8,2,5,1,6,7]=>1010100
[8,2,4,3,5,1,7,6]=>1010101
[8,2,1,4,6,5,7,3]=>1100101
[8,1,3,4,5,7,6,2]=>1000011
[6,1,5,2,4,7,8,3]=>1010001
[4,1,8,5,2,7,6,3]=>1011011
[4,8,5,1,3,6,2,7]=>0110010
[3,6,1,5,7,2,8,4]=>0100101
[6,3,1,2,8,5,7,4]=>1100101
[4,1,8,2,3,7,5,6]=>1010010
[5,3,8,7,2,1,4,6]=>1011100
[6,7,3,5,1,4,8,2]=>0101001
[6,4,7,5,8,2,3,1]=>1010101
[5,7,8,4,2,6,3,1]=>0011011
[5,7,4,1,6,8,3,2]=>0110011
[5,8,4,6,1,7,3,2]=>0101011
[5,6,1,4,7,8,3,2]=>0100011
[5,6,3,7,4,8,2,1]=>0101011
[5,3,6,7,4,8,2,1]=>1001011
[5,3,2,8,6,7,4,1]=>1101011
[5,4,8,2,6,7,3,1]=>1010011
[5,4,8,6,2,7,3,1]=>1011011
[7,4,8,5,6,2,1,3]=>1010110
[5,6,3,8,4,7,2,1]=>0101011
[5,6,3,8,2,7,4,1]=>0101011
[4,3,7,2,8,6,5,1]=>1010111
[6,7,3,8,5,2,4,1]=>0101101
[6,2,7,5,1,4,8,3]=>1011001
[3,5,7,8,4,6,2,1]=>0001011
[5,3,7,8,4,6,2,1]=>1001011
[5,7,8,2,4,6,3,1]=>0010011
[2,5,8,4,3,7,6,1]=>0011011
[3,7,4,8,6,2,1,5]=>0101110
[3,6,4,8,7,2,5,1]=>0101101
[3,5,4,8,2,7,6,1]=>0101011
[4,5,7,3,8,6,2,1]=>0010111
[3,5,6,8,4,7,2,1]=>0001011
[6,3,1,8,7,5,4,2]=>1101111
[5,4,8,1,7,6,3,2]=>1010111
[5,8,4,1,7,6,3,2]=>0110111
[7,5,4,1,8,6,3,2]=>1110111
[8,5,4,1,7,6,3,2]=>1110111
[1,8,2,5,6,3,4,7]=>0100100
[7,2,8,4,5,1,3,6]=>1010100
[1,3,7,5,6,2,4,8]=>0010100
[1,6,7,4,3,5,2,8]=>0011010
[1,8,5,2,3,7,4,6]=>0110010
[1,8,2,5,3,6,7,4]=>0101001
[2,6,8,4,3,5,7,1]=>0011001
[7,5,8,3,2,1,6,4]=>1011101
[7,2,8,4,1,5,6,3]=>1011001
[7,5,8,1,2,6,3,4]=>1010010
[1,6,7,4,3,2,8,5]=>0011101
[1,5,2,6,4,7,8,3]=>0101001
[1,5,4,6,2,3,7,8]=>0101000
[6,2,5,7,1,4,8,3]=>1001001
[6,5,4,3,8,1,7,2]=>1110101
[7,3,6,8,5,2,4,1]=>1001101
[2,7,8,3,6,5,1,4]=>0010110
[2,7,8,5,4,6,3,1]=>0011011
[2,6,5,8,3,4,1,7]=>0101010
[2,6,5,7,3,4,1,8]=>0101010
[6,2,5,7,4,1,3,8]=>1001100
[6,2,5,8,4,1,3,7]=>1001100
[2,7,8,4,6,1,3,5]=>0010100
[6,1,2,8,3,7,4,5]=>1001010
[6,1,2,8,5,4,7,3]=>1001101
[6,2,5,7,8,1,3,4]=>1000100
[1,5,4,2,6,7,3,8]=>0110010
[2,6,5,7,3,8,1,4]=>0101010
[1,6,2,7,5,8,4,3]=>0101011
[1,3,2,7,8,5,6,4]=>0100101
[1,6,2,4,8,7,3,5]=>0100110
[6,5,2,1,8,7,3,4]=>1110110
[2,6,5,3,7,8,4,1]=>0110011
[6,2,5,3,8,4,7,1]=>1010101
[6,5,2,3,8,7,1,4]=>1100110
[5,4,1,2,3,8,6,7]=>1100010
[5,1,4,2,3,7,8,6]=>1010001
[1,5,4,2,6,3,8,7]=>0110101
[5,1,6,3,8,2,7,4]=>1010101
[1,8,7,6,2,5,4,3]=>0111011
[5,2,7,4,1,6,3,8]=>1011010
[4,7,3,1,5,6,2,8]=>0110010
[5,8,3,4,1,6,7,2]=>0101001
[1,7,8,4,5,6,2,3]=>0010010
[1,5,8,4,2,6,7,3]=>0011001
[1,6,3,8,5,2,7,4]=>0101101
[6,2,3,7,5,1,4,8]=>1001100
[1,7,3,4,8,6,2,5]=>0100110
[8,7,3,2,1,6,5,4]=>1111011
[8,7,6,3,1,5,2,4]=>1111010
[8,5,1,7,2,3,4,6]=>1101000
[2,4,8,5,3,7,1,6]=>0011010
[2,4,1,8,5,3,7,6]=>0101101
[2,4,8,6,3,1,7,5]=>0011101
[3,4,6,8,2,1,7,5]=>0001101
[3,4,1,5,8,2,7,6]=>0100101
[8,1,4,5,3,2,7,6]=>1001101
[3,4,1,5,2,8,7,6]=>0101011
[3,4,6,2,1,8,7,5]=>0011011
[3,5,6,2,1,7,8,4]=>0011001
[3,4,6,2,7,8,1,5]=>0010010
[8,1,4,6,3,7,2,5]=>1001010
[8,1,4,6,3,7,5,2]=>1001011
[3,5,6,2,1,7,4,8]=>0011010
[8,1,5,6,7,3,4,2]=>1000101
[8,1,5,6,7,3,2,4]=>1000110
[3,4,1,6,8,7,2,5]=>0100110
[3,5,6,1,8,7,2,4]=>0010110
[2,1,3,8,6,7,4,5]=>1001010
[8,1,3,2,6,7,5,4]=>1010011
[2,3,8,6,7,1,5,4]=>0010101
[2,4,1,8,6,7,5,3]=>0101011
[2,5,8,6,1,7,4,3]=>0011011
[3,5,6,1,8,7,4,2]=>0010111
[3,4,1,6,8,7,5,2]=>0100111
[3,4,6,8,7,1,5,2]=>0001101
[8,1,4,6,2,7,5,3]=>1001011
[3,5,1,6,7,8,4,2]=>0100011
[4,5,6,1,7,8,3,2]=>0010011
[4,5,6,1,7,3,8,2]=>0010101
[3,5,1,6,7,4,8,2]=>0100101
[8,1,5,6,7,4,2,3]=>1000110
[8,1,5,6,7,4,3,2]=>1000111
[3,5,1,6,7,4,2,8]=>0100110
[4,5,6,1,7,3,2,8]=>0010110
[6,5,8,7,4,3,1,2]=>1011110
[6,4,2,7,8,5,1,3]=>1100110
[6,1,4,8,7,5,2,3]=>1001110
[1,6,4,8,7,5,2,3]=>0101110
[1,8,6,2,4,7,3,5]=>0110010
[8,1,6,2,4,7,3,5]=>1010010
[7,6,2,1,4,8,3,5]=>1110010
[6,4,1,7,8,5,2,3]=>1100110
[7,6,1,2,4,8,3,5]=>1100010
[7,6,1,3,4,8,2,5]=>1100010
[8,1,6,3,4,7,2,5]=>1010010
[1,8,6,3,4,7,2,5]=>0110010
[1,7,2,5,4,8,3,6]=>0101010
[7,1,2,5,4,8,3,6]=>1001010
[2,7,1,5,4,8,3,6]=>0101010
[2,8,6,3,4,7,1,5]=>0110010
[2,8,6,1,4,7,3,5]=>0110010
[7,2,1,5,4,8,3,6]=>1101010
[1,2,7,5,4,8,3,6]=>0011010
[3,2,7,5,4,8,1,6]=>1011010
[2,5,8,4,7,3,1,6]=>0010110
[2,3,7,5,4,8,1,6]=>0011010
[6,8,3,2,4,7,1,5]=>0110010
[3,7,2,5,4,8,1,6]=>0101010
[3,1,7,5,4,8,2,6]=>1011010
[1,3,7,5,4,8,2,6]=>0011010
[1,5,8,4,7,3,2,6]=>0010110
[5,1,8,4,7,3,2,6]=>1010110
[5,8,2,4,7,3,1,6]=>0100110
[6,8,4,3,7,5,1,2]=>0110110
[8,7,5,6,2,1,4,3]=>1101101
[8,5,2,4,7,3,1,6]=>1100110
[8,1,5,4,7,3,2,6]=>1010110
[1,8,5,4,7,3,2,6]=>0110110
[1,7,3,5,4,8,2,6]=>0101010
[8,6,3,1,4,7,2,5]=>1110010
[8,6,4,2,7,5,1,3]=>1110110
[8,6,4,1,7,2,5,3]=>1110101
[5,3,7,4,6,8,2,1]=>1010011
[4,1,3,2,7,8,5,6]=>1010010
[1,4,3,2,7,8,5,6]=>0110010
[2,4,3,1,7,8,5,6]=>0110010
[2,7,3,5,4,8,1,6]=>0101010
[2,8,5,4,7,3,1,6]=>0110110
[5,7,3,4,6,8,2,1]=>0100011
[8,2,5,4,7,3,1,6]=>1010110
[7,2,3,5,4,8,1,6]=>1001010
[3,2,1,4,7,8,5,6]=>1100010
[8,1,7,6,4,3,5,2]=>1011101
[8,6,4,5,2,7,1,3]=>1101010
[7,1,8,6,4,3,5,2]=>1011101
[7,4,2,5,1,6,3,8]=>1101010
[7,3,6,5,2,1,4,8]=>1011100
[8,3,6,5,2,1,7,4]=>1011101
[7,3,6,5,2,1,8,4]=>1011101
[7,5,8,6,4,2,1,3]=>1011110
[5,4,2,8,1,3,7,6]=>1101001
[5,8,2,6,4,1,3,7]=>0101100
[6,4,2,5,1,8,3,7]=>1101010
[6,3,5,2,1,4,7,8]=>1011000
[2,5,8,6,3,1,4,7]=>0011100
[2,3,5,8,1,4,7,6]=>0001001
[2,3,6,8,1,5,7,4]=>0001001
[6,3,8,5,2,7,1,4]=>1011010
[6,3,7,5,2,1,4,8]=>1011100
[2,5,7,6,3,1,4,8]=>0011100
[2,8,7,6,3,1,5,4]=>0111101
[2,5,8,7,6,3,1,4]=>0011110
[2,4,8,1,6,5,7,3]=>0010101
[2,8,7,3,6,1,4,5]=>0110100
[7,3,5,2,1,4,6,8]=>1011000
[8,4,2,5,1,3,7,6]=>1101001
[2,3,6,8,1,4,7,5]=>0001001
[2,7,8,6,3,1,4,5]=>0011100
[7,3,8,5,2,1,4,6]=>1011100
[2,3,6,1,8,4,7,5]=>0010101
[2,8,6,3,1,4,5,7]=>0111000
[8,3,5,2,1,4,6,7]=>1011000
[2,4,8,1,3,7,5,6]=>0010010
[2,5,8,1,7,3,6,4]=>0010101
[3,8,6,1,4,7,5,2]=>0110011
[2,7,1,5,8,3,4,6]=>0100100
[3,7,5,8,1,2,6,4]=>0101001
[7,3,6,1,2,8,4,5]=>1010010
[7,4,8,1,6,5,2,3]=>1010110
[7,4,5,8,6,1,2,3]=>1001100
[6,8,4,5,1,7,2,3]=>0101010
[5,1,8,7,6,2,3,4]=>1011100
[8,5,1,6,2,7,3,4]=>1101010
[4,6,1,8,7,5,2,3]=>0101110
[4,5,1,8,7,2,3,6]=>0101100
[3,4,8,7,1,2,5,6]=>0011000
[6,4,8,7,1,2,5,3]=>1011001
[6,5,1,2,7,3,8,4]=>1100101
[6,5,1,8,2,7,3,4]=>1101010
[6,5,1,7,2,8,3,4]=>1101010
[6,5,1,7,2,3,8,4]=>1101001
[5,6,8,7,4,1,2,3]=>0011100
[6,8,5,7,4,1,2,3]=>0101100
[7,3,8,1,5,2,4,6]=>1010100
[4,1,7,5,3,6,2,8]=>1011010
[1,8,4,2,3,6,7,5]=>0110001
[2,5,8,3,4,6,7,1]=>0010001
[4,1,7,2,3,6,8,5]=>1010001
[4,6,2,1,5,7,8,3]=>0110001
[4,5,2,3,1,7,8,6]=>0101001
[3,2,6,7,4,1,8,5]=>1001101
[5,6,2,7,1,4,8,3]=>0101001
[6,2,3,8,1,7,4,5]=>1001010
[2,6,8,3,4,7,1,5]=>0010010
[4,6,2,7,5,1,3,8]=>0101100
[2,6,3,1,8,4,5,7]=>0110100
[2,4,3,7,8,1,5,6]=>0100100
[5,3,2,7,4,8,1,6]=>1101010
[5,1,2,7,6,8,4,3]=>1001011
[2,6,3,1,8,7,4,5]=>0110110
[3,5,6,4,7,8,1,2]=>0010010
[5,3,6,4,2,8,7,1]=>1011011
[5,4,2,3,7,8,6,1]=>1100011
[4,1,8,2,5,7,3,6]=>1010010
[3,1,8,4,7,2,5,6]=>1010100
[6,2,3,8,4,1,7,5]=>1001101
[2,6,4,1,5,3,8,7]=>0110101
[3,2,7,6,4,1,8,5]=>1011101
[2,5,4,1,7,6,8,3]=>0110101
[6,2,1,4,7,8,3,5]=>1100010
[2,6,5,1,7,8,3,4]=>0110010
[4,7,5,2,1,6,3,8]=>0111010
[4,2,3,7,8,1,6,5]=>1000101
[5,8,3,1,7,2,4,6]=>0110100
[6,8,3,1,5,2,4,7]=>0110100
[4,2,7,1,6,3,5,8]=>1010100
[5,1,7,4,2,6,3,8]=>1011010
[5,8,2,1,4,7,3,6]=>0110010
[6,8,3,2,5,1,7,4]=>0110101
[6,8,4,3,1,5,7,2]=>0111001
[6,8,4,2,1,5,7,3]=>0111001
[6,8,3,2,1,4,5,7]=>0111000
[5,1,7,3,2,4,6,8]=>1011000
[5,2,1,8,3,6,7,4]=>1101001
[4,3,8,1,6,2,7,5]=>1010101
[4,2,1,6,5,8,3,7]=>1101010
[4,2,1,8,5,7,3,6]=>1101010
[6,3,2,1,7,4,5,8]=>1110100
[6,4,2,1,7,5,3,8]=>1110110
[7,5,2,1,8,6,3,4]=>1110110
[5,3,2,7,6,1,4,8]=>1101100
[5,3,2,8,6,1,4,7]=>1101100
[6,3,2,8,7,1,4,5]=>1101100
[4,2,8,1,7,3,5,6]=>1010100
[4,3,8,7,2,1,5,6]=>1011100
[2,1,5,8,4,7,3,6]=>1001010
[4,3,2,5,8,1,6,7]=>1100100
[4,3,2,5,7,1,6,8]=>1100100
[4,3,1,6,2,7,5,8]=>1101010
[5,4,1,7,2,8,6,3]=>1101011
[6,5,3,1,7,8,4,2]=>1110011
[6,4,2,1,7,8,5,3]=>1110011
[3,2,1,4,8,7,5,6]=>1100110
[3,2,1,4,6,8,5,7]=>1100010
[5,3,2,1,6,7,8,4]=>1110001
[8,6,1,4,5,7,2,3]=>1100010
[3,8,6,4,5,7,1,2]=>0110010
[5,2,8,3,7,4,6,1]=>1010101
[6,2,8,5,4,7,3,1]=>1011011
[1,8,6,3,7,4,2,5]=>0110110
[1,8,6,5,7,2,3,4]=>0110100
[5,2,8,4,3,6,7,1]=>1011001
[5,4,2,7,3,6,1,8]=>1101010
[5,4,2,8,3,6,1,7]=>1101010
[6,5,3,8,4,7,2,1]=>1101011
[5,2,8,4,3,7,1,6]=>1011010
[6,2,8,3,7,4,1,5]=>1010110
[5,4,2,7,3,1,8,6]=>1101101
[6,4,3,7,1,2,8,5]=>1101001
[6,4,3,8,1,2,7,5]=>1101001
[7,6,3,8,4,2,1,5]=>1101110
[7,2,8,5,1,6,3,4]=>1011010
[7,2,8,4,3,1,5,6]=>1011100
[7,5,3,8,4,2,6,1]=>1101101
[6,4,2,7,3,1,5,8]=>1101100
[7,6,4,8,2,3,5,1]=>1101001
[7,6,8,1,2,5,3,4]=>1010010
[5,3,1,7,8,4,6,2]=>1100101
[5,3,2,7,8,4,6,1]=>1100101
[5,4,1,6,3,8,7,2]=>1101011
[6,5,1,7,8,2,3,4]=>1100100
[6,3,1,7,8,4,2,5]=>1100110
[5,4,1,7,3,8,2,6]=>1101010
[6,3,2,7,8,4,1,5]=>1100110
[6,1,5,4,3,2,8,7]=>1011101
[8,7,6,1,3,5,2,4]=>1110010
[8,1,6,5,7,3,4,2]=>1010101
[8,4,1,5,7,6,2,3]=>1100110
[7,8,6,2,5,3,1,4]=>0110110
[6,1,3,5,2,8,4,7]=>1001010
[8,1,3,7,4,2,5,6]=>1001100
[4,3,8,7,5,2,1,6]=>1011110
[6,7,1,8,5,3,4,2]=>0101101
[2,7,6,4,8,3,5,1]=>0110101
[6,5,2,7,1,4,8,3]=>1101001
[7,4,6,1,3,2,8,5]=>1010101
[7,5,2,1,3,8,4,6]=>1110010
[8,4,7,6,3,1,5,2]=>1011101
[7,4,1,5,6,3,8,2]=>1100101
[3,4,7,5,6,1,8,2]=>0010101
[2,4,7,5,6,3,8,1]=>0010101
[5,4,1,7,6,2,8,3]=>1101101
[3,5,6,7,1,4,8,2]=>0001001
[2,7,6,1,3,4,8,5]=>0110001
[5,7,2,1,6,3,8,4]=>0110101
[4,7,2,5,6,3,8,1]=>0100101
[8,6,2,5,7,1,4,3]=>1100101
[2,7,4,5,3,8,1,6]=>0101010
[6,8,7,1,3,2,5,4]=>0110101
[2,8,6,5,7,1,4,3]=>0110101
[5,8,4,3,2,6,7,1]=>0111001
[1,8,5,6,2,4,7,3]=>0101001
[8,1,5,6,2,4,7,3]=>1001001
[6,4,8,1,3,2,7,5]=>1010101
[1,4,5,2,8,6,7,3]=>0010101
[2,3,1,7,8,6,4,5]=>0100110
[3,5,7,6,2,8,1,4]=>0011010
[4,5,6,1,2,8,7,3]=>0010011
[5,4,1,2,8,6,7,3]=>1100101
[8,4,5,2,1,6,7,3]=>1011001
[3,1,2,6,8,4,7,5]=>1000101
[5,1,3,2,7,8,4,6]=>1010010
[1,5,4,2,7,8,3,6]=>0110010
[4,6,7,8,3,1,5,2]=>0001101
[7,6,2,8,4,3,1,5]=>1101110
[5,2,8,6,3,4,7,1]=>1011001
[5,6,8,4,3,2,7,1]=>0011101
[5,3,8,1,7,2,4,6]=>1010100
[3,6,7,8,4,2,1,5]=>0001110
[6,5,1,8,4,3,7,2]=>1101101
[6,3,8,4,2,1,7,5]=>1011101
[2,5,8,3,1,6,7,4]=>0011001
[3,5,8,1,2,6,7,4]=>0010001
[3,2,8,1,5,6,7,4]=>1010001
[1,5,8,3,2,6,7,4]=>0011001
[1,3,8,6,2,4,7,5]=>0011001
[3,2,7,8,4,6,1,5]=>1001010
[5,1,8,3,4,6,7,2]=>1010001
[4,8,7,2,1,6,3,5]=>0111010
[2,8,1,6,3,4,7,5]=>0101001
[8,3,4,2,1,6,5,7]=>1011010
[6,4,7,2,5,8,1,3]=>1010010
[8,4,5,2,6,3,1,7]=>1010110
[2,4,5,8,3,6,1,7]=>0001010
[3,5,8,1,2,6,4,7]=>0010010
[8,6,1,3,5,2,4,7]=>1100100
[8,5,1,2,6,4,3,7]=>1100110
[5,8,6,1,3,4,2,7]=>0110010
[5,8,4,6,1,3,2,7]=>0101010
[7,3,4,5,2,8,1,6]=>1001010
[5,7,4,3,6,1,8,2]=>0110101
[2,6,4,3,7,8,5,1]=>0110011
[7,4,1,8,3,2,5,6]=>1101100
[6,2,1,7,8,4,5,3]=>1100101
[7,6,3,1,5,4,8,2]=>1110101
[2,4,6,5,1,7,8,3]=>0011001
[1,4,7,5,6,8,2,3]=>0010010
[1,4,7,6,5,8,2,3]=>0011010
[3,7,5,2,4,6,8,1]=>0110001
[5,6,1,7,4,2,8,3]=>0101101
[3,7,4,8,1,2,6,5]=>0101001
[6,3,5,7,8,1,4,2]=>1000101
[3,6,5,7,1,8,4,2]=>0101011
[6,4,7,8,2,1,3,5]=>1001100
[6,7,3,8,4,1,2,5]=>0101100
[2,7,8,3,4,6,1,5]=>0010010
[7,5,8,4,1,3,2,6]=>1011010
[4,7,5,8,3,1,2,6]=>0101100
[3,6,7,4,8,1,2,5]=>0010100
[5,7,3,1,6,8,4,2]=>0110011
[2,7,3,1,8,6,4,5]=>0110110
[2,8,4,3,1,5,7,6]=>0111001
[4,8,1,2,3,5,7,6]=>0100001
[7,6,8,1,2,4,3,5]=>1010010
[7,6,8,5,1,3,2,4]=>1011010
[2,8,5,4,6,1,7,3]=>0110101
[8,4,5,2,7,6,1,3]=>1010110
[8,7,6,4,1,2,5,3]=>1111001
[6,7,1,3,5,2,8,4]=>0100101
[5,7,2,3,6,8,1,4]=>0100010
[8,5,3,2,7,6,1,4]=>1110110
[3,4,6,7,5,8,1,2]=>0001010
[3,4,5,7,6,1,8,2]=>0001101
[2,6,4,5,7,8,3,1]=>0100011
[3,8,5,1,6,2,7,4]=>0110101
[2,5,1,3,6,8,7,4]=>0100011
[5,4,6,1,3,7,8,2]=>1010001
[6,3,5,7,1,4,8,2]=>1001001
[7,3,4,6,8,1,5,2]=>1000101
[7,5,2,8,4,1,3,6]=>1101100
[3,7,6,4,1,8,2,5]=>0111010
[3,7,8,4,1,5,6,2]=>0011001
[8,7,5,4,2,1,6,3]=>1111101
[3,5,8,6,7,4,2,1]=>0010111
[5,8,1,6,7,3,4,2]=>0100101
[6,7,2,5,1,8,4,3]=>0101011
[5,8,2,1,6,7,4,3]=>0110011
[4,5,2,8,6,3,7,1]=>0101101
[3,6,1,2,5,8,4,7]=>0100010
[1,4,5,8,2,3,7,6]=>0001001
[1,2,6,4,5,8,3,7]=>0010010
[1,5,2,4,6,8,3,7]=>0100010
[3,6,1,5,8,2,4,7]=>0100100
[2,6,5,1,4,8,3,7]=>0110010
[5,2,6,1,4,8,3,7]=>1010010
[2,5,1,8,4,7,3,6]=>0101010
[2,7,1,4,3,6,8,5]=>0101001
[1,3,7,5,8,2,4,6]=>0010100
[8,2,1,5,7,3,4,6]=>1100100
[2,5,4,8,1,3,7,6]=>0101001
[2,4,1,3,8,6,7,5]=>0100101
[8,4,3,7,1,2,6,5]=>1101001
[1,7,3,5,8,2,6,4]=>0100101
[1,8,4,2,6,7,3,5]=>0110010
[3,1,6,8,7,2,4,5]=>1001100
[7,2,1,6,8,3,4,5]=>1100100
[3,1,7,6,8,2,4,5]=>1010100
[4,1,7,2,6,8,3,5]=>1010010
[5,1,7,2,3,6,8,4]=>1010001
[7,2,1,6,3,5,8,4]=>1101001
[2,6,1,7,3,5,8,4]=>0101001
[7,1,2,5,3,6,8,4]=>1001001
[5,4,1,2,7,8,3,6]=>1100010
[8,1,3,2,4,6,7,5]=>1010001
[7,3,1,2,4,6,8,5]=>1100001
[1,8,3,4,7,2,5,6]=>0100100
[3,5,8,1,2,7,4,6]=>0010010
[3,6,8,1,2,4,7,5]=>0010001
[4,1,3,8,7,2,6,5]=>1001101
[1,3,7,4,8,2,6,5]=>0010101
[1,4,6,8,2,3,7,5]=>0001001
[3,5,8,1,7,2,4,6]=>0010100
[2,6,8,1,7,3,4,5]=>0010100
[6,1,5,8,2,3,7,4]=>1001001
[1,8,3,2,7,5,6,4]=>0110101
[3,1,7,2,8,5,6,4]=>1010101
[2,6,7,3,8,1,5,4]=>0010101
[8,4,1,7,3,6,2,5]=>1101010
[3,7,2,8,6,1,5,4]=>0101101
[6,2,3,8,7,1,5,4]=>1001101
[5,1,7,8,4,2,6,3]=>1001101
[5,1,8,7,4,2,6,3]=>1011101
[4,7,2,8,3,6,5,1]=>0101011
[4,1,7,8,5,3,6,2]=>1001101
[5,1,7,4,8,3,6,2]=>1010101
[4,1,8,7,5,3,6,2]=>1011101
[4,8,2,7,3,6,5,1]=>0101011
[4,7,2,6,3,5,8,1]=>0101001
[6,8,2,4,3,7,5,1]=>0101011
[6,7,2,4,3,8,5,1]=>0101011
[6,8,2,7,3,5,4,1]=>0101011
[3,8,7,2,4,1,5,6]=>0110100
[3,7,8,2,4,1,5,6]=>0010100
[3,6,8,2,4,5,7,1]=>0010001
[3,6,7,2,4,5,8,1]=>0010001
[6,5,1,4,2,3,8,7]=>1101001
[8,6,1,7,2,5,4,3]=>1101011
[8,7,6,1,2,3,5,4]=>1110001
[5,4,3,1,6,2,8,7]=>1110101
[8,3,4,7,1,6,2,5]=>1001010
[6,3,4,1,8,5,2,7]=>1010110
[3,8,5,2,7,1,6,4]=>0110101
[2,8,6,7,5,3,4,1]=>0101101
[2,1,8,7,3,6,4,5]=>1011010
[3,6,5,8,2,4,7,1]=>0101001
[5,2,1,8,7,3,4,6]=>1101100
[6,5,2,7,4,3,8,1]=>1101101
[4,6,5,2,7,3,8,1]=>0110101
[6,2,7,1,8,3,5,4]=>1010101
[2,7,5,4,8,3,6,1]=>0110101
[8,7,5,1,2,6,4,3]=>1110011
[8,4,3,2,7,1,6,5]=>1110101
[7,1,6,2,3,8,5,4]=>1010011
[4,8,1,3,2,7,5,6]=>0101010
[3,8,1,4,7,5,2,6]=>0100110
[6,3,8,7,4,5,1,2]=>1011010
[6,1,4,8,5,2,3,7]=>1001100
[8,5,7,4,6,2,1,3]=>1010110
[4,6,7,8,2,3,5,1]=>0001001
[8,7,4,6,2,1,5,3]=>1101101
[7,6,1,3,5,2,8,4]=>1100101
[5,8,3,2,4,6,1,7]=>0110010
[8,2,6,5,3,1,7,4]=>1011101
[4,8,7,6,5,2,3,1]=>0111101
[2,1,8,6,4,3,7,5]=>1011101
[2,1,7,6,5,3,8,4]=>1011101
[2,7,6,1,3,5,8,4]=>0110001
[7,2,5,4,6,1,8,3]=>1010101
[4,7,6,1,2,5,8,3]=>0110001
[2,4,1,7,6,8,5,3]=>0101011
[3,4,1,7,8,5,6,2]=>0100101
[7,5,4,3,1,8,6,2]=>1111011
[8,5,6,2,7,3,1,4]=>1010110
[8,4,2,5,6,1,7,3]=>1100101
[6,3,5,4,1,7,8,2]=>1011001
[4,1,3,6,7,5,8,2]=>1000101
[1,7,5,3,8,2,4,6]=>0110100
[1,7,2,4,5,8,3,6]=>0100010
[8,2,5,3,1,6,4,7]=>1011010
[1,7,4,5,8,3,2,6]=>0100110
[2,6,4,7,8,3,5,1]=>0100101
[2,6,4,7,8,3,1,5]=>0100110
[1,2,6,4,7,8,3,5]=>0010010
[2,7,4,5,8,1,3,6]=>0100100
[2,7,5,3,1,8,4,6]=>0111010
[6,1,4,7,8,3,5,2]=>1000101
[3,6,4,7,8,1,5,2]=>0100101
[4,3,6,7,1,8,5,2]=>1001011
[4,3,6,7,1,8,2,5]=>1001010
[3,6,4,7,8,1,2,5]=>0100100
[2,3,6,4,1,7,8,5]=>0011001
[4,7,2,1,5,3,8,6]=>0110101
[3,7,4,5,2,1,8,6]=>0101101
[1,3,6,4,7,2,8,5]=>0010101
[3,6,4,7,2,8,5,1]=>0101011
[5,1,3,4,2,7,8,6]=>1001001
[5,4,2,1,3,7,8,6]=>1110001
[6,1,7,3,8,2,5,4]=>1010101
[1,6,7,3,8,2,5,4]=>0010101
[6,1,4,7,8,5,2,3]=>1000110
[6,3,2,1,7,8,5,4]=>1110011
[6,2,7,3,1,8,5,4]=>1011011
[6,2,4,7,8,1,5,3]=>1000101
[2,6,7,3,1,8,5,4]=>0011011
[8,6,5,1,3,2,4,7]=>1110100
[6,4,7,8,3,2,5,1]=>1001101
[3,8,4,7,1,2,5,6]=>0101000
[8,6,1,2,5,4,3,7]=>1100110
[4,8,6,1,5,3,2,7]=>0110110
[5,8,6,4,1,3,2,7]=>0111010
[8,3,6,4,5,2,1,7]=>1010110
[6,8,5,7,4,2,3,1]=>0101101
[2,3,8,7,1,6,4,5]=>0011010
[4,3,7,8,1,6,2,5]=>1001010
[3,5,8,7,4,1,2,6]=>0011100
[7,3,8,4,1,2,5,6]=>1011000
[4,8,1,2,7,3,5,6]=>0100100
[6,8,1,2,7,4,5,3]=>0100101
[5,6,8,4,1,3,7,2]=>0011001
[8,5,4,7,1,6,3,2]=>1101011
[2,5,8,7,3,6,4,1]=>0011011
[2,4,8,7,5,6,1,3]=>0011010
[3,7,4,8,5,6,2,1]=>0101011
[6,4,8,7,5,1,2,3]=>1011100
[3,8,5,2,4,6,7,1]=>0110001
[5,7,1,8,4,6,2,3]=>0101010
[6,3,8,7,2,1,4,5]=>1011100
[2,3,7,8,5,6,1,4]=>0001010
[3,7,6,8,5,1,2,4]=>0101100
[2,6,7,8,5,1,3,4]=>0001100
[2,4,7,8,1,6,3,5]=>0001010
[5,4,7,8,2,6,3,1]=>1001011
[2,8,3,4,1,5,7,6]=>0101001
[6,8,3,4,1,2,7,5]=>0101001
[6,8,7,1,5,2,3,4]=>0110100
[5,8,3,2,7,6,1,4]=>0110110
[2,5,3,1,8,6,7,4]=>0110101
[4,5,3,2,8,6,7,1]=>0110101
[3,5,8,6,1,4,7,2]=>0011001
[2,8,5,6,1,4,7,3]=>0101001
[4,8,6,1,5,2,7,3]=>0110101
[5,8,2,3,7,6,1,4]=>0100110
[4,6,8,5,3,2,7,1]=>0011101
[2,6,4,8,5,1,7,3]=>0101101
[7,6,4,8,5,2,1,3]=>1101110
[3,4,8,6,5,2,7,1]=>0011101
[3,4,8,7,5,6,2,1]=>0011011
[7,5,3,2,8,6,1,4]=>1110110
[2,5,1,3,8,6,7,4]=>0100101
[4,5,1,2,8,6,7,3]=>0100101
[5,4,8,1,3,6,7,2]=>1010001
[8,3,5,4,1,6,7,2]=>1011001
[7,3,4,8,5,6,1,2]=>1001010
[6,1,5,7,2,4,8,3]=>1001001
[7,4,5,1,2,3,8,6]=>1010001
[7,4,3,1,2,8,5,6]=>1110010
[8,4,7,6,2,1,5,3]=>1011101
[8,4,6,5,7,1,3,2]=>1010101
[7,2,1,4,5,8,3,6]=>1100010
[7,4,1,6,3,5,8,2]=>1101001
[3,5,7,6,4,1,8,2]=>0011101
[4,7,5,2,1,3,8,6]=>0111001
[5,7,2,3,6,4,8,1]=>0100101
[8,6,2,3,7,1,4,5]=>1100100
[5,7,2,4,8,3,6,1]=>0100101
[1,7,2,4,8,6,3,5]=>0100110
[7,6,1,5,4,8,3,2]=>1101011
[4,7,3,2,1,8,5,6]=>0111010
[3,1,7,2,5,8,4,6]=>1010010
[4,8,7,6,1,2,5,3]=>0111001
[7,8,6,1,3,2,5,4]=>0110101
[2,8,6,7,4,1,3,5]=>0101100
[5,8,6,4,2,3,1,7]=>0111010
[2,8,3,1,6,5,4,7]=>0110110
[3,8,1,2,5,7,4,6]=>0100010
[6,8,5,4,2,7,3,1]=>0111011
[6,8,3,1,2,4,5,7]=>0110000
[4,6,8,7,3,1,5,2]=>0011101
[6,5,3,7,8,4,1,2]=>1100110
[4,1,3,8,7,5,6,2]=>1001101
[6,2,7,4,8,1,3,5]=>1010100
[8,4,5,2,1,6,3,7]=>1011010
[4,3,2,6,8,1,7,5]=>1100101
[7,1,5,6,3,8,2,4]=>1001010
[5,1,2,4,7,8,3,6]=>1000010
[3,5,4,2,8,1,6,7]=>0110100
[5,1,3,8,4,2,7,6]=>1001101
[6,2,8,7,3,5,4,1]=>1011011
[7,1,8,4,3,6,5,2]=>1011011
[3,6,8,7,4,1,2,5]=>0011100
[5,6,8,1,7,3,2,4]=>0010110
[3,1,6,8,7,4,2,5]=>1001110
[7,4,6,8,2,1,5,3]=>1001101
[6,5,8,4,3,1,2,7]=>1011100
[2,5,8,3,6,7,4,1]=>0010011
[8,5,1,3,7,4,6,2]=>1100101
[1,5,8,3,7,4,2,6]=>0010110
[3,8,2,7,1,5,6,4]=>0101001
[5,8,2,3,6,4,1,7]=>0100110
[6,8,2,3,4,7,5,1]=>0100011
[7,5,1,8,4,2,6,3]=>1101101
[3,6,8,5,2,7,4,1]=>0011011
[2,1,6,5,4,8,3,7]=>1011010
[2,1,7,8,4,6,5,3]=>1001011
[2,1,7,4,3,5,8,6]=>1011001
[3,5,7,8,4,6,1,2]=>0001010
[7,5,2,8,4,6,3,1]=>1101011
[7,8,2,4,3,1,5,6]=>0101100
[7,6,3,8,1,5,4,2]=>1101011
[8,4,3,1,7,5,2,6]=>1110110
[7,3,1,4,6,8,5,2]=>1100011
[4,3,8,7,1,6,5,2]=>1011011
[4,7,1,8,5,2,6,3]=>0101101
[5,2,4,3,6,8,1,7]=>1010010
[3,8,6,5,4,1,2,7]=>0111100
[4,7,5,6,3,8,2,1]=>0101011
[4,2,7,5,8,3,6,1]=>1010101
[5,8,2,7,3,4,6,1]=>0101001
[6,7,2,4,5,3,8,1]=>0100101
[6,3,2,1,4,8,5,7]=>1110010
[6,2,3,1,4,7,8,5]=>1010001
[5,2,1,3,6,4,8,7]=>1100101
[7,1,8,3,5,4,6,2]=>1010101
[7,1,2,4,8,5,6,3]=>1000101
[7,2,1,3,4,5,8,6]=>1100001
[8,7,3,5,4,2,1,6]=>1101110
[8,4,6,5,3,2,1,7]=>1011110
[5,1,6,4,3,2,8,7]=>1011101
[8,3,7,1,4,6,5,2]=>1010011
[2,8,3,6,4,7,5,1]=>0101011
[6,2,1,7,5,8,3,4]=>1101010
[6,3,8,7,5,2,1,4]=>1011110
[6,7,2,1,5,8,4,3]=>0110011
[7,6,8,1,5,4,3,2]=>1010111
[5,4,8,7,6,1,3,2]=>1011101
[7,6,1,8,5,4,3,2]=>1101111
[6,5,8,1,7,4,3,2]=>1010111
[6,5,8,7,4,1,3,2]=>1011101
[1,6,4,8,3,2,5,7]=>0101100
[1,8,3,5,6,2,4,7]=>0100100
[1,4,8,5,6,2,3,7]=>0010100
[1,2,8,5,3,7,4,6]=>0011010
[6,1,4,8,2,3,5,7]=>1001000
[8,7,2,5,6,1,4,3]=>1100101
[1,8,2,5,4,7,3,6]=>0101010
[5,7,4,1,2,3,8,6]=>0110001
[1,7,4,2,5,3,8,6]=>0110101
[6,7,4,2,1,3,8,5]=>0111001
[6,4,3,8,5,7,1,2]=>1101010
[7,4,3,6,2,1,5,8]=>1101100
[6,8,4,2,3,1,5,7]=>0110100
[3,7,5,2,4,1,6,8]=>0110100
[5,2,8,6,1,3,4,7]=>1011000
[7,4,8,2,3,1,5,6]=>1010100
[4,2,7,3,1,5,6,8]=>1011000
[7,6,4,5,1,8,2,3]=>1101010
[8,6,4,1,3,7,2,5]=>1110010
[5,3,6,1,8,2,4,7]=>1010100
[3,1,8,5,4,7,6,2]=>1011011
[4,1,5,8,3,7,6,2]=>1001011
[4,1,5,3,8,7,6,2]=>1010111
[4,5,1,8,2,7,6,3]=>0101011
[4,8,5,3,1,7,6,2]=>0111011
[4,5,2,8,1,7,6,3]=>0101011
[4,5,2,1,8,7,6,3]=>0110111
[5,6,2,7,8,1,4,3]=>0100101
[4,6,2,8,7,1,5,3]=>0101101
[4,8,6,3,7,1,5,2]=>0110101
[4,8,6,3,7,5,1,2]=>0110110
[4,6,8,2,7,5,1,3]=>0010110
[4,6,2,8,7,5,1,3]=>0101110
[5,6,2,7,4,1,8,3]=>0101101
[5,6,7,2,3,1,8,4]=>0010101
[5,6,7,2,8,3,1,4]=>0010110
[5,6,7,2,1,8,3,4]=>0011010
[5,6,7,2,1,3,8,4]=>0011001
[5,6,1,7,8,2,4,3]=>0100101
[5,6,1,7,2,4,8,3]=>0101001
[5,1,6,7,8,3,4,2]=>1000101
[4,1,6,8,7,3,5,2]=>1001101
[3,1,8,6,7,5,4,2]=>1010111
[4,1,6,8,7,5,3,2]=>1001111
[5,1,6,7,4,8,3,2]=>1001011
[5,6,1,7,8,4,2,3]=>0100110
[4,6,8,1,7,5,2,3]=>0010110
[4,8,6,1,7,5,3,2]=>0110111
[5,6,7,1,8,3,2,4]=>0010110
[5,6,7,1,3,8,2,4]=>0010010
[5,6,7,1,3,2,8,4]=>0010101
[5,6,7,3,1,2,8,4]=>0011001
[5,6,7,3,8,1,2,4]=>0010100
[5,6,8,7,4,2,1,3]=>0011110
[5,6,7,3,8,2,1,4]=>0010110
[7,4,6,2,3,5,1,8]=>1010010
[1,4,8,6,3,2,5,7]=>0011100
[7,4,1,6,3,8,5,2]=>1101011
[7,6,3,1,5,8,4,2]=>1110011
[6,4,2,5,7,3,1,8]=>1100110
[4,2,5,7,6,3,1,8]=>1001110
[7,4,5,6,1,8,3,2]=>1001011
[4,1,5,8,6,3,2,7]=>1001110
[3,2,7,6,1,8,5,4]=>1011011
[4,7,5,1,6,8,2,3]=>0110010
[8,6,5,1,2,7,4,3]=>1110011
[3,2,5,1,4,8,7,6]=>1010011
[8,5,4,1,3,2,7,6]=>1110101
[1,4,2,3,6,8,7,5]=>0100011
[5,4,8,3,7,1,6,2]=>1010101
[4,7,1,8,2,5,3,6]=>0101010
[6,4,1,8,5,3,7,2]=>1101101
[8,4,6,1,3,5,2,7]=>1010010
[3,2,5,4,7,8,1,6]=>1010010
[5,2,4,3,7,8,1,6]=>1010010
[8,1,6,7,2,5,3,4]=>1001010
[3,1,7,6,5,8,2,4]=>1011010
[1,2,7,5,6,8,3,4]=>0010010
[6,1,4,7,2,8,3,5]=>1001010
[3,2,1,7,6,8,4,5]=>1101010
[3,2,8,6,4,7,1,5]=>1011010
[7,8,4,6,3,2,1,5]=>0101110
[1,8,6,5,3,7,2,4]=>0111010
[8,2,5,3,6,7,1,4]=>1010010
[3,8,5,2,7,6,1,4]=>0110110
[4,7,5,3,1,8,6,2]=>0111011
[4,5,3,6,8,1,7,2]=>0100101
[3,5,2,6,1,8,7,4]=>0101011
[1,6,3,5,7,2,8,4]=>0100101
[1,5,4,6,7,8,2,3]=>0100010
[8,4,6,5,7,2,1,3]=>1010110
[7,4,5,2,6,8,1,3]=>1010010
[5,4,2,6,8,7,1,3]=>1100110
[7,8,4,3,1,2,6,5]=>0111001
[6,5,1,4,3,2,8,7]=>1101101
[2,6,5,1,4,7,3,8]=>0110010
[3,6,4,5,2,1,8,7]=>0101101
[5,7,4,1,3,8,6,2]=>0110011
[7,5,4,2,3,8,1,6]=>1110010
[5,2,6,7,3,1,4,8]=>1001100
[2,4,3,8,6,1,5,7]=>0101100
[7,8,1,3,5,6,2,4]=>0100010
[7,8,3,1,5,6,2,4]=>0110010
[7,1,3,8,5,6,2,4]=>1001010
[1,7,8,3,5,6,2,4]=>0010010
[5,1,7,8,3,4,6,2]=>1001001
[1,5,7,8,3,4,6,2]=>0001001
[3,7,1,5,8,6,2,4]=>0100110
[1,3,7,8,2,5,6,4]=>0001001
[3,1,7,8,5,2,6,4]=>1001101
[1,3,7,5,8,2,6,4]=>0010101
[3,1,7,5,8,2,6,4]=>1010101
[3,5,7,1,8,4,6,2]=>0010101
[3,5,7,8,1,4,6,2]=>0001001
[5,3,7,8,4,6,1,2]=>1001010
[5,3,7,8,4,1,6,2]=>1001101
[5,3,7,8,1,4,6,2]=>1001001
[5,3,7,1,8,4,6,2]=>1010101
[1,5,3,7,8,4,2,6]=>0100110
[5,1,3,7,8,4,2,6]=>1000110
[3,6,2,1,4,5,8,7]=>0110001
[4,6,2,5,1,3,8,7]=>0101001
[6,4,2,5,1,3,8,7]=>1101001
[8,6,1,7,3,2,4,5]=>1101100
[2,5,8,1,7,3,4,6]=>0010100
[6,8,2,7,3,1,4,5]=>0101100
[6,8,2,3,7,1,4,5]=>0100100
[8,6,2,7,4,5,1,3]=>1101010
[5,2,8,1,7,3,4,6]=>1010100
[4,2,3,8,1,5,6,7]=>1001000
[5,2,8,3,7,1,4,6]=>1010100
[5,2,8,4,6,1,3,7]=>1010100
[2,1,5,8,4,3,6,7]=>1001100
[5,8,3,2,7,1,4,6]=>0110100
[4,1,3,8,2,5,6,7]=>1001000
[3,5,8,2,7,1,4,6]=>0010100
[4,5,8,2,6,1,3,7]=>0010100
[2,6,8,3,7,1,4,5]=>0010100
[5,1,8,3,7,2,4,6]=>1010100
[5,1,8,4,6,2,3,7]=>1010100
[5,8,4,1,6,2,3,7]=>0110100
[4,5,8,1,6,2,3,7]=>0010100
[5,4,8,1,6,2,3,7]=>1010100
[4,8,5,1,6,2,3,7]=>0110100
[2,1,5,4,8,3,6,7]=>1010100
[2,4,3,8,1,5,6,7]=>0101000
[3,1,8,4,2,5,6,7]=>1011000
[3,8,4,2,1,5,6,7]=>0111000
[2,3,8,4,1,5,6,7]=>0011000
[3,4,2,8,1,5,6,7]=>0101000
[3,8,5,2,7,1,4,6]=>0110100
[4,8,5,2,6,1,3,7]=>0110100
[2,1,4,8,5,3,6,7]=>1001100
[3,2,8,4,1,5,6,7]=>1011000
[2,8,4,3,1,5,6,7]=>0111000
[4,1,7,5,6,2,8,3]=>1010101
[5,7,4,3,8,1,6,2]=>0110101
[5,7,4,3,8,2,6,1]=>0110101
[3,8,4,2,6,7,5,1]=>0110011
[3,8,4,1,6,7,5,2]=>0110011
[6,1,7,5,2,8,4,3]=>1011011
[5,6,4,3,2,8,1,7]=>0111010
[2,6,7,5,3,8,4,1]=>0011011
[6,7,4,8,2,5,3,1]=>0101011
[2,1,6,7,5,3,8,4]=>1001101
[3,8,4,2,1,6,7,5]=>0111001
[5,7,4,3,8,2,1,6]=>0110110
[6,7,4,8,1,2,5,3]=>0101001
[6,7,5,8,1,2,4,3]=>0101001
[6,7,4,8,3,1,2,5]=>0101100
[3,4,8,1,2,5,7,6]=>0010001
[6,1,3,4,8,2,5,7]=>1000100
[6,2,3,4,8,1,5,7]=>1000100
[3,4,8,2,1,5,7,6]=>0011001
[6,7,5,8,2,4,3,1]=>0101011
[6,7,5,8,3,1,4,2]=>0101101
[3,4,8,1,5,7,6,2]=>0010011
[2,5,7,6,1,4,8,3]=>0011001
[6,7,4,8,2,3,5,1]=>0101001
[6,7,4,8,1,3,5,2]=>0101001
[2,6,7,5,1,3,8,4]=>0011001
[6,3,1,4,8,2,5,7]=>1100100
[6,7,4,8,1,3,2,5]=>0101010
[6,7,5,8,4,1,3,2]=>0101101
[6,7,4,8,2,1,3,5]=>0101100
[6,7,4,8,1,2,3,5]=>0101000
[1,5,6,3,4,8,2,7]=>0010010
[1,4,3,6,5,8,2,7]=>0101010
[8,1,3,4,7,2,6,5]=>1000101
[5,1,7,3,4,8,2,6]=>1010010
[6,7,8,2,3,5,4,1]=>0010011
[5,8,6,2,3,7,4,1]=>0110011
[2,8,3,4,7,5,6,1]=>0100101
[1,8,3,4,7,6,2,5]=>0100110
[8,7,2,3,6,5,4,1]=>1100111
[3,8,1,7,5,2,6,4]=>0101101
[4,8,1,6,7,2,5,3]=>0100101
[2,1,3,8,4,6,5,7]=>1001010
[8,2,1,7,4,3,6,5]=>1101101
[1,3,2,8,5,4,6,7]=>0101100
[8,3,1,5,7,2,6,4]=>1100101
[8,4,5,1,7,2,6,3]=>1010101
[1,5,6,8,7,4,2,3]=>0001110
[8,4,5,7,6,3,2,1]=>1001111
[1,4,8,5,7,6,2,3]=>0010110
[2,4,8,5,7,3,6,1]=>0010101
[4,3,8,6,5,7,2,1]=>1011011
[6,7,2,8,5,3,4,1]=>0101101
[5,2,7,8,6,3,4,1]=>1001101
[4,2,8,6,7,3,5,1]=>1010101
[3,2,8,7,5,4,6,1]=>1011101
[3,1,8,7,5,6,2,4]=>1011010
[4,1,8,6,7,5,2,3]=>1010110
[5,1,7,8,6,4,2,3]=>1001110
[6,7,1,8,5,4,2,3]=>0101110
[7,8,3,2,6,1,4,5]=>0110100
[3,4,8,2,6,1,7,5]=>0010101
[7,8,4,1,5,6,3,2]=>0110011
[7,8,1,4,5,6,3,2]=>0100011
[7,8,1,2,6,3,4,5]=>0100100
[7,8,5,1,4,6,3,2]=>0110011
[7,8,4,5,1,6,3,2]=>0101011
[5,3,8,4,1,6,7,2]=>1011001
[6,2,4,8,1,5,3,7]=>1001010
[3,4,8,5,1,6,7,2]=>0011001
[3,5,8,1,4,6,7,2]=>0010001
[1,4,8,2,6,3,7,5]=>0010101
[5,3,8,1,4,6,7,2]=>1010001
[4,2,6,8,1,5,3,7]=>1001010
[7,4,2,8,1,5,3,6]=>1101010
[6,1,7,5,8,4,3,2]=>1010111
[6,2,1,8,4,5,3,7]=>1101010
[1,2,7,8,5,3,4,6]=>0001100
[6,3,7,8,5,4,1,2]=>1001110
[6,1,5,7,8,4,3,2]=>1000111
[1,7,5,6,8,4,3,2]=>0100111
[3,1,8,4,5,6,7,2]=>1010001
[2,1,4,8,6,5,3,7]=>1001110
[2,4,1,8,6,5,3,7]=>0101110
[4,2,1,8,6,5,3,7]=>1101110
[3,2,7,8,5,1,4,6]=>1001100
[2,3,7,8,5,1,4,6]=>0001100
[2,7,3,8,5,1,4,6]=>0101100
[3,6,2,8,5,1,4,7]=>0101100
[4,1,2,8,7,5,3,6]=>1001110
[1,4,2,8,7,5,3,6]=>0101110
[7,3,6,8,5,4,1,2]=>1001110
[7,2,1,8,5,3,4,6]=>1101100
[1,2,6,8,4,5,3,7]=>0001010
[7,1,6,5,8,4,3,2]=>1010111
[6,5,7,1,8,4,3,2]=>1010111
[5,7,6,1,8,4,3,2]=>0110111
[6,7,1,5,8,4,3,2]=>0100111
[6,7,3,8,5,4,1,2]=>0101110
[7,1,2,8,4,5,3,6]=>1001010
[7,6,1,5,8,4,3,2]=>1100111
[7,5,6,1,8,4,3,2]=>1010111
[7,1,6,5,3,2,4,8]=>1011100
[1,8,7,5,3,2,4,6]=>0111100
[1,8,7,4,2,5,3,6]=>0111010
[8,7,4,2,5,3,6,1]=>1110101
[7,1,6,4,2,5,3,8]=>1011010
[2,6,5,4,7,1,3,8]=>0110100
[7,1,5,3,6,4,2,8]=>1010110
[5,3,7,1,6,4,2,8]=>1010110
[5,3,6,4,2,7,1,8]=>1011010
[1,5,3,8,7,4,2,6]=>0101110
[7,4,2,8,6,3,5,1]=>1101101
[5,3,6,1,8,7,4,2]=>1010111
[6,1,5,3,8,7,4,2]=>1010111
[2,8,7,5,4,6,1,3]=>0111010
[2,3,1,8,7,5,4,6]=>0101110
[5,3,8,7,4,2,1,6]=>1011110
[7,4,2,1,8,6,3,5]=>1110110
[8,6,3,5,7,4,2,1]=>1100111
[1,8,6,3,5,7,4,2]=>0110011
[6,3,8,5,2,1,7,4]=>1011101
[8,6,3,7,4,2,1,5]=>1101110
[2,8,6,4,7,5,1,3]=>0110110
[5,1,8,6,3,7,4,2]=>1011011
[6,3,7,4,1,8,5,2]=>1011011
[8,5,2,6,3,7,4,1]=>1101011
[6,1,8,7,4,2,5,3]=>1011101
[8,6,3,7,4,2,5,1]=>1101101
[1,8,6,3,2,4,7,5]=>0111001
[8,6,3,2,4,7,5,1]=>1110011
[7,5,1,8,6,3,2,4]=>1101110
[6,1,8,7,5,3,2,4]=>1011110
[4,3,2,8,7,6,1,5]=>1101110
[2,4,5,1,3,8,7,6]=>0010011
[7,5,8,6,3,2,4,1]=>1011101
[1,7,5,8,6,3,2,4]=>0101110
[1,7,4,2,5,8,6,3]=>0110011
[8,6,3,1,7,4,2,5]=>1110110
[8,7,4,2,5,3,1,6]=>1110110
[5,3,1,8,7,4,2,6]=>1101110
[4,1,8,7,5,3,2,6]=>1011110
[2,8,6,4,1,3,7,5]=>0111001
[4,1,8,6,3,2,7,5]=>1011101
[7,4,2,8,6,3,1,5]=>1101110
[6,3,1,8,5,2,7,4]=>1101101
[8,5,2,6,3,1,7,4]=>1101101
[7,4,8,5,2,6,3,1]=>1011011
[1,8,5,2,7,4,6,3]=>0110101
[8,5,2,7,4,6,3,1]=>1101011
[7,4,6,3,1,8,5,2]=>1011011
[6,3,1,7,4,8,5,2]=>1101011
[8,6,3,1,5,7,4,2]=>1110011
[4,1,7,5,8,6,3,2]=>1010111
[2,3,1,7,5,8,6,4]=>0101011
[7,4,8,5,2,1,6,3]=>1011101
[8,5,2,1,7,4,6,3]=>1110101
[1,7,4,6,3,8,5,2]=>0101011
[3,6,5,2,1,4,8,7]=>0111001
[3,5,6,2,1,4,8,7]=>0011001
[3,5,7,8,1,4,2,6]=>0001010
[4,1,8,5,7,3,2,6]=>1010110
[4,1,7,5,8,3,2,6]=>1010110
[2,1,5,8,7,4,3,6]=>1001110
[2,1,5,7,8,4,3,6]=>1000110
[5,1,7,4,8,3,2,6]=>1010110
[4,7,2,8,3,6,1,5]=>0101010
[4,6,2,7,3,1,8,5]=>0101101
[3,7,8,2,4,1,6,5]=>0010101
[3,8,7,2,4,1,6,5]=>0110101
[3,8,6,2,4,1,7,5]=>0110101
[6,2,8,4,1,7,3,5]=>1011010
[7,3,4,8,1,6,2,5]=>1001010
[6,3,4,8,1,7,2,5]=>1001010
[5,3,4,8,1,2,7,6]=>1001001
[4,3,5,8,1,2,7,6]=>1001001
[1,8,5,4,2,3,7,6]=>0111001
[3,5,4,8,1,2,7,6]=>0101001
[4,5,3,8,1,2,7,6]=>0101001
[6,4,3,8,1,7,2,5]=>1101010
[7,4,3,8,1,6,2,5]=>1101010
[6,5,3,8,7,1,2,4]=>1101100
[5,6,3,8,7,1,2,4]=>0101100
[4,6,3,8,1,7,2,5]=>0101010
[2,6,8,4,1,7,3,5]=>0011010
[1,8,7,4,2,6,3,5]=>0111010
[5,7,3,8,6,1,2,4]=>0101100
[3,7,5,8,6,1,2,4]=>0101100
[2,7,8,5,6,1,3,4]=>0010100
[1,8,7,5,6,2,3,4]=>0110100
[2,6,8,5,7,1,3,4]=>0010100
[5,3,6,8,7,1,2,4]=>1001100
[6,3,5,8,7,1,2,4]=>1001100
[7,2,8,5,6,1,3,4]=>1010100
[5,2,8,6,7,1,3,4]=>1010100
[1,8,3,2,7,6,4,5]=>0110110
[5,2,8,7,6,1,3,4]=>1011100
[6,2,8,7,5,1,3,4]=>1011100
[3,4,7,8,1,6,2,5]=>0001010
[1,8,5,7,6,2,3,4]=>0101100
[2,5,8,7,6,1,3,4]=>0011100
[7,4,6,5,8,1,2,3]=>1010100
[3,6,7,8,5,1,2,4]=>0001100
[2,6,8,7,5,1,3,4]=>0011100
[1,8,6,7,5,2,3,4]=>0101100
[2,7,8,6,5,1,3,4]=>0011100
[5,7,6,4,8,1,2,3]=>0110100
[6,3,8,7,5,1,2,4]=>1011100
[2,8,7,4,1,3,5,6]=>0111000
[5,4,8,7,1,3,2,6]=>1011010
[4,8,6,1,3,2,5,7]=>0110100
[5,4,2,7,6,8,1,3]=>1101010
[2,8,7,1,4,5,3,6]=>0110010
[4,2,1,8,7,3,5,6]=>1101100
[5,1,6,3,2,8,7,4]=>1011011
[4,6,1,8,7,3,2,5]=>0101110
[8,7,2,3,5,4,1,6]=>1100110
[5,3,1,4,8,7,2,6]=>1100110
[4,3,5,2,8,7,1,6]=>1010110
[3,4,2,8,6,1,5,7]=>0101100
[3,7,6,8,1,5,2,4]=>0101010
[8,1,4,2,3,6,7,5]=>1010001
[3,7,2,1,8,6,4,5]=>0110110
[2,8,6,1,7,3,5,4]=>0110101
[1,7,6,3,5,8,2,4]=>0110010
[3,7,5,1,6,8,2,4]=>0110010
[3,6,5,8,1,4,7,2]=>0101001
[8,1,5,6,4,7,2,3]=>1001010
[3,6,7,4,1,8,2,5]=>0011010
[1,7,4,6,8,2,5,3]=>0100101
[7,5,8,2,6,3,1,4]=>1010110
[2,7,1,6,5,4,8,3]=>0101101
[7,3,2,6,1,8,5,4]=>1101011
[6,4,7,2,3,1,8,5]=>1010101
[5,3,1,8,4,6,2,7]=>1101010
[3,8,1,6,7,4,2,5]=>0100110
[2,7,4,3,6,8,1,5]=>0110010
[2,8,4,6,1,5,3,7]=>0101010
[8,4,1,6,3,2,5,7]=>1101100
[4,7,3,8,5,2,1,6]=>0101110
[3,1,7,4,8,5,2,6]=>1010110
[7,4,1,6,3,2,8,5]=>1101101
[3,8,6,2,7,4,1,5]=>0110110
[7,3,1,4,5,2,8,6]=>1100101
[6,1,4,8,5,3,2,7]=>1001110
[8,1,2,4,6,7,5,3]=>1000011
[8,1,3,6,7,5,4,2]=>1000111
[7,5,2,3,8,6,1,4]=>1100110
[8,6,2,4,1,3,7,5]=>1101001
[4,7,5,1,8,6,3,2]=>0110111
[4,7,3,2,8,5,6,1]=>0110101
[8,4,5,7,6,1,3,2]=>1001101
[7,5,8,4,2,3,6,1]=>1011001
[3,8,4,6,1,7,5,2]=>0101011
[3,7,4,6,5,2,8,1]=>0101101
[4,2,7,6,1,5,8,3]=>1011001
[8,3,1,4,5,7,6,2]=>1100011
[3,5,1,6,8,4,7,2]=>0100101
[6,1,5,7,3,8,4,2]=>1001011
[5,8,4,7,3,2,6,1]=>0101101
[7,2,6,5,8,4,1,3]=>1010110
[8,3,2,5,1,6,7,4]=>1101001
[2,6,8,3,7,4,1,5]=>0010110
[8,1,5,6,4,7,3,2]=>1001011
[2,5,8,1,6,4,7,3]=>0010101
[7,4,1,8,3,2,6,5]=>1101101
[8,3,7,4,2,1,6,5]=>1011101
[5,2,6,8,3,1,7,4]=>1001101
[3,6,5,8,4,1,7,2]=>0101101
[7,3,6,1,8,4,5,2]=>1010101
[8,2,7,3,4,6,5,1]=>1010011
[7,3,8,2,5,6,4,1]=>1010011
[5,7,3,1,6,4,8,2]=>0110101
[6,1,3,2,4,8,7,5]=>1010011
[8,7,4,2,3,6,1,5]=>1110010
[8,7,1,5,4,2,3,6]=>1101100
[3,7,1,5,2,8,6,4]=>0101011
[8,7,2,5,4,1,3,6]=>1101100
[8,7,2,5,3,1,4,6]=>1101100
[5,2,8,7,1,4,3,6]=>1011010
[7,1,8,6,2,4,3,5]=>1011010
[8,1,6,2,7,5,3,4]=>1010110
[7,1,6,2,8,5,3,4]=>1010110
[6,3,4,1,7,2,8,5]=>1010101
[7,2,4,3,5,1,8,6]=>1010101
[5,1,7,2,3,8,6,4]=>1010011
[8,2,3,5,1,7,6,4]=>1001011
[7,6,3,1,4,8,2,5]=>1110010
[6,1,8,2,7,5,3,4]=>1010110
[7,2,8,1,6,5,3,4]=>1010110
[7,2,6,4,3,8,1,5]=>1011010
[5,1,7,4,3,8,2,6]=>1011010
[5,3,1,7,4,8,2,6]=>1101010
[7,4,8,2,1,5,3,6]=>1011010
[8,2,4,1,6,3,7,5]=>1010101
[8,2,7,5,1,6,4,3]=>1011011
[6,1,7,3,2,8,5,4]=>1011011
[4,7,2,1,6,3,8,5]=>0110101
[6,2,1,5,3,8,4,7]=>1101010
[5,3,1,6,2,8,4,7]=>1101010
[6,1,5,2,8,4,3,7]=>1010110
[7,4,3,8,1,5,2,6]=>1101010
[7,4,8,1,5,3,2,6]=>1010110
[6,1,5,3,2,8,4,7]=>1011010
[6,3,2,8,4,1,5,7]=>1101100
[7,3,4,2,8,5,1,6]=>1010110
[7,1,6,3,4,2,8,5]=>1010101
[8,5,1,3,7,4,2,6]=>1100110
[3,8,6,1,5,2,7,4]=>0110101
[8,6,1,3,7,5,2,4]=>1100110
[4,8,5,6,1,7,3,2]=>0101011
[6,7,1,3,8,5,2,4]=>0100110
[3,6,7,1,5,2,8,4]=>0010101
[7,1,3,8,4,2,6,5]=>1001101
[5,6,2,7,1,3,8,4]=>0101001
[5,6,2,8,1,3,7,4]=>0101001
[6,1,8,3,7,5,2,4]=>1010110
[7,4,2,1,5,8,3,6]=>1110010
[7,4,1,5,8,3,2,6]=>1100110
[7,3,2,6,4,8,1,5]=>1101010
[6,4,2,7,3,8,1,5]=>1101010
[5,1,8,3,7,4,2,6]=>1010110
[7,4,8,3,1,5,2,6]=>1011010
[5,2,1,7,4,8,3,6]=>1101010
[6,1,8,4,5,2,7,3]=>1010101
[7,1,6,4,5,2,8,3]=>1010101
[3,5,2,7,1,6,8,4]=>0101001
[4,5,7,3,1,6,8,2]=>0011001
[4,5,7,2,8,6,1,3]=>0010110
[3,5,1,7,2,6,8,4]=>0101001
[4,5,7,2,8,1,3,6]=>0010100
[4,6,7,2,1,5,8,3]=>0011001
[4,6,7,1,3,8,5,2]=>0010011
[3,6,1,5,7,8,4,2]=>0100011
[4,6,7,1,5,8,3,2]=>0010011
[6,1,3,7,4,8,5,2]=>1001011
[3,2,1,7,4,8,5,6]=>1101010
[4,1,5,2,7,6,3,8]=>1010110
[2,5,1,3,7,6,4,8]=>0100110
[2,5,1,4,3,8,6,7]=>0101010
[3,7,2,1,5,8,6,4]=>0110011
[6,2,7,1,4,8,5,3]=>1010011
[3,7,4,2,1,8,5,6]=>0111010
[7,2,5,3,1,8,6,4]=>1011011
[7,5,1,4,2,8,6,3]=>1101011
[7,5,4,1,3,8,6,2]=>1110011
[5,3,2,1,7,6,4,8]=>1110110
[6,3,2,8,1,5,7,4]=>1101001
[7,4,3,2,8,1,6,5]=>1110101
[7,6,2,4,8,3,5,1]=>1100101
[7,3,6,4,8,1,5,2]=>1010101
[2,7,5,3,8,1,4,6]=>0110100
[1,8,5,3,6,4,2,7]=>0110110
[8,6,2,3,7,5,4,1]=>1100111
[8,6,3,2,7,5,4,1]=>1110111
[8,3,2,7,1,6,4,5]=>1101010
[7,2,6,1,5,4,3,8]=>1010110
[8,5,7,4,3,6,2,1]=>1011011
[8,5,7,2,4,6,3,1]=>1010011
[8,4,6,7,1,3,2,5]=>1001010
[2,8,5,6,1,4,3,7]=>0101010
[7,2,6,8,4,1,5,3]=>1001101
[7,6,4,8,3,2,5,1]=>1101101
[6,5,8,1,4,2,7,3]=>1010101
[6,5,8,4,1,3,7,2]=>1011001
[5,4,8,3,2,1,7,6]=>1011101
[4,3,7,2,1,6,5,8]=>1011010
[2,5,8,1,4,3,7,6]=>0010101
[3,6,8,2,1,5,7,4]=>0011001
[5,7,4,8,1,3,6,2]=>0101001
[5,7,1,4,8,2,6,3]=>0100101
[2,7,4,1,8,3,6,5]=>0110101
[3,5,1,8,4,2,7,6]=>0101101
[4,1,5,7,3,6,2,8]=>1001010
[4,2,5,8,3,1,7,6]=>1001101
[6,1,2,7,8,3,5,4]=>1000101
[5,3,1,8,6,4,2,7]=>1101110
[3,1,8,4,7,5,2,6]=>1010110
[4,2,8,7,3,5,1,6]=>1011010
[4,8,1,7,6,2,3,5]=>0101100
[6,8,1,4,7,5,2,3]=>0100110
[7,3,8,1,6,4,2,5]=>1010110
[4,7,8,1,5,3,2,6]=>0010110
[7,1,8,6,2,5,3,4]=>1011010
[5,8,7,1,3,6,4,2]=>0110011
[3,8,7,2,1,6,4,5]=>0111010
[2,8,7,1,6,3,5,4]=>0110101
[3,7,6,1,5,4,2,8]=>0110110
[4,8,7,6,1,3,5,2]=>0111001
[5,8,7,2,6,1,4,3]=>0110101
[6,8,1,7,5,2,4,3]=>0101101
[7,3,8,6,5,1,2,4]=>1011100
[5,7,8,4,3,1,2,6]=>0011100
[5,8,6,4,3,2,1,7]=>0111110
[8,7,3,6,4,2,1,5]=>1101110
[6,1,4,2,5,3,7,8]=>1010100
[1,3,7,5,4,2,8,6]=>0011101
[6,1,3,5,4,2,7,8]=>1001100
[6,1,2,5,4,7,3,8]=>1001010
[5,1,6,3,4,7,8,2]=>1010001
[5,2,6,3,4,7,1,8]=>1010010
[3,4,7,5,8,6,1,2]=>0010110
[2,4,7,1,5,3,8,6]=>0010101
[2,3,6,7,4,8,1,5]=>0001010
[1,3,6,7,4,8,5,2]=>0001011
[2,7,6,5,3,1,8,4]=>0111101
[5,2,6,1,4,7,8,3]=>1010001
[4,7,6,5,2,1,8,3]=>0111101
[5,3,6,2,4,1,7,8]=>1010100
[5,7,4,2,1,3,6,8]=>0111000
[6,3,1,5,4,7,8,2]=>1101001
[5,3,6,1,4,2,7,8]=>1010100
[1,7,4,2,6,3,8,5]=>0110101
[5,7,4,1,2,3,6,8]=>0110000
[6,4,1,2,5,3,7,8]=>1100100
[4,7,6,3,8,5,1,2]=>0110110
[3,7,6,5,2,8,1,4]=>0111010
[3,7,6,5,1,2,8,4]=>0111001
[4,7,2,6,1,3,8,5]=>0101001
[2,7,1,6,8,3,5,4]=>0100101
[2,7,6,5,8,1,4,3]=>0110101
[5,2,8,7,6,4,3,1]=>1011111
[8,2,7,6,1,5,4,3]=>1011011
[8,4,1,7,6,5,3,2]=>1101111
[4,5,6,2,3,8,1,7]=>0010010
[4,5,3,2,7,8,1,6]=>0110010
[6,5,7,3,8,4,2,1]=>1010111
[6,8,7,2,4,3,5,1]=>0110101
[3,2,7,4,5,8,1,6]=>1010010
[6,8,1,5,2,4,3,7]=>0101010
[8,3,4,6,1,5,2,7]=>1001010
[2,3,4,7,5,8,1,6]=>0001010
[6,3,4,7,8,2,5,1]=>1000101
[5,3,7,4,8,6,1,2]=>1010110
[8,3,6,4,1,7,2,5]=>1011010
[1,3,7,4,8,6,2,5]=>0010110
[3,7,8,5,4,1,2,6]=>0011100
[5,4,3,1,7,8,2,6]=>1110010
[5,7,6,2,8,4,1,3]=>0110110
[6,1,7,5,8,3,4,2]=>1010101
[7,5,6,4,1,3,8,2]=>1011001
[1,5,6,8,4,7,3,2]=>0001011
[4,1,3,7,6,5,8,2]=>1001101
[3,4,1,7,5,8,6,2]=>0101011
[8,5,7,4,3,1,6,2]=>1011101
[6,8,5,1,7,2,4,3]=>0110101
[8,2,4,1,3,7,6,5]=>1010011
[7,8,3,6,2,1,4,5]=>0101100
[8,1,7,4,2,3,6,5]=>1011001
[1,8,7,2,3,5,6,4]=>0110001
[2,8,3,1,6,7,5,4]=>0110011
[8,2,3,1,5,7,6,4]=>1010011
[3,8,4,1,2,7,6,5]=>0110011
[5,4,7,2,3,6,8,1]=>1010001
[6,3,2,1,8,4,7,5]=>1110101
[2,3,7,4,1,8,5,6]=>0011010
[6,4,1,3,2,7,8,5]=>1101001
[2,7,8,5,1,3,6,4]=>0011001
[8,2,5,6,7,1,3,4]=>1000100
[2,8,5,4,7,6,1,3]=>0110110
[6,7,1,5,8,2,4,3]=>0100101
[4,8,7,6,2,3,5,1]=>0111001
[7,8,1,5,3,2,6,4]=>0101101
[6,5,7,3,8,2,1,4]=>1010110
[8,1,4,7,2,5,6,3]=>1001001
[7,3,4,6,1,5,8,2]=>1001001
[8,3,4,5,7,1,6,2]=>1000101
[4,2,6,8,3,1,5,7]=>1001100
[3,7,6,2,4,5,1,8]=>0110010
[2,3,6,5,8,1,4,7]=>0010100
[2,3,5,8,6,1,4,7]=>0001100
[4,2,3,8,6,1,5,7]=>1001100
[6,4,1,2,8,3,5,7]=>1100100
[1,2,3,7,4,6,8,5]=>0001001
[3,2,7,1,4,5,8,6]=>1010001
[2,1,5,3,8,7,4,6]=>1010110
[5,8,3,2,4,1,6,7]=>0110100
[4,2,7,1,8,3,5,6]=>1010100
[4,1,8,2,7,3,5,6]=>1010100
[1,2,7,5,3,8,4,6]=>0011010
[3,2,7,1,4,8,5,6]=>1010010
[1,2,3,7,6,8,4,5]=>0001010
[1,2,3,6,8,7,4,5]=>0000110
[1,2,3,7,8,4,6,5]=>0000101
[1,2,3,6,8,4,7,5]=>0000101
[1,2,3,7,8,6,4,5]=>0000110
[6,2,8,3,7,5,1,4]=>1010110
[4,2,8,3,7,5,6,1]=>1010101
[7,3,4,8,6,5,1,2]=>1001110
[5,3,4,8,7,2,6,1]=>1001101
[4,3,5,8,7,2,6,1]=>1001101
[4,6,3,8,5,7,2,1]=>0101011
[7,5,3,8,6,2,4,1]=>1101101
[2,6,8,3,7,4,5,1]=>0010101
[1,8,4,3,7,5,6,2]=>0110101
[2,5,8,3,7,4,6,1]=>0010101
[7,4,3,8,6,2,5,1]=>1101101
[3,5,4,8,7,2,6,1]=>0101101
[4,5,3,8,6,7,2,1]=>0101011
[3,6,7,8,4,5,2,1]=>0001011
[2,6,8,5,4,7,3,1]=>0011011
[1,8,5,6,4,7,3,2]=>0101011
[2,5,8,6,4,7,3,1]=>0011011
[7,4,6,5,8,3,2,1]=>1010111
[6,3,7,8,4,5,2,1]=>1001011
[4,3,7,8,5,6,2,1]=>1001011
[5,2,8,6,4,7,3,1]=>1011011
[4,2,8,6,5,7,3,1]=>1011011
[3,2,8,6,7,4,5,1]=>1010101
[2,3,8,7,5,4,6,1]=>0011101
[1,8,2,7,4,5,6,3]=>0101001
[7,2,8,6,3,4,5,1]=>1011001
[6,2,8,4,5,7,3,1]=>1010011
[5,2,8,4,6,7,3,1]=>1010011
[4,2,8,5,6,7,3,1]=>1010011
[4,3,6,8,5,7,2,1]=>1001011
[3,4,6,8,7,2,5,1]=>0001101
[7,3,5,8,6,2,4,1]=>1001101
[1,8,3,5,7,4,6,2]=>0100101
[2,7,8,4,5,6,3,1]=>0010011
[3,7,5,8,4,6,2,1]=>0101011
[5,7,4,6,8,3,2,1]=>0100111
[3,6,5,8,4,7,2,1]=>0101011
[2,6,8,4,5,7,3,1]=>0010011
[4,2,7,1,3,8,5,6]=>1010010
[4,2,5,1,3,8,6,7]=>1010010
[5,3,6,1,7,2,4,8]=>1010100
[3,7,1,2,5,8,6,4]=>0100011
[3,7,4,1,2,8,5,6]=>0110010
[7,5,1,3,4,8,6,2]=>1100011
[7,5,1,2,4,8,6,3]=>1100011
[6,4,2,3,7,1,5,8]=>1100100
[7,6,3,8,1,2,5,4]=>1101001
[7,4,2,3,8,1,6,5]=>1100101
[4,7,5,2,8,1,3,6]=>0110100
[8,2,6,3,7,1,4,5]=>1010100
[8,6,1,2,7,4,5,3]=>1100101
[8,4,7,1,2,3,6,5]=>1010001
[8,5,7,1,2,4,6,3]=>1010001
[8,5,7,1,3,4,6,2]=>1010001
[8,6,2,7,1,3,5,4]=>1101001
[3,8,5,6,1,2,4,7]=>0101000
[3,7,5,8,1,2,4,6]=>0101000
[7,6,4,8,1,3,5,2]=>1101001
[6,5,8,1,2,4,7,3]=>1010001
[3,6,8,1,2,5,7,4]=>0010001
[3,7,2,4,8,1,6,5]=>0100101
[4,6,3,8,1,2,5,7]=>0101000
[4,6,3,7,1,2,5,8]=>0101000
[4,1,7,8,2,3,6,5]=>1001001
[5,1,2,8,6,3,4,7]=>1001100
[5,3,8,1,6,2,4,7]=>1010100
[6,1,8,5,2,3,4,7]=>1011000
[6,1,7,5,2,3,4,8]=>1011000
[6,8,1,3,7,4,5,2]=>0100101
[7,2,8,1,6,3,4,5]=>1010100
[4,7,8,2,5,1,3,6]=>0010100
[6,8,2,7,1,4,5,3]=>0101001
[4,8,7,1,3,5,6,2]=>0110001
[3,8,7,1,2,4,6,5]=>0110001
[4,8,7,1,2,3,6,5]=>0110001
[5,8,7,1,2,4,6,3]=>0110001
[5,8,7,1,3,4,6,2]=>0110001
[7,1,8,6,2,3,5,4]=>1011001
[5,8,6,4,1,2,3,7]=>0111000
[7,8,4,1,2,5,3,6]=>0110010
[7,8,1,2,6,5,3,4]=>0100110
[1,4,8,2,7,5,3,6]=>0010110
[6,1,3,4,7,2,5,8]=>1000100
[7,8,2,1,6,3,5,4]=>0110101
[6,1,2,7,5,4,3,8]=>1001110
[1,2,8,7,5,4,3,6]=>0011110
[5,1,7,3,6,4,8,2]=>1010101
[6,2,1,5,7,4,3,8]=>1100110
[6,2,3,7,4,1,5,8]=>1001100
[3,4,8,7,5,6,1,2]=>0011010
[2,3,8,7,4,1,5,6]=>0011100
[2,7,3,8,6,4,1,5]=>0101110
[1,8,3,7,6,4,5,2]=>0101101
[5,2,7,1,4,6,8,3]=>1010001
[4,6,7,5,2,1,8,3]=>0011101
[6,3,1,4,5,7,8,2]=>1100001
[5,3,1,4,6,2,7,8]=>1100100
[5,1,2,4,7,6,8,3]=>1000101
[5,7,4,1,2,6,3,8]=>0110010
[4,8,1,2,6,7,3,5]=>0100010
[4,1,7,8,2,6,3,5]=>1001010
[1,2,8,7,6,5,3,4]=>0011110
[3,1,2,4,6,8,7,5]=>1000011
[3,1,8,4,5,7,6,2]=>1010011
[3,2,8,5,4,7,1,6]=>1011010
[4,2,8,1,5,3,7,6]=>1010101
[4,3,8,5,7,6,1,2]=>1010110
[4,8,2,1,6,3,7,5]=>0110101
[3,8,6,5,2,7,1,4]=>0111010
[3,8,5,6,1,7,4,2]=>0101011
[3,5,7,8,1,2,6,4]=>0001001
[3,7,8,5,2,1,6,4]=>0011101
[3,7,2,8,4,1,6,5]=>0101101
[2,8,1,7,4,6,5,3]=>0101011
[2,8,7,5,1,6,4,3]=>0111011
[2,8,6,7,5,1,4,3]=>0101101
[5,1,3,4,6,7,2,8]=>1000010
[1,3,4,8,7,5,2,6]=>0001110
[8,2,4,1,7,3,5,6]=>1010100
[8,6,1,4,2,3,7,5]=>1101001
[3,6,1,4,2,8,7,5]=>0101011
[1,6,8,4,3,7,2,5]=>0011010
[3,1,4,7,8,5,2,6]=>1000110
[6,1,7,4,3,8,2,5]=>1011010
[1,8,7,4,3,6,2,5]=>0111010
[7,4,1,3,8,2,6,5]=>1100101
[4,8,2,3,1,5,7,6]=>0101001
[4,8,6,2,1,3,7,5]=>0111001
[2,7,4,1,8,3,5,6]=>0110100
[1,7,8,4,2,3,6,5]=>0011001
[4,7,1,3,8,2,6,5]=>0100101
[8,7,1,3,4,2,6,5]=>1100101
[1,7,4,3,6,2,8,5]=>0110101
[3,8,6,4,5,2,1,7]=>0110110
[3,8,4,6,5,2,1,7]=>0101110
[2,4,3,7,5,8,1,6]=>0101010
[1,4,7,3,6,2,8,5]=>0010101
[1,8,3,4,2,6,7,5]=>0101001
[6,4,1,3,7,2,8,5]=>1100101
[8,1,4,3,6,2,7,5]=>1010101
[4,2,3,8,5,7,1,6]=>1001010
[2,8,5,7,3,4,1,6]=>0101010
[5,8,2,6,4,3,1,7]=>0101110
[7,2,5,8,4,3,1,6]=>1001110
[4,2,3,5,8,7,1,6]=>1000110
[8,2,3,5,4,7,1,6]=>1001010
[6,1,8,3,4,2,7,5]=>1010101
[1,8,6,4,2,3,7,5]=>0111001
[3,8,4,5,6,2,1,7]=>0100110
[2,4,3,5,7,8,1,6]=>0100010
[3,8,6,5,4,2,1,7]=>0111110
[6,3,1,4,2,8,7,5]=>1101011
[7,3,8,1,2,6,4,5]=>1010010
[7,1,4,5,3,2,6,8]=>1001100
[1,8,4,2,6,5,3,7]=>0110110
[5,1,4,8,6,3,2,7]=>1001110
[5,3,1,8,4,7,2,6]=>1101010
[4,3,8,1,5,7,2,6]=>1010010
[6,3,1,2,5,7,4,8]=>1100010
[7,1,4,2,6,5,3,8]=>1010110
[3,8,4,1,6,5,2,7]=>0110110
[7,5,3,6,4,8,2,1]=>1101011
[7,3,6,4,5,8,2,1]=>1010011
[8,7,2,4,5,1,6,3]=>1100101
[7,1,5,4,8,6,3,2]=>1010111
[2,7,5,4,8,6,3,1]=>0110111
[2,1,8,7,5,3,6,4]=>1011101
[5,8,3,7,4,1,6,2]=>0101101
[8,1,7,4,2,6,5,3]=>1011011
[5,6,3,1,8,4,7,2]=>0110101
[5,7,1,4,8,6,3,2]=>0100111
[3,5,7,4,8,6,2,1]=>0010111
[2,6,7,4,5,8,3,1]=>0010011
[6,1,7,4,5,8,3,2]=>1010011
[5,3,7,4,8,6,2,1]=>1010111
[8,5,3,6,1,4,7,2]=>1101001
[5,4,3,6,8,2,7,1]=>1100101
[6,5,3,7,4,8,2,1]=>1101011
[7,5,8,4,1,6,3,2]=>1011011
[2,7,8,4,5,1,6,3]=>0010101
[5,7,3,8,4,1,6,2]=>0101101
[5,6,3,8,1,4,7,2]=>0101001
[8,4,1,2,5,6,7,3]=>1100001
[3,7,8,4,1,6,5,2]=>0011011
[6,8,3,1,2,5,7,4]=>0110001
[8,7,1,4,5,2,6,3]=>1100101
[8,7,3,1,5,4,2,6]=>1110110
[3,6,2,1,5,4,8,7]=>0110101
[5,4,2,6,1,3,8,7]=>1101001
[3,2,6,5,1,4,8,7]=>1011001
[2,5,8,1,7,4,3,6]=>0010110
[6,8,2,7,4,3,1,5]=>0101110
[6,8,2,3,7,5,1,4]=>0100110
[7,6,2,5,4,8,1,3]=>1101010
[2,6,5,1,8,4,3,7]=>0110110
[4,2,7,3,1,8,5,6]=>1011010
[4,2,3,7,1,5,8,6]=>1001001
[5,2,7,3,8,6,1,4]=>1010110
[2,1,5,8,4,3,7,6]=>1001101
[5,8,4,2,6,7,1,3]=>0110010
[3,2,4,8,1,5,7,6]=>1001001
[2,4,8,3,1,7,5,6]=>0011010
[4,8,3,2,1,7,6,5]=>0111011
[4,1,3,7,2,6,8,5]=>1001001
[3,4,8,2,1,6,5,7]=>0011010
[6,8,3,7,2,1,5,4]=>0101101
[3,5,8,1,7,2,6,4]=>0010101
[5,1,7,4,6,8,3,2]=>1010011
[7,6,4,8,1,5,3,2]=>1101011
[5,3,7,1,8,2,6,4]=>1010101
[2,7,6,3,8,1,4,5]=>0110100
[2,1,7,6,4,8,3,5]=>1011010
[2,1,5,4,8,7,3,6]=>1010110
[5,4,8,7,2,6,1,3]=>1011010
[2,4,3,8,7,1,5,6]=>0101100
[3,4,1,8,6,2,7,5]=>0101101
[3,8,5,4,2,1,7,6]=>0111101
[4,8,6,5,2,7,1,3]=>0111010
[3,2,8,7,5,4,1,6]=>1011110
[2,8,6,5,4,3,1,7]=>0111110
[5,4,2,6,3,1,8,7]=>1101101
[6,5,2,1,3,4,8,7]=>1110001
[8,5,2,7,3,1,4,6]=>1101100
[7,3,6,5,2,8,4,1]=>1011011
[7,6,2,3,4,8,5,1]=>1100011
[8,7,5,3,1,4,2,6]=>1111010
[7,1,5,3,8,4,6,2]=>1010101
[6,7,2,3,5,8,4,1]=>0100011
[3,7,6,4,2,8,5,1]=>0111011
[2,1,7,6,4,8,5,3]=>1011011
[2,1,8,7,4,3,5,6]=>1011100
[5,8,3,7,2,1,4,6]=>0101100
[3,8,7,4,2,1,5,6]=>0111100
[7,8,2,3,5,1,4,6]=>0100100
[2,8,6,3,1,4,7,5]=>0111001
[8,1,6,3,2,4,5,7]=>1011000
[5,7,1,4,8,3,6,2]=>0100101
[6,1,7,5,4,8,3,2]=>1011011
[6,3,7,5,8,4,2,1]=>1010111
[7,6,1,5,8,3,4,2]=>1100101
[8,6,7,5,1,3,2,4]=>1011010
[8,5,2,6,1,7,3,4]=>1101010
[5,4,2,6,8,3,7,1]=>1100101
[6,5,2,8,1,4,3,7]=>1101010
[7,4,2,8,1,3,6,5]=>1101001
[2,7,8,4,5,1,3,6]=>0010100
[5,7,3,8,4,1,2,6]=>0101100
[2,4,8,1,5,6,3,7]=>0010010
[3,4,8,1,5,2,7,6]=>0010101
[3,6,8,4,1,2,7,5]=>0011001
[4,8,1,2,5,3,6,7]=>0100100
[8,1,2,4,3,5,6,7]=>1001000
[5,8,7,4,6,3,2,1]=>0110111
[4,8,7,6,3,5,2,1]=>0111011
[3,8,7,6,5,2,4,1]=>0111101
[5,8,4,7,6,3,2,1]=>0101111
[6,8,5,4,7,3,2,1]=>0110111
[3,8,7,6,2,5,4,1]=>0111011
[4,8,7,6,3,2,5,1]=>0111101
[3,8,7,6,5,2,1,4]=>0111110
[7,5,8,4,6,3,1,2]=>1010110
[7,6,8,2,5,1,4,3]=>1010101
[3,5,2,4,7,6,1,8]=>0100110
[3,5,4,7,2,6,1,8]=>0101010
[3,5,4,7,6,1,2,8]=>0101100
[3,5,4,7,6,1,8,2]=>0101101
[3,5,7,4,6,1,8,2]=>0010101
[3,5,7,4,6,1,2,8]=>0010100
[3,5,7,4,6,2,1,8]=>0010110
[3,2,5,7,4,6,1,8]=>1001010
[3,5,2,7,6,4,1,8]=>0101110
[3,5,7,2,6,4,1,8]=>0010110
[5,3,7,6,2,4,1,8]=>1011010
[5,3,7,6,1,2,8,4]=>1011001
[5,3,7,6,1,4,2,8]=>1011010
[5,3,7,6,4,1,2,8]=>1011100
[3,5,7,2,6,1,4,8]=>0010100
[3,5,2,7,6,1,4,8]=>0101100
[5,3,7,6,4,1,8,2]=>1011101
[3,7,5,4,1,8,2,6]=>0111010
[3,7,5,4,1,8,6,2]=>0111011
[3,7,5,1,4,8,6,2]=>0110011
[3,7,5,1,4,8,2,6]=>0110010
[3,5,7,1,2,6,8,4]=>0010001
[3,5,7,2,1,6,8,4]=>0011001
[3,5,2,7,1,6,4,8]=>0101010
[3,5,7,2,1,6,4,8]=>0011010
[5,3,7,1,6,2,4,8]=>1010100
[3,5,7,1,4,6,8,2]=>0010001
[3,5,7,1,4,6,2,8]=>0010010
[3,5,7,1,4,2,6,8]=>0010100
[3,5,7,2,1,4,6,8]=>0011000
[3,5,2,7,1,4,6,8]=>0101000
[3,2,5,7,4,1,6,8]=>1001100
[3,5,2,7,4,1,6,8]=>0101100
[3,5,7,4,2,1,6,8]=>0011100
[3,5,7,4,1,2,6,8]=>0011000
[3,5,4,7,1,6,8,2]=>0101001
[3,5,4,7,1,2,6,8]=>0101000
[3,5,4,7,2,1,6,8]=>0101100
[3,5,4,2,7,1,6,8]=>0110100
[3,2,5,4,7,1,6,8]=>1010100
[3,5,4,7,2,1,8,6]=>0101101
[3,5,4,7,1,2,8,6]=>0101001
[5,7,6,3,1,8,4,2]=>0111011
[5,7,6,3,1,8,2,4]=>0111010
[3,5,7,4,1,2,8,6]=>0011001
[3,5,7,4,2,1,8,6]=>0011101
[3,2,5,7,4,1,8,6]=>1001101
[3,2,5,7,1,4,8,6]=>1001001
[3,5,2,7,1,4,8,6]=>0101001
[3,5,7,2,1,4,8,6]=>0011001
[3,5,7,1,4,2,8,6]=>0010101
[3,7,5,2,1,8,6,4]=>0111011
[3,7,2,5,1,8,6,4]=>0101011
[3,2,7,5,1,8,6,4]=>1011011
[3,2,7,5,1,8,4,6]=>1011010
[3,7,2,5,1,8,4,6]=>0101010
[3,7,5,2,1,8,4,6]=>0111010
[6,1,2,5,7,4,8,3]=>1000101
[6,3,2,7,4,1,8,5]=>1101101
[2,1,7,5,8,4,6,3]=>1010101
[2,7,3,6,8,4,1,5]=>0100110
[2,1,8,3,4,7,5,6]=>1010010
[5,1,7,2,4,8,3,6]=>1010010
[3,4,2,6,7,1,8,5]=>0100101
[3,5,8,7,2,1,6,4]=>0011101
[5,8,3,4,1,7,6,2]=>0101011
[5,8,7,2,4,1,6,3]=>0110101
[3,8,6,4,1,7,5,2]=>0111011
[4,3,5,6,8,1,7,2]=>1000101
[3,7,6,4,1,8,5,2]=>0111011
[3,7,4,1,8,6,5,2]=>0110111
[3,8,4,1,7,6,5,2]=>0110111
[3,2,7,6,1,5,4,8]=>1011010
[3,2,8,7,6,1,5,4]=>1011101
[5,7,8,2,4,1,6,3]=>0010101
[4,2,5,8,1,6,7,3]=>1001001
[4,2,5,8,1,7,3,6]=>1001010
[5,8,2,4,1,6,3,7]=>0101010
[8,4,2,6,5,1,3,7]=>1101100
[3,2,6,8,1,5,4,7]=>1001010
[8,3,2,5,6,1,4,7]=>1100100
[3,2,8,6,7,1,5,4]=>1010101
[3,2,6,8,7,1,5,4]=>1001101
[3,2,6,7,1,5,4,8]=>1001010
[8,7,3,2,5,6,1,4]=>1110010
[7,2,8,1,5,3,6,4]=>1010101
[8,4,2,7,5,1,3,6]=>1101100
[7,4,2,8,5,1,3,6]=>1101100
[7,2,4,1,8,3,6,5]=>1010101
[3,2,8,5,7,1,4,6]=>1010100
[2,6,5,7,1,8,3,4]=>0101010
[2,5,1,8,7,4,3,6]=>0101110
[8,1,4,6,3,5,2,7]=>1001010
[8,3,5,4,1,6,2,7]=>1011010
[8,6,3,4,1,5,2,7]=>1101010
[5,4,7,6,8,2,3,1]=>1010101
[4,1,8,2,3,7,6,5]=>1010011
[2,1,8,5,3,4,7,6]=>1011001
[5,2,4,6,8,7,3,1]=>1000111
[1,6,8,3,4,5,7,2]=>0010001
[5,7,4,8,6,1,3,2]=>0101101
[5,4,2,6,7,8,1,3]=>1100010
[6,4,2,7,3,5,8,1]=>1101001
[7,4,1,8,3,5,6,2]=>1101001
[6,5,4,8,7,3,1,2]=>1101110
[8,7,4,2,1,3,6,5]=>1111001
[8,7,1,3,2,5,6,4]=>1101001
[6,8,2,3,1,7,5,4]=>0101011
[7,4,3,2,6,8,5,1]=>1110011
[2,7,4,3,8,5,6,1]=>0110101
[8,3,7,2,1,5,6,4]=>1011001
[5,7,8,2,4,3,1,6]=>0010110
[8,4,7,3,2,6,1,5]=>1011010
[8,3,1,6,7,4,2,5]=>1100110
[3,2,5,7,4,8,1,6]=>1001010
[8,2,7,3,4,1,5,6]=>1010100
[7,1,6,3,5,8,2,4]=>1010010
[2,8,5,6,7,1,4,3]=>0100101
[1,5,2,7,8,6,4,3]=>0100111
[2,6,8,5,1,4,7,3]=>0011001
[1,4,2,8,6,5,7,3]=>0101101
[3,5,1,6,8,7,2,4]=>0100110
[5,7,6,2,1,3,8,4]=>0111001
[2,5,8,7,4,1,6,3]=>0011101
[4,1,7,5,2,6,8,3]=>1011001
[7,6,2,4,5,1,8,3]=>1100101
[7,3,4,2,5,8,6,1]=>1010011
[8,7,4,2,5,1,6,3]=>1110101
[8,1,4,5,2,6,7,3]=>1001001
[5,2,4,8,6,7,1,3]=>1001010
[8,5,6,2,1,3,7,4]=>1011001
[4,2,1,5,6,7,8,3]=>1100001
[3,4,6,5,1,7,8,2]=>0011001
[7,3,5,2,4,6,1,8]=>1010010
[5,3,7,2,4,6,1,8]=>1010010
[3,7,5,2,4,6,1,8]=>0110010
[5,7,3,2,4,6,1,8]=>0110010
[1,5,3,2,4,7,6,8]=>0110010
[1,5,3,2,7,4,6,8]=>0110100
[5,7,3,2,1,4,6,8]=>0111000
[5,7,3,2,4,1,6,8]=>0110100
[3,7,2,5,4,1,6,8]=>0101100
[5,1,3,2,4,7,6,8]=>1010010
[5,1,3,2,7,4,6,8]=>1010100
[7,1,3,2,5,4,6,8]=>1010100
[1,7,3,2,5,4,6,8]=>0110100
[7,1,3,5,2,4,6,8]=>1001000
[5,1,3,7,2,4,6,8]=>1001000
[3,2,7,5,1,4,6,8]=>1011000
[3,7,5,1,2,4,6,8]=>0110000
[5,7,3,1,2,4,6,8]=>0110000
[1,5,3,7,2,4,6,8]=>0101000
[5,3,2,7,4,1,6,8]=>1101100
[5,3,2,4,7,1,6,8]=>1100100
[5,3,2,1,4,7,6,8]=>1110010
[5,3,2,1,7,4,6,8]=>1110100
[1,3,2,7,5,4,6,8]=>0101100
[1,3,7,2,5,4,6,8]=>0010100
[7,3,1,2,5,4,6,8]=>1100100
[5,3,1,2,7,4,6,8]=>1100100
[5,3,1,2,4,7,6,8]=>1100010
[3,2,5,1,4,7,6,8]=>1010010
[7,3,1,5,2,4,6,8]=>1101000
[1,3,7,5,2,4,6,8]=>0011000
[7,5,1,3,2,4,6,8]=>1101000
[5,7,1,3,2,4,6,8]=>0101000
[3,7,1,5,2,4,6,8]=>0101000
[3,7,1,2,5,4,6,8]=>0100100
[3,7,2,1,5,4,6,8]=>0110100
[3,2,1,7,5,4,6,8]=>1101100
[3,1,2,7,5,4,6,8]=>1001100
[3,1,7,2,5,4,6,8]=>1010100
[3,1,7,5,2,4,6,8]=>1011000
[7,1,5,3,2,4,6,8]=>1011000
[1,7,5,3,2,4,6,8]=>0111000
[1,8,7,4,2,6,5,3]=>0111011
[2,8,5,1,7,6,4,3]=>0110111
[6,8,5,1,2,7,4,3]=>0110011
[2,8,1,4,7,6,5,3]=>0100111
[1,8,7,4,3,2,6,5]=>0111101
[1,8,5,4,2,7,6,3]=>0111011
[7,5,3,4,2,8,1,6]=>1101010
[8,5,3,6,2,4,7,1]=>1101001
[8,5,6,3,7,4,2,1]=>1010111
[8,5,6,2,7,4,3,1]=>1010111
[8,7,6,3,4,1,5,2]=>1110101
[1,7,2,3,6,8,5,4]=>0100011
[3,5,6,4,8,2,7,1]=>0010101
[3,5,1,4,8,2,7,6]=>0100101
[1,7,5,4,8,2,6,3]=>0110101
[3,7,5,1,6,4,8,2]=>0110101
[2,7,5,4,8,1,3,6]=>0110100
[2,7,5,4,8,6,1,3]=>0110110
[1,7,5,4,8,6,3,2]=>0110111
[2,5,1,4,8,7,3,6]=>0100110
[3,6,4,2,8,7,1,5]=>0110110
[3,5,2,4,8,1,6,7]=>0100100
[3,5,6,4,8,1,2,7]=>0010100
[1,5,6,4,8,7,2,3]=>0010110
[3,6,4,1,8,7,2,5]=>0110110
[3,6,4,5,8,7,2,1]=>0100111
[1,6,4,3,8,5,2,7]=>0110110
[7,1,3,4,5,8,2,6]=>1000010
[7,6,1,4,5,3,8,2]=>1100101
[7,6,1,3,5,4,8,2]=>1100101
[7,1,3,2,5,8,4,6]=>1010010
[1,6,4,2,8,5,3,7]=>0110110
[7,6,5,8,2,4,3,1]=>1101011
[7,6,5,8,3,1,4,2]=>1101101
[2,6,4,3,8,1,7,5]=>0110101
[2,6,4,3,8,5,7,1]=>0110101
[7,2,3,1,5,8,6,4]=>1010011
[7,1,5,6,3,8,4,2]=>1001011
[7,3,6,5,1,4,8,2]=>1011001
[7,2,6,5,3,8,1,4]=>1011010
[7,2,3,1,4,8,6,5]=>1010011
[7,2,3,5,4,8,6,1]=>1001011
[2,6,4,5,8,1,7,3]=>0100101
[1,5,6,4,8,3,7,2]=>0010101
[2,5,6,4,8,3,1,7]=>0010110
[3,5,6,1,4,7,8,2]=>0010001
[7,6,1,3,4,5,8,2]=>1100001
[7,1,3,2,4,8,5,6]=>1010010
[7,6,1,5,3,4,8,2]=>1101001
[7,6,1,5,4,3,8,2]=>1101101
[1,6,4,5,8,3,2,7]=>0100110
[7,6,5,8,1,3,2,4]=>1101010
[3,4,6,8,7,2,1,5]=>0001110
[3,5,6,8,2,1,7,4]=>0001101
[4,2,1,5,3,7,8,6]=>1101001
[4,2,5,6,3,1,8,7]=>1001101
[3,5,6,8,1,7,2,4]=>0001010
[4,1,5,6,3,2,8,7]=>1001101
[4,5,3,1,7,2,8,6]=>0110101
[4,1,3,5,2,7,8,6]=>1001001
[2,5,4,7,3,8,6,1]=>0101011
[3,5,7,1,8,4,2,6]=>0010110
[4,1,5,3,2,7,8,6]=>1011001
[4,5,3,7,1,2,8,6]=>0101001
[4,3,6,1,2,7,5,8]=>1010010
[5,1,3,2,4,6,7,8]=>1010000
[3,6,1,7,4,5,2,8]=>0101010
[5,1,3,4,2,6,7,8]=>1001000
[5,3,1,4,2,6,7,8]=>1101000
[4,5,2,3,7,1,8,6]=>0100101
[4,2,6,1,3,7,5,8]=>1010010
[4,6,2,1,3,7,5,8]=>0110010
[3,6,2,1,7,4,8,5]=>0110101
[3,1,4,7,6,5,2,8]=>1001110
[3,6,2,7,1,5,8,4]=>0101001
[4,6,2,7,1,3,5,8]=>0101000
[3,5,7,1,8,2,6,4]=>0010101
[5,1,4,2,3,6,7,8]=>1010000
[3,6,1,7,2,5,8,4]=>0101001
[2,6,5,3,4,7,8,1]=>0110001
[3,6,1,7,5,4,2,8]=>0101110
[5,1,4,3,2,6,7,8]=>1011000
[5,4,1,3,2,6,7,8]=>1101000
[6,4,2,5,3,8,1,7]=>1101010
[4,6,2,3,5,1,8,7]=>0100101
[6,2,4,5,1,8,3,7]=>1001010
[8,2,6,7,1,4,5,3]=>1001001
[8,2,6,7,4,1,5,3]=>1001101
[4,6,2,3,5,8,1,7]=>0100010
[2,6,4,1,5,8,3,7]=>0110010
[2,8,1,6,7,4,5,3]=>0100101
[6,8,4,5,7,2,3,1]=>0100101
[2,8,6,1,4,7,5,3]=>0110011
[2,8,1,6,4,7,5,3]=>0101011
[2,6,1,4,8,5,3,7]=>0100110
[6,4,5,2,8,3,1,7]=>1010110
[4,2,3,6,1,8,5,7]=>1001010
[4,2,3,1,6,8,5,7]=>1010010
[4,2,3,8,6,1,7,5]=>1001101
[6,4,5,8,2,3,7,1]=>1001001
[8,6,7,2,4,5,1,3]=>1010010
[6,4,8,5,2,3,7,1]=>1011001
[4,2,8,3,1,6,7,5]=>1011001
[2,4,8,1,3,6,7,5]=>0010001
[2,4,1,8,3,6,7,5]=>0101001
[2,1,4,8,6,3,7,5]=>1001101
[6,4,8,2,5,3,7,1]=>1010101
[8,6,2,4,7,5,1,3]=>1100110
[4,6,8,2,3,5,7,1]=>0010001
[2,6,8,4,1,5,7,3]=>0011001
[2,6,8,1,4,5,7,3]=>0010001
[2,1,6,8,4,5,7,3]=>1001001
[2,8,1,4,6,7,3,5]=>0100010
[4,8,6,2,3,7,5,1]=>0110011
[8,4,2,6,7,3,1,5]=>1100110
[7,6,4,5,1,3,8,2]=>1101001
[1,6,7,5,3,4,8,2]=>0011001
[7,6,2,3,8,4,1,5]=>1100110
[1,6,7,5,8,2,3,4]=>0010100
[6,2,5,8,3,4,7,1]=>1001001
[6,2,3,8,7,4,1,5]=>1001110
[2,4,7,3,5,8,6,1]=>0010011
[2,5,3,7,1,8,4,6]=>0101010
[5,2,8,3,1,4,6,7]=>1011000
[4,8,2,3,6,5,7,1]=>0100101
[5,8,1,3,6,4,7,2]=>0100101
[5,8,1,4,3,6,2,7]=>0101010
[5,8,4,1,3,7,6,2]=>0110011
[6,4,5,3,8,1,7,2]=>1010101
[4,6,5,3,7,1,2,8]=>0110100
[4,5,1,3,6,2,8,7]=>0100101
[4,2,6,5,1,7,3,8]=>1011010
[4,3,5,7,2,1,6,8]=>1001100
[3,4,7,6,8,1,2,5]=>0010100
[3,4,6,2,5,8,7,1]=>0010011
[3,5,2,4,6,1,8,7]=>0100101
[4,2,5,1,6,8,3,7]=>1010010
[1,8,2,3,6,5,7,4]=>0100101
[4,2,8,3,5,7,1,6]=>1010010
[4,3,8,6,5,7,1,2]=>1011010
[1,3,7,2,6,5,8,4]=>0010101
[1,3,6,4,2,5,8,7]=>0011001
[1,5,4,7,3,6,8,2]=>0101001
[5,2,3,8,4,1,7,6]=>1001101
[7,5,3,4,8,2,1,6]=>1100110
[7,2,8,3,4,1,5,6]=>1010100
[7,4,3,8,5,2,6,1]=>1101101
[4,6,2,7,3,1,5,8]=>0101100
[7,6,3,8,2,4,5,1]=>1101001
[7,2,8,5,1,3,4,6]=>1011000
[1,5,3,7,6,8,4,2]=>0101011
[1,6,3,7,8,2,4,5]=>0100100
[1,4,3,7,8,5,2,6]=>0100110
[4,2,6,5,7,8,3,1]=>1010011
[4,2,6,7,5,8,1,3]=>1001010
[3,2,4,7,8,5,1,6]=>1000110
[3,2,6,7,8,1,4,5]=>1000100
[5,1,8,3,6,4,7,2]=>1010101
[3,6,8,5,7,2,1,4]=>0010110
[5,1,3,8,7,6,4,2]=>1001111
[3,8,5,6,1,7,2,4]=>0101010
[3,4,8,1,7,6,2,5]=>0010110
[4,7,6,8,5,1,3,2]=>0101101
[6,7,4,8,5,1,3,2]=>0101101
[6,4,8,3,1,7,5,2]=>1011011
[3,6,5,8,7,1,4,2]=>0101101
[5,7,4,8,2,6,3,1]=>0101011
[5,6,4,8,2,7,3,1]=>0101011
[6,5,3,8,2,7,4,1]=>1101011
[6,4,8,1,3,7,5,2]=>1010011
[7,6,3,1,4,2,5,8]=>1110100
[1,5,4,3,7,8,2,6]=>0110010
[7,8,4,2,5,3,1,6]=>0110110
[4,2,7,8,5,3,1,6]=>1001110
[4,2,5,3,1,7,8,6]=>1011001
[4,2,8,7,6,3,1,5]=>1011110
[4,2,7,6,3,1,5,8]=>1011100
[6,3,1,7,5,2,4,8]=>1101100
[6,3,1,8,7,5,2,4]=>1101110
[8,6,3,1,7,5,2,4]=>1110110
[4,2,7,6,3,1,8,5]=>1011101
[7,6,3,1,8,4,2,5]=>1110110
[7,6,4,2,1,8,3,5]=>1111010
[1,8,2,7,6,4,3,5]=>0101110
[8,3,5,7,6,4,2,1]=>1001111
[8,4,2,5,7,6,3,1]=>1100111
[7,5,2,4,8,6,3,1]=>1100111
[8,7,5,2,4,6,3,1]=>1110011
[7,5,2,4,6,3,1,8]=>1100110
[5,2,8,6,3,7,4,1]=>1011011
[8,4,7,5,2,6,3,1]=>1011011
[8,3,6,4,7,5,2,1]=>1010111
[1,8,2,7,5,3,6,4]=>0101101
[7,5,2,1,8,3,6,4]=>1110101
[7,5,2,6,3,1,8,4]=>1101101
[5,2,7,4,1,8,6,3]=>1011011
[5,2,8,7,4,1,6,3]=>1011101
[8,7,4,1,5,2,6,3]=>1110101
[7,4,1,5,2,8,6,3]=>1101011
[7,6,3,1,4,2,8,5]=>1110101
[7,5,2,8,6,3,1,4]=>1101110
[8,7,5,2,6,3,1,4]=>1110110
[7,5,2,1,3,6,4,8]=>1110010
[8,7,5,2,1,3,6,4]=>1111001
[7,5,2,1,3,8,6,4]=>1110011
[1,3,7,6,5,8,2,4]=>0011010
[8,6,4,7,5,2,1,3]=>1101110
[6,4,8,7,5,2,1,3]=>1011110
[6,4,7,5,2,1,3,8]=>1011100
[6,3,1,4,7,5,2,8]=>1100110
[6,3,1,4,8,7,5,2]=>1100111
[8,6,3,1,4,7,5,2]=>1110011
[8,5,7,6,3,1,4,2]=>1011101
[1,8,2,5,7,6,4,3]=>0100111
[1,8,2,6,4,7,5,3]=>0101011
[7,5,2,1,6,4,8,3]=>1110101
[6,3,8,7,4,1,5,2]=>1011101
[6,3,7,4,1,5,2,8]=>1011010
[7,4,1,6,3,5,2,8]=>1101010
[7,4,1,8,6,3,5,2]=>1101101
[8,4,6,3,1,7,5,2]=>1011011
[6,4,7,5,2,1,8,3]=>1011101
[1,6,4,7,5,3,8,2]=>0101101
[8,6,3,5,2,7,4,1]=>1101011
[6,3,5,2,8,7,4,1]=>1010111
[6,3,5,2,7,4,1,8]=>1010110
[1,4,7,3,5,2,6,8]=>0010100
[5,7,4,2,6,3,1,8]=>0110110
[4,2,6,3,5,7,1,8]=>1010010
[2,4,5,8,1,6,7,3]=>0001001
[6,1,3,7,4,2,5,8]=>1001100
[3,2,6,8,1,5,7,4]=>1001001
[8,2,6,1,5,4,7,3]=>1010101
[8,6,2,7,1,5,4,3]=>1101011
[7,6,8,3,1,5,4,2]=>1011011
[6,3,7,2,8,1,5,4]=>1010101
[7,5,2,8,6,1,4,3]=>1101101
[2,7,3,8,1,5,6,4]=>0101001
[1,6,8,5,2,4,3,7]=>0011010
[4,5,7,2,8,1,6,3]=>0010101
[8,4,6,5,3,1,7,2]=>1011101
[4,5,3,1,7,2,6,8]=>0110100
[7,8,1,2,4,3,6,5]=>0100101
[8,4,1,6,2,3,7,5]=>1101001
[4,1,3,6,5,7,8,2]=>1001001
[6,1,3,4,2,8,5,7]=>1001010
[8,1,4,2,5,7,6,3]=>1010011
[8,1,4,3,5,7,6,2]=>1010011
[5,2,4,1,3,7,8,6]=>1010001
[2,6,5,3,1,7,8,4]=>0111001
[8,3,2,1,5,7,6,4]=>1110011
[1,7,4,3,6,8,2,5]=>0110010
[2,7,6,3,1,8,4,5]=>0111010
[2,8,4,6,3,7,5,1]=>0101011
[8,7,1,3,6,5,4,2]=>1100111
[1,8,5,7,4,2,6,3]=>0101101
[3,8,6,5,7,1,4,2]=>0110101
[4,8,6,2,7,1,5,3]=>0110101
[4,7,5,3,8,2,1,6]=>0110110
[1,6,5,8,3,4,2,7]=>0101010
[6,1,5,3,8,4,2,7]=>1010110
[8,1,5,4,7,2,6,3]=>1010101
[2,1,4,7,5,8,3,6]=>1001010
[6,3,5,8,7,4,1,2]=>1001110
[4,7,2,8,5,6,3,1]=>0101011
[1,4,8,7,3,5,6,2]=>0011001
[8,1,7,6,3,5,4,2]=>1011011
[3,6,8,5,7,4,1,2]=>0010110
[4,7,6,8,5,3,1,2]=>0101110
[5,7,2,8,6,4,1,3]=>0101110
[3,8,7,5,6,4,2,1]=>0110111
[2,8,7,6,4,5,3,1]=>0111011
[1,8,7,6,5,3,4,2]=>0111101
[4,6,7,2,5,3,1,8]=>0010110
[2,4,7,8,1,6,5,3]=>0001011
[4,2,6,8,7,1,5,3]=>1001101
[5,1,8,4,2,7,6,3]=>1011011
[6,8,3,7,1,5,4,2]=>0101011
[2,7,3,8,1,6,5,4]=>0101011
[2,6,8,4,1,7,5,3]=>0011011
[4,6,7,1,2,8,5,3]=>0010011
[3,6,1,8,2,7,5,4]=>0101011
[5,7,4,1,2,8,6,3]=>0110011
[6,3,7,1,2,8,5,4]=>1010011
[8,1,5,6,3,2,4,7]=>1001100
[1,7,8,3,5,2,4,6]=>0010100
[8,5,3,7,2,4,6,1]=>1101001
[1,7,2,4,8,5,3,6]=>0100110
[1,7,8,5,4,3,2,6]=>0011110
[2,6,8,7,4,3,5,1]=>0011101
[1,2,6,7,8,4,3,5]=>0000110
[2,7,5,8,4,1,3,6]=>0101100
[2,1,7,8,4,5,3,6]=>1001010
[3,7,8,2,1,5,4,6]=>0011010
[8,5,1,4,7,3,6,2]=>1100101
[8,4,7,5,3,6,1,2]=>1011010
[8,1,4,6,7,3,5,2]=>1000101
[3,5,8,6,7,4,1,2]=>0010110
[3,6,8,4,7,1,5,2]=>0010101
[4,7,1,3,6,8,2,5]=>0100010
[3,7,6,4,8,1,2,5]=>0110100
[3,1,7,5,6,8,2,4]=>1010010
[2,3,6,5,7,1,8,4]=>0010101
[3,7,5,4,2,1,8,6]=>0111101
[1,3,6,7,4,2,8,5]=>0001101
[3,6,4,8,2,7,5,1]=>0101011
[1,4,6,3,2,7,8,5]=>0011001
[8,7,1,5,6,3,2,4]=>1100110
[8,1,6,7,5,3,2,4]=>1001110
[1,7,8,6,5,3,2,4]=>0011110
[8,7,2,4,6,5,3,1]=>1100111
[1,7,8,2,6,4,5,3]=>0010101
[8,7,2,5,4,6,1,3]=>1101010
[8,7,2,5,3,1,6,4]=>1101101
[8,7,3,2,1,5,6,4]=>1111001
[8,2,6,7,3,1,5,4]=>1001101
[1,7,2,8,5,6,4,3]=>0101011
[2,7,1,8,4,6,5,3]=>0101011
[3,7,8,2,1,6,5,4]=>0011011
[8,7,6,1,4,5,3,2]=>1110011
[4,8,1,2,3,7,5,6]=>0100010
[1,8,2,3,6,5,4,7]=>0100110
[3,5,8,4,7,2,6,1]=>0010101
[1,8,5,4,6,2,3,7]=>0110100
[3,8,5,4,6,1,2,7]=>0110100
[3,8,5,1,6,4,2,7]=>0110110
[2,8,5,4,6,1,3,7]=>0110100
[2,8,5,4,6,3,1,7]=>0110110
[1,8,5,4,6,3,2,7]=>0110110
[2,5,8,4,7,3,6,1]=>0010101
[3,6,4,2,7,8,5,1]=>0110011
[3,5,4,1,6,2,7,8]=>0110100
[4,5,8,1,7,6,2,3]=>0010110
[3,5,8,4,7,1,6,2]=>0010101
[1,5,8,4,7,3,6,2]=>0010101
[3,6,4,1,7,8,5,2]=>0110011
[3,6,4,8,7,5,2,1]=>0101111
[1,6,4,3,7,8,5,2]=>0110011
[7,1,3,4,8,6,5,2]=>1000111
[7,6,1,3,8,4,2,5]=>1100110
[1,6,4,2,7,8,3,5]=>0110010
[2,6,4,3,7,1,8,5]=>0110101
[2,6,4,1,7,8,3,5]=>0110010
[7,2,3,4,8,6,5,1]=>1000111
[7,2,3,1,8,6,4,5]=>1010110
[7,2,3,4,1,6,8,5]=>1001001
[1,2,4,3,8,5,7,6]=>0010101
[7,3,8,6,1,4,2,5]=>1011010
[7,2,8,6,3,4,1,5]=>1011010
[7,2,3,1,5,6,8,4]=>1010001
[7,2,3,8,1,6,5,4]=>1001011
[7,2,3,8,5,6,4,1]=>1001011
[2,6,4,8,7,1,5,3]=>0101101
[1,5,8,4,7,6,2,3]=>0010110
[3,5,8,1,6,7,2,4]=>0010010
[7,6,1,3,5,8,2,4]=>1100010
[7,1,3,2,5,6,8,4]=>1010001
[7,1,3,8,2,6,5,4]=>1001011
[7,6,1,8,5,4,2,3]=>1101110
[3,2,6,5,8,4,7,1]=>1010101
[4,3,7,1,6,5,8,2]=>1010101
[5,2,6,4,8,3,7,1]=>1010101
[4,3,7,5,8,2,6,1]=>1010101
[5,3,7,4,8,2,6,1]=>1010101
[5,3,7,4,8,1,6,2]=>1010101
[5,4,8,1,6,2,7,3]=>1010101
[4,3,7,1,5,2,8,6]=>1010101
[5,4,8,2,6,3,7,1]=>1010101
[5,4,8,1,6,3,7,2]=>1010101
[4,1,7,5,2,3,6,8]=>1011000
[4,1,7,8,6,3,2,5]=>1001110
[4,7,2,8,3,5,1,6]=>0101010
[6,8,3,2,1,4,7,5]=>0111001
[7,2,4,1,6,5,8,3]=>1010101
[7,5,8,4,3,1,6,2]=>1011101
[6,8,2,4,1,3,7,5]=>0101001
[2,8,4,7,6,3,5,1]=>0101101
[6,1,2,7,5,8,4,3]=>1001011
[4,2,7,3,8,5,6,1]=>1010101
[4,5,2,6,8,3,7,1]=>0100101
[4,8,3,2,5,7,6,1]=>0110011
[7,2,4,3,8,5,6,1]=>1010101
[6,8,5,3,4,7,2,1]=>0110011
[8,4,7,6,2,3,5,1]=>1011001
[6,8,4,1,5,3,7,2]=>0110101
[8,3,4,7,6,2,5,1]=>1001101
[1,8,3,5,2,6,7,4]=>0101001
[6,8,3,5,1,4,7,2]=>0101001
[6,8,5,4,2,3,7,1]=>0111001
[5,8,2,4,3,7,6,1]=>0101011
[8,2,1,3,5,6,4,7]=>1100010
[8,2,1,3,5,4,7,6]=>1100101
[8,2,1,3,4,6,7,5]=>1100001
[8,1,3,4,2,6,5,7]=>1001010
[8,1,3,4,2,5,7,6]=>1001001
[8,1,3,2,5,6,4,7]=>1010010
[8,1,2,4,5,3,7,6]=>1000101
[8,1,2,4,3,6,7,5]=>1001001
[6,5,3,8,4,2,7,1]=>1101101
[7,4,5,1,6,2,8,3]=>1010101
[4,7,3,5,6,2,8,1]=>0100101
[6,7,8,4,1,3,5,2]=>0011001
[3,1,6,8,4,7,5,2]=>1001011
[8,3,6,1,5,7,4,2]=>1010011
[3,2,7,5,8,6,1,4]=>1010110
[2,5,4,7,8,1,6,3]=>0100101
[2,4,6,7,8,1,5,3]=>0000101
[2,4,6,8,1,7,5,3]=>0001011
[7,4,3,8,6,2,1,5]=>1101110
[2,4,7,8,3,5,6,1]=>0001001
[3,2,7,6,1,8,4,5]=>1011010
[3,2,6,8,1,7,4,5]=>1001010
[4,3,6,2,1,8,5,7]=>1011010
[3,6,4,2,5,8,1,7]=>0110010
[4,6,2,3,7,5,8,1]=>0100101
[5,8,4,2,3,6,7,1]=>0110001
[8,4,5,3,2,1,7,6]=>1011101
[5,8,3,4,2,1,7,6]=>0101101
[6,8,4,2,3,7,5,1]=>0110011
[6,4,8,3,2,7,1,5]=>1011010
[5,8,3,7,2,1,6,4]=>0101101
[2,5,6,4,7,1,8,3]=>0010101
[2,5,4,8,1,6,7,3]=>0101001
[6,4,7,3,8,2,1,5]=>1010110
[6,7,4,3,2,1,8,5]=>0111101
[8,4,3,7,2,1,5,6]=>1101100
[1,2,6,5,8,7,3,4]=>0010110
[1,5,2,8,4,6,7,3]=>0101001
[1,5,2,7,4,6,8,3]=>0101001
[5,1,2,7,3,6,8,4]=>1001001
[5,1,2,8,3,6,7,4]=>1001001
[5,6,3,4,8,7,2,1]=>0100111
[6,5,3,4,8,7,2,1]=>1100111
[4,1,2,8,3,6,7,5]=>1001001
[4,1,2,7,3,6,8,5]=>1001001
[7,5,3,8,4,6,2,1]=>1101011
[8,5,3,7,4,6,2,1]=>1101011
[5,8,1,2,3,4,7,6]=>0100001
[7,1,2,8,3,6,4,5]=>1001010
[6,1,8,2,3,5,7,4]=>1010001
[6,1,7,2,3,5,8,4]=>1010001
[1,6,8,2,4,5,7,3]=>0010001
[4,3,8,7,5,6,2,1]=>1011011
[1,8,2,7,4,6,5,3]=>0101011
[7,1,6,2,3,5,8,4]=>1010001
[8,1,6,2,3,5,7,4]=>1010001
[8,1,7,2,3,5,6,4]=>1010001
[5,8,3,7,4,6,2,1]=>0101011
[6,8,7,3,4,5,2,1]=>0110011
[1,8,7,2,4,5,3,6]=>0110010
[8,7,1,2,3,4,6,5]=>1100001
[8,6,1,2,3,4,7,5]=>1100001
[8,1,6,2,3,5,4,7]=>1010010
[1,7,6,2,4,5,3,8]=>0110010
[1,8,7,4,6,3,5,2]=>0110101
[6,3,7,5,1,4,8,2]=>1011001
[1,8,3,5,7,2,6,4]=>0100101
[2,3,4,6,8,5,7,1]=>0000101
[2,3,5,7,4,8,6,1]=>0001011
[2,4,6,3,7,8,5,1]=>0010011
[2,5,7,1,8,6,3,4]=>0010110
[1,3,8,5,2,4,6,7]=>0011000
[2,6,7,1,8,4,5,3]=>0010101
[5,8,3,1,4,2,6,7]=>0110100
[3,8,4,2,6,7,1,5]=>0110010
[2,4,1,8,5,6,3,7]=>0101010
[1,6,2,7,8,5,3,4]=>0100110
[3,5,2,6,7,8,4,1]=>0100011
[4,5,1,6,7,3,8,2]=>0100101
[2,8,4,1,7,5,3,6]=>0110110
[8,5,3,1,7,4,2,6]=>1110110
[4,2,8,7,1,5,3,6]=>1011010
[5,2,6,8,1,7,4,3]=>1001011
[5,7,3,2,6,8,1,4]=>0110010
[8,4,7,3,1,6,2,5]=>1011010
[6,7,1,2,3,5,8,4]=>0100001
[3,1,6,7,8,4,2,5]=>1000110
[3,1,4,8,5,6,2,7]=>1001010
[8,3,1,4,5,7,2,6]=>1100010
[8,6,2,3,5,1,4,7]=>1100100
[8,2,4,5,7,3,1,6]=>1000110
[2,6,3,8,7,5,4,1]=>0101111
[8,2,3,7,5,4,1,6]=>1001110
[8,2,6,3,5,4,1,7]=>1010110
[8,6,1,5,2,4,3,7]=>1101010
[8,6,2,4,1,5,3,7]=>1101010
[8,4,1,6,5,3,2,7]=>1101110
[8,3,6,1,5,4,2,7]=>1010110
[8,3,2,6,5,4,1,7]=>1101110
[8,3,2,5,7,4,1,6]=>1100110
[8,3,1,7,5,4,2,6]=>1101110
[8,2,7,4,1,5,3,6]=>1011010
[6,1,3,8,7,5,4,2]=>1001111
[3,6,1,8,7,5,4,2]=>0101111
[3,8,1,5,7,6,4,2]=>0100111
[3,5,2,8,7,6,4,1]=>0101111
[3,4,8,2,7,6,5,1]=>0010111
[3,4,8,7,1,6,5,2]=>0011011
[8,1,3,5,7,6,4,2]=>1000111
[4,1,8,5,7,6,3,2]=>1010111
[8,2,7,1,4,5,6,3]=>1010001
[8,1,7,3,4,6,2,5]=>1010010
[8,3,1,7,2,6,5,4]=>1101011
[3,8,2,4,7,6,5,1]=>0100111
[2,8,3,7,4,6,5,1]=>0101011
[8,2,3,7,1,6,5,4]=>1001011
[8,2,7,1,3,6,5,4]=>1010011
[8,1,7,2,6,4,3,5]=>1010110
[8,1,7,5,2,4,3,6]=>1011010
[8,2,3,7,4,6,1,5]=>1001010
[2,4,8,5,7,6,3,1]=>0010111
[8,2,4,3,7,6,1,5]=>1010110
[8,2,7,3,5,1,4,6]=>1010100
[8,2,7,4,3,1,5,6]=>1011100
[8,2,7,3,1,5,6,4]=>1011001
[8,2,1,5,7,6,4,3]=>1100111
[6,2,1,8,7,5,4,3]=>1101111
[6,1,8,2,7,5,4,3]=>1010111
[8,1,7,3,5,2,6,4]=>1010101
[8,1,5,2,7,6,4,3]=>1010111
[8,1,7,2,4,6,5,3]=>1010011
[8,2,4,1,7,6,5,3]=>1010111
[4,2,8,3,7,6,5,1]=>1010111
[4,8,2,1,7,6,5,3]=>0110111
[5,1,8,7,2,6,4,3]=>1011011
[5,8,1,3,7,6,2,4]=>0100110
[8,2,5,4,1,7,6,3]=>1011011
[5,1,4,8,7,6,3,2]=>1001111
[8,1,4,3,7,6,5,2]=>1010111
[4,8,1,3,7,6,5,2]=>0100111
[4,3,8,1,7,6,5,2]=>1010111
[5,8,6,3,2,1,7,4]=>0111101
[5,7,6,3,2,4,1,8]=>0111010
[6,5,7,2,4,3,1,8]=>1010110
[5,7,1,3,2,8,6,4]=>0101011
[5,8,1,3,2,7,4,6]=>0101010
[8,5,1,3,2,4,6,7]=>1101000
[7,5,1,3,2,4,8,6]=>1101001
[7,5,8,2,1,4,3,6]=>1011010
[6,7,1,2,5,4,8,3]=>0100101
[6,8,1,2,5,7,4,3]=>0100011
[7,1,2,3,8,6,4,5]=>1000110
[8,1,6,4,2,3,5,7]=>1011000
[1,5,4,8,2,3,7,6]=>0101001
[1,7,8,2,3,5,6,4]=>0010001
[7,5,8,2,3,1,4,6]=>1010100
[7,4,1,2,6,8,3,5]=>1100010
[6,2,8,1,5,7,3,4]=>1010010
[7,2,5,4,1,8,6,3]=>1011011
[7,3,5,4,2,1,8,6]=>1011101
[7,3,2,8,5,6,1,4]=>1101010
[1,7,4,3,6,8,5,2]=>0110011
[4,7,6,5,2,3,8,1]=>0111001
[5,4,6,8,7,2,1,3]=>1001110
[6,7,4,2,1,8,5,3]=>0111011
[1,7,6,3,2,8,4,5]=>0111010
[6,5,8,1,7,3,4,2]=>1010101
[6,5,8,2,3,7,4,1]=>1010011
[6,5,8,3,4,1,7,2]=>1010101
[4,1,2,8,5,3,6,7]=>1001100
[3,5,8,2,6,1,7,4]=>0010101
[3,7,6,1,5,2,8,4]=>0110101
[1,7,6,2,5,8,4,3]=>0110011
[1,7,6,5,8,4,2,3]=>0110110
[3,7,6,2,8,4,5,1]=>0110101
[4,3,6,8,5,1,2,7]=>1001100
[2,7,1,5,8,4,3,6]=>0100110
[2,7,6,1,8,4,3,5]=>0110110
[7,1,2,6,3,5,4,8]=>1001010
[7,2,6,3,4,5,1,8]=>1010010
[6,1,2,5,7,8,4,3]=>1000011
[4,1,2,7,8,5,3,6]=>1000110
[4,7,3,1,2,6,8,5]=>0110001
[3,7,6,1,5,8,2,4]=>0110010
[3,8,5,6,4,2,7,1]=>0101101
[3,2,6,4,7,8,5,1]=>1010011
[4,2,7,5,8,3,1,6]=>1010110
[4,2,7,1,3,8,6,5]=>1010011
[5,2,1,4,7,8,3,6]=>1100010
[5,6,2,7,3,4,8,1]=>0101001
[6,1,3,8,5,4,7,2]=>1001101
[2,7,6,8,5,1,3,4]=>0101100
[2,7,6,8,5,3,1,4]=>0101110
[1,5,8,6,4,2,3,7]=>0011100
[2,5,8,6,4,1,7,3]=>0011101
[1,6,2,3,5,8,7,4]=>0100011
[4,7,2,3,1,6,8,5]=>0101001
[6,7,3,1,5,4,8,2]=>0110101
[7,4,6,2,8,3,5,1]=>1010101
[7,3,5,1,4,8,2,6]=>1010010
[3,4,6,5,1,2,7,8]=>0011000
[7,5,4,3,8,6,2,1]=>1110111
[4,3,8,2,6,7,5,1]=>1010011
[4,3,8,2,5,7,1,6]=>1010010
[4,1,6,2,5,3,7,8]=>1010100
[5,1,8,6,4,7,2,3]=>1011010
[4,2,6,1,5,3,8,7]=>1010101
[6,7,2,3,1,5,8,4]=>0101001
[7,5,2,3,8,1,6,4]=>1100101
[7,5,2,3,8,4,1,6]=>1100110
[4,5,1,7,6,3,8,2]=>0101101
[8,1,7,5,2,3,4,6]=>1011000
[8,6,3,1,4,2,5,7]=>1110100
[4,5,1,6,2,8,7,3]=>0101011
[4,8,3,6,1,7,2,5]=>0101010
[6,2,7,8,3,4,5,1]=>1001001
[1,2,4,6,8,5,7,3]=>0000101
[2,1,7,5,8,6,3,4]=>1010110
[4,7,3,8,6,5,2,1]=>0101111
[3,8,7,4,6,5,1,2]=>0110110
[7,3,8,4,6,5,1,2]=>1010110
[7,4,3,6,5,8,1,2]=>1101010
[4,5,8,7,2,6,1,3]=>0011010
[3,8,6,7,5,1,4,2]=>0101101
[4,2,7,6,5,8,3,1]=>1011011
[4,6,7,8,5,2,3,1]=>0001101
[4,5,3,8,2,7,6,1]=>0101011
[3,8,5,4,1,7,6,2]=>0111011
[6,4,7,2,5,8,3,1]=>1010011
[6,3,8,7,5,1,4,2]=>1011101
[5,3,6,4,1,2,8,7]=>1011001
[6,8,4,3,5,7,1,2]=>0110010
[5,2,4,8,7,6,1,3]=>1001110
[4,2,5,1,7,8,3,6]=>1010010
[2,5,4,1,3,8,6,7]=>0110010
[1,4,5,3,8,2,6,7]=>0010100
[5,1,8,2,4,3,6,7]=>1010100
[1,5,4,8,2,3,6,7]=>0101000
[3,5,1,4,7,8,2,6]=>0100010
[4,8,3,1,6,7,2,5]=>0110010
[3,4,8,2,6,5,7,1]=>0010101
[3,6,2,4,8,7,1,5]=>0100110
[4,7,3,2,6,8,1,5]=>0110010
[7,3,4,6,8,1,2,5]=>1000100
[3,6,7,2,5,8,1,4]=>0010010
[1,5,6,8,3,7,2,4]=>0001010
[6,1,5,8,3,4,7,2]=>1001001
[5,6,8,1,3,4,7,2]=>0010001
[2,8,5,6,3,4,7,1]=>0101001
[6,8,1,3,5,4,7,2]=>0100101
[8,1,6,3,5,4,7,2]=>1010101
[1,8,7,3,6,4,5,2]=>0110101
[7,1,2,5,8,4,6,3]=>1000101
[6,2,4,8,1,7,3,5]=>1001010
[3,1,7,8,5,4,6,2]=>1001101
[1,6,2,7,4,8,5,3]=>0101011
[2,7,1,8,4,3,5,6]=>0101100
[6,7,1,8,3,2,4,5]=>0101100
[2,7,6,3,5,8,1,4]=>0110010
[2,7,5,6,8,1,3,4]=>0100100
[6,7,2,8,1,3,4,5]=>0101000
[5,1,6,8,7,2,3,4]=>1001100
[1,5,7,6,8,2,3,4]=>0010100
[7,4,6,8,5,3,1,2]=>1001110
[2,1,5,7,8,3,6,4]=>1000101
[3,8,6,7,5,1,2,4]=>0101100
[4,7,5,8,6,3,1,2]=>0101110
[1,6,8,3,2,5,4,7]=>0011010
[7,8,5,1,3,2,6,4]=>0110101
[2,6,8,1,5,4,7,3]=>0010101
[1,5,4,7,6,2,8,3]=>0101101
[2,3,7,6,5,1,8,4]=>0011101
[6,1,5,8,3,2,7,4]=>1001101
[3,1,2,4,8,5,7,6]=>1000101
[2,5,8,4,6,3,1,7]=>0010110
[7,1,5,4,8,3,2,6]=>1010110
[6,4,1,7,5,3,2,8]=>1101110
[2,7,6,4,8,1,5,3]=>0110101
[7,2,5,4,8,1,6,3]=>1010101
[1,7,2,5,3,8,6,4]=>0101011
[7,2,3,8,6,1,5,4]=>1001101
[5,3,8,4,1,2,6,7]=>1011000
[2,4,8,3,7,1,5,6]=>0010100
[5,2,8,4,1,6,3,7]=>1011010
[7,6,5,2,1,8,4,3]=>1111011
[2,7,5,1,8,3,6,4]=>0110101
[5,1,8,7,4,3,6,2]=>1011101
[3,8,7,2,4,6,1,5]=>0110010
[5,7,1,3,2,4,8,6]=>0101001
[4,2,7,6,3,5,8,1]=>1011001
[8,4,7,6,3,5,1,2]=>1011010
[8,1,7,4,2,3,5,6]=>1011000
[6,5,1,3,8,7,4,2]=>1100111
[4,7,8,3,2,5,1,6]=>0011010
[6,1,8,5,3,7,2,4]=>1011010
[5,1,6,8,3,7,4,2]=>1001011
[8,6,5,1,7,4,3,2]=>1110111
[7,6,4,1,3,5,8,2]=>1110001
[8,2,3,7,1,4,5,6]=>1001000
[2,8,3,7,1,4,5,6]=>0101000
[5,6,2,7,4,3,1,8]=>0101110
[8,6,2,7,4,1,3,5]=>1101100
[3,7,8,2,6,1,4,5]=>0010100
[3,7,8,5,2,1,4,6]=>0011100
[6,8,4,7,3,1,5,2]=>0101101
[4,8,6,5,1,2,7,3]=>0111001
[4,8,6,5,1,2,3,7]=>0111000
[3,4,5,1,7,6,8,2]=>0010101
[3,8,7,6,5,1,2,4]=>0111100
[8,4,6,7,1,2,5,3]=>1001001
[5,7,2,6,1,8,4,3]=>0101011
[5,7,2,6,1,3,8,4]=>0101001
[5,8,2,6,1,4,7,3]=>0101001
[3,8,7,5,6,1,4,2]=>0110101
[6,8,4,7,2,1,5,3]=>0101101
[1,7,3,4,5,2,8,6]=>0100101
[4,8,2,1,3,5,6,7]=>0110000
[1,7,2,5,4,3,8,6]=>0101101
[2,6,7,3,4,8,1,5]=>0010010
[2,1,5,7,4,3,8,6]=>1001101
[4,1,8,7,5,6,2,3]=>1011010
[1,5,8,7,4,3,6,2]=>0011101
[6,4,1,3,8,7,5,2]=>1100111
[2,1,7,4,6,8,3,5]=>1010010
[1,7,2,4,6,8,3,5]=>0100010
[8,6,4,2,7,3,5,1]=>1110101
[7,4,6,1,2,3,8,5]=>1010001
[1,8,6,2,7,3,5,4]=>0110101
[1,7,8,6,2,3,5,4]=>0011001
[2,1,8,3,5,7,6,4]=>1010011
[3,5,8,1,7,6,2,4]=>0010110
[2,8,1,3,6,7,5,4]=>0100011
[7,2,4,8,6,1,5,3]=>1001101
[6,4,3,2,8,1,7,5]=>1110101
[6,2,4,3,8,1,7,5]=>1010101
[5,8,4,3,1,6,7,2]=>0111001
[4,2,8,1,5,7,6,3]=>1010011
[6,3,7,2,5,4,8,1]=>1010101
[5,4,7,3,2,6,8,1]=>1011001
[5,7,2,6,3,4,8,1]=>0101001
[3,7,5,4,6,2,8,1]=>0110101
[6,8,3,2,1,7,4,5]=>0111010
[4,8,1,7,5,3,2,6]=>0101110
[5,4,3,7,2,8,6,1]=>1101011
[3,6,5,7,2,8,4,1]=>0101011
[4,6,5,3,8,2,1,7]=>0110110
[2,6,5,8,7,3,1,4]=>0101110
[6,3,8,4,1,7,2,5]=>1011010
[7,2,8,1,6,4,3,5]=>1010110
[3,2,8,7,6,4,1,5]=>1011110
[8,2,6,4,3,5,1,7]=>1011010
[5,4,2,8,6,3,7,1]=>1101101
[2,8,7,5,3,1,4,6]=>0111100
[2,5,6,3,1,4,8,7]=>0011001
[2,4,7,8,5,3,1,6]=>0001110
[6,5,3,2,4,1,8,7]=>1110101
[6,5,8,7,3,2,4,1]=>1011101
[2,1,4,7,8,5,3,6]=>1000110
[8,5,6,7,3,1,4,2]=>1001101
[8,7,5,3,2,6,4,1]=>1111011
[8,5,3,1,4,6,7,2]=>1110001
[8,5,1,6,4,3,7,2]=>1101101
[6,1,4,3,7,8,2,5]=>1010010
[6,1,2,7,5,8,3,4]=>1001010
[2,7,3,1,4,6,8,5]=>0110001
[2,8,3,1,6,5,7,4]=>0110101
[3,8,5,6,7,1,2,4]=>0100100
[2,5,8,1,4,6,7,3]=>0010001
[2,1,8,7,5,4,6,3]=>1011101
[7,8,3,4,1,6,5,2]=>0101011
[8,7,3,4,2,6,5,1]=>1101011
[8,4,5,2,3,7,1,6]=>1010010
[4,7,2,8,6,3,1,5]=>0101110
[4,7,5,2,3,8,1,6]=>0110010
[6,4,7,5,2,8,3,1]=>1011011
[7,5,1,3,6,4,8,2]=>1100101
[6,5,2,3,7,8,4,1]=>1100011
[7,2,6,3,1,5,8,4]=>1011001
[4,6,3,8,7,5,1,2]=>0101110
[2,8,4,1,5,7,6,3]=>0110011
[1,8,4,2,5,7,6,3]=>0110011
[2,8,5,4,1,7,6,3]=>0111011
[2,5,8,3,7,1,6,4]=>0010101
[1,8,5,2,4,7,6,3]=>0110011
[1,4,6,2,8,7,5,3]=>0010111
[7,8,2,4,1,6,5,3]=>0101011
[2,4,6,1,8,7,5,3]=>0010111
[2,8,4,5,1,7,6,3]=>0101011
[3,5,8,2,7,6,1,4]=>0010110
[2,1,6,8,7,5,3,4]=>1001110
[1,8,2,4,5,7,6,3]=>0100011
[1,2,8,3,5,7,6,4]=>0010011
[1,3,8,2,5,7,6,4]=>0010011
[2,3,8,1,5,7,6,4]=>0010011
[2,6,1,8,7,5,3,4]=>0101110
[1,6,2,8,7,5,3,4]=>0101110
[1,6,3,8,7,5,2,4]=>0101110
[2,6,3,8,7,5,1,4]=>0101110
[3,2,8,1,5,7,6,4]=>1010011
[3,1,8,2,5,7,6,4]=>1010011
[2,8,1,4,5,7,6,3]=>0100011
[7,8,2,1,4,6,5,3]=>0110011
[2,3,6,8,7,5,1,4]=>0001110
[3,1,6,8,7,2,5,4]=>1001101
[3,8,4,5,1,6,2,7]=>0101010
[6,1,4,5,7,2,3,8]=>1000100
[8,1,4,7,6,3,2,5]=>1001110
[8,3,1,6,4,7,2,5]=>1101010
[5,3,8,6,2,7,1,4]=>1011010
[8,3,6,1,5,7,2,4]=>1010010
[8,4,6,3,1,2,5,7]=>1011000
[6,8,1,4,5,2,3,7]=>0100100
[1,5,8,4,6,2,3,7]=>0010100
[2,1,6,5,3,8,4,7]=>1011010
[5,6,8,1,4,2,3,7]=>0010100
[5,7,4,8,1,2,3,6]=>0101000
[8,2,1,5,3,7,4,6]=>1101010
[4,7,8,1,2,6,3,5]=>0010010
[8,7,1,5,6,2,3,4]=>1100100
[1,6,5,8,7,2,3,4]=>0101100
[3,7,1,6,2,4,8,5]=>0101001
[5,1,2,7,6,8,3,4]=>1001010
[6,1,7,2,5,8,3,4]=>1010010
[1,7,6,5,8,2,3,4]=>0110100
[1,6,8,5,7,2,3,4]=>0010100
[7,5,1,2,6,8,3,4]=>1100010
[6,1,5,2,7,8,3,4]=>1010010
[1,6,3,8,7,2,4,5]=>0101100
[1,7,3,2,4,6,8,5]=>0110001
[8,3,1,4,2,5,7,6]=>1101001
[3,1,2,7,8,4,6,5]=>1000101
[5,1,2,6,8,7,3,4]=>1000110
[1,8,6,2,5,7,3,4]=>0110010
[5,7,8,1,2,6,3,4]=>0010010
[8,1,5,7,6,2,3,4]=>1001100
[7,1,6,8,5,2,3,4]=>1001100
[3,7,1,2,8,4,6,5]=>0100101
[8,3,1,2,7,6,4,5]=>1100110
[1,5,8,7,6,2,3,4]=>0011100
[7,8,6,1,5,2,3,4]=>0110100
[7,8,6,3,1,5,2,4]=>0111010
[7,8,1,3,4,5,2,6]=>0100010
[1,7,4,8,2,5,3,6]=>0101010
[3,8,6,1,4,2,7,5]=>0110101
[7,1,8,2,4,6,3,5]=>1010010
[7,6,8,4,1,5,3,2]=>1011011
[7,3,2,8,1,5,4,6]=>1101010
[3,5,4,1,7,2,6,8]=>0110100
[6,4,7,3,2,5,1,8]=>1011010
[7,6,5,3,8,4,1,2]=>1110110
[6,4,5,7,8,1,3,2]=>1000101
[3,7,4,1,6,8,5,2]=>0110011
[3,1,2,7,6,8,5,4]=>1001011
[6,3,2,8,4,5,1,7]=>1101010
[6,1,8,3,5,4,2,7]=>1010110
[3,8,5,2,4,6,1,7]=>0110010
[1,6,4,8,3,5,2,7]=>0101010
[1,5,4,8,6,3,7,2]=>0101101
[4,8,2,5,3,7,1,6]=>0101010
[3,8,4,5,2,6,7,1]=>0101001
[4,1,8,6,5,3,7,2]=>1011101
[5,7,8,4,6,3,2,1]=>0010111
[5,3,2,8,6,4,7,1]=>1101101
[6,8,1,2,7,4,3,5]=>0100110
[5,8,7,3,6,2,4,1]=>0110101
[7,5,2,3,4,8,6,1]=>1100011
[7,3,5,4,2,8,6,1]=>1011011
[5,6,1,3,2,4,7,8]=>0101000
[2,5,1,3,7,8,6,4]=>0100011
[4,3,7,2,1,8,6,5]=>1011011
[4,6,7,2,1,3,5,8]=>0011000
[4,6,2,3,1,5,7,8]=>0101000
[3,6,4,2,5,1,7,8]=>0110100
[3,1,6,4,7,5,2,8]=>1010110
[3,6,2,7,5,4,1,8]=>0101110
[2,4,7,5,3,6,1,8]=>0011010
[2,5,7,3,4,1,6,8]=>0010100
[2,3,5,8,6,4,7,1]=>0001101
[2,4,7,3,8,6,5,1]=>0010111
[3,4,2,7,5,8,6,1]=>0101011
[3,1,5,4,7,8,6,2]=>1010011
[4,5,7,2,3,1,8,6]=>0010101
[3,7,8,1,4,6,5,2]=>0010011
[2,5,8,7,4,1,3,6]=>0011100
[2,6,4,7,5,3,8,1]=>0101101
[6,2,4,7,1,3,8,5]=>1001001
[7,3,5,1,4,2,8,6]=>1010101
[5,4,7,1,3,2,8,6]=>1010101
[6,1,4,7,5,3,8,2]=>1001101
[8,7,4,3,1,5,6,2]=>1111001
[8,7,1,4,3,5,6,2]=>1101001
[6,1,8,4,7,3,2,5]=>1010110
[4,7,3,6,1,2,8,5]=>0101001
[5,2,1,7,4,3,8,6]=>1101101
[4,7,6,2,3,1,8,5]=>0110101
[7,6,8,2,5,3,4,1]=>1010101
[2,3,6,1,8,7,5,4]=>0010111
[2,6,8,7,5,3,1,4]=>0011110
[6,4,1,7,5,2,8,3]=>1101101
[5,7,8,2,3,6,1,4]=>0010010
[4,8,7,1,2,5,6,3]=>0110001
[2,8,7,4,1,5,6,3]=>0111001
[8,6,2,1,5,7,4,3]=>1110011
[3,8,6,7,5,2,1,4]=>0101110
[6,1,3,7,5,8,2,4]=>1001010
[4,7,3,1,8,5,6,2]=>0110101
[2,6,7,5,3,4,8,1]=>0011001
[2,6,4,5,7,3,8,1]=>0100101
[6,1,4,5,8,3,7,2]=>1000101
[6,1,8,5,3,4,7,2]=>1011001
[4,1,5,6,8,3,7,2]=>1000101
[6,4,1,8,7,2,5,3]=>1101101
[1,3,8,5,2,7,4,6]=>0011010
[1,3,8,6,7,2,4,5]=>0010100
[2,8,3,7,6,1,4,5]=>0101100
[4,2,7,8,6,1,3,5]=>1001100
[1,3,8,7,6,2,4,5]=>0011100
[7,4,6,8,5,2,3,1]=>1001101
[7,5,3,6,8,2,1,4]=>1100110
[5,2,6,7,8,1,3,4]=>1000100
[4,5,6,8,1,2,7,3]=>0001001
[3,5,8,6,1,2,7,4]=>0011001
[4,2,6,8,7,1,3,5]=>1001100
[1,4,6,8,7,2,3,5]=>0001100
[4,5,3,8,1,7,2,6]=>0101010
[3,5,8,4,1,7,2,6]=>0011010
[1,6,5,7,8,2,3,4]=>0100100
[5,6,4,8,2,3,7,1]=>0101001
[6,5,4,8,1,3,7,2]=>1101001
[7,6,4,8,5,1,3,2]=>1101101
[7,2,6,5,8,1,3,4]=>1010100
[6,3,7,5,2,4,8,1]=>1011001
[8,1,2,7,4,5,3,6]=>1001010
[2,5,7,4,6,1,3,8]=>0010100
[6,1,7,4,5,3,8,2]=>1010101
[8,2,7,3,1,5,4,6]=>1011010
[2,6,4,8,3,1,7,5]=>0101101
[8,1,3,7,5,6,4,2]=>1001011
[1,2,5,3,8,6,7,4]=>0010101
[4,1,6,5,7,8,2,3]=>1010010
[6,1,3,7,4,2,8,5]=>1001101
[6,7,2,4,1,3,8,5]=>0101001
[7,3,8,4,2,6,5,1]=>1011011
[8,5,3,4,2,7,1,6]=>1101010
[1,3,8,2,5,6,7,4]=>0010001
[1,8,6,7,2,5,4,3]=>0101011
[7,6,8,3,5,4,2,1]=>1010111
[1,6,7,3,8,5,4,2]=>0010111
[8,7,2,4,6,1,5,3]=>1100101
[7,8,6,5,2,4,3,1]=>0111011
[3,6,7,5,2,8,4,1]=>0011011
[5,4,6,7,8,1,3,2]=>1000101
[5,3,6,7,8,1,4,2]=>1000101
[5,3,7,6,8,4,1,2]=>1010110
[7,5,3,2,8,6,4,1]=>1110111
[5,4,8,6,7,2,3,1]=>1010101
[5,4,8,6,3,1,2,7]=>1011100
[4,5,7,3,6,2,8,1]=>0010101
[4,5,6,3,8,2,7,1]=>0010101
[5,4,8,7,2,1,3,6]=>1011100
[2,5,4,7,8,1,3,6]=>0100100
[5,3,6,4,8,2,7,1]=>1010101
[5,3,7,4,6,2,8,1]=>1010101
[8,2,6,3,7,4,5,1]=>1010101
[8,2,4,7,3,5,6,1]=>1001001
[8,2,6,5,7,3,4,1]=>1010101
[4,5,6,2,7,3,8,1]=>0010101
[5,4,6,2,8,3,7,1]=>1010101
[8,4,6,1,7,2,5,3]=>1010101
[5,2,1,6,3,8,7,4]=>1101011
[4,5,6,3,7,1,8,2]=>0010101
[6,3,2,8,5,4,1,7]=>1101110
[4,3,1,5,2,8,6,7]=>1101010
[8,5,4,1,3,2,6,7]=>1110100
[3,8,4,1,5,2,6,7]=>0110100
[2,5,4,3,8,1,6,7]=>0110100
[2,5,7,4,3,1,6,8]=>0011100
[5,3,4,2,7,1,6,8]=>1010100
[3,7,5,4,1,2,6,8]=>0111000
[4,2,5,1,3,8,7,6]=>1010011
[4,3,5,1,2,7,6,8]=>1010010
[5,3,4,1,7,2,6,8]=>1010100
[4,1,6,3,5,2,7,8]=>1010100
[4,2,1,8,6,3,7,5]=>1101101
[3,1,7,2,5,6,4,8]=>1010010
[3,7,5,4,2,1,6,8]=>0111100
[3,7,2,4,1,6,5,8]=>0101010
[7,3,2,1,6,4,5,8]=>1110100
[2,8,6,1,7,4,3,5]=>0110110
[2,5,4,6,1,3,7,8]=>0101000
[2,5,6,4,1,3,7,8]=>0011000
[8,5,2,6,1,3,7,4]=>1101001
[7,1,5,6,3,2,4,8]=>1001100
[7,1,2,5,4,6,3,8]=>1001010
[2,4,1,6,5,3,7,8]=>0101100
[4,1,2,7,5,6,3,8]=>1001010
[7,1,2,6,5,4,3,8]=>1001110
[8,2,1,5,6,3,7,4]=>1100101
[6,1,4,5,3,2,7,8]=>1001100
[3,1,6,5,4,2,7,8]=>1011100
[3,1,4,6,5,2,7,8]=>1001100
[6,4,1,5,3,2,8,7]=>1101101
[2,1,8,6,3,7,5,4]=>1011011
[5,8,3,1,7,6,4,2]=>0110111
[7,6,3,2,8,5,1,4]=>1110110
[5,6,3,8,7,4,1,2]=>0101110
[5,2,6,8,7,4,1,3]=>1001110
[6,3,8,5,4,1,2,7]=>1011100
[6,3,8,4,5,1,2,7]=>1010100
[5,2,3,1,4,8,6,7]=>1010010
[5,4,1,3,2,8,6,7]=>1101010
[5,1,3,4,2,8,6,7]=>1001010
[5,2,1,4,3,8,6,7]=>1101010
[4,2,7,3,8,5,1,6]=>1010110
[4,7,3,2,8,5,1,6]=>0110110
[4,3,7,2,8,5,6,1]=>1010101
[5,3,1,2,4,8,6,7]=>1100010
[5,4,3,1,2,8,6,7]=>1110010
[5,3,4,1,2,8,6,7]=>1010010
[5,2,3,4,1,8,6,7]=>1001010
[5,1,7,3,4,6,8,2]=>1010001
[5,8,7,4,3,1,6,2]=>0111101
[6,8,1,3,4,5,7,2]=>0100001
[3,5,2,8,1,6,7,4]=>0101001
[3,1,7,8,2,5,4,6]=>1001010
[6,2,3,7,4,1,8,5]=>1001101
[6,3,7,4,1,2,5,8]=>1011000
[3,7,2,8,6,5,1,4]=>0101110
[3,6,7,5,1,2,4,8]=>0011000
[7,4,5,1,8,2,3,6]=>1010100
[7,2,3,1,8,4,5,6]=>1010100
[2,1,4,8,3,7,5,6]=>1001010
[4,8,1,6,7,3,2,5]=>0100110
[1,2,7,8,4,3,6,5]=>0001101
[5,8,1,4,3,2,7,6]=>0101101
[4,8,1,3,5,6,2,7]=>0100010
[5,3,7,8,4,2,6,1]=>1001101
[6,3,7,8,2,4,5,1]=>1001001
[8,5,2,4,3,1,7,6]=>1101101
[7,5,4,2,3,1,8,6]=>1110101
[3,5,6,4,8,1,7,2]=>0010101
[3,5,4,6,7,1,8,2]=>0100101
[1,4,2,6,5,8,7,3]=>0101011
[1,3,2,6,4,8,7,5]=>0101011
[1,4,2,5,3,8,7,6]=>0101011
[1,5,2,6,4,8,7,3]=>0101011
[1,6,2,5,3,8,7,4]=>0101011
[2,5,1,4,3,8,7,6]=>0101011
[1,7,3,5,4,8,6,2]=>0101011
[1,8,2,6,3,7,5,4]=>0101011
[1,8,3,6,4,7,5,2]=>0101011
[1,7,2,6,4,8,5,3]=>0101011
[1,7,2,6,3,8,5,4]=>0101011
[1,5,2,7,4,8,6,3]=>0101011
[1,4,2,8,5,7,6,3]=>0101011
[4,8,1,3,2,6,5,7]=>0101010
[1,5,3,8,4,7,6,2]=>0101011
[1,8,4,7,3,6,5,2]=>0101011
[2,6,3,8,1,5,4,7]=>0101010
[8,3,1,4,2,6,5,7]=>1101010
[4,8,7,3,5,2,1,6]=>0110110
[6,8,7,3,5,2,4,1]=>0110101
[8,3,5,1,2,6,4,7]=>1010010
[8,6,3,1,5,4,2,7]=>1110110
[8,6,4,1,5,3,2,7]=>1110110
[8,6,5,4,1,3,2,7]=>1111010
[5,3,8,7,4,6,2,1]=>1011011
[2,3,8,7,4,6,1,5]=>0011010
[8,3,5,7,4,1,2,6]=>1001100
[4,8,5,3,1,2,7,6]=>0111001
[6,8,7,3,1,5,4,2]=>0111011
[6,8,5,4,1,3,7,2]=>0111001
[2,5,8,7,4,6,3,1]=>0011011
[4,8,7,6,5,1,3,2]=>0111101
[3,8,7,5,1,6,2,4]=>0111010
[2,3,8,7,5,6,1,4]=>0011010
[2,8,7,1,3,6,4,5]=>0110010
[8,5,4,7,2,1,3,6]=>1101100
[6,8,7,3,5,2,1,4]=>0110110
[3,5,8,6,4,2,7,1]=>0011101
[6,8,4,1,5,2,7,3]=>0110101
[6,8,2,1,7,5,3,4]=>0110110
[5,8,4,6,1,2,7,3]=>0101001
[2,4,8,6,5,1,7,3]=>0011101
[4,8,7,6,5,2,1,3]=>0111110
[4,8,7,5,1,6,2,3]=>0111010
[4,5,2,1,8,6,7,3]=>0110101
[4,5,8,3,1,6,7,2]=>0011001
[5,7,2,8,4,6,1,3]=>0101010
[6,7,3,2,4,8,5,1]=>0110011
[7,2,8,6,4,5,1,3]=>1011010
[8,7,2,6,5,1,3,4]=>1101100
[5,2,7,8,4,1,3,6]=>1001100
[2,7,8,6,4,1,3,5]=>0011100
[7,6,3,5,2,8,4,1]=>1101011
[6,2,7,4,8,5,3,1]=>1010111
[8,6,5,1,7,2,4,3]=>1110101
[6,8,5,1,7,3,2,4]=>0110110
[1,6,8,3,7,4,2,5]=>0010110
[5,1,6,3,4,8,2,7]=>1010010
[3,5,2,6,4,8,1,7]=>0101010
[3,5,2,4,8,1,7,6]=>0100101
[6,3,8,2,4,1,7,5]=>1010101
[4,6,3,8,7,5,2,1]=>0101111
[6,3,8,7,5,4,2,1]=>1011111
[6,8,4,2,1,7,5,3]=>0111011
[5,2,6,4,3,8,1,7]=>1011010
[6,5,3,1,4,8,2,7]=>1110010
[3,1,7,8,6,4,2,5]=>1001110
[3,8,1,7,6,2,5,4]=>0101101
[8,1,7,6,4,2,5,3]=>1011101
[7,2,6,3,8,5,4,1]=>1010111
[7,3,8,6,4,1,5,2]=>1011101
[1,7,5,8,2,4,3,6]=>0101010
[6,1,5,2,4,8,3,7]=>1010010
[1,5,6,3,8,2,4,7]=>0010100
[8,7,1,3,6,5,2,4]=>1100110
[2,6,7,4,3,8,5,1]=>0011011
[5,2,4,7,3,8,6,1]=>1001011
[1,5,8,7,2,4,6,3]=>0011001
[1,4,8,7,3,6,5,2]=>0011011
[8,3,7,2,5,1,6,4]=>1010101
[3,7,2,8,1,5,4,6]=>0101010
[3,2,6,1,5,8,4,7]=>1010010
[7,2,1,5,8,4,3,6]=>1100110
[7,2,8,1,4,3,6,5]=>1010101
[1,7,8,3,2,6,5,4]=>0011011
[1,7,4,8,3,2,6,5]=>0101101
[1,7,5,4,8,3,2,6]=>0110110
[6,1,5,4,3,8,2,7]=>1011010
[1,7,4,5,6,8,2,3]=>0100010
[1,6,4,2,3,5,7,8]=>0110000
[1,8,7,2,3,4,5,6]=>0110000
[1,5,8,6,2,3,4,7]=>0011000
[1,6,5,7,2,3,4,8]=>0101000
[1,7,5,6,2,3,4,8]=>0101000
[1,3,2,7,6,4,5,8]=>0101100
[1,2,3,7,6,4,5,8]=>0001100
[1,5,4,2,3,7,6,8]=>0110010
[1,5,4,2,3,8,6,7]=>0110010
[1,3,2,8,6,4,5,7]=>0101100
[1,7,5,8,2,3,4,6]=>0101000
[1,8,7,5,2,3,4,6]=>0111000
[2,1,5,8,6,3,7,4]=>1001101
[2,5,8,4,6,1,7,3]=>0010101
[2,5,3,8,6,1,7,4]=>0101101
[2,6,3,5,8,1,7,4]=>0100101
[6,3,2,5,8,1,7,4]=>1100101
[5,3,2,8,6,1,7,4]=>1101101
[5,8,4,6,1,3,7,2]=>0101001
[5,3,8,6,1,4,7,2]=>1011001
[2,6,5,4,8,1,7,3]=>0110101
[8,3,5,7,2,6,4,1]=>1001011
[2,4,6,8,5,3,7,1]=>0001101
[2,4,8,1,7,6,5,3]=>0010111
[4,3,8,1,5,7,6,2]=>1010011
[3,8,4,1,5,7,6,2]=>0110011
[4,3,6,8,5,2,7,1]=>1001101
[8,5,4,7,2,6,3,1]=>1101011
[3,6,8,5,4,2,7,1]=>0011101
[3,6,4,8,5,2,7,1]=>0101101
[3,6,4,1,8,2,7,5]=>0110101
[3,6,4,1,5,2,8,7]=>0110101
[4,8,6,5,1,3,7,2]=>0111001
[2,8,3,5,6,7,1,4]=>0100010
[5,6,2,4,7,1,8,3]=>0100101
[2,7,5,4,6,1,8,3]=>0110101
[2,3,7,4,6,1,8,5]=>0010101
[2,6,7,4,1,3,8,5]=>0011001
[6,5,7,4,1,3,8,2]=>1011001
[2,4,6,3,5,7,8,1]=>0010001
[4,1,6,3,5,7,8,2]=>1010001
[3,6,4,2,5,7,8,1]=>0110001
[2,3,6,1,5,7,8,4]=>0010001
[4,3,6,2,5,7,8,1]=>1010001
[4,6,1,2,5,7,8,3]=>0100001
[2,6,4,1,5,7,8,3]=>0110001
[2,4,1,6,5,7,8,3]=>0101001
[7,5,4,2,6,1,8,3]=>1110101
[4,7,3,1,8,6,5,2]=>0110111
[5,6,4,2,7,1,8,3]=>0110101
[4,2,7,5,3,1,8,6]=>1011101
[5,3,6,4,8,2,1,7]=>1010110
[7,3,2,5,4,1,8,6]=>1101101
[7,3,2,5,1,8,6,4]=>1101011
[4,6,3,8,7,2,1,5]=>0101110
[4,7,6,3,8,2,1,5]=>0110110
[4,7,3,8,6,2,1,5]=>0101110
[5,7,3,2,6,1,8,4]=>0110101
[5,7,3,2,6,4,1,8]=>0110110
[2,7,5,3,1,8,6,4]=>0111011
[7,5,2,8,4,3,1,6]=>1101110
[7,3,2,4,1,8,6,5]=>1101011
[8,4,3,2,7,5,1,6]=>1110110
[4,3,7,5,8,2,1,6]=>1010110
[8,4,5,3,7,2,1,6]=>1010110
[4,3,5,2,8,6,1,7]=>1010110
[4,5,3,6,8,2,1,7]=>0100110
[1,2,8,6,4,5,7,3]=>0011001
[1,8,5,3,4,6,7,2]=>0110001
[7,8,4,1,6,3,5,2]=>0110101
[8,7,5,6,1,3,4,2]=>1101001
[3,2,6,4,1,8,5,7]=>1011010
[2,8,6,5,3,1,4,7]=>0111100
[5,4,8,6,2,3,1,7]=>1011010
[4,8,7,5,2,3,1,6]=>0111010
[5,2,4,7,6,8,3,1]=>1001011
[3,4,2,8,7,5,1,6]=>0101110
[8,5,7,6,3,2,4,1]=>1011101
[6,4,1,8,7,3,2,5]=>1101110
[1,8,5,4,2,7,3,6]=>0111010
[3,6,5,8,2,7,4,1]=>0101011
[8,3,2,7,4,6,5,1]=>1101011
[7,5,8,4,1,3,6,2]=>1011001
[7,1,6,2,3,8,4,5]=>1010010
[6,4,7,1,3,2,8,5]=>1010101
[5,1,3,8,7,2,6,4]=>1001101
[8,7,1,6,2,5,3,4]=>1101010
[3,8,5,2,4,7,6,1]=>0110011
[7,1,5,2,4,8,3,6]=>1010010
[3,8,5,1,4,7,2,6]=>0110010
[7,2,5,4,1,3,8,6]=>1011001
[7,5,8,1,6,3,2,4]=>1010110
[7,1,4,8,5,6,2,3]=>1001010
[7,4,6,1,3,2,5,8]=>1010100
[1,4,5,8,6,3,2,7]=>0001110
[8,4,5,7,2,6,1,3]=>1001010
[4,5,2,6,7,3,1,8]=>0100110
[8,1,7,5,3,6,2,4]=>1011010
[5,2,8,3,6,1,4,7]=>1010100
[5,2,6,3,1,7,8,4]=>1011001
[4,3,5,1,6,7,8,2]=>1010001
[5,7,6,1,2,3,8,4]=>0110001
[3,6,7,5,1,2,8,4]=>0011001
[1,7,6,8,5,2,4,3]=>0101101
[5,7,6,8,1,2,4,3]=>0101001
[5,6,3,7,1,4,8,2]=>0101001
[5,3,2,1,8,6,4,7]=>1110110
[7,8,6,1,4,5,2,3]=>0110010
[1,8,5,4,6,7,2,3]=>0110010
[6,5,8,3,7,2,1,4]=>1010110
[7,8,5,3,6,2,1,4]=>0110110
[7,8,5,3,6,2,4,1]=>0110101
[7,8,4,3,2,6,5,1]=>0111011
[1,8,4,3,2,6,7,5]=>0111001
[5,4,3,8,2,1,7,6]=>1101101
[6,4,8,3,2,1,7,5]=>1011101
[1,8,4,3,2,7,6,5]=>0111011
[6,5,8,3,1,2,7,4]=>1011001
[1,8,6,7,3,2,4,5]=>0101100
[7,8,6,1,3,2,4,5]=>0110100
[1,8,4,3,2,7,5,6]=>0111010
[5,4,3,8,2,1,6,7]=>1101100
[1,8,4,3,2,5,7,6]=>0111001
[5,4,3,8,2,6,7,1]=>1101001
[6,4,2,3,5,1,8,7]=>1100101
[5,2,3,6,1,4,8,7]=>1001001
[5,2,3,8,6,4,7,1]=>1001101
[5,2,3,7,4,8,1,6]=>1001010
[8,6,3,2,5,4,7,1]=>1110101
[7,2,3,4,5,8,1,6]=>1000010
[7,2,8,1,5,3,4,6]=>1010100
[3,8,6,4,7,2,5,1]=>0110101
[2,1,8,6,4,5,7,3]=>1011001
[4,8,2,5,7,3,1,6]=>0100110
[5,8,2,3,4,7,1,6]=>0100010
[6,3,4,7,8,2,1,5]=>1000110
[3,8,5,1,4,7,6,2]=>0110011
[4,8,5,1,3,6,7,2]=>0110001
[4,6,8,5,2,7,3,1]=>0011011
[3,7,8,5,2,6,4,1]=>0011011
[3,8,6,2,7,4,5,1]=>0110101
[8,5,4,7,1,3,6,2]=>1101001
[7,3,6,2,8,1,5,4]=>1010101
[8,1,5,2,3,7,6,4]=>1010011
[6,4,2,3,7,8,5,1]=>1100011
[8,4,2,3,6,7,1,5]=>1100010
[4,5,8,3,7,2,1,6]=>0010110
[3,7,2,8,4,5,1,6]=>0101010
[3,5,1,8,4,6,2,7]=>0101010
[4,2,1,5,6,8,3,7]=>1100010
[4,1,2,6,5,8,3,7]=>1001010
[4,1,8,3,2,6,7,5]=>1011001
[4,2,7,5,8,1,3,6]=>1010100
[4,6,2,7,8,3,1,5]=>0100110
[4,6,1,3,8,2,5,7]=>0100100
[4,3,6,2,1,8,7,5]=>1011011
[3,7,4,5,1,6,2,8]=>0101010
[3,6,4,5,8,2,1,7]=>0100110
[6,1,4,5,2,8,7,3]=>1001011
[7,2,4,5,1,6,3,8]=>1001010
[7,5,4,1,6,3,2,8]=>1110110
[1,5,4,8,6,3,2,7]=>0101110
[7,5,4,8,6,3,1,2]=>1101110
[1,8,7,5,3,6,4,2]=>0111011
[8,3,7,4,1,6,2,5]=>1011010
[8,5,4,1,6,3,2,7]=>1110110
[1,7,4,2,6,5,3,8]=>0110110
[8,2,1,5,6,7,3,4]=>1100010
[6,3,1,8,4,7,2,5]=>1101010
[7,1,4,8,6,3,2,5]=>1001110
[4,1,8,5,6,7,2,3]=>1010010
[5,7,4,8,6,2,1,3]=>0101110
[5,3,6,8,2,7,1,4]=>1001010
[6,3,7,4,8,2,1,5]=>1010110
[5,3,6,1,4,7,2,8]=>1010010
[4,3,6,8,2,7,1,5]=>1001010
[5,3,7,4,8,2,1,6]=>1010110
[5,3,8,4,1,6,2,7]=>1011010
[5,3,8,1,4,7,2,6]=>1010010
[5,8,4,1,6,3,2,7]=>0110110
[7,3,8,4,1,6,2,5]=>1011010
[1,5,8,3,6,7,4,2]=>0010011
[1,8,2,5,6,7,3,4]=>0100010
[7,8,4,1,6,5,2,3]=>0110110
[6,3,8,1,5,7,2,4]=>1010010
[8,3,1,2,5,7,4,6]=>1100010
[8,1,4,2,6,5,3,7]=>1010110
[5,1,3,7,4,8,2,6]=>1001010
[5,1,3,4,7,8,2,6]=>1000010
[2,5,8,7,4,3,6,1]=>0011101
[5,1,7,8,3,4,2,6]=>1001010
[2,5,4,8,3,7,6,1]=>0101011
[5,6,8,2,3,4,1,7]=>0010010
[2,3,5,7,4,6,8,1]=>0001001
[3,7,4,5,8,1,2,6]=>0100100
[3,7,8,1,4,5,2,6]=>0010010
[5,8,2,1,6,3,4,7]=>0110100
[4,8,1,3,7,5,2,6]=>0100110
[2,4,7,8,5,3,6,1]=>0001101
[5,3,1,4,7,2,8,6]=>1100101
[4,3,8,5,1,2,7,6]=>1011001
[2,4,7,5,8,3,6,1]=>0010101
[4,3,5,8,2,1,7,6]=>1001101
[4,8,5,7,3,1,2,6]=>0101100
[4,8,7,5,1,3,2,6]=>0111010
[4,2,8,5,1,3,6,7]=>1011000
[3,7,8,4,1,5,2,6]=>0011010
[3,4,7,5,8,2,1,6]=>0010110
[1,8,5,7,2,4,3,6]=>0101010
[1,8,5,4,2,3,6,7]=>0111000
[1,3,6,8,5,4,2,7]=>0001110
[1,6,3,8,2,7,4,5]=>0101010
[1,8,2,3,6,7,5,4]=>0100011
[1,3,6,8,2,7,5,4]=>0001011
[1,6,5,4,3,8,2,7]=>0111010
[1,8,3,4,5,6,2,7]=>0100010
[1,8,3,6,2,4,5,7]=>0101000
[1,4,5,8,3,6,2,7]=>0001010
[1,2,7,8,4,5,3,6]=>0001010
[7,2,8,5,6,3,4,1]=>1010101
[7,6,3,8,5,4,2,1]=>1101111
[6,2,8,7,5,4,1,3]=>1011110
[6,2,8,4,3,7,1,5]=>1011010
[5,2,8,4,3,1,7,6]=>1011101
[1,5,7,3,6,2,8,4]=>0010101
[1,2,5,4,8,3,7,6]=>0010101
[1,4,3,6,8,7,2,5]=>0100110
[3,2,5,7,6,8,1,4]=>1001010
[5,3,2,6,8,4,7,1]=>1100101
[3,1,8,6,4,7,2,5]=>1011010
[3,1,6,8,5,4,2,7]=>1001110
[5,3,2,8,7,6,4,1]=>1101111
[5,3,8,2,7,6,1,4]=>1010110
[6,5,4,8,3,7,2,1]=>1101011
[4,8,5,1,3,7,2,6]=>0110010
[4,3,8,7,2,6,5,1]=>1011011
[2,7,5,1,8,4,6,3]=>0110101
[7,8,5,2,1,6,4,3]=>0111011
[7,6,4,8,1,2,5,3]=>1101001
[7,5,4,8,3,2,6,1]=>1101101
[8,6,4,7,3,2,1,5]=>1101110
[3,8,5,6,2,7,1,4]=>0101010
[2,4,5,8,7,3,1,6]=>0001110
[2,4,5,8,6,7,1,3]=>0001010
[4,3,1,5,6,2,8,7]=>1100101
[4,1,5,8,6,7,2,3]=>1001010
[4,3,7,6,1,2,8,5]=>1011001
[4,7,5,6,1,2,8,3]=>0101001
[4,3,7,5,6,2,8,1]=>1010101
[4,5,1,8,6,7,3,2]=>0101011
[3,4,5,8,6,7,2,1]=>0001011
[2,1,5,8,6,7,4,3]=>1001011
[3,4,5,8,7,1,2,6]=>0001100
[4,7,1,5,6,2,8,3]=>0100101
[2,6,4,7,1,3,8,5]=>0101001
[5,3,8,6,4,7,2,1]=>1011011
[6,4,1,5,7,8,3,2]=>1100011
[3,6,4,7,2,1,8,5]=>0101101
[3,8,4,6,1,7,2,5]=>0101010
[3,8,5,6,4,7,2,1]=>0101011
[3,8,4,5,6,7,2,1]=>0100011
[3,8,6,5,2,7,4,1]=>0111011
[3,8,7,5,2,1,4,6]=>0111100
[3,8,6,5,1,7,2,4]=>0111010
[6,4,1,7,3,2,8,5]=>1101101
[5,1,4,6,7,2,8,3]=>1000101
[6,5,4,7,1,3,8,2]=>1101001
[2,1,6,5,3,7,8,4]=>1011001
[6,1,4,7,2,3,8,5]=>1001001
[1,6,2,5,4,8,3,7]=>0101010
[4,1,2,7,5,8,3,6]=>1001010
[6,1,3,5,8,2,4,7]=>1000100
[5,6,4,3,1,8,2,7]=>0111010
[6,2,3,5,8,1,4,7]=>1000100
[6,7,2,3,8,4,5,1]=>0100101
[6,7,2,1,3,8,4,5]=>0110010
[5,7,4,1,8,3,2,6]=>0110110
[4,1,7,5,8,3,6,2]=>1010101
[6,7,1,3,8,4,5,2]=>0100101
[1,6,7,4,3,8,5,2]=>0011011
[6,1,7,4,2,8,5,3]=>1011011
[2,1,6,7,4,3,8,5]=>1001101
[6,7,3,2,1,8,4,5]=>0111010
[2,5,7,3,1,4,8,6]=>0011001
[6,7,3,2,8,4,5,1]=>0110101
[1,2,6,7,4,3,8,5]=>0001101
[2,7,1,8,4,6,3,5]=>0101010
[2,7,5,8,1,6,3,4]=>0101010
[6,7,1,8,4,5,3,2]=>0101011
[8,3,7,6,1,2,5,4]=>1011001
[8,7,3,4,6,2,5,1]=>1100101
[8,2,5,7,1,4,6,3]=>1001001
[8,2,4,7,1,5,6,3]=>1001001
[8,2,3,4,7,1,5,6]=>1000100
[8,7,3,5,6,2,4,1]=>1100101
[8,7,4,6,5,2,3,1]=>1101101
[8,4,6,7,5,1,2,3]=>1001100
[8,4,6,7,5,1,3,2]=>1001101
[8,3,5,7,6,1,4,2]=>1001101
[8,7,3,6,2,1,5,4]=>1101101
[8,7,3,4,6,2,1,5]=>1100110
[8,7,4,6,5,2,1,3]=>1101110
[8,6,5,2,7,4,3,1]=>1110111
[8,4,3,7,6,5,1,2]=>1101110
[8,5,6,7,4,1,3,2]=>1001101
[8,5,7,6,4,1,2,3]=>1011100
[8,4,2,7,5,1,6,3]=>1101101
[8,3,4,2,7,5,6,1]=>1010101
[8,4,7,6,5,1,2,3]=>1011100
[8,3,5,2,7,4,6,1]=>1010101
[8,5,2,6,7,4,1,3]=>1100110
[8,5,3,7,6,4,1,2]=>1101110
[8,6,2,5,7,3,1,4]=>1100110
[8,6,2,4,7,3,1,5]=>1100110
[8,5,2,3,7,4,1,6]=>1100110
[8,5,3,2,7,6,4,1]=>1110111
[8,6,1,5,4,3,2,7]=>1101110
[2,4,5,8,3,1,6,7]=>0001100
[2,7,4,6,1,5,8,3]=>0101001
[2,4,3,8,5,1,6,7]=>0101100
[7,8,3,2,5,4,6,1]=>0110101
[1,5,6,7,3,8,2,4]=>0001010
[1,6,5,4,8,3,2,7]=>0110110
[1,7,3,5,8,4,6,2]=>0100101
[7,2,1,6,4,8,5,3]=>1101011
[7,5,8,3,2,4,6,1]=>1011001
[3,8,7,2,4,6,5,1]=>0110011
[1,3,7,6,4,8,5,2]=>0011011
[3,1,8,7,6,4,2,5]=>1011110
[3,1,8,7,5,4,2,6]=>1011110
[3,1,7,6,5,4,2,8]=>1011110
[4,7,1,6,5,3,2,8]=>0101110
[4,8,1,6,5,3,2,7]=>0101110
[8,4,1,7,6,3,2,5]=>1101110
[5,4,1,8,6,3,2,7]=>1101110
[5,4,1,7,6,3,2,8]=>1101110
[6,4,1,8,5,3,2,7]=>1101110
[8,4,1,7,5,3,2,6]=>1101110
[7,4,1,6,5,3,2,8]=>1101110
[7,5,6,1,4,3,2,8]=>1010110
[8,5,6,1,4,3,2,7]=>1010110
[8,5,7,1,4,3,2,6]=>1010110
[5,7,6,1,4,3,2,8]=>0110110
[5,8,6,1,4,3,2,7]=>0110110
[6,7,5,1,4,3,2,8]=>0110110
[8,7,5,1,4,3,2,6]=>1110110
[8,6,5,1,4,3,2,7]=>1110110
[8,6,1,7,2,5,3,4]=>1101010
[1,8,6,3,4,2,5,7]=>0110100
[3,1,6,4,5,2,7,8]=>1010100
[3,1,6,4,5,8,2,7]=>1010010
[3,1,6,4,5,7,2,8]=>1010010
[7,6,3,8,4,5,2,1]=>1101011
[8,2,7,6,1,4,3,5]=>1011010
[5,2,7,8,1,4,3,6]=>1001010
[5,6,3,8,4,1,2,7]=>0101100
[8,2,7,6,1,4,5,3]=>1011001
[5,2,3,4,7,1,6,8]=>1000100
[5,2,3,7,1,6,8,4]=>1001001
[8,7,5,3,1,6,4,2]=>1111011
[1,4,7,8,5,2,3,6]=>0001100
[5,8,3,7,6,4,1,2]=>0101110
[6,5,1,7,2,4,8,3]=>1101001
[3,6,7,1,4,2,5,8]=>0010100
[4,7,5,8,2,1,3,6]=>0101100
[8,1,2,7,5,4,3,6]=>1001110
[6,5,1,8,3,7,2,4]=>1101010
[1,8,7,5,3,2,6,4]=>0111101
[7,8,1,5,4,2,3,6]=>0101100
[2,7,5,1,4,6,3,8]=>0110010
[3,4,6,8,1,5,7,2]=>0001001
[6,8,1,7,5,4,2,3]=>0101110
[7,6,3,1,2,8,5,4]=>1110011
[5,2,6,7,4,8,1,3]=>1001010
[1,7,5,2,6,4,8,3]=>0110101
[7,1,3,6,8,2,4,5]=>1000100
[1,2,5,7,8,4,6,3]=>0000101
[3,1,2,7,5,4,8,6]=>1001101
[6,7,4,1,3,2,8,5]=>0110101
[1,7,2,8,4,3,5,6]=>0101100
[1,6,3,5,7,8,2,4]=>0100010
[8,6,1,7,5,2,4,3]=>1101101
[7,6,4,1,8,3,2,5]=>1110110
[8,4,1,6,5,2,7,3]=>1101101
[1,5,3,4,7,8,2,6]=>0100010
[4,2,1,5,7,8,3,6]=>1100010
[5,4,1,6,7,8,2,3]=>1100010
[5,1,4,6,7,8,2,3]=>1000010
[4,1,5,3,7,8,2,6]=>1010010
[8,1,4,6,5,2,7,3]=>1001101
[7,1,5,4,6,3,2,8]=>1010110
[8,2,1,6,7,5,4,3]=>1100111
[1,2,4,7,6,3,8,5]=>0001101
[6,7,4,1,8,5,2,3]=>0110110
[8,6,4,1,5,7,3,2]=>1110011
[5,2,4,3,7,1,6,8]=>1010100
[6,1,5,4,8,3,2,7]=>1010110
[1,2,8,7,4,3,6,5]=>0011101
[3,2,1,7,5,8,4,6]=>1101010
[1,3,6,4,7,8,2,5]=>0010010
[4,5,1,3,7,8,2,6]=>0100010
[5,2,3,1,7,8,4,6]=>1010010
[1,6,4,3,7,8,2,5]=>0110010
[7,6,4,3,1,5,2,8]=>1111010
[7,5,4,6,1,3,2,8]=>1101010
[8,4,6,5,1,2,7,3]=>1011001
[1,5,6,3,7,8,2,4]=>0010010
[6,8,3,5,7,2,4,1]=>0100101
[1,5,2,4,3,8,7,6]=>0101011
[8,6,5,7,2,1,4,3]=>1101101
[1,6,3,8,4,5,7,2]=>0101001
[7,5,4,2,6,3,8,1]=>1110101
[2,3,8,4,7,5,6,1]=>0010101
[3,7,2,8,6,4,5,1]=>0101101
[6,3,7,5,8,2,4,1]=>1010101
[4,3,7,8,6,2,5,1]=>1001101
[3,8,1,7,5,2,4,6]=>0101100
[2,4,7,8,6,1,5,3]=>0001101
[2,4,8,5,1,7,3,6]=>0011010
[2,8,3,5,1,6,4,7]=>0101010
[8,2,4,6,3,7,5,1]=>1001011
[4,5,3,8,2,1,7,6]=>0101101
[4,8,3,2,5,1,6,7]=>0110100
[5,2,7,1,3,8,6,4]=>1010011
[1,4,6,2,7,5,3,8]=>0010110
[8,2,7,5,1,4,6,3]=>1011001
[1,7,4,6,8,3,5,2]=>0100101
[8,2,1,4,5,6,7,3]=>1100001
[7,3,1,2,5,6,4,8]=>1100010
[7,2,4,1,5,8,6,3]=>1010011
[7,8,2,1,5,4,6,3]=>0110101
[1,4,2,8,6,5,3,7]=>0101110
[1,4,8,5,2,6,3,7]=>0011010
[1,5,2,4,6,3,8,7]=>0100101
[1,8,5,3,2,6,4,7]=>0111010
[6,4,1,3,2,5,8,7]=>1101001
[5,2,3,7,8,1,6,4]=>1000101
[5,2,8,6,3,1,7,4]=>1011101
[6,2,3,5,1,8,7,4]=>1001011
[7,6,3,4,2,8,1,5]=>1101010
[6,2,4,5,7,8,1,3]=>1000010
[8,6,3,2,5,7,1,4]=>1110010
[6,2,5,3,7,1,8,4]=>1010101
[8,5,3,6,7,2,1,4]=>1100110
[4,5,7,8,6,2,1,3]=>0001110
[1,2,8,4,3,6,7,5]=>0011001
[1,8,3,2,4,6,7,5]=>0110001
[1,2,7,5,3,4,6,8]=>0011000
[1,2,7,4,5,3,8,6]=>0010101
[1,7,3,2,6,8,4,5]=>0110010
[8,2,7,1,4,3,5,6]=>1010100
[7,2,1,3,6,8,4,5]=>1100010
[6,2,1,7,8,3,4,5]=>1100100
[3,5,8,6,1,4,2,7]=>0011010
[1,8,4,2,7,6,3,5]=>0110110
[8,7,2,6,5,4,3,1]=>1101111
[7,3,8,1,6,5,4,2]=>1010111
[7,3,8,2,6,5,4,1]=>1010111
[7,1,3,8,6,5,4,2]=>1001111
[8,1,3,7,6,5,4,2]=>1001111
[2,4,1,8,7,3,6,5]=>0101101
[7,3,8,6,1,5,4,2]=>1011011
[3,5,1,7,8,2,6,4]=>0100101
[5,4,7,8,2,1,6,3]=>1001101
[5,3,6,1,8,4,2,7]=>1010110
[6,3,8,7,1,5,4,2]=>1011011
[8,6,4,7,1,5,3,2]=>1101011
[3,4,6,2,1,8,5,7]=>0011010
[4,5,7,2,1,6,3,8]=>0011010
[5,6,4,8,3,2,1,7]=>0101110
[5,7,4,8,2,1,6,3]=>0101101
[4,7,5,8,2,1,6,3]=>0101101
[5,7,4,2,6,3,8,1]=>0110101
[5,7,4,1,6,2,8,3]=>0110101
[6,8,7,3,1,4,2,5]=>0111010
[8,5,6,1,7,3,2,4]=>1010110
[4,5,1,6,7,8,3,2]=>0100011
[4,5,2,6,1,3,8,7]=>0101001
[8,4,6,7,2,5,1,3]=>1001010
[3,4,6,7,2,5,8,1]=>0001001
[7,1,4,6,8,3,5,2]=>1000101
[6,7,1,2,4,8,5,3]=>0100011
[1,6,3,4,7,8,5,2]=>0100011
[2,3,6,4,7,5,8,1]=>0010101
[7,8,1,3,4,5,6,2]=>0100001
[1,8,2,6,7,3,4,5]=>0100100
[4,7,3,2,8,1,5,6]=>0110100
[7,1,2,6,3,8,5,4]=>1001011
[8,1,2,6,3,7,5,4]=>1001011
[8,1,2,7,6,3,5,4]=>1001101
[4,8,7,3,1,6,2,5]=>0111010
[4,7,8,3,1,6,2,5]=>0011010
[7,4,3,1,6,2,8,5]=>1110101
[7,4,3,1,8,6,2,5]=>1110110
[3,7,6,2,4,8,1,5]=>0110010
[4,3,7,2,8,6,1,5]=>1010110
[6,1,2,7,4,3,8,5]=>1001101
[5,1,2,6,3,8,7,4]=>1001011
[5,1,2,7,3,8,6,4]=>1001011
[6,1,2,7,3,5,8,4]=>1001001
[8,3,6,2,1,7,4,5]=>1011010
[6,1,2,8,3,5,7,4]=>1001001
[7,5,3,2,1,8,6,4]=>1111011
[4,2,1,5,3,6,7,8]=>1101000
[6,2,5,4,1,8,7,3]=>1011011
[4,6,3,2,1,8,7,5]=>0111011
[6,5,3,2,1,8,7,4]=>1111011
[8,4,3,2,7,6,1,5]=>1110110
[1,5,8,4,7,6,3,2]=>0010111
[3,2,7,4,8,6,1,5]=>1010110
[7,4,3,2,8,6,1,5]=>1110110
[6,8,3,7,5,2,1,4]=>0101110
[5,7,8,4,3,2,1,6]=>0011110
[6,4,3,8,5,2,1,7]=>1101110
[8,2,5,4,7,6,1,3]=>1010110
[7,2,5,4,8,6,1,3]=>1010110
[4,5,3,2,8,6,1,7]=>0110110
[3,2,5,4,8,6,1,7]=>1010110
[3,2,8,6,5,4,1,7]=>1011110
[8,4,3,6,5,2,1,7]=>1101110
[8,4,3,7,5,2,1,6]=>1101110
[3,2,7,8,5,4,1,6]=>1001110
[6,8,7,4,3,2,1,5]=>0111110
[3,6,1,4,8,7,2,5]=>0100110
[5,8,1,3,7,2,6,4]=>0100101
[4,7,5,1,8,2,6,3]=>0110101
[6,3,2,1,8,7,4,5]=>1110110
[6,2,3,1,8,7,4,5]=>1010110
[3,4,7,1,8,5,6,2]=>0010101
[7,2,5,1,8,3,6,4]=>1010101
[7,2,1,5,8,4,6,3]=>1100101
[4,2,8,1,7,5,6,3]=>1010101
[8,3,6,4,1,7,5,2]=>1011011
[7,3,1,5,2,8,6,4]=>1101011
[7,1,6,4,2,8,5,3]=>1011011
[3,7,4,1,5,8,6,2]=>0110011
[5,8,6,1,2,7,4,3]=>0110011
[6,8,1,4,3,7,5,2]=>0101011
[6,7,1,4,3,8,5,2]=>0101011
[4,7,1,5,3,8,6,2]=>0101011
[6,8,1,2,4,7,5,3]=>0100011
[7,1,6,4,8,3,5,2]=>1010101
[8,6,4,1,3,7,5,2]=>1110011
[8,5,3,6,1,7,4,2]=>1101011
[7,2,1,4,5,8,6,3]=>1100011
[8,5,6,1,2,7,4,3]=>1010011
[8,6,2,5,4,7,3,1]=>1101011
[8,5,7,3,2,4,6,1]=>1011001
[8,5,2,1,4,3,6,7]=>1110100
[2,8,4,1,3,6,7,5]=>0110001
[8,1,2,4,5,6,7,3]=>1000001
[6,1,4,3,2,7,8,5]=>1011001
[1,8,3,6,7,2,4,5]=>0100100
[1,2,8,3,7,4,6,5]=>0010101
[8,2,6,5,4,3,1,7]=>1011110
[8,2,7,6,4,5,3,1]=>1011011
[8,7,3,5,4,2,6,1]=>1101101
[4,6,7,2,1,8,3,5]=>0011010
[3,7,1,8,2,5,4,6]=>0101010
[4,5,8,6,1,3,7,2]=>0011001
[4,5,8,6,2,7,3,1]=>0011011
[4,6,7,1,5,3,8,2]=>0010101
[4,6,7,2,1,8,5,3]=>0011011
[4,2,5,6,7,8,3,1]=>1000011
[4,1,3,5,6,7,8,2]=>1000001
[3,7,8,4,5,1,6,2]=>0010101
[4,6,8,3,2,7,1,5]=>0011010
[4,6,8,2,3,7,1,5]=>0010010
[3,8,1,7,4,5,2,6]=>0101010
[4,5,8,3,7,1,2,6]=>0010100
[3,7,8,4,6,2,5,1]=>0010101
[3,6,1,5,7,8,2,4]=>0100010
[3,8,2,5,4,7,1,6]=>0101010
[3,8,6,2,5,1,7,4]=>0110101
[4,5,8,6,2,1,7,3]=>0011101
[4,5,8,6,1,2,7,3]=>0011001
[4,6,8,5,2,7,1,3]=>0011010
[3,7,8,5,2,6,1,4]=>0011010
[3,7,8,5,4,1,6,2]=>0011101
[4,6,8,5,3,1,7,2]=>0011101
[7,8,2,3,5,4,1,6]=>0100110
[5,1,3,7,6,4,8,2]=>1001101
[4,6,5,2,7,8,1,3]=>0110010
[1,6,5,2,3,4,8,7]=>0110001
[4,6,5,1,7,3,8,2]=>0110101
[5,7,3,1,2,4,8,6]=>0110001
[6,3,2,5,1,7,4,8]=>1101010
[6,1,2,4,8,5,3,7]=>1000110
[6,3,1,7,2,5,8,4]=>1101001
[3,7,2,8,5,1,4,6]=>0101100
[3,6,5,2,4,7,1,8]=>0110010
[3,6,5,8,1,7,2,4]=>0101010
[5,2,7,3,4,6,1,8]=>1010010
[1,3,5,8,6,4,7,2]=>0001101
[1,3,5,8,6,7,2,4]=>0001010
[6,1,7,4,8,5,3,2]=>1010111
[5,7,4,1,3,6,8,2]=>0110001
[7,4,3,1,6,5,8,2]=>1110101
[7,8,1,4,6,5,3,2]=>0100111
[7,8,6,1,4,5,3,2]=>0110011
[6,2,7,3,8,5,4,1]=>1010111
[1,2,7,5,3,4,8,6]=>0011001
[7,2,8,3,6,4,5,1]=>1010101
[6,2,7,8,3,1,4,5]=>1001100
[1,7,8,2,5,3,4,6]=>0010100
[3,7,8,1,2,5,6,4]=>0010001
[1,2,8,7,3,4,6,5]=>0011001
[8,2,7,4,5,1,6,3]=>1010101
[3,8,1,5,7,2,6,4]=>0100101
[7,5,4,8,6,1,2,3]=>1101100
[7,1,8,6,4,5,2,3]=>1011010
[8,7,5,1,4,3,6,2]=>1110101
[1,5,7,8,3,4,2,6]=>0001010
[6,8,4,3,1,7,2,5]=>0111010
[8,4,1,3,7,5,6,2]=>1100101
[4,8,1,3,7,5,6,2]=>0100101
[1,8,5,7,4,2,3,6]=>0101100
[2,1,6,8,5,3,4,7]=>1001100
[4,5,1,3,8,6,7,2]=>0100101
[1,2,6,8,5,3,4,7]=>0001100
[5,6,8,7,3,1,2,4]=>0011100
[6,7,5,3,8,1,2,4]=>0110100
[6,8,5,7,3,1,2,4]=>0101100
[5,7,8,6,3,1,2,4]=>0011100
[5,1,4,2,6,8,7,3]=>1010011
[6,3,2,4,7,1,8,5]=>1100101
[1,5,6,8,4,2,3,7]=>0001100
[5,7,8,3,6,1,2,4]=>0010100
[1,5,8,6,2,4,3,7]=>0011010
[1,5,3,7,2,6,8,4]=>0101001
[5,1,8,6,2,4,3,7]=>1011010
[5,8,6,3,7,1,2,4]=>0110100
[1,5,2,4,8,6,7,3]=>0100101
[1,5,4,2,6,8,7,3]=>0110011
[5,7,6,3,8,1,2,4]=>0110100
[5,7,6,8,3,1,2,4]=>0101100
[6,8,7,5,3,1,2,4]=>0111100
[1,2,5,3,6,8,7,4]=>0010011
[6,8,7,2,1,5,3,4]=>0111010
[7,3,6,1,4,8,2,5]=>1010010
[7,8,1,6,5,3,4,2]=>0101101
[8,7,3,2,1,4,6,5]=>1111001
[8,3,5,1,7,4,2,6]=>1010110
[3,5,6,8,4,2,7,1]=>0001101
[5,8,2,6,4,3,7,1]=>0101101
[2,8,6,3,4,1,7,5]=>0110101
[1,7,2,3,5,8,6,4]=>0100011
[4,6,2,3,5,1,7,8]=>0100100
[2,8,3,7,5,1,6,4]=>0101101
[6,4,8,7,2,1,5,3]=>1011101
[1,8,2,3,7,5,6,4]=>0100101
[2,8,4,3,6,7,1,5]=>0110010
[7,3,2,5,6,1,8,4]=>1100101
[1,6,7,8,2,4,3,5]=>0001010
[4,1,2,8,5,3,7,6]=>1001101
[3,8,4,2,5,1,7,6]=>0110101
[1,8,5,6,4,3,2,7]=>0101110
[2,8,3,5,6,4,1,7]=>0100110
[4,1,5,7,6,8,2,3]=>1001010
[7,6,8,3,2,5,1,4]=>1011010
[2,7,8,1,6,4,5,3]=>0010101
[2,7,1,4,5,3,8,6]=>0100101
[1,5,2,7,4,3,6,8]=>0101100
[5,1,3,8,4,6,2,7]=>1001010
[6,5,8,7,1,3,2,4]=>1011010
[2,7,3,5,1,6,8,4]=>0101001
[5,7,6,8,2,1,4,3]=>0101101
[1,3,6,5,2,7,4,8]=>0011010
[1,2,6,5,3,4,7,8]=>0011000
[1,7,2,5,6,8,3,4]=>0100010
[1,7,2,4,8,3,5,6]=>0100100
[1,6,2,4,5,3,7,8]=>0100100
[1,3,2,8,4,5,7,6]=>0101001
[1,6,8,2,4,3,5,7]=>0010100
[1,6,7,2,5,3,4,8]=>0010100
[1,2,8,3,6,7,4,5]=>0010010
[1,7,2,5,3,4,8,6]=>0101001
[7,1,5,6,2,3,8,4]=>1001001
[8,2,1,4,6,7,3,5]=>1100010
[7,2,6,1,3,4,8,5]=>1010001
[4,1,3,7,2,5,8,6]=>1001001
[6,2,7,5,1,3,8,4]=>1011001
[1,7,5,6,2,3,8,4]=>0101001
[3,7,6,1,2,4,8,5]=>0110001
[8,6,1,3,5,7,2,4]=>1100010
[1,7,4,3,8,2,5,6]=>0110100
[6,1,5,3,4,8,2,7]=>1010010
[3,6,7,5,2,8,1,4]=>0011010
[7,8,4,1,5,6,2,3]=>0110010
[5,8,1,3,6,7,2,4]=>0100010
[2,8,4,3,7,1,5,6]=>0110100
[3,8,4,6,7,1,2,5]=>0100100
[6,3,8,4,7,1,2,5]=>1010100
[1,2,5,4,8,3,6,7]=>0010100
[7,1,3,8,2,4,5,6]=>1001000
[8,1,3,7,2,4,5,6]=>1001000
[3,5,4,7,8,1,2,6]=>0100100
[8,3,1,4,7,2,5,6]=>1100100
[1,6,4,7,8,2,3,5]=>0100100
[5,2,3,6,7,8,1,4]=>1000010
[6,2,7,3,8,5,1,4]=>1010110
[1,3,7,8,5,6,2,4]=>0001010
[8,2,6,7,5,1,3,4]=>1001100
[8,1,7,4,6,2,3,5]=>1010100
[2,5,8,4,7,1,3,6]=>0010100
[4,5,8,7,1,2,3,6]=>0011000
[4,1,8,5,7,2,3,6]=>1010100
[1,8,7,4,6,2,3,5]=>0110100
[2,6,5,4,1,8,3,7]=>0111010
[6,2,5,1,4,8,3,7]=>1010010
[6,5,4,1,3,8,2,7]=>1110010
[6,3,5,4,2,8,1,7]=>1011010
[1,3,8,7,4,2,6,5]=>0011101
[8,7,4,3,1,5,2,6]=>1111010
[8,2,5,1,4,6,7,3]=>1010001
[3,8,4,5,1,6,7,2]=>0101001
[8,5,4,1,3,6,7,2]=>1110001
[8,3,1,7,5,6,4,2]=>1101011
[8,4,7,6,5,3,1,2]=>1011110
[8,1,4,5,7,6,3,2]=>1000111
[2,4,1,8,5,7,6,3]=>0101011
[8,2,1,4,7,6,3,5]=>1100110
[8,3,1,7,4,2,6,5]=>1101101
[8,2,7,3,1,6,5,4]=>1011011
[1,8,4,2,3,7,6,5]=>0110011
[3,1,2,8,7,4,6,5]=>1001101
[8,5,1,2,4,3,7,6]=>1100101
[2,8,3,7,4,1,6,5]=>0101101
[8,4,5,7,6,2,3,1]=>1001101
[2,3,1,8,7,6,4,5]=>0101110
[4,2,8,7,3,1,5,6]=>1011100
[1,3,4,8,7,2,5,6]=>0001100
[8,1,3,4,6,7,2,5]=>1000010
[3,4,8,2,6,7,1,5]=>0010010
[3,6,8,2,5,1,7,4]=>0010101
[3,8,2,5,7,4,6,1]=>0100101
[8,4,2,1,7,5,6,3]=>1110101
[8,2,7,5,6,4,1,3]=>1010110
[6,2,8,5,4,1,7,3]=>1011101
[6,8,5,4,1,7,2,3]=>0111010
[2,8,1,5,7,6,3,4]=>0100110
[3,1,8,2,7,5,6,4]=>1010101
[8,5,7,1,6,4,2,3]=>1010110
[2,8,4,7,3,6,5,1]=>0101011
[8,4,7,2,1,6,5,3]=>1011011
[1,8,4,7,6,5,2,3]=>0101110
[3,5,8,1,7,4,6,2]=>0010101
[8,4,7,1,3,6,5,2]=>1010011
[2,3,4,7,6,8,1,5]=>0001010
[3,8,1,2,5,6,4,7]=>0100010
[8,5,2,1,4,6,7,3]=>1110001
[4,8,1,6,5,2,7,3]=>0101101
[4,2,6,3,8,5,7,1]=>1010101
[4,5,2,6,7,1,8,3]=>0100101
[2,7,4,1,6,3,5,8]=>0110100
[8,3,5,4,2,7,1,6]=>1011010
[2,8,6,4,7,3,1,5]=>0110110
[3,1,8,6,5,2,7,4]=>1011101
[8,3,1,5,2,6,7,4]=>1101001
[3,8,2,4,1,5,7,6]=>0101001
[5,8,3,2,4,1,7,6]=>0110101
[6,5,3,2,4,8,1,7]=>1110010
[5,2,4,6,1,3,8,7]=>1001001
[7,2,3,4,6,8,1,5]=>1000010
[8,3,4,6,7,5,1,2]=>1000110
[6,8,3,4,7,5,2,1]=>0100111
[5,8,6,1,3,4,7,2]=>0110001
[4,8,1,5,7,6,3,2]=>0100111
[3,7,4,6,8,2,5,1]=>0100101
[4,7,1,6,8,3,2,5]=>0100110
[4,5,2,8,1,7,3,6]=>0101010
[3,7,5,2,8,6,1,4]=>0110110
[4,8,5,2,6,7,1,3]=>0110010
[5,4,8,6,1,2,7,3]=>1011001
[8,4,6,5,2,7,3,1]=>1011011
[8,1,6,4,7,5,2,3]=>1010110
[5,2,7,6,4,8,1,3]=>1011010
[8,6,2,3,5,1,7,4]=>1100101
[8,2,5,7,4,1,3,6]=>1001100
[7,2,4,5,6,8,1,3]=>1000010
[7,1,3,5,6,2,8,4]=>1000101
[7,1,5,8,4,6,3,2]=>1001011
[6,3,8,4,7,1,5,2]=>1010101
[7,1,4,3,2,8,5,6]=>1011010
[5,3,6,1,4,2,8,7]=>1010101
[5,7,2,1,4,3,8,6]=>0110101
[7,1,8,3,5,2,4,6]=>1010100
[7,2,4,8,1,5,6,3]=>1001001
[7,1,8,4,2,5,6,3]=>1011001
[6,4,2,5,8,1,7,3]=>1100101
[2,1,7,5,8,3,6,4]=>1010101
[7,3,8,5,6,2,1,4]=>1010110
[2,7,4,8,1,5,6,3]=>0101001
[7,4,8,3,1,5,6,2]=>1011001
[6,1,5,8,3,7,4,2]=>1001011
[2,6,3,5,8,7,4,1]=>0100111
[8,6,5,3,7,2,1,4]=>1110110
[4,8,5,3,7,2,1,6]=>0110110
[7,4,8,6,5,3,2,1]=>1011111
[7,4,8,5,6,3,1,2]=>1010110
[7,8,4,1,3,5,6,2]=>0110001
[7,8,3,4,1,5,6,2]=>0101001
[7,3,1,8,2,5,6,4]=>1101001
[7,2,3,8,1,5,6,4]=>1001001
[6,4,8,7,3,2,1,5]=>1011110
[2,7,4,8,6,3,1,5]=>0101110
[6,4,8,2,3,1,7,5]=>1010101
[7,2,1,8,3,5,6,4]=>1101001
[5,1,6,3,8,2,4,7]=>1010100
[3,6,5,1,4,8,7,2]=>0110011
[7,3,6,2,8,4,1,5]=>1010110
[6,5,1,8,4,7,2,3]=>1101010
[7,5,4,8,1,6,2,3]=>1101010
[4,3,5,8,7,1,2,6]=>1001100
[3,5,6,8,1,4,2,7]=>0001010
[4,3,5,8,2,1,6,7]=>1001100
[6,4,7,2,3,1,5,8]=>1010100
[6,8,1,5,4,2,7,3]=>0101101
[7,8,6,3,1,4,2,5]=>0111010
[7,8,6,3,5,1,2,4]=>0110100
[7,2,8,5,4,6,3,1]=>1011011
[6,1,8,4,7,2,3,5]=>1010100
[5,6,4,3,7,1,8,2]=>0110101
[6,5,3,7,2,4,8,1]=>1101001
[5,6,2,8,4,3,7,1]=>0101101
[4,1,2,6,8,3,7,5]=>1000101
[7,1,3,6,5,8,4,2]=>1001011
[5,7,4,3,6,8,2,1]=>0110011
[4,6,2,7,8,3,5,1]=>0100101
[5,1,2,4,6,7,8,3]=>1000001
[4,6,3,5,2,8,7,1]=>0101011
[5,6,3,4,8,2,7,1]=>0100101
[5,2,6,4,1,7,8,3]=>1011001
[5,8,4,6,3,2,7,1]=>0101101
[5,4,3,8,6,2,7,1]=>1101101
[5,7,8,2,4,3,6,1]=>0010101
[5,6,2,4,8,3,7,1]=>0100101
[6,4,7,8,2,3,5,1]=>1001001
[3,7,5,2,4,8,1,6]=>0110010
[4,7,5,2,3,8,6,1]=>0110011
[6,4,7,3,2,5,8,1]=>1011001
[5,7,3,2,8,4,6,1]=>0110101
[5,3,7,2,8,4,6,1]=>1010101
[4,3,7,2,5,8,6,1]=>1010011
[4,7,3,2,5,8,6,1]=>0110011
[4,7,3,2,6,8,5,1]=>0110011
[7,5,3,2,6,4,8,1]=>1110101
[8,5,2,6,7,3,4,1]=>1100101
[8,4,2,6,3,7,5,1]=>1101011
[7,4,6,2,3,8,5,1]=>1010011
[7,5,6,2,8,3,4,1]=>1010101
[5,7,6,2,8,3,4,1]=>0110101
[4,7,6,2,3,8,5,1]=>0110011
[7,6,3,2,5,8,1,4]=>1110010
[7,6,4,2,5,8,3,1]=>1110011
[6,3,8,5,4,7,2,1]=>1011011
[2,4,6,3,8,7,5,1]=>0010111
[2,4,6,1,8,7,3,5]=>0010110
[2,4,3,6,8,7,1,5]=>0100110
[2,4,6,3,8,7,1,5]=>0010110
[2,4,6,5,8,7,1,3]=>0010110
[2,4,6,8,5,7,3,1]=>0001011
[2,4,6,8,5,7,1,3]=>0001010
[2,4,6,8,3,7,1,5]=>0001010
[2,4,6,8,1,7,3,5]=>0001010
[2,4,6,5,1,8,7,3]=>0011011
[2,4,6,5,8,3,7,1]=>0010101
[2,4,6,5,8,1,7,3]=>0010101
[2,4,6,8,5,1,7,3]=>0001101
[2,4,6,8,7,3,5,1]=>0001101
[2,4,6,8,7,1,5,3]=>0001101
[2,4,6,8,7,1,3,5]=>0001100
[2,4,6,8,5,1,3,7]=>0001100
[2,4,6,5,1,8,3,7]=>0011010
[2,4,6,5,1,3,8,7]=>0011001
[2,4,6,5,3,8,1,7]=>0011010
[2,4,6,5,8,3,1,7]=>0010110
[2,4,6,8,5,3,1,7]=>0001110
[2,4,6,8,7,3,1,5]=>0001110
[2,4,6,8,7,5,1,3]=>0001110
[4,8,7,5,2,1,3,6]=>0111100
[6,1,4,7,5,8,2,3]=>1001010
[1,8,6,5,3,2,7,4]=>0111101
[1,6,3,5,8,2,4,7]=>0100100
[4,6,1,7,8,5,3,2]=>0100111
[6,1,2,7,8,4,5,3]=>1000101
[6,1,3,2,7,8,5,4]=>1010011
[5,6,3,1,7,4,8,2]=>0110101
[4,8,3,7,1,6,5,2]=>0101011
[8,7,2,6,5,1,4,3]=>1101101
[5,8,3,2,1,7,6,4]=>0111011
[5,4,3,8,1,7,6,2]=>1101011
[6,5,3,8,7,1,4,2]=>1101101
[4,3,8,2,7,6,5,1]=>1010111
[4,8,2,7,6,5,3,1]=>0101111
[7,8,2,6,5,4,1,3]=>0101110
[3,8,7,6,2,5,1,4]=>0111010
[4,8,3,7,2,1,6,5]=>0101101
[8,6,3,1,7,5,4,2]=>1110111
[8,6,3,7,1,5,4,2]=>1101011
[4,8,3,7,6,2,5,1]=>0101101
[5,8,2,7,6,4,1,3]=>0101110
[8,4,2,1,7,6,5,3]=>1110111
[1,6,4,2,5,3,7,8]=>0110100
[1,8,6,2,7,3,4,5]=>0110100
[1,6,3,2,4,5,7,8]=>0110000
[1,5,2,6,4,3,7,8]=>0101100
[1,5,2,4,6,3,7,8]=>0100100
[1,8,6,2,3,7,4,5]=>0110010
[1,5,2,8,6,3,4,7]=>0101100
[1,3,6,8,2,7,4,5]=>0001010
[1,4,3,8,2,5,6,7]=>0101000
[1,7,2,3,8,5,4,6]=>0100110
[1,3,8,4,2,5,6,7]=>0011000
[1,6,2,8,5,4,3,7]=>0101110
[1,7,2,3,8,6,4,5]=>0100110
[1,5,3,8,2,7,4,6]=>0101010
[1,4,8,2,5,6,3,7]=>0010010
[1,5,7,3,2,8,4,6]=>0011010
[1,2,7,3,6,8,4,5]=>0010010
[1,7,2,3,6,8,4,5]=>0100010
[1,4,8,3,2,5,6,7]=>0011000
[1,7,2,5,8,3,4,6]=>0100100
[6,2,3,5,8,1,7,4]=>1000101
[5,2,4,8,1,6,7,3]=>1001001
[2,6,4,5,7,3,1,8]=>0100110
[2,5,6,3,4,7,1,8]=>0010010
[1,3,7,5,6,8,4,2]=>0010011
[1,3,6,7,4,5,8,2]=>0001001
[1,5,6,3,4,2,7,8]=>0010100
[1,5,6,3,4,7,2,8]=>0010010
[1,5,3,6,4,2,7,8]=>0101100
[1,7,5,6,8,3,4,2]=>0100101
[1,7,5,6,3,8,4,2]=>0101011
[1,3,7,5,2,8,6,4]=>0011011
[1,3,7,2,5,8,6,4]=>0010011
[1,5,3,7,4,6,2,8]=>0101010
[1,5,3,7,6,4,2,8]=>0101110
[1,5,3,6,7,4,2,8]=>0100110
[1,5,6,3,7,4,2,8]=>0010110
[1,5,7,6,3,4,8,2]=>0011001
[1,5,7,3,6,4,8,2]=>0010101
[1,3,7,2,5,6,8,4]=>0010001
[1,3,7,5,6,2,8,4]=>0010101
[2,5,7,4,1,3,8,6]=>0011001
[6,7,3,1,8,5,2,4]=>0110110
[6,3,1,5,8,7,2,4]=>1100110
[8,3,5,1,7,6,2,4]=>1010110
[4,6,3,5,8,2,1,7]=>0100110
[2,3,6,4,1,8,7,5]=>0011011
[7,4,5,2,1,8,6,3]=>1011011
[4,7,5,2,1,8,6,3]=>0111011
[8,5,3,6,2,1,7,4]=>1101101
[4,5,7,3,1,2,8,6]=>0011001
[4,5,1,8,3,2,7,6]=>0101101
[5,7,4,6,3,2,1,8]=>0101110
[3,6,1,2,4,8,7,5]=>0100011
[2,5,3,8,4,1,7,6]=>0101101
[8,6,2,3,1,7,5,4]=>1101011
[7,5,2,3,1,8,6,4]=>1101011
[6,3,1,2,4,8,7,5]=>1100011
[4,7,5,2,3,6,1,8]=>0110010
[3,6,8,4,5,1,2,7]=>0010100
[5,2,3,7,6,4,1,8]=>1001110
[6,2,7,3,5,4,1,8]=>1010110
[7,2,6,5,3,4,1,8]=>1011010
[8,2,6,5,4,1,3,7]=>1011100
[6,2,8,4,5,1,3,7]=>1010100
[2,3,1,7,8,5,6,4]=>0100101
[7,2,8,5,1,4,3,6]=>1011010
[8,6,7,1,4,2,3,5]=>1010100
[6,8,7,1,4,3,2,5]=>0110110
[6,8,2,5,3,1,4,7]=>0101100
[3,7,8,5,1,4,2,6]=>0011010
[4,8,7,3,1,2,5,6]=>0111000
[4,8,6,2,3,1,5,7]=>0110100
[3,8,5,4,2,1,6,7]=>0111100
[4,5,3,8,2,1,6,7]=>0101100
[3,7,4,1,8,2,6,5]=>0110101
[3,8,4,1,7,6,2,5]=>0110110
[3,7,2,1,8,4,6,5]=>0110101
[8,7,1,6,5,2,3,4]=>1101100
[8,5,1,2,7,6,3,4]=>1100110
[3,8,2,1,7,6,4,5]=>0110110
[3,5,7,8,2,4,6,1]=>0001001
[7,8,2,5,4,3,6,1]=>0101101
[4,5,3,7,8,2,6,1]=>0100101
[1,5,4,7,3,6,2,8]=>0101010
[1,7,3,6,8,4,5,2]=>0100101
[4,6,8,2,7,3,5,1]=>0010101
[4,7,6,3,5,1,8,2]=>0110101
[7,8,3,6,1,5,4,2]=>0101011
[2,5,7,8,4,6,1,3]=>0001010
[3,7,5,6,2,1,4,8]=>0101100
[6,2,1,7,4,5,3,8]=>1101010
[1,2,6,4,7,5,3,8]=>0010110
[7,5,6,3,8,4,2,1]=>1010111
[8,5,4,2,1,6,7,3]=>1111001
[2,6,8,4,7,5,1,3]=>0010110
[6,7,5,1,4,8,3,2]=>0110011
[7,4,1,6,5,3,8,2]=>1101101
[5,8,2,7,3,6,4,1]=>0101011
[1,6,5,7,3,8,4,2]=>0101011
[1,5,6,8,4,2,7,3]=>0001101
[7,5,4,1,8,2,6,3]=>1110101
[6,4,1,8,2,7,5,3]=>1101011
[7,8,5,3,2,6,1,4]=>0111010
[8,2,5,1,7,6,4,3]=>1010111
[6,7,4,3,8,2,5,1]=>0110101
[3,4,2,7,8,6,1,5]=>0100110
[7,8,6,1,4,3,2,5]=>0110110
[2,4,7,8,6,1,3,5]=>0001100
[3,7,8,6,5,2,4,1]=>0011101
[4,5,2,7,8,6,3,1]=>0100111
[4,6,2,5,3,1,7,8]=>0101100
[4,1,5,6,3,2,7,8]=>1001100
[2,6,7,5,4,1,3,8]=>0011100
[4,1,6,7,5,3,2,8]=>1001110
[6,7,4,3,1,5,2,8]=>0111010
[1,7,5,6,4,3,2,8]=>0101110
[7,6,5,3,1,8,4,2]=>1111011
[7,8,6,4,3,1,5,2]=>0111101
[4,1,7,8,6,5,3,2]=>1001111
[4,5,7,3,8,6,1,2]=>0010110
[6,8,5,3,7,2,1,4]=>0110110
[4,7,1,5,8,2,6,3]=>0100101
[3,7,6,2,1,8,4,5]=>0111010
[2,7,5,8,3,6,4,1]=>0101011
[7,4,8,2,6,5,3,1]=>1010111
[7,5,4,8,2,6,3,1]=>1101011
[4,3,8,1,6,5,2,7]=>1010110
[2,3,6,5,7,8,1,4]=>0010010
[8,3,4,1,2,6,7,5]=>1010001
[7,3,4,8,5,2,1,6]=>1001110
[7,3,8,4,1,5,6,2]=>1011001
[7,2,4,5,1,8,3,6]=>1001010
[7,3,1,2,8,5,6,4]=>1100101
[4,8,2,3,5,7,6,1]=>0100011
[4,5,2,3,8,6,7,1]=>0100101
[6,7,4,8,5,3,2,1]=>0101111
[4,3,5,6,1,7,8,2]=>1001001
[3,5,2,6,4,7,8,1]=>0101001
[4,1,2,8,5,7,6,3]=>1001011
[3,1,5,6,4,7,8,2]=>1001001
[3,1,4,6,7,5,8,2]=>1000101
[2,6,4,5,8,1,3,7]=>0100100
[6,4,1,3,5,8,2,7]=>1100010
[3,4,1,7,2,6,8,5]=>0101001
[2,4,7,5,8,1,3,6]=>0010100
[3,7,6,2,1,5,8,4]=>0111001
[4,2,6,1,3,7,8,5]=>1010001
[8,5,4,2,7,6,3,1]=>1110111
[2,8,4,6,7,1,3,5]=>0100100
[5,8,2,1,4,6,7,3]=>0110001
[8,4,6,1,2,5,7,3]=>1010001
[3,7,8,4,2,6,5,1]=>0011011
[5,6,2,8,7,1,3,4]=>0101100
[7,1,3,8,4,5,6,2]=>1001001
[7,8,1,4,3,5,6,2]=>0101001
[3,6,7,2,8,1,5,4]=>0010101
[2,6,7,1,3,5,8,4]=>0010001
[3,6,7,1,8,2,5,4]=>0010101
[3,4,1,8,7,2,6,5]=>0101101
[3,1,5,7,2,8,6,4]=>1001011
[4,8,1,3,2,7,6,5]=>0101011
[4,1,8,3,2,7,6,5]=>1011011
[3,8,2,4,7,1,6,5]=>0100101
[3,2,4,8,7,1,6,5]=>1001101
[3,2,5,7,1,8,6,4]=>1001011
[4,2,8,3,1,7,6,5]=>1011011
[4,8,2,1,3,7,6,5]=>0110011
[4,2,8,1,3,7,6,5]=>1010011
[2,3,4,6,8,7,1,5]=>0000110
[5,6,4,7,1,2,8,3]=>0101001
[4,6,7,5,8,2,3,1]=>0010101
[4,5,7,1,6,8,3,2]=>0010011
[3,2,7,6,8,1,4,5]=>1010100
[4,5,1,7,6,8,2,3]=>0101010
[6,7,2,8,3,1,4,5]=>0101100
[7,6,3,1,2,8,4,5]=>1110010
[6,2,7,8,4,1,3,5]=>1001100
[7,8,5,2,4,1,3,6]=>0110100
[7,6,2,3,1,8,4,5]=>1101010
[4,2,5,1,3,7,8,6]=>1010001
[3,5,1,4,2,7,8,6]=>0101001
[3,4,1,7,8,5,2,6]=>0100110
[4,1,3,7,8,5,2,6]=>1000110
[4,3,1,8,5,2,7,6]=>1101101
[3,1,8,5,4,2,7,6]=>1011101
[7,6,3,5,8,4,2,1]=>1100111
[4,5,1,3,2,7,8,6]=>0101001
[5,1,3,2,4,7,8,6]=>1010001
[8,3,5,6,1,7,2,4]=>1001010
[4,5,8,1,2,6,7,3]=>0010001
[5,3,6,7,8,2,1,4]=>1000110
[1,3,4,8,6,2,7,5]=>0001101
[7,2,4,1,3,8,5,6]=>1010010
[3,8,2,5,4,1,6,7]=>0101100
[8,4,5,2,6,1,7,3]=>1010101
[4,6,8,2,3,7,5,1]=>0010011
[4,5,7,2,3,6,1,8]=>0010010
[2,7,3,4,1,5,6,8]=>0101000
[6,7,2,3,4,8,1,5]=>0100010
[3,5,2,4,6,7,8,1]=>0100001
[4,2,6,3,5,7,8,1]=>1010001
[1,4,8,5,6,2,7,3]=>0010101
[2,4,8,5,6,1,7,3]=>0010101
[6,3,5,8,4,7,1,2]=>1001010
[2,8,7,4,5,1,6,3]=>0110101
[1,3,8,5,2,6,7,4]=>0011001
[7,2,8,4,5,1,6,3]=>1010101
[6,2,3,5,1,7,8,4]=>1001001
[8,6,2,4,1,5,7,3]=>1101001
[1,6,4,3,2,7,8,5]=>0111001
[8,5,3,2,1,6,7,4]=>1111001
[1,7,5,2,3,6,8,4]=>0110001
[7,1,5,2,3,6,8,4]=>1010001
[8,1,2,5,3,6,7,4]=>1001001
[8,4,1,6,3,7,2,5]=>1101010
[6,7,5,3,8,2,1,4]=>0110110
[5,2,6,8,3,7,1,4]=>1001010
[4,2,5,8,6,7,1,3]=>1001010
[5,8,6,3,4,1,7,2]=>0110101
[3,7,2,4,1,8,6,5]=>0101011
[2,4,7,8,5,1,3,6]=>0001100
[2,5,3,8,4,1,6,7]=>0101100
[5,7,6,8,1,3,4,2]=>0101001
[3,1,7,4,5,6,2,8]=>1010010
[2,4,8,3,5,7,1,6]=>0010010
[8,1,7,2,4,3,5,6]=>1010100
[1,3,8,2,4,7,5,6]=>0010010
[1,3,7,2,4,6,5,8]=>0010010
[1,7,3,2,4,6,5,8]=>0110010
[1,8,3,7,4,2,5,6]=>0101100
[8,7,3,1,4,2,5,6]=>1110100
[2,8,4,3,5,7,1,6]=>0110010
[3,2,8,7,4,1,5,6]=>1011100
[3,2,1,7,4,6,5,8]=>1101010
[3,2,6,5,1,7,8,4]=>1011001
[5,3,2,6,7,1,8,4]=>1100101
[3,2,8,6,7,4,1,5]=>1010110
[8,4,6,2,7,3,1,5]=>1010110
[4,3,8,6,7,2,1,5]=>1010110
[4,3,6,2,8,7,1,5]=>1010110
[3,8,4,7,6,5,1,2]=>0101110
[7,8,4,2,6,3,5,1]=>0110101
[3,2,7,8,6,4,5,1]=>1001101
[3,2,7,5,6,8,4,1]=>1010011
[5,7,8,6,3,2,4,1]=>0011101
[6,5,4,2,1,7,8,3]=>1111001
[5,4,2,1,7,6,3,8]=>1110110
[4,1,6,5,2,7,8,3]=>1011001
[5,4,1,6,7,2,8,3]=>1100101
[6,8,5,3,1,7,2,4]=>0111010
[5,2,6,3,8,7,1,4]=>1010110
[8,6,1,7,3,4,2,5]=>1101010
[1,8,3,6,7,4,2,5]=>0100110
[1,6,3,5,2,7,8,4]=>0101001
[1,5,7,3,2,6,4,8]=>0011010
[5,1,3,7,2,6,4,8]=>1001010
[8,1,6,7,2,4,3,5]=>1001010
[6,1,4,8,2,7,3,5]=>1001010
[6,2,4,8,3,7,1,5]=>1001010
[8,7,2,6,3,5,1,4]=>1101010
[8,1,7,6,5,2,3,4]=>1011100
[7,1,5,6,8,2,4,3]=>1000101
[6,7,1,5,2,4,8,3]=>0101001
[7,6,1,5,2,4,3,8]=>1101010
[7,1,6,3,5,4,2,8]=>1010110
[1,6,7,3,5,4,8,2]=>0010101
[1,7,3,5,6,8,4,2]=>0100011
[1,7,8,3,6,4,5,2]=>0010101
[1,8,7,6,4,5,2,3]=>0111010
[8,2,7,4,6,5,1,3]=>1010110
[2,8,5,7,6,4,1,3]=>0101110
[7,4,5,1,6,8,3,2]=>1010011
[4,1,7,5,6,8,3,2]=>1010011
[5,6,7,4,3,1,8,2]=>0011101
[6,7,8,5,3,1,4,2]=>0011101
[1,4,6,2,5,3,7,8]=>0010100
[1,6,3,2,5,4,7,8]=>0110100
[1,6,8,2,5,4,7,3]=>0010101
[1,5,4,2,6,3,7,8]=>0110100
[1,2,6,4,3,5,7,8]=>0011000
[1,6,8,2,7,5,4,3]=>0010111
[1,7,4,3,2,6,8,5]=>0111001
[1,5,4,7,2,6,8,3]=>0101001
[1,3,7,6,2,8,5,4]=>0011011
[1,7,6,2,8,4,3,5]=>0110110
[1,5,2,8,4,3,7,6]=>0101101
[1,2,8,4,3,6,5,7]=>0011010
[1,2,8,5,6,3,4,7]=>0010100
[1,7,3,5,2,8,6,4]=>0101011
[1,6,7,2,5,8,4,3]=>0010011
[1,5,8,3,2,7,4,6]=>0011010
[1,4,5,8,2,6,3,7]=>0001010
[1,7,6,4,8,2,5,3]=>0110101
[1,4,8,6,5,2,7,3]=>0011101
[1,3,8,2,6,5,4,7]=>0010110
[1,7,6,3,8,2,4,5]=>0110100
[1,5,2,7,6,4,8,3]=>0101101
[1,2,4,3,8,7,5,6]=>0010110
[1,4,3,8,7,2,5,6]=>0101100
[1,3,8,6,2,4,5,7]=>0011000
[1,3,8,5,4,2,6,7]=>0011100
[1,7,2,4,8,6,5,3]=>0100111
[1,6,5,3,2,8,7,4]=>0111011
[1,3,2,8,7,5,4,6]=>0101110
[1,2,8,6,5,4,3,7]=>0011110
[8,1,3,4,6,5,2,7]=>1000110
[8,3,1,4,6,5,2,7]=>1100110
[5,8,3,1,2,6,4,7]=>0110010
[4,8,1,7,5,2,3,6]=>0101100
[4,8,1,7,5,2,6,3]=>0101101
[8,5,1,4,2,6,3,7]=>1101010
[8,4,1,3,5,6,2,7]=>1100010
[8,5,3,2,1,6,4,7]=>1111010
[8,1,5,4,2,6,3,7]=>1011010
[8,5,2,4,1,6,3,7]=>1101010
[4,8,7,1,5,2,6,3]=>0110101
[4,8,7,1,5,2,3,6]=>0110100
[7,6,8,4,1,3,2,5]=>1011010
[7,6,8,4,1,3,5,2]=>1011001
[3,8,7,5,4,1,2,6]=>0111100
[4,8,2,7,5,1,3,6]=>0101100
[7,6,8,4,1,5,2,3]=>1011010
[8,7,6,1,5,2,3,4]=>1110100
[7,1,4,8,6,3,5,2]=>1001101
[8,1,6,5,3,4,7,2]=>1011001
[8,6,2,5,3,4,7,1]=>1101001
[8,6,5,1,3,4,7,2]=>1110001
[8,7,5,1,3,6,2,4]=>1110010
[8,7,1,5,3,6,2,4]=>1101010
[8,6,1,3,5,4,7,2]=>1100101
[7,1,4,8,3,6,5,2]=>1001011
[7,8,5,2,4,3,6,1]=>0110101
[7,3,8,2,5,4,6,1]=>1010101
[8,4,2,5,3,7,6,1]=>1101011
[4,8,1,5,3,7,6,2]=>0101011
[7,4,8,2,6,3,5,1]=>1010101
[7,4,8,2,6,3,1,5]=>1010110
[8,7,3,1,6,4,2,5]=>1110110
[8,7,3,1,6,4,5,2]=>1110101
[8,7,3,1,4,6,5,2]=>1110011
[8,4,3,2,7,5,6,1]=>1110101
[6,4,1,7,8,5,3,2]=>1100111
[7,6,3,4,1,8,5,2]=>1101011
[8,7,3,1,6,2,5,4]=>1110101
[7,8,6,4,2,5,1,3]=>0111010
[7,8,2,4,6,5,1,3]=>0100110
[8,1,7,3,5,6,2,4]=>1010010
[8,7,5,2,4,6,1,3]=>1110010
[8,1,7,5,4,6,2,3]=>1011010
[8,7,3,2,6,1,5,4]=>1110101
[5,3,1,7,6,4,2,8]=>1101110
[7,5,3,2,1,6,4,8]=>1111010
[7,6,5,3,1,4,2,8]=>1111010
[1,8,6,4,3,2,7,5]=>0111101
[1,8,7,6,4,2,5,3]=>0111101
[8,4,6,7,5,3,2,1]=>1001111
[1,4,8,6,7,5,3,2]=>0010111
[7,6,2,5,8,4,3,1]=>1100111
[1,7,3,6,8,5,4,2]=>0100111
[8,6,2,5,7,4,3,1]=>1100111
[7,1,3,6,8,5,4,2]=>1000111
[1,8,3,6,7,5,4,2]=>0100111
[8,1,7,6,4,5,3,2]=>1011011
[7,1,8,6,4,5,3,2]=>1011011
[1,6,2,7,4,5,3,8]=>0101010
[1,8,2,6,4,3,5,7]=>0101100
[1,7,2,6,4,3,5,8]=>0101100
[1,7,2,5,4,6,3,8]=>0101010
[6,5,7,2,8,3,4,1]=>1010101
[6,2,7,5,8,1,4,3]=>1010101
[6,7,2,5,8,1,4,3]=>0100101
[6,5,7,3,8,1,4,2]=>1010101
[6,3,7,4,8,2,5,1]=>1010101
[6,3,7,4,8,1,5,2]=>1010101
[8,7,6,4,2,5,3,1]=>1111011
[8,7,4,6,2,3,5,1]=>1101001
[6,8,4,5,7,3,2,1]=>0100111
[6,7,5,1,4,3,8,2]=>0110101
[7,8,5,1,4,3,6,2]=>0110101
[2,7,6,8,3,5,1,4]=>0101010
[7,2,1,5,3,8,6,4]=>1101011
[5,8,2,7,6,1,3,4]=>0101100
[5,1,8,7,3,4,2,6]=>1011010
[8,2,3,6,7,1,4,5]=>1000100
[4,2,3,1,5,8,6,7]=>1010010
[2,4,8,7,5,3,1,6]=>0011110
[2,6,8,7,5,3,4,1]=>0011101
[2,6,5,1,4,3,8,7]=>0110101
[6,5,1,2,4,3,8,7]=>1100101
[4,6,5,3,1,2,8,7]=>0111001
[4,8,7,5,3,1,2,6]=>0111100
[4,6,8,7,5,3,1,2]=>0011110
[6,8,7,5,3,1,4,2]=>0111101
[8,7,5,6,3,1,4,2]=>1101101
[8,7,3,4,6,5,1,2]=>1100110
[2,1,4,8,7,3,6,5]=>1001101
[4,8,7,3,1,2,6,5]=>0111001
[8,7,3,4,1,2,6,5]=>1101001
[8,7,3,1,6,5,2,4]=>1110110
[8,7,3,2,6,5,1,4]=>1110110
[2,8,7,3,4,6,5,1]=>0110011
[2,8,7,3,6,5,1,4]=>0110110
[2,8,7,1,6,5,3,4]=>0110110
[8,7,1,2,6,5,3,4]=>1100110
[8,7,1,2,4,3,6,5]=>1100101
[2,1,8,7,3,4,6,5]=>1011001
[8,7,5,1,2,4,3,6]=>1110010
[2,8,7,1,4,3,6,5]=>0110101
[2,8,7,3,4,1,6,5]=>0110101
[2,8,7,5,6,3,4,1]=>0110101
[2,4,8,7,3,1,6,5]=>0011101
[2,8,7,3,1,4,6,5]=>0111001
[2,4,3,1,8,7,5,6]=>0110110
[4,3,1,2,6,8,7,5]=>1100011
[2,8,7,5,6,3,1,4]=>0110110
[2,8,7,5,3,1,6,4]=>0111101
[2,8,7,5,3,6,4,1]=>0111011
[2,8,7,5,6,1,4,3]=>0110101
[2,6,8,7,5,1,4,3]=>0011101
[6,8,7,5,1,2,4,3]=>0111001
[8,7,5,6,1,2,4,3]=>1101001
[8,7,1,2,4,6,5,3]=>1100011
[2,4,8,7,3,6,5,1]=>0011011
[8,7,2,4,3,6,5,1]=>1101011
[4,8,7,1,2,6,5,3]=>0110011
[8,7,5,3,1,2,6,4]=>1111001
[8,7,5,3,6,4,1,2]=>1110110
[8,7,1,4,3,6,5,2]=>1101011
[8,7,3,4,1,6,5,2]=>1101011
[7,1,2,3,5,4,6,8]=>1000100
[7,1,2,6,4,5,3,8]=>1001010
[7,1,2,4,3,5,6,8]=>1001000
[4,7,3,6,5,1,2,8]=>0101100
[7,5,4,2,8,3,1,6]=>1110110
[8,3,6,1,5,2,4,7]=>1010100
[3,1,6,8,5,7,2,4]=>1001010
[5,7,2,1,8,4,6,3]=>0110101
[7,2,8,6,4,3,1,5]=>1011110
[6,3,8,7,4,2,1,5]=>1011110
[7,6,3,2,8,4,1,5]=>1110110
[8,6,1,3,2,4,5,7]=>1101000
[5,8,3,7,4,2,1,6]=>0101110
[4,1,7,3,5,8,6,2]=>1010011
[8,4,7,3,5,2,1,6]=>1010110
[5,4,8,1,3,2,6,7]=>1010100
[4,5,8,2,1,3,6,7]=>0011000
[8,1,3,5,2,4,6,7]=>1001000
[1,8,3,5,7,2,4,6]=>0100100
[1,7,3,8,6,2,4,5]=>0101100
[8,6,2,1,3,7,5,4]=>1110011
[8,1,4,2,7,6,3,5]=>1010110
[1,5,7,3,6,8,2,4]=>0010010
[8,4,6,2,5,7,1,3]=>1010010
[1,3,4,7,6,8,2,5]=>0001010
[8,1,3,6,7,4,2,5]=>1000110
[1,2,4,7,8,5,3,6]=>0000110
[3,1,4,7,6,8,2,5]=>1001010
[4,1,3,7,6,8,2,5]=>1001010
[5,1,7,3,6,8,2,4]=>1010010
[6,7,8,2,4,5,1,3]=>0010010
[5,8,6,2,4,7,1,3]=>0110010
[3,8,2,6,5,7,1,4]=>0101010
[2,8,3,6,7,4,1,5]=>0100110
[8,7,2,5,6,3,1,4]=>1100110
[8,7,1,6,4,3,2,5]=>1101110
[1,8,2,7,5,4,3,6]=>0101110
[3,8,1,7,5,4,2,6]=>0101110
[5,8,6,1,7,3,2,4]=>0110110
[6,7,1,2,8,4,3,5]=>0100110
[2,1,3,8,6,5,4,7]=>1001110
[8,2,1,7,5,4,3,6]=>1101110
[1,3,2,8,6,5,4,7]=>0101110
[3,4,1,7,6,8,2,5]=>0101010
[2,5,7,1,8,4,3,6]=>0010110
[3,5,7,1,6,8,2,4]=>0010010
[4,5,7,6,1,8,2,3]=>0011010
[5,4,7,6,8,3,1,2]=>1010110
[1,5,7,8,6,3,2,4]=>0001110
[8,4,6,7,5,2,1,3]=>1001110
[8,3,7,5,6,2,1,4]=>1010110
[1,4,8,6,7,3,2,5]=>0010110
[2,4,8,6,7,3,1,5]=>0010110
[5,2,7,8,6,3,1,4]=>1001110
[2,3,8,7,5,4,1,6]=>0011110
[1,3,8,7,5,4,2,6]=>0011110
[8,2,7,6,4,3,1,5]=>1011110
[8,1,7,6,4,3,2,5]=>1011110
[4,1,8,6,7,3,2,5]=>1010110
[4,8,7,5,6,2,1,3]=>0110110
[5,6,8,1,7,4,3,2]=>0010111
[4,1,8,7,3,6,5,2]=>1011011
[5,6,8,4,1,7,3,2]=>0011011
[4,5,8,7,3,1,6,2]=>0011101
[3,1,8,4,7,6,5,2]=>1010111
[1,5,8,4,3,7,6,2]=>0011011
[8,1,7,2,5,6,4,3]=>1010011
[8,1,3,5,2,7,6,4]=>1001011
[2,7,1,5,4,8,6,3]=>0101011
[8,6,2,4,3,7,5,1]=>1101011
[2,4,1,6,7,5,8,3]=>0100101
[8,1,4,5,6,3,7,2]=>1000101
[8,1,4,5,6,2,7,3]=>1000101
[8,1,4,7,6,2,5,3]=>1001101
[2,5,1,7,8,6,4,3]=>0100111
[3,5,6,2,8,7,4,1]=>0010111
[2,4,5,1,7,6,3,8]=>0010110
[7,3,1,5,6,4,2,8]=>1100110
[8,3,2,5,6,7,1,4]=>1100010
[8,4,5,3,7,6,2,1]=>1010111
[3,4,5,6,2,8,1,7]=>0001010
[3,7,4,2,8,5,1,6]=>0110110
[7,3,4,1,6,8,2,5]=>1010010
[2,6,3,1,4,7,5,8]=>0110010
[7,2,1,6,3,4,8,5]=>1101001
[7,3,4,1,6,5,8,2]=>1010101
[3,7,4,2,5,8,6,1]=>0110011
[2,3,5,1,4,8,7,6]=>0010011
[2,7,1,3,6,8,5,4]=>0100011
[2,7,1,3,8,4,6,5]=>0100101
[3,8,7,1,6,2,5,4]=>0110101
[3,8,7,1,4,5,2,6]=>0110010
[3,7,4,2,1,8,6,5]=>0111011
[4,8,5,7,2,6,3,1]=>0101011
[8,4,5,7,3,2,6,1]=>1001101
[8,3,7,2,4,1,5,6]=>1010100
[8,6,7,2,1,4,3,5]=>1011010
[8,3,7,5,1,2,6,4]=>1011001
[7,3,4,6,2,1,5,8]=>1001100
[3,7,4,6,1,5,2,8]=>0101010
[3,4,7,6,1,2,8,5]=>0011001
[4,5,8,7,6,1,3,2]=>0011101
[8,6,3,7,5,1,4,2]=>1101101
[8,7,3,5,6,1,4,2]=>1100101
[7,6,3,8,1,4,5,2]=>1101001
[8,5,2,7,6,1,3,4]=>1101100
[8,7,3,1,4,5,2,6]=>1110010
[8,4,2,5,1,6,7,3]=>1101001
[8,5,3,1,6,4,7,2]=>1110101
[8,7,3,1,4,5,6,2]=>1110001
[8,7,4,1,5,6,2,3]=>1110010
[8,6,4,1,7,5,2,3]=>1110110
[8,6,3,1,7,4,5,2]=>1110101
[8,5,3,1,6,7,4,2]=>1110011
[8,5,3,7,1,6,4,2]=>1101011
[7,6,3,8,1,4,2,5]=>1101010
[7,4,8,2,6,1,5,3]=>1010101
[6,4,7,3,1,5,2,8]=>1011010
[8,5,3,1,6,4,2,7]=>1110110
[8,7,4,1,5,2,3,6]=>1110100
[8,7,5,1,2,6,3,4]=>1110010
[8,6,4,1,2,7,5,3]=>1110011
[8,7,4,1,2,5,3,6]=>1110010
[8,7,5,1,2,3,6,4]=>1110001
[6,5,3,7,4,2,1,8]=>1101110
[1,6,3,8,4,2,5,7]=>0101100
[4,7,2,5,3,6,1,8]=>0101010
[1,8,3,4,5,2,6,7]=>0100100
[1,8,6,4,2,5,3,7]=>0111010
[8,2,6,4,1,5,7,3]=>1011001
[7,8,3,4,6,1,5,2]=>0100101
[4,8,7,5,3,1,6,2]=>0111101
[6,1,4,8,3,2,5,7]=>1001100
[4,1,8,5,3,2,6,7]=>1011100
[8,1,6,4,2,7,3,5]=>1011010
[3,1,7,4,2,5,8,6]=>1011001
[1,2,7,4,3,5,6,8]=>0011000
[6,1,8,5,2,4,3,7]=>1011010
[6,8,2,5,1,4,7,3]=>0101001
[4,5,2,1,6,8,7,3]=>0110011
[7,2,8,6,5,1,4,3]=>1011101
[7,4,8,6,1,5,3,2]=>1011011
[8,7,2,6,1,4,5,3]=>1101001
[1,7,8,6,2,4,3,5]=>0011010
[7,6,3,1,2,5,4,8]=>1110010
[8,5,3,1,2,4,7,6]=>1110001
[8,2,1,6,5,3,4,7]=>1101100
[3,8,1,5,6,2,4,7]=>0100100
[6,8,4,1,5,2,3,7]=>0110100
[3,2,8,1,6,4,5,7]=>1010100
[5,2,1,3,7,6,4,8]=>1100110
[5,4,1,2,8,3,7,6]=>1100101
[5,8,4,1,2,3,7,6]=>0110001
[7,1,2,5,3,4,6,8]=>1001000
[1,6,7,3,2,8,4,5]=>0011010
[1,8,6,3,2,7,4,5]=>0111010
[1,5,3,7,2,8,4,6]=>0101010
[1,4,6,2,8,5,3,7]=>0010110
[1,5,6,2,8,4,3,7]=>0010110
[2,4,6,3,1,7,5,8]=>0011010
[3,4,8,6,5,7,2,1]=>0011011
[1,2,5,7,4,3,6,8]=>0001100
[1,2,5,7,4,6,8,3]=>0001001
[3,5,8,6,1,7,2,4]=>0011010
[2,3,6,8,1,7,4,5]=>0001010
[2,3,7,1,8,6,4,5]=>0010110
[2,6,1,7,8,5,3,4]=>0100110
[2,4,8,5,6,7,1,3]=>0010010
[1,4,8,5,6,7,3,2]=>0010011
[4,8,3,1,6,5,7,2]=>0110101
[1,6,8,5,4,2,7,3]=>0011101
[6,5,8,4,2,1,7,3]=>1011101
[1,7,8,6,5,4,2,3]=>0011110
[6,8,7,4,5,1,3,2]=>0110101
[6,1,3,5,4,2,8,7]=>1001101
[3,6,4,2,5,1,8,7]=>0110101
[2,1,5,8,6,4,7,3]=>1001101
[4,2,8,5,6,3,7,1]=>1010101
[5,7,2,3,4,6,8,1]=>0100001
[1,8,7,3,2,5,6,4]=>0111001
[5,7,1,2,3,8,6,4]=>0100011
[7,8,6,2,4,1,5,3]=>0110101
[7,2,8,4,6,1,5,3]=>1010101
[7,4,6,2,8,1,5,3]=>1010101
[7,1,5,8,2,3,6,4]=>1001001
[7,6,4,8,2,1,5,3]=>1101101
[6,1,8,4,2,3,5,7]=>1011000
[7,3,6,2,1,8,5,4]=>1011011
[1,8,6,4,2,5,7,3]=>0111001
[5,6,2,1,8,4,7,3]=>0110101
[5,1,6,4,3,8,7,2]=>1011011
[5,4,6,8,1,3,7,2]=>1001001
[3,7,1,6,4,5,8,2]=>0101001
[3,5,2,1,4,6,7,8]=>0110000
[1,3,8,7,5,4,6,2]=>0011101
[6,7,3,4,8,5,1,2]=>0100110
[7,4,1,8,2,5,6,3]=>1101001
[3,1,7,2,5,6,8,4]=>1010001
[4,1,5,7,3,2,8,6]=>1001101
[6,4,1,7,2,8,5,3]=>1101011
[7,3,1,6,2,8,5,4]=>1101011
[4,8,2,5,3,1,6,7]=>0101100
[5,1,3,4,8,2,6,7]=>1000100
[6,1,4,5,7,8,2,3]=>1000010
[6,3,4,7,1,8,5,2]=>1001011
[7,1,3,4,5,6,8,2]=>1000001
[8,5,2,7,6,3,1,4]=>1101110
[1,8,3,5,6,2,7,4]=>0100101
[8,3,2,5,6,1,7,4]=>1100101
[4,2,5,1,6,8,7,3]=>1010011
[5,4,2,7,8,6,1,3]=>1100110
[6,8,7,2,1,3,4,5]=>0111000
[3,7,6,8,5,2,4,1]=>0101101
[1,7,8,5,2,6,3,4]=>0011010
[7,6,1,2,5,3,8,4]=>1100101
[5,8,7,2,6,3,4,1]=>0110101
[7,6,2,4,8,1,5,3]=>1100101
[1,5,7,3,8,6,2,4]=>0010110
[6,7,5,1,8,2,3,4]=>0110100
[7,6,1,2,4,3,8,5]=>1100101
[6,7,2,1,5,3,8,4]=>0110101
[4,3,2,8,7,1,6,5]=>1101101
[4,8,3,1,7,6,5,2]=>0110111
[5,3,8,7,1,6,4,2]=>1011011
[5,8,7,3,1,6,4,2]=>0111011
[5,3,8,2,1,7,6,4]=>1011011
[3,8,7,2,6,5,1,4]=>0110110
[7,4,1,8,6,5,3,2]=>1101111
[5,4,2,8,1,7,6,3]=>1101011
[5,8,4,2,1,7,6,3]=>0111011
[5,8,4,7,1,6,3,2]=>0101011
[5,4,8,3,1,7,6,2]=>1011011
[8,5,6,1,4,7,2,3]=>1010010
[6,7,4,1,2,5,8,3]=>0110001
[1,6,7,4,2,5,8,3]=>0011001
[3,6,7,5,8,1,2,4]=>0010100
[1,6,7,5,8,3,2,4]=>0010110
[3,8,6,5,7,4,1,2]=>0110110
[8,1,6,5,7,4,3,2]=>1010111
[5,2,1,6,8,4,7,3]=>1100101
[6,5,8,7,4,2,3,1]=>1011101
[6,8,5,7,4,2,1,3]=>0101110
[3,6,7,5,8,2,1,4]=>0010110
[4,7,5,3,8,1,2,6]=>0110100
[4,7,5,3,6,1,2,8]=>0110100
[4,7,5,3,1,6,2,8]=>0111010
[2,7,5,3,6,4,8,1]=>0110101
[2,7,5,6,3,8,4,1]=>0101011
[2,7,5,3,6,8,1,4]=>0110010
[8,7,5,3,1,4,6,2]=>1111001
[2,7,5,3,1,4,8,6]=>0111001
[2,7,5,3,4,8,6,1]=>0110011
[5,7,6,2,8,3,1,4]=>0110110
[5,1,6,3,2,4,8,7]=>1011001
[5,7,6,1,8,3,2,4]=>0110110
[3,8,7,2,1,5,4,6]=>0111010
[6,1,7,2,8,4,3,5]=>1010110
[4,8,5,6,7,3,1,2]=>0100110
[3,7,6,2,8,5,1,4]=>0110110
[6,1,7,3,8,5,2,4]=>1010110
[7,1,8,3,2,5,4,6]=>1011010
[2,7,8,3,1,5,4,6]=>0011010
[4,8,5,6,7,2,1,3]=>0100110
[5,8,6,2,7,4,1,3]=>0110110
[2,4,6,7,8,5,1,3]=>0000110
[2,4,6,7,8,3,1,5]=>0000110
[4,7,6,2,8,5,1,3]=>0110110
[5,8,7,3,2,4,1,6]=>0111010
[4,6,5,8,7,3,1,2]=>0101110
[8,3,1,7,2,6,4,5]=>1101010
[4,5,1,2,8,7,3,6]=>0100110
[5,6,1,2,8,3,7,4]=>0100101
[5,8,7,1,6,2,4,3]=>0110101
[8,4,5,1,7,6,2,3]=>1010110
[6,3,1,4,8,2,7,5]=>1100101
[8,5,6,1,7,2,4,3]=>1010101
[7,5,6,1,3,8,4,2]=>1010011
[5,7,6,1,3,8,4,2]=>0110011
[6,7,1,4,2,8,5,3]=>0101011
[2,1,6,4,8,3,7,5]=>1010101
[1,5,7,8,4,2,3,6]=>0001100
[1,3,6,4,2,5,7,8]=>0011000
[1,4,5,7,8,3,6,2]=>0000101
[1,5,7,8,3,6,2,4]=>0001010
[1,5,7,8,2,4,3,6]=>0001010
[6,8,4,7,3,2,1,5]=>0101110
[6,8,5,4,2,7,1,3]=>0111010
[1,8,4,6,3,2,7,5]=>0101101
[6,4,8,5,3,2,1,7]=>1011110
[3,5,6,1,4,2,7,8]=>0010100
[1,6,3,8,4,2,7,5]=>0101101
[7,1,3,2,4,6,8,5]=>1010001
[2,6,5,7,8,3,1,4]=>0100110
[4,1,8,2,6,7,5,3]=>1010011
[3,6,7,8,2,1,4,5]=>0001100
[2,5,7,1,6,3,4,8]=>0010100
[4,2,8,3,6,5,1,7]=>1010110
[6,3,8,7,2,4,5,1]=>1011001
[7,6,1,8,2,4,5,3]=>1101001
[2,5,6,3,4,8,1,7]=>0010010
[5,2,4,7,8,6,1,3]=>1000110
[7,2,1,3,4,8,5,6]=>1100010
[2,4,5,7,1,8,6,3]=>0001011
[8,1,6,2,3,4,7,5]=>1010001
[6,1,4,2,5,7,8,3]=>1010001
[1,6,7,2,4,3,5,8]=>0010100
[1,8,3,4,5,2,7,6]=>0100101
[1,8,3,6,4,7,2,5]=>0101010
[1,4,7,2,5,6,3,8]=>0010010
[7,3,5,8,2,6,1,4]=>1001010
[3,4,8,6,7,2,1,5]=>0010110
[3,4,8,2,5,1,7,6]=>0010101
[1,7,2,5,8,4,3,6]=>0100110
[1,4,6,7,8,3,5,2]=>0000101
[4,1,5,3,6,8,7,2]=>1010011
[5,8,7,4,6,2,3,1]=>0110101
[6,8,7,1,5,3,4,2]=>0110101
[2,7,8,4,6,5,1,3]=>0010110
[3,7,8,5,4,6,2,1]=>0011011
[4,8,7,5,2,6,3,1]=>0111011
[2,8,7,4,6,1,5,3]=>0110101
[4,8,7,2,5,6,3,1]=>0110011
[4,7,8,5,3,6,2,1]=>0011011
[6,4,8,1,5,7,3,2]=>1010011
[1,6,8,3,5,2,7,4]=>0010101
[4,5,8,6,3,7,2,1]=>0011011
[2,6,7,8,4,5,1,3]=>0001010
[6,1,2,8,4,7,5,3]=>1001011
[4,7,1,8,5,6,3,2]=>0101011
[5,7,1,8,2,6,4,3]=>0101011
[7,2,1,8,6,4,5,3]=>1101101
[5,3,8,4,7,6,2,1]=>1010111
[2,5,8,1,7,4,6,3]=>0010101
[4,5,8,3,7,6,2,1]=>0010111
[1,7,2,8,6,4,5,3]=>0101101
[3,5,7,8,1,6,2,4]=>0001010
[2,4,7,8,5,6,1,3]=>0001010
[4,1,7,8,5,6,3,2]=>1001011
[3,5,8,6,4,7,2,1]=>0011011
[2,4,8,5,7,6,1,3]=>0010110
[2,6,3,8,5,1,7,4]=>0101101
[4,1,5,8,6,7,3,2]=>1001011
[5,3,4,7,6,1,2,8]=>1001100
[6,2,1,4,8,3,7,5]=>1100101
[2,8,5,4,1,3,7,6]=>0111001
[4,2,8,7,1,3,5,6]=>1011000
[5,4,6,3,1,7,2,8]=>1011010
[4,3,6,5,1,8,2,7]=>1011010
[1,5,6,8,7,3,2,4]=>0001110
[1,4,8,3,6,5,2,7]=>0010110
[1,3,8,6,4,7,2,5]=>0011010
[1,2,8,6,4,3,7,5]=>0011101
[6,5,1,8,7,3,2,4]=>1101110
[4,1,7,6,8,3,2,5]=>1010110
[1,8,4,7,6,2,3,5]=>0101100
[8,3,2,6,1,7,4,5]=>1101010
[1,6,3,7,4,5,2,8]=>0101010
[2,6,3,7,4,8,5,1]=>0101011
[4,6,1,7,8,2,5,3]=>0100101
[7,2,3,8,4,5,6,1]=>1001001
[5,2,6,7,8,3,4,1]=>1000101
[6,5,8,1,2,7,4,3]=>1010011
[6,5,1,8,7,2,4,3]=>1101101
[5,8,4,3,7,2,1,6]=>0110110
[6,1,2,8,7,3,4,5]=>1001100
[7,3,2,8,4,6,1,5]=>1101010
[4,5,1,7,6,2,8,3]=>0101101
[1,5,2,7,6,3,4,8]=>0101100
[7,2,6,8,3,5,4,1]=>1001011
[4,8,1,7,6,2,5,3]=>0101101
[7,2,8,6,5,3,4,1]=>1011101
[4,1,8,7,6,5,2,3]=>1011110
[7,6,5,2,8,4,3,1]=>1110111
[6,5,1,8,7,4,3,2]=>1101111
[7,5,1,8,6,4,3,2]=>1101111
[8,5,1,7,6,4,3,2]=>1101111
[8,5,3,7,6,1,4,2]=>1101101
[3,8,7,6,1,5,4,2]=>0111011
[8,3,7,5,4,1,6,2]=>1011101
[4,5,3,1,8,7,2,6]=>0110110
[3,4,8,1,5,2,6,7]=>0010100
[8,6,5,7,1,3,2,4]=>1101010
[1,5,8,6,2,7,4,3]=>0011011
[3,1,8,5,7,2,6,4]=>1010101
[6,8,5,3,4,2,1,7]=>0110110
[8,5,2,6,4,3,1,7]=>1101110
[8,6,4,5,2,1,7,3]=>1101101
[8,5,2,6,1,4,7,3]=>1101001
[2,7,5,8,1,4,6,3]=>0101001
[3,2,6,7,1,8,5,4]=>1001011
[3,4,6,7,8,2,1,5]=>0000110
[3,2,6,7,8,4,1,5]=>1000110
[6,2,7,4,8,5,1,3]=>1010110
[6,7,1,3,8,5,4,2]=>0100111
[6,7,1,8,5,2,4,3]=>0101101
[1,2,6,7,8,5,3,4]=>0000110
[1,6,7,4,8,3,2,5]=>0010110
[1,4,6,7,8,3,2,5]=>0000110
[6,1,2,4,5,3,7,8]=>1000100
[8,1,7,3,2,6,4,5]=>1011010
[8,7,2,1,5,4,6,3]=>1110101
[2,7,4,8,6,5,3,1]=>0101111
[7,6,5,2,4,1,8,3]=>1110101
[7,6,4,3,1,5,8,2]=>1111001
[6,1,8,7,2,3,5,4]=>1011001
[8,6,1,2,7,3,4,5]=>1100100
[3,6,8,2,7,1,5,4]=>0010101
[2,8,6,1,4,5,7,3]=>0110001
[6,8,7,2,5,4,1,3]=>0110110
[3,2,6,4,8,7,5,1]=>1010111
[4,7,2,8,6,5,1,3]=>0101110
[4,7,1,8,6,5,3,2]=>0101111
[2,7,4,8,3,6,1,5]=>0101010
[4,7,3,8,6,1,5,2]=>0101101
[4,3,6,8,7,2,5,1]=>1001101
[4,3,8,2,5,7,6,1]=>1010011
[4,1,2,6,8,7,5,3]=>1000111
[3,1,6,4,8,7,2,5]=>1010110
[4,1,6,8,7,5,2,3]=>1001110
[3,8,1,4,5,7,2,6]=>0100010
[3,8,1,4,2,5,7,6]=>0101001
[4,1,8,3,5,2,7,6]=>1010101
[3,8,1,2,5,4,7,6]=>0100101
[4,2,3,6,8,7,1,5]=>1000110
[4,2,8,3,5,1,7,6]=>1010101
[4,2,8,3,5,7,6,1]=>1010011
[3,8,2,4,5,7,6,1]=>0100011
[3,8,2,5,1,4,7,6]=>0101001
[4,2,8,5,7,1,3,6]=>1010100
[3,8,1,5,2,4,7,6]=>0101001
[7,5,6,4,1,3,2,8]=>1011010
[7,8,6,4,1,3,2,5]=>0111010
[7,1,4,2,5,6,3,8]=>1010010
[7,3,2,1,4,6,5,8]=>1110010
[7,6,1,4,3,2,5,8]=>1101100
[7,4,1,3,5,6,2,8]=>1100010
[2,7,1,3,5,6,8,4]=>0100001
[3,6,2,1,5,8,7,4]=>0110011
[2,3,6,1,5,8,7,4]=>0010011
[3,4,7,1,5,6,8,2]=>0010001
[3,6,7,4,1,2,8,5]=>0011001
[4,3,2,7,1,6,8,5]=>1101001
[7,3,2,8,1,6,4,5]=>1101010
[7,4,8,1,5,6,3,2]=>1010011
[2,6,8,1,5,3,7,4]=>0010101
[6,8,2,1,5,3,7,4]=>0110101
[4,8,2,5,3,6,7,1]=>0101001
[4,5,8,2,3,6,7,1]=>0010001
[2,4,8,5,3,6,7,1]=>0011001
[5,3,2,6,4,8,7,1]=>1101011
[2,4,5,3,8,6,7,1]=>0010101
[4,3,5,2,8,6,7,1]=>1010101
[4,8,5,3,2,6,7,1]=>0111001
[3,5,4,2,8,6,7,1]=>0110101
[4,1,2,7,5,6,8,3]=>1001001
[5,6,7,4,2,8,3,1]=>0011011
[2,5,7,4,6,8,3,1]=>0010011
[7,5,2,4,3,8,6,1]=>1101011
[6,8,1,2,5,4,7,3]=>0100101
[6,4,1,8,5,2,7,3]=>1101101
[2,6,1,8,5,4,7,3]=>0101101
[7,1,2,8,5,6,4,3]=>1001011
[4,3,2,6,8,5,7,1]=>1100101
[3,7,6,4,8,5,2,1]=>0110111
[3,1,6,8,5,4,7,2]=>1001101
[2,3,5,8,4,6,7,1]=>0001001
[3,5,2,8,4,6,7,1]=>0101001
[3,4,5,8,2,6,7,1]=>0001001
[5,4,2,8,3,6,7,1]=>1101001
[5,3,4,8,2,6,7,1]=>1001001
[2,5,4,8,3,6,7,1]=>0101001
[6,3,2,5,8,4,7,1]=>1100101
[6,1,8,3,5,4,7,2]=>1010101
[5,4,8,3,2,6,7,1]=>1011001
[5,8,2,3,4,6,7,1]=>0100001
[6,2,1,7,8,5,4,3]=>1100111
[7,4,6,8,3,2,5,1]=>1001101
[3,4,5,2,7,1,6,8]=>0010100
[7,5,6,1,2,3,8,4]=>1010001
[1,5,7,6,3,2,8,4]=>0011101
[8,4,6,7,3,2,5,1]=>1001101
[8,4,6,2,3,1,5,7]=>1010100
[7,5,2,1,4,3,8,6]=>1110101
[3,1,7,8,5,4,2,6]=>1001110
[3,4,5,2,1,8,6,7]=>0011010
[7,6,4,8,3,1,2,5]=>1101100
[7,4,8,5,6,1,2,3]=>1010100
[6,2,8,5,1,3,4,7]=>1011000
[3,2,7,8,6,1,4,5]=>1001100
[6,8,2,5,1,3,7,4]=>0101001
[6,7,4,2,1,5,3,8]=>0111010
[5,7,4,1,3,6,2,8]=>0110010
[4,2,7,5,1,8,3,6]=>1011010
[4,1,6,5,3,8,2,7]=>1011010
[1,5,4,6,3,8,2,7]=>0101010
[1,8,6,4,7,3,2,5]=>0110110
[4,7,1,8,6,3,5,2]=>0101101
[5,4,8,1,7,3,6,2]=>1010101
[4,3,8,6,2,1,7,5]=>1011101
[8,3,6,2,4,1,7,5]=>1010101
[7,8,3,2,4,6,5,1]=>0110011
[7,2,8,5,3,1,6,4]=>1011101
[2,5,4,8,7,3,6,1]=>0101101
[6,4,2,8,7,3,1,5]=>1101110
[3,6,8,1,7,4,2,5]=>0010110
[7,8,6,3,1,4,5,2]=>0111001
[3,8,6,1,7,5,2,4]=>0110110
[2,7,5,4,8,3,1,6]=>0110110
[6,8,7,5,2,1,3,4]=>0111100
[7,6,2,8,5,1,3,4]=>1101100
[1,5,7,6,2,8,4,3]=>0011011
[1,6,5,2,7,8,4,3]=>0110011
[4,7,8,5,6,2,3,1]=>0010101
[4,7,8,1,2,5,6,3]=>0010001
[8,6,4,1,2,5,7,3]=>1110001
[6,1,4,7,2,5,8,3]=>1001001
[5,6,3,2,7,4,1,8]=>0110110
[2,6,4,3,7,5,8,1]=>0110101
[7,2,3,6,1,8,4,5]=>1001010
[3,4,6,5,7,1,2,8]=>0010100
[7,6,2,3,5,4,8,1]=>1100101
[8,5,2,4,3,6,1,7]=>1101010
[8,5,7,2,4,1,6,3]=>1010101
[2,6,7,5,8,1,4,3]=>0010101
[7,4,8,2,1,5,6,3]=>1011001
[2,3,6,7,8,5,1,4]=>0000110
[8,3,7,1,6,4,2,5]=>1010110
[8,2,1,7,6,5,3,4]=>1101110
[6,5,1,2,8,3,4,7]=>1100100
[5,6,8,1,3,7,2,4]=>0010010
[1,6,8,5,3,2,4,7]=>0011100
[5,8,1,6,7,4,2,3]=>0100110
[7,2,8,4,6,1,3,5]=>1010100
[6,2,7,4,3,8,1,5]=>1011010
[1,7,8,4,6,2,3,5]=>0010100
[7,1,8,4,6,2,3,5]=>1010100
[8,1,6,5,4,7,2,3]=>1011010
[4,1,6,8,7,3,2,5]=>1001110
[5,1,4,6,7,3,8,2]=>1000101
[7,1,3,4,6,2,8,5]=>1000101
[8,7,1,4,6,3,2,5]=>1100110
[6,5,2,8,4,7,1,3]=>1101010
[1,4,7,5,8,6,3,2]=>0010111
[6,1,8,3,4,7,2,5]=>1010010
[1,8,6,3,5,2,7,4]=>0110101
[7,8,1,3,5,4,2,6]=>0100110
[4,7,1,6,8,3,5,2]=>0100101
[3,6,5,2,8,4,1,7]=>0110110
[8,2,5,6,3,1,7,4]=>1001101
[7,1,8,4,2,5,3,6]=>1011010
[1,4,8,7,5,2,6,3]=>0011101
[1,5,6,4,2,3,7,8]=>0011000
[5,8,7,4,2,1,3,6]=>0111100
[3,1,5,2,7,8,6,4]=>1010011
[1,8,7,3,2,5,4,6]=>0111010
[1,2,5,4,8,7,3,6]=>0010110
[1,2,4,8,6,3,5,7]=>0001100
[1,5,2,4,7,3,8,6]=>0100101
[8,6,3,5,7,4,1,2]=>1100110
[8,5,3,2,1,4,7,6]=>1111001
[1,2,7,6,8,4,3,5]=>0010110
[1,6,3,2,5,7,8,4]=>0110001
[1,7,3,4,2,6,8,5]=>0101001
[1,6,3,5,8,4,2,7]=>0100110
[1,5,6,3,2,8,4,7]=>0011010
[1,2,5,8,4,6,3,7]=>0001010
[1,5,3,2,7,8,4,6]=>0110010
[4,1,8,6,2,3,7,5]=>1011001
[7,5,8,6,2,3,4,1]=>1011001
[1,7,6,4,3,8,5,2]=>0111011
[1,8,5,7,6,3,2,4]=>0101110
[1,4,7,3,6,8,5,2]=>0010011
[1,6,3,5,7,8,4,2]=>0100011
[1,5,6,3,2,7,8,4]=>0011001
[1,2,7,6,8,4,5,3]=>0010101
[1,8,4,7,5,3,2,6]=>0101110
[6,8,5,2,1,7,4,3]=>0111011
[1,2,6,8,4,3,7,5]=>0001101
[5,3,7,2,6,4,1,8]=>1010110
[5,3,8,2,6,1,7,4]=>1010101
[7,6,2,5,3,4,1,8]=>1101010
[7,6,2,4,5,3,1,8]=>1100110
[7,6,2,4,3,5,1,8]=>1101010
[7,6,2,3,5,4,1,8]=>1100110
[8,4,2,7,1,6,3,5]=>1101010
[8,7,6,1,5,3,2,4]=>1110110
[8,7,6,1,4,3,5,2]=>1110101
[8,7,6,1,3,5,4,2]=>1110011
[8,7,6,1,5,4,2,3]=>1110110
[8,6,2,7,1,5,3,4]=>1101010
[5,3,7,2,8,1,6,4]=>1010101
[8,3,5,4,2,1,6,7]=>1011100
[7,8,4,3,1,5,2,6]=>0111010
[8,6,3,7,1,5,2,4]=>1101010
[8,7,6,1,2,5,3,4]=>1110010
[8,7,6,1,2,5,4,3]=>1110011
[8,7,6,1,4,2,5,3]=>1110101
[4,7,5,8,6,1,3,2]=>0101101
[6,5,7,3,8,4,1,2]=>1010110
[8,7,5,4,1,2,6,3]=>1111001
[8,6,7,1,5,3,2,4]=>1010110
[7,5,6,1,3,4,2,8]=>1010010
[5,7,8,1,3,4,2,6]=>0010010
[7,8,5,1,3,4,2,6]=>0110010
[5,7,8,3,4,6,1,2]=>0010010
[7,5,1,3,4,2,6,8]=>1100100
[5,7,1,3,4,2,8,6]=>0100101
[7,3,5,6,4,8,1,2]=>1001010
[1,7,3,8,2,5,6,4]=>0101001
[1,5,3,7,8,4,6,2]=>0100101
[1,5,7,3,8,2,6,4]=>0010101
[7,1,5,3,6,2,4,8]=>1010100
[1,7,3,5,8,4,2,6]=>0100110
[1,3,7,5,8,6,2,4]=>0010110
[1,7,8,5,3,6,2,4]=>0011010
[1,7,5,8,3,4,2,6]=>0101010
[7,1,5,6,3,4,2,8]=>1001010
[7,3,5,6,4,1,2,8]=>1001100
[3,7,5,8,4,1,2,6]=>0101100
[7,5,6,8,1,3,4,2]=>1001001
[5,3,4,7,8,1,2,6]=>1000100
[5,3,7,6,8,1,2,4]=>1010100
[3,7,1,2,5,8,4,6]=>0100010
[3,1,2,7,5,8,4,6]=>1001010
[3,1,2,5,7,8,6,4]=>1000011
[7,3,1,5,4,6,2,8]=>1101010
[7,3,5,1,2,6,4,8]=>1010010
[3,7,1,2,8,5,6,4]=>0100101
[5,3,1,7,4,6,8,2]=>1101001
[5,3,7,1,2,6,8,4]=>1010001
[7,4,8,3,5,6,1,2]=>1010010
[2,4,7,3,5,6,1,8]=>0010010
[5,7,6,4,2,3,1,8]=>0111010
[7,4,8,2,5,6,1,3]=>1010010
[5,8,2,4,6,1,3,7]=>0100100
[6,1,4,8,5,2,7,3]=>1001101
[3,4,5,8,1,6,7,2]=>0001001
[6,8,7,4,2,1,5,3]=>0111101
[5,6,8,4,7,3,1,2]=>0010110
[3,1,6,8,5,2,7,4]=>1001101
[2,3,8,1,5,6,4,7]=>0010010
[5,4,8,1,2,6,7,3]=>1010001
[5,1,8,2,4,6,7,3]=>1010001
[4,1,8,2,3,6,7,5]=>1010001
[5,2,3,8,1,7,4,6]=>1001010
[2,3,5,7,1,6,4,8]=>0001010
[1,5,3,8,2,4,6,7]=>0101000
[8,6,2,7,5,1,4,3]=>1101101
[2,7,1,8,6,3,5,4]=>0101101
[5,7,6,1,3,2,8,4]=>0110101
[3,5,4,6,1,7,8,2]=>0101001
[8,1,5,4,6,3,7,2]=>1010101
[8,4,2,5,6,3,7,1]=>1100101
[8,6,2,7,5,4,3,1]=>1101111
[5,4,7,2,8,6,1,3]=>1010110
[3,5,6,4,1,7,2,8]=>0011010
[2,5,6,1,7,4,3,8]=>0010110
[2,7,1,8,6,5,4,3]=>0101111
[3,7,6,1,8,5,4,2]=>0110111
[6,2,8,3,1,4,5,7]=>1011000
[2,7,8,3,1,4,5,6]=>0011000
[1,5,3,2,8,6,7,4]=>0110101
[1,8,5,3,2,6,7,4]=>0111001
[1,7,8,5,6,3,2,4]=>0010110
[1,5,6,7,3,2,8,4]=>0001101
[1,7,5,2,3,4,8,6]=>0110001
[1,7,5,2,4,8,6,3]=>0110011
[1,6,7,8,3,2,4,5]=>0001100
[1,4,8,6,2,3,5,7]=>0011000
[1,8,4,5,6,7,2,3]=>0100010
[1,2,8,6,3,4,5,7]=>0011000
[1,2,8,6,3,5,7,4]=>0011001
[1,2,7,8,4,3,5,6]=>0001100
[1,8,6,7,4,2,3,5]=>0101100
[1,6,7,8,4,2,3,5]=>0001100
[1,6,7,8,3,4,2,5]=>0001010
[1,7,4,2,3,8,5,6]=>0110010
[1,7,8,4,2,3,5,6]=>0011000
[1,7,3,5,6,2,8,4]=>0100101
[1,7,8,3,4,2,5,6]=>0010100
[1,2,3,7,8,5,4,6]=>0000110
[1,2,7,4,6,3,8,5]=>0010101
[1,7,4,5,2,3,8,6]=>0101001
[1,7,8,4,5,2,3,6]=>0010100
[1,7,8,3,4,5,2,6]=>0010010
[1,2,8,4,5,6,3,7]=>0010010
[1,8,4,5,6,2,3,7]=>0100100
[5,8,2,7,3,4,1,6]=>0101010
[6,8,7,2,3,4,1,5]=>0110010
[3,8,7,5,2,6,1,4]=>0111010
[4,8,7,3,2,5,1,6]=>0111010
[5,3,8,1,6,7,4,2]=>1010011
[5,8,2,1,3,7,6,4]=>0110011
[5,1,8,2,6,4,7,3]=>1010101
[5,1,8,3,6,7,4,2]=>1010011
[3,1,8,4,6,2,7,5]=>1010101
[8,4,1,6,5,2,3,7]=>1101100
[1,8,7,6,4,3,5,2]=>0111101
[6,1,8,7,5,3,4,2]=>1011101
[6,8,7,3,2,4,1,5]=>0111010
[2,3,7,5,6,8,4,1]=>0010011
[3,2,4,7,5,8,1,6]=>1001010
[2,8,7,6,4,5,1,3]=>0111010
[4,8,7,6,3,1,5,2]=>0111101
[3,5,2,4,7,6,8,1]=>0100101
[5,3,2,6,4,7,8,1]=>1101001
[5,3,2,6,7,4,8,1]=>1100101
[5,3,2,7,6,4,8,1]=>1101101
[7,3,5,2,8,4,6,1]=>1010101
[3,5,2,7,4,6,8,1]=>0101001
[3,2,5,7,4,6,8,1]=>1001001
[3,2,7,5,4,8,6,1]=>1011011
[3,7,5,2,4,8,6,1]=>0110011
[2,3,7,5,4,8,6,1]=>0011011
[8,3,5,1,6,4,7,2]=>1010101
[8,4,5,6,1,3,7,2]=>1001001
[3,4,7,6,8,2,5,1]=>0010101
[5,2,8,4,1,3,6,7]=>1011000
[3,8,5,2,1,4,6,7]=>0111000
[7,6,4,1,8,2,5,3]=>1110101
[7,5,4,2,1,6,3,8]=>1111010
[8,1,6,7,3,4,2,5]=>1001010
[8,2,1,6,7,4,3,5]=>1100110
[5,2,8,6,3,7,1,4]=>1011010
[7,6,8,1,2,5,4,3]=>1010011
[2,1,3,4,8,5,7,6]=>1000101
[5,7,1,2,6,8,3,4]=>0100010
[1,5,2,3,6,8,7,4]=>0100011
[3,5,7,4,1,8,2,6]=>0011010
[8,6,4,7,5,1,2,3]=>1101100
[8,6,4,1,2,5,3,7]=>1110010
[2,8,4,3,1,6,5,7]=>0111010
[3,8,4,6,1,5,2,7]=>0101010
[8,3,5,6,1,4,7,2]=>1001001
[6,8,7,3,5,4,2,1]=>0110111
[3,1,2,8,5,7,4,6]=>1001010
[7,3,1,2,5,8,4,6]=>1100010
[8,3,5,7,2,1,4,6]=>1001100
[2,1,3,8,5,7,4,6]=>1001010
[7,3,1,2,8,4,5,6]=>1100100
[2,1,4,7,6,3,5,8]=>1001100
[7,2,4,5,3,8,1,6]=>1001010
[8,4,2,5,6,7,3,1]=>1100011
[5,4,1,6,3,7,8,2]=>1101001
[4,5,1,3,6,7,8,2]=>0100001
[5,1,7,6,3,4,8,2]=>1011001
[6,1,7,5,4,8,2,3]=>1011010
[3,7,2,1,6,8,4,5]=>0110010
[1,5,8,2,4,7,6,3]=>0010011
[5,8,1,6,4,7,3,2]=>0101011
[3,8,6,5,7,2,4,1]=>0110101
[6,8,1,4,7,3,5,2]=>0100101
[1,6,8,2,7,4,5,3]=>0010101
[5,7,2,1,8,4,3,6]=>0110110
[5,7,1,6,8,3,2,4]=>0100110
[5,6,2,1,8,3,4,7]=>0110100
[6,4,1,7,3,8,2,5]=>1101010
[8,2,5,6,7,1,4,3]=>1000101
[7,2,4,6,8,3,1,5]=>1000110
[6,2,4,7,8,1,3,5]=>1000100
[6,1,4,3,2,8,5,7]=>1011010
[2,7,4,8,6,1,5,3]=>0101101
[2,4,8,6,5,7,3,1]=>0011011
[3,7,8,6,4,2,5,1]=>0011101
[6,2,8,4,7,5,1,3]=>1010110
[4,5,7,3,6,8,1,2]=>0010010
[3,4,7,8,6,5,1,2]=>0001110
[1,4,7,2,6,8,5,3]=>0010011
[2,3,7,6,5,1,4,8]=>0011100
[3,2,7,6,4,1,5,8]=>1011100
[6,2,3,5,7,1,4,8]=>1000100
[7,8,1,2,5,6,4,3]=>0100011
[7,1,3,6,8,5,2,4]=>1000110
[4,2,8,5,1,6,3,7]=>1011010
[6,5,8,1,4,2,3,7]=>1010100
[3,8,2,4,5,1,6,7]=>0100100
[3,6,2,4,1,5,7,8]=>0101000
[2,3,8,4,1,6,5,7]=>0011010
[4,5,7,3,1,6,2,8]=>0011010
[2,3,1,4,8,5,7,6]=>0100101
[4,2,6,1,5,8,7,3]=>1010011
[7,5,1,8,4,3,6,2]=>1101101
[3,1,8,5,7,6,4,2]=>1010111
[5,1,8,7,4,6,3,2]=>1011011
[2,4,8,7,5,1,3,6]=>0011100
[3,5,7,6,1,8,4,2]=>0011011
[3,5,7,6,2,8,4,1]=>0011011
[1,5,3,2,8,7,6,4]=>0110111
[6,1,4,3,8,7,5,2]=>1010111
[6,3,1,8,7,4,2,5]=>1101110
[5,3,6,2,8,7,4,1]=>1010111
[6,3,5,2,1,8,7,4]=>1011011
[2,8,4,1,3,7,6,5]=>0110011
[3,8,1,4,7,6,5,2]=>0100111
[6,2,3,8,7,5,4,1]=>1001111
[4,1,3,5,8,7,6,2]=>1000111
[3,4,7,5,8,1,2,6]=>0010100
[2,7,8,3,4,1,5,6]=>0010100
[2,8,6,7,5,4,3,1]=>0101111
[7,2,6,8,1,4,3,5]=>1001010
[5,3,6,2,8,4,7,1]=>1010101
[8,1,6,3,7,4,5,2]=>1010101
[2,4,3,7,1,8,6,5]=>0101011
[2,6,5,7,3,8,4,1]=>0101011
[6,8,2,7,4,1,5,3]=>0101101
[6,1,7,8,5,3,2,4]=>1001110
[2,6,5,4,7,1,8,3]=>0110101
[5,8,3,4,6,1,7,2]=>0100101
[6,1,7,4,2,5,8,3]=>1011001
[6,8,7,1,5,4,2,3]=>0110110
[4,8,3,1,5,7,6,2]=>0110011
[5,3,8,2,7,1,6,4]=>1010101
[8,3,4,5,2,7,1,6]=>1001010
[8,2,6,7,1,5,3,4]=>1001010
[7,1,5,2,6,3,4,8]=>1010100
[3,7,1,5,2,6,8,4]=>0101001
[6,7,1,8,3,4,5,2]=>0101001
[3,7,1,6,8,4,5,2]=>0100101
[3,8,5,2,6,7,1,4]=>0110010
[3,6,5,2,7,1,4,8]=>0110100
[6,8,3,4,7,1,5,2]=>0100101
[3,7,1,6,5,2,8,4]=>0101101
[8,3,5,2,7,1,6,4]=>1010101
[3,8,6,4,7,1,5,2]=>0110101
[3,7,1,4,8,6,5,2]=>0100111
[3,7,1,4,5,2,8,6]=>0100101
[2,3,7,6,5,8,1,4]=>0011010
[3,5,7,6,8,2,1,4]=>0010110
[4,2,5,3,7,6,1,8]=>1010110
[6,2,4,3,7,5,1,8]=>1010110
[1,3,6,4,7,5,2,8]=>0010110
[8,2,5,3,6,4,1,7]=>1010110
[7,2,5,3,6,4,1,8]=>1010110
[6,2,5,3,7,4,1,8]=>1010110
[4,2,6,3,7,5,1,8]=>1010110
[5,2,7,3,6,4,1,8]=>1010110
[7,3,6,2,5,4,1,8]=>1010110
[6,3,8,2,5,4,1,7]=>1010110
[7,3,1,4,6,5,2,8]=>1100110
[8,3,7,2,5,4,1,6]=>1010110
[5,2,8,3,6,4,1,7]=>1010110
[3,2,8,4,6,5,1,7]=>1010110
[1,4,7,3,6,5,2,8]=>0010110
[8,2,5,4,1,6,3,7]=>1011010
[8,2,6,4,1,5,3,7]=>1011010
[1,4,8,3,7,5,2,6]=>0010110
[6,2,1,4,8,5,3,7]=>1100110
[5,2,1,4,8,6,3,7]=>1100110
[3,2,1,5,8,6,4,7]=>1100110
[4,2,8,3,7,5,1,6]=>1010110
[5,2,8,3,7,4,1,6]=>1010110
[8,3,7,2,6,4,1,5]=>1010110
[7,3,1,4,8,5,2,6]=>1100110
[1,3,7,4,8,5,2,6]=>0010110
[8,2,6,3,7,4,1,5]=>1010110
[7,2,6,3,8,4,1,5]=>1010110
[5,2,7,3,8,4,1,6]=>1010110
[3,2,7,4,8,5,1,6]=>1010110
[5,2,6,3,8,4,1,7]=>1010110
[6,2,5,3,8,4,1,7]=>1010110
[7,2,5,3,8,4,1,6]=>1010110
[8,2,5,3,7,4,1,6]=>1010110
[1,3,6,4,8,5,2,7]=>0010110
[1,3,5,4,8,6,2,7]=>0010110
[8,2,4,3,7,5,1,6]=>1010110
[7,2,4,3,8,5,1,6]=>1010110
[6,2,4,3,8,5,1,7]=>1010110
[5,2,4,3,8,6,1,7]=>1010110
[4,2,5,3,8,6,1,7]=>1010110
[4,2,5,3,1,7,6,8]=>1011010
[6,2,4,3,1,7,5,8]=>1011010
[7,2,4,3,1,6,5,8]=>1011010
[8,5,1,3,6,4,2,7]=>1100110
[8,4,1,3,6,5,2,7]=>1100110
[1,5,2,4,7,6,3,8]=>0100110
[7,2,5,3,1,6,4,8]=>1011010
[6,2,5,3,1,7,4,8]=>1011010
[4,2,6,3,1,7,5,8]=>1011010
[3,2,6,4,1,7,5,8]=>1011010
[3,2,7,4,1,6,5,8]=>1011010
[4,2,7,3,1,6,5,8]=>1011010
[5,2,7,3,1,6,4,8]=>1011010
[6,2,7,3,1,5,4,8]=>1011010
[7,2,6,3,1,5,4,8]=>1011010
[1,5,2,4,8,6,3,7]=>0100110
[8,4,1,3,7,5,2,6]=>1100110
[6,2,1,5,3,7,4,8]=>1101010
[3,2,1,6,4,7,5,8]=>1101010
[3,2,8,5,1,6,4,7]=>1011010
[6,2,8,4,1,5,3,7]=>1011010
[8,3,7,4,1,5,2,6]=>1011010
[7,1,3,2,5,6,4,8]=>1010010
[6,3,5,2,4,8,1,7]=>1010010
[1,5,2,8,7,4,3,6]=>0101110
[5,7,2,8,1,4,3,6]=>0101010
[4,8,3,1,5,2,7,6]=>0110101
[7,1,5,3,2,6,8,4]=>1011001
[3,1,5,7,8,6,2,4]=>1000110
[8,6,2,3,1,5,7,4]=>1101001
[2,5,1,7,4,8,6,3]=>0101011
[8,6,7,3,5,2,1,4]=>1010110
[1,4,2,7,3,6,8,5]=>0101001
[3,2,1,7,8,5,4,6]=>1100110
[7,3,4,2,1,5,8,6]=>1011001
[1,7,6,3,2,4,8,5]=>0111001
[2,1,6,4,7,8,5,3]=>1010011
[1,6,3,2,4,7,8,5]=>0110001
[1,2,3,7,5,8,4,6]=>0001010
[1,8,5,3,2,4,7,6]=>0111001
[4,7,8,1,5,6,2,3]=>0010010
[3,6,7,1,8,4,2,5]=>0010110
[1,3,7,6,2,4,5,8]=>0011000
[2,7,3,8,4,5,6,1]=>0101001
[7,1,4,3,8,5,6,2]=>1010101
[5,6,2,7,8,3,4,1]=>0100101
[7,4,1,8,5,6,2,3]=>1101010
[7,2,5,8,1,6,3,4]=>1001010
[6,4,8,1,5,7,2,3]=>1010010
[2,7,4,1,3,6,8,5]=>0110001
[5,2,1,8,4,6,7,3]=>1101001
[6,2,1,4,7,5,8,3]=>1100101
[1,2,8,4,6,3,5,7]=>0010100
[2,6,1,5,4,7,3,8]=>0101010
[1,2,8,5,4,6,3,7]=>0011010
[1,3,6,8,4,5,7,2]=>0001001
[1,2,8,4,6,3,7,5]=>0010101
[4,6,3,5,7,8,1,2]=>0100010
[2,7,6,5,1,4,8,3]=>0111001
[2,7,4,8,1,3,6,5]=>0101001
[2,3,6,8,4,1,7,5]=>0001101
[1,2,6,8,4,7,5,3]=>0001011
[1,7,2,8,6,3,5,4]=>0101101
[2,3,8,5,4,7,1,6]=>0011010
[1,2,8,4,7,3,5,6]=>0010100
[2,6,1,4,8,3,7,5]=>0100101
[3,7,6,5,2,1,4,8]=>0111100
[2,5,6,1,4,8,7,3]=>0010011
[8,4,2,3,7,1,6,5]=>1100101
[5,2,4,8,7,3,1,6]=>1001110
[3,2,4,6,7,8,1,5]=>1000010
[5,2,6,8,1,3,7,4]=>1001001
[4,8,1,6,3,7,5,2]=>0101011
[7,1,5,2,6,4,3,8]=>1010110
[8,3,5,2,6,1,4,7]=>1010100
[1,8,5,6,2,7,4,3]=>0101011
[4,2,7,6,1,8,5,3]=>1011011
[7,2,4,8,6,3,5,1]=>1001101
[7,3,2,1,8,5,4,6]=>1110110
[7,3,2,1,6,4,8,5]=>1110101
[3,6,5,2,1,8,4,7]=>0111010
[6,7,2,4,3,5,8,1]=>0101001
[4,5,3,7,2,1,6,8]=>0101100
[4,3,8,2,1,5,7,6]=>1011001
[4,3,2,8,1,6,7,5]=>1101001
[4,5,8,3,2,7,1,6]=>0011010
[6,8,5,2,7,3,4,1]=>0110101
[5,4,7,8,2,3,6,1]=>1001001
[4,3,8,2,1,6,7,5]=>1011001
[3,5,7,4,6,2,8,1]=>0010101
[5,3,7,6,2,4,8,1]=>1011001
[4,6,7,2,5,3,8,1]=>0010101
[6,4,7,8,3,1,5,2]=>1001101
[8,4,7,3,1,5,6,2]=>1011001
[5,8,1,7,6,4,2,3]=>0101110
[5,6,7,1,8,3,4,2]=>0010101
[7,1,8,6,2,5,4,3]=>1011011
[8,5,1,7,6,4,2,3]=>1101110
[1,5,8,2,6,4,7,3]=>0010101
[1,5,7,4,6,8,3,2]=>0010011
[1,4,7,5,6,8,3,2]=>0010011
[5,6,7,4,8,1,3,2]=>0010101
[8,1,2,6,4,5,7,3]=>1001001
[4,8,1,7,2,5,6,3]=>0101001
[2,6,7,1,5,4,8,3]=>0010101
[3,2,7,6,5,8,1,4]=>1011010
[1,7,3,4,5,8,2,6]=>0100010
[7,1,8,4,5,6,3,2]=>1010011
[1,2,7,4,5,8,3,6]=>0010010
[6,7,3,2,5,8,1,4]=>0110010
[6,1,8,4,5,3,7,2]=>1010101
[4,6,2,5,1,8,7,3]=>0101011
[5,1,4,6,2,8,7,3]=>1001011
[7,3,5,2,1,6,8,4]=>1011001
[8,5,1,2,6,3,7,4]=>1100101
[1,5,8,7,4,6,3,2]=>0011011
[5,7,2,1,3,6,8,4]=>0110001
[3,7,2,6,8,1,5,4]=>0100101
[7,4,8,6,5,1,3,2]=>1011101
[2,7,6,8,5,1,4,3]=>0101101
[1,6,4,5,7,3,8,2]=>0100101
[1,5,4,7,8,6,2,3]=>0100110
[7,3,1,6,8,2,5,4]=>1100101
[7,1,6,8,5,2,4,3]=>1001101
[3,5,8,7,6,4,1,2]=>0011110
[1,5,7,8,6,2,4,3]=>0001101
[3,6,2,1,4,7,8,5]=>0110001
[6,8,2,7,5,4,3,1]=>0101111
[5,8,1,7,6,4,3,2]=>0101111
[8,6,3,2,1,5,4,7]=>1111010
[8,5,3,2,4,1,7,6]=>1110101
[7,5,2,4,3,6,8,1]=>1101001
[8,5,1,4,6,3,2,7]=>1100110
[8,5,1,6,3,4,2,7]=>1101010
[8,4,3,6,1,5,2,7]=>1101010
[8,4,3,5,2,1,7,6]=>1101101
[6,4,3,2,8,7,1,5]=>1110110
[8,5,1,4,3,7,2,6]=>1101010
[8,5,4,2,1,3,7,6]=>1111001
[4,7,3,6,1,8,5,2]=>0101011
[7,6,2,4,1,5,8,3]=>1101001
[8,1,6,3,7,4,2,5]=>1010110
[5,3,8,2,6,7,1,4]=>1010010
[8,2,5,1,7,6,3,4]=>1010110
[8,2,4,6,3,7,1,5]=>1001010
[7,2,6,4,3,5,8,1]=>1011001
[7,3,6,2,4,5,8,1]=>1010001
[8,3,7,2,1,4,6,5]=>1011001
[7,6,4,1,3,2,8,5]=>1110101
[7,3,8,2,1,5,6,4]=>1011001
[6,2,5,7,4,3,8,1]=>1001101
[6,2,5,4,8,7,1,3]=>1010110
[7,2,4,8,5,1,6,3]=>1001101
[4,2,7,6,8,5,1,3]=>1010110
[7,1,6,2,8,5,4,3]=>1010111
[7,1,6,3,8,5,2,4]=>1010110
[7,2,6,8,1,3,5,4]=>1001001
[7,2,8,5,1,3,6,4]=>1011001
[7,1,8,5,3,2,6,4]=>1011101
[7,1,8,2,5,6,4,3]=>1010011
[6,1,5,8,7,2,4,3]=>1001101
[6,1,5,7,4,8,3,2]=>1001011
[6,1,5,7,8,3,4,2]=>1000101
[4,6,7,3,1,8,5,2]=>0011011
[4,2,6,3,1,8,7,5]=>1011011
[6,1,4,2,5,8,7,3]=>1010011
[1,5,3,8,4,6,2,7]=>0101010
[7,2,3,5,8,4,1,6]=>1000110
[7,6,4,2,8,5,1,3]=>1110110
[1,7,6,4,8,5,3,2]=>0110111
[8,7,4,2,1,5,6,3]=>1111001
[8,2,3,5,1,4,6,7]=>1001000
[8,7,4,1,3,2,6,5]=>1110101
[7,1,4,8,3,6,2,5]=>1001010
[4,1,8,5,7,6,2,3]=>1010110
[3,7,5,8,4,2,1,6]=>0101110
[6,1,5,8,3,4,2,7]=>1001010
[6,7,5,1,3,2,4,8]=>0110100
[5,2,6,1,7,3,4,8]=>1010100
[4,2,6,8,3,7,1,5]=>1001010
[6,8,5,1,4,2,3,7]=>0110100
[7,8,4,5,1,3,6,2]=>0101001
[1,7,8,5,3,4,6,2]=>0011001
[1,5,8,3,6,4,7,2]=>0010101
[6,3,8,1,4,2,7,5]=>1010101
[4,8,1,5,6,3,7,2]=>0100101
[1,8,2,6,5,3,7,4]=>0101101
[3,8,1,7,2,6,5,4]=>0101011
[7,3,8,1,2,6,5,4]=>1010011
[8,1,4,2,3,5,7,6]=>1010001
[8,1,2,4,6,5,7,3]=>1000101
[5,1,8,3,7,4,6,2]=>1010101
[8,3,7,1,5,4,6,2]=>1010101
[8,4,7,1,5,3,6,2]=>1010101
[7,2,5,3,4,6,1,8]=>1010010
[7,6,4,2,5,3,1,8]=>1110110
[5,8,4,3,6,2,7,1]=>0110101
[1,7,2,6,3,4,8,5]=>0101001
[7,5,1,6,3,2,4,8]=>1101100
[7,1,2,6,3,4,5,8]=>1001000
[7,2,5,1,6,3,4,8]=>1010100
[7,3,1,4,6,2,5,8]=>1100100
[7,1,6,5,4,2,3,8]=>1011100
[5,8,4,3,1,7,2,6]=>0111010
[3,6,8,5,2,4,7,1]=>0011001
[5,7,8,4,3,2,6,1]=>0011101
[1,3,8,4,7,2,6,5]=>0010101
[3,2,1,4,5,8,6,7]=>1100010
[6,7,1,3,2,8,5,4]=>0101011
[1,5,3,2,6,8,4,7]=>0110010
[3,7,6,5,8,2,4,1]=>0110101
[5,7,4,2,8,6,1,3]=>0110110
[5,4,3,7,8,2,6,1]=>1100101
[3,8,5,7,6,2,4,1]=>0101101
[1,3,6,8,7,2,5,4]=>0001101
[5,8,7,1,4,2,3,6]=>0110100
[2,6,3,7,1,4,5,8]=>0101000
[6,5,1,2,4,7,8,3]=>1100001
[7,6,8,4,3,1,5,2]=>1011101
[1,7,6,5,3,2,4,8]=>0111100
[2,7,6,5,4,1,3,8]=>0111100
[6,2,3,5,8,4,1,7]=>1000110
[4,7,6,1,5,8,3,2]=>0110011
[6,8,7,1,5,4,3,2]=>0110111
[8,7,4,6,5,1,3,2]=>1101101
[7,2,6,1,5,8,3,4]=>1010010
[4,7,3,8,6,2,5,1]=>0101101
[4,7,3,6,8,2,1,5]=>0100110
[5,4,7,3,8,2,1,6]=>1010110
[8,7,2,4,6,3,5,1]=>1100101
[4,3,5,7,2,6,1,8]=>1001010
[1,7,2,8,5,4,3,6]=>0101110
[5,4,8,3,6,2,1,7]=>1010110
[6,8,2,5,7,1,4,3]=>0100101
[3,8,6,2,7,5,1,4]=>0110110
[5,8,4,2,7,3,6,1]=>0110101
[8,2,7,3,4,5,1,6]=>1010010
[8,1,5,2,4,6,3,7]=>1010010
[8,6,1,3,4,5,7,2]=>1100001
[8,5,1,2,4,6,7,3]=>1100001
[2,6,8,7,3,4,5,1]=>0011001
[1,7,8,5,6,4,2,3]=>0010110
[8,3,1,2,4,6,7,5]=>1100001
[3,1,7,5,8,2,4,6]=>1010100
[8,1,3,2,4,6,5,7]=>1010010
[8,1,5,6,4,2,3,7]=>1001100
[8,1,6,5,4,3,2,7]=>1011110
[2,6,8,1,5,4,3,7]=>0010110
[5,2,1,7,6,3,8,4]=>1101101
[3,5,8,2,1,4,7,6]=>0011001
[4,2,8,5,3,7,6,1]=>1011011
[4,2,7,5,3,8,6,1]=>1011011
[6,4,5,1,8,3,2,7]=>1010110
[5,4,7,8,3,1,2,6]=>1001100
[4,5,8,1,3,7,2,6]=>0010010
[1,5,3,6,8,7,2,4]=>0100110
[7,6,2,8,1,4,3,5]=>1101010
[4,7,2,6,8,3,5,1]=>0100101
[6,3,2,8,7,4,5,1]=>1101101
[7,4,3,8,5,6,2,1]=>1101011
[3,1,5,8,7,6,2,4]=>1001110
[8,2,1,6,5,7,3,4]=>1101010
[3,1,8,6,5,7,2,4]=>1011010
[1,2,7,6,4,5,8,3]=>0011001
[7,2,6,5,1,8,3,4]=>1011010
[4,2,8,5,6,3,1,7]=>1010110
[4,7,3,2,5,1,6,8]=>0110100
[4,2,5,3,8,7,1,6]=>1010110
[7,2,5,3,8,4,6,1]=>1010101
[3,6,8,1,7,4,5,2]=>0010101
[8,7,3,2,5,4,6,1]=>1110101
[7,5,6,1,8,3,2,4]=>1010110
[4,5,6,2,7,3,1,8]=>0010110
[5,3,4,7,1,6,2,8]=>1001010
[3,5,1,4,6,8,2,7]=>0100010
[8,5,7,4,2,1,3,6]=>1011100
[2,3,7,4,1,8,6,5]=>0011011
[2,4,5,1,8,6,3,7]=>0010110
[2,4,1,6,7,5,3,8]=>0100110
[6,3,7,1,5,2,4,8]=>1010100
[4,1,3,7,8,2,6,5]=>1000101
[7,1,4,8,6,5,2,3]=>1001110
[8,3,4,2,1,7,5,6]=>1011010
[1,4,5,3,8,6,7,2]=>0010101
[4,6,2,7,5,8,1,3]=>0101010
[7,3,2,5,1,8,4,6]=>1101010
[7,8,1,4,2,3,5,6]=>0101000
[6,5,2,4,8,7,1,3]=>1100110
[8,5,2,4,1,3,7,6]=>1101001
[5,1,2,4,3,6,8,7]=>1001001
[5,2,1,4,3,7,6,8]=>1101010
[8,6,2,7,5,3,1,4]=>1101110
[6,2,1,5,8,3,4,7]=>1100100
[2,3,8,7,1,5,4,6]=>0011010
[4,3,8,1,5,2,6,7]=>1010100
[4,1,3,6,7,2,8,5]=>1000101
[7,1,4,5,8,2,6,3]=>1000101
[6,1,3,2,4,5,8,7]=>1010001
[3,7,8,6,5,1,2,4]=>0011100
[8,4,5,7,2,6,3,1]=>1001011
[4,5,8,2,7,3,1,6]=>0010110
[6,5,8,2,7,3,1,4]=>1010110
[6,4,8,2,7,3,1,5]=>1010110
[7,8,1,3,6,4,2,5]=>0100110
[4,3,8,2,7,5,1,6]=>1010110
[4,5,7,8,3,2,1,6]=>0001110
[5,7,3,4,2,6,8,1]=>0101001
[5,7,4,2,3,6,8,1]=>0110001
[5,4,7,3,2,8,1,6]=>1011010
[6,8,3,2,4,5,1,7]=>0110010
[5,8,3,4,6,1,2,7]=>0100100
[6,4,3,8,5,1,2,7]=>1101100
[6,4,8,2,3,5,1,7]=>1010010
[5,4,6,8,2,3,1,7]=>1001010
[5,6,8,4,1,2,3,7]=>0011000
[6,4,8,5,1,2,3,7]=>1011000
[7,4,8,3,1,2,5,6]=>1011000
[5,7,8,2,3,1,4,6]=>0010100
[5,4,7,8,2,1,3,6]=>1001100
[5,8,6,3,1,2,4,7]=>0111000
[6,8,5,2,1,3,4,7]=>0111000
[5,6,1,3,2,4,8,7]=>0101001
[8,1,5,4,6,2,7,3]=>1010101
[4,3,8,1,2,5,7,6]=>1010001
[4,6,3,2,8,5,7,1]=>0110101
[5,3,7,2,1,8,6,4]=>1011011
[7,4,3,2,5,1,8,6]=>1110101
[5,4,8,3,7,2,1,6]=>1010110
[3,6,8,5,2,1,7,4]=>0011101
[6,1,5,4,7,2,8,3]=>1010101
[1,3,6,5,8,2,7,4]=>0010101
[5,4,8,3,2,7,1,6]=>1011010
[5,4,3,7,8,2,1,6]=>1100110
[1,4,8,6,3,2,7,5]=>0011101
[4,1,8,6,2,5,7,3]=>1011001
[6,7,2,5,3,8,4,1]=>0101011
[6,3,4,8,1,2,7,5]=>1001001
[6,2,8,1,7,4,5,3]=>1010101
[2,6,3,1,5,8,7,4]=>0110011
[7,1,3,2,6,5,8,4]=>1010101
[1,3,5,8,4,7,2,6]=>0001010
[2,3,8,7,5,1,6,4]=>0011101
[4,1,3,5,6,2,8,7]=>1000101
[6,4,8,7,3,5,2,1]=>1011011
[8,2,3,5,6,1,4,7]=>1000100
[3,8,2,7,6,4,1,5]=>0101110
[4,3,8,6,2,7,1,5]=>1011010
[8,3,4,5,1,6,7,2]=>1001001
[7,8,1,5,6,3,2,4]=>0100110
[1,7,8,3,2,5,4,6]=>0011010
[7,8,1,3,2,5,6,4]=>0101001
[7,8,1,3,5,4,6,2]=>0100101
[7,8,1,3,5,2,4,6]=>0100100
[1,3,7,8,5,2,4,6]=>0001100
[1,7,8,3,5,2,6,4]=>0010101
[1,7,8,3,2,5,6,4]=>0011001
[3,7,8,5,4,6,1,2]=>0011010
[3,5,7,6,4,8,1,2]=>0011010
[1,3,7,8,5,4,6,2]=>0001101
[1,3,7,8,5,4,2,6]=>0001110
[1,3,7,8,2,5,4,6]=>0001010
[1,3,2,7,8,5,4,6]=>0100110
[1,5,7,6,8,3,2,4]=>0010110
[3,5,4,7,8,6,1,2]=>0100110
[3,5,7,6,8,4,1,2]=>0010110
[1,5,7,6,8,3,4,2]=>0010101
[3,5,7,4,6,8,1,2]=>0010010
[6,5,8,4,3,7,1,2]=>1011010
[6,7,3,1,5,2,4,8]=>0110100
[5,2,4,1,8,3,6,7]=>1010100
[2,1,7,4,3,8,5,6]=>1011010
[7,2,3,8,5,4,1,6]=>1001110
[4,1,5,7,6,3,8,2]=>1001101
[1,4,8,2,3,6,5,7]=>0010010
[1,4,6,7,3,5,2,8]=>0001010
[1,4,8,2,6,7,5,3]=>0010011
[1,7,3,2,4,5,6,8]=>0110000
[1,7,3,2,4,5,8,6]=>0110001
[1,6,4,3,2,5,7,8]=>0111000
[4,2,6,5,3,1,7,8]=>1011100
[5,2,1,6,8,7,4,3]=>1100111
[1,3,5,8,6,2,7,4]=>0001101
[2,3,8,4,1,7,6,5]=>0011011
[3,7,8,5,4,2,6,1]=>0011101
[8,3,2,7,5,6,1,4]=>1101010
[1,3,8,5,7,4,2,6]=>0010110
[1,2,3,7,5,4,6,8]=>0001100
[1,4,2,8,6,3,5,7]=>0101100
[2,8,6,3,5,7,4,1]=>0110011
[6,1,8,2,5,3,4,7]=>1010100
[3,8,6,4,2,7,1,5]=>0111010
[1,5,4,2,3,6,8,7]=>0110001
[6,1,5,2,3,4,8,7]=>1010001
[6,5,2,1,7,3,4,8]=>1110100
[3,1,2,4,8,6,7,5]=>1000101
[3,1,2,5,8,7,4,6]=>1000110
[6,5,2,1,8,4,7,3]=>1110101
[3,7,5,2,8,1,4,6]=>0110100
[5,1,4,7,3,2,8,6]=>1001101
[4,1,5,8,6,2,3,7]=>1001100
[5,4,8,6,3,7,1,2]=>1011010
[6,5,2,3,1,8,7,4]=>1101011
[5,7,4,8,3,1,6,2]=>0101101
[3,1,4,7,5,2,8,6]=>1001101
[4,3,5,1,8,7,2,6]=>1010110
[2,5,3,6,1,8,4,7]=>0101010
[2,5,6,8,3,1,7,4]=>0001101
[7,1,4,5,3,6,2,8]=>1001010
[1,7,2,4,5,3,6,8]=>0100100
[1,7,4,5,3,2,6,8]=>0101100
[1,6,4,7,3,5,2,8]=>0101010
[3,5,6,4,8,2,1,7]=>0010110
[1,6,4,7,5,2,3,8]=>0101100
[1,5,2,6,7,4,3,8]=>0100110
[8,5,6,1,4,3,7,2]=>1010101
[2,5,4,7,8,3,1,6]=>0100110
[6,4,5,8,2,3,1,7]=>1001010
[8,6,1,3,2,5,7,4]=>1101001
[7,5,8,1,4,6,3,2]=>1010011
[4,2,6,7,8,1,5,3]=>1000101
[3,4,6,7,8,1,5,2]=>0000101
[4,7,3,8,5,1,6,2]=>0101101
[4,3,2,7,5,8,1,6]=>1101010
[4,8,5,3,2,6,1,7]=>0111010
[2,8,4,5,3,6,1,7]=>0101010
[8,1,5,3,2,4,7,6]=>1011001
[7,8,4,1,3,6,5,2]=>0110011
[8,6,1,3,2,7,4,5]=>1101010
[7,3,8,2,4,1,6,5]=>1010101
[6,2,3,7,8,1,5,4]=>1000101
[6,3,7,8,1,5,4,2]=>1001011
[2,6,3,7,8,1,5,4]=>0100101
[7,5,8,1,6,4,2,3]=>1010110
[8,1,4,3,7,5,6,2]=>1010101
[1,4,8,5,3,2,6,7]=>0011100
[8,2,7,6,4,1,5,3]=>1011101
[2,7,4,3,8,5,1,6]=>0110110
[6,8,2,7,3,1,5,4]=>0101101
[8,2,6,3,4,1,7,5]=>1010101
[6,1,2,8,5,3,7,4]=>1001101
[4,1,5,8,3,6,7,2]=>1001001
[7,5,2,8,1,6,3,4]=>1101010
[4,8,5,7,1,3,2,6]=>0101010
[3,4,7,2,1,5,8,6]=>0011001
[4,8,2,7,1,3,6,5]=>0101001
[5,2,1,8,7,4,6,3]=>1101101
[8,2,1,7,4,6,3,5]=>1101010
[4,2,5,8,3,6,7,1]=>1001001
[5,1,6,8,3,2,7,4]=>1001101
[4,1,5,6,8,2,7,3]=>1000101
[5,7,8,2,4,1,3,6]=>0010100
[4,5,2,8,7,3,1,6]=>0101110
[4,8,5,3,1,6,7,2]=>0111001
[6,2,3,1,7,8,5,4]=>1010011
[5,2,3,6,8,4,7,1]=>1000101
[6,2,1,7,8,4,3,5]=>1100110
[5,2,1,3,8,4,7,6]=>1100101
[5,2,7,8,4,1,6,3]=>1001101
[6,2,7,8,3,5,4,1]=>1001011
[5,2,8,6,4,1,7,3]=>1011101
[5,1,2,8,4,3,7,6]=>1001101
[6,7,8,3,2,5,4,1]=>0011011
[5,7,2,6,4,8,1,3]=>0101010
[6,2,3,4,7,8,5,1]=>1000011
[7,2,1,8,4,3,5,6]=>1101100
[6,2,1,3,7,5,8,4]=>1100101
[6,8,7,3,4,5,1,2]=>0110010
[6,2,3,7,8,1,4,5]=>1000100
[7,4,3,2,5,8,1,6]=>1110010
[7,2,4,3,5,8,1,6]=>1010010
[1,7,6,4,2,3,5,8]=>0111000
[1,3,2,5,8,6,4,7]=>0100110
[6,1,4,7,2,8,5,3]=>1001011
[1,7,5,8,4,2,3,6]=>0101100
[1,6,7,2,4,8,5,3]=>0010011
[5,7,2,4,3,6,8,1]=>0101001
[5,7,3,4,6,2,8,1]=>0100101
[2,8,3,6,1,7,4,5]=>0101010
[4,3,1,8,5,2,6,7]=>1101100
[1,8,4,5,6,2,7,3]=>0100101
[7,3,8,2,1,4,5,6]=>1011000
[8,2,5,3,1,7,4,6]=>1011010
[6,3,5,8,1,7,4,2]=>1001011
[3,5,4,8,6,1,7,2]=>0101101
[7,5,2,3,8,4,6,1]=>1100101
[2,7,5,1,4,8,3,6]=>0110010
[5,7,6,1,2,8,3,4]=>0110010
[7,4,6,5,1,8,2,3]=>1011010
[7,1,3,2,6,8,4,5]=>1010010
[4,3,5,2,8,1,6,7]=>1010100
[1,7,3,8,2,4,6,5]=>0101001
[2,7,4,8,5,3,1,6]=>0101110
[6,1,3,8,4,2,7,5]=>1001101
[5,4,1,8,6,2,7,3]=>1101101
[5,4,6,8,1,3,2,7]=>1001010
[3,6,1,5,8,4,7,2]=>0100101
[6,4,8,3,5,7,2,1]=>1010011
[3,5,8,2,4,1,7,6]=>0010101
[7,2,8,4,1,3,6,5]=>1011001
[5,8,1,2,4,3,6,7]=>0100100
[8,4,3,5,7,2,6,1]=>1100101
[4,1,5,2,3,8,7,6]=>1010011
[6,3,5,8,2,4,7,1]=>1001001
[2,8,7,1,4,6,3,5]=>0110010
[1,8,5,3,7,4,2,6]=>0110110
[7,5,6,2,8,4,3,1]=>1010111
[5,7,6,2,8,1,4,3]=>0110101
[6,3,8,1,2,5,4,7]=>1010010
[7,6,4,8,5,3,2,1]=>1101111
[7,6,5,3,8,4,2,1]=>1110111
[7,6,5,4,2,8,3,1]=>1111011
[7,5,4,8,6,3,2,1]=>1101111
[7,6,5,3,2,8,4,1]=>1111011
[1,5,7,2,4,3,6,8]=>0010100
[1,6,5,3,2,4,7,8]=>0111000
[1,7,2,4,6,5,3,8]=>0100110
[1,4,7,2,6,5,3,8]=>0010110
[1,2,6,8,7,4,3,5]=>0001110
[1,2,7,4,3,5,8,6]=>0011001
[1,6,2,8,7,4,3,5]=>0101110
[1,7,4,2,3,5,8,6]=>0110001
[1,8,5,2,3,6,4,7]=>0110010
[1,7,4,8,5,2,3,6]=>0101100
[1,4,7,5,2,8,6,3]=>0011011
[1,6,3,7,4,2,8,5]=>0101101
[1,8,5,2,7,4,3,6]=>0110110
[1,4,8,7,5,3,2,6]=>0011110
[1,2,5,8,6,3,7,4]=>0001101
[1,2,4,7,5,8,6,3]=>0001011
[1,5,8,7,6,2,4,3]=>0011101
[1,3,5,8,7,6,2,4]=>0001110
[1,5,2,4,3,6,8,7]=>0101001
[1,6,8,7,5,3,2,4]=>0011110
[1,2,5,7,4,3,8,6]=>0001101
[1,5,3,2,6,8,7,4]=>0110011
[1,4,2,6,8,7,5,3]=>0100111
[1,5,8,6,3,2,7,4]=>0011101
[1,8,5,2,6,3,4,7]=>0110100
[1,7,4,6,3,2,8,5]=>0101101
[1,6,3,2,8,5,4,7]=>0110110
[1,3,8,6,4,2,5,7]=>0011100
[1,5,7,4,2,3,8,6]=>0011001
[6,3,7,5,4,2,8,1]=>1011101
[7,5,2,6,3,4,8,1]=>1101001
[3,8,2,7,5,4,1,6]=>0101110
[5,4,8,6,7,1,2,3]=>1010100
[2,7,3,6,8,5,4,1]=>0100111
[3,7,2,8,1,6,4,5]=>0101010
[8,5,2,4,6,7,3,1]=>1100011
[2,5,8,7,1,4,3,6]=>0011010
[3,4,6,5,8,2,7,1]=>0010101
[5,2,4,1,6,7,8,3]=>1010001
[4,2,7,1,6,8,3,5]=>1010010
[5,2,8,6,4,7,1,3]=>1011010
[6,1,3,4,7,2,8,5]=>1000101
[8,4,7,2,5,3,1,6]=>1010110
[8,3,4,5,2,1,7,6]=>1001101
[8,6,1,4,7,3,5,2]=>1100101
[5,3,6,7,2,8,4,1]=>1001011
[5,3,6,7,2,4,8,1]=>1001001
[8,6,4,2,7,1,5,3]=>1110101
[8,6,1,4,7,5,2,3]=>1100110
[1,5,8,2,6,7,4,3]=>0010011
[7,1,3,6,5,2,8,4]=>1001101
[8,2,1,4,5,7,6,3]=>1100011
[1,4,7,5,2,3,8,6]=>0011001
[6,1,7,5,4,2,8,3]=>1011101
[2,7,3,6,5,1,8,4]=>0101101
[8,6,5,1,3,7,4,2]=>1110011
[5,7,6,2,4,8,1,3]=>0110010
[3,7,5,6,4,8,1,2]=>0101010
[7,6,8,1,3,5,4,2]=>1010011
[2,8,4,6,1,7,5,3]=>0101011
[2,8,6,4,7,3,5,1]=>0110101
[8,7,1,4,6,5,3,2]=>1100111
[3,5,8,6,7,1,4,2]=>0010101
[1,2,4,6,8,5,3,7]=>0000110
[3,1,5,8,6,2,4,7]=>1001100
[2,5,4,6,8,1,3,7]=>0100100
[6,5,2,4,7,8,1,3]=>1100010
[7,2,5,8,6,4,1,3]=>1001110
[5,2,8,3,4,7,6,1]=>1010011
[2,4,3,8,7,1,6,5]=>0101101
[1,5,8,7,4,2,6,3]=>0011101
[6,8,7,5,4,3,1,2]=>0111110
[5,3,4,8,6,2,7,1]=>1001101
[3,4,5,8,6,2,7,1]=>0001101
[5,4,2,3,6,1,8,7]=>1100101
[5,1,7,4,3,6,8,2]=>1011001
[4,3,7,6,8,2,1,5]=>1010110
[8,1,4,7,2,3,5,6]=>1001000
[6,1,8,5,2,7,3,4]=>1011010
[8,7,2,6,3,1,4,5]=>1101100
[8,7,1,6,4,5,2,3]=>1101010
[5,4,1,3,7,2,8,6]=>1100101
[8,3,4,7,6,2,1,5]=>1001110
[3,1,8,7,5,2,4,6]=>1011100
[6,5,8,7,2,4,3,1]=>1011011
[4,3,6,5,8,2,1,7]=>1010110
[7,6,3,2,8,5,4,1]=>1110111
[3,2,6,8,7,1,4,5]=>1001100
[4,3,7,1,8,5,2,6]=>1010110
[3,2,8,5,6,7,1,4]=>1010010
[8,3,2,1,4,7,5,6]=>1110010
[4,7,3,1,8,5,2,6]=>0110110
[3,7,8,2,5,6,1,4]=>0010010
[7,5,1,4,2,3,6,8]=>1101000
[7,8,6,1,2,4,5,3]=>0110001
[1,5,3,4,7,8,6,2]=>0100011
[5,1,2,4,7,8,6,3]=>1000011
[5,1,7,8,6,2,3,4]=>1001100
[8,5,1,6,7,2,3,4]=>1100100
[7,5,1,2,4,6,8,3]=>1100001
[6,1,5,2,7,3,4,8]=>1010100
[7,1,2,6,4,5,8,3]=>1001001
[1,7,3,6,4,5,8,2]=>0101001
[1,8,3,6,4,5,7,2]=>0101001
[8,1,6,2,7,3,4,5]=>1010100
[7,1,6,2,5,3,4,8]=>1010100
[8,1,6,2,5,3,4,7]=>1010100
[8,1,7,2,5,3,4,6]=>1010100
[8,1,2,7,4,5,6,3]=>1001001
[1,8,3,7,4,5,6,2]=>0101001
[8,1,6,7,5,2,3,4]=>1001100
[7,3,1,2,6,4,5,8]=>1100100
[3,1,2,8,5,6,7,4]=>1001001
[6,3,1,2,7,4,5,8]=>1100100
[6,1,7,4,2,3,5,8]=>1011000
[1,7,3,4,6,8,5,2]=>0100011
[1,7,3,8,4,5,6,2]=>0101001
[7,1,8,2,5,3,4,6]=>1010100
[6,1,7,2,5,3,4,8]=>1010100
[5,1,7,2,6,3,4,8]=>1010100
[5,1,8,2,6,3,4,7]=>1010100
[1,6,3,7,4,5,8,2]=>0101001
[2,4,7,3,5,1,6,8]=>0010100
[2,4,8,6,3,5,1,7]=>0011010
[2,3,7,5,4,1,6,8]=>0011100
[3,4,6,2,1,5,8,7]=>0011001
[3,4,7,2,1,6,5,8]=>0011010
[2,6,8,3,5,1,4,7]=>0010100
[2,3,6,1,5,8,4,7]=>0010010
[2,3,7,1,6,5,8,4]=>0010101
[2,4,7,1,3,6,8,5]=>0010001
[5,4,7,8,1,3,2,6]=>1001010
[2,5,7,1,4,6,3,8]=>0010010
[2,4,7,1,6,3,5,8]=>0010100
[2,3,7,1,6,5,4,8]=>0010110
[2,5,7,1,4,3,6,8]=>0010100
[2,5,7,3,1,4,6,8]=>0011000
[3,4,7,2,1,6,8,5]=>0011001
[4,6,3,7,1,5,2,8]=>0101010
[5,7,3,2,8,1,4,6]=>0110100
[2,6,5,7,1,8,4,3]=>0101011
[3,6,8,5,4,1,7,2]=>0011101
[5,4,7,8,1,3,6,2]=>1001001
[2,5,7,1,4,6,8,3]=>0010001
[2,4,7,1,6,3,8,5]=>0010101
[2,4,7,1,6,8,3,5]=>0010010
[2,4,8,3,1,7,6,5]=>0011011
[8,6,5,1,2,4,3,7]=>1110010
[7,6,1,4,2,3,5,8]=>1101000
[6,5,1,4,8,3,2,7]=>1100110
[8,7,1,4,3,2,5,6]=>1101100
[8,7,5,1,4,2,3,6]=>1110100
[8,4,1,2,5,3,6,7]=>1100100
[8,6,1,4,2,5,3,7]=>1101010
[8,7,1,4,3,2,6,5]=>1101101
[8,7,6,3,1,5,4,2]=>1111011
[2,8,3,7,4,5,6,1]=>0101001
[8,7,5,2,4,3,6,1]=>1110101
[4,2,5,7,3,1,6,8]=>1001100
[8,2,4,5,3,1,6,7]=>1001100
[8,4,5,1,3,2,6,7]=>1010100
[4,3,7,5,2,1,6,8]=>1011100
[1,6,7,4,3,2,5,8]=>0011100
[1,4,5,7,3,2,6,8]=>0001100
[3,5,1,4,7,2,6,8]=>0100100
[2,5,1,4,7,8,3,6]=>0100010
[4,3,7,1,5,2,6,8]=>1010100
[3,5,1,6,4,2,7,8]=>0101100
[6,4,3,1,7,2,5,8]=>1110100
[6,2,7,4,3,1,5,8]=>1011100
[2,6,4,1,7,3,5,8]=>0110100
[6,3,2,7,4,5,1,8]=>1101010
[7,2,4,1,3,6,8,5]=>1010001
[6,3,2,5,7,1,4,8]=>1100100
[3,2,6,5,7,1,4,8]=>1010100
[1,7,3,2,5,6,4,8]=>0110010
[2,1,7,3,5,6,8,4]=>1010001
[2,1,6,3,5,7,8,4]=>1010001
[1,6,3,2,5,7,4,8]=>0110010
[1,4,6,5,2,7,3,8]=>0011010
[5,6,2,1,4,3,7,8]=>0110100
[2,5,1,6,4,3,7,8]=>0101100
[2,5,4,1,6,3,7,8]=>0110100
[4,6,1,5,2,7,3,8]=>0101010
[1,6,5,3,7,2,4,8]=>0110100
[1,2,5,4,7,3,6,8]=>0010100
[1,2,5,3,4,8,7,6]=>0010011
[5,2,7,6,1,8,4,3]=>1011011
[5,8,2,6,1,7,4,3]=>0101011
[1,7,8,2,4,6,5,3]=>0010011
[1,5,8,3,6,2,7,4]=>0010101
[6,8,7,1,4,5,2,3]=>0110010
[1,2,6,4,7,3,8,5]=>0010101
[1,2,7,8,3,5,6,4]=>0001001
[4,8,7,6,2,1,5,3]=>0111101
[2,7,4,5,8,1,6,3]=>0100101
[2,6,1,8,5,4,3,7]=>0101110
[5,8,6,2,3,4,1,7]=>0110010
[4,5,8,6,2,1,3,7]=>0011100
[6,4,7,5,8,2,1,3]=>1010110
[6,3,7,4,2,5,8,1]=>1011001
[6,2,1,5,8,4,3,7]=>1100110
[7,5,6,2,4,3,8,1]=>1010101
[4,6,2,5,7,3,8,1]=>0100101
[4,2,8,5,3,6,1,7]=>1011010
[8,1,7,4,5,6,2,3]=>1010010
[2,1,7,8,4,5,6,3]=>1001001
[8,2,1,4,3,7,6,5]=>1101011
[7,6,5,3,1,2,8,4]=>1111001
[5,4,1,6,2,8,3,7]=>1101010
[6,2,3,1,7,8,4,5]=>1010010
[3,1,8,6,7,2,4,5]=>1010100
[4,2,5,1,8,6,7,3]=>1010101
[4,5,3,7,1,6,8,2]=>0101001
[4,2,8,5,3,6,7,1]=>1011001
[2,8,6,3,5,4,7,1]=>0110101
[3,5,2,8,6,4,7,1]=>0101101
[7,3,5,1,6,4,8,2]=>1010101
[5,1,4,7,2,6,8,3]=>1001001
[1,8,2,5,6,4,7,3]=>0100101
[2,7,1,4,8,5,6,3]=>0100101
[2,8,4,6,1,3,7,5]=>0101001
[8,4,6,2,5,3,7,1]=>1010101
[8,3,7,6,2,1,5,4]=>1011101
[8,5,2,7,6,1,4,3]=>1101101
[5,8,2,7,6,1,4,3]=>0101101
[8,3,7,6,2,5,1,4]=>1011010
[7,3,8,6,5,1,4,2]=>1011101
[2,6,3,7,5,4,8,1]=>0101101
[5,4,7,1,3,8,6,2]=>1010011
[2,8,5,1,4,7,3,6]=>0110010
[8,1,4,2,5,7,3,6]=>1010010
[7,2,6,5,8,4,3,1]=>1010111
[3,4,8,5,6,2,7,1]=>0010101
[5,8,2,3,4,6,1,7]=>0100010
[6,1,3,4,2,5,7,8]=>1001000
[1,5,6,3,2,4,7,8]=>0011000
[6,3,5,2,4,1,7,8]=>1010100
[7,8,3,5,2,4,6,1]=>0101001
[2,4,5,7,3,6,1,8]=>0001010
[2,5,3,1,6,4,7,8]=>0110100
[6,5,1,3,4,2,7,8]=>1100100
[5,7,4,3,2,6,1,8]=>0111010
[6,8,7,4,3,5,1,2]=>0111010
[2,6,7,8,4,3,5,1]=>0001101
[1,7,8,4,5,3,6,2]=>0010101
[7,1,8,5,3,4,6,2]=>1011001
[5,7,4,2,1,6,3,8]=>0111010
[5,1,4,7,3,6,2,8]=>1001010
[7,4,8,6,3,5,2,1]=>1011011
[4,7,6,3,5,2,1,8]=>0110110
[1,6,5,8,7,4,2,3]=>0101110
[6,1,3,8,7,5,2,4]=>1001110
[7,6,2,1,8,3,5,4]=>1110101
[7,1,3,6,8,2,5,4]=>1000101
[1,7,5,6,8,2,4,3]=>0100101
[3,6,7,5,8,2,4,1]=>0010101
[1,7,4,5,2,8,6,3]=>0101011
[7,5,4,2,1,8,6,3]=>1111011
[3,6,7,4,2,8,5,1]=>0011011
[4,6,3,2,7,8,5,1]=>0110011
[7,6,1,3,4,2,5,8]=>1100100
[7,8,2,6,4,5,3,1]=>0101011
[7,2,5,4,6,1,3,8]=>1010100
[7,1,2,4,5,6,3,8]=>1000010
[7,3,2,1,5,6,4,8]=>1110010
[3,6,2,1,7,5,4,8]=>0110110
[2,6,7,3,1,5,4,8]=>0011010
[2,1,6,4,7,5,3,8]=>1010110
[7,2,8,5,6,4,3,1]=>1010111
[7,6,8,5,4,1,3,2]=>1011101
[7,1,8,4,6,5,3,2]=>1010111
[7,8,6,3,1,5,4,2]=>0111011
[7,6,1,4,5,3,2,8]=>1100110
[7,1,5,6,4,3,2,8]=>1001110
[4,1,3,8,6,2,7,5]=>1001101
[5,1,2,8,4,6,7,3]=>1001001
[5,6,3,2,8,1,7,4]=>0110101
[8,2,6,3,1,5,7,4]=>1011001
[8,2,5,6,7,4,3,1]=>1000111
[8,2,5,3,4,7,6,1]=>1010011
[7,5,3,2,4,1,8,6]=>1110101
[7,1,2,3,6,8,4,5]=>1000010
[6,7,2,8,3,4,5,1]=>0101001
[3,1,8,4,6,5,7,2]=>1010101
[6,1,2,3,8,4,7,5]=>1000101
[8,1,6,7,4,2,3,5]=>1001100
[8,1,6,4,5,2,3,7]=>1010100
[8,6,4,7,2,3,5,1]=>1101001
[8,6,4,1,2,3,7,5]=>1110001
[8,6,1,4,2,5,7,3]=>1101001
[8,6,7,4,2,5,1,3]=>1011010
[8,6,4,2,5,3,7,1]=>1110101
[8,6,4,2,5,3,1,7]=>1110110
[8,6,4,2,7,3,1,5]=>1110110
[8,6,4,1,5,7,2,3]=>1110010
[8,6,4,2,1,5,7,3]=>1111001
[8,6,4,2,1,7,3,5]=>1111010
[8,6,1,4,7,2,5,3]=>1100101
[8,6,4,1,5,2,3,7]=>1110100
[8,6,7,1,4,5,2,3]=>1010010
[8,6,4,5,2,7,3,1]=>1101011
[8,6,7,4,2,1,5,3]=>1011101
[8,6,4,7,2,1,5,3]=>1101101
[8,6,4,2,5,7,3,1]=>1110011
[8,6,4,2,5,1,7,3]=>1110101
[8,6,4,2,5,7,1,3]=>1110010
[3,4,7,5,8,2,6,1]=>0010101
[8,7,1,4,6,5,2,3]=>1100110
[8,3,7,6,4,5,1,2]=>1011010
[5,3,8,6,4,1,7,2]=>1011101
[7,4,5,1,2,8,6,3]=>1010011
[6,4,7,1,8,5,2,3]=>1010110
[5,7,4,2,3,8,6,1]=>0110011
[3,8,2,5,1,7,4,6]=>0101010
[5,8,4,2,3,7,1,6]=>0110010
[4,8,5,2,1,7,3,6]=>0111010
[8,5,7,6,1,2,4,3]=>1011001
[6,8,7,5,2,4,1,3]=>0111010
[5,7,6,8,4,1,3,2]=>0101101
[7,3,1,6,8,5,4,2]=>1100111
[5,3,1,7,4,8,6,2]=>1101011
[7,3,1,8,6,4,5,2]=>1101101
[8,6,4,1,7,3,2,5]=>1110110
[4,6,8,3,7,1,2,5]=>0010100
[3,5,2,8,4,7,1,6]=>0101010
[6,4,8,3,7,2,1,5]=>1010110
[3,6,2,8,7,4,1,5]=>0101110
[6,8,4,2,7,3,1,5]=>0110110
[3,4,7,8,5,1,2,6]=>0001100
[4,7,3,2,5,6,8,1]=>0110001
[3,2,7,6,4,5,8,1]=>1011001
[1,7,3,6,8,4,2,5]=>0100110
[2,3,6,5,1,8,7,4]=>0011011
[8,3,1,2,6,4,7,5]=>1100101
[1,7,8,2,4,3,5,6]=>0010100
[3,6,4,7,1,2,8,5]=>0101001
[5,7,4,8,1,3,2,6]=>0101010
[4,3,7,8,1,5,2,6]=>1001010
[8,5,4,2,6,1,7,3]=>1110101
[3,2,6,8,7,4,1,5]=>1001110
[2,3,7,5,1,8,6,4]=>0011011
[6,3,1,2,8,7,4,5]=>1100110
[5,2,1,3,8,7,6,4]=>1100111
[7,2,1,5,3,8,4,6]=>1101010
[1,5,8,2,4,3,6,7]=>0010100
[4,3,6,8,1,5,2,7]=>1001010
[5,4,6,8,3,1,7,2]=>1001101
[3,6,8,4,5,1,7,2]=>0010101
[8,6,1,7,2,4,3,5]=>1101010
[7,3,1,2,8,6,4,5]=>1100110
[2,3,7,6,1,8,5,4]=>0011011
[3,2,7,8,6,4,1,5]=>1001110
[6,2,8,3,1,4,7,5]=>1011001
[3,1,2,8,7,4,5,6]=>1001100
[2,1,3,8,7,4,6,5]=>1001101
[2,1,3,8,7,4,5,6]=>1001100
[1,6,8,3,2,4,7,5]=>0011001
[8,5,1,7,2,4,3,6]=>1101010
[8,4,1,7,3,2,5,6]=>1101100
[8,3,1,6,2,7,5,4]=>1101011
[1,3,2,8,7,6,4,5]=>0101110
[2,1,3,8,7,6,4,5]=>1001110
[1,6,3,7,2,5,4,8]=>0101010
[1,7,2,4,6,3,5,8]=>0100100
[5,7,2,8,4,1,3,6]=>0101100
[5,6,2,8,4,1,3,7]=>0101100
[2,4,8,3,1,6,7,5]=>0011001
[3,5,8,4,2,1,6,7]=>0011100
[2,5,8,3,1,4,6,7]=>0011000
[2,8,1,3,5,7,4,6]=>0100010
[5,4,7,8,3,2,6,1]=>1001101
[3,6,8,2,5,1,4,7]=>0010100
[3,6,8,7,2,5,4,1]=>0011011
[3,4,6,5,8,2,1,7]=>0010110
[2,4,6,7,8,3,5,1]=>0000101
[1,4,2,5,7,6,3,8]=>0100110
[1,4,2,6,8,5,3,7]=>0100110
[1,2,6,8,3,5,4,7]=>0001010
[1,6,8,3,5,4,2,7]=>0010110
[1,5,3,2,4,6,8,7]=>0110001
[1,5,8,7,6,3,2,4]=>0011110
[1,5,7,6,3,2,4,8]=>0011100
[1,6,3,2,4,7,5,8]=>0110010
[1,6,3,2,4,8,7,5]=>0110011
[1,2,7,6,4,3,5,8]=>0011100
[1,8,7,5,2,4,6,3]=>0111001
[1,7,5,2,4,6,3,8]=>0110010
[1,7,4,2,5,3,6,8]=>0110100
[1,8,4,7,5,2,6,3]=>0101101
[1,7,5,2,3,6,4,8]=>0110010
[1,7,5,2,6,3,4,8]=>0110100
[1,6,3,7,4,2,5,8]=>0101100
[1,6,3,2,7,5,4,8]=>0110110
[1,4,7,5,2,6,3,8]=>0011010
[1,3,6,4,8,7,5,2]=>0010111
[1,3,7,6,4,2,5,8]=>0011100
[1,3,2,4,8,5,7,6]=>0100101
[1,3,8,7,5,2,4,6]=>0011100
[1,4,6,3,2,7,5,8]=>0011010
[1,4,6,3,2,8,7,5]=>0011011
[1,5,7,6,4,2,3,8]=>0011100
[1,6,3,2,8,4,7,5]=>0110101
[1,6,3,5,2,7,4,8]=>0101010
[1,6,3,5,2,8,7,4]=>0101011
[1,8,3,7,5,2,4,6]=>0101100
[6,4,7,1,5,3,8,2]=>1010101
[5,3,8,2,6,4,7,1]=>1010101
[4,3,8,2,6,5,7,1]=>1010101
[2,6,1,8,3,4,7,5]=>0101001
[5,7,1,4,8,2,3,6]=>0100100
[6,5,7,1,4,3,8,2]=>1010101
[4,8,3,5,7,6,1,2]=>0100110
[5,7,6,1,2,4,8,3]=>0110001
[4,8,3,5,7,6,2,1]=>0100111
[1,3,4,2,8,5,7,6]=>0010101
[5,7,6,2,4,8,3,1]=>0110011
[6,7,5,2,3,8,4,1]=>0110011
[6,7,5,3,8,4,2,1]=>0110111
[3,2,1,4,8,5,7,6]=>1100101
[7,3,1,4,2,6,5,8]=>1101010
[7,4,1,6,2,5,3,8]=>1101010
[5,4,1,8,2,6,3,7]=>1101010
[5,3,1,8,2,6,4,7]=>1101010
[4,7,1,5,2,6,3,8]=>0101010
[6,5,1,4,2,7,3,8]=>1101010
[1,8,7,3,4,5,2,6]=>0110010
[1,8,7,4,5,2,3,6]=>0110100
[1,2,6,8,7,3,4,5]=>0001100
[1,3,7,8,4,5,6,2]=>0001001
[8,4,2,3,1,6,5,7]=>1101010
[6,4,5,2,8,1,7,3]=>1010101
[4,8,6,2,3,1,7,5]=>0110101
[6,4,2,1,8,5,3,7]=>1110110
[4,2,6,1,5,8,3,7]=>1010010
[6,4,2,3,5,8,1,7]=>1100010
[2,8,6,4,5,1,7,3]=>0110101
[8,2,4,6,7,1,5,3]=>1000101
[2,6,3,1,7,4,8,5]=>0110101
[6,5,1,8,3,2,7,4]=>1101101
[1,4,3,7,2,8,6,5]=>0101011
[1,8,7,4,5,3,2,6]=>0110110
[2,8,3,1,4,5,7,6]=>0110001
[3,2,6,7,8,4,5,1]=>1000101
[1,7,4,6,3,8,2,5]=>0101010
[5,6,4,1,3,8,2,7]=>0110010
[4,5,3,1,8,7,6,2]=>0110111
[6,3,4,2,7,8,5,1]=>1010011
[8,7,4,5,1,6,3,2]=>1101011
[6,2,7,8,1,3,5,4]=>1001001
[5,1,8,4,3,7,2,6]=>1011010
[7,2,8,1,4,5,6,3]=>1010001
[1,4,8,2,5,6,7,3]=>0010001
[8,1,6,7,2,5,4,3]=>1001011
[7,5,2,3,6,8,4,1]=>1100011
[8,1,4,6,5,3,2,7]=>1001110
[8,1,4,7,6,5,2,3]=>1001110
[8,1,2,7,6,5,4,3]=>1001111
[4,5,8,1,6,7,2,3]=>0010010
[3,7,2,5,8,4,6,1]=>0100101
[6,7,8,4,1,5,2,3]=>0011010
[6,2,8,3,5,1,4,7]=>1010100
[6,2,7,4,5,3,1,8]=>1010110
[6,8,2,5,3,4,1,7]=>0101010
[6,8,7,5,4,1,2,3]=>0111100
[7,4,5,6,1,8,2,3]=>1001010
[6,3,5,2,8,1,7,4]=>1010101
[6,1,8,7,4,5,2,3]=>1011010
[4,8,7,1,6,3,2,5]=>0110110
[4,8,2,7,5,3,6,1]=>0101101
[1,3,2,6,8,7,4,5]=>0100110
[1,3,8,2,5,4,6,7]=>0010100
[1,6,2,5,8,7,3,4]=>0100110
[1,6,8,7,2,3,5,4]=>0011001
[1,6,8,7,2,5,3,4]=>0011010
[1,5,2,4,8,3,6,7]=>0100100
[1,2,4,5,8,6,3,7]=>0000110
[1,2,8,3,5,4,7,6]=>0010101
[1,3,8,2,5,4,7,6]=>0010101
[1,6,7,5,2,4,8,3]=>0011001
[1,5,6,4,7,2,3,8]=>0010100
[1,7,4,2,5,8,3,6]=>0110010
[1,6,4,3,7,5,2,8]=>0110110
[1,6,5,4,7,2,3,8]=>0110100
[1,7,3,2,6,4,8,5]=>0110101
[1,5,8,2,3,6,7,4]=>0010001
[1,3,2,6,8,5,4,7]=>0100110
[1,6,3,2,7,4,5,8]=>0110100
[1,7,8,5,4,2,3,6]=>0011100
[1,8,4,2,3,6,5,7]=>0110010
[1,4,2,7,5,3,8,6]=>0101101
[1,5,7,6,2,4,3,8]=>0011010
[1,8,4,7,3,2,6,5]=>0101101
[1,3,8,4,2,6,5,7]=>0011010
[1,7,4,2,6,5,8,3]=>0110101
[1,6,5,8,3,7,4,2]=>0101011
[1,7,4,8,3,2,5,6]=>0101100
[1,4,8,3,2,7,5,6]=>0011010
[1,8,3,6,4,5,2,7]=>0101010
[1,6,4,7,3,2,8,5]=>0101101
[8,2,3,7,4,5,6,1]=>1001001
[8,5,7,2,3,6,4,1]=>1010011
[7,5,2,1,6,8,3,4]=>1110010
[7,6,1,5,4,8,2,3]=>1101010
[7,6,3,2,1,8,4,5]=>1111010
[2,8,7,3,4,6,1,5]=>0110010
[6,5,1,3,7,2,8,4]=>1100101
[8,1,7,3,4,5,2,6]=>1010010
[7,1,8,3,4,5,2,6]=>1010010
[6,8,7,3,4,2,1,5]=>0110110
[3,8,7,1,2,4,5,6]=>0110000
[1,8,5,3,4,6,2,7]=>0110010
[7,1,6,5,4,3,8,2]=>1011101
[7,1,3,6,4,5,8,2]=>1001001
[7,1,5,3,6,4,8,2]=>1010101
[6,1,5,3,7,8,2,4]=>1010010
[5,8,7,1,2,6,3,4]=>0110010
[6,8,2,3,4,7,1,5]=>0100010
[5,1,7,3,8,6,2,4]=>1010110
[6,1,3,2,4,7,8,5]=>1010001
[6,2,1,3,4,7,8,5]=>1100001
[3,2,5,8,7,4,1,6]=>1001110
[4,2,5,8,7,3,1,6]=>1001110
[8,3,4,1,6,5,2,7]=>1010110
[3,4,8,5,7,2,1,6]=>0010110
[3,6,4,8,5,7,2,1]=>0101011
[5,8,4,7,3,6,2,1]=>0101011
[4,2,8,7,3,1,6,5]=>1011101
[6,5,8,2,1,7,4,3]=>1011011
[6,1,4,3,8,7,2,5]=>1010110
[5,1,3,2,6,8,7,4]=>1010011
[6,1,3,8,7,2,4,5]=>1001100
[1,2,8,4,5,7,3,6]=>0010010
[4,2,1,8,7,6,3,5]=>1101110
[3,2,5,8,7,1,4,6]=>1001100
[5,6,3,8,7,2,1,4]=>0101110
[2,5,8,4,7,1,6,3]=>0010101
[1,6,2,4,8,5,7,3]=>0100101
[3,1,6,5,8,7,2,4]=>1010110
[4,8,5,3,6,7,1,2]=>0110010
[1,8,5,3,4,7,6,2]=>0110011
[2,7,1,3,6,4,5,8]=>0100100
[8,1,7,3,5,4,6,2]=>1010101
[1,8,6,3,2,5,4,7]=>0111010
[3,2,4,8,5,7,1,6]=>1001010
[8,1,2,4,7,5,6,3]=>1000101
[6,4,5,8,3,1,7,2]=>1001101
[8,6,2,1,5,7,3,4]=>1110010
[4,6,2,8,5,3,7,1]=>0101101
[8,7,2,4,1,5,3,6]=>1101010
[7,5,3,4,8,6,2,1]=>1100111
[2,8,3,1,4,6,7,5]=>0110001
[4,3,6,5,1,2,7,8]=>1011000
[5,8,3,7,6,4,2,1]=>0101111
[1,3,8,7,6,5,2,4]=>0011110
[4,8,7,2,6,3,1,5]=>0110110
[1,8,7,2,6,3,5,4]=>0110101
[8,7,2,1,4,3,5,6]=>1110100
[2,8,7,1,6,3,4,5]=>0110100
[4,2,8,7,6,5,1,3]=>1011110
[8,4,2,7,6,5,3,1]=>1101111
[6,8,7,5,2,4,3,1]=>0111011
[1,2,5,7,4,8,6,3]=>0001011
[6,2,1,8,7,5,3,4]=>1101110
[6,3,8,7,4,5,2,1]=>1011011
[2,8,3,4,1,5,6,7]=>0101000
[1,3,7,5,4,8,6,2]=>0011011
[4,5,6,3,1,8,2,7]=>0011010
[5,2,1,4,3,6,8,7]=>1101001
[1,5,6,3,8,4,2,7]=>0010110
[2,6,5,3,8,4,1,7]=>0110110
[5,7,3,8,4,2,6,1]=>0101101
[5,3,6,2,8,4,1,7]=>1010110
[2,3,6,5,4,8,1,7]=>0011010
[3,7,5,4,8,2,6,1]=>0110101
[5,3,7,1,2,8,4,6]=>1010010
[6,3,8,7,2,5,4,1]=>1011011
[2,8,7,6,1,5,3,4]=>0111010
[6,8,4,1,7,5,2,3]=>0110110
[8,1,4,6,7,5,2,3]=>1000110
[2,6,8,1,4,7,5,3]=>0010011
[6,4,8,1,2,7,5,3]=>1010011
[8,1,4,6,7,2,5,3]=>1000101
[8,2,1,6,7,4,5,3]=>1100101
[8,2,6,1,7,4,5,3]=>1010101
[4,2,8,1,6,7,5,3]=>1010011
[8,1,2,6,4,7,5,3]=>1001011
[8,4,1,6,2,7,5,3]=>1101011
[4,8,1,2,6,7,5,3]=>0100011
[4,8,2,1,6,7,5,3]=>0110011
[8,1,6,2,4,7,5,3]=>1010011
[8,2,4,6,1,7,5,3]=>1001011
[5,4,7,6,3,1,2,8]=>1011100
[3,6,4,8,1,5,2,7]=>0101010
[3,6,8,4,1,5,2,7]=>0011010
[8,7,1,4,2,3,5,6]=>1101000
[3,8,6,4,1,5,2,7]=>0111010
[8,2,6,5,7,1,3,4]=>1010100
[4,6,1,3,2,8,7,5]=>0101011
[7,1,4,8,2,3,6,5]=>1001001
[4,5,3,6,7,1,8,2]=>0100101
[1,4,7,8,3,5,2,6]=>0001010
[4,6,1,3,5,2,8,7]=>0100101
[2,5,1,4,8,3,7,6]=>0100101
[6,1,2,5,4,8,7,3]=>1001011
[8,4,1,7,3,5,6,2]=>1101001
[8,4,1,2,5,7,3,6]=>1100010
[2,4,5,6,8,3,1,7]=>0000110
[3,4,5,8,6,2,1,7]=>0001110
[4,5,1,8,6,3,7,2]=>0101101
[8,3,7,2,1,6,5,4]=>1011011
[8,4,7,6,2,5,1,3]=>1011010
[8,4,7,3,6,2,1,5]=>1010110
[3,8,7,5,6,4,1,2]=>0110110
[3,8,7,5,6,2,1,4]=>0110110
[3,8,7,5,6,2,4,1]=>0110101
[2,8,7,5,6,4,1,3]=>0110110
[1,5,6,3,8,2,7,4]=>0010101
[2,6,3,8,4,7,1,5]=>0101010
[2,6,3,5,7,8,1,4]=>0100010
[1,5,6,3,7,2,8,4]=>0010101
[1,7,5,3,6,2,8,4]=>0110101
[1,5,7,3,4,2,8,6]=>0010101
[1,5,8,3,4,2,7,6]=>0010101
[1,4,5,3,7,2,8,6]=>0010101
[1,4,5,3,8,2,7,6]=>0010101
[6,5,1,4,2,7,8,3]=>1101001
[6,5,1,4,2,8,7,3]=>1101011
[1,7,5,4,2,8,6,3]=>0111011
[5,1,6,8,3,7,2,4]=>1001010
[3,8,5,2,1,4,7,6]=>0111001
[3,5,4,8,2,6,7,1]=>0101001
[5,4,7,1,8,6,3,2]=>1010111
[1,4,8,2,6,5,3,7]=>0010110
[8,5,1,3,6,2,4,7]=>1100100
[7,5,1,8,3,4,2,6]=>1101010
[5,2,8,1,7,4,3,6]=>1010110
[1,4,8,2,6,7,3,5]=>0010010
[1,2,5,6,8,7,3,4]=>0000110
[1,5,6,8,2,7,4,3]=>0001011
[2,6,7,3,4,1,8,5]=>0010101
[1,6,5,7,8,2,4,3]=>0100101
[1,5,6,7,2,8,4,3]=>0001011
[3,7,6,1,8,2,4,5]=>0110100
[1,3,7,2,6,4,8,5]=>0010101
[1,5,8,6,7,3,4,2]=>0010101
[1,6,5,8,7,2,4,3]=>0101101
[1,5,7,6,2,8,3,4]=>0011010
[1,2,5,8,6,7,4,3]=>0001011
[1,2,6,5,7,3,8,4]=>0010101
[1,7,5,8,6,4,2,3]=>0101110
[3,6,5,8,1,2,7,4]=>0101001
[5,4,7,8,1,6,3,2]=>1001011
[2,5,6,8,1,3,7,4]=>0001001
[5,3,6,8,1,2,7,4]=>1001001
[4,6,5,8,3,2,7,1]=>0101101
[4,5,6,8,2,3,7,1]=>0001001
[2,5,8,7,1,6,4,3]=>0011011
[4,7,5,8,3,6,2,1]=>0101011
[7,3,6,8,5,2,1,4]=>1001110
[8,3,6,7,5,2,4,1]=>1001101
[8,4,5,7,3,6,2,1]=>1001011
[2,4,7,8,5,6,3,1]=>0001011
[3,6,8,7,5,2,4,1]=>0011101
[6,4,7,8,5,1,3,2]=>1001101
[7,8,4,6,5,3,1,2]=>0101110
[6,8,4,7,5,1,3,2]=>0101101
[7,6,1,2,3,5,4,8]=>1100010
[2,8,7,5,1,6,3,4]=>0111010
[8,7,6,4,2,1,5,3]=>1111101
[3,8,7,5,2,6,4,1]=>0111011
[3,8,7,5,1,2,6,4]=>0111001
[5,8,3,7,1,4,6,2]=>0101001
[3,8,7,4,2,6,5,1]=>0111011
[5,8,3,2,4,7,6,1]=>0110011
[5,3,8,2,4,6,1,7]=>1010010
[4,5,8,3,2,6,1,7]=>0011010
[5,8,2,1,4,6,3,7]=>0110010
[4,1,5,8,3,6,2,7]=>1001010
[4,5,8,3,6,1,2,7]=>0010100
[3,2,7,1,8,5,4,6]=>1010110
[4,7,8,5,2,3,1,6]=>0011010
[6,2,7,8,1,5,3,4]=>1001010
[2,7,1,3,8,5,4,6]=>0100110
[2,6,7,8,4,1,3,5]=>0001100
[2,6,7,8,4,3,1,5]=>0001110
[7,1,2,6,3,8,4,5]=>1001010
[8,1,2,6,5,3,7,4]=>1001101
[7,4,1,8,2,5,3,6]=>1101010
[7,2,1,8,3,6,4,5]=>1101010
[6,8,7,3,1,2,4,5]=>0111000
[7,4,8,3,1,2,6,5]=>1011001
[8,4,5,3,1,6,7,2]=>1011001
[8,2,3,1,6,7,4,5]=>1010010
[8,2,1,7,4,3,5,6]=>1101100
[7,2,6,8,4,1,3,5]=>1001100
[7,2,5,1,6,8,3,4]=>1010010
[6,2,1,7,4,8,3,5]=>1101010
[1,7,4,3,2,5,6,8]=>0111000
[1,7,4,3,6,2,5,8]=>0110100
[3,7,5,8,2,4,6,1]=>0101001
[5,2,1,6,3,4,8,7]=>1101001
[5,1,3,4,6,2,8,7]=>1000101
[3,8,4,5,7,2,6,1]=>0100101
[3,8,4,7,5,6,2,1]=>0101011
[4,2,8,6,3,7,5,1]=>1011011
[4,1,7,6,3,8,5,2]=>1011011
[7,4,1,8,5,3,6,2]=>1101101
[3,5,6,8,4,7,1,2]=>0001010
[5,4,1,8,6,7,2,3]=>1101010
[6,2,8,4,5,3,7,1]=>1010101
[4,5,2,1,8,7,3,6]=>0110110
[4,7,3,8,2,6,5,1]=>0101011
[4,7,3,1,8,6,2,5]=>0110110
[6,2,1,3,7,4,8,5]=>1100101
[6,3,7,1,2,5,8,4]=>1010001
[5,1,4,7,8,2,6,3]=>1000101
[7,2,5,8,1,3,6,4]=>1001001
[8,3,6,7,2,4,5,1]=>1001001
[3,8,7,5,2,1,6,4]=>0111101
[3,8,5,6,2,7,4,1]=>0101011
[3,6,5,8,4,2,7,1]=>0101101
[6,8,3,2,5,7,4,1]=>0110011
[4,1,5,6,8,7,3,2]=>1000111
[8,4,2,3,6,7,5,1]=>1100011
[6,1,2,4,5,7,8,3]=>1000001
[4,5,1,3,7,6,8,2]=>0100101
[3,5,4,8,6,2,7,1]=>0101101
[3,6,2,4,5,8,7,1]=>0100011
[8,1,3,7,4,5,6,2]=>1001001
[8,1,5,3,6,4,7,2]=>1010101
[2,6,4,8,3,1,5,7]=>0101100
[2,6,4,1,5,8,7,3]=>0110011
[7,6,5,2,4,3,8,1]=>1110101
[3,6,4,5,2,8,1,7]=>0101010
[8,1,5,4,7,3,6,2]=>1010101
[7,6,5,4,1,8,2,3]=>1111010
[3,6,4,1,5,7,2,8]=>0110010
[8,1,5,4,7,6,3,2]=>1010111
[2,5,1,4,6,7,3,8]=>0100010
[3,6,4,1,5,7,8,2]=>0110001
[7,6,5,2,8,4,1,3]=>1110110
[3,1,6,5,2,8,7,4]=>1011011
[1,7,2,4,3,5,8,6]=>0101001
[3,8,1,7,4,2,6,5]=>0101101
[8,1,7,4,3,5,6,2]=>1011001
[6,8,2,4,5,3,7,1]=>0100101
[4,8,5,3,6,1,7,2]=>0110101
[2,8,3,1,4,7,5,6]=>0110010
[8,6,3,2,7,4,1,5]=>1110110
[2,7,3,1,8,4,5,6]=>0110100
[1,2,8,3,5,6,4,7]=>0010010
[3,5,7,4,8,1,6,2]=>0010101
[2,8,1,3,5,4,6,7]=>0100100
[1,5,2,8,6,4,3,7]=>0101110
[7,4,8,6,3,1,2,5]=>1011100
[3,6,8,4,1,2,5,7]=>0011000
[4,7,8,5,2,1,3,6]=>0011100
[6,1,5,2,8,7,3,4]=>1010110
[8,1,3,5,7,4,2,6]=>1000110
[3,1,8,5,4,7,2,6]=>1011010
[3,1,6,4,8,5,2,7]=>1010110
[5,1,3,4,2,6,8,7]=>1001001
[3,2,6,4,1,5,7,8]=>1011000
[5,4,2,1,8,3,6,7]=>1110100
[4,2,5,1,8,7,3,6]=>1010110
[6,8,2,7,1,4,3,5]=>0101010
[1,8,4,7,3,2,5,6]=>0101100
[8,6,3,1,5,7,2,4]=>1110010
[5,8,3,1,4,7,6,2]=>0110011
[1,2,5,4,7,8,3,6]=>0010010
[1,8,3,2,6,4,7,5]=>0110101
[4,7,1,2,5,3,6,8]=>0100100
[6,8,4,1,3,7,2,5]=>0110010
[3,2,6,1,7,8,5,4]=>1010011
[7,6,4,1,8,3,5,2]=>1110101
[5,4,1,6,7,3,2,8]=>1100110
[7,4,1,6,5,8,2,3]=>1101010
[8,5,4,1,6,7,3,2]=>1110011
[5,2,1,6,4,7,8,3]=>1101001
[1,6,2,3,5,7,8,4]=>0100001
[1,3,4,8,5,2,6,7]=>0001100
[8,2,4,6,1,7,3,5]=>1001010
[1,5,7,2,3,6,8,4]=>0010001
[7,3,1,4,2,5,8,6]=>1101001
[3,2,5,7,8,4,1,6]=>1000110
[4,3,5,1,6,2,7,8]=>1010100
[8,6,3,5,4,1,2,7]=>1101100
[8,3,2,6,1,5,4,7]=>1101010
[8,5,1,7,4,6,2,3]=>1101010
[4,8,1,7,6,3,5,2]=>0101101
[8,5,1,7,4,3,6,2]=>1101101
[8,5,7,6,2,1,3,4]=>1011100
[5,4,8,3,1,7,2,6]=>1011010
[5,1,4,8,3,2,7,6]=>1001101
[4,8,1,7,6,5,2,3]=>0101110
[4,3,8,7,2,6,1,5]=>1011010
[3,8,7,2,6,4,1,5]=>0110110
[8,2,5,7,4,3,6,1]=>1001101
[3,8,7,4,6,1,2,5]=>0110100
[8,7,6,3,5,4,1,2]=>1110110
[2,8,4,7,6,1,5,3]=>0101101
[2,5,4,8,3,1,7,6]=>0101101
[5,4,8,2,1,3,7,6]=>1011001
[3,8,7,2,6,1,5,4]=>0110101
[1,8,4,7,6,3,5,2]=>0101101
[1,8,3,7,6,5,2,4]=>0101110
[1,4,3,8,7,2,6,5]=>0101101
[7,1,5,4,6,2,3,8]=>1010100
[7,4,1,3,6,2,5,8]=>1100100
[5,4,3,1,7,6,2,8]=>1110110
[4,1,3,7,5,6,2,8]=>1001010
[2,6,8,3,1,7,4,5]=>0011010
[2,5,4,8,1,7,3,6]=>0101010
[7,2,6,5,8,3,4,1]=>1010101
[5,6,3,1,4,2,7,8]=>0110100
[2,6,5,3,4,8,7,1]=>0110011
[2,6,1,5,3,4,7,8]=>0101000
[3,6,2,7,4,5,1,8]=>0101010
[3,4,7,8,5,1,6,2]=>0001101
[3,6,2,4,7,8,5,1]=>0100011
[5,3,6,4,8,7,2,1]=>1010111
[1,5,4,8,6,2,7,3]=>0101101
[4,5,2,7,6,3,8,1]=>0101101
[7,6,2,5,3,8,4,1]=>1101011
[8,4,6,1,3,7,2,5]=>1010010
[4,8,5,1,2,3,6,7]=>0110000
[8,6,2,4,5,1,3,7]=>1100100
[4,5,1,3,8,6,2,7]=>0100110
[7,4,2,3,6,8,5,1]=>1100011
[2,1,6,7,4,8,3,5]=>1001010
[7,8,3,1,6,2,5,4]=>0110101
[7,5,2,8,1,4,6,3]=>1101001
[6,7,8,2,5,4,3,1]=>0010111
[7,8,1,6,2,5,4,3]=>0101011
[5,1,6,8,3,4,7,2]=>1001001
[7,1,6,8,5,4,3,2]=>1001111
[5,6,8,1,2,3,7,4]=>0010001
[4,8,1,2,7,6,5,3]=>0100111
[4,6,1,2,8,5,7,3]=>0100101
[6,4,7,3,5,2,1,8]=>1010110
[5,7,8,4,2,1,3,6]=>0011100
[6,4,8,3,5,2,1,7]=>1010110
[3,1,6,2,5,7,8,4]=>1010001
[2,1,6,3,5,7,4,8]=>1010010
[1,6,4,5,2,7,3,8]=>0101010
[1,4,7,3,2,5,6,8]=>0011000
[6,2,1,4,5,3,7,8]=>1100100
[1,2,4,6,8,3,7,5]=>0000101
[1,3,5,8,2,6,7,4]=>0001001
[6,1,3,7,2,8,5,4]=>1001011
[6,4,5,8,3,7,1,2]=>1001010
[8,1,4,3,6,7,2,5]=>1010010
[2,6,8,4,3,1,7,5]=>0011101
[8,1,5,2,6,4,3,7]=>1010110
[1,6,7,4,2,8,3,5]=>0011010
[1,7,8,4,3,6,2,5]=>0011010
[1,5,8,7,4,3,2,6]=>0011110
[1,4,7,2,3,6,8,5]=>0010001
[3,1,2,6,7,8,5,4]=>1000011
[3,8,1,6,4,2,7,5]=>0101101
[1,6,3,4,7,8,2,5]=>0100010
[3,1,5,7,6,2,8,4]=>1001101
[6,3,1,4,2,7,8,5]=>1101001
[2,4,3,7,6,1,8,5]=>0101101
[3,1,7,6,5,2,8,4]=>1011101
[1,4,7,6,8,3,2,5]=>0010110
[7,2,1,5,6,3,8,4]=>1100101
[4,3,1,8,6,2,7,5]=>1101101
[3,1,5,2,8,7,6,4]=>1010111
[1,2,8,4,3,7,6,5]=>0011011
[2,6,1,8,7,4,3,5]=>0101110
[7,5,1,8,3,2,6,4]=>1101101
[4,7,6,3,1,8,2,5]=>0111010
[5,3,1,8,6,2,4,7]=>1101100
[5,1,8,6,3,2,4,7]=>1011100
[1,5,4,2,8,6,3,7]=>0110110
[1,4,2,8,5,3,7,6]=>0101101
[8,3,1,6,4,2,5,7]=>1101100
[1,7,4,8,3,5,2,6]=>0101010
[7,3,2,4,8,5,1,6]=>1100110
[5,7,8,1,4,2,6,3]=>0010101
[2,6,3,8,1,7,5,4]=>0101011
[2,5,1,8,6,3,7,4]=>0101101
[2,8,6,4,1,7,3,5]=>0111010
[1,8,4,2,7,5,3,6]=>0110110
[6,5,1,7,2,8,4,3]=>1101011
[2,8,1,7,5,3,6,4]=>0101101
[1,2,8,7,6,4,3,5]=>0011110
[4,1,7,8,6,3,5,2]=>1001101
[1,6,5,7,8,4,2,3]=>0100110
[4,1,8,7,6,3,5,2]=>1011101
[4,8,2,6,3,5,1,7]=>0101010
[4,3,5,7,1,6,2,8]=>1001010
[4,1,8,5,3,6,2,7]=>1011010
[6,4,2,5,3,1,7,8]=>1101100
[3,1,5,8,2,7,4,6]=>1001010
[6,4,1,5,3,2,7,8]=>1101100
[6,2,1,5,4,3,7,8]=>1101100
[3,1,8,5,4,6,2,7]=>1011010
[6,1,8,4,5,3,2,7]=>1010110
[4,5,2,7,1,6,3,8]=>0101010
[4,3,5,7,1,6,8,2]=>1001001
[4,1,8,5,3,6,7,2]=>1011001
[6,3,8,4,5,1,7,2]=>1010101
[3,1,6,8,5,7,4,2]=>1001011
[2,6,1,8,5,7,4,3]=>0101011
[6,3,8,4,5,2,1,7]=>1010110
[6,5,8,7,2,3,4,1]=>1011001
[6,3,8,4,5,2,7,1]=>1010101
[2,1,6,8,5,3,7,4]=>1001101
[3,2,6,8,5,4,7,1]=>1001101
[4,1,8,5,2,6,3,7]=>1011010
[3,1,6,8,5,2,4,7]=>1001100
[6,5,8,7,4,1,2,3]=>1011100
[6,5,8,7,4,2,1,3]=>1011110
[6,5,8,7,2,4,1,3]=>1011010
[6,2,8,4,5,7,1,3]=>1010010
[6,1,8,4,5,7,3,2]=>1010011
[4,2,7,3,5,8,6,1]=>1010011
[3,6,2,4,8,5,7,1]=>0100101
[2,7,5,4,3,8,6,1]=>0111011
[3,5,1,8,4,7,6,2]=>0101011
[3,6,1,8,5,4,7,2]=>0101101
[2,4,8,3,7,6,5,1]=>0010111
[3,6,8,2,5,7,4,1]=>0010011
[2,6,8,5,4,3,7,1]=>0011101
[3,6,8,2,5,4,7,1]=>0010101
[4,6,8,3,2,5,7,1]=>0011001
[4,6,2,8,3,5,7,1]=>0101001
[3,6,1,8,5,7,4,2]=>0101011
[5,2,6,8,4,1,7,3]=>1001101
[4,6,3,8,7,2,5,1]=>0101101
[3,5,8,2,7,4,6,1]=>0010101
[2,6,8,5,7,4,3,1]=>0010111
[2,4,8,7,6,3,5,1]=>0011101
[7,5,1,6,3,2,8,4]=>1101101
[2,7,6,3,4,1,8,5]=>0110101
[5,7,6,3,1,2,8,4]=>0111001
[4,8,2,1,7,5,6,3]=>0110101
[6,3,8,5,7,2,4,1]=>1010101
[1,5,4,8,6,2,3,7]=>0101100
[8,2,1,7,5,3,6,4]=>1101101
[8,2,1,6,7,3,5,4]=>1100101
[6,2,8,1,7,5,3,4]=>1010110
[3,5,1,8,7,6,2,4]=>0101110
[4,7,3,5,6,1,2,8]=>0100100
[4,7,8,3,5,6,1,2]=>0010010
[3,2,5,6,8,4,7,1]=>1000101
[8,4,5,2,6,3,7,1]=>1010101
[2,5,6,4,8,3,7,1]=>0010101
[4,2,5,7,3,8,1,6]=>1001010
[4,7,3,1,6,8,2,5]=>0110010
[4,2,7,6,8,1,3,5]=>1010100
[1,7,4,6,8,3,2,5]=>0100110
[4,7,2,5,6,3,1,8]=>0100110
[5,4,1,3,7,8,2,6]=>1100010
[6,1,5,8,3,7,2,4]=>1001010
[4,1,3,5,7,8,2,6]=>1000010
[6,1,5,8,4,3,2,7]=>1001110
[7,2,1,6,8,3,5,4]=>1100101
[5,6,4,1,8,3,2,7]=>0110110
[2,3,7,8,5,1,6,4]=>0001101
[4,1,7,6,2,3,8,5]=>1011001
[1,2,6,7,4,3,5,8]=>0001100
[5,8,6,3,4,1,2,7]=>0110100
[6,2,3,1,8,5,4,7]=>1010110
[5,1,2,6,4,8,3,7]=>1001010
[8,6,2,3,7,5,1,4]=>1100110
[4,5,2,8,6,1,3,7]=>0101100
[3,4,8,2,5,6,1,7]=>0010010
[2,8,3,6,7,4,5,1]=>0100101
[6,8,2,7,5,3,1,4]=>0101110
[6,3,2,5,8,4,1,7]=>1100110
[5,6,7,2,8,4,1,3]=>0010110
[5,8,3,6,4,1,7,2]=>0101101
[4,3,8,5,2,7,1,6]=>1011010
[2,8,4,5,1,6,3,7]=>0101010
[3,2,5,8,4,7,1,6]=>1001010
[2,5,8,1,3,4,7,6]=>0010001
[3,5,1,8,7,4,2,6]=>0101110
[4,6,1,3,8,2,7,5]=>0100101
[8,6,1,2,3,5,7,4]=>1100001
[5,1,7,8,3,2,4,6]=>1001100
[3,1,7,6,2,8,5,4]=>1011011
[5,3,6,7,4,2,8,1]=>1001101
[5,4,2,8,6,7,3,1]=>1101011
[6,1,4,2,8,7,3,5]=>1010110
[3,7,2,6,8,4,5,1]=>0100101
[4,6,5,2,7,8,3,1]=>0110011
[5,4,6,2,7,8,3,1]=>1010011
[5,1,8,6,4,2,7,3]=>1011101
[6,2,1,8,5,7,4,3]=>1101011
[5,4,6,2,3,1,8,7]=>1010101
[6,5,7,8,1,3,4,2]=>1001001
[2,1,7,6,8,4,5,3]=>1010101
[6,4,7,2,8,3,1,5]=>1010110
[6,3,2,7,8,4,5,1]=>1100101
[4,7,3,1,5,2,8,6]=>0110101
[2,1,4,7,5,3,8,6]=>1001101
[4,7,6,3,1,5,8,2]=>0111001
[2,7,3,1,8,5,4,6]=>0110110
[2,8,3,1,7,4,5,6]=>0110100
[1,5,6,8,3,2,4,7]=>0001100
[1,8,2,7,3,5,6,4]=>0101001
[1,7,4,8,6,5,3,2]=>0101111
[1,6,3,5,7,4,8,2]=>0100101
[1,5,4,7,2,8,3,6]=>0101010
[3,8,5,2,6,1,7,4]=>0110101
[3,7,4,8,5,2,6,1]=>0101101
[8,1,2,6,5,3,4,7]=>1001100
[3,7,4,2,5,6,1,8]=>0110010
[6,8,7,1,3,4,2,5]=>0110010
[3,4,2,8,6,7,5,1]=>0101011
[3,7,8,6,1,4,2,5]=>0011010
[3,6,1,5,2,7,8,4]=>0101001
[8,1,2,6,3,5,7,4]=>1001001
[6,2,8,4,7,1,3,5]=>1010100
[3,7,8,4,2,5,6,1]=>0011001
[3,4,2,8,5,1,6,7]=>0101100
[6,8,2,7,5,4,1,3]=>0101110
[1,8,4,3,7,6,2,5]=>0110110
[4,3,8,7,1,2,6,5]=>1011001
[1,8,4,5,7,6,2,3]=>0100110
[4,3,8,5,7,1,6,2]=>1010101
[6,3,4,8,7,2,1,5]=>1001110
[5,3,8,4,7,1,6,2]=>1010101
[5,2,8,7,1,4,6,3]=>1011001
[3,2,8,7,1,6,4,5]=>1011010
[2,7,8,3,1,6,4,5]=>0011010
[2,7,8,5,1,4,6,3]=>0011001
[3,5,8,7,4,1,6,2]=>0011101
[7,4,6,8,3,5,1,2]=>1001010
[2,7,8,1,3,6,4,5]=>0010010
[2,7,8,1,5,4,6,3]=>0010101
[2,7,8,1,4,5,6,3]=>0010001
[3,6,7,8,2,4,1,5]=>0001010
[4,5,7,8,6,3,1,2]=>0001110
[5,4,6,8,7,3,1,2]=>1001110
[4,5,8,6,7,1,3,2]=>0010101
[5,7,6,8,2,1,3,4]=>0101100
[3,7,6,8,2,4,1,5]=>0101010
[5,4,7,8,6,3,1,2]=>1001110
[4,5,7,8,2,6,1,3]=>0001010
[4,5,6,8,7,3,1,2]=>0001110
[6,1,5,3,8,4,7,2]=>1010101
[1,8,6,2,5,4,7,3]=>0110101
[3,8,4,1,7,5,2,6]=>0110110
[6,2,7,4,8,3,1,5]=>1010110
[2,8,5,1,4,3,7,6]=>0110101
[6,8,2,7,5,1,4,3]=>0101101
[8,3,4,5,6,1,7,2]=>1000101
[5,3,6,4,7,2,1,8]=>1010110
[4,2,6,5,7,3,1,8]=>1010110
[5,4,6,2,7,3,1,8]=>1010110
[3,2,6,5,8,4,1,7]=>1010110
[3,2,6,5,8,7,1,4]=>1010110
[4,2,6,5,8,7,1,3]=>1010110
[5,2,6,4,8,7,1,3]=>1010110
[5,4,7,6,8,2,1,3]=>1010110
[6,4,7,5,8,3,1,2]=>1010110
[4,2,7,5,8,6,1,3]=>1010110
[3,2,7,5,8,4,1,6]=>1010110
[4,3,7,2,8,5,1,6]=>1010110
[4,3,6,2,8,5,1,7]=>1010110
[4,3,7,6,8,5,1,2]=>1010110
[5,3,7,6,8,2,1,4]=>1010110
[5,3,7,2,8,6,1,4]=>1010110
[3,2,6,4,8,7,1,5]=>1010110
[4,2,7,3,8,6,1,5]=>1010110
[5,2,7,6,8,3,1,4]=>1010110
[3,2,7,6,8,4,1,5]=>1010110
[3,2,7,6,8,5,1,4]=>1010110
[6,2,7,5,8,4,1,3]=>1010110
[4,8,1,7,3,2,5,6]=>0101100
[3,7,4,8,2,1,5,6]=>0101100
[3,7,8,2,5,4,6,1]=>0010101
[4,7,5,8,3,2,6,1]=>0101101
[6,7,1,3,2,5,8,4]=>0101001
[8,7,6,4,1,5,3,2]=>1111011
[3,8,5,2,6,4,7,1]=>0110101
[7,2,5,3,4,8,1,6]=>1010010
[4,2,5,3,7,8,6,1]=>1010011
[5,3,6,2,4,1,8,7]=>1010101
[7,8,6,2,3,5,4,1]=>0110011
[5,8,2,6,3,7,4,1]=>0101011
[4,8,2,3,7,5,6,1]=>0100101
[7,5,6,2,3,8,4,1]=>1010011
[2,7,5,6,4,3,8,1]=>0101101
[2,8,4,3,7,5,6,1]=>0110101
[3,8,5,7,6,4,2,1]=>0101111
[7,8,6,3,5,4,2,1]=>0110111
[2,7,6,3,8,5,4,1]=>0110111
[7,4,2,5,6,3,8,1]=>1100101
[6,2,7,5,3,8,4,1]=>1011011
[2,4,8,3,7,5,6,1]=>0010101
[4,8,3,7,5,6,2,1]=>0101011
[6,2,5,8,3,7,4,1]=>1001011
[4,7,3,8,2,5,6,1]=>0101001
[8,2,5,6,3,7,4,1]=>1001011
[4,5,3,7,1,2,6,8]=>0101000
[8,5,6,4,1,3,2,7]=>1011010
[6,7,2,8,4,3,1,5]=>0101110
[6,7,3,2,8,4,1,5]=>0110110
[4,7,8,3,1,5,2,6]=>0011010
[4,5,8,1,3,2,6,7]=>0010100
[4,7,8,1,6,3,2,5]=>0010110
[4,7,1,3,8,6,5,2]=>0100111
[2,6,7,4,3,8,1,5]=>0011010
[3,7,6,4,5,8,1,2]=>0110010
[5,7,2,8,3,4,6,1]=>0101001
[3,7,2,8,5,6,4,1]=>0101011
[3,1,5,8,6,4,7,2]=>1001101
[2,3,8,6,4,5,7,1]=>0011001
[2,3,8,6,4,7,5,1]=>0011011
[3,6,2,8,7,4,5,1]=>0101101
[2,5,6,1,8,7,3,4]=>0010110
[3,6,2,8,4,7,5,1]=>0101011
[2,3,8,5,7,4,6,1]=>0010101
[8,5,6,3,1,4,2,7]=>1011010
[8,3,5,1,6,4,2,7]=>1010110
[5,7,8,3,4,6,2,1]=>0010011
[3,5,1,8,6,4,2,7]=>0101110
[7,5,3,8,6,4,2,1]=>1101111
[5,1,3,8,6,4,2,7]=>1001110
[1,5,8,3,6,4,2,7]=>0010110
[7,5,8,3,6,4,2,1]=>1010111
[1,5,8,6,3,4,2,7]=>0011010
[3,7,5,8,2,6,4,1]=>0101011
[5,7,8,1,4,6,2,3]=>0010010
[1,3,7,8,4,2,6,5]=>0001101
[6,1,2,5,3,4,7,8]=>1001000
[5,1,4,6,7,3,2,8]=>1000110
[1,4,6,5,7,2,3,8]=>0010100
[6,7,3,5,4,1,2,8]=>0101100
[8,1,6,7,3,5,4,2]=>1001011
[4,2,5,1,3,7,6,8]=>1010010
[1,3,2,6,8,4,7,5]=>0100101
[8,2,5,4,1,6,7,3]=>1011001
[8,1,7,5,4,2,6,3]=>1011101
[1,2,6,4,7,3,5,8]=>0010100
[1,6,4,3,7,2,5,8]=>0110100
[5,7,8,3,2,6,1,4]=>0011010
[8,4,5,1,3,7,6,2]=>1010011
[8,6,4,3,7,1,5,2]=>1110101
[7,5,6,8,1,3,2,4]=>1001010
[6,8,7,5,4,2,3,1]=>0111101
[7,3,1,8,6,5,2,4]=>1101110
[2,7,3,1,4,8,6,5]=>0110011
[3,1,6,5,7,8,4,2]=>1010011
[4,3,1,5,8,7,6,2]=>1100111
[4,7,1,3,2,5,6,8]=>0101000
[4,1,6,7,3,2,8,5]=>1001101
[1,7,2,5,6,8,4,3]=>0100011
[4,7,6,8,3,1,5,2]=>0101101
[5,4,8,6,1,7,3,2]=>1011011
[3,5,4,7,1,8,6,2]=>0101011
[7,1,5,4,2,3,6,8]=>1011000
[7,1,3,6,4,5,2,8]=>1001010
[6,1,3,8,4,5,2,7]=>1001010
[2,1,8,7,3,6,5,4]=>1011011
[5,8,6,3,1,2,7,4]=>0111001
[5,8,2,7,1,3,6,4]=>0101001
[2,6,5,4,1,3,7,8]=>0111000
[4,1,5,7,6,3,2,8]=>1001110
[6,3,4,2,1,8,7,5]=>1011011
[4,5,1,7,6,3,2,8]=>0101110
[5,4,2,1,8,7,3,6]=>1110110
[6,2,1,5,4,3,8,7]=>1101101
[1,4,2,6,7,8,5,3]=>0100011
[1,4,2,5,6,8,7,3]=>0100011
[2,5,3,6,7,8,4,1]=>0100011
[1,8,6,2,4,3,5,7]=>0110100
[3,2,4,5,7,8,1,6]=>1000010
[2,3,4,7,5,8,6,1]=>0001011
[6,5,2,8,7,4,3,1]=>1101111
[7,8,5,4,2,1,6,3]=>0111101
[7,5,2,8,6,4,3,1]=>1101111
[7,8,3,2,6,5,4,1]=>0110111
[8,2,6,3,7,5,1,4]=>1010110
[8,6,7,2,5,3,1,4]=>1010110
[1,6,2,7,8,4,5,3]=>0100101
[8,6,2,7,5,4,1,3]=>1101110
[1,6,8,2,7,5,3,4]=>0010110
[7,6,3,2,8,1,5,4]=>1110101
[5,1,7,4,3,8,6,2]=>1011011
[8,6,3,7,2,4,1,5]=>1101010
[1,7,8,6,4,2,3,5]=>0011100
[7,2,8,6,4,1,3,5]=>1011100
[1,5,3,7,4,2,6,8]=>0101100
[1,7,6,4,3,2,8,5]=>0111101
[1,7,6,3,4,2,5,8]=>0110100
[1,2,7,4,3,8,6,5]=>0011011
[1,5,4,2,3,8,7,6]=>0110011
[1,5,3,2,4,6,7,8]=>0110000
[1,5,4,2,3,7,8,6]=>0110001
[1,2,7,6,3,5,8,4]=>0011001
[8,1,3,2,6,5,7,4]=>1010101
[3,2,7,5,6,1,8,4]=>1010101
[7,5,6,1,3,2,8,4]=>1010101
[7,4,5,1,6,3,8,2]=>1010101
[7,5,6,1,4,3,8,2]=>1010101
[8,1,4,3,5,2,7,6]=>1010101
[8,3,6,5,4,1,2,7]=>1011100
[1,7,5,8,4,6,3,2]=>0101011
[6,5,7,1,2,8,3,4]=>1010010
[7,1,4,2,3,8,6,5]=>1010011
[3,7,5,6,8,1,2,4]=>0100100
[8,1,2,5,3,7,6,4]=>1001011
[8,6,5,2,4,1,7,3]=>1110101
[3,6,5,2,4,1,7,8]=>0110100
[6,8,5,2,4,3,1,7]=>0110110
[3,4,2,8,6,7,1,5]=>0101010
[4,6,7,2,5,1,8,3]=>0010101
[3,6,2,5,1,7,8,4]=>0101001
[3,4,2,7,8,1,5,6]=>0100100
[3,8,5,2,4,7,1,6]=>0110010
[7,1,4,2,5,8,6,3]=>1010011
[7,8,5,1,2,4,3,6]=>0110010
[5,8,1,4,3,6,7,2]=>0101001
[7,2,3,8,6,4,1,5]=>1001110
[5,2,3,8,7,4,1,6]=>1001110
[5,7,6,3,1,2,4,8]=>0111000
[4,6,2,7,8,1,3,5]=>0100100
[6,2,3,7,1,4,5,8]=>1001000
[4,6,7,8,2,1,3,5]=>0001100
[8,6,3,2,1,7,5,4]=>1111011
[5,3,4,1,7,8,2,6]=>1010010
[6,1,3,4,2,5,8,7]=>1001001
[5,1,3,6,2,4,8,7]=>1001001
[1,5,7,6,8,2,4,3]=>0010101
[5,7,1,3,8,4,2,6]=>0100110
[2,6,1,4,3,7,8,5]=>0101001
[1,6,2,4,3,5,8,7]=>0101001
[5,3,7,6,1,8,4,2]=>1011011
[1,5,6,3,7,8,4,2]=>0010011
[1,5,7,6,3,8,4,2]=>0011011
[7,3,5,6,1,8,4,2]=>1001011
[1,6,3,7,8,5,4,2]=>0100111
[1,7,8,6,3,5,4,2]=>0011011
[3,7,5,6,1,8,4,2]=>0101011
[5,6,2,8,4,7,3,1]=>0101011
[5,7,6,3,4,8,1,2]=>0110010
[3,7,5,4,6,1,2,8]=>0110100
[5,3,4,7,6,8,1,2]=>1001010
[5,3,7,4,6,1,2,8]=>1010100
[7,3,5,4,6,1,2,8]=>1010100
[7,8,3,5,4,1,2,6]=>0101100
[7,3,5,4,1,2,6,8]=>1011000
[5,7,6,3,4,1,2,8]=>0110100
[3,5,4,1,2,7,6,8]=>0110010
[5,7,6,1,3,2,4,8]=>0110100
[5,3,4,1,2,7,6,8]=>1010010
[7,8,3,1,2,5,4,6]=>0110010
[7,8,5,1,3,2,4,6]=>0110100
[7,5,6,1,3,2,4,8]=>1010100
[7,5,1,3,8,6,2,4]=>1100110
[7,1,3,8,2,5,4,6]=>1001010
[3,1,5,4,7,2,6,8]=>1010100
[5,7,6,1,3,8,2,4]=>0110010
[5,7,6,3,8,1,4,2]=>0110101
[5,1,3,7,6,2,4,8]=>1001100
[1,6,3,7,2,4,5,8]=>0101000
[5,3,2,4,8,1,7,6]=>1100101
[6,8,5,3,2,7,1,4]=>0111010
[8,3,7,2,6,5,1,4]=>1010110
[4,6,2,7,1,3,8,5]=>0101001
[3,4,6,5,1,8,7,2]=>0011011
[8,7,1,5,3,2,6,4]=>1101101
[3,5,1,4,7,2,8,6]=>0100101
[5,1,4,8,7,3,2,6]=>1001110
[6,1,3,4,2,7,8,5]=>1001001
[6,5,2,3,7,8,1,4]=>1100010
[1,5,3,8,4,2,7,6]=>0101101
[5,4,2,1,8,3,7,6]=>1110101
[3,1,7,4,2,6,8,5]=>1011001
[7,4,8,2,3,5,1,6]=>1010010
[8,4,1,3,2,6,7,5]=>1101001
[8,1,7,3,2,5,6,4]=>1011001
[8,6,5,2,7,3,1,4]=>1110110
[3,1,6,8,4,2,7,5]=>1001101
[1,5,2,8,3,6,7,4]=>0101001
[5,6,2,3,7,4,1,8]=>0100110
[6,2,4,7,3,5,1,8]=>1001010
[1,4,8,5,3,6,7,2]=>0011001
[2,5,6,3,1,8,4,7]=>0011010
[4,5,1,2,7,8,6,3]=>0100011
[4,8,5,1,2,6,7,3]=>0110001
[4,6,7,5,1,2,8,3]=>0011001
[7,2,8,1,4,5,3,6]=>1010010
[6,1,4,7,3,8,2,5]=>1001010
[7,1,6,3,4,8,2,5]=>1010010
[2,8,4,6,3,1,5,7]=>0101100
[8,2,6,3,5,1,4,7]=>1010100
[3,7,4,1,5,8,2,6]=>0110010
[3,8,4,1,7,2,5,6]=>0110100
[6,7,5,1,3,8,2,4]=>0110010
[8,5,1,3,6,7,2,4]=>1100010
[7,8,6,2,4,1,3,5]=>0110100
[8,2,4,1,3,6,7,5]=>1010001
[8,1,3,6,2,5,7,4]=>1001001
[1,5,6,3,8,4,7,2]=>0010101
[5,6,1,3,7,2,8,4]=>0100101
[5,6,1,8,2,3,7,4]=>0101001
[5,6,1,2,8,4,7,3]=>0100101
[3,7,8,1,6,4,2,5]=>0010110
[1,7,8,6,3,4,2,5]=>0011010
[1,7,3,8,6,4,2,5]=>0101110
[5,7,1,8,6,4,2,3]=>0101110
[7,8,1,5,6,4,2,3]=>0100110
[7,1,8,5,6,4,2,3]=>1010110
[7,1,5,8,6,4,2,3]=>1001110
[8,1,3,5,6,4,2,7]=>1000110
[1,3,8,5,6,4,2,7]=>0010110
[1,3,5,8,6,4,2,7]=>0001110
[1,5,7,8,6,4,2,3]=>0001110
[1,8,2,6,5,3,4,7]=>0101100
[8,6,1,5,2,3,4,7]=>1101000
[8,5,1,6,2,3,4,7]=>1101000
[7,6,1,2,3,8,4,5]=>1100010
[2,7,8,4,1,3,5,6]=>0011000
[6,8,1,2,3,7,4,5]=>0100010
[8,1,3,5,6,7,2,4]=>1000010
[8,1,2,5,3,4,7,6]=>1001001
[5,2,7,3,4,8,1,6]=>1010010
[8,6,4,7,3,5,2,1]=>1101011
[4,2,1,6,5,7,8,3]=>1101001
[2,7,5,4,1,3,6,8]=>0111000
[2,7,4,6,5,1,8,3]=>0101101
[6,8,7,5,2,1,4,3]=>0111101
[2,8,6,3,5,1,4,7]=>0110100
[1,2,8,6,4,5,3,7]=>0011010
[1,5,8,7,6,3,4,2]=>0011101
[1,6,4,8,5,7,3,2]=>0101011
[1,6,8,5,2,7,3,4]=>0011010
[1,6,8,5,4,2,3,7]=>0011100
[3,1,6,4,2,5,8,7]=>1011001
[5,4,2,3,6,8,1,7]=>1100010
[8,2,6,3,5,7,1,4]=>1010010
[3,1,7,8,6,2,5,4]=>1001101
[2,8,1,6,5,3,7,4]=>0101101
[2,1,5,7,6,3,8,4]=>1001101
[4,3,5,1,7,8,6,2]=>1010011
[1,8,5,2,3,4,7,6]=>0110001
[1,5,8,2,3,4,7,6]=>0010001
[1,2,7,8,4,5,6,3]=>0001001
[4,3,8,7,6,2,5,1]=>1011101
[5,4,8,2,7,6,3,1]=>1010111
[2,3,6,1,7,5,8,4]=>0010101
[4,6,5,2,1,7,8,3]=>0111001
[4,6,1,7,5,8,3,2]=>0101011
[4,1,5,7,6,8,3,2]=>1001011
[3,5,6,2,1,4,7,8]=>0011000
[4,3,6,5,1,7,8,2]=>1011001
[4,6,5,3,1,7,8,2]=>0111001
[5,8,1,4,2,3,6,7]=>0101000
[4,5,8,2,3,1,6,7]=>0010100
[3,5,4,8,1,7,2,6]=>0101010
[5,3,6,8,1,4,7,2]=>1001001
[3,5,1,8,6,4,7,2]=>0101101
[4,7,2,8,3,1,6,5]=>0101101
[1,2,5,6,8,3,7,4]=>0000101
[5,3,8,4,6,2,7,1]=>1010101
[7,4,8,1,5,2,6,3]=>1010101
[8,3,2,1,6,5,7,4]=>1110101
[4,1,5,6,8,7,2,3]=>1000110
[1,2,5,6,8,4,7,3]=>0000101
[1,5,6,8,4,7,2,3]=>0001010
[5,6,8,1,2,4,7,3]=>0010001
[6,8,1,4,5,7,2,3]=>0100010
[4,3,5,1,8,6,7,2]=>1010101
[1,3,5,6,8,4,7,2]=>0000101
[5,6,8,2,3,4,7,1]=>0010001
[6,5,1,2,4,8,7,3]=>1100011
[5,8,7,2,1,3,6,4]=>0111001
[5,1,7,2,8,6,3,4]=>1010110
[6,1,5,3,4,8,7,2]=>1010011
[5,8,6,3,2,1,4,7]=>0111100
[8,7,1,6,3,5,4,2]=>1101011
[3,2,1,7,8,6,4,5]=>1100110
[8,6,7,1,2,5,3,4]=>1010010
[1,5,6,4,2,8,7,3]=>0011011
[7,5,1,4,8,2,3,6]=>1100100
[3,2,8,1,7,5,6,4]=>1010101
[8,4,3,1,7,5,6,2]=>1110101
[6,1,7,8,4,2,3,5]=>1001100
[7,4,3,1,8,5,2,6]=>1110110
[7,8,1,6,3,4,5,2]=>0101001
[6,8,1,7,3,4,2,5]=>0101010
[4,6,5,3,8,2,7,1]=>0110101
[4,5,6,3,8,1,7,2]=>0010101
[7,8,3,5,2,1,6,4]=>0101101
[6,3,7,5,2,4,1,8]=>1011010
[6,2,4,5,7,3,1,8]=>1000110
[7,8,1,5,6,4,3,2]=>0100111
[6,3,7,5,1,4,2,8]=>1011010
[1,3,8,2,4,6,7,5]=>0010001
[6,1,7,3,4,2,5,8]=>1010100
[3,1,7,2,5,8,6,4]=>1010011
[2,8,7,6,3,5,1,4]=>0111010
[2,8,7,1,5,6,4,3]=>0110011
[3,5,6,2,8,1,7,4]=>0010101
[5,3,1,8,6,2,7,4]=>1101101
[3,1,4,6,8,2,7,5]=>1000101
[4,1,5,7,3,8,2,6]=>1001010
[6,2,5,8,4,7,3,1]=>1001011
[7,2,8,5,4,3,6,1]=>1011101
[7,1,6,8,2,5,3,4]=>1001010
[2,6,5,7,8,4,1,3]=>0100110
[3,6,5,7,4,1,8,2]=>0101101
[1,6,5,7,4,2,3,8]=>0101100
[3,4,7,5,2,1,8,6]=>0011101
[3,6,7,5,8,4,1,2]=>0010110
[3,4,7,2,5,6,8,1]=>0010001
[2,5,3,7,8,6,4,1]=>0100111
[7,2,8,4,5,6,3,1]=>1010011
[6,2,3,8,5,4,7,1]=>1001101
[6,8,7,3,2,4,5,1]=>0111001
[3,8,6,1,4,5,7,2]=>0110001
[7,5,8,6,4,1,3,2]=>1011101
[2,7,6,3,8,5,1,4]=>0110110
[2,3,1,8,4,6,5,7]=>0101010
[2,3,1,7,6,8,4,5]=>0101010
[2,3,1,8,4,6,7,5]=>0101001
[4,2,3,5,1,8,6,7]=>1001010
[5,8,7,2,6,4,1,3]=>0110110
[6,8,5,1,7,4,3,2]=>0110111
[6,8,5,2,7,4,1,3]=>0110110
[7,3,8,6,5,2,1,4]=>1011110
[7,5,8,1,6,4,3,2]=>1010111
[7,5,8,2,6,4,1,3]=>1010110
[6,3,2,8,1,7,5,4]=>1101011
[2,6,8,7,1,3,5,4]=>0011001
[5,3,8,7,6,2,1,4]=>1011110
[3,7,6,1,4,5,2,8]=>0110010
[4,1,6,2,7,5,3,8]=>1010110
[7,6,2,5,3,1,4,8]=>1101100
[4,3,1,7,6,2,5,8]=>1101100
[4,5,3,1,2,8,6,7]=>0110010
[2,4,5,3,1,8,6,7]=>0011010
[5,7,6,2,3,1,4,8]=>0110100
[4,1,3,7,5,2,6,8]=>1001100
[4,1,6,3,2,7,5,8]=>1011010
[7,5,4,1,3,2,6,8]=>1110100
[2,4,8,5,6,3,1,7]=>0010110
[2,5,7,4,1,3,6,8]=>0011000
[5,7,4,1,3,2,6,8]=>0110100
[2,6,8,4,5,3,1,7]=>0010110
[5,2,3,7,4,1,6,8]=>1001100
[4,5,1,6,3,2,7,8]=>0101100
[5,1,6,3,2,4,7,8]=>1011000
[4,2,5,1,6,3,7,8]=>1010100
[5,1,6,2,4,3,7,8]=>1010100
[5,3,4,8,7,6,2,1]=>1001111
[8,3,1,6,7,5,4,2]=>1100111
[8,4,6,5,7,2,3,1]=>1010101
[1,8,2,6,7,4,5,3]=>0100101
[8,5,7,2,4,3,6,1]=>1010101
[8,5,3,6,4,7,2,1]=>1101011
[8,2,5,3,6,7,4,1]=>1010011
[1,2,8,3,4,7,6,5]=>0010011
[6,8,5,2,7,1,3,4]=>0110100
[7,6,4,5,2,1,8,3]=>1101101
[8,2,4,7,6,3,1,5]=>1001110
[7,3,8,5,4,2,1,6]=>1011110
[6,3,4,7,2,8,5,1]=>1001011
[8,1,7,3,6,4,2,5]=>1010110
[7,1,8,5,3,4,2,6]=>1011010
[6,8,4,3,1,5,2,7]=>0111010
[1,4,5,8,3,2,6,7]=>0001100
[1,5,2,4,7,8,6,3]=>0100011
[5,2,7,4,3,8,6,1]=>1011011
[2,7,3,4,8,5,6,1]=>0100101
[2,7,6,8,3,5,4,1]=>0101011
[2,7,4,5,3,8,6,1]=>0101011
[6,2,3,7,4,5,8,1]=>1001001
[1,6,3,2,7,5,8,4]=>0110101
[7,3,5,2,6,8,1,4]=>1010010
[6,4,2,7,1,5,8,3]=>1101001
[2,5,3,6,4,7,8,1]=>0101001
[4,2,5,3,6,7,8,1]=>1010001
[1,6,5,2,4,7,3,8]=>0110010
[1,8,7,2,4,6,3,5]=>0110010
[1,8,7,2,5,4,3,6]=>0110110
[1,5,4,2,7,3,6,8]=>0110100
[1,5,4,2,8,7,3,6]=>0110110
[1,6,8,3,5,2,4,7]=>0010100
[1,7,6,2,3,5,8,4]=>0110001
[1,2,8,3,6,5,4,7]=>0010110
[1,3,8,6,5,2,4,7]=>0011100
[1,4,7,3,2,8,6,5]=>0011011
[1,8,6,5,2,4,7,3]=>0111001
[1,6,8,4,3,2,5,7]=>0011100
[1,7,5,3,2,6,4,8]=>0111010
[1,2,6,5,3,8,4,7]=>0011010
[1,7,3,2,8,4,6,5]=>0110101
[1,6,5,2,8,4,7,3]=>0110101
[1,8,3,7,2,4,6,5]=>0101001
[5,4,2,8,7,6,1,3]=>1101110
[8,6,3,2,5,7,4,1]=>1110011
[7,3,2,1,6,5,8,4]=>1110101
[7,3,2,6,1,5,8,4]=>1101001
[6,8,5,2,7,1,4,3]=>0110101
[6,8,2,5,1,7,4,3]=>0101011
[6,8,5,7,2,1,4,3]=>0101101
[6,5,8,2,7,4,1,3]=>1010110
[6,2,1,7,5,8,4,3]=>1101011
[1,6,4,8,5,3,7,2]=>0101101
[1,6,5,3,4,7,8,2]=>0110001
[4,2,6,7,8,1,3,5]=>1000100
[4,6,5,1,3,7,8,2]=>0110001
[5,1,7,2,6,4,8,3]=>1010101
[4,1,7,6,5,8,2,3]=>1011010
[5,2,1,7,6,4,8,3]=>1101101
[4,2,3,6,7,8,1,5]=>1000010
[4,7,2,1,6,5,8,3]=>0110101
[2,7,6,4,1,5,8,3]=>0111001
[2,4,3,6,7,8,1,5]=>0100010
[6,8,5,2,7,3,1,4]=>0110110
[7,5,2,4,1,8,3,6]=>1101010
[6,5,1,3,7,8,2,4]=>1100010
[7,2,1,4,3,5,8,6]=>1101001
[6,1,2,4,3,7,8,5]=>1001001
[8,1,5,4,2,3,6,7]=>1011000
[7,1,2,4,6,3,8,5]=>1000101
[7,1,2,6,5,3,8,4]=>1001101
[7,5,6,1,2,4,8,3]=>1010001
[7,1,4,5,2,3,6,8]=>1001000
[6,1,4,8,7,2,3,5]=>1001100
[6,1,8,5,7,2,3,4]=>1010100
[1,6,7,5,8,3,4,2]=>0010101
[6,1,7,5,8,2,3,4]=>1010100
[6,1,4,7,8,2,3,5]=>1000100
[8,1,2,3,7,5,4,6]=>1000110
[5,8,6,1,2,4,7,3]=>0110001
[1,6,8,7,5,3,4,2]=>0011101
[6,1,8,7,5,2,3,4]=>1011100
[8,3,1,2,4,6,5,7]=>1100010
[8,3,1,2,4,5,7,6]=>1100001
[6,3,1,2,4,7,5,8]=>1100010
[6,7,1,4,2,3,5,8]=>0101000
[6,1,7,4,8,2,3,5]=>1010100
[6,7,8,5,1,2,4,3]=>0011001
[4,3,8,5,6,2,7,1]=>1010101
[4,3,8,6,7,2,5,1]=>1010101
[7,6,8,1,5,3,4,2]=>1010101
[7,4,6,1,5,3,8,2]=>1010101
[6,3,8,1,7,2,5,4]=>1010101
[6,1,5,4,8,2,7,3]=>1010101
[6,2,5,4,7,1,8,3]=>1010101
[2,6,3,4,8,7,5,1]=>0100111
[2,7,4,5,1,8,3,6]=>0101010
[8,4,5,7,6,1,2,3]=>1001100
[8,4,5,7,1,3,6,2]=>1001001
[8,1,3,4,6,7,5,2]=>1000011
[8,7,6,2,3,5,4,1]=>1110011
[8,3,6,7,5,1,2,4]=>1001100
[8,2,1,6,5,7,4,3]=>1101011
[2,7,1,8,5,6,4,3]=>0101011
[2,7,8,6,1,5,3,4]=>0011010
[4,6,8,2,3,5,1,7]=>0010010
[6,8,2,1,3,5,4,7]=>0110010
[3,5,1,6,4,8,2,7]=>0101010
[3,5,8,6,2,1,4,7]=>0011100
[2,4,8,5,6,1,3,7]=>0010100
[4,8,2,5,6,1,3,7]=>0100100
[5,3,8,4,2,7,6,1]=>1011011
[2,8,5,3,1,4,7,6]=>0111001
[1,7,8,4,6,3,2,5]=>0010110
[8,7,2,4,6,3,1,5]=>1100110
[8,7,3,2,1,6,4,5]=>1111010
[7,8,3,4,6,5,2,1]=>0100111
[8,7,3,6,5,2,4,1]=>1101101
[3,1,2,8,6,5,7,4]=>1001101
[3,8,2,7,5,4,6,1]=>0101101
[8,7,1,4,5,3,6,2]=>1100101
[2,8,7,4,6,3,5,1]=>0110101
[2,8,7,4,6,3,1,5]=>0110110
[8,3,4,1,2,5,7,6]=>1010001
[8,4,1,3,2,5,7,6]=>1101001
[7,3,8,6,2,1,4,5]=>1011100
[7,2,8,4,6,5,1,3]=>1010110
[5,8,6,4,7,2,3,1]=>0110101
[4,7,2,6,5,8,3,1]=>0101011
[3,6,8,5,7,4,2,1]=>0010111
[6,7,5,2,4,8,3,1]=>0110011
[8,1,2,7,5,6,3,4]=>1001010
[8,2,7,3,4,6,1,5]=>1010010
[6,7,5,4,8,1,3,2]=>0110101
[8,3,5,6,4,7,2,1]=>1001011
[8,5,6,2,4,3,7,1]=>1010101
[6,5,8,1,3,4,2,7]=>1010010
[6,8,4,5,1,3,2,7]=>0101010
[6,4,8,7,5,3,2,1]=>1011111
[6,7,1,4,3,2,8,5]=>0101101
[7,2,5,1,4,8,3,6]=>1010010
[5,8,1,3,4,2,7,6]=>0100101
[1,5,6,3,2,8,7,4]=>0011011
[1,3,7,6,8,4,2,5]=>0010110
[1,6,7,3,2,8,5,4]=>0011011
[3,2,7,6,8,4,5,1]=>1010101
[1,3,8,5,2,7,6,4]=>0011011
[6,4,1,5,2,8,7,3]=>1101011
[7,6,5,3,1,8,2,4]=>1111010
[2,5,1,4,7,3,6,8]=>0100100
[3,1,6,5,7,2,4,8]=>1010100
[2,6,1,5,7,4,8,3]=>0100101
[2,5,7,1,6,3,8,4]=>0010101
[2,6,1,5,7,4,3,8]=>0100110
[3,1,6,5,2,4,7,8]=>1011000
[3,6,5,1,4,2,7,8]=>0110100
[3,6,5,1,7,2,4,8]=>0110100
[3,6,5,2,1,4,7,8]=>0111000
[5,4,3,6,1,7,2,8]=>1101010
[4,5,2,7,6,1,3,8]=>0101100
[4,6,5,3,1,2,7,8]=>0111000
[5,4,1,6,3,7,2,8]=>1101010
[5,4,2,6,3,7,8,1]=>1101001
[3,6,5,7,1,4,2,8]=>0101010
[3,6,5,1,4,7,2,8]=>0110010
[4,3,6,5,7,1,2,8]=>1010100
[4,2,6,5,1,3,7,8]=>1011000
[4,1,6,5,3,7,8,2]=>1011001
[4,2,5,7,6,1,3,8]=>1001100
[3,4,7,6,1,2,5,8]=>0011000
[4,2,5,7,6,3,8,1]=>1001101
[4,1,6,5,2,7,3,8]=>1011010
[3,6,5,7,2,1,4,8]=>0101100
[3,5,7,6,2,4,1,8]=>0011010
[5,4,2,6,3,7,1,8]=>1101010
[4,6,5,2,7,3,1,8]=>0110110
[4,6,5,2,1,7,3,8]=>0111010
[3,5,8,2,1,4,6,7]=>0011000
[3,5,8,2,4,6,7,1]=>0010001
[5,3,8,2,1,4,6,7]=>1011000
[5,3,1,8,2,4,6,7]=>1101000
[5,1,3,8,2,4,6,7]=>1001000
[1,5,8,4,2,3,6,7]=>0011000
[5,8,2,1,4,3,6,7]=>0110100
[5,8,2,4,1,6,7,3]=>0101001
[5,8,2,4,6,3,1,7]=>0100110
[5,8,2,4,3,6,1,7]=>0101010
[5,8,1,4,6,2,3,7]=>0100100
[1,5,8,4,6,7,2,3]=>0010010
[5,1,8,4,6,7,2,3]=>1010010
[5,8,2,4,6,3,7,1]=>0100101
[3,8,4,6,7,2,1,5]=>0100110
[3,8,4,6,7,2,5,1]=>0100101
[8,4,3,6,7,2,5,1]=>1100101
[8,4,3,6,7,2,1,5]=>1100110
[8,6,2,4,5,3,7,1]=>1100101
[1,8,6,4,5,7,2,3]=>0110010
[8,6,2,4,5,3,1,7]=>1100110
[1,8,6,4,2,3,5,7]=>0111000
[3,8,1,6,2,4,5,7]=>0101000
[3,8,6,2,1,4,5,7]=>0111000
[3,8,6,2,4,1,5,7]=>0110100
[3,8,6,2,4,5,7,1]=>0110001
[8,3,6,2,4,5,1,7]=>1010010
[8,1,3,6,2,4,5,7]=>1001000
[8,3,6,7,2,1,4,5]=>1001100
[3,8,6,7,2,1,4,5]=>0101100
[8,2,6,4,5,1,7,3]=>1010101
[1,8,4,6,7,5,2,3]=>0100110
[8,4,6,2,3,7,5,1]=>1010011
[8,4,7,2,1,3,6,5]=>1011001
[2,7,1,6,3,5,8,4]=>0101001
[8,4,2,1,5,3,7,6]=>1110101
[8,2,1,4,7,3,6,5]=>1100101
[1,6,2,5,8,4,7,3]=>0100101
[3,2,1,7,4,5,8,6]=>1101001
[2,6,8,5,1,7,4,3]=>0011011
[2,1,5,8,7,3,6,4]=>1001101
[3,2,1,6,7,4,8,5]=>1100101
[4,3,1,7,8,5,2,6]=>1100110
[5,6,8,2,4,3,7,1]=>0010101
[2,8,5,3,6,4,7,1]=>0110101
[1,2,8,6,4,7,3,5]=>0011010
[5,3,2,7,8,6,4,1]=>1100111
[4,2,7,8,3,5,6,1]=>1001001
[2,8,3,7,1,4,6,5]=>0101001
[2,8,7,1,5,3,6,4]=>0110101
[7,3,5,6,4,2,8,1]=>1001101
[3,8,4,2,7,6,5,1]=>0110111
[4,8,3,2,7,5,6,1]=>0110101
[3,2,4,8,7,5,6,1]=>1001101
[2,6,8,1,5,3,4,7]=>0010100
[3,2,5,6,8,1,4,7]=>1000100
[3,8,1,6,4,5,2,7]=>0101010
[8,1,3,6,5,4,2,7]=>1001110
[7,4,3,6,2,1,8,5]=>1101101
[1,2,4,8,6,3,7,5]=>0001101
[7,2,1,5,3,4,8,6]=>1101001
[5,7,2,3,1,4,8,6]=>0101001
[7,1,5,2,4,6,8,3]=>1010001
[8,4,2,7,3,5,6,1]=>1101001
[1,8,6,4,7,5,3,2]=>0110111
[7,4,1,5,8,6,3,2]=>1100111
[4,5,8,7,3,1,2,6]=>0011100
[1,3,8,7,6,4,2,5]=>0011110
[2,8,5,1,7,4,6,3]=>0110101
[1,8,6,4,7,5,2,3]=>0110110
[2,7,4,6,3,8,5,1]=>0101011
[1,2,8,6,4,7,5,3]=>0011011
[4,1,8,6,3,7,5,2]=>1011011
[8,4,3,1,6,2,5,7]=>1110100
[7,5,4,3,8,1,6,2]=>1110101
[5,3,1,6,2,8,7,4]=>1101011
[3,5,4,1,7,8,2,6]=>0110010
[6,4,2,1,5,7,3,8]=>1110010
[3,1,5,8,7,2,4,6]=>1001100
[3,2,5,7,8,4,6,1]=>1000101
[5,3,7,4,2,6,8,1]=>1011001
[5,3,7,4,2,6,1,8]=>1011010
[5,3,8,4,2,1,6,7]=>1011100
[5,2,8,4,3,1,6,7]=>1011100
[5,1,8,4,3,2,6,7]=>1011100
[5,2,7,4,3,6,1,8]=>1011010
[5,2,7,4,3,6,8,1]=>1011001
[5,3,7,4,1,6,8,2]=>1011001
[3,1,5,7,8,4,6,2]=>1000101
[3,1,5,7,8,4,2,6]=>1000110
[5,2,7,4,1,3,8,6]=>1011001
[6,2,3,7,4,8,5,1]=>1001011
[6,2,3,7,4,8,1,5]=>1001010
[6,2,3,7,4,5,1,8]=>1001010
[6,1,3,7,4,5,8,2]=>1001001
[1,2,8,6,4,3,5,7]=>0011100
[6,1,3,7,4,5,2,8]=>1001010
[1,8,6,3,5,4,2,7]=>0110110
[2,6,1,8,5,3,4,7]=>0101100
[4,5,7,8,1,6,3,2]=>0001011
[2,5,7,8,4,6,3,1]=>0001011
[1,8,2,7,5,3,4,6]=>0101100
[2,5,4,1,8,6,7,3]=>0110101
[7,3,5,1,4,8,6,2]=>1010011
[7,1,3,2,4,5,6,8]=>1010000
[3,8,7,1,4,2,5,6]=>0110100
[5,1,7,8,2,4,3,6]=>1001010
[8,5,4,6,1,7,3,2]=>1101011
[5,3,2,1,4,6,8,7]=>1110001
[5,3,2,4,8,1,6,7]=>1100100
[5,3,2,4,7,1,8,6]=>1100101
[4,8,1,7,3,5,6,2]=>0101001
[5,3,2,4,6,8,1,7]=>1100010
[2,7,6,3,1,4,8,5]=>0111001
[3,7,4,5,6,8,2,1]=>0100011
[8,7,1,4,2,5,3,6]=>1101010
[4,6,8,3,7,1,5,2]=>0010101
[4,7,3,5,8,1,6,2]=>0100101
[8,4,3,5,7,1,6,2]=>1100101
[1,7,6,4,2,5,3,8]=>0111010
[7,6,4,2,8,3,1,5]=>1110110
[8,5,2,4,3,7,1,6]=>1101010
[8,5,1,4,3,7,6,2]=>1101011
[7,5,4,1,3,6,8,2]=>1110001
[3,6,7,2,5,1,8,4]=>0010101
[2,6,5,7,1,4,8,3]=>0101001
[3,5,1,7,8,4,6,2]=>0100101
[1,5,2,4,6,8,7,3]=>0100011
[8,1,2,4,7,6,5,3]=>1000111
[3,4,1,8,6,7,5,2]=>0101011
[4,3,8,5,1,7,6,2]=>1011011
[6,1,3,2,8,5,7,4]=>1010101
[8,5,3,2,4,7,1,6]=>1110010
[6,7,4,2,5,8,3,1]=>0110011
[8,5,4,2,6,3,1,7]=>1110110
[8,5,2,1,6,4,3,7]=>1110110
[8,4,6,5,1,3,2,7]=>1011010
[1,3,8,4,7,5,2,6]=>0010110
[5,3,7,1,4,6,8,2]=>1010001
[5,7,2,6,1,4,8,3]=>0101001
[3,8,5,7,6,1,2,4]=>0101100
[8,4,7,5,2,1,3,6]=>1011100
[3,8,6,4,7,2,1,5]=>0110110
[5,2,7,4,6,8,3,1]=>1010011
[4,8,6,3,7,2,1,5]=>0110110
[2,8,3,1,7,6,4,5]=>0110110
[2,5,6,4,8,1,7,3]=>0010101
[5,7,2,1,6,8,3,4]=>0110010
[4,7,8,5,1,6,2,3]=>0011010
[4,5,2,1,6,7,8,3]=>0110001
[4,5,6,3,1,7,8,2]=>0011001
[3,5,6,7,4,1,8,2]=>0001101
[3,5,1,4,2,8,7,6]=>0101011
[3,5,1,4,2,6,8,7]=>0101001
[3,5,1,4,2,6,7,8]=>0101000
[1,3,8,4,6,2,5,7]=>0010100
[1,8,4,2,3,7,5,6]=>0110010
[1,4,8,3,2,7,6,5]=>0011011
[1,3,7,6,5,2,4,8]=>0011100
[1,2,8,6,7,5,4,3]=>0010111
[1,7,5,4,3,2,6,8]=>0111100
[3,8,5,7,4,6,2,1]=>0101011
[7,6,3,2,5,1,8,4]=>1110101
[4,2,5,7,8,6,3,1]=>1000111
[6,7,2,4,5,1,8,3]=>0100101
[5,2,7,8,3,6,1,4]=>1001010
[2,4,7,8,1,3,6,5]=>0001001
[8,5,1,2,3,7,4,6]=>1100010
[5,2,8,3,1,4,7,6]=>1011001
[8,7,2,5,1,4,3,6]=>1101010
[8,4,1,3,2,7,6,5]=>1101011
[8,3,5,1,2,4,7,6]=>1010001
[8,6,5,1,7,4,2,3]=>1110110
[8,7,4,5,1,2,6,3]=>1101001
[3,8,6,2,7,1,5,4]=>0110101
[3,4,8,2,1,7,6,5]=>0011011
[3,8,4,2,1,7,6,5]=>0111011
[8,3,1,7,5,6,2,4]=>1101010
[8,4,1,7,5,2,6,3]=>1101101
[8,4,2,7,5,3,1,6]=>1101110
[8,4,3,7,5,1,2,6]=>1101100
[8,5,7,6,4,3,1,2]=>1011110
[8,4,7,6,5,2,1,3]=>1011110
[8,3,1,4,7,6,2,5]=>1100110
[8,3,5,7,6,2,4,1]=>1001101
[1,4,6,8,2,5,7,3]=>0001001
[3,6,2,4,8,1,7,5]=>0100101
[7,3,8,2,4,6,1,5]=>1010010
[1,5,2,6,8,3,7,4]=>0100101
[4,5,3,1,8,2,6,7]=>0110100
[7,2,8,4,1,3,5,6]=>1011000
[6,1,7,3,2,8,4,5]=>1011010
[6,2,1,7,3,8,4,5]=>1101010
[5,8,2,1,3,4,6,7]=>0110000
[4,2,5,1,8,3,6,7]=>1010100
[7,4,2,8,3,1,5,6]=>1101100
[7,4,2,8,3,5,1,6]=>1101010
[6,7,8,5,2,1,4,3]=>0011101
[1,6,2,7,8,4,3,5]=>0100110
[7,3,4,1,8,6,2,5]=>1010110
[4,7,6,3,5,8,2,1]=>0110011
[3,7,6,5,2,4,8,1]=>0111001
[1,4,7,8,6,2,5,3]=>0001101
[1,6,7,8,3,2,5,4]=>0001101
[1,3,2,7,8,4,6,5]=>0100101
[6,8,2,3,5,7,4,1]=>0100011
[5,7,1,4,6,2,8,3]=>0100101
[6,3,1,4,7,8,2,5]=>1100010
[8,7,1,5,4,6,3,2]=>1101011
[4,5,7,1,8,6,2,3]=>0010110
[4,3,8,6,5,2,7,1]=>1011101
[2,3,8,6,5,1,7,4]=>0011101
[5,4,7,3,1,2,6,8]=>1011000
[7,6,2,1,5,4,3,8]=>1110110
[3,1,2,6,5,7,8,4]=>1001001
[7,3,2,6,1,4,8,5]=>1101001
[3,2,5,6,8,4,1,7]=>1000110
[7,2,6,8,5,4,3,1]=>1001111
[3,7,5,6,2,4,1,8]=>0101010
[4,2,5,1,3,6,8,7]=>1010001
[5,3,4,2,7,1,8,6]=>1010101
[5,6,8,2,1,3,4,7]=>0011000
[6,5,2,1,3,8,4,7]=>1110010
[2,4,3,5,6,8,1,7]=>0100010
[6,3,2,4,8,5,1,7]=>1100110
[6,3,1,2,7,8,4,5]=>1100010
[8,4,7,1,2,5,3,6]=>1010010
[7,4,6,1,8,5,2,3]=>1010110
[8,5,6,7,2,1,4,3]=>1001101
[2,5,6,3,8,4,7,1]=>0010101
[6,8,4,2,3,1,7,5]=>0110101
[1,7,6,2,8,3,5,4]=>0110101
[7,1,5,6,3,2,8,4]=>1001101
[4,1,3,8,5,2,7,6]=>1001101
[1,8,5,4,7,2,3,6]=>0110100
[8,2,5,6,4,3,1,7]=>1001110
[2,4,3,8,6,5,1,7]=>0101110
[3,1,4,5,8,6,2,7]=>1000110
[1,8,3,2,5,4,6,7]=>0110100
[5,1,7,3,2,8,4,6]=>1011010
[5,7,8,1,3,2,4,6]=>0010100
[8,2,4,1,6,7,3,5]=>1010010
[8,7,3,6,2,4,1,5]=>1101010
[1,7,4,8,3,6,2,5]=>0101010
[7,8,6,1,3,5,4,2]=>0110011
[1,7,5,8,4,3,2,6]=>0101110
[6,3,1,2,7,8,5,4]=>1100011
[8,2,7,5,3,4,1,6]=>1011010
[6,3,1,2,8,7,5,4]=>1100111
[8,4,7,2,6,3,1,5]=>1010110
[7,6,3,4,2,1,8,5]=>1101101
[8,4,6,2,3,7,1,5]=>1010010
[3,4,5,8,1,7,2,6]=>0001010
[6,3,4,2,7,8,1,5]=>1010010
[5,6,3,7,8,2,1,4]=>0100110
[8,6,3,4,7,2,1,5]=>1100110
[4,3,8,6,7,5,1,2]=>1010110
[4,5,6,2,7,8,3,1]=>0010011
[4,5,6,2,7,1,8,3]=>0010101
[4,5,6,2,1,7,8,3]=>0011001
[4,5,6,2,1,7,3,8]=>0011010
[6,8,7,2,3,1,4,5]=>0110100
[4,5,1,6,7,3,2,8]=>0100110
[2,5,1,8,3,7,4,6]=>0101010
[5,7,2,1,3,8,4,6]=>0110010
[3,7,5,4,1,6,8,2]=>0111001
[7,1,5,4,2,6,3,8]=>1011010
[8,5,6,3,7,2,1,4]=>1010110
[2,7,4,5,6,8,1,3]=>0100010
[2,3,4,6,8,1,7,5]=>0000101
[2,3,5,8,1,6,7,4]=>0001001
[2,4,7,5,6,8,1,3]=>0010010
[7,3,4,6,2,8,1,5]=>1001010
[4,7,6,5,2,8,3,1]=>0111011
[2,5,4,8,6,7,3,1]=>0101011
[7,5,4,1,6,8,2,3]=>1110010
[8,5,2,1,7,6,3,4]=>1110110
[2,7,3,6,4,1,8,5]=>0101101
[7,2,1,8,5,6,4,3]=>1101011
[3,6,5,1,4,8,2,7]=>0110010
[6,3,5,4,8,1,2,7]=>1010100
[2,5,1,4,6,3,8,7]=>0100101
[3,1,5,6,4,2,8,7]=>1001101
[8,5,6,4,3,1,7,2]=>1011101
[8,3,5,6,7,1,2,4]=>1000100
[2,1,4,7,3,6,8,5]=>1001001
[5,3,7,6,4,8,2,1]=>1011011
[3,7,6,4,2,8,1,5]=>0111010
[8,6,1,4,3,7,2,5]=>1101010
[8,4,7,5,1,6,3,2]=>1011011
[2,1,5,3,7,8,6,4]=>1010011
[5,1,4,7,6,8,2,3]=>1001010
[8,4,1,3,7,6,5,2]=>1100111
[8,3,4,1,6,7,5,2]=>1010011
[8,1,4,2,6,5,7,3]=>1010101
[8,6,4,3,7,2,1,5]=>1110110
[5,8,1,4,3,2,6,7]=>0101100
[5,6,4,3,8,2,7,1]=>0110101
[1,6,4,3,8,2,7,5]=>0110101
[6,7,4,1,3,2,5,8]=>0110100
[7,8,1,4,3,2,5,6]=>0101100
[7,1,8,4,5,3,6,2]=>1010101
[4,3,1,8,6,5,7,2]=>1101101
[4,3,2,7,5,1,8,6]=>1101101
[5,2,3,7,4,1,8,6]=>1001101
[2,1,7,4,3,6,8,5]=>1011001
[7,1,2,4,5,6,8,3]=>1000001
[2,8,7,1,4,5,6,3]=>0110001
[8,7,1,3,4,5,6,2]=>1100001
[5,8,3,1,4,6,7,2]=>0110001
[1,7,2,5,4,6,8,3]=>0101001
[2,5,3,8,1,6,7,4]=>0101001
[1,6,4,2,5,7,8,3]=>0110001
[6,5,3,4,1,7,8,2]=>1101001
[5,6,3,4,1,7,8,2]=>0101001
[2,5,3,1,4,7,8,6]=>0110001
[6,8,2,3,1,5,7,4]=>0101001
[4,3,1,5,2,7,8,6]=>1101001
[5,2,3,1,4,7,8,6]=>1010001
[7,2,1,3,5,6,8,4]=>1100001
[5,2,4,7,8,6,3,1]=>1000111
[5,4,8,7,2,3,1,6]=>1011010
[8,1,4,5,3,6,2,7]=>1001010
[8,3,5,1,4,6,2,7]=>1010010
[5,8,2,1,7,4,3,6]=>0110110
[6,5,7,2,1,8,4,3]=>1011011
[1,5,4,7,3,8,6,2]=>0101011
[7,4,1,3,8,5,6,2]=>1100101
[3,6,8,4,1,7,2,5]=>0011010
[2,1,8,4,7,6,3,5]=>1010110
[2,7,5,6,8,4,3,1]=>0100111
[3,5,2,4,7,8,6,1]=>0100011
[7,5,6,3,8,2,1,4]=>1010110
[1,6,2,7,4,5,8,3]=>0101001
[7,4,2,6,1,5,8,3]=>1101001
[8,4,1,6,2,5,7,3]=>1101001
[7,3,4,5,1,6,8,2]=>1001001
[8,4,2,7,6,1,5,3]=>1101101
[8,4,7,1,2,6,5,3]=>1010011
[8,4,7,6,1,2,5,3]=>1011001
[8,7,6,2,1,5,3,4]=>1111010
[5,7,8,1,6,2,4,3]=>0010101
[6,8,4,7,5,2,1,3]=>0101110
[6,8,2,7,1,5,4,3]=>0101011
[6,8,7,4,2,5,1,3]=>0111010
[6,8,4,5,7,2,1,3]=>0100110
[6,8,4,2,5,1,3,7]=>0110100
[2,5,3,7,6,4,8,1]=>0101101
[3,1,5,7,6,4,2,8]=>1001110
[3,1,6,5,4,7,2,8]=>1011010
[2,5,6,8,3,4,7,1]=>0001001
[4,1,3,6,5,2,7,8]=>1001100
[3,6,2,4,5,7,1,8]=>0100010
[3,6,2,5,4,7,1,8]=>0101010
[3,5,1,7,6,4,2,8]=>0101110
[3,6,1,4,5,7,2,8]=>0100010
[4,3,1,6,5,2,7,8]=>1101100
[4,1,2,6,5,3,7,8]=>1001100
[4,6,1,3,5,2,7,8]=>0100100
[3,6,4,2,5,7,1,8]=>0110010
[4,2,6,3,5,1,7,8]=>1010100
[3,4,7,6,5,1,2,8]=>0011100
[4,5,2,7,1,3,6,8]=>0101000
[4,6,1,2,5,3,7,8]=>0100100
[2,6,5,1,4,8,7,3]=>0110011
[5,8,4,7,1,3,6,2]=>0101001
[6,4,7,1,3,5,2,8]=>1010010
[6,8,1,3,5,7,4,2]=>0100011
[5,8,3,2,7,4,6,1]=>0110101
[6,8,3,1,5,4,7,2]=>0110101
[6,8,1,2,5,3,7,4]=>0100101
[5,2,8,3,4,6,7,1]=>1010001
[5,2,7,1,6,4,8,3]=>1010101
[4,5,2,6,1,3,7,8]=>0101000
[4,3,5,8,6,1,7,2]=>1001101
[5,1,3,6,7,4,2,8]=>1000110
[4,2,8,3,6,7,5,1]=>1010011
[3,1,7,8,5,6,2,4]=>1001010
[6,2,1,7,5,3,4,8]=>1101100
[3,7,1,8,5,2,4,6]=>0101100
[4,2,8,6,7,1,3,5]=>1010100
[6,1,2,4,7,3,5,8]=>1000100
[5,3,1,6,4,7,2,8]=>1101010
[1,2,4,5,8,7,3,6]=>0000110
[1,3,4,7,5,8,6,2]=>0001011
[1,5,2,3,7,8,6,4]=>0100011
[4,2,8,1,6,5,7,3]=>1010101
[5,6,1,4,8,3,2,7]=>0100110
[3,6,4,1,7,2,8,5]=>0110101
[5,2,6,3,7,8,4,1]=>1010011
[2,4,1,3,7,8,6,5]=>0100011
[2,6,1,5,7,8,4,3]=>0100011
[5,1,6,4,7,8,2,3]=>1010010
[8,4,6,3,7,5,1,2]=>1010110
[4,7,6,8,2,3,5,1]=>0101001
[5,7,4,8,1,2,6,3]=>0101001
[3,6,7,5,8,1,4,2]=>0010101
[3,7,5,6,8,2,4,1]=>0100101
[2,7,1,6,8,4,5,3]=>0100101
[1,5,4,7,2,6,3,8]=>0101010
[2,4,5,8,3,1,7,6]=>0001101
[1,4,7,5,8,3,6,2]=>0010101
[2,6,8,7,3,5,1,4]=>0011010
[4,7,8,6,2,5,1,3]=>0011010
[4,8,7,3,5,6,2,1]=>0110011
[1,7,6,3,5,4,2,8]=>0110110
[4,3,8,1,6,5,7,2]=>1010101
[1,3,6,2,5,8,7,4]=>0010011
[5,8,7,1,4,6,3,2]=>0110011
[6,2,5,1,3,4,8,7]=>1010001
[2,6,5,1,3,4,8,7]=>0110001
[4,6,5,1,2,7,3,8]=>0110010
[5,6,4,1,2,7,3,8]=>0110010
[8,1,5,6,2,4,3,7]=>1001010
[6,4,5,1,2,7,3,8]=>1010010
[5,4,6,1,3,2,7,8]=>1010100
[5,7,1,4,3,2,6,8]=>0101100
[2,6,4,1,3,7,5,8]=>0110010
[7,8,5,3,2,1,6,4]=>0111101
[1,2,6,7,8,4,5,3]=>0000101
[6,1,4,8,2,7,5,3]=>1001011
[5,2,3,7,1,8,4,6]=>1001010
[7,2,3,1,8,4,6,5]=>1010101
[5,4,1,7,3,2,8,6]=>1101101
[7,3,4,5,1,8,6,2]=>1001011
[1,5,6,7,4,8,2,3]=>0001010
[6,3,2,5,7,4,8,1]=>1100101
[5,7,3,8,1,2,4,6]=>0101000
[4,5,2,7,6,3,1,8]=>0101110
[4,5,2,1,7,6,3,8]=>0110110
[2,6,7,8,3,1,4,5]=>0001100
[6,3,2,5,1,7,8,4]=>1101001
[4,6,3,7,8,2,1,5]=>0100110
[5,6,7,1,8,4,2,3]=>0010110
[1,7,8,4,6,5,2,3]=>0010110
[1,7,3,2,8,6,5,4]=>0110111
[3,7,1,2,8,6,5,4]=>0100111
[2,7,8,1,6,5,3,4]=>0010110
[2,5,8,1,7,6,3,4]=>0010110
[8,1,5,7,3,4,6,2]=>1001001
[5,8,2,7,6,3,1,4]=>0101110
[2,8,4,7,6,3,1,5]=>0101110
[1,8,2,4,7,6,3,5]=>0100110
[4,5,8,7,1,6,2,3]=>0011010
[1,8,2,4,6,7,5,3]=>0100011
[3,4,2,8,1,7,6,5]=>0101011
[2,4,5,8,1,7,6,3]=>0001011
[3,1,8,2,6,7,5,4]=>1010011
[2,6,8,1,4,3,7,5]=>0010101
[4,1,8,2,6,7,3,5]=>1010010
[1,6,5,2,8,7,3,4]=>0110110
[8,1,7,3,5,2,4,6]=>1010100
[8,1,3,2,7,6,4,5]=>1010110
[7,3,4,8,6,2,5,1]=>1001101
[7,5,8,1,6,2,3,4]=>1010100
[6,8,4,5,3,1,7,2]=>0101101
[6,7,5,3,2,8,4,1]=>0111011
[6,2,5,3,8,1,4,7]=>1010100
[7,6,1,3,5,2,4,8]=>1100100
[6,2,4,5,3,8,1,7]=>1001010
[6,1,5,4,7,2,3,8]=>1010100
[6,8,5,4,7,1,3,2]=>0110101
[1,6,8,4,2,5,7,3]=>0011001
[7,5,8,1,3,4,2,6]=>1010010
[1,4,2,8,3,5,7,6]=>0101001
[1,3,5,4,8,7,2,6]=>0010110
[1,6,2,4,8,3,7,5]=>0100101
[1,7,8,5,4,2,6,3]=>0011101
[1,5,2,8,6,4,7,3]=>0101101
[1,6,5,2,7,4,8,3]=>0110101
[5,1,6,7,4,2,8,3]=>1001101
[6,8,1,5,2,3,7,4]=>0101001
[1,5,4,2,8,6,7,3]=>0110101
[1,8,5,4,6,2,7,3]=>0110101
[1,7,5,4,6,2,8,3]=>0110101
[5,8,4,1,6,2,7,3]=>0110101
[4,8,1,3,7,6,2,5]=>0100110
[4,5,3,1,2,8,7,6]=>0110011
[6,4,2,3,1,8,7,5]=>1101011
[6,5,2,1,3,8,7,4]=>1110011
[7,6,1,8,2,5,3,4]=>1101010
[8,4,2,3,7,6,1,5]=>1100110
[5,7,8,1,2,4,3,6]=>0010010
[1,7,6,8,3,5,4,2]=>0101011
[5,7,6,4,2,1,3,8]=>0111100
[6,5,7,4,1,3,2,8]=>1011010
[4,6,1,8,3,5,2,7]=>0101010
[7,1,6,8,2,5,4,3]=>1001011
[4,7,1,8,3,2,5,6]=>0101100
[4,8,3,6,1,5,2,7]=>0101010
[1,7,8,6,4,5,3,2]=>0011011
[3,2,8,6,4,5,1,7]=>1011010
[8,4,3,6,2,5,1,7]=>1101010
[1,6,8,7,4,3,5,2]=>0011101
[3,1,2,6,8,7,5,4]=>1000111
[5,7,4,2,1,8,6,3]=>0111011
[8,6,5,7,2,4,3,1]=>1101011
[7,4,6,1,8,5,3,2]=>1010111
[7,4,6,3,8,1,5,2]=>1010101
[7,4,8,1,6,3,2,5]=>1010110
[7,4,8,3,6,2,1,5]=>1010110
[6,4,8,2,3,5,7,1]=>1010001
[4,6,8,2,5,7,1,3]=>0010010
[6,4,8,2,5,7,1,3]=>1010010
[6,2,4,5,8,3,7,1]=>1000101
[6,8,2,4,7,3,5,1]=>0100101
[8,4,6,2,7,1,3,5]=>1010100
[6,8,4,2,7,1,3,5]=>0110100
[6,8,2,4,1,7,3,5]=>0101010
[7,5,1,6,2,4,8,3]=>1101001
[4,2,5,7,1,6,8,3]=>1001001
[2,4,8,5,6,7,3,1]=>0010011
[4,5,2,3,8,7,1,6]=>0100110
[2,5,4,7,6,1,3,8]=>0101100
[5,2,3,7,6,1,4,8]=>1001100
[4,2,3,7,6,1,5,8]=>1001100
[4,2,7,3,5,1,6,8]=>1010100
[5,6,2,3,8,4,7,1]=>0100101
[5,6,2,3,1,7,8,4]=>0101001
[5,7,2,3,4,1,6,8]=>0100100
[6,2,7,3,5,1,4,8]=>1010100
[7,2,6,3,5,1,4,8]=>1010100
[6,5,2,3,1,7,8,4]=>1101001
[6,5,2,3,8,4,7,1]=>1100101
[7,5,2,1,4,6,8,3]=>1110001
[8,5,2,3,1,6,4,7]=>1101010
[8,6,2,3,1,5,4,7]=>1101010
[8,2,6,3,1,7,4,5]=>1011010
[1,6,3,4,2,7,5,8]=>0101010
[8,5,2,7,3,4,6,1]=>1101001
[1,7,2,4,5,6,8,3]=>0100001
[1,8,3,2,5,6,4,7]=>0110010
[7,2,8,1,4,6,3,5]=>1010010
[2,7,8,1,5,6,3,4]=>0010010
[6,8,2,3,1,5,4,7]=>0101010
[5,8,2,3,1,6,4,7]=>0101010
[5,7,2,1,4,6,8,3]=>0110001
[4,2,7,1,5,6,8,3]=>1010001
[4,2,3,8,1,7,5,6]=>1001010
[4,2,1,5,3,7,6,8]=>1101010
[5,1,3,8,4,6,7,2]=>1001001
[5,1,3,2,6,7,8,4]=>1010001
[5,1,3,4,2,7,6,8]=>1001010
[6,1,3,4,2,7,5,8]=>1001010
[7,2,1,3,5,8,4,6]=>1100010
[6,8,7,2,3,4,5,1]=>0110001
[3,7,2,8,1,4,5,6]=>0101000
[5,2,3,7,4,6,1,8]=>1001010
[2,5,3,7,4,6,1,8]=>0101010
[2,6,7,3,4,5,1,8]=>0010010
[6,2,7,3,4,5,1,8]=>1010010
[3,8,4,5,2,1,6,7]=>0101100
[2,7,6,3,4,5,1,8]=>0110010
[2,8,7,5,1,3,4,6]=>0111000
[4,5,7,2,8,3,6,1]=>0010101
[5,2,1,3,6,7,8,4]=>1100001
[1,6,5,7,2,8,3,4]=>0101010
[7,5,2,6,1,8,4,3]=>1101011
[6,1,5,2,7,8,4,3]=>1010011
[1,6,5,7,2,8,4,3]=>0101011
[1,5,4,6,2,8,7,3]=>0101011
[1,5,4,6,2,8,3,7]=>0101010
[1,5,6,4,8,2,3,7]=>0010100
[6,2,1,5,8,4,7,3]=>1100101
[7,5,6,8,4,1,3,2]=>1001101
[8,3,7,5,1,4,2,6]=>1011010
[8,1,5,7,3,6,2,4]=>1001010
[8,3,2,6,4,5,1,7]=>1101010
[8,5,3,7,4,1,2,6]=>1101100
[8,5,6,2,7,1,3,4]=>1010100
[8,4,7,2,6,5,1,3]=>1010110
[8,5,7,3,2,6,1,4]=>1011010
[8,1,2,3,6,4,7,5]=>1000101
[7,6,2,3,5,8,1,4]=>1100010
[4,5,3,7,8,1,6,2]=>0100101
[3,4,2,8,1,6,7,5]=>0101001
[8,3,4,1,5,7,6,2]=>1010011
[4,3,7,5,1,6,2,8]=>1011010
[5,2,6,1,4,3,7,8]=>1010100
[5,3,7,4,2,8,6,1]=>1011011
[7,2,5,8,6,1,4,3]=>1001101
[5,3,1,4,6,7,8,2]=>1100001
[4,6,2,1,3,7,8,5]=>0110001
[2,5,4,1,3,6,7,8]=>0110000
[6,5,2,7,4,1,3,8]=>1101100
[3,1,6,7,8,4,5,2]=>1000101
[7,4,5,6,2,1,8,3]=>1001101
[3,7,5,6,2,1,8,4]=>0101101
[1,7,6,3,8,4,5,2]=>0110101
[6,4,1,2,7,8,3,5]=>1100010
[6,4,1,3,5,2,7,8]=>1100100
[5,1,8,3,4,6,2,7]=>1010010
[4,5,8,2,3,7,1,6]=>0010010
[7,3,4,8,2,5,1,6]=>1001010
[4,7,2,5,1,6,8,3]=>0101001
[6,3,1,7,4,2,5,8]=>1101100
[8,7,2,1,5,3,6,4]=>1110101
[7,2,8,1,5,6,4,3]=>1010011
[5,6,4,2,1,8,3,7]=>0111010
[5,7,3,6,4,1,2,8]=>0101100
[2,4,3,5,8,1,6,7]=>0100100
[2,6,5,3,8,1,4,7]=>0110100
[6,1,2,4,3,5,7,8]=>1001000
[6,5,8,2,7,3,4,1]=>1010101
[1,7,6,8,4,3,2,5]=>0101110
[1,7,6,5,3,8,2,4]=>0111010
[6,1,2,4,3,5,8,7]=>1001001
[4,6,1,3,7,8,5,2]=>0100011
[8,4,1,5,2,6,7,3]=>1101001
[1,5,6,3,8,7,2,4]=>0010110
[5,3,2,6,8,7,1,4]=>1100110
[6,3,5,2,7,1,4,8]=>1010100
[8,5,2,6,7,1,4,3]=>1100101
[5,3,8,7,1,4,2,6]=>1011010
[6,4,5,3,1,8,7,2]=>1011011
[8,5,1,2,3,6,7,4]=>1100001
[2,8,6,1,5,4,7,3]=>0110101
[8,3,2,6,1,5,7,4]=>1101001
[3,8,6,4,7,1,2,5]=>0110100
[1,8,7,5,4,3,2,6]=>0111110
[8,6,4,7,1,3,2,5]=>1101010
[3,1,4,7,6,2,5,8]=>1001100
[5,3,4,1,6,2,7,8]=>1010100
[2,7,1,4,6,3,5,8]=>0100100
[7,3,1,6,5,2,4,8]=>1101100
[7,1,5,2,4,6,3,8]=>1010010
[6,1,4,5,2,7,3,8]=>1001010
[6,1,5,8,2,7,4,3]=>1001011
[7,1,2,3,6,4,5,8]=>1000100
[6,3,1,8,5,4,7,2]=>1101101
[6,1,3,8,7,4,5,2]=>1001101
[2,8,4,6,5,1,7,3]=>0101101
[7,4,1,3,6,5,2,8]=>1100110
[5,7,2,8,1,3,6,4]=>0101001
[6,5,1,4,7,3,2,8]=>1100110
[2,7,8,4,1,3,6,5]=>0011001
[2,4,6,5,7,8,1,3]=>0010010
[2,4,6,7,5,8,1,3]=>0001010
[2,4,6,3,7,8,1,5]=>0010010
[2,4,5,6,8,7,1,3]=>0000110
[2,4,5,6,8,3,7,1]=>0000101
[2,4,5,6,3,8,1,7]=>0001010
[2,3,4,6,8,5,1,7]=>0000110
[5,2,8,3,4,1,6,7]=>1010100
[3,6,4,1,2,7,8,5]=>0110001
[4,1,7,3,8,6,2,5]=>1010110
[8,4,1,2,5,3,7,6]=>1100101
[1,5,2,7,6,8,4,3]=>0101011
[4,7,6,8,3,1,2,5]=>0101100
[4,8,2,7,6,5,1,3]=>0101110
[7,4,2,8,6,5,1,3]=>1101110
[8,6,5,2,7,1,4,3]=>1110101
[6,5,8,2,7,1,4,3]=>1010101
[7,5,8,2,1,6,4,3]=>1011011
[3,2,1,6,5,8,4,7]=>1101010
[2,6,4,8,5,7,3,1]=>0101011
[6,3,1,4,5,8,2,7]=>1100010
[3,4,8,5,2,1,7,6]=>0011101
[4,8,7,1,3,2,6,5]=>0110101
[5,8,7,4,6,1,3,2]=>0110101
[3,4,1,8,7,6,2,5]=>0101110
[1,3,5,6,8,7,2,4]=>0000110
[2,8,7,5,4,1,6,3]=>0111101
[8,1,5,7,4,2,6,3]=>1001101
[5,8,7,3,4,1,6,2]=>0110101
[4,6,1,3,2,8,5,7]=>0101010
[2,6,5,8,3,1,4,7]=>0101100
[6,7,8,2,4,5,3,1]=>0010011
[3,2,8,4,5,7,1,6]=>1010010
[6,1,8,2,4,5,3,7]=>1010010
[8,3,6,4,2,7,1,5]=>1011010
[1,3,8,4,7,6,2,5]=>0010110
[8,3,7,5,4,1,2,6]=>1011100
[2,6,4,7,8,5,1,3]=>0100110
[5,4,3,7,6,1,8,2]=>1101101
[8,6,3,7,1,4,2,5]=>1101010
[3,1,2,8,7,6,4,5]=>1001110
[8,5,4,1,2,3,7,6]=>1110001
[8,3,2,1,6,4,7,5]=>1110101
[2,3,8,4,1,7,5,6]=>0011010
[4,6,1,3,2,7,8,5]=>0101001
[6,7,2,5,8,4,1,3]=>0100110
[4,1,7,8,2,5,6,3]=>1001001
[3,4,6,7,1,5,8,2]=>0001001
[3,4,5,7,8,1,6,2]=>0000101
[1,8,7,4,3,5,2,6]=>0111010
[2,4,5,8,1,3,7,6]=>0001001
[2,7,8,6,5,3,1,4]=>0011110
[6,3,1,5,8,4,2,7]=>1100110
[2,8,3,5,6,1,4,7]=>0100100
[1,3,6,4,2,7,5,8]=>0011010
[2,3,7,5,8,1,4,6]=>0010100
[3,2,8,5,6,1,4,7]=>1010100
[7,2,5,8,1,4,6,3]=>1001001
[4,7,5,8,1,2,6,3]=>0101001
[4,7,5,8,1,2,3,6]=>0101000
[3,4,7,5,2,8,1,6]=>0011010
[4,3,2,5,7,8,1,6]=>1100010
[2,4,7,5,8,3,1,6]=>0010110
[2,5,4,7,3,8,1,6]=>0101010
[3,7,8,4,2,1,6,5]=>0011101
[8,5,4,7,6,3,1,2]=>1101110
[1,5,4,8,7,6,2,3]=>0101110
[3,2,4,5,8,1,6,7]=>1000100
[3,6,8,4,2,7,1,5]=>0011010
[1,4,7,6,3,8,2,5]=>0011010
[3,6,5,1,7,2,8,4]=>0110101
[7,4,1,6,2,8,5,3]=>1101011
[1,3,6,8,2,4,7,5]=>0001001
[1,6,7,4,3,8,2,5]=>0011010
[7,3,1,6,5,2,8,4]=>1101101
[8,5,4,1,6,2,7,3]=>1110101
[4,7,2,8,5,1,6,3]=>0101101
[7,8,6,2,1,5,4,3]=>0111011
[8,6,2,7,3,5,1,4]=>1101010
[2,1,3,8,7,5,6,4]=>1001101
[8,1,7,3,6,5,2,4]=>1010110
[1,6,4,7,3,8,5,2]=>0101011
[4,8,1,6,3,7,2,5]=>0101010
[8,5,4,1,6,3,7,2]=>1110101
[1,7,6,2,4,8,5,3]=>0110011
[5,7,3,2,4,8,6,1]=>0110011
[2,8,4,6,3,5,1,7]=>0101010
[2,7,8,3,6,4,5,1]=>0010101
[3,8,1,4,6,5,2,7]=>0100110
[2,7,5,4,1,8,3,6]=>0111010
[4,6,1,8,5,3,2,7]=>0101110
[3,8,5,2,1,6,4,7]=>0111010
[5,1,4,8,2,6,3,7]=>1001010
[4,5,8,1,3,7,6,2]=>0010011
[8,6,7,1,4,3,2,5]=>1010110
[1,4,7,8,6,3,5,2]=>0001101
[8,5,2,6,3,4,7,1]=>1101001
[8,3,6,1,2,7,4,5]=>1010010
[3,8,6,1,2,5,7,4]=>0110001
[3,7,6,2,1,8,5,4]=>0111011
[4,3,7,6,1,8,5,2]=>1011011
[8,6,3,2,7,1,5,4]=>1110101
[6,8,1,5,4,7,2,3]=>0101010
[6,7,2,5,4,8,1,3]=>0101010
[7,6,2,4,8,5,1,3]=>1100110
[4,6,8,7,3,1,2,5]=>0011100
[4,7,5,2,6,3,8,1]=>0110101
[3,5,6,2,8,1,4,7]=>0010100
[5,1,2,4,3,7,6,8]=>1001010
[6,1,8,2,4,3,5,7]=>1010100
[1,6,8,2,5,3,4,7]=>0010100
[8,7,6,2,4,5,1,3]=>1110010
[8,7,6,2,4,5,3,1]=>1110011
[5,4,8,7,1,2,6,3]=>1011001
[2,5,6,4,3,8,1,7]=>0011010
[8,7,3,5,1,4,6,2]=>1101001
[8,6,3,5,2,1,4,7]=>1101100
[8,7,3,5,2,4,6,1]=>1101001
[8,4,2,7,6,5,1,3]=>1101110
[4,6,3,8,5,2,7,1]=>0101101
[8,7,1,4,5,6,2,3]=>1100010
[4,1,3,8,5,6,2,7]=>1001010
[5,2,8,3,1,6,7,4]=>1011001
[1,7,8,6,3,2,5,4]=>0011101
[3,7,2,4,5,6,1,8]=>0100010
[3,2,8,1,5,7,4,6]=>1010010
[3,4,6,7,2,1,5,8]=>0001100
[2,6,7,1,4,3,8,5]=>0010101
[3,2,7,4,8,5,6,1]=>1010101
[6,3,8,5,4,2,7,1]=>1011101
[7,4,6,1,3,5,2,8]=>1010010
[1,5,3,8,7,4,6,2]=>0101101
[5,1,3,8,7,4,6,2]=>1001101
[2,5,3,8,7,4,1,6]=>0101110
[6,8,3,5,1,2,7,4]=>0101001
[5,8,2,7,4,6,3,1]=>0101011
[4,5,2,8,3,7,1,6]=>0101010
[7,8,5,1,6,4,3,2]=>0110111
[8,7,5,1,6,4,3,2]=>1110111
[4,5,8,3,1,2,7,6]=>0011001
[4,6,8,3,2,1,7,5]=>0011101
[4,6,8,3,5,1,2,7]=>0010100
[1,4,6,3,7,5,2,8]=>0010110
[4,5,2,6,8,7,3,1]=>0100111
[1,3,8,7,4,5,6,2]=>0011001
[7,3,1,8,4,5,6,2]=>1101001
[3,2,8,7,4,5,6,1]=>1011001
[6,2,4,3,7,5,8,1]=>1010101
[6,4,2,5,1,7,8,3]=>1101001
[3,8,2,1,5,7,6,4]=>0110011
[1,3,2,8,7,4,6,5]=>0101101
[7,5,2,8,3,1,6,4]=>1101101
[5,4,2,7,3,8,6,1]=>1101011
[4,6,3,7,8,1,2,5]=>0100100
[8,3,5,4,7,1,2,6]=>1010100
[6,2,5,4,1,7,8,3]=>1011001
[4,1,5,6,3,8,7,2]=>1001011
[8,5,1,6,3,2,4,7]=>1101100
[6,8,7,4,3,2,5,1]=>0111101
[2,8,5,1,3,7,6,4]=>0110011
[5,6,4,1,8,2,7,3]=>0110101
[6,4,5,1,3,8,7,2]=>1010011
[6,1,3,5,4,8,2,7]=>1001010
[1,3,8,7,2,5,6,4]=>0011001
[2,5,4,1,8,3,7,6]=>0110101
[5,1,4,8,3,7,6,2]=>1001011
[8,4,1,2,7,6,5,3]=>1100111
[4,8,3,2,7,6,5,1]=>0110111
[1,8,7,3,4,6,5,2]=>0110011
[5,3,1,2,4,6,8,7]=>1100001
[8,5,7,3,1,2,4,6]=>1011000
[3,1,2,8,7,5,4,6]=>1001110
[1,4,3,8,5,7,2,6]=>0101010
[6,7,1,5,2,8,4,3]=>0101011
[1,5,3,7,6,4,8,2]=>0101101
[4,8,1,3,6,2,7,5]=>0100101
[2,7,3,4,8,6,5,1]=>0100111
[1,8,2,4,7,3,6,5]=>0100101
[6,2,3,8,1,5,7,4]=>1001001
[2,5,7,4,8,3,6,1]=>0010101
[8,5,6,2,4,7,1,3]=>1010010
[4,8,5,6,7,1,3,2]=>0100101
[8,1,5,7,3,6,4,2]=>1001011
[2,7,6,4,3,8,5,1]=>0111011
[3,8,6,2,7,5,4,1]=>0110111
[4,8,1,6,2,5,3,7]=>0101010
[1,8,4,2,5,7,3,6]=>0110010
[5,8,3,1,2,4,6,7]=>0110000
[1,4,8,5,2,3,6,7]=>0011000
[1,4,8,5,2,3,7,6]=>0011001
[1,5,8,7,2,4,3,6]=>0011010
[1,5,4,2,8,3,7,6]=>0110101
[1,2,8,7,3,5,4,6]=>0011010
[8,7,1,3,2,5,4,6]=>1101010
[6,7,4,2,8,1,3,5]=>0110100
[4,1,6,8,7,2,3,5]=>1001100
[4,7,5,6,2,8,3,1]=>0101011
[8,4,3,6,7,5,2,1]=>1100111
[6,7,5,2,8,4,3,1]=>0110111
[6,8,4,3,2,7,5,1]=>0111011
[6,1,7,3,5,8,2,4]=>1010010
[1,3,7,6,4,8,2,5]=>0011010
[2,6,4,8,7,3,1,5]=>0101110
[2,1,8,7,3,5,4,6]=>1011010
[6,1,5,8,7,4,3,2]=>1001111
[6,1,8,5,7,4,3,2]=>1010111
[8,5,1,4,7,6,3,2]=>1100111
[8,1,3,7,2,4,6,5]=>1001001
[2,6,7,3,5,8,4,1]=>0010011
[2,6,7,3,5,8,1,4]=>0010010
[5,3,1,6,4,8,2,7]=>1101010
[2,5,6,7,1,4,8,3]=>0001001
[4,7,5,3,2,8,1,6]=>0111010
[4,7,5,2,8,6,1,3]=>0110110
[5,8,1,2,7,4,3,6]=>0100110
[6,3,1,8,2,4,5,7]=>1101000
[4,6,3,7,8,1,5,2]=>0100101
[6,3,1,8,4,5,2,7]=>1101010
[2,1,4,7,5,8,6,3]=>1001011
[7,6,2,4,8,3,1,5]=>1100110
[6,5,8,1,4,3,7,2]=>1010101
[8,1,4,2,7,5,6,3]=>1010101
[8,6,3,5,2,1,7,4]=>1101101
[6,8,3,1,2,5,4,7]=>0110010
[5,8,6,4,7,1,2,3]=>0110100
[2,5,1,8,7,3,4,6]=>0101100
[7,2,4,3,8,6,1,5]=>1010110
[6,8,4,3,5,1,7,2]=>0110101
[1,4,7,3,6,8,2,5]=>0010010
[3,7,1,4,6,8,2,5]=>0100010
[2,4,7,3,6,8,1,5]=>0010010
[8,5,7,6,1,3,2,4]=>1011010
[2,7,5,6,1,8,4,3]=>0101011
[1,2,6,7,4,5,8,3]=>0001001
[6,5,2,8,7,1,4,3]=>1101101
[7,2,3,6,8,1,4,5]=>1000100
[2,6,1,3,8,5,4,7]=>0100110
[6,4,1,8,3,2,5,7]=>1101100
[5,8,1,4,2,7,3,6]=>0101010
[2,3,1,6,8,7,4,5]=>0100110
[6,4,8,2,1,7,3,5]=>1011010
[2,3,1,8,7,5,6,4]=>0101101
[1,5,6,7,2,4,3,8]=>0001010
[2,8,6,4,1,5,3,7]=>0111010
[1,5,7,3,6,2,4,8]=>0010100
[6,7,4,5,1,3,8,2]=>0101001
[1,6,5,3,8,2,4,7]=>0110100
[5,6,1,2,4,8,3,7]=>0100010
[8,7,4,5,1,3,2,6]=>1101010
[8,5,1,2,7,4,3,6]=>1100110
[4,1,8,7,2,5,3,6]=>1011010
[2,6,3,8,4,1,7,5]=>0101101
[3,2,4,6,1,8,7,5]=>1001011
[3,6,7,4,1,2,5,8]=>0011000
[1,4,7,5,8,2,3,6]=>0010100
[1,6,8,4,7,3,2,5]=>0010110
[3,6,7,5,4,8,1,2]=>0011010
[4,5,7,2,6,3,8,1]=>0010101
[2,1,5,7,4,6,8,3]=>1001001
[2,3,5,7,8,1,6,4]=>0000101
[1,5,7,4,2,3,6,8]=>0011000
[2,4,7,5,3,6,8,1]=>0011001
[8,1,7,2,4,6,3,5]=>1010010
[1,2,4,7,8,6,3,5]=>0000110
[1,3,6,2,5,8,4,7]=>0010010
[1,5,3,6,8,2,4,7]=>0100100
[4,8,1,2,6,3,7,5]=>0100101
[5,8,1,2,6,3,7,4]=>0100101
[1,6,2,3,7,5,8,4]=>0100101
[4,1,2,6,5,7,8,3]=>1001001
[1,8,4,2,7,3,6,5]=>0110101
[1,7,5,2,3,8,6,4]=>0110011
[8,1,4,7,3,5,2,6]=>1001010
[8,4,3,6,1,7,2,5]=>1101010
[2,6,1,8,3,7,4,5]=>0101010
[8,4,2,1,3,7,5,6]=>1110010
[2,5,1,7,6,8,3,4]=>0101010
[5,3,1,8,2,4,7,6]=>1101001
[1,2,6,3,7,5,8,4]=>0010101
[5,1,8,3,2,4,7,6]=>1011001
[3,1,5,4,6,7,8,2]=>1010001
[2,8,5,7,3,1,4,6]=>0101100
[2,6,8,7,3,1,4,5]=>0011100
[7,4,2,1,3,8,5,6]=>1110010
[7,2,1,3,8,5,4,6]=>1100110
[2,1,7,3,8,6,4,5]=>1010110
[1,7,5,3,2,4,8,6]=>0111001
[1,4,2,7,6,5,8,3]=>0101101
[3,4,1,6,5,7,8,2]=>0101001
[2,8,7,3,4,1,5,6]=>0110100
[5,7,6,2,3,8,1,4]=>0110010
[4,5,7,6,2,8,1,3]=>0011010
[3,1,8,7,5,2,6,4]=>1011101
[4,5,6,8,7,2,1,3]=>0001110
[2,8,3,1,5,4,7,6]=>0110101
[3,8,4,1,5,2,7,6]=>0110101
[5,1,7,8,3,2,6,4]=>1001101
[1,8,6,2,4,3,7,5]=>0110101
[4,8,3,1,6,2,7,5]=>0110101
[2,8,3,1,6,4,7,5]=>0110101
[6,2,7,1,5,8,4,3]=>1010011
[4,8,5,1,3,2,6,7]=>0110100
[5,4,3,1,2,7,6,8]=>1110010
[4,1,6,5,2,3,7,8]=>1011000
[7,1,5,2,3,6,4,8]=>1010010
[4,1,6,3,7,2,5,8]=>1010100
[4,6,1,2,8,3,7,5]=>0100101
[4,1,3,6,7,2,5,8]=>1000100
[2,6,5,1,3,4,7,8]=>0110000
[2,6,7,4,3,1,5,8]=>0011100
[2,6,3,1,7,4,5,8]=>0110100
[6,5,3,7,2,4,1,8]=>1101010
[2,3,6,7,1,5,4,8]=>0001010
[2,7,5,8,1,3,6,4]=>0101001
[5,1,6,7,3,2,4,8]=>1001100
[5,6,1,4,7,2,3,8]=>0100100
[1,2,5,7,8,6,3,4]=>0000110
[1,2,6,7,4,5,3,8]=>0001010
[1,2,7,8,4,6,3,5]=>0001010
[8,6,5,2,1,7,4,3]=>1111011
[4,3,8,6,7,1,5,2]=>1010101
[8,3,2,4,7,1,6,5]=>1100101
[7,3,2,8,6,1,5,4]=>1101101
[7,5,8,2,6,1,4,3]=>1010101
[7,4,1,2,6,5,8,3]=>1100101
[5,2,7,4,6,1,8,3]=>1010101
[7,4,1,2,3,6,8,5]=>1100001
[5,4,8,6,3,2,1,7]=>1011110
[8,4,6,7,3,1,5,2]=>1001101
[4,6,8,5,1,2,7,3]=>0011001
[4,1,3,6,8,5,2,7]=>1000110
[6,3,5,7,1,2,8,4]=>1001001
[1,8,5,3,2,4,6,7]=>0111000
[1,6,7,3,4,2,5,8]=>0010100
[1,6,8,3,4,2,5,7]=>0010100
[1,8,7,5,3,4,2,6]=>0111010
[1,7,8,5,3,4,2,6]=>0011010
[1,7,6,8,4,2,3,5]=>0101100
[1,7,8,6,4,3,2,5]=>0011110
[5,1,7,8,4,2,3,6]=>1001100
[3,8,2,1,6,7,5,4]=>0110011
[2,8,3,1,7,5,6,4]=>0110101
[8,5,6,2,1,4,7,3]=>1011001
[2,7,4,1,5,8,3,6]=>0110010
[2,1,6,4,7,8,3,5]=>1010010
[5,7,8,3,4,2,1,6]=>0010110
[4,7,5,3,8,2,6,1]=>0110101
[2,6,4,7,8,5,3,1]=>0100111
[7,8,4,5,6,1,3,2]=>0100101
[2,5,1,8,4,6,7,3]=>0101001
[5,2,8,4,6,7,1,3]=>1010010
[6,5,8,3,4,2,1,7]=>1010110
[1,3,5,8,4,6,7,2]=>0001001
[8,2,7,6,3,4,5,1]=>1011001
[6,8,7,3,2,1,4,5]=>0111100
[3,4,8,2,7,1,5,6]=>0010100
[7,2,6,1,4,8,3,5]=>1010010
[7,8,1,2,4,6,3,5]=>0100010
[7,2,8,3,4,5,1,6]=>1010010
[6,1,8,3,4,2,5,7]=>1010100
[7,5,1,2,4,3,8,6]=>1100101
[7,6,8,1,4,2,3,5]=>1010100
[2,4,3,7,8,5,6,1]=>0100101
[2,1,7,6,3,4,5,8]=>1011000
[6,3,5,2,1,8,4,7]=>1011010
[6,1,5,3,8,2,4,7]=>1010100
[2,3,6,8,5,1,7,4]=>0001101
[3,2,4,8,6,1,7,5]=>1001101
[2,1,3,8,4,5,7,6]=>1001001
[3,1,2,8,5,4,7,6]=>1001101
[2,1,3,7,8,4,6,5]=>1000101
[2,1,3,8,4,7,6,5]=>1001011
[3,1,2,8,4,5,7,6]=>1001001
[1,2,8,7,5,4,6,3]=>0011101
[4,6,7,2,3,8,1,5]=>0010010
[3,2,6,5,7,8,1,4]=>1010010
[3,2,7,5,6,8,1,4]=>1010010
[2,1,8,7,4,6,5,3]=>1011011
[6,1,5,8,4,7,3,2]=>1001011
[1,4,6,8,5,7,2,3]=>0001010
[2,4,7,1,8,3,6,5]=>0010101
[6,1,5,4,2,3,8,7]=>1011001
[6,4,5,1,2,8,3,7]=>1010010
[8,4,1,5,7,6,3,2]=>1100111
[8,1,6,3,5,2,4,7]=>1010100
[4,6,2,5,3,8,1,7]=>0101010
[4,6,5,2,1,8,3,7]=>0111010
[5,8,4,3,6,7,2,1]=>0110011
[6,8,2,1,5,3,4,7]=>0110100
[2,5,3,8,6,7,4,1]=>0101011
[3,2,6,5,1,8,4,7]=>1011010
[7,4,5,8,1,6,2,3]=>1001010
[4,5,8,1,6,7,3,2]=>0010011
[5,1,8,4,6,7,3,2]=>1010011
[6,5,3,8,1,7,2,4]=>1101010
[8,3,7,1,6,2,4,5]=>1010100
[8,1,4,6,5,7,2,3]=>1001010
[8,1,7,5,6,4,2,3]=>1010110
[8,6,1,5,3,7,2,4]=>1101010
[7,2,3,6,8,1,5,4]=>1000101
[2,6,3,7,8,1,4,5]=>0100100
[6,3,8,7,2,1,5,4]=>1011101
[7,2,5,6,3,4,8,1]=>1001001
[7,2,8,6,3,1,5,4]=>1011101
[7,2,4,5,8,6,3,1]=>1000111
[6,3,8,4,7,2,5,1]=>1010101
[7,2,3,6,8,5,4,1]=>1000111
[7,2,8,5,4,1,3,6]=>1011100
[7,4,5,2,8,1,6,3]=>1010101
[7,5,4,2,8,1,6,3]=>1110101
[7,6,3,2,8,4,5,1]=>1110101
[7,2,3,6,8,4,5,1]=>1000101
[7,2,5,4,8,3,6,1]=>1010101
[7,2,8,3,6,1,4,5]=>1010100
[7,4,5,2,8,3,6,1]=>1010101
[3,1,6,7,4,5,2,8]=>1001010
[3,1,5,4,7,6,2,8]=>1010110
[7,3,6,8,2,4,5,1]=>1001001
[5,1,3,2,4,6,8,7]=>1010001
[8,4,2,5,1,7,3,6]=>1101010
[6,4,2,5,7,3,8,1]=>1100101
[5,7,8,4,2,3,6,1]=>0011001
[6,4,5,2,8,3,7,1]=>1010101
[6,5,2,4,3,8,7,1]=>1101011
[6,5,3,4,1,8,2,7]=>1101010
[6,4,5,3,8,1,2,7]=>1010100
[5,6,4,8,3,1,2,7]=>0101100
[7,2,4,6,3,8,5,1]=>1001011
[2,8,3,7,6,1,5,4]=>0101101
[5,4,2,6,8,7,3,1]=>1100111
[3,7,2,5,8,6,4,1]=>0100111
[2,4,8,7,6,1,5,3]=>0011101
[3,2,8,7,4,6,5,1]=>1011011
[8,2,6,5,1,4,3,7]=>1011010
[4,8,5,2,7,6,3,1]=>0110111
[2,8,6,5,7,1,3,4]=>0110100
[3,8,4,7,2,1,6,5]=>0101101
[4,8,5,1,7,6,3,2]=>0110111
[5,8,1,7,6,2,3,4]=>0101100
[3,4,6,2,5,7,1,8]=>0010010
[1,7,5,2,6,8,3,4]=>0110010
[5,1,7,2,4,6,3,8]=>1010010
[6,8,2,1,3,4,7,5]=>0110001
[5,2,1,7,6,4,3,8]=>1101110
[7,4,8,3,6,5,1,2]=>1010110
[6,4,8,5,1,7,2,3]=>1011010
[5,2,8,1,3,6,7,4]=>1010001
[6,3,2,7,4,5,8,1]=>1101001
[7,4,3,8,5,6,1,2]=>1101010
[6,2,1,8,7,4,5,3]=>1101101
[6,2,1,8,7,3,5,4]=>1101101
[5,2,1,7,6,3,4,8]=>1101100
[4,2,6,8,5,7,1,3]=>1001010
[8,6,4,3,2,7,5,1]=>1111011
[1,3,4,7,8,2,6,5]=>0000101
[1,5,4,3,8,7,2,6]=>0110110
[1,2,5,8,4,3,6,7]=>0001100
[1,5,8,2,6,4,3,7]=>0010110
[3,5,6,2,4,7,8,1]=>0010001
[3,5,6,7,2,4,8,1]=>0001001
[3,5,7,6,8,2,4,1]=>0010101
[3,5,7,2,6,8,4,1]=>0010011
[3,5,2,7,6,8,4,1]=>0101011
[3,5,7,4,2,6,8,1]=>0011001
[3,5,4,7,2,6,8,1]=>0101001
[3,4,5,7,2,6,8,1]=>0001001
[3,4,5,7,2,8,6,1]=>0001011
[3,5,4,7,8,2,6,1]=>0100101
[3,5,4,7,2,8,6,1]=>0101011
[3,2,5,7,4,8,6,1]=>1001011
[3,5,7,4,2,8,6,1]=>0011011
[3,5,7,8,4,2,6,1]=>0001101
[2,3,5,7,8,4,6,1]=>0000101
[3,5,2,7,8,6,4,1]=>0100111
[3,5,7,8,2,6,4,1]=>0001011
[3,5,7,8,6,2,4,1]=>0001101
[4,2,5,6,7,3,8,1]=>1000101
[8,6,1,4,3,5,2,7]=>1101010
[6,1,8,4,3,5,2,7]=>1011010
[5,1,6,4,8,2,3,7]=>1010100
[8,1,4,2,5,3,6,7]=>1010100
[2,8,4,1,5,3,6,7]=>0110100
[8,4,1,3,5,2,6,7]=>1100100
[4,1,8,3,5,2,6,7]=>1010100
[8,3,1,2,5,4,6,7]=>1100100
[3,1,8,2,5,4,6,7]=>1010100
[4,2,5,1,8,7,6,3]=>1010111
[5,2,4,8,1,7,6,3]=>1001011
[7,3,2,4,6,8,1,5]=>1100010
[1,4,8,6,7,2,5,3]=>0010101
[1,4,5,7,3,8,2,6]=>0001010
[4,6,8,1,2,5,3,7]=>0010010
[3,5,6,8,2,1,4,7]=>0001100
[8,2,5,4,1,3,7,6]=>1011001
[2,4,5,8,6,3,1,7]=>0001110
[5,4,8,2,3,1,7,6]=>1010101
[4,7,5,8,2,3,1,6]=>0101010
[4,6,7,5,1,8,3,2]=>0011011
[1,7,3,6,5,8,2,4]=>0101010
[8,3,4,2,6,7,1,5]=>1010010
[7,5,3,8,6,2,1,4]=>1101110
[7,3,1,8,2,6,5,4]=>1101011
[4,6,7,5,2,8,3,1]=>0011011
[5,8,7,2,4,3,1,6]=>0110110
[5,1,2,8,6,7,3,4]=>1001010
[2,5,7,8,6,1,4,3]=>0001101
[7,2,6,8,4,5,1,3]=>1001010
[5,1,7,6,8,2,3,4]=>1010100
[1,7,6,2,4,3,8,5]=>0110101
[7,1,6,2,4,5,3,8]=>1010010
[5,7,1,6,2,3,4,8]=>0101000
[6,2,5,8,3,4,1,7]=>1001010
[5,6,8,7,1,3,2,4]=>0011010
[1,5,3,4,8,2,6,7]=>0100100
[2,1,3,6,5,8,4,7]=>1001010
[2,8,6,5,7,4,3,1]=>0110111
[2,8,6,5,7,4,1,3]=>0110110
[6,5,2,7,4,3,1,8]=>1101110
[6,5,2,8,4,3,7,1]=>1101101
[7,5,8,3,4,2,1,6]=>1010110
[7,6,8,5,2,4,1,3]=>1011010
[5,3,7,2,4,1,8,6]=>1010101
[5,1,2,8,6,3,7,4]=>1001101
[6,1,5,7,2,4,3,8]=>1001010
[4,1,8,2,6,5,7,3]=>1010101
[6,1,4,7,8,5,3,2]=>1000111
[6,1,5,7,8,4,2,3]=>1000110
[4,6,1,5,7,2,8,3]=>0100101
[2,5,8,4,6,3,7,1]=>0010101
[4,3,7,1,2,6,8,5]=>1010001
[8,1,6,5,2,7,4,3]=>1011011
[6,8,1,5,2,7,4,3]=>0101011
[4,5,8,2,3,7,6,1]=>0010011
[5,6,2,7,4,8,3,1]=>0101011
[1,7,3,2,4,8,6,5]=>0110011
[4,3,1,8,2,6,7,5]=>1101001
[4,8,1,3,2,5,7,6]=>0101001
[1,7,5,3,8,6,2,4]=>0110110
[2,5,3,8,1,4,7,6]=>0101001
[4,2,5,8,1,3,7,6]=>1001001
[8,1,2,4,3,5,7,6]=>1001001
[2,4,3,8,1,5,7,6]=>0101001
[3,1,7,4,8,6,5,2]=>1010111
[6,4,5,3,2,8,7,1]=>1011011
[2,7,3,8,5,1,6,4]=>0101101
[8,7,3,2,5,6,4,1]=>1110011
[3,1,8,2,6,5,4,7]=>1010110
[7,6,2,8,1,4,5,3]=>1101001
[2,3,8,4,1,5,7,6]=>0011001
[8,4,2,3,1,5,7,6]=>1101001
[8,2,3,4,1,5,7,6]=>1001001
[7,1,6,2,4,8,3,5]=>1010010
[2,7,8,1,4,3,6,5]=>0010101
[6,5,8,1,3,2,4,7]=>1010100
[2,1,8,5,3,4,6,7]=>1011000
[8,4,1,3,2,5,6,7]=>1101000
[8,6,1,2,3,5,4,7]=>1100010
[7,8,1,5,2,4,6,3]=>0101001
[2,8,6,3,1,5,4,7]=>0111010
[5,7,2,8,4,1,6,3]=>0101101
[2,5,6,3,8,1,4,7]=>0010100
[7,4,5,6,8,1,3,2]=>1000101
[7,6,8,1,4,5,3,2]=>1010011
[7,5,1,8,4,6,3,2]=>1101011
[1,7,8,5,6,4,3,2]=>0010111
[2,8,1,7,4,5,3,6]=>0101010
[7,3,6,2,5,4,8,1]=>1010101
[1,6,2,3,5,8,4,7]=>0100010
[1,8,5,6,4,3,7,2]=>0101101
[2,6,8,4,5,1,7,3]=>0010101
[4,6,5,7,8,1,3,2]=>0100101
[2,5,8,6,4,7,1,3]=>0011010
[5,3,2,1,7,8,4,6]=>1110010
[8,4,1,3,6,7,2,5]=>1100010
[1,6,5,3,8,4,7,2]=>0110101
[7,6,2,3,5,1,4,8]=>1100100
[6,2,5,3,4,8,1,7]=>1010010
[6,2,5,3,4,8,7,1]=>1010011
[2,6,5,3,4,8,1,7]=>0110010
[5,3,4,8,1,7,2,6]=>1001010
[5,1,3,4,8,7,2,6]=>1000110
[1,5,3,4,8,7,2,6]=>0100110
[5,1,3,8,4,7,6,2]=>1001011
[5,3,8,1,4,7,6,2]=>1010011
[4,3,5,8,1,7,6,2]=>1001011
[3,6,5,4,8,1,2,7]=>0110100
[3,6,5,4,8,2,7,1]=>0110101
[3,5,2,4,8,7,6,1]=>0100111
[2,5,3,6,8,4,1,7]=>0100110
[4,6,2,5,1,7,8,3]=>0101001
[2,3,1,7,4,8,6,5]=>0101011
[2,3,8,7,6,4,1,5]=>0011110
[2,6,3,7,4,1,5,8]=>0101100
[7,5,2,3,1,6,4,8]=>1101010
[1,8,3,6,4,2,7,5]=>0101101
[2,1,7,4,8,5,3,6]=>1010110
[8,1,7,3,2,5,4,6]=>1011010
[7,8,5,2,6,4,3,1]=>0110111
[4,2,8,1,3,6,7,5]=>1010001
[8,1,2,5,7,4,6,3]=>1000101
[7,4,6,3,1,2,5,8]=>1011000
[6,4,1,3,7,2,5,8]=>1100100
[8,2,5,3,6,1,4,7]=>1010100
[3,7,5,1,4,6,2,8]=>0110010
[6,8,7,4,1,5,2,3]=>0111010
[8,6,4,7,5,1,3,2]=>1101101
[6,1,2,4,7,8,3,5]=>1000010
[2,4,6,5,7,1,8,3]=>0010101
[4,2,6,7,8,5,3,1]=>1000111
[6,2,4,7,8,5,3,1]=>1000111
[3,5,2,1,7,8,6,4]=>0110011
[4,2,7,8,6,5,1,3]=>1001110
[1,2,7,8,6,4,5,3]=>0001101
[4,8,1,2,6,5,3,7]=>0100110
[7,1,6,3,2,4,8,5]=>1011001
[6,4,8,1,2,3,7,5]=>1010001
[7,4,1,3,6,8,5,2]=>1100011
[5,2,7,1,4,6,3,8]=>1010010
[6,3,8,5,7,1,4,2]=>1010101
[2,4,3,8,5,7,1,6]=>0101010
[2,8,3,1,4,6,5,7]=>0110010
[4,5,7,6,1,3,8,2]=>0011001
[3,7,1,6,5,8,2,4]=>0101010
[7,4,3,6,8,2,1,5]=>1100110
[3,8,5,4,7,6,1,2]=>0110110
[1,4,6,8,7,3,5,2]=>0001101
[4,6,5,1,3,8,7,2]=>0110011
[5,4,6,2,1,8,7,3]=>1011011
[3,2,8,5,1,4,6,7]=>1011000
[3,5,4,1,2,8,6,7]=>0110010
[5,3,8,1,4,2,6,7]=>1010100
[5,3,8,1,4,2,7,6]=>1010101
[1,4,7,5,8,6,2,3]=>0010110
[8,5,7,6,3,4,1,2]=>1011010
[7,5,2,6,1,4,8,3]=>1101001
[2,4,5,1,8,3,7,6]=>0010101
[7,2,8,5,3,4,1,6]=>1011010
[6,4,5,3,1,7,8,2]=>1011001
[7,3,5,6,4,1,8,2]=>1001101
[1,4,7,6,8,5,2,3]=>0010110
[2,5,6,3,4,1,8,7]=>0010101
[4,6,2,1,5,8,3,7]=>0110010
[4,6,7,2,3,8,5,1]=>0010011
[4,5,3,7,8,1,2,6]=>0100100
[2,3,5,8,1,6,4,7]=>0001010
[1,7,4,5,8,3,6,2]=>0100101
[2,8,5,6,3,1,4,7]=>0101100
[4,8,2,6,1,5,7,3]=>0101001
[2,3,7,8,1,5,4,6]=>0001010
[5,2,6,7,8,3,1,4]=>1000110
[5,6,2,7,8,3,1,4]=>0100110
[2,3,7,5,8,4,6,1]=>0010101
[3,7,8,5,1,4,6,2]=>0011001
[2,5,6,7,1,8,4,3]=>0001011
[8,5,3,6,4,2,1,7]=>1101110
[6,4,7,8,1,2,5,3]=>1001001
[7,5,8,1,2,3,6,4]=>1010001
[1,2,8,7,4,6,5,3]=>0011011
[5,1,4,8,7,3,6,2]=>1001101
[4,3,1,8,7,5,6,2]=>1101101
[4,3,2,7,6,1,5,8]=>1101100
[7,2,6,5,3,1,4,8]=>1011100
[1,3,7,6,2,4,8,5]=>0011001
[1,3,8,2,7,4,6,5]=>0010101
[8,2,7,1,6,4,3,5]=>1010110
[4,3,2,8,1,7,5,6]=>1101010
[7,5,4,1,6,3,8,2]=>1110101
[1,6,5,3,2,4,8,7]=>0111001
[1,7,3,5,2,4,8,6]=>0101001
[4,3,7,2,5,1,6,8]=>1010100
[5,1,4,3,2,6,8,7]=>1011001
[7,2,1,3,5,4,6,8]=>1100100
[8,3,7,5,4,2,6,1]=>1011101
[1,6,8,7,5,2,3,4]=>0011100
[4,3,6,1,8,5,2,7]=>1010110
[1,3,6,2,5,4,8,7]=>0010101
[1,4,8,7,3,6,2,5]=>0011010
[4,5,7,6,3,1,8,2]=>0011101
[4,6,7,5,1,3,8,2]=>0011001
[3,6,5,1,4,7,8,2]=>0110001
[4,6,7,3,1,5,8,2]=>0011001
[5,4,1,8,7,3,6,2]=>1101101
[6,2,4,7,5,3,1,8]=>1001110
[6,2,5,1,8,7,3,4]=>1010110
[3,2,6,1,5,8,7,4]=>1010011
[4,2,3,6,7,5,1,8]=>1000110
[6,2,3,5,7,4,1,8]=>1000110
[1,6,3,8,4,7,2,5]=>0101010
[8,1,5,2,4,7,3,6]=>1010010
[7,5,8,1,4,2,3,6]=>1010100
[1,3,4,8,5,6,2,7]=>0001010
[3,2,7,1,8,6,5,4]=>1010111
[1,3,8,5,6,7,2,4]=>0010010
[6,2,4,1,5,7,8,3]=>1010001
[5,8,4,1,3,6,7,2]=>0110001
[6,7,2,3,8,1,4,5]=>0100100
[3,2,7,4,8,1,5,6]=>1010100
[5,2,8,1,7,4,6,3]=>1010101
[2,5,4,7,3,1,8,6]=>0101101
[4,6,3,1,2,5,7,8]=>0110000
[7,4,6,8,3,1,2,5]=>1001100
[8,5,4,7,3,1,2,6]=>1101100
[7,3,2,1,5,4,8,6]=>1110101
[2,5,6,4,8,1,3,7]=>0010100
[5,4,1,6,2,3,7,8]=>1101000
[1,3,6,5,2,4,7,8]=>0011000
[6,4,5,1,2,8,7,3]=>1010011
[5,4,1,2,7,6,3,8]=>1100110
[5,8,7,3,1,2,4,6]=>0111000
[2,7,8,1,4,5,3,6]=>0010010
[4,1,2,8,7,3,6,5]=>1001101
[6,1,2,4,3,8,7,5]=>1001011
[3,7,8,1,2,4,6,5]=>0010001
[7,3,4,1,2,6,8,5]=>1010001
[8,4,3,1,2,6,5,7]=>1110010
[3,8,2,7,4,5,1,6]=>0101010
[8,6,2,3,5,4,1,7]=>1100110
[8,2,6,1,3,5,4,7]=>1010010
[8,4,3,7,2,5,6,1]=>1101001
[8,3,1,7,4,5,2,6]=>1101010
[8,2,4,5,1,7,3,6]=>1001010
[6,8,2,4,5,1,7,3]=>0100101
[4,3,8,1,7,5,6,2]=>1010101
[8,4,3,7,1,5,6,2]=>1101001
[8,3,4,7,2,6,5,1]=>1001011
[8,1,3,7,6,4,5,2]=>1001101
[8,3,7,1,4,5,6,2]=>1010001
[8,7,3,6,1,2,5,4]=>1101001
[8,3,7,6,2,4,5,1]=>1011001
[8,7,2,3,6,1,5,4]=>1100101
[8,2,7,1,3,4,6,5]=>1010001
[5,1,8,4,2,3,7,6]=>1011001
[8,2,4,7,3,1,6,5]=>1001101
[8,2,7,6,3,1,4,5]=>1011100
[6,8,1,4,7,3,2,5]=>0100110
[8,5,7,2,6,3,1,4]=>1010110
[5,8,2,7,3,1,6,4]=>0101101
[8,1,2,6,7,5,4,3]=>1000111
[8,4,1,7,5,6,2,3]=>1101010
[8,2,4,7,6,5,1,3]=>1001110
[8,2,7,6,4,5,1,3]=>1011010
[8,4,7,2,3,6,5,1]=>1010011
[8,2,4,7,3,6,5,1]=>1001011
[8,1,7,6,4,5,2,3]=>1011010
[8,1,2,7,6,4,5,3]=>1001101
[8,1,4,7,3,6,5,2]=>1001011
[2,8,1,5,3,7,6,4]=>0101011
[1,8,2,4,7,5,6,3]=>0100101
[2,3,8,4,7,1,6,5]=>0010101
[1,8,2,3,5,6,4,7]=>0100010
[1,4,7,6,2,3,5,8]=>0011000
[1,7,6,2,3,8,4,5]=>0110010
[1,8,2,3,7,6,4,5]=>0100110
[1,7,3,8,6,2,5,4]=>0101101
[5,8,2,3,7,4,1,6]=>0100110
[4,2,8,3,7,6,1,5]=>1010110
[1,3,5,6,4,8,2,7]=>0001010
[3,1,7,8,5,2,4,6]=>1001100
[4,6,1,8,2,7,5,3]=>0101011
[6,3,5,2,8,4,7,1]=>1010101
[1,6,3,5,2,8,4,7]=>0101010
[5,4,8,6,3,7,2,1]=>1011011
[6,4,5,8,1,3,7,2]=>1001001
[6,3,5,1,8,4,7,2]=>1010101
[2,6,3,1,5,8,4,7]=>0110010
[2,5,4,8,6,3,1,7]=>0101110
[2,5,4,8,6,3,7,1]=>0101101
[1,2,5,4,8,6,3,7]=>0010110
[6,4,5,8,2,1,7,3]=>1001101
[5,3,4,1,2,6,8,7]=>1010001
[1,4,3,5,2,8,6,7]=>0101010
[1,3,5,4,8,2,6,7]=>0010100
[3,5,4,8,2,6,1,7]=>0101010
[3,6,4,5,1,2,8,7]=>0101001
[4,3,5,1,8,6,2,7]=>1010110
[3,5,4,8,1,6,2,7]=>0101010
[3,4,8,5,6,1,2,7]=>0010100
[3,4,8,5,6,2,1,7]=>0010110
[3,5,4,8,1,6,7,2]=>0101001
[2,4,3,1,5,8,6,7]=>0110010
[1,7,6,2,5,4,8,3]=>0110101
[5,6,1,7,4,3,8,2]=>0101101
[3,1,5,6,4,2,7,8]=>1001100
[8,3,4,1,6,5,7,2]=>1010101
[8,1,6,4,3,5,2,7]=>1011010
[1,3,7,8,2,6,4,5]=>0001010
[2,1,6,5,3,8,7,4]=>1011011
[3,7,5,6,4,2,1,8]=>0101110
[6,1,4,3,7,5,8,2]=>1010101
[3,8,6,4,5,2,7,1]=>0110101
[4,5,8,6,2,3,7,1]=>0011001
[4,6,8,5,3,7,2,1]=>0011011
[4,5,7,2,8,6,3,1]=>0010111
[3,7,4,5,1,6,8,2]=>0101001
[4,6,8,1,2,5,7,3]=>0010001
[4,6,8,5,1,3,7,2]=>0011001
[3,7,4,5,2,8,6,1]=>0101011
[3,7,8,4,6,1,5,2]=>0010101
[4,5,7,2,1,6,8,3]=>0011001
[4,5,1,6,8,3,7,2]=>0100101
[8,3,5,4,6,1,2,7]=>1010100
[1,7,4,5,2,6,8,3]=>0101001
[1,4,2,6,5,3,8,7]=>0101101
[3,1,5,8,4,6,2,7]=>1001010
[8,2,6,3,4,1,5,7]=>1010100
[4,6,5,8,2,1,3,7]=>0101100
[1,4,8,3,5,6,2,7]=>0010010
[1,8,7,4,2,3,6,5]=>0111001
[4,3,1,8,5,7,2,6]=>1101010
[7,3,2,4,8,1,6,5]=>1100101
[3,7,2,4,5,8,1,6]=>0100010
[3,2,7,4,6,1,8,5]=>1010101
[8,3,2,4,6,1,7,5]=>1100101
[8,3,2,4,5,7,1,6]=>1100010
[7,4,6,2,1,3,8,5]=>1011001
[3,6,7,2,4,1,8,5]=>0010101
[5,4,8,7,6,2,3,1]=>1011101
[5,2,3,8,7,1,6,4]=>1001101
[7,5,2,4,1,3,8,6]=>1101001
[7,2,6,8,5,1,3,4]=>1001100
[8,2,3,4,1,6,7,5]=>1001001
[7,4,3,8,1,6,5,2]=>1101011
[6,5,1,4,3,8,7,2]=>1101011
[4,7,6,2,5,8,1,3]=>0110010
[6,3,2,4,5,8,1,7]=>1100010
[2,6,4,5,8,3,1,7]=>0100110
[3,7,4,8,6,2,5,1]=>0101101
[7,3,5,2,8,1,4,6]=>1010100
[1,5,8,7,4,2,3,6]=>0011100
[1,7,2,4,5,8,6,3]=>0100011
[1,4,6,8,7,2,5,3]=>0001101
[1,6,2,7,5,3,4,8]=>0101100
[1,3,7,2,6,4,5,8]=>0010100
[1,7,3,2,8,5,6,4]=>0110101
[1,6,5,2,4,8,3,7]=>0110010
[1,7,3,8,4,2,5,6]=>0101100
[1,6,2,4,7,5,8,3]=>0100101
[1,6,2,7,4,3,8,5]=>0101101
[1,5,8,2,3,6,4,7]=>0010010
[2,5,3,6,7,1,4,8]=>0100100
[6,4,1,5,7,2,3,8]=>1100100
[6,4,1,5,7,3,8,2]=>1100101
[1,2,7,3,8,5,6,4]=>0010101
[7,4,1,6,3,8,2,5]=>1101010
[1,5,7,4,3,8,6,2]=>0011011
[2,7,3,1,4,5,8,6]=>0110001
[6,5,8,3,2,7,1,4]=>1011010
[8,4,3,1,7,6,5,2]=>1110111
[1,2,6,7,5,3,4,8]=>0001100
[1,2,6,8,7,4,5,3]=>0001101
[3,4,5,6,8,2,7,1]=>0000101
[7,2,1,4,5,6,3,8]=>1100010
[1,5,6,7,3,4,2,8]=>0001010
[4,6,8,5,2,1,7,3]=>0011101
[1,6,7,8,2,4,5,3]=>0001001
[4,7,8,2,1,3,5,6]=>0011000
[5,7,8,3,2,4,6,1]=>0011001
[5,7,8,2,3,1,6,4]=>0010101
[4,5,2,7,8,6,1,3]=>0100110
[1,3,5,8,7,2,6,4]=>0001101
[6,4,1,8,5,7,3,2]=>1101011
[4,1,3,8,7,5,2,6]=>1001110
[8,5,1,6,7,2,4,3]=>1100101
[3,6,7,2,1,5,8,4]=>0011001
[2,5,6,1,3,8,7,4]=>0010011
[7,2,5,6,1,3,8,4]=>1001001
[6,4,1,2,5,8,3,7]=>1100010
[4,6,3,5,7,1,8,2]=>0100101
[4,7,3,5,2,6,8,1]=>0101001
[2,3,5,4,7,1,8,6]=>0010101
[6,8,4,1,5,7,3,2]=>0110011
[8,1,6,2,3,7,5,4]=>1010011
[2,8,3,6,4,1,7,5]=>0101101
[6,5,3,4,8,2,1,7]=>1100110
[5,4,8,7,3,6,2,1]=>1011011
[5,2,7,6,8,3,4,1]=>1010101
[8,4,5,2,7,3,6,1]=>1010101
[6,3,7,4,5,2,8,1]=>1010101
[7,3,4,2,8,5,6,1]=>1010101
[4,3,6,5,8,2,7,1]=>1010101
[8,2,7,4,5,3,6,1]=>1010101
[7,2,8,4,5,3,6,1]=>1010101
[6,3,8,2,7,4,5,1]=>1010101
[3,2,8,4,7,5,6,1]=>1010101
[8,3,6,2,7,4,5,1]=>1010101
[1,7,8,4,3,6,5,2]=>0011011
[1,7,8,3,6,5,4,2]=>0010111
[6,4,5,8,7,2,1,3]=>1001110
[5,8,1,7,2,4,3,6]=>0101010
[2,5,7,3,8,1,4,6]=>0010100
[8,3,5,2,1,6,7,4]=>1011001
[2,6,4,7,1,8,5,3]=>0101011
[1,6,5,7,3,8,2,4]=>0101010
[1,8,5,3,7,6,2,4]=>0110110
[6,4,2,3,8,7,5,1]=>1100111
[6,1,4,2,7,8,3,5]=>1010010
[6,5,1,3,7,8,4,2]=>1100011
[5,1,3,2,7,8,6,4]=>1010011
[6,7,4,2,3,8,5,1]=>0110011
[5,8,7,3,2,4,6,1]=>0111001
[5,1,3,2,6,8,4,7]=>1010010
[5,7,1,4,6,8,2,3]=>0100010
[2,4,1,7,5,6,3,8]=>0101010
[1,4,3,7,6,2,8,5]=>0101101
[1,6,2,5,7,3,8,4]=>0100101
[1,4,3,8,2,5,7,6]=>0101001
[1,5,7,3,6,4,2,8]=>0010110
[1,6,7,2,4,8,3,5]=>0010010
[3,7,2,8,4,1,5,6]=>0101100
[5,3,4,1,7,8,6,2]=>1010011
[4,7,6,5,8,2,3,1]=>0110101
[2,3,8,4,5,7,1,6]=>0010010
[4,1,8,3,2,6,5,7]=>1011010
[1,2,6,8,4,3,5,7]=>0001100
[7,2,6,3,1,8,4,5]=>1011010
[5,8,4,1,3,7,2,6]=>0110010
[3,4,2,1,6,8,5,7]=>0110010
[8,1,3,5,6,4,7,2]=>1000101
[3,4,7,1,5,6,2,8]=>0010010
[4,8,2,6,5,3,7,1]=>0101101
[4,8,7,2,5,6,1,3]=>0110010
[5,8,6,4,7,3,2,1]=>0110111
[8,5,2,3,1,6,7,4]=>1101001
[2,8,6,3,5,1,7,4]=>0110101
[8,3,2,6,4,1,7,5]=>1101101
[8,4,1,5,3,6,7,2]=>1101001
[8,3,5,1,4,6,7,2]=>1010001
[8,5,1,3,4,6,7,2]=>1100001
[3,8,6,2,5,4,7,1]=>0110101
[3,8,4,6,5,2,7,1]=>0101101
[8,1,7,4,2,5,3,6]=>1011010
[8,3,2,5,1,4,7,6]=>1101001
[8,4,5,1,2,6,7,3]=>1010001
[8,1,5,3,2,6,7,4]=>1011001
[8,1,5,2,4,6,7,3]=>1010001
[5,2,6,4,1,3,8,7]=>1011001
[7,1,3,5,2,8,6,4]=>1001011
[8,6,4,7,1,3,5,2]=>1101001
[6,8,4,3,2,1,7,5]=>0111101
[2,1,8,5,4,3,7,6]=>1011101
[6,2,8,5,4,1,3,7]=>1011100
[6,4,8,5,3,2,7,1]=>1011101
[8,5,4,6,2,7,1,3]=>1101010
[6,8,5,4,7,2,3,1]=>0110101
[2,5,7,3,4,8,1,6]=>0010010
[5,2,4,7,8,1,3,6]=>1000100
[4,8,5,6,1,2,7,3]=>0101001
[2,5,6,8,7,1,4,3]=>0001101
[1,7,8,5,4,6,2,3]=>0011010
[4,6,8,1,5,2,7,3]=>0010101
[5,3,8,1,2,6,7,4]=>1010001
[8,2,3,6,4,1,7,5]=>1001101
[2,3,7,5,8,6,1,4]=>0010110
[3,8,5,1,2,4,7,6]=>0110001
[1,3,6,4,8,2,7,5]=>0010101
[1,7,6,2,8,5,3,4]=>0110110
[1,5,8,6,4,7,2,3]=>0011010
[5,6,2,8,1,7,3,4]=>0101010
[6,8,4,5,1,3,7,2]=>0101001
[5,2,3,8,1,4,6,7]=>1001000
[1,6,8,3,2,4,5,7]=>0011000
[8,6,5,2,4,3,7,1]=>1110101
[6,2,5,3,7,4,8,1]=>1010101
[8,5,4,2,6,3,7,1]=>1110101
[8,5,3,2,6,4,7,1]=>1110101
[7,4,6,5,8,2,3,1]=>1010101
[7,3,6,5,8,2,4,1]=>1010101
[7,3,6,4,8,2,5,1]=>1010101
[7,3,5,4,8,2,6,1]=>1010101
[7,3,6,8,4,5,1,2]=>1001010
[1,6,5,7,4,2,8,3]=>0101101
[1,2,7,4,8,5,6,3]=>0010101
[2,6,7,4,8,5,1,3]=>0010110
[2,5,8,6,4,3,7,1]=>0011101
[6,4,2,5,7,1,8,3]=>1100101
[2,7,5,4,6,8,1,3]=>0110010
[8,1,4,7,3,5,6,2]=>1001001
[8,3,7,2,4,5,6,1]=>1010001
[8,1,4,5,7,3,6,2]=>1000101
[5,6,3,4,2,8,7,1]=>0101011
[2,5,7,4,6,8,1,3]=>0010010
[2,5,6,4,1,3,8,7]=>0011001
[4,6,1,3,5,7,2,8]=>0100010
[3,2,7,5,8,1,6,4]=>1010101
[4,3,6,8,5,2,1,7]=>1001110
[4,5,3,2,1,8,6,7]=>0111010
[3,6,5,8,1,7,4,2]=>0101011
[4,1,6,8,5,2,3,7]=>1001100
[4,5,2,8,6,7,1,3]=>0101010
[4,5,2,8,6,7,3,1]=>0101011
[3,5,8,6,2,4,7,1]=>0011001
[2,5,1,6,4,8,3,7]=>0101010
[3,2,4,5,8,6,1,7]=>1000110
[4,5,2,1,3,8,6,7]=>0110010
[4,2,3,6,8,5,1,7]=>1000110
[4,5,1,3,2,8,6,7]=>0101010
[3,4,5,8,6,1,7,2]=>0001101
[3,4,5,8,6,1,2,7]=>0001100
[6,4,1,3,7,8,2,5]=>1100010
[6,3,1,2,5,4,8,7]=>1100101
[7,3,1,2,5,4,8,6]=>1100101
[8,2,6,4,1,3,7,5]=>1011001
[1,5,8,2,4,3,7,6]=>0010101
[4,3,7,8,2,6,5,1]=>1001011
[3,8,5,1,2,6,7,4]=>0110001
[2,4,7,8,3,6,5,1]=>0001011
[5,4,7,8,3,6,1,2]=>1001010
[6,8,1,3,2,5,7,4]=>0101001
[1,4,8,5,7,2,3,6]=>0010100
[1,8,7,3,2,4,5,6]=>0111000
[8,6,2,7,3,4,1,5]=>1101010
[8,6,2,7,3,4,5,1]=>1101001
[5,6,3,2,8,7,1,4]=>0110110
[5,1,6,7,8,3,2,4]=>1000110
[1,5,6,3,7,2,4,8]=>0010100
[1,5,6,7,4,2,3,8]=>0001100
[5,1,6,7,3,4,2,8]=>1001010
[8,6,1,7,3,4,5,2]=>1101001
[6,8,5,1,7,4,2,3]=>0110110
[8,4,2,3,5,7,6,1]=>1100011
[4,8,5,2,3,1,6,7]=>0110100
[5,4,8,3,1,2,6,7]=>1011000
[8,4,7,3,2,5,6,1]=>1011001
[6,8,5,1,7,3,4,2]=>0110101
[6,2,7,3,8,1,4,5]=>1010100
[8,4,2,6,7,1,5,3]=>1100101
[1,7,8,3,6,5,2,4]=>0010110
[4,6,7,5,1,8,2,3]=>0011010
[3,5,2,6,8,7,4,1]=>0100111
[7,3,6,8,4,1,2,5]=>1001100
[6,4,2,3,7,5,8,1]=>1100101
[6,3,7,5,1,2,8,4]=>1011001
[7,2,5,4,8,6,3,1]=>1010111
[6,2,3,8,7,4,5,1]=>1001101
[7,1,2,8,4,6,5,3]=>1001011
[3,5,8,1,2,7,6,4]=>0010011
[1,4,3,6,8,5,2,7]=>0100110
[7,6,2,8,5,3,4,1]=>1101101
[6,8,3,5,4,7,2,1]=>0101011
[8,2,7,6,4,1,3,5]=>1011100
[8,3,7,5,1,6,2,4]=>1011010
[8,5,7,1,4,2,6,3]=>1010101
[4,7,1,5,6,3,2,8]=>0100110
[4,5,7,1,6,3,8,2]=>0010101
[4,6,5,7,2,3,8,1]=>0101001
[3,6,7,2,5,8,4,1]=>0010011
[5,3,6,7,4,8,1,2]=>1001010
[4,2,7,8,3,6,5,1]=>1001011
[4,2,7,8,5,6,1,3]=>1001010
[5,4,3,7,8,1,6,2]=>1100101
[3,5,7,8,4,2,1,6]=>0001110
[4,6,7,3,2,8,1,5]=>0011010
[4,6,5,3,7,8,1,2]=>0110010
[5,6,2,4,7,8,3,1]=>0100011
[5,6,3,2,8,4,7,1]=>0110101
[5,6,2,8,3,4,7,1]=>0101001
[3,7,4,8,1,6,5,2]=>0101011
[5,2,4,8,6,7,3,1]=>1001011
[5,2,6,4,8,7,3,1]=>1010111
[2,4,7,8,6,5,1,3]=>0001110
[5,2,6,7,8,1,4,3]=>1000101
[4,8,2,7,5,3,1,6]=>0101110
[1,2,4,6,5,8,3,7]=>0001010
[5,4,2,3,1,7,8,6]=>1101001
[3,5,8,1,7,4,2,6]=>0010110
[5,8,6,1,7,2,3,4]=>0110100
[5,1,4,3,8,2,6,7]=>1010100
[8,4,7,5,6,2,1,3]=>1010110
[3,8,6,7,5,2,4,1]=>0101101
[8,2,5,4,7,3,6,1]=>1010101
[4,2,8,7,3,6,5,1]=>1011011
[3,7,8,6,1,4,5,2]=>0011001
[4,6,7,8,2,1,5,3]=>0001101
[4,7,6,3,8,1,5,2]=>0110101
[3,8,1,4,6,2,5,7]=>0100100
[2,4,5,3,8,7,1,6]=>0010110
[4,7,5,6,2,8,1,3]=>0101010
[8,7,5,1,6,3,2,4]=>1110110
[7,8,6,2,3,5,1,4]=>0110010
[2,8,4,6,7,3,5,1]=>0100101
[4,1,6,7,8,2,5,3]=>1000101
[8,6,3,4,1,2,7,5]=>1101001
[2,5,8,4,6,1,3,7]=>0010100
[4,7,8,6,5,1,3,2]=>0011101
[8,4,6,7,3,5,2,1]=>1001011
[6,8,4,7,3,5,2,1]=>0101011
[7,4,5,8,3,6,2,1]=>1001011
[8,4,7,3,5,6,2,1]=>1010011
[3,6,4,2,8,1,7,5]=>0110101
[8,4,6,2,1,7,3,5]=>1011010
[3,8,6,2,1,7,4,5]=>0111010
[3,1,8,2,4,6,5,7]=>1010010
[8,1,7,6,2,5,4,3]=>1011011
[8,5,4,3,7,6,1,2]=>1110110
[4,8,1,3,6,7,5,2]=>0100011
[3,5,8,6,1,7,4,2]=>0011011
[8,1,4,7,5,2,6,3]=>1001101
[1,4,8,6,7,3,5,2]=>0010101
[4,1,6,7,8,5,3,2]=>1000111
[3,7,8,6,4,1,5,2]=>0011101
[4,6,1,5,7,2,3,8]=>0100100
[4,8,5,3,2,7,1,6]=>0111010
[5,4,8,1,3,7,2,6]=>1010010
[8,4,5,3,1,7,2,6]=>1011010
[7,4,5,3,1,8,6,2]=>1011011
[5,6,8,7,2,4,3,1]=>0011011
[5,7,8,6,4,2,3,1]=>0011101
[6,8,7,5,1,3,2,4]=>0111010
[3,8,2,6,7,5,1,4]=>0100110
[4,7,6,3,8,2,5,1]=>0110101
[6,7,4,1,8,2,5,3]=>0110101
[5,7,6,8,3,2,4,1]=>0101101
[7,6,4,2,8,1,5,3]=>1110101
[6,3,4,8,7,1,2,5]=>1001100
[2,7,4,8,1,6,3,5]=>0101010
[5,3,1,6,7,8,2,4]=>1100010
[3,4,7,8,6,1,2,5]=>0001100
[2,1,4,7,8,6,3,5]=>1000110
[2,4,5,8,1,6,3,7]=>0001010
[3,4,6,8,2,5,7,1]=>0001001
[1,8,5,6,4,2,3,7]=>0101100
[1,8,7,6,2,4,5,3]=>0111001
[6,4,8,5,7,3,1,2]=>1010110
[1,6,4,7,2,5,8,3]=>0101001
[2,7,5,1,8,6,3,4]=>0110110
[4,7,1,6,5,3,8,2]=>0101101
[1,7,5,6,4,8,2,3]=>0101010
[2,4,8,5,7,3,1,6]=>0010110
[8,3,1,4,6,2,7,5]=>1100101
[7,2,6,4,5,8,1,3]=>1010010
[7,2,5,4,6,8,1,3]=>1010010
[2,7,1,5,3,8,6,4]=>0101011
[3,5,7,2,8,4,1,6]=>0010110
[2,4,3,8,5,1,7,6]=>0101101
[7,3,2,1,4,8,6,5]=>1110011
[2,8,3,4,1,7,6,5]=>0101011
[4,7,6,8,2,5,3,1]=>0101011
[2,6,7,1,4,5,8,3]=>0010001
[8,7,2,6,1,5,3,4]=>1101010
[7,1,3,8,2,6,4,5]=>1001010
[6,2,5,3,4,7,1,8]=>1010010
[2,7,3,4,1,5,8,6]=>0101001
[2,5,8,1,6,7,3,4]=>0010010
[6,2,8,3,4,5,1,7]=>1010010
[7,3,4,6,8,2,1,5]=>1000110
[5,1,3,7,2,8,4,6]=>1001010
[5,2,4,6,1,7,8,3]=>1001001
[3,8,4,6,1,5,7,2]=>0101001
[8,7,3,2,5,1,6,4]=>1110101
[3,6,4,1,2,5,8,7]=>0110001
[5,2,7,1,4,3,6,8]=>1010100
[6,3,1,4,2,5,8,7]=>1101001
[5,2,3,1,4,6,8,7]=>1010001
[4,2,7,1,3,5,8,6]=>1010001
[3,5,4,1,6,2,8,7]=>0110101
[4,5,7,2,8,3,1,6]=>0010110
[3,5,1,7,6,2,8,4]=>0101101
[8,3,6,2,7,5,4,1]=>1010111
[8,4,2,6,5,3,7,1]=>1101101
[5,4,2,7,1,8,6,3]=>1101011
[4,1,7,6,5,3,2,8]=>1011110
[2,3,6,7,1,8,5,4]=>0001011
[3,6,1,2,7,8,5,4]=>0100011
[4,5,1,8,7,6,3,2]=>0101111
[8,4,5,2,7,6,3,1]=>1010111
[4,1,3,6,7,5,2,8]=>1000110
[3,1,4,5,7,6,2,8]=>1000110
[4,5,1,3,6,8,7,2]=>0100011
[3,8,5,1,2,4,6,7]=>0110000
[8,5,1,2,4,3,6,7]=>1100100
[5,8,4,1,2,3,6,7]=>0110000
[3,5,8,1,4,2,7,6]=>0010101
[2,8,5,7,1,4,3,6]=>0101010
[4,8,7,5,1,2,3,6]=>0111000
[8,1,2,4,6,3,7,5]=>1000101
[7,6,1,4,2,3,8,5]=>1101001
[6,1,2,7,8,4,3,5]=>1000110
[7,8,1,2,5,3,4,6]=>0100100
[1,8,4,7,5,2,3,6]=>0101100
[8,4,7,2,1,6,3,5]=>1011010
[4,5,8,2,1,6,7,3]=>0011001
[7,4,2,5,3,6,1,8]=>1101010
[3,1,6,7,5,2,4,8]=>1001100
[8,4,2,5,3,6,7,1]=>1101001
[4,8,1,5,3,6,7,2]=>0101001
[4,1,7,5,2,6,3,8]=>1011010
[5,1,4,6,3,7,8,2]=>1001001
[7,1,5,3,6,8,2,4]=>1010010
[8,1,5,3,6,7,2,4]=>1010010
[3,6,5,2,4,7,8,1]=>0110001
[1,7,5,4,6,8,2,3]=>0110010
[4,7,8,2,5,6,1,3]=>0010010
[2,8,5,4,6,7,1,3]=>0110010
[4,5,2,6,1,8,3,7]=>0101010
[5,1,8,6,7,3,4,2]=>1010101
[6,8,3,2,4,1,5,7]=>0110100
[5,4,8,2,1,3,6,7]=>1011000
[1,4,8,3,2,6,5,7]=>0011010
[1,3,8,4,2,7,5,6]=>0011010
[7,2,8,3,1,4,5,6]=>1011000
[8,1,3,2,7,5,4,6]=>1010110
[7,6,1,8,2,5,4,3]=>1101011
[8,4,1,6,7,3,5,2]=>1100101
[5,8,4,2,1,6,3,7]=>0111010
[7,6,4,1,2,5,3,8]=>1110010
[5,4,2,8,1,6,3,7]=>1101010
[8,7,2,6,4,5,3,1]=>1101011
[7,2,8,4,3,6,1,5]=>1011010
[1,7,5,4,8,6,2,3]=>0110110
[4,8,6,3,5,2,1,7]=>0110110
[5,8,6,3,2,7,1,4]=>0111010
[5,7,6,3,2,4,8,1]=>0111001
[5,7,3,2,8,6,4,1]=>0110111
[4,5,1,6,8,2,7,3]=>0100101
[1,6,3,7,2,4,8,5]=>0101001
[4,3,7,1,6,2,5,8]=>1010100
[4,3,1,6,7,2,5,8]=>1100100
[6,3,1,5,7,2,4,8]=>1100100
[5,2,1,4,8,6,7,3]=>1100101
[4,5,2,1,3,7,6,8]=>0110010
[8,2,7,4,1,6,5,3]=>1011011
[3,2,8,4,1,6,5,7]=>1011010
[3,7,6,4,1,5,8,2]=>0111001
[7,1,8,4,2,3,6,5]=>1011001
[2,7,6,4,5,1,8,3]=>0110101
[4,6,8,1,7,3,5,2]=>0010101
[3,6,8,1,5,7,4,2]=>0010011
[2,8,3,1,6,7,4,5]=>0110010
[4,5,6,8,2,1,7,3]=>0001101
[4,5,6,8,1,3,7,2]=>0001001
[4,5,8,3,2,1,7,6]=>0011101
[4,5,1,3,2,6,7,8]=>0101000
[4,7,3,2,1,6,5,8]=>0111010
[4,7,8,3,5,1,6,2]=>0010101
[4,7,1,3,5,6,2,8]=>0100010
[4,8,3,2,1,6,7,5]=>0111001
[5,2,8,1,4,6,7,3]=>1010001
[5,6,3,7,8,1,4,2]=>0100101
[5,7,1,4,3,6,2,8]=>0101010
[6,2,3,7,1,5,4,8]=>1001010
[6,2,8,1,5,4,7,3]=>1010101
[6,1,3,4,5,2,7,8]=>1000100
[7,1,3,4,5,6,2,8]=>1000010
[7,2,5,1,3,6,4,8]=>1010010
[6,5,2,7,8,4,3,1]=>1100111
[7,5,3,6,4,2,1,8]=>1101110
[1,3,6,7,5,2,4,8]=>0001100
[1,5,2,6,8,7,3,4]=>0100110
[5,3,4,7,2,1,6,8]=>1001100
[4,8,5,7,1,2,3,6]=>0101000
[4,2,3,7,6,1,8,5]=>1001101
[4,2,6,3,1,5,7,8]=>1011000
[4,6,3,2,5,8,7,1]=>0110011
[5,8,4,3,2,6,1,7]=>0111010
[1,5,7,4,8,6,2,3]=>0010110
[6,1,5,7,3,8,2,4]=>1001010
[1,2,7,8,6,4,3,5]=>0001110
[3,5,1,7,8,6,2,4]=>0100110
[5,2,4,1,7,6,8,3]=>1010101
[5,4,3,8,1,7,2,6]=>1101010
[7,3,1,5,6,8,4,2]=>1100011
[7,2,3,1,6,8,4,5]=>1010010
[4,1,8,2,5,6,3,7]=>1010010
[5,7,8,1,6,2,3,4]=>0010100
[1,6,4,2,7,3,8,5]=>0110101
[1,4,2,5,8,6,3,7]=>0100110
[4,8,2,1,5,7,3,6]=>0110010
[5,2,7,1,6,3,4,8]=>1010100
[4,8,2,5,1,6,3,7]=>0101010
[5,8,1,2,4,6,3,7]=>0100010
[5,1,7,3,6,4,2,8]=>1010110
[3,2,7,5,6,1,4,8]=>1010100
[3,2,7,1,6,4,5,8]=>1010100
[6,3,1,7,5,4,2,8]=>1101110
[6,2,8,7,3,4,5,1]=>1011001
[7,3,4,8,5,6,2,1]=>1001011
[7,3,6,8,4,5,2,1]=>1001011
[5,6,2,8,3,1,7,4]=>0101101
[1,4,7,5,6,2,8,3]=>0010101
[1,7,4,8,3,5,6,2]=>0101001
[5,3,1,4,8,6,2,7]=>1100110
[5,2,4,8,3,1,6,7]=>1001100
[7,4,5,1,8,6,2,3]=>1010110
[8,1,5,7,6,3,2,4]=>1001110
[1,8,6,7,5,3,2,4]=>0101110
[7,4,8,3,1,6,5,2]=>1011011
[8,1,5,3,7,6,2,4]=>1010110
[6,4,8,7,3,5,1,2]=>1011010
[6,1,4,2,3,5,7,8]=>1010000
[7,1,4,3,8,6,5,2]=>1010111
[6,1,5,7,2,8,3,4]=>1001010
[1,8,2,6,7,4,3,5]=>0100110
[7,2,4,1,8,5,3,6]=>1010110
[4,7,2,6,1,8,3,5]=>0101010
[8,7,3,5,2,1,6,4]=>1101101
[7,5,3,2,1,6,8,4]=>1111001
[6,8,1,3,4,2,5,7]=>0100100
[3,6,1,4,7,8,2,5]=>0100010
[2,5,7,1,3,6,4,8]=>0010010
[1,4,7,2,5,3,6,8]=>0010100
[4,5,3,1,2,6,8,7]=>0110001
[4,5,1,3,8,2,6,7]=>0100100
[4,1,5,3,2,7,6,8]=>1011010
[7,3,5,1,4,2,6,8]=>1010100
[6,2,1,7,4,3,8,5]=>1101101
[2,4,3,6,7,1,5,8]=>0100100
[7,3,5,2,1,6,4,8]=>1011010
[4,6,5,2,1,3,7,8]=>0111000
[2,5,6,1,4,3,7,8]=>0010100
[6,1,5,3,7,2,4,8]=>1010100
[3,6,5,4,1,7,2,8]=>0111010
[6,8,7,5,4,2,1,3]=>0111110
[1,6,8,7,3,2,4,5]=>0011100
[8,7,5,4,6,1,3,2]=>1110101
[1,7,8,2,4,6,3,5]=>0010010
[7,5,4,8,1,3,6,2]=>1101001
[5,6,1,8,4,3,7,2]=>0101101
[1,8,2,6,7,5,4,3]=>0100111
[2,7,5,1,6,8,3,4]=>0110010
[8,5,4,2,7,3,6,1]=>1110101
[3,8,6,1,2,4,5,7]=>0110000
[1,8,5,3,2,7,4,6]=>0111010
[1,8,4,7,2,3,5,6]=>0101000
[3,2,8,1,7,5,4,6]=>1010110
[7,1,5,6,2,3,4,8]=>1001000
[6,5,1,7,2,3,4,8]=>1101000
[1,6,8,2,7,3,4,5]=>0010100
[1,6,8,7,3,4,2,5]=>0011010
[4,1,3,6,7,8,5,2]=>1000011
[7,4,1,5,6,8,3,2]=>1100011
[4,1,2,6,7,8,5,3]=>1000011
[6,3,7,1,8,2,4,5]=>1010100
[3,7,8,1,5,2,6,4]=>0010101
[1,5,4,7,8,3,6,2]=>0100101
[5,1,4,7,8,3,6,2]=>1000101
[4,8,1,5,6,2,3,7]=>0100100
[5,6,4,1,7,3,8,2]=>0110101
[4,3,7,8,2,5,1,6]=>1001010
[3,7,8,5,4,2,1,6]=>0011110
[1,7,4,5,6,8,3,2]=>0100011
[7,2,4,5,6,8,3,1]=>1000011
[2,7,4,5,6,8,3,1]=>0100011
[2,4,7,8,3,1,6,5]=>0001101
[5,4,3,6,8,1,7,2]=>1100101
[3,7,4,5,8,1,6,2]=>0100101
[1,4,3,5,6,8,2,7]=>0100010
[1,4,6,5,8,2,7,3]=>0010101
[4,6,1,7,3,2,8,5]=>0101101
[1,7,3,6,4,2,8,5]=>0101101
[4,7,3,5,1,2,8,6]=>0101001
[1,6,4,2,3,5,8,7]=>0110001
[4,8,3,5,2,1,6,7]=>0101100
[1,6,8,4,7,5,3,2]=>0010111
[8,7,3,1,5,2,6,4]=>1110101
[4,7,1,6,8,2,3,5]=>0100100
[4,6,5,8,2,3,7,1]=>0101001
[7,1,8,2,4,5,3,6]=>1010010
[5,7,8,2,3,4,1,6]=>0010010
[5,2,3,8,7,1,4,6]=>1001100
[8,7,1,3,2,6,4,5]=>1101010
[2,7,6,4,8,3,1,5]=>0110110
[2,6,3,7,5,8,4,1]=>0101011
[7,5,1,2,3,8,4,6]=>1100010
[8,6,2,1,3,7,4,5]=>1110010
[4,2,3,6,8,5,7,1]=>1000101
[4,7,3,2,6,5,1,8]=>0110110
[4,3,7,8,2,1,6,5]=>1001101
[4,8,7,2,1,5,6,3]=>0111001
[7,3,8,2,5,1,6,4]=>1010101
[4,5,3,8,6,1,2,7]=>0101100
[6,3,5,8,4,1,2,7]=>1001100
[7,3,8,4,5,1,2,6]=>1010100
[4,8,7,5,1,2,6,3]=>0111001
[7,8,4,6,1,3,5,2]=>0101001
[4,8,7,5,1,3,6,2]=>0111001
[4,5,3,6,8,1,2,7]=>0100100
[7,8,6,2,1,4,3,5]=>0111010
[7,8,6,3,1,2,5,4]=>0111001
[3,7,6,4,1,5,2,8]=>0111010
[5,2,8,4,7,1,3,6]=>1010100
[7,3,1,2,8,6,5,4]=>1100111
[8,7,1,3,2,4,5,6]=>1101000
[4,1,3,6,5,7,2,8]=>1001010
[4,1,3,5,7,2,8,6]=>1000101
[5,1,8,2,4,6,3,7]=>1010010
[6,8,2,1,4,5,3,7]=>0110010
[4,2,7,3,6,8,5,1]=>1010011
[3,1,5,8,6,7,2,4]=>1001010
[6,8,2,1,4,5,7,3]=>0110001
[1,5,4,8,7,3,2,6]=>0101110
[4,3,1,2,6,5,7,8]=>1100100
[7,1,4,5,8,3,6,2]=>1000101
[7,5,8,1,2,4,6,3]=>1010001
[6,1,5,2,8,7,4,3]=>1010111
[8,4,6,3,1,2,7,5]=>1011001
[3,8,6,4,1,5,7,2]=>0111001
[8,7,1,4,5,2,3,6]=>1100100
[3,8,6,4,5,1,7,2]=>0110101
[3,7,6,4,5,1,2,8]=>0110100
[7,4,6,3,1,2,8,5]=>1011001
[4,6,2,5,7,8,1,3]=>0100010
[4,6,3,5,7,1,2,8]=>0100100
[4,7,3,5,8,6,1,2]=>0100110
[4,8,3,5,7,1,6,2]=>0100101
[4,8,3,5,6,1,2,7]=>0100100
[4,7,2,5,6,8,1,3]=>0100010
[4,8,2,5,6,7,1,3]=>0100010
[1,4,7,2,6,5,8,3]=>0010101
[1,5,7,2,6,4,8,3]=>0010101
[7,2,4,6,1,8,3,5]=>1001010
[1,2,7,8,3,5,4,6]=>0001010
[1,7,6,2,8,5,4,3]=>0110111
[1,2,7,8,3,4,6,5]=>0001001
[1,7,6,8,3,4,2,5]=>0101010
[3,4,1,7,8,6,5,2]=>0100111
[2,4,8,6,5,7,1,3]=>0011010
[5,1,3,4,8,2,7,6]=>1000101
[8,7,3,6,1,4,2,5]=>1101010
[6,5,1,8,3,4,7,2]=>1101001
[8,2,1,5,6,4,7,3]=>1100101
[7,5,6,1,3,4,8,2]=>1010001
[5,7,2,4,6,1,8,3]=>0100101
[2,1,5,6,3,8,7,4]=>1001011
[3,2,7,5,8,6,4,1]=>1010111
[2,4,5,3,8,1,7,6]=>0010101
[7,2,5,4,3,8,6,1]=>1011011
[8,5,3,1,2,6,7,4]=>1110001
[7,2,5,1,3,6,8,4]=>1010001
[8,4,7,3,1,2,6,5]=>1011001
[1,8,7,3,5,2,6,4]=>0110101
[2,4,8,3,6,5,7,1]=>0010101
[3,1,8,2,6,5,7,4]=>1010101
[4,6,7,8,5,2,1,3]=>0001110
[4,7,2,1,8,6,5,3]=>0110111
[5,6,2,8,4,1,7,3]=>0101101
[5,7,2,4,8,6,1,3]=>0100110
[6,7,2,4,8,5,1,3]=>0100110
[6,7,3,2,8,5,1,4]=>0110110
[7,2,3,1,8,6,5,4]=>1010111
[7,2,8,3,5,6,1,4]=>1010010
[7,2,3,8,4,6,1,5]=>1001010
[1,7,3,4,8,5,2,6]=>0100110
[1,7,3,8,5,4,2,6]=>0101110
[7,2,8,4,5,3,1,6]=>1010110
[2,8,6,4,3,1,7,5]=>0111101
[1,7,3,4,8,2,5,6]=>0100100
[1,5,8,3,4,6,2,7]=>0010010
[1,3,8,4,2,5,7,6]=>0011001
[1,4,7,6,2,3,8,5]=>0011001
[1,8,4,6,7,2,3,5]=>0100100
[1,4,2,3,7,8,6,5]=>0100011
[5,7,1,6,4,8,3,2]=>0101011
[7,4,5,8,1,3,6,2]=>1001001
[1,4,3,6,2,5,8,7]=>0101001
[1,4,6,3,2,5,8,7]=>0011001
[1,3,6,5,8,2,4,7]=>0010100
[1,4,6,3,2,8,5,7]=>0011010
[6,8,4,1,5,7,2,3]=>0110010
[5,2,6,7,4,1,8,3]=>1001101
[8,5,6,4,1,7,3,2]=>1011011
[7,8,3,1,6,4,5,2]=>0110101
[5,8,2,6,3,1,7,4]=>0101101
[4,5,8,1,6,3,7,2]=>0010101
[8,1,4,6,2,5,7,3]=>1001001
[4,5,8,1,6,2,7,3]=>0010101
[5,2,6,8,1,4,3,7]=>1001010
[6,7,3,8,2,1,4,5]=>0101100
[2,7,3,5,4,1,8,6]=>0101101
[2,6,3,7,4,1,8,5]=>0101101
[2,1,4,8,5,3,7,6]=>1001101
[2,7,3,8,4,1,6,5]=>0101101
[2,6,3,1,5,4,8,7]=>0110101
[1,5,8,3,4,7,2,6]=>0010010
[5,3,8,1,4,6,2,7]=>1010010
[4,5,8,1,3,6,2,7]=>0010010
[7,4,6,5,2,8,3,1]=>1011011
[4,1,3,8,5,7,6,2]=>1001011
[4,1,3,7,2,8,6,5]=>1001011
[4,6,3,1,7,2,8,5]=>0110101
[7,2,6,3,1,8,5,4]=>1011011
[4,8,7,2,5,3,1,6]=>0110110
[1,6,3,2,8,7,4,5]=>0110110
[2,8,1,7,5,4,6,3]=>0101101
[6,8,3,1,5,7,2,4]=>0110010
[8,7,3,1,2,5,6,4]=>1110001
[5,4,3,6,1,7,8,2]=>1101001
[3,2,7,8,5,6,1,4]=>1001010
[4,8,3,2,1,7,5,6]=>0111010
[5,1,2,6,4,7,8,3]=>1001001
[1,8,4,5,6,3,2,7]=>0100110
[8,5,1,7,4,6,3,2]=>1101011
[3,4,8,1,6,7,2,5]=>0010010
[3,6,7,8,4,1,5,2]=>0001101
[2,3,7,8,4,6,1,5]=>0001010
[1,3,7,8,4,6,2,5]=>0001010
[3,1,7,8,4,6,2,5]=>1001010
[4,3,8,1,6,7,2,5]=>1010010
[4,8,7,3,6,1,2,5]=>0110100
[5,8,4,3,7,1,2,6]=>0110100
[4,1,8,3,7,5,2,6]=>1010110
[2,4,8,3,6,7,1,5]=>0010010
[1,6,5,8,7,3,2,4]=>0101110
[5,6,4,8,7,2,1,3]=>0101110
[7,2,6,8,3,5,1,4]=>1001010
[7,2,8,6,5,3,1,4]=>1011110
[4,8,3,7,6,1,2,5]=>0101100
[2,8,4,7,1,3,6,5]=>0101001
[6,8,3,4,5,2,1,7]=>0100110
[3,7,1,4,5,6,2,8]=>0100010
[3,6,1,4,5,2,7,8]=>0100100
[3,8,2,4,5,1,7,6]=>0100101
[3,7,2,1,5,6,4,8]=>0110010
[3,6,8,1,5,4,7,2]=>0010101
[1,7,4,6,3,5,2,8]=>0101010
[1,3,6,5,7,2,4,8]=>0010100
[1,7,2,5,6,4,3,8]=>0100110
[1,6,8,5,4,3,7,2]=>0011101
[2,5,7,8,4,3,1,6]=>0001110
[6,8,5,3,2,4,1,7]=>0111010
[1,6,8,5,3,2,7,4]=>0011101
[4,6,1,8,7,5,3,2]=>0101111
[1,3,7,6,8,5,2,4]=>0010110
[4,1,7,8,6,5,2,3]=>1001110
[5,4,3,7,6,1,2,8]=>1101100
[4,7,6,1,2,3,8,5]=>0110001
[4,5,2,6,7,8,1,3]=>0100010
[1,7,6,2,3,8,5,4]=>0110011
[4,5,1,3,7,6,2,8]=>0100110
[7,2,3,8,6,4,5,1]=>1001101
[1,5,4,3,8,6,2,7]=>0110110
[1,3,7,5,8,4,6,2]=>0010101
[7,8,1,5,3,4,6,2]=>0101001
[7,3,5,4,1,6,2,8]=>1011010
[3,5,7,1,6,4,2,8]=>0010110
[3,7,5,6,1,4,2,8]=>0101010
[1,7,5,6,3,4,8,2]=>0101001
[5,3,1,2,7,8,4,6]=>1100010
[5,1,3,7,8,2,6,4]=>1000101
[5,8,1,2,7,6,4,3]=>0100111
[1,6,7,4,5,3,2,8]=>0010110
[1,4,2,6,7,5,3,8]=>0100110
[1,8,2,4,6,5,3,7]=>0100110
[7,2,1,6,4,3,8,5]=>1101101
[1,4,8,7,2,3,6,5]=>0011001
[4,1,3,6,5,8,2,7]=>1001010
[4,3,7,1,5,8,2,6]=>1010010
[1,8,6,5,2,7,4,3]=>0111011
[1,8,6,2,7,4,3,5]=>0110110
[7,2,6,4,1,8,5,3]=>1011011
[6,4,1,8,3,7,5,2]=>1101011
[4,5,8,7,3,6,2,1]=>0011011
[3,5,4,1,7,8,6,2]=>0110011
[6,8,7,2,1,5,4,3]=>0111011
[8,1,6,3,7,5,4,2]=>1010111
[8,5,1,3,7,6,4,2]=>1100111
[8,3,6,5,4,2,1,7]=>1011110
[6,1,3,5,7,2,8,4]=>1000101
[1,6,7,5,8,4,2,3]=>0010110
[7,4,1,6,5,2,8,3]=>1101101
[7,4,2,8,6,5,3,1]=>1101111
[6,8,4,7,3,2,5,1]=>0101101
[5,8,7,3,2,1,6,4]=>0111101
[5,8,7,2,6,4,3,1]=>0110111
[6,8,7,3,5,1,4,2]=>0110101
[7,2,5,6,8,3,4,1]=>1000101
[1,6,5,7,8,3,2,4]=>0100110
[8,6,7,2,3,5,4,1]=>1010011
[5,4,8,6,7,3,1,2]=>1010110
[4,2,7,3,1,6,8,5]=>1011001
[7,3,6,4,2,1,8,5]=>1011101
[4,8,5,2,7,3,1,6]=>0110110
[6,4,3,1,8,5,2,7]=>1110110
[7,4,3,1,5,8,6,2]=>1110011
[7,4,8,6,5,3,1,2]=>1011110
[4,8,5,2,6,7,3,1]=>0110011
[7,3,2,1,8,5,6,4]=>1110101
[1,5,7,2,4,3,8,6]=>0010101
[1,2,7,5,8,4,3,6]=>0010110
[5,1,3,8,2,7,4,6]=>1001010
[5,7,1,3,2,8,4,6]=>0101010
[7,1,6,3,2,8,4,5]=>1011010
[8,1,7,2,3,6,5,4]=>1010011
[7,1,2,6,4,3,8,5]=>1001101
[1,4,7,8,3,2,5,6]=>0001100
[8,7,1,3,2,4,6,5]=>1101001
[8,1,6,3,2,4,7,5]=>1011001
[1,8,2,7,6,3,5,4]=>0101101
[8,1,6,3,2,7,4,5]=>1011010
[8,2,1,7,6,3,4,5]=>1101100
[6,8,4,3,5,1,2,7]=>0110100
[8,7,3,5,4,1,2,6]=>1101100
[6,3,8,5,7,2,1,4]=>1010110
[8,7,3,6,4,1,2,5]=>1101100
[5,2,7,4,6,1,3,8]=>1010100
[8,7,2,3,5,1,4,6]=>1100100
[7,6,3,4,1,8,2,5]=>1101010
[6,3,5,2,8,1,4,7]=>1010100
[6,4,5,3,1,7,2,8]=>1011010
[8,7,2,4,3,1,5,6]=>1101100
[7,6,2,3,1,4,8,5]=>1101001
[4,7,6,2,3,1,5,8]=>0110100
[4,7,6,1,3,2,8,5]=>0110101
[2,8,1,3,5,6,4,7]=>0100010
[2,6,3,4,7,8,5,1]=>0100011
[7,6,3,1,8,5,2,4]=>1110110
[7,2,1,3,6,8,5,4]=>1100011
[7,6,3,8,1,5,2,4]=>1101010
[1,6,4,7,8,5,3,2]=>0100111
[7,2,5,8,6,1,3,4]=>1001100
[4,1,3,6,2,5,8,7]=>1001001
[7,1,4,6,3,2,5,8]=>1001100
[7,4,5,8,6,2,3,1]=>1001101
[6,7,2,3,8,4,1,5]=>0100110
[1,5,2,6,8,7,4,3]=>0100111
[1,8,3,7,5,2,6,4]=>0101101
[8,1,3,6,5,2,7,4]=>1001101
[7,1,3,8,5,2,6,4]=>1001101
[4,7,1,5,2,6,8,3]=>0101001
[7,4,1,5,2,6,8,3]=>1101001
[3,1,6,7,5,2,8,4]=>1001101
[8,6,2,4,5,1,7,3]=>1100101
[8,6,7,5,2,1,4,3]=>1011101
[7,1,4,5,2,6,8,3]=>1001001
[4,1,6,2,3,8,7,5]=>1010011
[4,1,7,6,5,2,8,3]=>1011101
[8,4,1,5,6,2,7,3]=>1100101
[8,4,5,3,6,1,7,2]=>1010101
[2,8,4,7,3,5,6,1]=>0101001
[1,5,4,8,3,2,6,7]=>0101100
[1,5,7,6,3,8,2,4]=>0011010
[2,6,3,1,7,8,4,5]=>0110010
[2,1,7,8,3,5,4,6]=>1001010
[1,5,8,6,7,4,2,3]=>0010110
[8,7,1,3,5,2,6,4]=>1100101
[3,7,8,2,5,4,1,6]=>0010110
[4,7,6,5,8,1,3,2]=>0110101
[4,7,8,6,2,1,5,3]=>0011101
[4,8,6,3,2,1,7,5]=>0111101
[5,1,4,7,6,8,3,2]=>1001011
[5,6,4,7,1,8,3,2]=>0101011
[5,3,7,4,6,1,8,2]=>1010101
[4,1,5,7,8,6,3,2]=>1000111
[3,6,7,1,5,4,8,2]=>0010101
[3,6,4,7,5,8,2,1]=>0101011
[8,1,7,3,2,4,5,6]=>1011000
[6,4,7,1,5,2,8,3]=>1010101
[4,8,1,3,5,2,7,6]=>0100101
[1,6,5,2,8,7,4,3]=>0110111
[4,1,7,2,5,8,3,6]=>1010010
[3,2,5,8,6,1,7,4]=>1001101
[4,5,1,7,2,8,6,3]=>0101011
[2,8,5,3,6,7,4,1]=>0110011
[8,3,5,2,6,7,4,1]=>1010011
[2,8,6,3,4,7,5,1]=>0110011
[6,4,7,2,5,3,1,8]=>1010110
[7,1,4,3,6,8,2,5]=>1010010
[6,3,1,5,4,8,7,2]=>1101011
[7,1,3,8,5,4,2,6]=>1001110
[4,8,7,3,5,1,6,2]=>0110101
[5,3,8,7,1,6,2,4]=>1011010
[3,4,1,6,2,8,7,5]=>0101011
[5,2,6,7,4,3,1,8]=>1001110
[8,5,1,6,4,3,2,7]=>1101110
[8,6,3,5,2,7,1,4]=>1101010
[8,4,6,2,1,5,7,3]=>1011001
[8,5,2,1,6,4,7,3]=>1110101
[1,7,2,8,5,4,6,3]=>0101101
[6,7,1,4,8,5,3,2]=>0100111
[7,3,2,8,5,1,4,6]=>1101100
[4,1,7,3,2,8,5,6]=>1011010
[8,3,5,2,4,7,1,6]=>1010010
[4,3,7,8,6,1,5,2]=>1001101
[1,2,6,3,7,8,5,4]=>0010011
[6,1,3,7,8,5,4,2]=>1000111
[2,6,4,7,5,3,1,8]=>0101110
[5,6,3,7,2,8,4,1]=>0101011
[4,5,1,8,6,2,7,3]=>0101101
[5,6,1,8,7,2,3,4]=>0101100
[4,5,1,6,8,7,3,2]=>0100111
[3,8,6,1,5,2,4,7]=>0110100
[3,2,8,1,5,6,4,7]=>1010010
[5,8,7,3,2,1,4,6]=>0111100
[3,4,7,6,8,2,1,5]=>0010110
[2,8,1,3,7,5,6,4]=>0100101
[1,8,7,2,5,6,4,3]=>0110011
[3,4,7,1,5,8,2,6]=>0010010
[4,2,7,1,5,8,3,6]=>1010010
[2,4,6,3,5,1,7,8]=>0010100
[4,1,6,2,5,8,3,7]=>1010010
[1,8,2,5,7,3,4,6]=>0100100
[1,4,6,3,8,5,2,7]=>0010110
[4,5,6,3,1,7,2,8]=>0011010
[3,4,6,2,5,1,7,8]=>0010100
[1,4,7,5,2,3,6,8]=>0011000
[1,4,6,5,8,2,3,7]=>0010100
[1,4,8,3,7,6,2,5]=>0010110
[1,4,5,3,7,2,6,8]=>0010100
[2,5,7,6,8,3,4,1]=>0010101
[3,1,6,7,2,8,5,4]=>1001011
[1,5,3,6,8,4,7,2]=>0100101
[6,5,1,3,8,4,7,2]=>1100101
[1,7,4,8,5,3,2,6]=>0101110
[7,3,1,6,8,4,5,2]=>1100101
[8,5,1,4,6,7,3,2]=>1100011
[3,4,7,5,6,8,2,1]=>0010011
[3,4,7,8,5,2,6,1]=>0001101
[7,4,2,3,6,5,1,8]=>1100110
[7,2,4,3,1,5,6,8]=>1011000
[6,3,1,4,8,5,7,2]=>1100101
[6,3,5,4,8,7,1,2]=>1010110
[2,6,4,3,1,7,5,8]=>0111010
[4,8,1,7,5,6,3,2]=>0101011
[1,5,7,2,8,4,6,3]=>0010101
[5,8,7,2,3,6,4,1]=>0110011
[4,6,5,1,2,3,7,8]=>0110000
[1,8,7,5,2,6,3,4]=>0111010
[1,7,6,3,4,5,8,2]=>0110001
[1,8,7,4,5,6,2,3]=>0110010
[1,8,7,3,6,4,2,5]=>0110110
[1,4,7,5,8,2,6,3]=>0010101
[1,4,7,2,3,6,5,8]=>0010010
[1,7,2,5,6,3,4,8]=>0100100
[1,2,6,5,8,3,4,7]=>0010100
[1,5,8,2,6,3,4,7]=>0010100
[6,8,3,2,7,5,1,4]=>0110110
[7,3,6,8,1,2,5,4]=>1001001
[4,1,5,7,2,6,3,8]=>1001010
[5,7,2,1,3,6,4,8]=>0110010
[3,5,6,7,2,4,1,8]=>0001010
[6,4,7,5,2,3,1,8]=>1011010
[1,5,6,4,8,3,2,7]=>0010110
[2,1,5,6,4,8,3,7]=>1001010
[5,1,4,7,8,6,2,3]=>1000110
[1,6,7,2,8,5,4,3]=>0010111
[5,3,2,1,7,8,6,4]=>1110011
[7,4,3,8,6,1,5,2]=>1101101
[4,3,7,1,5,8,6,2]=>1010011
[8,2,4,5,3,1,7,6]=>1001101
[1,4,3,2,7,5,8,6]=>0110101
[4,8,7,2,6,1,3,5]=>0110100
[4,5,8,2,1,7,3,6]=>0011010
[6,8,4,1,7,3,2,5]=>0110110
[6,3,1,8,2,7,5,4]=>1101011
[6,4,1,3,2,5,7,8]=>1101000
[4,1,7,8,3,2,5,6]=>1001100
[5,4,7,1,3,6,2,8]=>1010010
[7,6,2,8,4,5,3,1]=>1101011
[5,8,2,1,3,6,4,7]=>0110010
[8,5,1,7,3,4,6,2]=>1101001
[5,7,6,3,4,1,8,2]=>0110101
[1,8,3,5,2,6,4,7]=>0101010
[3,4,6,1,8,5,7,2]=>0010101
[2,3,8,7,4,5,1,6]=>0011010
[1,8,3,5,7,4,2,6]=>0100110
[2,5,8,4,6,7,1,3]=>0010010
[7,1,2,6,4,3,5,8]=>1001100
[7,1,2,6,5,3,4,8]=>1001100
[4,7,8,6,2,3,5,1]=>0011001
[7,1,2,4,8,6,5,3]=>1000111
[2,7,5,6,4,8,1,3]=>0101010
[2,8,3,6,5,7,1,4]=>0101010
[7,4,3,1,6,5,2,8]=>1110110
[3,5,1,2,6,8,7,4]=>0100011
[3,1,2,4,8,7,5,6]=>1000110
[5,4,1,2,3,7,8,6]=>1100001
[1,6,7,2,5,8,3,4]=>0010010
[7,8,5,6,2,4,3,1]=>0101011
[5,3,8,6,2,4,1,7]=>1011010
[2,7,4,6,3,8,1,5]=>0101010
[5,4,7,8,6,2,1,3]=>1001110
[2,7,4,8,3,1,5,6]=>0101100
[8,2,1,3,7,4,6,5]=>1100101
[6,5,8,2,3,4,7,1]=>1010001
[7,8,2,3,6,4,5,1]=>0100101
[8,1,2,7,5,3,4,6]=>1001100
[4,2,8,1,3,7,5,6]=>1010010
[7,5,1,8,2,3,4,6]=>1101000
[8,2,4,1,3,7,5,6]=>1010010
[8,1,6,2,3,7,4,5]=>1010010
[7,1,8,2,3,6,4,5]=>1010010
[4,2,6,7,5,1,8,3]=>1001101
[4,7,2,5,3,8,1,6]=>0101010
[3,5,7,4,2,8,1,6]=>0011010
[2,4,7,6,3,8,1,5]=>0011010
[4,6,8,5,1,2,3,7]=>0011000
[4,6,5,7,1,2,3,8]=>0101000
[4,6,5,7,1,3,8,2]=>0101001
[3,4,7,6,1,8,2,5]=>0011010
[8,5,2,1,6,3,4,7]=>1110100
[7,1,8,5,3,2,4,6]=>1011100
[8,6,1,3,2,7,5,4]=>1101011
[8,1,7,5,2,4,6,3]=>1011001
[8,2,7,5,4,1,6,3]=>1011101
[8,6,1,2,7,3,5,4]=>1100101
[4,2,8,5,7,1,6,3]=>1010101
[6,8,7,4,5,3,2,1]=>0110111
[5,2,6,7,4,8,3,1]=>1001011
[6,5,8,1,7,3,2,4]=>1010110
[6,4,8,1,5,2,3,7]=>1010100
[7,2,4,1,6,3,5,8]=>1010100
[2,6,1,5,3,4,8,7]=>0101001
[3,8,7,5,4,2,6,1]=>0111101
[5,7,8,2,3,6,4,1]=>0010011
[2,8,7,3,1,4,5,6]=>0111000
[5,6,1,2,4,7,8,3]=>0100001
[3,8,6,7,5,4,2,1]=>0101111
[7,8,5,1,4,6,2,3]=>0110010
[8,2,7,5,4,6,1,3]=>1011010
[8,4,7,6,3,1,2,5]=>1011100
[4,6,7,1,3,2,8,5]=>0010101
[6,4,7,5,3,2,8,1]=>1011101
[8,4,6,3,1,5,7,2]=>1011001
[7,3,1,4,5,6,8,2]=>1100001
[6,7,3,4,2,1,8,5]=>0101101
[6,4,8,3,1,5,7,2]=>1011001
[7,4,2,3,5,1,8,6]=>1100101
[3,1,6,5,2,4,8,7]=>1011001
[2,5,3,8,6,4,1,7]=>0101110
[5,8,4,1,3,2,7,6]=>0110101
[5,3,4,7,6,1,8,2]=>1001101
[4,5,2,1,6,3,8,7]=>0110101
[4,5,2,1,6,7,3,8]=>0110010
[5,3,8,6,2,4,7,1]=>1011001
[2,5,1,6,4,3,8,7]=>0101101
[3,6,2,8,5,7,1,4]=>0101010
[4,6,8,1,5,7,2,3]=>0010010
[4,1,2,5,7,6,3,8]=>1000110
[4,6,5,8,1,7,3,2]=>0101011
[2,1,3,6,4,8,7,5]=>1001011
[4,8,1,2,7,5,6,3]=>0100101
[1,6,4,3,8,7,5,2]=>0110111
[4,5,1,6,8,7,2,3]=>0100110
[2,5,1,8,6,4,7,3]=>0101101
[2,5,8,7,3,1,4,6]=>0011100
[3,8,7,2,6,1,4,5]=>0110100
[8,4,5,1,6,7,2,3]=>1010010
[8,4,7,3,1,5,2,6]=>1011010
[2,5,1,8,3,6,4,7]=>0101010
[5,8,4,7,3,2,1,6]=>0101110
[5,6,8,4,2,7,1,3]=>0011010
[4,3,8,6,1,2,5,7]=>1011000
[4,8,6,5,7,1,3,2]=>0110101
[7,2,3,5,6,8,4,1]=>1000011
[5,8,1,3,4,7,2,6]=>0100010
[8,3,4,2,7,6,1,5]=>1010110
[8,7,5,6,4,1,3,2]=>1101101
[8,7,4,2,3,6,5,1]=>1110011
[8,4,2,3,7,6,5,1]=>1100111
[7,2,4,5,3,1,6,8]=>1001100
[7,6,3,1,4,5,8,2]=>1110001
[5,4,1,7,8,6,2,3]=>1100110
[5,3,4,7,8,1,6,2]=>1000101
[4,3,7,6,5,1,8,2]=>1011101
[5,1,4,8,2,3,7,6]=>1001001
[3,2,8,5,4,1,6,7]=>1011100
[1,2,8,3,4,6,5,7]=>0010010
[8,1,2,7,3,5,4,6]=>1001010
[5,7,1,2,6,3,4,8]=>0100100
[1,2,7,5,6,3,4,8]=>0010100
[5,1,4,7,2,3,6,8]=>1001000
[4,8,1,2,3,6,5,7]=>0100010
[6,2,3,8,7,1,4,5]=>1001100
[8,2,3,6,4,7,5,1]=>1001011
[7,2,3,6,4,8,1,5]=>1001010
[5,4,1,6,2,7,8,3]=>1101001
[7,1,3,5,4,2,8,6]=>1001101
[7,6,8,2,4,5,3,1]=>1010011
[4,2,8,6,5,1,3,7]=>1011100
[3,8,5,4,7,1,2,6]=>0110100
[1,4,8,3,6,2,7,5]=>0010101
[6,3,2,4,8,7,1,5]=>1100110
[8,3,2,7,4,1,5,6]=>1101100
[7,3,2,6,5,8,1,4]=>1101010
[3,6,2,5,7,4,8,1]=>0100101
[2,7,1,5,8,6,4,3]=>0100111
[7,2,4,1,6,8,5,3]=>1010011
[6,4,7,2,3,8,5,1]=>1010011
[6,1,8,5,7,4,2,3]=>1010110
[7,1,4,3,6,5,8,2]=>1010101
[7,1,5,6,3,4,8,2]=>1001001
[6,1,8,5,4,7,3,2]=>1011011
[7,6,1,5,4,2,8,3]=>1101101
[5,1,6,8,7,2,4,3]=>1001101
[4,6,7,5,3,1,8,2]=>0011101
[5,3,2,6,8,7,4,1]=>1100111
[5,4,6,2,8,7,3,1]=>1010111
[4,5,8,6,7,2,3,1]=>0010101
[4,5,7,6,1,2,8,3]=>0011001
[4,6,5,7,2,1,8,3]=>0101101
[7,4,8,6,3,5,1,2]=>1011010
[7,2,4,3,6,1,8,5]=>1010101
[2,3,4,7,8,6,1,5]=>0000110
[6,3,7,1,4,2,8,5]=>1010101
[4,6,3,5,1,8,2,7]=>0101010
[8,5,7,6,2,3,4,1]=>1011001
[3,4,6,7,8,2,5,1]=>0000101
[2,5,6,7,3,8,1,4]=>0001010
[5,8,4,6,2,1,7,3]=>0101101
[1,6,8,3,4,2,7,5]=>0010101
[4,1,7,6,2,8,3,5]=>1011010
[4,1,8,2,7,5,3,6]=>1010110
[4,1,7,2,8,5,3,6]=>1010110
[2,5,6,3,7,4,8,1]=>0010101
[2,6,5,3,8,4,7,1]=>0110101
[2,6,5,3,7,4,8,1]=>0110101
[7,1,6,3,5,4,8,2]=>1010101
[5,7,3,2,8,4,1,6]=>0110110
[2,8,6,1,7,5,3,4]=>0110110
[8,1,5,2,7,4,3,6]=>1010110
[7,1,4,2,8,5,3,6]=>1010110
[2,6,8,1,7,5,3,4]=>0010110
[1,4,6,5,3,8,2,7]=>0011010
[2,4,5,8,7,1,3,6]=>0001100
[3,1,6,8,7,5,4,2]=>1001111
[3,1,8,7,5,6,4,2]=>1011011
[5,1,8,7,6,3,4,2]=>1011101
[8,2,7,5,3,6,4,1]=>1011011
[8,7,2,3,1,5,6,4]=>1101001
[2,8,5,7,6,1,3,4]=>0101100
[1,8,7,2,6,4,5,3]=>0110101
[8,7,2,1,6,4,5,3]=>1110101
[1,8,4,7,6,2,5,3]=>0101101
[8,7,1,6,4,3,5,2]=>1101101
[8,4,1,7,3,6,5,2]=>1101011
[8,3,6,2,1,5,4,7]=>1011010
[1,7,3,6,8,2,5,4]=>0100101
[4,5,1,8,7,3,6,2]=>0101101
[3,8,5,2,6,7,4,1]=>0110011
[3,6,4,7,5,2,1,8]=>0101110
[5,7,4,1,2,6,8,3]=>0110001
[2,8,6,7,5,3,1,4]=>0101110
[7,4,5,2,6,3,1,8]=>1010110
[8,6,3,4,5,1,7,2]=>1100101
[8,6,3,5,4,1,7,2]=>1101101
[8,7,4,5,1,3,6,2]=>1101001
[8,6,2,5,3,1,4,7]=>1101100
[8,4,7,3,1,2,5,6]=>1011000
[8,7,3,5,1,6,4,2]=>1101011
[4,8,3,2,6,1,7,5]=>0110101
[4,3,7,6,1,5,2,8]=>1011010
[7,5,4,3,6,1,8,2]=>1110101
[4,6,8,5,3,1,2,7]=>0011100
[5,6,8,4,3,7,2,1]=>0011011
[7,5,8,4,2,1,6,3]=>1011101
[1,4,8,7,6,2,5,3]=>0011101
[7,2,4,1,5,3,8,6]=>1010101
[8,5,3,4,1,7,2,6]=>1101010
[2,8,5,4,3,6,1,7]=>0111010
[8,6,5,3,1,2,7,4]=>1111001
[7,4,6,5,3,2,8,1]=>1011101
[5,6,7,2,3,8,4,1]=>0010011
[8,4,2,6,5,7,3,1]=>1101011
[1,7,4,2,8,5,6,3]=>0110101
[3,2,1,7,4,6,8,5]=>1101001
[6,2,5,7,1,4,3,8]=>1001010
[4,8,5,3,1,2,6,7]=>0111000
[8,5,2,4,6,1,3,7]=>1100100
[1,5,3,4,7,2,6,8]=>0100100
[8,4,6,1,5,7,3,2]=>1010011
[6,4,7,2,1,3,8,5]=>1011001
[6,7,3,1,2,4,8,5]=>0110001
[3,1,8,7,6,2,5,4]=>1011101
[1,3,8,6,7,2,5,4]=>0010101
[5,2,3,6,1,8,4,7]=>1001010
[3,2,6,4,7,1,5,8]=>1010100
[3,6,2,5,7,8,4,1]=>0100011
[2,7,4,6,8,3,5,1]=>0100101
[3,7,6,8,1,5,4,2]=>0101011
[1,5,7,6,8,4,2,3]=>0010110
[2,7,4,6,8,5,3,1]=>0100111
[3,7,6,8,5,1,4,2]=>0101101
[7,1,3,8,6,2,4,5]=>1001100
[2,7,1,8,6,5,3,4]=>0101110
[8,1,5,2,6,4,7,3]=>1010101
[4,6,7,5,1,2,3,8]=>0011000
[5,3,4,7,6,2,1,8]=>1001110
[4,1,8,5,7,2,6,3]=>1010101
[4,1,8,2,7,5,6,3]=>1010101
[7,6,8,2,4,3,5,1]=>1010101
[7,4,5,3,8,1,6,2]=>1010101
[7,3,6,1,4,2,8,5]=>1010101
[8,7,2,6,4,5,1,3]=>1101010
[2,6,4,8,3,5,1,7]=>0101010
[1,4,8,5,3,2,7,6]=>0011101
[3,5,8,4,6,7,1,2]=>0010010
[1,2,4,8,5,7,3,6]=>0001010
[7,3,4,1,8,2,5,6]=>1010100
[5,6,3,1,8,2,4,7]=>0110100
[7,3,6,5,1,8,4,2]=>1011011
[5,7,2,1,4,8,6,3]=>0110011
[7,6,3,5,2,1,8,4]=>1101101
[7,3,2,5,1,6,8,4]=>1101001
[3,5,1,7,6,4,8,2]=>0101101
[8,7,4,2,1,6,5,3]=>1111011
[5,4,7,6,2,1,8,3]=>1011101
[3,5,2,8,7,1,6,4]=>0101101
[3,7,6,5,4,1,8,2]=>0111101
[4,6,5,3,1,8,7,2]=>0111011
[4,5,2,6,7,3,8,1]=>0100101
[8,6,7,4,3,1,5,2]=>1011101
[4,7,1,8,5,3,2,6]=>0101110
[8,6,7,1,4,3,5,2]=>1010101
[8,6,7,2,1,3,5,4]=>1011001
[8,5,6,1,7,4,2,3]=>1010110
[6,4,1,2,5,7,8,3]=>1100001
[6,1,5,4,2,7,3,8]=>1011010
[6,4,2,3,1,7,5,8]=>1101010
[3,4,6,1,8,2,7,5]=>0010101
[5,3,1,4,7,6,2,8]=>1100110
[6,4,5,2,7,1,3,8]=>1010100
[7,4,3,5,1,6,2,8]=>1101010
[7,5,3,6,2,1,4,8]=>1101100
[6,4,3,7,1,8,2,5]=>1101010
[3,1,2,7,6,4,5,8]=>1001100
[5,1,2,7,6,3,4,8]=>1001100
[5,6,1,7,2,4,3,8]=>0101010
[3,5,6,8,1,2,7,4]=>0001001
[2,6,5,7,1,3,4,8]=>0101000
[2,3,7,1,5,6,4,8]=>0010010
[2,6,5,3,4,1,7,8]=>0110100
[2,6,1,3,5,4,7,8]=>0100100
[4,6,1,5,2,8,7,3]=>0101011
[6,1,5,4,2,7,8,3]=>1011001
[4,6,1,5,2,7,8,3]=>0101001
[2,8,6,5,1,3,7,4]=>0111001
[5,1,8,6,2,7,4,3]=>1011011
[3,6,8,2,7,5,1,4]=>0010110
[5,6,4,1,7,2,8,3]=>0110101
[8,1,6,3,4,2,5,7]=>1010100
[7,4,2,3,1,6,8,5]=>1101001
[1,6,4,5,7,3,2,8]=>0100110
[1,6,4,5,7,2,8,3]=>0100101
[1,7,5,6,4,8,3,2]=>0101011
[1,5,6,7,3,2,4,8]=>0001100
[8,2,4,3,1,7,5,6]=>1011010
[8,2,1,4,3,7,5,6]=>1101010
[7,6,8,2,1,5,3,4]=>1011010
[8,6,2,5,1,3,7,4]=>1101001
[5,7,2,6,4,1,8,3]=>0101101
[4,5,6,1,3,8,2,7]=>0010010
[6,3,5,7,4,2,8,1]=>1001101
[7,6,4,8,5,3,1,2]=>1101110
[8,2,1,6,4,7,3,5]=>1101010
[1,3,8,6,5,2,7,4]=>0011101
[2,7,3,8,5,6,4,1]=>0101011
[1,2,8,5,7,4,6,3]=>0010101
[1,6,8,5,4,7,2,3]=>0011010
[5,7,1,8,3,2,6,4]=>0101101
[2,1,3,8,6,4,7,5]=>1001101
[8,2,5,4,3,7,1,6]=>1011010
[5,8,4,3,7,6,2,1]=>0110111
[8,1,5,3,4,7,2,6]=>1010010
[6,1,8,7,4,5,3,2]=>1011011
[1,5,8,6,4,3,7,2]=>0011101
[5,8,6,4,2,1,7,3]=>0111101
[2,6,1,8,4,7,5,3]=>0101011
[5,3,8,6,1,2,7,4]=>1011001
[5,8,1,4,6,2,7,3]=>0100101
[3,7,6,2,1,4,8,5]=>0111001
[4,6,2,3,7,1,8,5]=>0100101
[6,8,7,5,1,3,4,2]=>0111001
[6,4,3,2,7,8,5,1]=>1110011
[2,7,6,1,5,3,8,4]=>0110101
[7,8,6,4,2,5,3,1]=>0111011
[6,4,5,8,7,1,3,2]=>1001101
[6,4,1,7,8,3,2,5]=>1100110
[6,4,3,8,7,2,5,1]=>1101101
[5,4,7,2,1,3,8,6]=>1011001
[2,6,4,5,7,1,8,3]=>0100101
[3,7,4,6,1,5,8,2]=>0101001
[3,4,6,5,2,8,1,7]=>0011010
[4,6,7,5,8,2,1,3]=>0010110
[2,5,7,6,4,1,8,3]=>0011101
[5,1,4,6,2,7,8,3]=>1001001
[1,2,5,3,7,8,6,4]=>0010011
[4,8,3,5,1,2,7,6]=>0101001
[6,1,3,7,2,8,4,5]=>1001010
[3,8,5,4,1,7,2,6]=>0111010
[3,1,5,8,2,6,7,4]=>1001001
[2,8,5,3,1,7,4,6]=>0111010
[6,5,2,3,7,1,8,4]=>1100101
[7,2,1,6,4,8,3,5]=>1101010
[2,1,3,7,5,8,4,6]=>1001010
[6,2,4,5,7,1,8,3]=>1000101
[2,3,8,7,1,4,6,5]=>0011001
[4,2,7,5,6,8,1,3]=>1010010
[6,8,2,5,4,7,3,1]=>0101011
[2,7,6,3,8,4,5,1]=>0110101
[4,6,8,2,3,1,7,5]=>0010101
[4,7,2,3,5,1,8,6]=>0100101
[6,4,2,1,3,7,5,8]=>1110010
[5,3,2,7,6,1,8,4]=>1101101
[5,6,4,2,8,7,1,3]=>0110110
[5,7,4,2,6,1,8,3]=>0110101
[5,4,7,1,6,2,8,3]=>1010101
[4,5,8,7,6,2,1,3]=>0011110
[6,4,7,1,2,3,8,5]=>1010001
[1,8,7,2,3,4,6,5]=>0110001
[1,8,3,7,6,2,5,4]=>0101101
[1,3,8,2,5,6,4,7]=>0010010
[1,3,2,7,4,6,8,5]=>0101001
[1,3,8,4,6,2,7,5]=>0010101
[8,2,3,6,7,4,5,1]=>1000101
[5,6,4,2,1,7,3,8]=>0111010
[2,5,7,6,3,8,4,1]=>0011011
[6,4,7,1,2,5,3,8]=>1010010
[1,2,7,5,8,6,3,4]=>0010110
[7,4,5,1,6,8,2,3]=>1010010
[1,7,8,4,2,6,3,5]=>0011010
[6,3,2,5,7,4,1,8]=>1100110
[6,2,1,5,3,7,8,4]=>1101001
[6,2,5,1,3,8,7,4]=>1010011
[6,2,8,5,1,3,7,4]=>1011001
[4,1,7,8,3,6,5,2]=>1001011
[6,4,2,1,7,3,5,8]=>1110100
[5,8,4,2,1,3,6,7]=>0111000
[1,7,5,8,4,3,6,2]=>0101101
[5,8,1,6,4,7,2,3]=>0101010
[2,4,7,5,1,8,6,3]=>0011011
[2,3,7,1,8,5,6,4]=>0010101
[6,5,1,2,7,4,8,3]=>1100101
[3,6,5,7,8,2,4,1]=>0100101
[3,6,5,1,8,7,4,2]=>0110111
[7,8,1,2,5,4,3,6]=>0100110
[2,8,4,3,5,1,7,6]=>0110101
[5,2,4,7,6,8,1,3]=>1001010
[3,1,5,7,4,8,6,2]=>1001011
[4,1,7,6,8,2,5,3]=>1010101
[7,2,6,4,1,5,3,8]=>1011010
[1,2,6,5,8,3,7,4]=>0010101
[7,3,5,6,1,4,2,8]=>1001010
[5,8,3,1,6,7,4,2]=>0110011
[4,5,8,1,7,3,6,2]=>0010101
[4,7,1,6,8,5,2,3]=>0100110
[5,8,7,1,6,4,2,3]=>0110110
[1,7,3,8,2,5,4,6]=>0101010
[8,4,1,3,6,7,5,2]=>1100011
[5,3,1,8,6,7,4,2]=>1101011
[6,2,7,1,4,3,5,8]=>1010100
[8,3,2,6,5,1,7,4]=>1101101
[7,3,2,6,5,1,4,8]=>1101100
[2,6,8,4,7,1,3,5]=>0010100
[7,8,6,3,2,5,4,1]=>0111011
[5,2,8,6,3,1,4,7]=>1011100
[1,6,4,8,2,3,5,7]=>0101000
[2,8,5,6,4,1,7,3]=>0101101
[1,4,7,3,5,8,6,2]=>0010011
[3,7,8,2,5,1,6,4]=>0010101
[8,6,1,4,3,2,7,5]=>1101101
[7,3,8,2,4,1,5,6]=>1010100
[6,3,7,8,1,2,5,4]=>1001001
[7,6,1,5,2,3,8,4]=>1101001
[5,1,8,6,7,2,3,4]=>1010100
[5,7,1,6,8,2,3,4]=>0100100
[6,8,4,2,1,7,3,5]=>0111010
[6,3,2,8,1,7,4,5]=>1101010
[6,4,1,3,7,8,5,2]=>1100011
[6,8,5,4,3,7,1,2]=>0111010
[5,7,4,8,3,1,2,6]=>0101100
[6,1,2,4,8,3,7,5]=>1000101
[2,5,6,8,1,4,7,3]=>0001001
[7,4,1,6,5,2,3,8]=>1101100
[4,1,6,5,2,3,8,7]=>1011001
[4,5,1,7,8,6,2,3]=>0100110
[8,5,7,3,4,6,2,1]=>1010011
[6,8,7,4,3,5,2,1]=>0111011
[6,8,7,5,3,4,2,1]=>0111011
[5,8,6,2,4,7,3,1]=>0110011
[4,8,6,2,5,7,3,1]=>0110011
[1,6,4,7,5,3,2,8]=>0101110
[1,6,5,3,2,7,4,8]=>0111010
[1,6,8,7,4,5,3,2]=>0011011
[1,4,7,5,3,2,6,8]=>0011100
[1,7,5,4,3,2,8,6]=>0111101
[1,4,7,5,3,2,8,6]=>0011101
[1,7,4,6,8,5,3,2]=>0100111
[6,8,7,2,3,5,4,1]=>0110011
[5,7,6,1,8,2,4,3]=>0110101
[4,8,6,5,7,2,3,1]=>0110101
[2,7,8,5,1,4,3,6]=>0011010
[8,5,6,2,4,7,3,1]=>1010011
[3,5,8,4,2,6,1,7]=>0011010
[8,1,3,6,4,5,2,7]=>1001010
[4,3,1,6,2,5,8,7]=>1101001
[7,5,2,1,8,4,3,6]=>1110110
[5,3,1,4,7,8,2,6]=>1100010
[7,1,2,4,8,3,5,6]=>1000100
[8,6,1,3,5,7,4,2]=>1100011
[7,1,5,8,2,3,4,6]=>1001000
[3,6,8,5,1,4,2,7]=>0011010
[5,2,4,1,6,8,3,7]=>1010010
[2,5,3,4,6,8,1,7]=>0100010
[4,7,1,2,5,6,3,8]=>0100010
[6,7,3,1,8,2,4,5]=>0110100
[7,3,1,4,6,2,8,5]=>1100101
[7,4,1,2,5,6,3,8]=>1100010
[5,4,1,3,6,8,7,2]=>1100011
[5,7,4,8,1,6,3,2]=>0101011
[4,3,1,2,5,7,6,8]=>1100010
[1,2,4,7,8,5,6,3]=>0000101
[8,3,6,5,7,4,2,1]=>1010111
[8,2,6,5,7,4,3,1]=>1010111
[8,4,7,1,5,2,6,3]=>1010101
[8,2,6,3,7,5,4,1]=>1010111
[8,2,5,3,7,6,4,1]=>1010111
[8,5,7,1,4,3,6,2]=>1010101
[5,3,1,8,4,2,6,7]=>1101100
[4,5,3,6,8,7,1,2]=>0100110
[2,1,6,5,8,7,3,4]=>1010110
[6,1,5,4,7,3,8,2]=>1010101
[3,1,8,4,2,7,6,5]=>1011011
[2,8,7,4,1,3,6,5]=>0111001
[8,2,3,1,7,6,4,5]=>1010110
[8,7,2,3,1,6,4,5]=>1101010
[7,2,5,8,3,1,4,6]=>1001100
[6,8,2,3,1,7,4,5]=>0101010
[8,2,5,7,3,1,4,6]=>1001100
[8,2,7,3,1,4,5,6]=>1011000
[5,3,2,8,7,1,6,4]=>1101101
[8,6,7,4,1,3,5,2]=>1011001
[4,1,3,6,5,2,8,7]=>1001101
[4,6,3,2,5,1,8,7]=>0110101
[4,8,3,2,6,5,7,1]=>0110101
[4,8,3,6,5,2,7,1]=>0101101
[8,1,6,2,5,4,7,3]=>1010101
[2,4,3,8,6,1,7,5]=>0101101
[2,6,3,8,5,4,7,1]=>0101101
[6,1,3,2,5,8,7,4]=>1010011
[6,8,4,2,5,3,7,1]=>0110101
[6,8,4,3,5,2,7,1]=>0110101
[8,1,4,6,5,3,7,2]=>1001101
[3,5,4,6,1,2,8,7]=>0101001
[7,3,5,6,1,8,2,4]=>1001010
[5,7,6,3,4,2,8,1]=>0110101
[4,6,7,2,3,5,8,1]=>0010001
[6,5,4,8,7,2,3,1]=>1101101
[5,7,4,3,6,2,1,8]=>0110110
[1,8,5,6,2,3,7,4]=>0101001
[7,2,4,6,8,1,5,3]=>1000101
[6,2,5,4,7,8,1,3]=>1010010
[3,8,2,6,1,7,4,5]=>0101010
[8,5,6,1,3,2,7,4]=>1010101
[5,3,7,8,2,6,1,4]=>1001010
[4,5,8,3,6,1,7,2]=>0010101
[4,5,8,7,2,3,1,6]=>0011010
[8,2,6,4,3,7,5,1]=>1011011
[6,3,1,8,7,4,5,2]=>1101101
[8,6,3,2,7,4,5,1]=>1110101
[1,3,6,8,7,4,5,2]=>0001101
[5,7,1,3,6,2,4,8]=>0100100
[4,7,5,2,3,6,8,1]=>0110001
[3,6,4,1,2,5,7,8]=>0110000
[4,7,1,3,2,5,8,6]=>0101001
[4,7,1,3,2,6,8,5]=>0101001
[5,7,1,3,6,2,8,4]=>0100101
[6,8,2,5,7,3,1,4]=>0100110
[4,8,5,2,3,6,1,7]=>0110010
[5,8,6,3,4,7,2,1]=>0110011
[3,7,5,4,2,8,1,6]=>0111010
[4,6,5,1,7,8,2,3]=>0110010
[4,7,1,3,2,8,5,6]=>0101010
[3,6,5,1,8,2,4,7]=>0110100
[5,8,7,3,4,2,6,1]=>0110101
[8,5,2,3,7,4,6,1]=>1100101
[6,3,1,5,4,8,2,7]=>1101010
[4,7,6,3,5,2,8,1]=>0110101
[1,7,5,3,4,8,6,2]=>0110011
[5,8,2,3,4,7,6,1]=>0100011
[8,7,3,2,6,4,5,1]=>1110101
[8,3,1,4,7,5,2,6]=>1100110
[5,3,1,6,4,8,7,2]=>1101011
[3,4,8,5,7,2,6,1]=>0010101
[8,5,1,2,7,6,4,3]=>1100111
[8,2,6,3,1,5,4,7]=>1011010
[3,7,8,5,6,2,4,1]=>0010101
[7,4,3,6,2,5,8,1]=>1101001
[4,3,8,7,1,6,2,5]=>1011010
[1,5,3,8,4,7,2,6]=>0101010
[8,2,3,1,6,5,7,4]=>1010101
[8,4,2,7,1,3,6,5]=>1101001
[8,4,2,3,1,6,7,5]=>1101001
[4,7,2,3,6,5,8,1]=>0100101
[3,8,2,6,4,7,1,5]=>0101010
[1,7,5,8,6,2,4,3]=>0101101
[6,5,1,7,4,8,3,2]=>1101011
[7,6,3,5,1,4,8,2]=>1101001
[6,5,4,1,7,2,3,8]=>1110100
[8,3,6,1,7,4,5,2]=>1010101
[7,1,2,6,4,8,3,5]=>1001010
[3,5,1,8,6,2,4,7]=>0101100
[1,8,7,5,4,6,2,3]=>0111010
[8,1,6,7,4,5,3,2]=>1001011
[8,1,6,4,7,5,3,2]=>1010111
[6,4,8,1,5,3,7,2]=>1010101
[1,6,4,3,5,8,2,7]=>0110010
[5,1,4,3,7,8,6,2]=>1010011
[5,7,1,8,6,3,2,4]=>0101110
[5,7,6,3,4,2,1,8]=>0110110
[4,1,3,7,6,5,2,8]=>1001110
[4,3,6,1,2,7,8,5]=>1010001
[5,8,3,6,7,2,4,1]=>0100101
[8,1,6,2,5,7,4,3]=>1010011
[2,7,1,5,3,6,8,4]=>0101001
[6,8,7,3,4,2,5,1]=>0110101
[1,8,6,2,4,7,5,3]=>0110011
[5,7,3,6,4,2,1,8]=>0101110
[5,7,3,6,4,1,8,2]=>0101101
[3,7,5,6,4,1,8,2]=>0101101
[2,8,5,7,3,4,6,1]=>0101001
[2,1,3,8,5,4,6,7]=>1001100
[5,3,6,8,2,4,1,7]=>1001010
[1,7,8,6,3,2,4,5]=>0011100
[7,1,2,5,3,8,4,6]=>1001010
[3,7,4,2,5,1,8,6]=>0110101
[1,8,3,4,5,7,2,6]=>0100010
[2,6,7,5,3,8,1,4]=>0011010
[4,5,2,6,8,7,1,3]=>0100110
[4,5,2,6,8,3,1,7]=>0100110
[4,5,7,6,2,1,3,8]=>0011100
[7,8,2,6,5,4,3,1]=>0101111
[5,3,7,8,4,2,1,6]=>1001110
[7,3,6,8,1,5,4,2]=>1001011
[7,5,8,2,4,3,6,1]=>1010101
[6,5,8,2,3,4,1,7]=>1010010
[8,1,5,3,4,6,2,7]=>1010010
[5,8,7,2,4,3,6,1]=>0110101
[1,7,2,4,8,5,6,3]=>0100101
[5,8,2,3,7,4,6,1]=>0100101
[7,8,2,3,5,4,6,1]=>0100101
[8,4,1,3,2,6,5,7]=>1101010
[8,7,2,3,5,4,6,1]=>1100101
[1,7,6,8,4,5,3,2]=>0101011
[2,7,3,1,8,5,6,4]=>0110101
[3,8,5,2,1,6,7,4]=>0111001
[2,8,6,1,5,7,4,3]=>0110011
[8,3,5,1,7,6,4,2]=>1010111
[8,3,5,4,7,1,6,2]=>1010101
[6,4,1,5,7,8,2,3]=>1100010
[4,8,7,1,2,5,3,6]=>0110010
[8,7,2,6,1,4,3,5]=>1101010
[6,1,7,3,8,2,4,5]=>1010100
[7,1,8,6,4,2,3,5]=>1011100
[4,1,3,5,8,2,6,7]=>1000100
[1,8,5,7,4,6,3,2]=>0101011
[1,4,7,6,8,3,5,2]=>0010101
[1,7,2,8,6,5,3,4]=>0101110
[5,7,1,6,4,2,3,8]=>0101100
[4,8,2,7,5,1,6,3]=>0101101
[2,8,4,6,7,1,5,3]=>0100101
[3,8,5,1,4,2,6,7]=>0110100
[1,7,6,2,5,3,8,4]=>0110101
[1,7,5,2,4,3,8,6]=>0110101
[2,8,5,1,4,3,6,7]=>0110100
[7,6,3,5,4,8,2,1]=>1101011
[3,1,2,5,7,6,8,4]=>1000101
[5,1,7,3,2,6,8,4]=>1011001
[4,7,2,3,5,1,6,8]=>0100100
[4,8,2,3,7,5,1,6]=>0100110
[8,7,2,4,3,5,6,1]=>1101001
[8,6,2,4,3,5,1,7]=>1101010
[8,1,2,4,7,3,5,6]=>1000100
[7,6,2,8,4,5,1,3]=>1101010
[6,8,1,5,7,3,2,4]=>0100110
[4,1,7,5,6,8,2,3]=>1010010
[3,7,6,2,1,4,5,8]=>0111000
[1,6,8,7,2,5,4,3]=>0011011
[1,4,8,7,6,3,5,2]=>0011101
[3,1,8,4,5,2,7,6]=>1010101
[2,3,7,6,1,8,4,5]=>0011010
[4,8,5,2,1,3,7,6]=>0111001
[5,8,4,2,1,3,7,6]=>0111001
[4,6,7,5,2,3,1,8]=>0011010
[6,2,5,3,1,8,7,4]=>1011011
[6,2,5,3,8,7,1,4]=>1010110
[6,4,5,3,8,7,1,2]=>1010110
[1,6,4,5,8,7,3,2]=>0100111
[8,4,7,5,2,3,1,6]=>1011010
[8,2,7,4,5,3,1,6]=>1010110
[8,2,4,7,5,3,1,6]=>1001110
[8,2,6,7,5,3,1,4]=>1001110
[8,4,6,7,5,3,1,2]=>1001110
[6,4,5,8,7,3,1,2]=>1001110
[6,2,8,7,5,3,1,4]=>1011110
[4,6,5,3,8,7,1,2]=>0110110
[6,7,2,4,5,3,1,8]=>0100110
[6,8,7,4,5,3,1,2]=>0110110
[2,8,4,7,5,3,1,6]=>0101110
[5,8,7,4,6,3,1,2]=>0110110
[6,5,8,4,7,2,1,3]=>1010110
[4,8,6,2,5,7,1,3]=>0110010
[8,1,6,2,5,7,3,4]=>1010010
[6,8,1,2,4,7,3,5]=>0100010
[8,1,5,3,2,7,4,6]=>1011010
[8,3,7,6,2,5,4,1]=>1011011
[4,6,1,3,5,8,2,7]=>0100010
[4,5,1,3,8,7,2,6]=>0100110
[6,2,7,1,8,3,4,5]=>1010100
[6,4,5,8,1,7,2,3]=>1001010
[6,2,8,5,1,4,7,3]=>1011001
[2,4,7,6,1,8,3,5]=>0011010
[7,4,5,8,6,3,2,1]=>1001111
[7,4,1,3,6,8,2,5]=>1100010
[6,8,1,2,7,3,4,5]=>0100100
[1,6,2,8,7,3,4,5]=>0101100
[1,6,8,5,7,4,3,2]=>0010111
[3,8,1,2,4,7,6,5]=>0100011
[1,4,5,7,3,6,8,2]=>0001001
[2,3,8,1,4,6,5,7]=>0010010
[3,6,2,4,7,5,8,1]=>0100101
[3,1,8,4,6,2,5,7]=>1010100
[4,2,7,3,5,8,1,6]=>1010010
[3,1,8,4,5,6,2,7]=>1010010
[4,2,7,8,6,3,1,5]=>1001110
[7,1,4,2,8,6,3,5]=>1010110
[2,3,7,4,8,1,6,5]=>0010101
[1,6,3,5,8,7,4,2]=>0100111
[8,4,6,3,5,1,7,2]=>1010101
[7,3,2,6,8,4,5,1]=>1100101
[2,4,5,7,1,6,8,3]=>0001001
[8,4,2,6,7,3,5,1]=>1100101
[4,1,5,7,8,6,2,3]=>1000110
[6,1,4,8,2,3,7,5]=>1001001
[7,6,2,3,5,8,4,1]=>1100011
[2,8,5,7,6,3,4,1]=>0101101
[2,5,7,8,6,4,1,3]=>0001110
[7,4,1,6,2,5,8,3]=>1101001
[8,7,4,6,2,5,3,1]=>1101011
[1,7,5,4,6,2,3,8]=>0110100
[6,2,7,5,3,1,4,8]=>1011100
[6,1,7,4,8,5,2,3]=>1010110
[8,2,4,6,3,1,7,5]=>1001101
[5,6,2,4,8,7,3,1]=>0100111
[8,5,6,2,3,7,4,1]=>1010011
[7,8,1,4,5,6,2,3]=>0100010
[7,4,8,3,5,6,2,1]=>1010011
[2,6,1,4,7,5,8,3]=>0100101
[3,1,5,7,2,6,8,4]=>1001001
[3,1,7,5,2,6,8,4]=>1011001
[3,2,7,5,1,6,8,4]=>1011001
[5,2,7,3,1,6,8,4]=>1011001
[6,7,2,1,3,4,8,5]=>0110001
[4,6,3,1,2,7,8,5]=>0110001
[2,3,5,6,8,4,7,1]=>0000101
[2,4,5,8,3,6,7,1]=>0001001
[4,5,8,7,6,3,1,2]=>0011110
[8,7,4,6,5,3,1,2]=>1101110
[8,1,4,3,6,2,5,7]=>1010100
[1,6,3,7,8,4,2,5]=>0100110
[5,3,8,4,6,7,2,1]=>1010011
[4,3,5,8,6,7,2,1]=>1001011
[3,2,7,8,5,6,4,1]=>1001011
[4,7,3,8,5,6,2,1]=>0101011
[7,1,4,8,5,6,3,2]=>1001011
[4,3,8,7,2,5,6,1]=>1011001
[1,7,3,8,6,4,5,2]=>0101101
[7,4,2,8,5,6,3,1]=>1101011
[3,4,8,2,6,7,5,1]=>0010011
[1,6,3,8,7,4,5,2]=>0101101
[1,4,5,8,7,6,2,3]=>0001110
[5,2,1,3,8,4,6,7]=>1100100
[1,4,3,5,8,2,6,7]=>0100100
[2,1,3,8,6,4,5,7]=>1001100
[1,3,6,4,5,8,2,7]=>0010010
[6,1,4,3,5,8,2,7]=>1010010
[6,5,1,3,8,2,4,7]=>1100100
[1,4,3,8,6,2,5,7]=>0101100
[4,1,3,8,6,2,5,7]=>1001100
[7,1,5,4,6,3,8,2]=>1010101
[6,4,7,8,3,5,1,2]=>1001010
[3,5,6,7,1,8,4,2]=>0001011
[2,7,8,3,6,1,5,4]=>0010101
[1,7,8,3,6,2,5,4]=>0010101
[7,4,3,5,8,1,6,2]=>1100101
[7,3,6,4,1,8,5,2]=>1011011
[7,8,4,3,6,1,5,2]=>0110101
[7,1,6,4,3,8,5,2]=>1011011
[8,7,3,4,1,5,2,6]=>1101010
[7,2,6,4,3,8,5,1]=>1011011
[1,7,5,4,3,8,2,6]=>0111010
[4,5,8,1,7,3,2,6]=>0010110
[4,6,7,1,3,8,2,5]=>0010010
[2,6,3,1,4,7,8,5]=>0110001
[2,7,3,4,1,8,5,6]=>0101010
[7,5,8,2,4,3,1,6]=>1010110
[2,3,7,8,1,4,6,5]=>0001001
[8,2,3,5,4,1,7,6]=>1001101
[7,1,3,8,2,4,6,5]=>1001001
[7,2,3,6,4,1,8,5]=>1001101
[6,5,2,4,1,8,3,7]=>1101010
[5,7,2,4,1,3,8,6]=>0101001
[6,2,5,4,1,8,3,7]=>1011010
[4,2,6,3,5,8,1,7]=>1010010
[7,4,2,6,8,5,3,1]=>1100111
[8,5,2,4,6,3,1,7]=>1100110
[7,4,1,2,8,5,6,3]=>1100101
[6,4,1,8,5,2,3,7]=>1101100
[8,4,1,6,3,5,2,7]=>1101010
[7,3,4,1,6,8,5,2]=>1010011
[8,6,2,3,5,7,4,1]=>1100011
[8,6,2,5,7,3,4,1]=>1100101
[6,3,4,8,5,1,2,7]=>1001100
[8,5,1,2,7,4,6,3]=>1100101
[7,2,6,8,3,4,5,1]=>1001001
[1,6,7,5,4,8,2,3]=>0011010
[1,8,5,4,2,6,3,7]=>0111010
[5,7,3,6,2,1,4,8]=>0101100
[5,8,6,1,2,4,3,7]=>0110010
[4,1,5,7,3,6,8,2]=>1001001
[1,4,5,7,6,8,2,3]=>0001010
[5,7,2,1,6,8,4,3]=>0110011
[2,6,3,1,7,8,5,4]=>0110011
[6,2,5,7,4,1,8,3]=>1001101
[3,6,1,8,7,4,5,2]=>0101101
[4,7,1,3,5,6,8,2]=>0100001
[4,3,5,7,8,2,6,1]=>1000101
[5,3,2,7,6,4,1,8]=>1101110
[5,3,7,4,6,2,1,8]=>1010110
[5,7,3,2,1,8,6,4]=>0111011
[5,7,6,3,2,1,8,4]=>0111101
[3,2,7,5,4,1,8,6]=>1011101
[1,7,3,5,4,2,6,8]=>0101100
[5,3,7,4,1,8,6,2]=>1011011
[7,3,5,4,1,6,8,2]=>1011001
[7,5,1,6,8,3,2,4]=>1100110
[5,3,1,7,6,8,2,4]=>1101010
[7,1,5,3,2,4,8,6]=>1011001
[7,1,5,2,4,3,6,8]=>1010100
[6,8,7,3,2,1,5,4]=>0111101
[3,6,8,7,2,4,1,5]=>0011010
[5,7,3,6,2,1,8,4]=>0101101
[3,6,5,2,4,8,1,7]=>0110010
[1,8,3,6,2,4,7,5]=>0101001
[1,8,7,5,6,4,2,3]=>0110110
[6,8,2,1,5,4,3,7]=>0110110
[6,3,2,1,5,8,4,7]=>1110010
[4,3,5,6,2,8,1,7]=>1001010
[6,3,5,2,7,8,4,1]=>1010011
[4,5,3,1,6,8,2,7]=>0110010
[3,4,6,7,5,1,8,2]=>0001101
[7,4,1,2,5,6,8,3]=>1100001
[4,8,2,6,7,1,5,3]=>0100101
[6,5,8,3,7,1,4,2]=>1010101
[1,5,2,4,7,6,8,3]=>0100101
[2,5,4,7,1,8,3,6]=>0101010
[1,5,4,7,3,8,2,6]=>0101010
[1,2,6,7,3,5,4,8]=>0001010
[8,1,2,4,6,3,5,7]=>1000100
[3,7,8,4,5,6,1,2]=>0010010
[1,3,8,6,7,4,5,2]=>0010101
[2,6,5,3,7,1,8,4]=>0110101
[5,7,1,3,6,4,8,2]=>0100101
[8,2,5,4,1,7,3,6]=>1011010
[8,1,7,6,4,2,3,5]=>1011100
[1,8,6,3,7,4,5,2]=>0110101
[5,7,3,4,2,8,6,1]=>0101011
[5,8,3,4,2,7,6,1]=>0101011
[7,6,4,2,3,8,5,1]=>1110011
[3,5,6,8,2,4,7,1]=>0001001
[4,8,7,3,2,5,6,1]=>0111001
[3,7,4,2,6,8,5,1]=>0110011
[6,4,8,7,3,2,5,1]=>1011101
[5,6,2,8,7,4,3,1]=>0101111
[6,2,8,3,7,4,5,1]=>1010101
[3,7,5,6,4,2,8,1]=>0101101
[5,2,3,8,6,1,4,7]=>1001100
[1,4,3,8,5,6,2,7]=>0101010
[7,8,2,6,4,3,5,1]=>0101101
[4,5,8,7,2,3,6,1]=>0011001
[7,8,6,1,4,2,5,3]=>0110101
[8,3,6,5,2,7,1,4]=>1011010
[5,1,3,6,4,2,7,8]=>1001100
[6,1,2,4,7,5,3,8]=>1000110
[8,3,1,4,6,7,2,5]=>1100010
[7,8,5,1,2,6,3,4]=>0110010
[6,4,5,1,8,7,3,2]=>1010111
[8,6,2,1,7,3,5,4]=>1110101
[7,8,6,1,4,3,5,2]=>0110101
[4,3,6,2,5,7,1,8]=>1010010
[1,6,5,7,3,4,8,2]=>0101001
[8,2,6,5,1,7,4,3]=>1011011
[7,6,4,1,2,5,8,3]=>1110001
[2,6,5,4,8,7,1,3]=>0110110
[5,6,7,1,3,2,4,8]=>0010100
[7,1,8,4,3,2,6,5]=>1011101
[1,8,5,2,7,6,4,3]=>0110111
[1,7,6,8,2,5,4,3]=>0101011
[1,7,8,6,2,5,4,3]=>0011011
[4,6,5,7,1,8,2,3]=>0101010
[7,5,3,6,8,4,2,1]=>1100111
[7,2,5,6,4,8,3,1]=>1001011
[7,4,6,2,8,5,3,1]=>1010111
[1,6,3,4,2,5,8,7]=>0101001
[1,5,7,6,2,3,8,4]=>0011001
[1,4,3,7,6,2,5,8]=>0101100
[1,3,7,4,6,8,5,2]=>0010011
[3,7,4,6,8,1,5,2]=>0100101
[4,8,3,1,7,6,2,5]=>0110110
[2,6,7,5,3,4,1,8]=>0011010
[2,4,1,7,5,6,8,3]=>0101001
[7,2,4,8,3,5,1,6]=>1001010
[5,6,1,4,3,8,7,2]=>0101011
[5,8,6,4,3,1,7,2]=>0111101
[4,1,3,7,8,6,5,2]=>1000111
[9,1,2,3,4,5,6,7,8]=>10000000
[8,1,2,3,4,5,6,9,7]=>10000001
[7,1,2,3,4,5,9,6,8]=>10000010
[9,1,2,3,4,5,8,6,7]=>10000010
[7,1,2,3,4,5,8,9,6]=>10000001
[6,1,2,3,4,9,5,7,8]=>10000100
[6,1,2,3,4,8,5,9,7]=>10000101
[9,1,2,3,4,7,5,6,8]=>10000100
[9,1,2,3,4,8,5,6,7]=>10000100
[8,1,2,3,4,7,5,9,6]=>10000101
[6,1,2,3,4,7,9,5,8]=>10000010
[6,1,2,3,4,9,8,5,7]=>10000110
[9,1,2,3,4,7,8,5,6]=>10000010
[6,1,2,3,4,7,8,9,5]=>10000001
[5,1,2,3,8,4,6,9,7]=>10001001
[9,1,2,3,6,4,5,7,8]=>10001000
[8,1,2,3,9,4,5,6,7]=>10001000
[5,1,2,3,9,8,4,6,7]=>10001100
[9,1,2,3,6,8,4,5,7]=>10000100
[5,1,2,3,6,9,8,4,7]=>10000110
[5,1,2,3,6,7,8,9,4]=>10000001
[4,1,2,8,3,5,6,9,7]=>10010001
[4,1,2,9,3,5,8,6,7]=>10010010
[4,1,2,9,3,8,5,6,7]=>10010100
[9,1,2,5,3,4,6,7,8]=>10010000
[9,1,2,8,3,4,5,6,7]=>10010000
[7,1,2,8,3,4,5,9,6]=>10010001
[4,1,2,5,9,3,6,7,8]=>10001000
[4,1,2,8,9,3,5,6,7]=>10001000
[8,1,2,5,9,3,4,6,7]=>10001000
[8,1,2,9,6,3,4,5,7]=>10011000
[4,1,2,5,9,8,3,6,7]=>10001100
[9,1,2,8,6,7,3,4,5]=>10010100
[4,1,2,5,6,7,9,3,8]=>10000010
[4,1,2,9,6,7,8,3,5]=>10010010
[9,1,2,5,6,7,8,3,4]=>10000010
[4,1,2,5,6,7,8,9,3]=>10000001
[3,1,9,2,4,5,6,7,8]=>10100000
[3,1,8,2,4,5,6,9,7]=>10100001
[3,1,9,2,4,5,8,6,7]=>10100010
[3,1,5,2,7,4,9,6,8]=>10101010
[8,1,4,2,3,5,6,9,7]=>10100001
[9,1,4,2,3,5,8,6,7]=>10100010
[6,1,4,2,3,7,8,9,5]=>10100001
[9,1,8,2,3,4,5,6,7]=>10100000
[8,1,7,2,3,4,5,9,6]=>10100001
[3,1,4,9,2,5,6,7,8]=>10010000
[3,1,4,9,2,5,8,6,7]=>10010010
[3,1,9,8,2,4,5,6,7]=>10110000
[9,1,4,5,2,3,6,7,8]=>10010000
[7,1,4,5,2,3,8,9,6]=>10010001
[7,1,4,9,2,3,5,6,8]=>10010000
[9,1,4,8,2,3,5,6,7]=>10010000
[9,1,6,5,2,3,4,7,8]=>10110000
[7,1,9,6,2,3,4,5,8]=>10110000
[9,1,8,6,2,3,4,5,7]=>10110000
[7,1,8,9,2,3,4,5,6]=>10010000
[3,1,4,8,9,2,5,6,7]=>10001000
[3,1,8,9,7,2,4,5,6]=>10011000
[8,1,4,5,6,2,3,9,7]=>10001001
[8,1,4,9,7,2,3,5,6]=>10011000
[8,1,9,5,6,2,3,4,7]=>10101000
[8,1,9,7,6,2,3,4,5]=>10111000
[7,1,4,5,6,2,8,9,3]=>10001001
[3,1,4,5,6,9,2,7,8]=>10000100
[3,1,4,5,6,8,2,9,7]=>10000101
[3,1,4,9,8,7,2,5,6]=>10011100
[3,1,9,8,6,7,2,4,5]=>10110100
[9,1,4,5,6,7,2,3,8]=>10000100
[9,1,4,8,6,7,2,3,5]=>10010100
[9,1,8,5,6,7,2,3,4]=>10100100
[8,1,4,5,6,7,2,9,3]=>10000101
[3,1,4,5,6,7,9,2,8]=>10000010
[3,1,4,9,6,7,8,2,5]=>10010010
[3,1,9,5,6,7,8,2,4]=>10100010
[9,1,4,5,6,7,8,2,3]=>10000010
[3,1,4,5,6,7,8,9,2]=>10000001
[2,9,1,3,4,5,6,7,8]=>01000000
[2,8,1,3,4,5,6,9,7]=>01000001
[2,7,1,3,4,5,9,6,8]=>01000010
[2,9,1,3,4,5,8,6,7]=>01000010
[2,7,1,3,4,5,8,9,6]=>01000001
[2,6,1,3,4,9,5,7,8]=>01000100
[2,9,1,3,4,8,5,6,7]=>01000100
[2,8,1,3,9,4,5,6,7]=>01001000
[2,9,1,3,8,7,4,5,6]=>01001100
[2,9,1,3,6,7,8,4,5]=>01000010
[2,5,1,3,6,7,8,9,4]=>01000001
[2,4,1,6,3,8,5,9,7]=>01010101
[2,9,1,8,3,4,5,6,7]=>01010000
[2,7,1,6,3,4,8,9,5]=>01010001
[2,6,1,5,3,7,8,9,4]=>01010001
[2,4,1,5,9,3,6,7,8]=>01001000
[2,4,1,8,9,3,5,6,7]=>01001000
[2,8,1,9,7,3,4,5,6]=>01011000
[2,9,1,8,6,7,3,4,5]=>01010100
[2,4,1,5,6,7,9,3,8]=>01000010
[2,4,1,5,6,9,8,3,7]=>01000110
[2,9,1,5,6,7,8,3,4]=>01000010
[2,4,1,5,6,7,8,9,3]=>01000001
[9,3,1,2,4,5,6,7,8]=>11000000
[8,3,1,2,4,5,6,9,7]=>11000001
[9,3,1,2,4,5,8,6,7]=>11000010
[6,3,1,2,4,7,8,9,5]=>11000001
[9,3,1,2,6,7,8,4,5]=>11000010
[5,3,1,2,6,7,8,9,4]=>11000001
[9,4,1,2,3,5,6,7,8]=>11000000
[7,4,1,2,3,5,8,9,6]=>11000001
[6,4,1,2,3,7,8,9,5]=>11000001
[5,9,1,2,3,4,6,7,8]=>01000000
[5,8,1,2,3,4,6,9,7]=>01000001
[5,7,1,2,3,4,8,9,6]=>01000001
[9,6,1,2,3,4,5,7,8]=>11000000
[8,6,1,2,3,4,5,9,7]=>11000001
[9,7,1,2,3,4,5,6,8]=>11000000
[8,9,1,2,3,4,5,6,7]=>01000000
[8,7,1,2,3,4,5,9,6]=>11000001
[7,6,1,2,3,4,9,5,8]=>11000010
[9,6,1,2,3,4,8,5,7]=>11000010
[9,7,1,2,3,4,8,5,6]=>11000010
[7,6,1,2,3,4,8,9,5]=>11000001
[5,6,1,2,3,9,4,7,8]=>01000100
[5,9,1,2,3,8,4,6,7]=>01000100
[9,6,1,2,3,7,4,5,8]=>11000100
[9,8,1,2,3,7,4,5,6]=>11000100
[8,6,1,2,3,7,4,9,5]=>11000101
[5,6,1,2,3,7,9,4,8]=>01000010
[9,6,1,2,3,7,8,4,5]=>11000010
[5,6,1,2,3,7,8,9,4]=>01000001
[5,4,1,2,9,3,6,7,8]=>11001000
[8,4,1,2,9,3,5,6,7]=>11001000
[5,9,1,2,6,3,4,7,8]=>01001000
[9,7,1,2,6,3,8,4,5]=>11001010
[5,4,1,2,6,9,3,7,8]=>11000100
[9,8,1,2,6,7,3,4,5]=>11000100
[5,4,1,2,6,7,9,3,8]=>11000010
[5,4,1,2,6,7,8,9,3]=>11000001
[4,3,1,9,2,5,6,7,8]=>11010000
[9,3,1,8,2,4,5,6,7]=>11010000
[9,4,1,5,2,3,6,7,8]=>11010000
[9,4,1,8,2,3,5,6,7]=>11010000
[6,9,1,5,2,3,4,7,8]=>01010000
[9,7,1,6,2,3,4,5,8]=>11010000
[8,7,1,9,2,3,4,5,6]=>11010000
[8,7,1,6,2,3,4,9,5]=>11010001
[9,4,1,6,2,8,3,5,7]=>11010100
[9,8,1,6,2,7,3,4,5]=>11010100
[4,3,1,5,9,2,6,7,8]=>11001000
[9,8,1,7,6,2,3,4,5]=>11011000
[4,3,1,5,6,8,2,9,7]=>11000101
[4,3,1,5,9,8,2,6,7]=>11001100
[4,3,1,5,8,7,2,9,6]=>11001101
[8,9,1,5,6,7,2,3,4]=>01000100
[4,3,1,5,6,7,9,2,8]=>11000010
[4,3,1,5,6,9,8,2,7]=>11000110
[9,3,1,5,6,7,8,2,4]=>11000010
[9,4,1,5,6,7,8,2,3]=>11000010
[4,3,1,5,6,7,8,9,2]=>11000001
[2,3,9,1,4,5,6,7,8]=>00100000
[2,3,8,1,4,5,6,9,7]=>00100001
[2,3,9,1,4,5,8,6,7]=>00100010
[2,3,9,1,4,7,8,5,6]=>00100010
[2,3,9,1,8,7,4,5,6]=>00101100
[2,3,8,1,6,7,4,9,5]=>00100101
[2,3,5,1,6,7,9,4,8]=>00100010
[2,3,9,1,6,7,8,4,5]=>00100010
[2,3,5,1,6,7,8,9,4]=>00100001
[2,9,4,1,3,5,6,7,8]=>01100000
[2,6,4,1,3,7,8,9,5]=>01100001
[2,9,5,1,3,4,6,7,8]=>01100000
[2,6,9,1,3,4,5,7,8]=>00100000
[2,9,7,1,3,4,5,6,8]=>01100000
[2,9,8,1,3,4,5,6,7]=>01100000
[2,6,7,1,3,4,8,9,5]=>00100001
[2,9,4,1,6,3,5,7,8]=>01101000
[2,8,4,1,9,3,5,6,7]=>01101000
[2,9,4,1,6,3,8,5,7]=>01101010
[2,9,8,1,7,3,4,5,6]=>01101000
[2,9,5,1,6,7,8,3,4]=>01100010
[9,3,4,1,2,5,6,7,8]=>10100000
[6,3,4,1,2,7,8,9,5]=>10100001
[9,3,7,1,2,4,5,6,8]=>10100000
[9,3,8,1,2,4,5,6,7]=>10100000
[9,5,4,1,2,3,6,7,8]=>11100000
[8,5,4,1,2,3,6,9,7]=>11100001
[6,9,4,1,2,3,5,7,8]=>01100000
[6,8,4,1,2,3,5,9,7]=>01100001
[9,7,4,1,2,3,5,6,8]=>11100000
[9,8,4,1,2,3,5,6,7]=>11100000
[6,9,5,1,2,3,4,7,8]=>01100000
[6,8,5,1,2,3,4,9,7]=>01100001
[8,7,5,1,2,3,4,9,6]=>11100001
[6,7,9,1,2,3,4,5,8]=>00100000
[6,9,8,1,2,3,4,5,7]=>01100000
[9,7,8,1,2,3,4,5,6]=>10100000
[6,7,8,1,2,3,4,9,5]=>00100001
[6,5,4,1,2,8,3,9,7]=>11100101
[9,8,5,1,7,2,3,4,6]=>11101000
[7,8,9,1,6,2,3,4,5]=>00101000
[7,8,5,1,6,2,3,9,4]=>01101001
[5,3,4,1,6,8,2,9,7]=>10100101
[9,3,4,1,8,7,2,5,6]=>10101100
[8,3,4,1,6,7,2,9,5]=>10100101
[9,5,4,1,8,7,2,3,6]=>11101100
[8,5,4,1,6,7,2,9,3]=>11100101
[5,3,4,1,9,7,8,2,6]=>10101010
[9,3,5,1,6,7,8,2,4]=>10100010
[9,5,4,1,6,7,8,2,3]=>11100010
[5,3,4,1,6,7,8,9,2]=>10100001
[2,3,4,9,1,5,6,7,8]=>00010000
[2,3,4,9,1,5,8,6,7]=>00010010
[2,3,4,9,1,7,8,5,6]=>00010010
[2,3,4,6,1,7,8,9,5]=>00010001
[2,3,9,5,1,4,6,7,8]=>00110000
[2,3,9,6,1,4,5,7,8]=>00110000
[2,3,7,9,1,4,5,6,8]=>00010000
[2,3,9,8,1,4,5,6,7]=>00110000
[2,3,9,5,1,7,4,6,8]=>00110100
[2,3,9,6,1,7,8,4,5]=>00110010
[2,9,4,5,1,3,6,7,8]=>01010000
[2,7,4,5,1,3,8,9,6]=>01010001
[2,9,8,6,1,3,4,5,7]=>01110000
[2,7,8,9,1,3,4,5,6]=>00010000
[2,8,9,6,1,7,3,4,5]=>00110100
[2,9,6,5,1,7,8,3,4]=>01110010
[7,3,4,5,1,2,8,9,6]=>10010001
[9,3,4,8,1,2,5,6,7]=>10010000
[7,3,4,8,1,2,5,9,6]=>10010001
[7,3,8,9,1,2,4,5,6]=>10010000
[9,8,4,5,1,2,3,6,7]=>11010000
[7,8,4,6,1,2,3,9,5]=>01010001
[9,8,6,5,1,2,3,4,7]=>11110000
[7,8,9,6,1,2,3,4,5]=>00110000
[7,8,6,5,1,2,3,9,4]=>01110001
[8,3,9,6,1,7,2,4,5]=>10110100
[8,3,6,5,1,7,2,9,4]=>10110101
[8,6,4,5,1,7,2,9,3]=>11010101
[6,3,4,5,1,7,9,2,8]=>10010010
[6,3,4,5,1,9,8,2,7]=>10010110
[9,3,4,6,1,7,8,2,5]=>10010010
[6,3,4,5,1,7,8,9,2]=>10010001
[2,3,4,5,9,1,6,7,8]=>00001000
[2,3,4,5,8,1,6,9,7]=>00001001
[2,3,4,5,9,1,8,6,7]=>00001010
[2,3,4,5,7,1,8,9,6]=>00001001
[2,3,4,9,6,1,5,7,8]=>00011000
[2,3,4,9,7,1,5,6,8]=>00011000
[2,3,4,9,6,1,8,5,7]=>00011010
[2,3,4,9,7,1,8,5,6]=>00011010
[2,3,9,5,6,1,4,7,8]=>00101000
[2,3,8,5,6,1,4,9,7]=>00101001
[2,3,9,5,6,1,8,4,7]=>00101010
[2,8,4,5,6,1,3,9,7]=>01001001
[2,8,9,5,7,1,3,4,6]=>00101000
[2,8,9,7,6,1,3,4,5]=>00111000
[2,9,7,5,6,1,8,3,4]=>01101010
[8,3,4,5,6,1,2,9,7]=>10001001
[8,3,4,7,6,1,2,9,5]=>10011001
[8,3,9,7,6,1,2,4,5]=>10111000
[8,3,7,5,6,1,2,9,4]=>10101001
[9,7,4,5,6,1,2,3,8]=>11001000
[8,9,4,5,6,1,2,3,7]=>01001000
[8,9,7,5,6,1,2,3,4]=>01101000
[8,7,4,5,6,1,2,9,3]=>11001001
[7,3,4,5,6,1,9,2,8]=>10001010
[9,3,4,5,6,1,8,2,7]=>10001010
[9,3,7,5,6,1,8,2,4]=>10101010
[7,3,4,5,6,1,8,9,2]=>10001001
[2,3,4,5,6,9,1,7,8]=>00000100
[2,3,4,5,6,8,1,9,7]=>00000101
[2,3,4,5,9,7,1,6,8]=>00001100
[2,3,4,5,9,8,1,6,7]=>00001100
[2,3,4,9,6,7,1,5,8]=>00010100
[2,3,9,5,6,7,1,4,8]=>00100100
[2,3,9,5,6,8,1,4,7]=>00100100
[2,9,4,5,6,7,1,3,8]=>01000100
[2,9,4,5,6,8,1,3,7]=>01000100
[2,9,4,5,8,7,1,3,6]=>01001100
[2,9,4,8,6,7,1,3,5]=>01010100
[2,9,8,5,6,7,1,3,4]=>01100100
[2,8,4,5,6,7,1,9,3]=>01000101
[9,3,4,5,6,7,1,2,8]=>10000100
[9,3,4,5,6,8,1,2,7]=>10000100
[9,8,4,5,6,7,1,2,3]=>11000100
[8,3,4,5,6,7,1,9,2]=>10000101
[2,3,4,5,6,7,9,1,8]=>00000010
[2,3,4,5,6,9,8,1,7]=>00000110
[2,3,4,5,9,7,8,1,6]=>00001010
[2,3,4,9,6,7,8,1,5]=>00010010
[2,3,9,5,6,7,8,1,4]=>00100010
[2,9,4,5,6,7,8,1,3]=>01000010
[9,3,4,5,6,7,8,1,2]=>10000010
[2,3,4,5,6,7,8,9,1]=>00000001
[2,3,4,5,6,7,8,1,9]=>00000010
[2,3,4,5,6,8,9,1,7]=>00000010
[2,3,4,5,7,8,9,1,6]=>00000010
[2,3,4,6,7,8,9,1,5]=>00000010
[2,3,5,6,7,8,9,1,4]=>00000010
[2,4,5,6,7,8,9,1,3]=>00000010
[3,4,5,6,7,8,9,1,2]=>00000010
[2,3,4,5,6,7,1,8,9]=>00000100
[2,3,4,5,6,1,9,7,8]=>00001010
[2,3,4,5,1,8,9,6,7]=>00010010
[2,3,4,1,7,8,9,5,6]=>00100010
[2,3,1,6,7,8,9,4,5]=>01000010
[2,1,5,6,7,8,9,3,4]=>10000010
[1,4,5,6,7,8,9,2,3]=>00000010
[1,2,3,4,5,6,7,9,8]=>00000001
[2,1,3,4,5,6,7,8,9]=>10000000
[1,8,2,3,4,5,6,9,7]=>01000001
[7,1,2,3,4,5,6,9,8]=>10000001
[2,1,9,3,4,5,6,7,8]=>10100000
[2,8,1,3,4,5,6,7,9]=>01000000
[1,2,3,4,5,6,7,8,9]=>00000000
[1,2,3,4,5,6,8,9,7]=>00000001
[1,2,3,4,5,7,8,9,6]=>00000001
[1,2,3,4,6,7,8,9,5]=>00000001
[1,2,3,5,6,7,8,9,4]=>00000001
[1,2,4,5,6,7,8,9,3]=>00000001
[1,3,4,5,6,7,8,9,2]=>00000001
[1,2,3,4,5,6,9,8,7]=>00000011
[1,2,3,4,5,8,7,9,6]=>00000101
[1,2,3,4,7,6,8,9,5]=>00001001
[1,2,3,6,5,7,8,9,4]=>00010001
[1,2,5,4,6,7,8,9,3]=>00100001
[1,4,3,5,6,7,8,9,2]=>01000001
[3,2,4,5,6,7,8,9,1]=>10000001
[9,8,7,6,5,4,3,2,1]=>11111111
[8,9,7,6,5,4,3,2,1]=>01111111
[8,7,9,6,5,4,3,2,1]=>10111111
[8,7,6,9,5,4,3,2,1]=>11011111
[8,7,6,5,9,4,3,2,1]=>11101111
[8,7,6,5,4,9,3,2,1]=>11110111
[8,7,6,5,4,3,9,2,1]=>11111011
[8,7,6,5,4,3,2,9,1]=>11111101
[8,7,6,5,4,3,2,1,9]=>11111110
[7,8,9,6,5,4,3,2,1]=>00111111
[8,6,7,9,5,4,3,2,1]=>10011111
[8,7,5,6,9,4,3,2,1]=>11001111
[8,7,6,4,5,9,3,2,1]=>11100111
[8,7,6,5,3,4,9,2,1]=>11110011
[8,7,6,5,4,2,3,9,1]=>11111001
[8,7,6,5,4,3,1,2,9]=>11111100
[1,9,8,7,6,5,4,3,2]=>01111111
[8,7,6,4,5,3,2,1,9]=>11101110
[1,9,8,7,5,6,4,3,2]=>01110111
[8,7,5,4,6,3,2,1,9]=>11101110
[8,7,4,6,5,3,2,1,9]=>11011110
[1,9,8,6,5,7,4,3,2]=>01110111
[1,9,8,5,7,6,4,3,2]=>01101111
[9,2,1,3,4,5,6,7,8]=>11000000
[9,2,3,1,4,5,6,7,8]=>10100000
[4,2,3,5,6,7,8,9,1]=>10000001
[3,4,2,5,6,7,8,9,1]=>01000001
[1,2,3,4,5,6,9,7,8]=>00000010
[1,2,3,4,5,8,6,9,7]=>00000101
[1,2,3,4,7,5,8,9,6]=>00001001
[1,2,3,6,4,7,8,9,5]=>00010001
[1,2,5,3,6,7,8,9,4]=>00100001
[1,4,2,5,6,7,8,9,3]=>01000001
[9,8,1,2,3,4,5,6,7]=>11000000
[7,8,9,1,2,3,4,5,6]=>00100000
[9,8,7,1,2,3,4,5,6]=>11100000
[6,7,8,9,1,2,3,4,5]=>00010000
[9,6,7,8,1,2,3,4,5]=>10010000
[8,9,6,7,1,2,3,4,5]=>01010000
[9,8,6,7,1,2,3,4,5]=>11010000
[9,8,7,6,1,2,3,4,5]=>11110000
[9,5,6,7,8,1,2,3,4]=>10001000
[8,9,5,6,7,1,2,3,4]=>01001000
[9,8,5,6,7,1,2,3,4]=>11001000
[9,7,8,5,6,1,2,3,4]=>10101000
[9,8,7,5,6,1,2,3,4]=>11101000
[9,8,7,6,5,1,2,3,4]=>11111000
[7,8,9,4,5,6,1,2,3]=>00100100
[9,7,8,4,5,6,1,2,3]=>10100100
[9,8,7,4,5,6,1,2,3]=>11100100
[8,9,6,7,4,5,1,2,3]=>01010100
[9,8,6,7,4,5,1,2,3]=>11010100
[9,8,7,6,4,5,1,2,3]=>11110100
[9,8,7,6,5,4,1,2,3]=>11111100
[9,7,8,5,6,3,4,1,2]=>10101010
[9,8,7,5,6,3,4,1,2]=>11101010
[9,8,7,6,5,3,4,1,2]=>11111010
[9,8,7,6,5,4,3,1,2]=>11111110
[7,8,6,5,4,3,2,1,9]=>01111110
[1,8,9,7,6,5,4,3,2]=>00111111
[7,6,8,5,4,3,2,1,9]=>10111110
[6,8,7,5,4,3,2,1,9]=>01111110
[1,8,7,9,6,5,4,3,2]=>01011111
[1,7,9,8,6,5,4,3,2]=>00111111
[8,1,2,3,4,5,6,7,9]=>10000000
[1,9,2,3,4,5,6,7,8]=>01000000
[7,8,1,2,3,4,5,6,9]=>01000000
[1,8,9,2,3,4,5,6,7]=>00100000
[7,1,8,2,3,4,5,6,9]=>10100000
[6,8,1,2,3,4,5,7,9]=>01000000
[1,8,2,9,3,4,5,6,7]=>01010000
[1,7,9,2,3,4,5,6,8]=>00100000
[2,1,4,3,6,5,8,7,9]=>10101010
[2,4,1,3,6,5,8,7,9]=>01001010
[2,4,1,6,3,5,8,7,9]=>01010010
[2,4,1,6,3,8,5,7,9]=>01010100
[2,4,1,6,3,7,5,9,8]=>01010101
[2,4,1,5,3,7,6,9,8]=>01010101
[2,3,1,5,4,7,6,9,8]=>01010101
[1,3,2,5,4,7,6,9,8]=>01010101
[2,4,6,1,3,5,8,7,9]=>00100010
[2,4,1,6,8,3,5,7,9]=>01001000
[2,4,1,6,3,8,9,5,7]=>01010010
[2,4,1,6,3,7,5,8,9]=>01010100
[2,4,1,5,3,8,6,9,7]=>01010101
[2,3,1,6,4,7,5,9,8]=>01010101
[1,4,2,5,3,7,6,9,8]=>01010101
[7,1,2,3,4,5,6,8,9]=>10000000
[3,4,1,2,5,6,7,8,9]=>01000000
[3,2,1,4,5,6,7,8,9]=>11000000
[4,5,6,1,2,3,7,8,9]=>00100000
[4,2,5,1,3,6,7,8,9]=>10100000
[4,3,2,1,5,6,7,8,9]=>11100000
[5,6,7,8,1,2,3,4,9]=>00010000
[5,2,6,7,1,3,4,8,9]=>10010000
[5,6,3,4,1,2,7,8,9]=>01010000
[5,3,2,6,1,4,7,8,9]=>11010000
[5,4,3,2,1,6,7,8,9]=>11110000
[6,2,7,8,9,1,3,4,5]=>10001000
[6,7,3,4,8,1,2,5,9]=>01001000
[6,3,2,7,8,1,4,5,9]=>11001000
[6,4,7,2,5,1,3,8,9]=>10101000
[6,4,3,2,7,1,5,8,9]=>11101000
[6,5,4,3,2,1,7,8,9]=>11111000
[7,4,8,2,5,9,1,3,6]=>10100100
[7,4,3,2,8,9,1,5,6]=>11100100
[7,8,5,6,3,4,1,2,9]=>01010100
[7,5,3,8,2,6,1,4,9]=>11010100
[7,5,4,3,2,8,1,6,9]=>11110100
[7,6,5,4,3,2,1,8,9]=>11111100
[8,6,9,4,7,2,5,1,3]=>10101010
[8,6,4,3,9,2,7,1,5]=>11101010
[8,6,5,4,3,2,9,1,7]=>11111010
[2,3,1,4,5,6,7,8,9]=>01000000
[2,3,4,1,5,6,7,8,9]=>00100000
[2,3,4,5,1,6,7,8,9]=>00010000
[2,3,4,5,6,1,7,8,9]=>00001000
[2,4,3,1,5,6,7,8,9]=>01100000
[2,3,5,4,1,6,7,8,9]=>00110000
[2,3,4,6,5,1,7,8,9]=>00011000
[2,3,4,5,7,6,1,8,9]=>00001100
[2,3,4,5,6,8,7,1,9]=>00000110
[2,3,4,5,6,7,9,8,1]=>00000011
[3,4,1,5,6,7,8,9,2]=>01000001
[3,4,5,1,6,7,8,9,2]=>00100001
[3,4,5,6,1,7,8,9,2]=>00010001
[3,4,5,6,7,1,8,9,2]=>00001001
[3,4,5,6,7,8,1,9,2]=>00000101
[3,1,2,5,6,7,8,9,4]=>10000001
[3,4,1,2,6,7,8,9,5]=>01000001
[3,4,5,1,2,7,8,9,6]=>00100001
[3,4,5,6,1,2,8,9,7]=>00010001
[3,4,5,6,7,1,2,9,8]=>00001001
[3,4,5,6,7,8,1,2,9]=>00000100
[8,7,6,5,4,3,1,9,2]=>11111101
[7,9,6,5,4,3,2,1,8]=>01111110
[1,7,6,5,4,3,9,8,2]=>01111011
[1,9,6,5,4,3,2,8,7]=>01111101
[8,1,6,5,4,3,9,7,2]=>10111011
[3,7,6,5,4,9,1,8,2]=>01110101
[7,9,1,5,4,3,2,8,6]=>01011101
[2,9,6,5,4,3,8,1,7]=>01111010
[8,7,1,5,4,3,9,6,2]=>11011011
[1,3,6,5,4,9,8,7,2]=>00110111
[4,7,6,5,9,3,1,8,2]=>01101101
[7,9,6,1,4,3,2,8,5]=>01101101
[1,9,2,5,4,3,8,7,6]=>01011011
[3,9,6,5,4,8,2,1,7]=>01110110
[7,9,6,5,4,3,2,8,1]=>01111101
[8,9,6,5,4,3,2,1,7]=>01111110
[8,7,6,5,4,3,9,1,2]=>11111010
[9,7,6,5,4,3,1,8,2]=>11111101
[7,9,8,6,5,4,3,2,1]=>01111111
[6,9,8,7,5,4,3,2,1]=>01111111
[5,9,8,7,6,4,3,2,1]=>01111111
[4,9,8,7,6,5,3,2,1]=>01111111
[3,9,8,7,6,5,4,2,1]=>01111111
[2,9,8,7,6,5,4,3,1]=>01111111
[6,9,7,8,5,4,3,2,1]=>01011111
[5,9,8,6,7,4,3,2,1]=>01101111
[4,9,8,7,5,6,3,2,1]=>01110111
[3,9,8,7,6,4,5,2,1]=>01111011
[2,9,8,7,6,5,3,4,1]=>01111101
[1,9,8,7,6,5,4,2,3]=>01111110
[1,2,3,4,5,9,6,7,8]=>00000100
[1,2,3,4,9,5,6,7,8]=>00001000
[1,2,3,9,4,5,6,7,8]=>00010000
[1,2,9,3,4,5,6,7,8]=>00100000
[1,2,3,4,5,9,7,6,8]=>00000110
[1,2,3,4,9,6,5,7,8]=>00001100
[1,2,3,9,5,4,6,7,8]=>00011000
[1,2,9,4,3,5,6,7,8]=>00110000
[1,9,3,2,4,5,6,7,8]=>01100000
[7,6,9,8,5,4,3,2,1]=>10111111
[6,5,4,9,8,7,3,2,1]=>11011111
[6,8,5,9,7,4,3,2,1]=>01011111
[6,7,8,9,5,4,3,2,1]=>00011111
[5,4,3,2,9,8,7,6,1]=>11101111
[5,8,4,3,9,7,6,2,1]=>01101111
[5,4,7,6,9,8,3,2,1]=>10101111
[5,7,8,4,9,6,3,2,1]=>00101111
[5,6,7,8,9,4,3,2,1]=>00001111
[4,8,3,2,1,9,7,6,5]=>01110111
[4,3,7,6,2,9,8,5,1]=>10110111
[4,7,8,3,2,9,6,5,1]=>00110111
[4,6,3,8,5,9,7,2,1]=>01010111
[4,6,7,8,3,9,5,2,1]=>00010111
[4,5,6,7,8,9,3,2,1]=>00000111
[3,2,1,6,5,4,9,8,7]=>11011011
[3,6,2,8,5,1,9,7,4]=>01011011
[3,6,7,8,2,1,9,5,4]=>00011011
[3,2,5,4,7,6,9,8,1]=>10101011
[3,5,7,2,8,4,9,6,1]=>00101011
[3,5,6,7,8,2,9,4,1]=>00001011
[3,4,5,6,7,8,9,2,1]=>00000011
[2,4,6,7,1,8,3,9,5]=>00010101
[2,4,5,6,7,8,1,9,3]=>00000101
[3,1,2,4,5,6,7,8,9]=>10000000
[2,4,1,3,5,6,7,8,9]=>01000000
[2,3,5,1,4,6,7,8,9]=>00100000
[2,3,4,6,1,5,7,8,9]=>00010000
[2,3,4,5,7,1,6,8,9]=>00001000
[2,3,4,5,6,8,1,7,9]=>00000100
[7,6,5,4,3,2,9,1,8]=>11111010
[6,5,4,3,9,2,8,1,7]=>11101010
[6,5,4,3,2,8,1,7,9]=>11110100
[5,4,9,3,8,2,7,1,6]=>10101010
[5,4,3,8,2,7,1,6,9]=>11010100
[5,4,3,2,7,9,1,6,8]=>11100100
[5,4,3,2,7,1,6,8,9]=>11101000
[4,8,3,7,2,6,1,5,9]=>01010100
[4,3,7,2,6,9,1,5,8]=>10100100
[4,3,7,2,6,1,5,8,9]=>10101000
[4,3,2,6,8,1,5,7,9]=>11001000
[4,3,2,6,1,5,7,8,9]=>11010000
[3,6,9,2,5,8,1,4,7]=>00100100
[3,6,2,5,8,1,4,7,9]=>01001000
[3,6,2,5,1,4,7,8,9]=>01010000
[3,2,5,7,9,1,4,6,8]=>10001000
[3,2,5,7,1,4,6,8,9]=>10010000
[3,2,5,1,4,6,7,8,9]=>10100000
[2,4,6,8,1,3,5,7,9]=>00010000
[2,4,6,1,3,5,7,8,9]=>00100000
[8,7,6,5,4,2,1,9,3]=>11111101
[8,7,6,5,3,2,1,9,4]=>11111101
[8,7,6,4,3,2,1,9,5]=>11111101
[8,7,5,4,3,2,1,9,6]=>11111101
[8,6,5,4,3,2,1,9,7]=>11111101
[7,6,5,4,3,2,1,9,8]=>11111101
[8,7,6,5,4,9,1,3,2]=>11110101
[8,7,6,5,9,2,1,4,3]=>11101101
[8,7,6,9,3,2,1,5,4]=>11011101
[8,7,9,4,3,2,1,6,5]=>10111101
[8,9,5,4,3,2,1,7,6]=>01111101
[9,6,5,4,3,2,1,8,7]=>11111101
[2,9,8,7,6,5,4,1,3]=>01111110
[2,4,5,6,7,8,1,3,9]=>00000100
[3,4,5,6,7,1,8,2,9]=>00001010
[1,3,5,6,7,8,9,2,4]=>00000010
[1,4,5,6,7,8,2,9,3]=>00000101
[9,7,8,5,6,3,1,4,2]=>10101101
[9,7,8,5,3,6,1,4,2]=>10110101
[9,7,5,8,3,6,1,4,2]=>11010101
[7,9,5,8,3,6,1,4,2]=>01010101
[8,9,5,7,3,6,1,4,2]=>01010101
[8,9,6,7,3,5,1,4,2]=>01010101
[8,9,6,7,4,5,1,3,2]=>01010101
[8,9,6,7,4,5,2,3,1]=>01010101
[9,7,8,5,3,1,6,4,2]=>10111011
[9,7,5,3,8,6,1,4,2]=>11101101
[7,5,9,8,3,6,1,4,2]=>10110101
[9,8,5,7,3,6,1,4,2]=>11010101
[7,9,6,8,3,5,1,4,2]=>01010101
[8,9,5,7,4,6,1,3,2]=>01010101
[8,9,6,7,3,5,2,4,1]=>01010101
[6,5,4,3,2,1,9,8,7]=>11111011
[6,5,4,3,2,1,8,7,9]=>11111010
[5,4,3,2,1,9,8,7,6]=>11110111
[5,4,3,2,1,8,7,6,9]=>11110110
[5,4,3,2,1,7,6,9,8]=>11110101
[5,4,3,2,1,7,6,8,9]=>11110100
[4,3,2,1,8,7,6,5,9]=>11101110
[4,3,2,1,7,6,5,9,8]=>11101101
[4,3,2,1,7,6,5,8,9]=>11101100
[4,3,2,1,6,5,8,7,9]=>11101010
[4,3,2,1,6,5,7,8,9]=>11101000
[3,2,1,6,5,4,8,7,9]=>11011010
[3,2,1,6,5,4,7,8,9]=>11011000
[3,2,1,5,4,7,6,9,8]=>11010101
[3,2,1,5,4,7,6,8,9]=>11010100
[3,2,1,5,4,6,7,8,9]=>11010000
[2,1,4,3,6,5,7,8,9]=>10101000
[2,1,4,3,5,6,7,8,9]=>10100000
[3,1,4,2,6,5,8,7,9]=>10101010
[3,1,5,2,6,4,8,7,9]=>10101010
[3,1,5,2,7,4,8,6,9]=>10101010
[3,1,5,2,7,4,6,9,8]=>10101001
[3,1,5,2,4,7,6,9,8]=>10100101
[3,1,2,5,4,7,6,9,8]=>10010101
[4,1,5,2,6,3,8,7,9]=>10101010
[3,1,6,2,7,4,8,5,9]=>10101010
[3,1,5,2,8,4,9,6,7]=>10101010
[3,1,5,2,7,4,6,8,9]=>10101000
[3,1,5,2,4,7,9,6,8]=>10100010
[3,1,2,5,7,4,6,9,8]=>10001001
[1,3,5,2,4,7,6,9,8]=>00100101
[4,5,6,7,8,9,1,2,3]=>00000100
[4,5,6,7,8,9,2,3,1]=>00000101
[5,6,7,8,9,1,2,3,4]=>00001000
[6,7,8,9,2,3,4,5,1]=>00010001
[8,9,6,7,5,4,3,2,1]=>01011111
[9,8,7,6,5,4,2,1,3]=>11111110
[9,8,7,6,5,3,2,1,4]=>11111110
[9,8,7,6,4,3,2,1,5]=>11111110
[9,8,7,5,4,3,2,1,6]=>11111110
[9,8,6,5,4,3,2,1,7]=>11111110
[9,7,6,5,4,3,2,1,8]=>11111110
[9,8,7,6,5,4,1,3,2]=>11111101
[9,8,7,6,5,2,4,1,3]=>11111010
[9,8,7,6,3,5,2,1,4]=>11110110
[9,8,7,4,6,3,2,1,5]=>11101110
[9,8,5,7,4,3,2,1,6]=>11011110
[9,6,8,5,4,3,2,1,7]=>10111110
[9,8,7,3,6,2,5,1,4]=>11101010
[9,8,7,6,3,5,1,2,4]=>11110100
[9,4,8,3,7,2,6,1,5]=>10101010
[9,8,4,7,3,6,1,2,5]=>11010100
[9,8,7,2,4,6,1,3,5]=>11100100
[9,8,7,4,6,1,2,3,5]=>11101000
[5,9,4,8,3,7,1,2,6]=>01010100
[9,5,8,2,4,7,1,3,6]=>10100100
[9,5,8,4,7,1,2,3,6]=>10101000
[9,8,3,5,7,1,2,4,6]=>11001000
[9,8,5,7,1,2,3,4,6]=>11010000
[6,9,3,5,8,1,2,4,7]=>01001000
[6,9,5,8,1,2,3,4,7]=>01010000
[9,2,4,6,8,1,3,5,7]=>10001000
[9,4,6,8,1,2,3,5,7]=>10010000
[9,6,8,1,2,3,4,5,7]=>10100000
[3,5,7,9,1,2,4,6,8]=>00010000
[5,7,9,1,2,3,4,6,8]=>00100000
[7,9,1,2,3,4,5,6,8]=>01000000
[7,6,5,4,3,2,9,8,1]=>11111011
[9,6,5,4,3,2,8,1,7]=>11111010
[9,7,5,4,3,2,1,8,6]=>11111101
[7,6,5,4,3,9,2,8,1]=>11110101
[8,6,5,4,3,2,9,7,1]=>11111011
[9,1,2,3,5,4,6,7,8]=>10001000
[2,3,4,6,5,7,8,9,1]=>00010001
[9,1,2,3,5,6,4,7,8]=>10000100
[2,3,4,7,5,6,8,9,1]=>00010001
[2,3,4,6,7,5,8,9,1]=>00001001
[8,7,6,4,3,5,2,1,9]=>11110110
[8,7,6,3,5,4,2,1,9]=>11101110
[1,9,8,7,5,4,6,3,2]=>01111011
[1,9,8,7,4,6,5,3,2]=>01110111
[7,6,5,8,4,3,2,1,9]=>11011110
[7,6,5,4,9,3,2,1,8]=>11101110
[7,6,5,4,3,8,2,1,9]=>11110110
[7,6,5,4,3,2,8,1,9]=>11111010
[6,9,8,5,4,3,2,1,7]=>01111110
[7,5,8,9,4,3,2,1,6]=>10011110
[7,6,4,8,9,3,2,1,5]=>11001110
[7,6,5,3,9,8,2,1,4]=>11101110
[7,6,5,4,2,8,9,1,3]=>11110010
[7,6,5,4,3,1,8,9,2]=>11111001
[6,5,8,7,4,3,2,1,9]=>10111110
[7,5,4,8,6,3,2,1,9]=>11011110
[5,9,8,7,4,3,2,1,6]=>01111110
[7,6,4,3,9,5,2,1,8]=>11101110
[7,4,8,9,6,3,2,1,5]=>10011110
[7,6,5,3,2,8,4,1,9]=>11110110
[7,6,3,8,9,5,2,1,4]=>11001110
[7,6,5,4,2,1,8,3,9]=>11111010
[7,6,5,2,9,8,4,1,3]=>11101110
[7,6,5,4,1,8,9,3,2]=>11110011
[2,3,4,5,6,8,9,7,1]=>00000011
[2,3,4,5,7,8,9,6,1]=>00000011
[2,3,5,6,7,8,9,4,1]=>00000011
[2,4,5,6,7,8,9,3,1]=>00000011
[2,3,4,5,8,1,9,7,6]=>00001011
[2,3,4,7,1,8,9,6,5]=>00010011
[2,3,6,1,7,8,9,4,5]=>00100010
[2,5,1,6,7,8,9,4,3]=>01000011
[4,1,5,6,7,8,9,3,2]=>10000011
[2,3,4,5,8,9,6,7,1]=>00000101
[2,3,4,7,8,5,9,6,1]=>00001011
[2,3,6,7,4,8,9,1,5]=>00010010
[2,3,4,8,1,5,9,7,6]=>00010011
[2,5,6,3,7,8,9,4,1]=>00100011
[2,3,7,1,4,8,9,6,5]=>00100011
[4,5,2,6,7,8,9,3,1]=>01000011
[2,6,1,3,7,8,9,4,5]=>01000010
[5,1,2,6,7,8,9,4,3]=>10000011
[8,1,9,7,6,5,4,3,2]=>10111111
[9,2,8,7,6,5,4,1,3]=>10111110
[3,9,8,7,6,5,4,1,2]=>01111110
[8,9,1,7,6,5,4,3,2]=>01011111
[8,2,9,7,6,5,4,3,1]=>10111111
[8,1,2,3,4,5,9,6,7]=>10000010
[8,1,2,3,4,9,5,6,7]=>10000100
[8,1,2,9,3,4,5,6,7]=>10010000
[8,1,9,2,3,4,5,6,7]=>10100000
[6,1,2,3,4,5,8,9,7]=>10000001
[5,1,2,3,4,8,9,6,7]=>10000010
[4,1,2,3,8,9,5,6,7]=>10000100
[3,1,2,8,9,4,5,6,7]=>10001000
[2,1,8,9,3,4,5,6,7]=>10010000
[9,8,7,6,5,2,3,1,4]=>11111010
[9,8,7,6,3,4,2,1,5]=>11110110
[9,8,7,4,5,3,2,1,6]=>11101110
[9,8,5,6,4,3,2,1,7]=>11011110
[9,6,7,5,4,3,2,1,8]=>10111110
[8,2,1,7,6,5,4,3,9]=>11011110
[3,2,8,7,6,5,4,1,9]=>10111110
[8,3,1,7,6,5,4,9,2]=>11011101
[8,2,9,1,6,5,4,3,7]=>10101110
[4,2,8,7,6,5,9,1,3]=>10111010
[3,9,2,7,6,5,4,1,8]=>01011110
[8,4,1,7,6,5,9,3,2]=>11011011
[8,3,2,1,6,5,4,7,9]=>11101100
[8,2,9,7,1,5,4,3,6]=>10110110
[5,2,8,7,6,9,4,1,3]=>10110110
[4,3,2,7,6,5,8,1,9]=>11011010
[3,9,8,2,6,5,4,1,7]=>01101110
[7,8,2,3,4,5,6,9,1]=>01000001
[2,8,9,3,4,5,6,7,1]=>00100001
[7,1,8,3,4,5,6,9,2]=>10100001
[6,8,2,3,4,5,1,9,7]=>01000101
[2,8,1,9,4,5,6,7,3]=>01010001
[2,7,9,3,4,5,6,1,8]=>00100010
[7,1,2,8,4,5,6,9,3]=>10010001
[6,7,8,3,4,5,2,9,1]=>00100101
[5,8,2,3,4,1,6,9,7]=>01001001
[2,8,1,3,9,5,6,7,4]=>01001001
[2,7,8,9,4,5,6,3,1]=>00010011
[2,6,9,3,4,5,1,7,8]=>00100100
[8,7,6,5,4,2,1,3,9]=>11111100
[1,9,8,7,6,5,3,2,4]=>01111110
[1,9,8,7,6,5,2,4,3]=>01111101
[2,1,9,8,7,6,5,4,3]=>10111111
[1,2,9,8,7,6,5,4,3]=>00111111
[3,2,1,9,8,7,6,5,4]=>11011111
[1,3,2,9,8,7,6,5,4]=>01011111
[1,2,3,9,8,7,6,5,4]=>00011111
[4,3,2,1,9,8,7,6,5]=>11101111
[1,4,3,2,9,8,7,6,5]=>01101111
[2,1,4,3,9,8,7,6,5]=>10101111
[1,2,4,3,9,8,7,6,5]=>00101111
[1,2,3,4,9,8,7,6,5]=>00001111
[1,5,4,3,2,9,8,7,6]=>01110111
[2,1,5,4,3,9,8,7,6]=>10110111
[1,2,5,4,3,9,8,7,6]=>00110111
[1,3,2,5,4,9,8,7,6]=>01010111
[1,2,3,5,4,9,8,7,6]=>00010111
[1,2,3,4,5,9,8,7,6]=>00000111
[1,3,2,6,5,4,9,8,7]=>01011011
[1,2,3,6,5,4,9,8,7]=>00011011
[2,1,4,3,6,5,9,8,7]=>10101011
[1,2,4,3,6,5,9,8,7]=>00101011
[1,2,3,4,6,5,9,8,7]=>00001011
[1,2,3,5,4,7,6,9,8]=>00010101
[1,2,3,4,5,7,6,9,8]=>00000101
[9,8,7,6,5,2,1,4,3]=>11111101
[9,8,7,3,2,1,6,5,4]=>11111011
[9,8,7,6,3,1,5,2,4]=>11111010
[9,4,3,2,1,8,7,6,5]=>11110111
[9,8,4,3,1,7,6,2,5]=>11110110
[9,8,7,2,1,4,3,6,5]=>11110101
[9,8,7,4,1,6,2,3,5]=>11110100
[5,4,3,1,9,8,7,2,6]=>11101110
[9,5,2,1,8,4,3,7,6]=>11101101
[9,8,3,1,5,2,7,4,6]=>11101010
[6,3,1,9,5,2,8,4,7]=>11011010
[6,5,1,9,8,2,3,4,7]=>11011000
[9,2,1,4,3,6,5,8,7]=>11010101
[9,6,1,8,2,3,4,5,7]=>11010000
[5,1,7,2,9,3,4,6,8]=>10101000
[7,1,9,2,3,4,5,6,8]=>10100000
[9,1,8,7,6,5,4,3,2]=>10111111
[7,1,9,8,6,5,4,3,2]=>10111111
[6,1,9,8,7,5,4,3,2]=>10111111
[5,1,9,8,7,6,4,3,2]=>10111111
[4,1,9,8,7,6,5,3,2]=>10111111
[3,1,9,8,7,6,5,4,2]=>10111111
[9,8,1,7,6,5,4,3,2]=>11011111
[8,7,9,1,6,5,4,3,2]=>10101111
[7,6,9,8,1,5,4,3,2]=>10110111
[6,5,9,8,7,1,4,3,2]=>10111011
[5,4,9,8,7,6,1,3,2]=>10111101
[4,3,9,8,7,6,5,1,2]=>10111110
[3,2,9,8,7,6,5,4,1]=>10111111
[9,1,2,3,4,5,6,8,7]=>10000001
[9,1,2,3,4,5,7,8,6]=>10000001
[2,3,4,5,6,9,7,8,1]=>00000101
[9,2,1,8,7,6,5,4,3]=>11011111
[3,9,2,8,7,6,5,4,1]=>01011111
[4,2,9,8,7,6,5,3,1]=>10111111
[9,2,8,1,7,6,5,4,3]=>10101111
[9,3,1,8,7,6,5,4,2]=>11011111
[2,3,5,6,4,7,8,9,1]=>00010001
[2,3,6,4,5,7,8,9,1]=>00100001
[9,1,2,4,5,3,6,7,8]=>10001000
[7,9,6,8,5,4,3,2,1]=>01011111
[6,9,8,5,7,4,3,2,1]=>01101111
[5,9,8,7,4,6,3,2,1]=>01110111
[4,9,8,7,6,3,5,2,1]=>01111011
[3,9,8,7,6,5,2,4,1]=>01111101
[8,6,9,7,4,5,2,3,1]=>10110101
[8,6,9,4,7,5,2,3,1]=>10101101
[8,6,9,4,7,2,5,3,1]=>10101011
[8,6,9,4,7,3,5,1,2]=>10101010
[8,6,9,5,7,3,4,1,2]=>10101010
[8,7,9,5,6,3,4,1,2]=>10101010
[8,6,4,9,7,5,2,3,1]=>11011101
[8,6,9,4,2,7,5,3,1]=>10110111
[8,6,9,4,7,2,1,5,3]=>10101101
[8,6,9,4,7,3,5,2,1]=>10101011
[8,6,9,5,7,2,4,1,3]=>10101010
[8,7,9,4,6,3,5,1,2]=>10101010
[9,6,8,5,7,3,4,1,2]=>10101010
[1,3,4,5,6,7,9,2,8]=>00000010
[2,3,4,5,6,7,1,9,8]=>00000101
[2,1,4,5,6,7,8,9,3]=>10000001
[3,1,4,5,6,7,8,2,9]=>10000010
[1,2,3,4,5,7,9,6,8]=>00000010
[1,2,3,4,6,9,5,7,8]=>00000100
[1,2,3,5,9,4,6,7,8]=>00001000
[1,2,4,9,3,5,6,7,8]=>00010000
[1,3,9,2,4,5,6,7,8]=>00100000
[1,9,8,7,6,2,5,4,3]=>01111011
[2,9,8,7,1,6,5,4,3]=>01110111
[1,9,8,2,7,6,5,4,3]=>01101111
[1,9,2,8,7,6,5,4,3]=>01011111
[3,9,8,7,6,5,2,1,4]=>01111110
[4,9,8,7,6,1,2,5,3]=>01111001
[5,9,8,7,1,2,6,4,3]=>01110011
[6,9,8,2,1,7,5,4,3]=>01110111
[7,9,1,2,8,6,5,4,3]=>01001111
[8,1,2,9,7,6,5,4,3]=>10011111
[1,9,8,7,6,3,2,5,4]=>01111101
[1,9,8,7,4,2,6,5,3]=>01111011
[4,9,8,7,6,3,2,1,5]=>01111110
[2,9,8,5,1,7,6,4,3]=>01110111
[5,9,8,7,4,1,2,6,3]=>01111001
[1,9,6,2,8,7,5,4,3]=>01101111
[6,9,8,5,1,2,7,4,3]=>01110011
[1,7,2,9,8,6,5,4,3]=>01011111
[7,9,6,2,1,8,5,4,3]=>01110111
[8,7,1,2,9,6,5,4,3]=>11001111
[1,6,7,8,9,2,3,4,5]=>00001000
[6,7,8,1,2,3,4,5,9]=>00100000
[1,7,8,9,2,3,4,5,6]=>00010000
[5,6,7,1,8,2,3,4,9]=>00101000
[4,6,7,8,1,2,3,5,9]=>00010000
[1,6,7,8,2,9,3,4,5]=>00010100
[1,5,7,8,9,2,3,4,6]=>00001000
[9,2,3,4,5,6,7,8,1]=>10000001
[8,2,3,4,5,6,7,1,9]=>10000010
[7,2,3,4,5,6,1,8,9]=>10000100
[6,2,3,4,5,1,7,8,9]=>10001000
[5,2,3,4,1,6,7,8,9]=>10010000
[4,2,3,1,5,6,7,8,9]=>10100000
[1,2,4,3,5,6,7,8,9]=>00100000
[1,2,4,6,8,9,7,5,3]=>00000111
[1,2,4,5,3,6,7,8,9]=>00010000
[2,4,1,3,6,8,5,7,9]=>01000100
[8,2,1,3,4,5,6,7,9]=>11000000
[3,2,4,5,6,7,8,1,9]=>10000010
[8,3,1,2,4,5,6,7,9]=>11000000
[8,2,3,1,4,5,6,7,9]=>10100000
[4,2,3,5,6,7,8,1,9]=>10000010
[1,9,3,4,5,6,7,8,2]=>01000001
[1,9,8,4,5,6,7,3,2]=>01100011
[1,7,2,3,4,5,6,9,8]=>01000001
[1,3,4,5,6,7,9,8,2]=>00000011
[7,3,4,5,6,8,1,2,9]=>10000100
[2,3,4,5,7,6,8,1,9]=>00001010
[1,8,4,5,6,7,9,2,3]=>01000010
[1,3,4,5,6,8,7,9,2]=>00000101
[1,2,3,4,5,9,7,8,6]=>00000101
[1,2,3,4,9,6,7,8,5]=>00001001
[1,2,3,9,5,6,7,8,4]=>00010001
[1,2,9,4,5,6,7,8,3]=>00100001
[1,2,3,4,9,7,6,8,5]=>00001101
[1,2,3,9,6,5,7,8,4]=>00011001
[1,2,9,5,4,6,7,8,3]=>00110001
[1,9,4,3,5,6,7,8,2]=>01100001
[9,3,2,4,5,6,7,8,1]=>11000001
[3,5,6,7,8,9,4,2,1]=>00000111
[1,2,3,5,7,4,6,9,8]=>00001001
[1,2,3,6,4,7,5,9,8]=>00010101
[1,2,3,4,6,8,5,7,9]=>00000100
[1,2,3,4,7,5,8,6,9]=>00001010
[1,2,5,7,3,4,6,9,8]=>00010001
[1,2,4,5,7,3,6,9,8]=>00001001
[1,2,6,3,4,7,5,9,8]=>00100101
[1,2,5,6,3,7,4,9,8]=>00010101
[2,3,1,9,4,5,6,7,8]=>01010000
[4,9,1,2,3,5,6,7,8]=>01000000
[3,9,1,2,4,5,6,7,8]=>01000000
[1,8,2,3,4,5,6,7,9]=>01000000
[9,8,7,5,6,4,3,2,1]=>11101111
[2,1,9,8,6,7,5,4,3]=>10110111
[9,8,7,5,4,6,3,2,1]=>11110111
[9,8,7,4,6,5,3,2,1]=>11101111
[2,1,9,8,6,5,7,4,3]=>10111011
[2,1,9,8,5,7,6,4,3]=>10110111
[1,8,7,6,5,4,3,2,9]=>01111110
[2,1,8,7,6,5,4,3,9]=>10111110
[2,8,9,7,6,5,4,3,1]=>00111111
[4,5,6,7,8,1,2,9,3]=>00001001
[4,5,6,7,1,2,8,9,3]=>00010001
[4,5,6,1,2,7,8,9,3]=>00100001
[4,5,1,2,6,7,8,9,3]=>01000001
[7,8,1,2,3,4,5,9,6]=>01000001
[2,8,9,1,3,4,5,6,7]=>00100000
[7,1,8,2,9,3,4,5,6]=>10101000
[6,1,7,2,8,3,9,4,5]=>10101010
[5,1,6,2,7,3,8,4,9]=>10101010
[7,1,8,2,3,9,4,5,6]=>10100100
[6,1,7,2,8,3,4,9,5]=>10101001
[5,1,6,2,7,3,9,4,8]=>10101010
[4,1,5,2,7,3,8,6,9]=>10101010
[2,1,3,4,5,6,8,9,7]=>10000001
[2,1,3,4,5,6,7,9,8]=>10000001
[2,3,1,4,5,6,8,9,7]=>01000001
[1,3,2,4,5,6,8,9,7]=>01000001
[2,3,1,4,5,6,7,9,8]=>01000001
[1,3,2,4,5,6,7,9,8]=>01000001
[6,7,1,2,3,4,8,9,5]=>01000001
[7,8,6,5,4,3,2,9,1]=>01111101
[9,7,6,5,4,3,1,2,8]=>11111100
[2,4,3,5,6,7,8,9,1]=>01000001
[4,5,6,7,8,9,2,1,3]=>00000110
[5,6,7,8,9,2,1,3,4]=>00001100
[6,7,8,9,2,1,3,4,5]=>00011000
[7,8,9,2,1,3,4,5,6]=>00110000
[8,9,2,1,3,4,5,6,7]=>01100000
[8,6,4,3,2,1,9,7,5]=>11111011
[7,5,4,3,2,1,8,6,9]=>11111010
[8,6,4,2,1,9,7,5,3]=>11110111
[7,5,3,2,1,8,6,4,9]=>11110110
[7,4,3,2,1,8,5,9,6]=>11110101
[6,4,3,2,1,7,5,8,9]=>11110100
[7,5,3,1,8,6,4,2,9]=>11101110
[7,4,2,1,8,5,3,9,6]=>11101101
[6,4,2,1,7,5,3,8,9]=>11101100
[6,3,2,1,7,4,8,5,9]=>11101010
[5,3,2,1,6,4,7,8,9]=>11101000
[7,4,1,8,5,2,9,6,3]=>11011011
[6,3,1,7,4,2,8,5,9]=>11011010
[5,3,1,6,4,2,7,8,9]=>11011000
[6,2,1,7,3,8,4,9,5]=>11010101
[5,2,1,6,3,7,4,8,9]=>11010100
[4,2,1,5,3,6,7,8,9]=>11010000
[4,1,5,2,6,3,7,8,9]=>10101000
[3,1,4,2,5,6,7,8,9]=>10100000
[1,7,2,3,4,5,6,8,9]=>01000000
[1,2,3,4,5,6,8,7,9]=>00000010
[1,2,3,4,5,7,6,8,9]=>00000100
[9,2,3,4,5,6,7,1,8]=>10000010
[8,2,3,4,5,6,9,1,7]=>10000010
[8,2,3,9,5,6,7,1,4]=>10010010
[8,2,9,4,5,6,7,1,3]=>10100010
[8,9,3,4,5,6,7,1,2]=>01000010
[4,2,3,1,9,8,7,6,5]=>10101111
[3,2,1,9,8,6,7,5,4]=>11011011
[1,3,2,4,5,6,7,8,9]=>01000000
[1,4,2,3,5,6,7,8,9]=>01000000
[8,2,3,4,5,6,7,9,1]=>10000001
[7,2,3,4,5,6,9,8,1]=>10000011
[6,2,3,4,5,9,7,8,1]=>10000101
[5,2,3,4,9,6,7,8,1]=>10001001
[4,2,3,9,5,6,7,8,1]=>10010001
[3,2,9,4,5,6,7,8,1]=>10100001
[2,9,3,4,5,6,7,8,1]=>01000001
[6,2,3,4,5,1,8,9,7]=>10001001
[5,2,3,4,1,7,9,8,6]=>10010011
[4,2,3,1,6,9,7,8,5]=>10100101
[3,2,1,5,9,6,7,8,4]=>11001001
[2,1,4,9,5,6,7,8,3]=>10010001
[1,3,9,4,5,6,7,8,2]=>00100001
[2,3,5,6,4,7,8,1,9]=>00010010
[1,3,4,6,7,5,8,9,2]=>00001001
[2,3,6,5,7,4,8,1,9]=>00101010
[2,3,5,6,7,1,8,4,9]=>00001010
[1,3,4,7,6,8,5,9,2]=>00010101
[1,3,4,6,7,8,2,9,5]=>00000101
[2,3,4,5,6,1,8,7,9]=>00001010
[2,3,4,5,1,7,6,8,9]=>00010100
[2,3,4,1,6,5,7,8,9]=>00101000
[2,3,1,5,4,6,7,8,9]=>01010000
[1,8,6,4,2,9,7,5,3]=>01110111
[8,6,4,2,1,7,5,3,9]=>11110110
[8,7,5,3,1,6,4,2,9]=>11110110
[1,9,7,5,3,2,8,6,4]=>01111011
[1,9,8,6,4,2,7,5,3]=>01111011
[6,3,5,1,2,4,7,8,9]=>10100000
[8,6,5,4,3,2,1,7,9]=>11111100
[9,4,3,2,5,6,7,8,1]=>11100001
[8,1,2,3,4,5,7,6,9]=>10000010
[1,9,2,3,4,5,6,8,7]=>01000001
[8,1,2,3,4,7,6,5,9]=>10000110
[8,1,2,3,4,6,5,7,9]=>10000100
[1,9,2,3,4,5,8,7,6]=>01000011
[1,9,2,3,4,5,7,6,8]=>01000010
[1,3,4,5,6,7,8,2,9]=>00000010
[2,1,4,5,6,7,9,3,8]=>10000010
[2,1,4,5,6,7,8,3,9]=>10000010
[1,6,9,8,7,5,4,3,2]=>00111111
[1,4,9,8,7,6,5,3,2]=>00111111
[1,3,9,8,7,6,5,4,2]=>00111111
[8,7,1,9,6,5,4,3,2]=>11011111
[6,7,9,1,8,5,4,3,2]=>00101111
[5,6,9,8,1,7,4,3,2]=>00110111
[5,4,9,8,7,1,6,3,2]=>10111011
[3,4,9,8,7,6,1,5,2]=>00111101
[2,3,9,8,7,6,5,1,4]=>00111110
[1,7,6,9,8,5,4,3,2]=>01011111
[1,6,9,5,8,7,4,3,2]=>00101111
[8,7,6,1,9,5,4,3,2]=>11101111
[5,1,9,8,4,7,6,3,2]=>10110111
[6,7,9,5,1,8,4,3,2]=>00110111
[1,4,9,8,7,3,6,5,2]=>00111011
[5,6,9,8,4,1,7,3,2]=>00111011
[1,3,9,8,7,6,2,5,4]=>00111101
[5,4,9,8,7,3,1,6,2]=>10111101
[3,4,9,8,7,6,2,1,5]=>00111110
[9,3,4,2,5,6,7,8,1]=>10100001
[1,2,3,4,5,7,9,8,6]=>00000011
[1,2,3,4,6,7,9,8,5]=>00000011
[1,2,3,4,6,8,9,7,5]=>00000011
[1,2,3,4,6,9,8,7,5]=>00000111
[1,2,3,5,6,7,9,8,4]=>00000011
[1,2,3,5,6,8,9,7,4]=>00000011
[1,2,3,5,6,9,8,7,4]=>00000111
[1,2,3,5,7,9,8,6,4]=>00000111
[1,2,3,5,9,8,7,6,4]=>00001111
[1,2,4,5,7,8,9,6,3]=>00000011
[1,2,4,5,7,9,8,6,3]=>00000111
[1,2,4,5,9,8,7,6,3]=>00001111
[1,2,4,6,9,8,7,5,3]=>00001111
[1,2,4,9,8,7,6,5,3]=>00011111
[1,3,5,7,9,8,6,4,2]=>00001111
[1,3,5,9,8,7,6,4,2]=>00011111
[6,5,1,2,3,7,8,9,4]=>11000001
[4,1,3,2,5,6,7,8,9]=>10100000
[6,1,2,4,5,3,7,8,9]=>10001000
[5,4,1,2,3,6,7,8,9]=>11000000
[8,1,2,3,5,6,7,4,9]=>10000010
[4,1,6,3,5,2,7,8,9]=>10101000
[8,1,7,3,2,6,4,5,9]=>10110100
[5,7,1,6,2,4,3,8,9]=>01010100
[7,3,4,6,1,2,5,8,9]=>10010000
[6,1,2,9,4,5,7,8,3]=>10010001
[4,1,6,3,8,5,7,2,9]=>10101010
[6,8,5,1,7,2,3,4,9]=>01101000
[8,3,4,5,7,1,2,6,9]=>10001000
[5,7,1,9,2,8,4,6,3]=>01010101
[7,9,4,6,1,8,2,3,5]=>01010100
[3,4,1,6,2,5,8,7,9]=>01010010
[3,4,1,2,6,5,8,7,9]=>01001010
[3,5,1,6,2,4,8,7,9]=>01010010
[2,5,1,6,3,4,8,7,9]=>01010010
[3,5,1,2,6,4,8,7,9]=>01001010
[2,5,1,3,6,4,8,7,9]=>01001010
[8,6,4,2,1,3,5,7,9]=>11110000
[8,6,2,1,4,3,5,7,9]=>11101000
[8,4,2,1,6,3,5,7,9]=>11101000
[6,4,2,1,8,3,5,7,9]=>11101000
[8,6,4,2,9,1,3,5,7]=>11101000
[9,6,4,2,7,1,3,5,8]=>11101000
[9,7,4,2,5,1,3,6,8]=>11101000
[9,7,5,2,3,1,4,6,8]=>11101000
[9,7,5,3,1,2,4,6,8]=>11110000
[8,2,1,4,3,6,5,7,9]=>11010100
[4,2,1,6,3,5,8,7,9]=>11010010
[6,4,2,1,8,3,5,9,7]=>11101001
[6,4,2,7,1,3,5,8,9]=>11010000
[8,9,4,2,5,1,3,6,7]=>01101000
[9,6,7,2,3,1,4,5,8]=>10101000
[9,7,4,5,1,2,3,6,8]=>11010000
[1,2,9,3,4,5,6,8,7]=>00100001
[1,2,3,8,4,5,9,6,7]=>00010010
[1,2,3,4,9,5,6,8,7]=>00001001
[1,2,3,4,5,9,6,8,7]=>00000101
[7,1,2,3,4,8,5,9,6]=>10000101
[6,9,1,2,3,4,8,5,7]=>01000010
[5,1,9,2,3,4,8,6,7]=>10100010
[4,1,2,3,5,8,6,9,7]=>10000101
[3,1,2,4,9,5,8,6,7]=>10001010
[2,1,3,4,5,9,6,8,7]=>10000101
[1,7,2,3,4,5,9,8,6]=>01000011
[1,6,2,3,4,5,9,8,7]=>01000011
[6,1,2,3,7,4,8,9,5]=>10001001
[1,2,3,8,5,4,6,9,7]=>00011001
[5,9,1,2,6,3,4,8,7]=>01001001
[1,4,2,3,5,6,9,8,7]=>01000011
[4,1,9,5,2,3,6,8,7]=>10110001
[1,3,2,4,5,6,9,8,7]=>01000011
[3,4,1,2,5,6,8,9,7]=>01000001
[2,3,1,4,9,5,6,8,7]=>01001001
[8,1,2,3,4,6,9,5,7]=>10000010
[8,1,2,4,6,9,3,5,7]=>10000100
[6,1,2,3,4,5,9,8,7]=>10000011
[5,1,2,3,4,8,6,9,7]=>10000101
[4,1,2,3,9,6,8,5,7]=>10001010
[3,1,2,8,4,6,9,5,7]=>10010010
[2,1,9,4,6,8,3,5,7]=>10100100
[1,8,2,4,6,9,3,5,7]=>01000100
[4,3,5,6,7,8,9,1,2]=>10000010
[6,7,8,5,4,3,2,1,9]=>00111110
[6,5,7,8,4,3,2,1,9]=>10011110
[6,5,4,7,8,3,2,1,9]=>11001110
[6,5,4,3,7,8,2,1,9]=>11100110
[6,5,4,3,2,7,8,1,9]=>11110010
[7,8,9,5,4,3,2,1,6]=>00111110
[6,7,8,9,4,3,2,1,5]=>00011110
[6,5,7,8,9,3,2,1,4]=>10001110
[6,5,4,7,8,9,2,1,3]=>11000110
[6,5,4,3,7,8,9,1,2]=>11100010
[6,5,4,3,2,7,8,9,1]=>11110001
[8,7,6,5,3,2,1,4,9]=>11111100
[8,7,6,4,3,2,1,5,9]=>11111100
[8,7,5,4,3,2,1,6,9]=>11111100
[8,7,6,5,4,1,2,3,9]=>11111000
[8,7,6,5,2,3,1,4,9]=>11110100
[8,7,6,3,4,2,1,5,9]=>11101100
[8,7,4,5,3,2,1,6,9]=>11011100
[8,5,6,4,3,2,1,7,9]=>10111100
[6,7,5,4,3,2,1,8,9]=>01111100
[6,8,7,9,5,4,3,2,1]=>01011111
[5,8,7,6,9,4,3,2,1]=>01101111
[4,8,7,6,5,9,3,2,1]=>01110111
[3,8,7,6,5,4,9,2,1]=>01111011
[2,8,7,6,5,4,3,9,1]=>01111101
[1,9,2,4,5,6,7,8,3]=>01000001
[9,1,3,4,5,6,7,8,2]=>10000001
[1,8,3,4,5,6,9,2,7]=>01000010
[8,2,3,4,5,1,9,7,6]=>10001011
[8,1,9,4,5,6,7,3,2]=>10100011
[7,9,3,4,5,6,1,8,2]=>01000101
[1,2,8,4,5,6,9,3,7]=>00100010
[7,8,3,4,5,2,9,1,6]=>01001010
[8,2,3,4,1,6,9,7,5]=>10010011
[8,1,3,9,5,6,7,4,2]=>10010011
[7,8,9,4,5,6,3,1,2]=>00100110
[6,9,3,4,5,1,7,8,2]=>01001001
[4,1,5,6,7,8,9,2,3]=>10000010
[2,3,4,5,8,9,1,6,7]=>00000100
[9,8,7,6,5,4,2,3,1]=>11111101
[2,3,9,8,7,6,5,4,1]=>00111111
[9,1,3,2,4,5,6,7,8]=>10100000
[9,8,7,1,6,5,4,3,2]=>11101111
[9,8,7,6,1,5,4,3,2]=>11110111
[9,8,7,6,5,1,4,3,2]=>11111011
[3,5,2,4,7,6,9,8,1]=>01001011
[2,4,3,6,5,8,7,1,9]=>01010110
[3,5,1,2,4,7,6,9,8]=>01000101
[3,4,5,6,7,8,2,9,1]=>00000101
[1,4,5,6,7,8,3,9,2]=>00000101
[3,4,5,6,7,2,1,9,8]=>00001101
[2,1,5,6,7,8,9,4,3]=>10000011
[2,4,5,6,7,8,3,1,9]=>00000110
[8,7,6,4,5,3,2,9,1]=>11101101
[2,9,8,7,5,6,4,3,1]=>01110111
[8,6,9,7,5,4,3,2,1]=>10111111
[8,7,5,9,6,4,3,2,1]=>11011111
[8,7,6,4,9,5,3,2,1]=>11101111
[8,7,6,5,3,9,4,2,1]=>11110111
[8,7,6,5,4,2,9,3,1]=>11111011
[5,6,4,7,3,8,2,9,1]=>01010101
[5,6,4,7,3,9,2,8,1]=>01010101
[5,4,6,3,7,2,8,1,9]=>10101010
[1,8,3,4,5,6,7,9,2]=>01000001
[7,2,3,4,5,6,1,9,8]=>10000101
[2,1,9,4,5,6,7,8,3]=>10100001
[2,8,3,4,5,6,7,1,9]=>01000010
[2,9,1,8,7,6,5,4,3]=>01011111
[2,9,8,1,7,6,5,4,3]=>01101111
[6,1,2,3,4,5,7,8,9]=>10000000
[5,1,2,3,4,6,7,8,9]=>10000000
[4,1,2,3,5,6,7,8,9]=>10000000
[9,8,2,3,4,5,6,7,1]=>11000001
[8,9,2,3,4,5,6,7,1]=>01000001
[9,8,7,6,4,5,3,2,1]=>11110111
[5,6,7,9,8,4,3,2,1]=>00011111
[5,6,7,8,9,1,4,3,2]=>00001011
[1,8,9,3,4,5,6,7,2]=>00100001
[3,4,5,6,1,8,9,2,7]=>00010010
[3,4,5,6,8,1,9,2,7]=>00001010
[3,4,5,6,8,9,1,2,7]=>00000100
[2,4,5,1,6,7,8,9,3]=>00100001
[2,3,4,1,6,7,8,9,5]=>00100001
[3,4,5,6,1,2,9,7,8]=>00010010
[3,4,5,6,8,1,2,7,9]=>00001000
[3,4,5,1,6,7,8,2,9]=>00100010
[5,6,1,7,8,9,2,3,4]=>01000100
[1,3,5,2,6,7,8,9,4]=>00100001
[2,1,4,3,6,7,8,9,5]=>10100001
[2,3,1,5,6,7,8,9,4]=>01000001
[9,7,8,5,4,3,2,1,6]=>10111110
[1,2,3,4,6,5,7,8,9]=>00001000
[1,2,3,5,4,6,7,8,9]=>00010000
[1,8,2,3,4,5,9,6,7]=>01000010
[1,3,4,5,6,8,9,2,7]=>00000010
[4,5,2,3,6,7,8,9,1]=>01000001
[4,3,2,5,6,7,8,9,1]=>11000001
[5,6,7,2,3,4,8,9,1]=>00100001
[5,3,6,2,4,7,8,9,1]=>10100001
[5,4,3,2,6,7,8,9,1]=>11100001
[6,3,7,8,2,4,5,9,1]=>10010001
[6,7,4,5,2,3,8,9,1]=>01010001
[6,4,3,7,2,5,8,9,1]=>11010001
[7,8,4,5,9,2,3,6,1]=>01001001
[7,4,3,8,9,2,5,6,1]=>11001001
[7,5,8,3,6,2,4,9,1]=>10101001
[7,5,4,3,8,2,6,9,1]=>11101001
[7,6,5,4,3,2,8,9,1]=>11111001
[8,6,4,9,3,7,2,5,1]=>11010101
[8,6,5,4,3,9,2,7,1]=>11110101
[2,4,1,5,3,6,7,8,9]=>01010000
[4,5,6,7,8,3,9,1,2]=>00001010
[8,9,2,3,4,5,1,6,7]=>01000100
[5,6,7,4,8,9,1,2,3]=>00100100
[7,8,9,2,3,1,4,5,6]=>00101000
[6,5,7,8,9,1,2,3,4]=>10001000
[7,1,2,3,4,5,8,6,9]=>10000010
[6,1,2,3,4,7,5,8,9]=>10000100
[5,1,2,3,6,4,7,8,9]=>10001000
[4,1,2,5,3,6,7,8,9]=>10010000
[8,1,2,3,4,5,9,7,6]=>10000011
[8,1,2,3,4,9,6,7,5]=>10000101
[9,1,2,3,8,5,6,7,4]=>10001001
[9,1,2,3,4,6,7,8,5]=>10000001
[1,2,3,4,5,8,9,6,7]=>00000010
[1,2,3,4,7,9,5,8,6]=>00000101
[1,2,3,6,9,4,7,8,5]=>00001001
[1,2,5,9,3,6,7,8,4]=>00010001
[1,4,9,2,5,6,7,8,3]=>00100001
[3,9,1,4,5,6,7,8,2]=>01000001
[2,8,1,9,3,4,5,6,7]=>01010000
[1,4,2,3,6,5,8,7,9]=>01001010
[1,3,4,2,6,5,8,7,9]=>00101010
[2,3,1,4,6,5,8,7,9]=>01001010
[4,6,1,2,3,5,8,7,9]=>01000010
[3,4,5,1,6,2,8,7,9]=>00101010
[3,1,2,4,6,5,8,7,9]=>10001010
[2,1,3,4,5,6,9,7,8]=>10000010
[1,2,3,4,5,7,8,6,9]=>00000010
[7,1,9,3,4,5,6,2,8]=>10100010
[7,2,1,9,4,5,6,3,8]=>11010010
[6,9,7,3,4,5,1,2,8]=>01100100
[3,8,1,2,9,5,6,7,4]=>01001001
[8,7,9,1,2,3,4,5,6]=>10100000
[7,2,3,1,9,5,6,4,8]=>10101010
[6,1,2,7,4,5,9,3,8]=>10010010
[5,9,6,3,4,1,7,2,8]=>01101010
[3,8,1,4,2,9,6,7,5]=>01010101
[9,7,2,3,8,5,6,1,4]=>11001010
[7,6,8,9,1,2,3,4,5]=>10010000
[5,4,6,7,8,9,1,2,3]=>10000100
[1,4,3,2,5,6,7,8,9]=>01100000
[2,3,4,5,6,9,8,7,1]=>00000111
[2,3,4,5,8,7,9,6,1]=>00001011
[2,3,6,5,7,8,9,4,1]=>00100011
[2,3,4,5,8,9,7,6,1]=>00000111
[3,4,5,6,7,1,2,8,9]=>00001000
[2,3,5,1,4,7,6,9,8]=>00100101
[3,4,1,5,2,7,6,9,8]=>01010101
[4,1,2,5,3,7,6,9,8]=>10010101
[4,2,6,8,1,3,5,7,9]=>10010000
[4,6,2,8,1,3,5,7,9]=>01010000
[4,6,8,2,1,3,5,7,9]=>00110000
[4,6,8,2,9,1,3,5,7]=>00101000
[4,6,2,7,9,1,3,5,8]=>01001000
[4,2,5,7,9,1,3,6,8]=>10001000
[2,3,5,7,9,1,4,6,8]=>00001000
[6,4,2,8,1,3,5,7,9]=>11010000
[8,4,6,2,1,3,5,7,9]=>10110000
[4,6,8,9,2,1,3,5,7]=>00011000
[4,6,2,7,1,3,5,8,9]=>01010000
[4,8,2,5,9,1,3,6,7]=>01001000
[6,2,3,7,9,1,4,5,8]=>10001000
[1,4,5,7,9,2,3,6,8]=>00001000
[8,6,4,9,7,5,3,2,1]=>11011111
[7,8,5,9,6,4,3,2,1]=>01011111
[8,6,4,2,9,7,5,3,1]=>11101111
[7,8,5,3,9,6,4,2,1]=>01101111
[7,4,8,5,9,6,3,2,1]=>10101111
[6,7,8,4,9,5,3,2,1]=>00101111
[7,8,5,3,1,9,6,4,2]=>01110111
[7,4,8,5,2,9,6,3,1]=>10110111
[6,7,8,4,2,9,5,3,1]=>00110111
[6,7,3,8,4,9,5,2,1]=>01010111
[5,6,7,8,3,9,4,2,1]=>00010111
[6,7,3,8,4,1,9,5,2]=>01011011
[5,6,7,8,3,1,9,4,2]=>00011011
[6,2,7,3,8,4,9,5,1]=>10101011
[5,6,7,2,8,3,9,4,1]=>00101011
[4,5,6,7,8,2,9,3,1]=>00001011
[5,6,1,7,2,8,3,9,4]=>01010101
[4,5,6,7,1,8,2,9,3]=>00010101
[2,3,4,5,9,6,7,8,1]=>00001001
[2,3,4,9,5,6,7,8,1]=>00010001
[2,3,9,4,5,6,7,8,1]=>00100001
[2,3,4,5,9,7,6,8,1]=>00001101
[2,3,4,9,6,5,7,8,1]=>00011001
[2,3,9,5,4,6,7,8,1]=>00110001
[2,9,4,3,5,6,7,8,1]=>01100001
[2,3,4,5,9,7,8,6,1]=>00001011
[2,1,8,3,4,5,6,7,9]=>10100000
[1,9,6,2,3,4,5,8,7]=>01100001
[9,8,7,4,5,6,3,2,1]=>11100111
[1,5,6,7,8,9,2,3,4]=>00000100
[1,7,2,8,9,3,4,5,6]=>01001000
[1,6,2,7,8,9,3,4,5]=>01000100
[1,5,2,6,7,8,9,3,4]=>01000010
[3,4,2,1,5,6,7,8,9]=>01100000
[4,3,1,2,5,6,7,8,9]=>11000000
[4,5,2,1,3,6,7,8,9]=>01100000
[3,4,2,5,1,6,7,8,9]=>01010000
[5,3,1,2,4,6,7,8,9]=>11000000
[4,3,5,1,2,6,7,8,9]=>10100000
[5,4,3,1,2,6,7,8,9]=>11100000
[6,5,4,3,1,2,7,8,9]=>11110000
[8,5,4,3,9,1,2,6,7]=>11101000
[6,2,3,4,5,1,9,7,8]=>10001010
[2,3,4,5,9,7,1,8,6]=>00001101
[2,3,4,9,6,7,1,8,5]=>00010101
[2,3,9,5,6,1,7,8,4]=>00101001
[2,3,9,5,1,7,4,8,6]=>00110101
[2,1,3,4,5,6,8,7,9]=>10000010
[2,3,4,5,6,8,7,9,1]=>00000101
[8,6,5,4,3,2,7,9,1]=>11111001
[8,9,5,4,3,2,1,6,7]=>01111100
[7,6,5,4,3,8,9,1,2]=>11110010
[9,6,5,4,3,2,7,1,8]=>11111010
[9,2,3,4,5,6,1,7,8]=>10000100
[3,1,5,6,7,8,9,2,4]=>10000010
[2,1,3,5,6,7,8,9,4]=>10000001
[3,4,5,7,8,9,1,2,6]=>00000100
[3,5,6,7,8,9,1,2,4]=>00000100
[3,4,5,6,9,1,2,7,8]=>00001000
[3,4,5,6,1,2,7,8,9]=>00010000
[5,1,6,7,8,9,2,3,4]=>10000100
[1,2,4,3,5,7,8,9,6]=>00100001
[3,1,2,4,5,6,7,9,8]=>10000001
[9,8,7,6,5,1,3,4,2]=>11111001
[9,8,7,6,1,4,5,3,2]=>11110011
[9,8,7,1,5,6,4,3,2]=>11100111
[9,8,1,6,7,5,4,3,2]=>11001111
[9,1,7,8,6,5,4,3,2]=>10011111
[3,2,4,1,6,5,8,7,9]=>10101010
[4,2,5,1,6,3,8,7,9]=>10101010
[4,2,6,1,7,3,8,5,9]=>10101010
[4,2,6,1,8,3,9,5,7]=>10101010
[4,2,6,1,7,3,5,9,8]=>10101001
[4,2,5,1,3,7,6,9,8]=>10100101
[3,2,5,4,6,1,8,7,9]=>10101010
[4,2,5,1,7,6,8,3,9]=>10101010
[4,2,6,1,7,3,9,8,5]=>10101011
[4,2,6,1,7,3,5,8,9]=>10101000
[4,2,5,1,3,8,9,6,7]=>10100010
[3,2,1,6,7,4,5,9,8]=>11001001
[1,4,5,2,3,7,6,9,8]=>00100101
[7,6,5,4,3,1,2,9,8]=>11111001
[7,6,5,4,2,1,3,9,8]=>11111001
[7,6,5,4,1,3,2,9,8]=>11110101
[9,8,7,6,5,3,2,4,1]=>11111101
[9,8,7,6,5,2,4,3,1]=>11111011
[2,3,4,8,6,7,9,5,1]=>00010011
[2,3,8,5,6,7,9,1,4]=>00100010
[2,8,4,5,6,7,9,3,1]=>01000011
[8,3,4,5,6,7,9,2,1]=>10000011
[2,3,4,5,7,9,1,8,6]=>00000101
[2,3,4,6,7,1,9,5,8]=>00001010
[2,3,5,6,1,7,9,4,8]=>00010010
[2,4,5,1,6,7,9,8,3]=>00100011
[3,4,1,5,6,7,9,2,8]=>01000010
[3,2,4,5,6,7,9,1,8]=>10000010
[2,3,4,7,6,9,8,5,1]=>00010111
[2,3,4,6,9,1,7,8,5]=>00001001
[2,5,4,6,8,7,9,1,3]=>01001010
[2,3,5,7,1,6,9,4,8]=>00010010
[4,3,5,8,6,7,9,2,1]=>10010011
[2,4,6,1,5,7,9,3,8]=>00100010
[2,4,8,5,6,7,9,1,3]=>00100010
[3,5,1,4,6,7,9,8,2]=>01000011
[4,2,3,5,6,7,9,1,8]=>10000010
[1,4,2,6,3,7,5,9,8]=>01010101
[1,3,2,6,4,7,5,9,8]=>01010101
[2,1,6,3,7,4,8,5,9]=>10101010
[7,9,6,8,4,5,2,3,1]=>01010101
[7,9,5,8,4,6,2,3,1]=>01010101
[7,9,5,8,3,6,2,4,1]=>01010101
[7,9,5,8,3,6,4,1,2]=>01010110
[7,9,5,8,6,3,4,1,2]=>01011010
[7,9,8,5,6,3,4,1,2]=>01101010
[6,9,5,8,4,7,2,3,1]=>01010101
[7,9,4,8,3,6,2,5,1]=>01010101
[7,9,5,8,2,6,1,4,3]=>01010101
[7,9,5,8,3,6,4,2,1]=>01010111
[7,9,5,8,6,3,1,4,2]=>01011101
[7,9,8,5,3,6,4,1,2]=>01110110
[9,7,5,8,6,3,4,1,2]=>11011010
[6,5,4,3,2,7,1,8,9]=>11110100
[5,4,3,2,6,1,7,8,9]=>11101000
[4,3,2,5,1,6,7,8,9]=>11010000
[3,2,4,1,5,6,7,8,9]=>10100000
[1,3,5,2,7,4,6,9,8]=>00101001
[1,2,4,3,6,5,8,7,9]=>00101010
[1,3,5,7,2,4,6,9,8]=>00010001
[1,3,5,7,2,9,4,6,8]=>00010100
[5,6,2,1,3,7,4,8,9]=>01100100
[3,2,5,1,6,4,7,8,9]=>10101000
[6,7,2,1,8,3,4,9,5]=>01101001
[3,6,4,1,7,2,8,5,9]=>01101010
[3,6,7,2,1,4,8,5,9]=>00110010
[4,2,6,1,7,5,3,8,9]=>10101100
[4,3,2,6,1,7,5,8,9]=>11010100
[4,7,2,5,1,8,3,9,6]=>01010101
[4,3,7,8,2,1,5,9,6]=>10011001
[3,5,2,7,1,8,6,4,9]=>01010110
[5,4,3,2,7,1,8,6,9]=>11101010
[6,4,2,8,1,9,7,5,3]=>11010111
[4,3,6,2,8,1,9,7,5]=>10101011
[6,5,4,3,2,8,1,9,7]=>11110101
[2,8,7,9,6,5,4,3,1]=>01011111
[3,1,2,9,4,5,6,7,8]=>10010000
[4,1,2,3,9,5,6,7,8]=>10001000
[5,1,2,3,4,9,6,7,8]=>10000100
[6,1,2,3,4,5,9,7,8]=>10000010
[3,4,1,2,9,5,6,7,8]=>01001000
[4,5,1,2,3,9,6,7,8]=>01000100
[5,6,1,2,3,4,9,7,8]=>01000010
[6,7,1,2,3,4,5,9,8]=>01000001
[9,7,5,3,1,8,6,4,2]=>11110111
[9,6,3,8,5,2,7,4,1]=>11011011
[8,5,2,9,6,3,7,4,1]=>11011011
[9,5,1,6,2,7,3,8,4]=>11010101
[9,5,1,8,4,7,3,6,2]=>11010101
[8,4,7,3,6,2,9,5,1]=>10101011
[7,3,8,4,6,2,9,5,1]=>10101011
[9,4,7,2,5,8,3,6,1]=>10100101
[9,4,6,1,8,3,5,7,2]=>10101001
[8,3,5,7,2,9,4,6,1]=>10010101
[7,2,8,3,9,4,5,6,1]=>10101001
[8,3,7,2,9,4,5,6,1]=>10101001
[5,8,3,7,2,9,4,6,1]=>01010101
[4,5,6,9,3,8,2,7,1]=>00010101
[4,5,6,8,2,9,3,7,1]=>00010101
[9,3,6,5,4,7,1,8,2]=>10110101
[8,2,9,3,6,5,4,7,1]=>10101101
[6,5,4,8,2,9,3,7,1]=>11010101
[5,6,4,8,2,9,3,7,1]=>01010101
[9,2,7,4,5,6,3,8,1]=>10100101
[7,4,5,6,3,9,2,8,1]=>10010101
[5,7,4,6,3,9,2,8,1]=>01010101
[4,2,5,6,7,8,9,1,3]=>10000010
[5,6,7,9,1,2,3,4,8]=>00010000
[4,5,6,7,9,1,2,3,8]=>00001000
[1,6,5,7,4,8,3,9,2]=>01010101
[5,4,6,3,8,2,7,1,9]=>10101010
[3,4,5,6,7,8,2,1,9]=>00000110
[3,4,5,6,7,2,1,8,9]=>00001100
[4,5,6,7,8,1,2,3,9]=>00001000
[4,3,1,2,6,5,8,7,9]=>11001010
[6,5,3,1,2,4,8,7,9]=>11100010
[8,7,5,3,1,2,4,6,9]=>11110000
[7,5,3,1,2,4,6,9,8]=>11100001
[5,3,1,2,4,7,6,9,8]=>11000101
[4,1,2,6,5,3,8,7,9]=>10011010
[6,3,1,2,4,8,7,5,9]=>11000110
[8,5,3,1,2,4,6,9,7]=>11100001
[7,5,3,1,2,4,6,8,9]=>11100000
[5,3,1,2,4,9,7,6,8]=>11000110
[3,1,2,7,5,4,6,9,8]=>10011001
[1,5,3,2,4,7,6,9,8]=>01100101
[2,9,8,7,6,5,1,4,3]=>01111101
[1,7,6,5,4,3,2,9,8]=>01111101
[1,7,8,9,6,5,4,3,2]=>00011111
[1,6,7,8,9,5,4,3,2]=>00001111
[1,5,6,7,8,9,4,3,2]=>00000111
[1,4,5,6,7,8,9,3,2]=>00000011
[1,7,6,8,9,5,4,3,2]=>01001111
[1,6,5,7,8,9,4,3,2]=>01000111
[1,5,4,6,7,8,9,3,2]=>01000011
[9,8,7,6,5,2,1,3,4]=>11111100
[9,8,6,4,7,2,5,1,3]=>11101010
[9,7,8,6,5,4,3,2,1]=>10111111
[3,2,5,6,7,8,9,1,4]=>10000010
[4,2,5,6,7,8,9,3,1]=>10000011
[1,3,4,5,6,7,2,8,9]=>00000100
[2,3,4,7,8,9,1,5,6]=>00000100
[2,3,6,7,8,9,1,4,5]=>00000100
[2,5,6,7,8,9,1,3,4]=>00000100
[2,3,4,5,1,9,6,7,8]=>00010100
[2,3,4,1,8,9,5,6,7]=>00100100
[2,3,1,7,8,9,4,5,6]=>01000100
[2,1,6,7,8,9,3,4,5]=>10000100
[4,1,2,3,6,5,8,7,9]=>10001010
[4,1,6,2,3,5,8,7,9]=>10100010
[2,3,1,9,8,7,6,5,4]=>01011111
[3,4,2,1,9,8,7,6,5]=>01101111
[4,5,3,2,1,9,8,7,6]=>01110111
[5,6,4,3,2,1,9,8,7]=>01111011
[6,7,5,4,3,2,1,9,8]=>01111101
[3,4,5,6,1,7,2,9,8]=>00010101
[1,4,5,9,6,7,2,8,3]=>00010101
[2,4,5,9,6,1,7,3,8]=>00011010
[3,4,5,7,6,1,9,2,8]=>00011010
[3,5,6,9,7,1,8,2,4]=>00011010
[1,4,8,5,6,2,7,9,3]=>00101001
[2,5,9,6,7,3,1,4,8]=>00101100
[4,1,5,2,7,6,3,9,8]=>10101101
[3,4,1,6,9,5,7,2,8]=>01001010
[6,7,9,8,1,3,4,2,5]=>00110010
[9,1,5,2,8,6,3,7,4]=>10101101
[1,7,4,5,2,6,8,9,3]=>01010001
[9,2,3,4,5,6,1,8,7]=>10000101
[9,2,3,4,5,1,7,8,6]=>10001001
[9,2,3,4,1,6,7,8,5]=>10010001
[9,2,3,1,5,6,7,8,4]=>10100001
[9,2,1,4,5,6,7,8,3]=>11000001
[5,2,3,4,1,9,6,8,7]=>10010101
[4,2,3,1,9,5,7,8,6]=>10101001
[3,2,1,9,4,6,7,8,5]=>11010001
[2,1,9,3,5,6,7,8,4]=>10100001
[6,8,9,1,2,3,4,5,7]=>00100000
[5,8,9,1,2,3,4,6,7]=>00100000
[2,3,4,5,1,7,6,9,8]=>00010101
[2,3,4,1,6,5,8,7,9]=>00101010
[2,3,4,5,1,8,6,9,7]=>00010101
[2,3,4,1,7,5,8,6,9]=>00101010
[3,4,5,6,7,9,1,8,2]=>00000101
[3,4,5,6,7,9,2,8,1]=>00000101
[3,4,5,6,7,1,9,8,2]=>00001011
[5,3,4,2,1,9,8,7,6]=>10110111
[6,5,3,4,2,1,9,8,7]=>11011011
[7,6,4,5,3,2,1,9,8]=>11011101
[3,4,5,1,2,6,7,8,9]=>00100000
[2,4,1,5,3,6,8,7,9]=>01010010
[2,4,1,7,3,8,5,6,9]=>01010100
[8,5,9,3,6,1,2,4,7]=>10101000
[9,7,1,5,8,3,6,2,4]=>11001010
[9,7,5,4,1,3,8,2,6]=>11110010
[9,6,5,4,3,2,1,7,8]=>11111100
[9,8,5,4,3,2,1,6,7]=>11111100
[9,1,2,3,4,5,8,7,6]=>10000011
[9,1,2,3,4,8,6,7,5]=>10000101
[9,1,2,8,4,5,6,7,3]=>10010001
[9,1,8,3,4,5,6,7,2]=>10100001
[9,1,2,3,4,7,8,6,5]=>10000011
[9,1,2,3,6,8,5,7,4]=>10000101
[9,1,2,5,8,4,6,7,3]=>10001001
[9,1,4,8,3,5,6,7,2]=>10010001
[9,3,8,2,4,5,6,7,1]=>10100001
[3,9,2,1,4,5,6,7,8]=>01100000
[3,4,5,6,8,9,1,7,2]=>00000101
[3,4,6,7,8,9,1,5,2]=>00000101
[3,5,6,7,8,9,1,4,2]=>00000101
[4,5,6,7,8,9,1,3,2]=>00000101
[5,4,2,3,6,7,8,9,1]=>11000001
[6,5,4,2,3,7,8,9,1]=>11100001
[7,6,5,4,2,3,8,9,1]=>11110001
[4,6,7,8,9,1,2,3,5]=>00001000
[5,7,8,9,1,2,3,4,6]=>00010000
[7,5,1,3,2,6,4,8,9]=>11010100
[9,6,1,3,4,2,7,8,5]=>11001001
[8,3,6,1,4,2,7,5,9]=>10101010
[9,8,1,7,2,3,4,5,6]=>11010000
[9,3,4,7,1,5,2,8,6]=>10010101
[8,7,5,4,6,3,2,9,1]=>11101101
[8,7,4,6,5,3,2,9,1]=>11011101
[2,3,4,7,8,9,6,5,1]=>00000111
[2,3,6,7,8,9,5,4,1]=>00000111
[2,5,6,7,8,9,4,3,1]=>00000111
[2,3,4,5,6,1,9,8,7]=>00001011
[2,3,4,5,1,9,8,7,6]=>00010111
[2,3,4,1,8,9,7,6,5]=>00100111
[2,3,1,7,8,9,6,5,4]=>01000111
[2,1,6,7,8,9,5,4,3]=>10000111
[8,9,7,6,5,4,3,1,2]=>01111110
[8,6,7,5,4,3,2,1,9]=>10111110
[8,7,9,6,5,4,3,1,2]=>10111110
[9,7,8,6,5,4,3,1,2]=>10111110
[8,7,5,4,3,6,9,2,1]=>11110011
[8,7,6,9,5,3,4,2,1]=>11011011
[8,7,9,6,5,4,2,3,1]=>10111101
[3,2,1,5,6,7,8,9,4]=>11000001
[3,2,6,1,4,7,8,9,5]=>10100001
[4,3,2,1,6,7,8,9,5]=>11100001
[3,2,7,8,1,4,5,9,6]=>10010001
[4,7,2,5,1,3,8,9,6]=>01010001
[4,3,2,7,1,5,8,9,6]=>11010001
[5,4,3,2,1,7,8,9,6]=>11110001
[4,3,2,8,9,1,5,6,7]=>11001000
[8,5,6,3,4,1,2,9,7]=>10101001
[5,3,8,2,6,1,4,9,7]=>10101001
[5,4,3,2,8,1,6,9,7]=>11101001
[6,5,4,3,2,1,8,9,7]=>11111001
[6,9,4,7,2,5,1,3,8]=>01010100
[6,4,3,9,2,7,1,5,8]=>11010100
[6,5,4,3,2,9,1,7,8]=>11110100
[7,6,9,5,4,3,2,1,8]=>10111110
[2,3,4,9,6,7,8,5,1]=>00010011
[2,3,9,5,6,7,8,4,1]=>00100011
[2,9,4,5,6,7,8,3,1]=>01000011
[9,3,4,5,6,7,8,2,1]=>10000011
[2,3,4,1,9,7,8,6,5]=>00101011
[2,3,1,9,6,7,8,5,4]=>01010011
[2,1,9,5,6,7,8,4,3]=>10100011
[1,9,4,5,6,7,8,3,2]=>01000011
[5,6,4,7,3,9,1,8,2]=>01010101
[5,6,4,9,1,8,2,7,3]=>01010101
[5,9,1,8,2,7,3,6,4]=>01010101
[9,1,8,2,7,3,6,4,5]=>10101010
[5,4,9,1,8,2,7,3,6]=>10101010
[5,4,6,3,9,1,8,2,7]=>10101010
[5,4,6,3,7,2,9,1,8]=>10101010
[5,6,4,8,2,9,1,7,3]=>01010101
[5,7,3,9,1,8,2,6,4]=>01010101
[6,4,9,1,8,2,7,3,5]=>10101010
[4,5,9,1,8,2,7,3,6]=>00101010
[6,4,5,3,9,1,8,2,7]=>10101010
[5,4,7,3,6,2,9,1,8]=>10101010
[4,3,2,1,8,9,7,6,5]=>11100111
[9,8,3,4,5,6,7,1,2]=>11000010
[9,8,2,3,4,5,6,1,7]=>11000010
[9,4,5,6,7,8,2,1,3]=>10000110
[9,3,4,5,6,7,2,1,8]=>10000110
[7,2,9,8,3,4,5,6,1]=>10110001
[9,8,2,3,4,5,1,6,7]=>11000100
[9,5,6,7,8,2,1,3,4]=>10001100
[8,3,9,4,5,6,7,2,1]=>10100011
[9,3,4,5,6,2,1,7,8]=>10001100
[1,6,2,7,3,8,4,9,5]=>01010101
[6,7,1,9,2,3,4,5,8]=>01010000
[6,1,8,9,2,3,4,5,7]=>10010000
[3,4,5,6,2,1,7,8,9]=>00011000
[3,4,5,2,1,6,7,8,9]=>00110000
[3,4,5,8,9,1,2,6,7]=>00001000
[3,4,7,8,9,1,2,5,6]=>00001000
[3,6,7,8,9,1,2,4,5]=>00001000
[3,4,5,6,1,7,2,8,9]=>00010100
[3,4,5,1,6,2,7,8,9]=>00101000
[3,4,1,5,9,2,6,7,8]=>01001000
[1,3,7,8,9,2,4,5,6]=>00001000
[2,6,7,8,9,1,3,4,5]=>00001000
[4,3,5,2,6,1,7,8,9]=>10101000
[4,5,3,6,2,7,1,8,9]=>01010100
[1,3,5,7,2,8,4,9,6]=>00010101
[1,3,5,6,2,7,4,9,8]=>00010101
[1,3,4,5,2,7,6,9,8]=>00010101
[3,5,7,1,2,4,6,9,8]=>00100001
[3,5,7,8,1,9,2,4,6]=>00010100
[3,5,6,7,1,8,2,9,4]=>00010101
[7,1,2,3,4,9,6,8,5]=>10000101
[7,1,2,3,4,8,6,9,5]=>10000101
[8,1,2,3,9,5,6,7,4]=>10001001
[7,1,2,3,9,5,6,8,4]=>10001001
[7,1,2,3,8,5,6,9,4]=>10001001
[6,1,2,3,8,5,9,7,4]=>10001011
[6,1,2,3,7,5,8,9,4]=>10001001
[6,1,2,8,4,5,9,7,3]=>10010011
[6,1,2,7,4,5,8,9,3]=>10010001
[5,1,2,7,4,9,6,8,3]=>10010101
[5,1,2,7,4,8,6,9,3]=>10010101
[5,1,2,6,4,7,8,9,3]=>10010001
[4,1,6,3,8,5,9,7,2]=>10101011
[4,1,6,3,7,5,8,9,2]=>10101001
[4,1,5,3,6,7,8,9,2]=>10100001
[1,9,8,7,6,4,3,2,5]=>01111110
[1,9,8,7,5,4,3,2,6]=>01111110
[1,9,8,6,5,4,3,2,7]=>01111110
[1,9,7,6,5,4,3,2,8]=>01111110
[1,9,8,7,6,5,2,3,4]=>01111100
[1,9,8,7,6,3,4,2,5]=>01111010
[1,9,8,7,4,5,3,2,6]=>01110110
[1,9,8,5,6,4,3,2,7]=>01101110
[1,9,6,7,5,4,3,2,8]=>01011110
[1,7,8,6,5,4,3,2,9]=>00111110
[8,9,2,3,4,5,6,1,7]=>01000010
[7,8,9,2,3,4,5,1,6]=>00100010
[6,7,8,9,2,3,4,1,5]=>00010010
[5,6,7,8,9,2,3,1,4]=>00001010
[7,8,9,2,3,4,1,5,6]=>00100100
[6,7,8,9,2,3,1,4,5]=>00010100
[4,5,6,7,8,1,9,2,3]=>00001010
[7,9,3,4,5,6,2,1,8]=>01000110
[3,9,2,1,5,6,7,8,4]=>01100001
[3,8,1,4,5,6,7,2,9]=>01000010
[6,9,3,4,5,2,7,1,8]=>01001010
[3,9,2,4,1,6,7,8,5]=>01010001
[3,8,9,1,5,6,7,4,2]=>00100011
[3,7,1,4,5,6,2,8,9]=>01000100
[2,8,7,6,5,4,3,1,9]=>01111110
[2,1,4,9,8,7,6,5,3]=>10011111
[3,7,6,5,4,2,1,9,8]=>01111101
[3,2,1,6,9,8,7,5,4]=>11001111
[4,6,5,3,2,1,9,8,7]=>01111011
[2,9,8,7,6,1,5,4,3]=>01111011
[4,9,8,7,6,5,2,1,3]=>01111110
[5,9,8,7,6,2,1,4,3]=>01111101
[6,9,8,7,2,1,5,4,3]=>01111011
[7,9,8,2,1,6,5,4,3]=>01110111
[8,9,2,1,7,6,5,4,3]=>01101111
[7,8,1,9,2,3,4,5,6]=>01010000
[6,7,8,1,9,2,3,4,5]=>00101000
[5,6,7,8,1,9,2,3,4]=>00010100
[9,1,2,3,4,5,7,6,8]=>10000010
[2,1,3,4,5,9,6,7,8]=>10000100
[7,2,6,5,4,3,1,9,8]=>10111101
[3,2,1,9,5,8,7,6,4]=>11010111
[6,3,5,4,2,1,9,8,7]=>10111011
[4,3,2,1,9,7,8,6,5]=>11101011
[9,1,2,3,4,8,6,5,7]=>10000110
[9,1,2,3,8,5,6,4,7]=>10001010
[8,1,2,9,4,5,6,3,7]=>10010010
[9,1,8,3,4,5,6,2,7]=>10100010
[7,1,2,3,4,9,5,8,6]=>10000101
[6,1,2,3,8,4,5,9,7]=>10001001
[5,1,2,8,3,4,6,9,7]=>10010001
[4,1,9,2,3,5,6,8,7]=>10100001
[3,8,1,2,4,5,6,9,7]=>01000001
[8,2,1,3,4,5,6,9,7]=>11000001
[9,1,2,3,8,5,4,7,6]=>10001101
[6,1,2,3,9,4,7,8,5]=>10001001
[5,1,2,8,3,6,4,9,7]=>10010101
[9,8,2,1,4,5,6,7,3]=>11100001
[4,1,8,2,5,3,6,9,7]=>10101001
[3,9,1,4,2,5,6,8,7]=>01010001
[8,2,3,1,4,5,6,9,7]=>10100001
[2,3,4,5,7,8,1,9,6]=>00000101
[1,3,4,5,2,6,7,8,9]=>00010000
[2,3,4,5,7,9,1,6,8]=>00000100
[2,3,4,5,1,6,7,9,8]=>00010001
[4,5,6,1,7,8,9,2,3]=>00100010
[2,1,4,5,3,6,7,8,9]=>10010000
[1,3,2,5,4,6,7,8,9]=>01010000
[2,3,4,5,9,8,6,7,1]=>00001101
[2,3,4,9,7,5,8,6,1]=>00011011
[2,3,9,6,4,7,8,5,1]=>00110011
[2,9,5,3,6,7,8,4,1]=>01100011
[9,4,2,5,6,7,8,3,1]=>11000011
[4,1,6,2,8,3,5,7,9]=>10101000
[4,1,6,2,8,3,9,5,7]=>10101010
[4,1,6,2,7,3,8,5,9]=>10101010
[8,7,9,1,4,5,6,2,3]=>10100010
[7,6,9,1,4,5,2,8,3]=>10100101
[3,9,2,4,5,6,7,8,1]=>01000001
[1,3,5,2,4,6,7,8,9]=>00100000
[4,1,2,3,5,6,8,7,9]=>10000010
[1,2,4,7,3,5,6,8,9]=>00010000
[5,1,2,3,4,7,6,8,9]=>10000100
[5,6,4,3,2,1,7,8,9]=>01111000
[4,5,3,2,1,6,7,8,9]=>01110000
[6,7,4,3,2,1,5,8,9]=>01111000
[5,6,4,3,2,7,1,8,9]=>01110100
[7,5,4,3,1,2,6,8,9]=>11110000
[6,5,4,3,7,1,2,8,9]=>11101000
[6,7,9,8,5,4,3,2,1]=>00111111
[7,6,8,9,5,4,3,2,1]=>10011111
[6,7,5,9,8,4,3,2,1]=>01011111
[5,7,9,8,6,4,3,2,1]=>00111111
[7,6,8,5,9,4,3,2,1]=>10101111
[6,5,8,9,7,4,3,2,1]=>10011111
[7,6,4,3,5,2,1,9,8]=>11101101
[7,6,3,5,4,2,1,9,8]=>11011101
[9,8,6,1,2,3,4,5,7]=>11100000
[9,8,7,5,1,2,3,4,6]=>11110000
[9,8,7,6,4,1,2,3,5]=>11111000
[9,8,7,6,5,3,1,2,4]=>11111100
[9,8,4,7,6,5,3,2,1]=>11011111
[9,8,3,7,6,5,4,2,1]=>11011111
[9,3,8,7,6,5,4,2,1]=>10111111
[9,2,8,7,6,5,4,3,1]=>10111111
[9,8,4,6,5,7,3,2,1]=>11010111
[9,8,3,6,5,4,7,2,1]=>11011011
[9,3,7,6,5,4,8,2,1]=>10111011
[9,2,7,6,5,4,3,8,1]=>10111101
[4,2,1,3,6,5,8,7,9]=>11001010
[6,2,1,4,3,5,8,7,9]=>11010010
[9,2,3,4,1,5,6,7,8]=>10010000
[9,8,4,5,7,6,3,2,1]=>11001111
[9,8,5,4,6,7,3,2,1]=>11100111
[9,8,4,5,3,7,6,2,1]=>11010111
[9,8,3,5,7,6,4,2,1]=>11001111
[9,8,5,4,6,3,7,2,1]=>11101011
[9,8,4,3,6,7,5,2,1]=>11100111
[9,8,7,4,3,2,1,5,6]=>11111100
[9,8,7,6,3,2,1,4,5]=>11111100
[7,8,9,1,3,4,5,6,2]=>00100001
[1,3,4,2,5,6,7,8,9]=>00100000
[1,2,4,5,6,3,7,8,9]=>00001000
[1,2,3,5,6,7,8,4,9]=>00000010
[2,1,5,3,6,7,4,8,9]=>10100100
[1,3,5,6,4,2,7,8,9]=>00011000
[3,5,2,1,6,4,7,8,9]=>01101000
[2,1,3,6,4,7,8,9,5]=>10010001
[1,3,4,6,7,2,8,5,9]=>00001010
[3,2,6,1,4,7,8,5,9]=>10100010
[2,4,6,1,7,5,3,8,9]=>00101100
[4,6,3,2,1,7,5,8,9]=>01110100
[2,4,1,7,5,8,3,9,6]=>01010101
[4,3,7,2,1,5,8,9,6]=>10110001
[1,3,5,7,8,6,4,2,9]=>00001110
[3,5,7,2,1,8,6,4,9]=>00110110
[5,7,4,3,2,1,8,6,9]=>01111010
[2,4,6,8,1,9,7,5,3]=>00010111
[4,6,8,3,2,1,9,7,5]=>00111011
[6,8,5,4,3,2,1,9,7]=>01111101
[4,5,6,3,7,2,8,1,9]=>00101010
[1,5,6,7,4,8,3,9,2]=>00010101
[3,5,6,7,8,9,2,4,1]=>00000101
[2,4,6,7,8,9,1,3,5]=>00000100
[2,5,6,7,8,9,3,1,4]=>00000110
[5,4,6,3,8,1,7,2,9]=>10101010
[1,6,5,7,4,9,2,8,3]=>01010101
[5,4,8,1,7,2,6,3,9]=>10101010
[5,4,8,1,6,3,7,2,9]=>10101010
[1,6,5,9,2,8,3,7,4]=>01010101
[1,6,5,9,2,7,4,8,3]=>01010101
[2,5,6,7,8,1,9,3,4]=>00001010
[4,5,6,7,1,2,8,3,9]=>00010010
[1,3,6,7,8,9,2,4,5]=>00000100
[3,5,6,7,8,1,2,9,4]=>00001001
[2,3,4,5,7,6,8,9,1]=>00001001
[2,3,4,5,7,8,6,9,1]=>00000101
[2,3,4,5,8,7,6,9,1]=>00001101
[2,3,4,5,7,9,8,6,1]=>00000111
[4,5,6,3,7,8,9,2,1]=>00100011
[1,2,3,4,7,9,5,6,8]=>00000100
[1,2,3,4,6,7,9,5,8]=>00000010
[1,2,3,4,8,5,6,9,7]=>00001001
[1,2,3,4,7,8,5,9,6]=>00000101
[8,7,9,6,5,4,2,1,3]=>10111110
[8,9,7,6,5,4,2,1,3]=>01111110
[8,9,7,6,5,4,2,3,1]=>01111101
[2,3,4,5,8,6,7,9,1]=>00001001
[2,3,4,5,9,6,8,7,1]=>00001011
[9,3,4,5,2,6,7,8,1]=>10010001
[7,8,2,3,4,5,1,6,9]=>01000100
[1,8,9,3,4,5,6,2,7]=>00100010
[2,1,3,4,5,8,6,7,9]=>10000100
[9,2,3,4,5,1,6,7,8]=>10001000
[7,2,3,4,5,6,9,1,8]=>10000010
[6,2,3,4,5,9,1,7,8]=>10000100
[5,2,3,4,9,1,6,7,8]=>10001000
[4,2,3,9,1,5,6,7,8]=>10010000
[3,2,9,1,4,5,6,7,8]=>10100000
[4,5,6,7,8,1,3,9,2]=>00001001
[2,1,9,8,7,6,5,3,4]=>10111110
[2,1,9,8,7,6,4,3,5]=>10111110
[2,1,9,8,7,6,3,5,4]=>10111101
[4,5,3,6,7,8,9,1,2]=>01000010
[5,3,4,6,7,8,9,1,2]=>10000010
[9,5,4,3,2,1,6,7,8]=>11111000
[1,2,3,7,4,8,5,9,6]=>00010101
[1,2,3,4,7,5,9,8,6]=>00001011
[1,2,6,3,7,4,9,8,5]=>00101011
[1,2,3,8,6,4,9,7,5]=>00011011
[1,2,3,6,4,9,8,7,5]=>00010111
[5,1,6,2,7,3,9,8,4]=>10101011
[1,5,2,8,6,3,9,7,4]=>01011011
[1,5,2,6,3,9,8,7,4]=>01010111
[1,2,7,5,3,9,8,6,4]=>00110111
[1,2,5,3,9,8,7,6,4]=>00101111
[4,1,7,5,2,9,8,6,3]=>10110111
[4,1,5,2,9,8,7,6,3]=>10101111
[1,6,4,2,9,8,7,5,3]=>01101111
[1,4,2,9,8,7,6,5,3]=>01011111
[7,5,3,1,9,8,6,4,2]=>11101111
[5,3,1,9,8,7,6,4,2]=>11011111
[2,3,4,5,8,7,6,1,9]=>00001110
[1,3,4,5,6,9,8,7,2]=>00000111
[1,2,3,4,5,8,9,7,6]=>00000011
[1,2,3,4,8,9,6,7,5]=>00000101
[1,2,3,8,9,5,6,7,4]=>00001001
[1,2,8,9,4,5,6,7,3]=>00010001
[9,4,2,3,5,6,7,8,1]=>11000001
[1,4,2,5,6,7,9,8,3]=>01000011
[2,1,4,5,6,9,7,3,8]=>10000110
[3,1,5,2,9,6,7,8,4]=>10101001
[4,5,1,6,8,7,9,2,3]=>01001010
[2,3,1,5,9,6,7,4,8]=>01001010
[1,2,4,5,7,9,6,3,8]=>00000110
[3,4,6,5,7,1,2,9,8]=>00101001
[3,1,9,4,2,6,7,8,5]=>10110001
[1,2,5,3,9,6,8,7,4]=>00101011
[4,5,1,7,6,8,2,9,3]=>01010101
[4,8,7,6,5,3,2,1,9]=>01111110
[5,8,7,4,6,3,2,1,9]=>01101110
[8,4,7,6,5,3,2,1,9]=>10111110
[6,9,8,5,7,4,1,3,2]=>01101101
[9,8,7,5,1,6,4,3,2]=>11110111
[1,2,8,3,4,5,6,9,7]=>00100001
[1,9,5,2,3,8,4,6,7]=>01100100
[1,8,2,9,4,3,5,6,7]=>01011000
[1,3,2,4,9,8,5,6,7]=>01001100
[2,1,3,4,5,9,8,6,7]=>10000110
[9,1,7,2,3,4,5,8,6]=>10100001
[1,8,5,2,3,4,6,9,7]=>01100001
[9,8,1,2,3,5,6,4,7]=>11000010
[1,4,2,3,9,5,6,8,7]=>01001001
[4,9,8,1,2,5,3,6,7]=>01100100
[1,3,2,4,5,9,6,8,7]=>01000101
[1,8,3,9,4,2,5,6,7]=>01011000
[2,3,1,4,9,8,5,6,7]=>01001100
[8,7,6,5,4,1,9,3,2]=>11111011
[8,7,6,5,2,9,1,3,4]=>11110100
[8,7,6,3,9,2,1,4,5]=>11101100
[8,7,4,9,3,2,1,6,5]=>11011101
[8,5,9,4,3,2,1,6,7]=>10111100
[6,9,5,4,3,2,1,7,8]=>01111100
[8,7,6,5,2,1,4,3,9]=>11111010
[8,7,6,3,2,5,1,4,9]=>11110100
[8,7,6,5,1,9,4,3,2]=>11110111
[8,7,4,3,6,2,1,9,5]=>11101101
[8,7,6,2,9,5,1,3,4]=>11101100
[8,5,4,7,3,2,1,6,9]=>11011100
[8,7,3,9,6,2,1,4,5]=>11011100
[6,5,8,4,3,2,1,7,9]=>10111100
[8,4,9,7,3,2,1,6,5]=>10111101
[5,9,8,4,3,2,1,6,7]=>01111100
[8,7,5,6,4,3,2,1,9]=>11011110
[8,6,5,7,4,3,2,1,9]=>11011110
[9,8,7,6,4,3,2,5,1]=>11111101
[9,8,7,6,4,3,5,2,1]=>11111011
[8,5,6,7,4,3,2,1,9]=>10011110
[6,7,5,8,4,3,2,1,9]=>01011110
[8,9,7,6,4,3,2,1,5]=>01111110
[7,6,5,3,2,1,4,8,9]=>11111000
[9,8,7,6,4,3,5,1,2]=>11111010
[9,8,7,6,4,5,2,3,1]=>11110101
[9,8,7,6,5,3,4,2,1]=>11111011
[8,7,6,5,4,2,3,1,9]=>11111010
[2,9,8,6,5,7,4,3,1]=>01110111
[7,1,8,2,3,4,5,9,6]=>10100001
[6,8,1,2,3,4,5,9,7]=>01000001
[9,6,7,4,5,2,3,1,8]=>10101010
[8,9,6,7,4,5,2,1,3]=>01010110
[9,8,6,5,4,3,7,2,1]=>11111011
[2,3,6,4,5,1,7,8,9]=>00101000
[2,3,4,8,5,6,7,1,9]=>00010010
[3,5,4,7,2,6,1,8,9]=>01010100
[2,6,4,1,5,3,7,8,9]=>01101000
[4,5,2,6,3,1,7,8,9]=>01011000
[3,6,4,5,9,2,7,8,1]=>01001001
[2,5,4,7,8,6,3,1,9]=>01001110
[4,6,2,5,8,3,7,1,9]=>01001010
[3,5,7,6,1,4,2,8,9]=>00110100
[5,6,2,3,7,4,1,8,9]=>01001100
[5,7,2,3,6,9,4,8,1]=>01000101
[2,8,4,1,6,3,7,5,9]=>01101010
[4,6,7,8,3,1,5,2,9]=>00011010
[6,7,2,3,4,8,5,1,9]=>01000110
[3,5,9,7,1,8,2,6,4]=>00110101
[5,7,8,3,9,4,1,6,2]=>00101101
[7,8,2,3,4,5,9,6,1]=>01000011
[9,7,8,5,6,2,4,1,3]=>10101010
[9,7,8,4,6,2,5,1,3]=>10101010
[9,6,8,4,7,2,5,1,3]=>10101010
[8,9,6,4,7,2,5,1,3]=>01101010
[8,9,6,7,4,2,5,1,3]=>01011010
[9,7,8,3,6,2,5,1,4]=>10101010
[9,5,8,4,7,2,6,1,3]=>10101010
[7,6,9,4,8,2,5,1,3]=>10101010
[8,6,9,7,4,2,5,1,3]=>10111010
[8,9,6,4,7,5,2,1,3]=>01101110
[8,9,6,7,4,2,5,3,1]=>01011011
[9,7,6,5,4,3,2,8,1]=>11111101
[3,1,4,6,2,5,8,7,9]=>10010010
[1,3,2,5,7,4,6,9,8]=>01001001
[1,9,8,5,6,7,4,3,2]=>01100111
[1,9,8,5,4,6,7,3,2]=>01110011
[1,9,5,4,6,7,8,3,2]=>01100011
[1,2,3,4,7,5,6,9,8]=>00001001
[9,8,7,6,5,3,1,4,2]=>11111101
[9,8,7,6,4,1,5,3,2]=>11111011
[9,8,6,1,7,5,4,3,2]=>11101111
[9,7,1,8,6,5,4,3,2]=>11011111
[1,2,7,4,5,6,8,9,3]=>00100001
[1,2,3,4,7,8,5,6,9]=>00000100
[1,2,3,4,6,5,8,7,9]=>00001010
[1,2,3,4,8,9,5,6,7]=>00000100
[2,1,7,8,9,3,4,5,6]=>10001000
[9,7,5,3,8,6,4,2,1]=>11101111
[8,6,9,7,4,3,2,1,5]=>10111110
[8,6,3,2,1,4,9,7,5]=>11110011
[8,6,4,9,7,5,2,1,3]=>11011110
[9,7,5,3,8,6,4,1,2]=>11101110
[9,6,7,8,5,4,3,2,1]=>10011111
[8,5,6,9,7,4,3,2,1]=>10011111
[8,6,3,2,1,9,7,4,5]=>11110110
[9,7,8,4,3,2,1,5,6]=>10111100
[8,6,3,4,9,7,5,2,1]=>11001111
[8,6,9,7,3,2,1,4,5]=>10111100
[9,7,5,2,3,8,6,4,1]=>11100111
[8,6,2,1,3,4,9,7,5]=>11100011
[8,6,4,9,7,5,1,2,3]=>11011100
[2,5,1,6,3,7,4,8,9]=>01010100
[2,6,1,7,3,8,4,9,5]=>01010101
[3,4,6,1,7,2,8,5,9]=>00101010
[3,2,6,1,7,4,8,5,9]=>10101010
[4,2,5,6,1,7,3,8,9]=>10010100
[3,4,2,6,1,7,5,8,9]=>01010100
[4,2,5,7,1,8,3,9,6]=>10010101
[3,4,2,7,1,8,5,9,6]=>01010101
[5,3,6,4,7,1,8,2,9]=>10101010
[3,5,2,6,7,1,8,4,9]=>01001010
[4,3,5,2,7,1,8,6,9]=>10101010
[4,6,2,7,5,8,1,9,3]=>01010101
[4,3,6,2,7,8,1,9,5]=>10100101
[4,5,3,6,2,8,1,9,7]=>01010101
[7,6,5,9,4,3,2,1,8]=>11011110
[7,6,5,4,3,9,2,1,8]=>11110110
[7,9,8,5,4,3,2,1,6]=>01111110
[7,6,9,8,4,3,2,1,5]=>10111110
[7,6,5,9,8,3,2,1,4]=>11011110
[7,6,5,4,9,8,2,1,3]=>11101110
[7,6,5,4,3,9,8,1,2]=>11110110
[9,8,7,6,5,2,3,4,1]=>11111001
[6,1,7,8,9,2,3,4,5]=>10001000
[4,5,6,7,1,9,2,3,8]=>00010100
[3,5,6,7,9,1,2,4,8]=>00001000
[5,1,6,7,8,2,9,3,4]=>10001010
[4,1,6,7,8,9,2,3,5]=>10000100
[5,6,7,8,9,1,3,4,2]=>00001001
[6,7,8,9,1,3,4,5,2]=>00010001
[6,7,8,9,1,4,5,2,3]=>00010010
[6,7,8,9,1,4,5,3,2]=>00010011
[6,7,8,9,1,5,4,3,2]=>00010111
[7,8,9,1,4,5,6,2,3]=>00100010
[7,8,9,1,4,5,6,3,2]=>00100011
[7,8,9,1,5,6,3,4,2]=>00100101
[7,8,9,1,5,6,4,3,2]=>00100111
[7,8,9,1,6,5,4,3,2]=>00101111
[8,9,1,5,6,7,3,4,2]=>01000101
[8,9,1,5,6,7,4,3,2]=>01000111
[8,9,1,6,7,4,5,2,3]=>01001010
[8,9,1,6,7,4,5,3,2]=>01001011
[8,9,1,6,7,5,4,3,2]=>01001111
[9,1,7,8,5,6,3,4,2]=>10010101
[9,1,7,8,5,6,4,3,2]=>10010111
[2,3,4,5,7,9,6,8,1]=>00000101
[2,3,4,6,9,5,7,8,1]=>00001001
[2,3,5,9,4,6,7,8,1]=>00010001
[2,4,9,3,5,6,7,8,1]=>00100001
[5,9,8,7,6,4,3,1,2]=>01111110
[5,4,8,7,6,3,2,1,9]=>10111110
[6,5,9,8,7,4,3,1,2]=>10111110
[9,5,8,7,6,4,3,1,2]=>10111110
[7,6,8,5,4,3,2,9,1]=>10111101
[6,8,7,5,4,3,2,9,1]=>01111101
[2,3,4,5,6,1,8,9,7]=>00001001
[2,3,4,5,1,7,8,9,6]=>00010001
[2,9,3,4,5,6,1,7,8]=>01000100
[2,8,3,4,5,1,6,9,7]=>01001001
[2,7,3,4,1,5,8,9,6]=>01010001
[2,6,3,1,4,7,8,9,5]=>01100001
[4,2,5,3,7,6,9,8,1]=>10101011
[4,2,6,3,7,5,9,8,1]=>10101011
[4,2,6,3,8,5,9,7,1]=>10101011
[4,2,6,3,8,5,1,7,9]=>10101100
[4,2,6,3,8,5,7,1,9]=>10101010
[4,2,6,3,5,8,7,1,9]=>10100110
[4,2,3,6,5,8,7,1,9]=>10010110
[5,2,6,3,7,4,9,8,1]=>10101011
[4,2,7,3,8,5,9,6,1]=>10101011
[4,2,6,3,9,5,1,7,8]=>10101100
[4,2,6,3,8,5,7,9,1]=>10101001
[4,2,6,3,5,8,1,7,9]=>10100100
[4,2,3,6,8,5,7,1,9]=>10001010
[2,4,6,3,5,8,7,1,9]=>00100110
[3,4,5,6,9,2,1,8,7]=>00001101
[3,4,5,8,2,9,1,7,6]=>00010101
[3,4,7,2,8,9,1,5,6]=>00100100
[3,6,2,7,8,9,1,5,4]=>01000101
[5,2,6,7,8,9,1,4,3]=>10000101
[3,4,5,6,9,1,7,8,2]=>00001001
[3,4,5,8,9,6,1,7,2]=>00001101
[3,4,7,8,5,9,1,2,6]=>00010100
[3,4,5,9,2,6,1,8,7]=>00010101
[3,6,7,4,8,9,1,5,2]=>00100101
[3,4,8,2,5,9,1,7,6]=>00100101
[5,6,3,7,8,9,1,4,2]=>01000101
[3,7,2,4,8,9,1,5,6]=>01000100
[6,2,3,7,8,9,1,5,4]=>10000101
[8,9,7,6,5,4,1,3,2]=>01111101
[8,7,9,6,5,4,1,3,2]=>10111101
[9,7,8,6,5,4,1,3,2]=>10111101
[1,3,2,4,5,6,9,7,8]=>01000010
[2,3,1,4,5,6,9,7,8]=>01000010
[4,3,9,5,6,7,8,2,1]=>10100011
[3,2,8,5,6,7,1,9,4]=>10100101
[7,8,4,5,6,1,3,9,2]=>01001001
[3,4,1,9,6,7,8,2,5]=>01010010
[4,8,9,5,6,7,2,1,3]=>00100110
[4,2,3,8,6,7,1,9,5]=>10010101
[6,8,4,5,1,3,7,9,2]=>01010001
[3,5,1,4,9,7,8,2,6]=>01001010
[8,3,4,9,6,7,2,5,1]=>10010101
[4,7,9,5,6,2,1,8,3]=>00101101
[8,1,2,5,3,4,6,7,9]=>10010000
[1,9,2,3,6,4,5,7,8]=>01001000
[8,1,2,6,4,3,5,7,9]=>10011000
[8,1,2,6,3,5,4,7,9]=>10010100
[1,9,2,3,7,5,4,6,8]=>01001100
[1,9,2,3,7,4,6,5,8]=>01001010
[5,6,7,8,9,3,2,1,4]=>00001110
[6,7,8,9,3,4,1,2,5]=>00010100
[6,7,8,9,3,4,2,1,5]=>00010110
[7,8,9,3,4,5,1,2,6]=>00100100
[7,8,9,3,4,5,2,1,6]=>00100110
[7,8,9,4,5,2,3,1,6]=>00101010
[7,8,9,4,5,3,2,1,6]=>00101110
[8,9,4,5,6,2,3,1,7]=>01001010
[8,9,4,5,6,3,2,1,7]=>01001110
[8,9,5,6,3,4,1,2,7]=>01010100
[8,9,5,6,3,4,2,1,7]=>01010110
[8,9,5,6,4,3,2,1,7]=>01011110
[9,6,7,4,5,3,2,1,8]=>10101110
[4,2,6,1,3,5,8,7,9]=>10100010
[4,2,6,1,8,3,5,7,9]=>10101000
[4,2,8,1,3,6,5,7,9]=>10100100
[4,2,6,1,9,3,5,8,7]=>10101001
[9,7,1,8,2,3,4,5,6]=>11010000
[9,6,1,7,2,8,3,4,5]=>11010100
[8,6,1,9,7,2,3,4,5]=>11011000
[9,8,6,1,7,2,3,4,5]=>11101000
[8,5,1,9,6,2,7,3,4]=>11011010
[9,8,5,1,6,2,7,3,4]=>11101010
[9,7,5,1,8,6,2,3,4]=>11101100
[9,8,7,5,1,6,2,3,4]=>11110100
[9,7,4,1,8,5,2,6,3]=>11101101
[9,8,7,4,1,5,2,6,3]=>11110101
[8,6,4,1,9,7,5,2,3]=>11101110
[9,8,6,4,1,7,5,2,3]=>11110110
[9,8,7,6,4,1,5,2,3]=>11111010
[9,8,7,5,3,1,6,4,2]=>11111011
[9,1,2,8,4,3,5,6,7]=>10011000
[8,1,9,3,2,4,6,5,7]=>10110010
[9,8,2,1,3,5,6,4,7]=>11100010
[8,1,9,2,4,5,6,3,7]=>10100010
[1,4,3,6,5,8,7,9,2]=>01010101
[1,4,2,6,5,8,7,9,3]=>01010101
[1,5,2,6,4,8,7,9,3]=>01010101
[1,5,2,7,4,8,6,9,3]=>01010101
[1,5,2,7,4,9,6,8,3]=>01010101
[1,5,2,7,4,6,9,8,3]=>01010011
[1,5,2,4,7,6,9,8,3]=>01001011
[1,2,5,4,7,6,9,8,3]=>00101011
[1,5,2,6,3,8,7,9,4]=>01010101
[1,6,2,7,4,8,5,9,3]=>01010101
[1,5,2,8,4,9,6,7,3]=>01010101
[1,5,2,7,4,6,8,9,3]=>01010001
[1,5,2,4,7,9,6,8,3]=>01000101
[1,2,5,7,4,6,9,8,3]=>00010011
[4,5,6,7,9,8,3,2,1]=>00001111
[5,4,6,7,8,9,3,2,1]=>10000111
[6,5,7,8,9,4,3,2,1]=>10001111
[4,5,6,7,3,9,8,2,1]=>00010111
[3,5,6,7,9,8,4,2,1]=>00001111
[5,4,6,7,8,3,9,2,1]=>10001011
[4,3,6,7,8,9,5,2,1]=>10000111
[3,4,5,6,8,9,7,1,2]=>00000110
[3,4,5,7,8,9,6,1,2]=>00000110
[3,5,6,7,8,9,4,1,2]=>00000110
[4,5,6,7,8,9,3,1,2]=>00000110
[3,4,5,8,1,9,7,6,2]=>00010111
[3,4,7,1,8,9,6,5,2]=>00100111
[3,6,1,7,8,9,4,5,2]=>01000101
[5,1,6,7,8,9,4,3,2]=>10000111
[1,5,6,7,8,9,3,2,4]=>00000110
[3,4,5,8,9,6,7,1,2]=>00001010
[3,4,7,8,5,9,6,1,2]=>00010110
[3,4,5,9,1,6,7,8,2]=>00010001
[3,4,8,1,5,9,7,6,2]=>00100111
[5,6,3,7,8,9,4,1,2]=>01000110
[3,7,1,4,8,9,6,5,2]=>01000111
[5,2,6,7,8,9,3,1,4]=>10000110
[6,1,3,7,8,9,4,5,2]=>10000101
[1,2,6,7,8,9,4,3,5]=>00000110
[9,3,4,5,6,8,7,2,1]=>10000111
[9,4,3,5,6,7,8,2,1]=>11000011
[9,8,3,4,5,7,6,2,1]=>11000111
[9,8,4,3,5,6,7,2,1]=>11100011
[9,3,4,5,6,2,8,7,1]=>10001011
[9,2,4,5,6,8,7,3,1]=>10000111
[9,4,3,5,6,7,2,8,1]=>11000101
[9,3,2,5,6,7,8,4,1]=>11000011
[4,6,3,5,7,2,8,1,9]=>01001010
[5,6,3,4,7,2,8,1,9]=>01001010
[1,5,7,4,6,8,3,9,2]=>00100101
[1,6,7,4,5,8,3,9,2]=>00100101
[1,2,3,4,8,5,9,6,7]=>00001010
[1,2,3,7,4,5,8,6,9]=>00010010
[1,2,3,4,8,6,5,7,9]=>00001100
[1,2,3,4,9,7,5,6,8]=>00001100
[2,1,4,9,3,5,6,7,8]=>10010000
[3,7,1,2,4,5,6,9,8]=>01000001
[3,1,2,6,9,4,5,7,8]=>10001000
[4,6,1,2,3,5,9,7,8]=>01000010
[9,7,6,5,4,3,8,2,1]=>11111011
[9,8,6,5,4,7,3,2,1]=>11110111
[5,4,3,2,1,9,7,8,6]=>11110101
[2,1,4,3,6,5,8,7,10,9]=>101010101
[3,4,1,2,6,5,8,7,10,9]=>010010101
[4,3,2,1,6,5,8,7,10,9]=>111010101
[6,3,2,5,4,1,8,7,10,9]=>110110101
[8,3,2,5,4,7,6,1,10,9]=>110101101
[10,3,2,5,4,7,6,9,8,1]=>110101011
[4,5,6,1,2,3,8,7,10,9]=>001000101
[3,5,1,6,2,4,8,7,10,9]=>010100101
[2,1,5,6,3,4,8,7,10,9]=>100100101
[2,1,6,5,4,3,8,7,10,9]=>101110101
[6,5,4,3,2,1,8,7,10,9]=>111110101
[8,5,4,3,2,7,6,1,10,9]=>111101101
[10,5,4,3,2,7,6,9,8,1]=>111101011
[2,1,8,5,4,7,6,3,10,9]=>101101101
[8,7,4,3,6,5,2,1,10,9]=>111011101
[10,7,4,3,6,5,2,9,8,1]=>111011011
[2,1,10,5,4,7,6,9,8,3]=>101101011
[10,9,4,3,6,5,8,7,2,1]=>111010111
[8,9,5,6,3,4,10,1,2,7]=>010100100
[5,6,7,8,1,2,3,4,10,9]=>000100001
[4,6,7,1,8,2,3,5,10,9]=>001010001
[3,6,1,7,8,2,4,5,10,9]=>010010001
[2,1,6,7,8,3,4,5,10,9]=>100010001
[2,1,5,7,3,8,4,6,10,9]=>100101001
[3,5,1,7,2,8,4,6,10,9]=>010101001
[4,5,7,1,2,8,3,6,10,9]=>001001001
[3,4,1,2,7,8,5,6,10,9]=>010001001
[2,1,4,3,7,8,5,6,10,9]=>101001001
[2,1,4,3,8,7,6,5,10,9]=>101011101
[4,3,2,1,8,7,6,5,10,9]=>111011101
[8,3,2,7,6,5,4,1,10,9]=>110111101
[10,3,2,7,6,5,4,9,8,1]=>110111011
[2,1,8,7,6,5,4,3,10,9]=>101111101
[8,7,6,5,4,3,2,1,10,9]=>111111101
[9,7,6,5,4,3,2,10,1,8]=>111111010
[10,7,6,5,4,3,2,9,8,1]=>111111011
[2,1,10,7,6,5,4,9,8,3]=>101111011
[10,9,6,5,4,3,8,7,2,1]=>111110111
[2,1,4,3,10,7,6,9,8,5]=>101011011
[4,3,2,1,10,7,6,9,8,5]=>111011011
[10,3,2,9,6,5,8,7,4,1]=>110110111
[2,1,10,9,6,5,8,7,4,3]=>101110111
[10,9,8,5,4,7,6,3,2,1]=>111101111
[10,8,9,6,7,4,5,2,3,1]=>101010101
[2,1,7,8,9,10,3,4,5,6]=>100001000
[3,7,1,8,9,10,2,4,5,6]=>010001000
[4,7,8,1,9,10,2,3,5,6]=>001001000
[5,7,8,9,1,10,2,3,4,6]=>000101000
[6,7,8,9,10,1,2,3,4,5]=>000010000
[5,6,8,9,1,2,10,3,4,7]=>000100100
[4,6,8,1,9,2,10,3,5,7]=>001010100
[3,6,1,8,9,2,10,4,5,7]=>010010100
[2,1,6,8,9,3,10,4,5,7]=>100010100
[2,1,5,8,3,9,10,4,6,7]=>100100100
[3,5,1,8,2,9,10,4,6,7]=>010100100
[4,5,8,1,2,9,10,3,6,7]=>001000100
[7,3,2,8,9,10,1,4,5,6]=>110001000
[3,4,1,2,8,9,10,5,6,7]=>010000100
[2,1,4,3,8,9,10,5,6,7]=>101000100
[2,1,4,3,7,9,5,10,6,8]=>101001010
[3,4,1,2,7,9,5,10,6,8]=>010001010
[4,5,7,1,2,9,3,10,6,8]=>001001010
[3,5,1,7,2,9,4,10,6,8]=>010101010
[2,1,5,7,3,9,4,10,6,8]=>100101010
[2,1,6,7,9,3,4,10,5,8]=>100010010
[3,6,1,7,9,2,4,10,5,8]=>010010010
[4,6,7,1,9,2,3,10,5,8]=>001010010
[5,6,7,9,1,2,3,10,4,8]=>000100010
[8,5,4,3,2,9,10,1,6,7]=>111100100
[2,1,5,6,3,4,9,10,7,8]=>100100010
[3,5,1,6,2,4,9,10,7,8]=>010100010
[4,5,6,1,2,3,9,10,7,8]=>001000010
[3,4,1,2,6,5,9,10,7,8]=>010010010
[2,1,4,3,6,5,9,10,7,8]=>101010010
[2,1,4,3,6,5,10,9,8,7]=>101010111
[4,3,2,1,6,5,10,9,8,7]=>111010111
[6,3,2,5,4,1,10,9,8,7]=>110110111
[10,3,2,5,4,9,8,7,6,1]=>110101111
[2,1,6,5,4,3,10,9,8,7]=>101110111
[6,5,4,3,2,1,10,9,8,7]=>111110111
[10,5,4,3,2,9,8,7,6,1]=>111101111
[2,1,10,5,4,9,8,7,6,3]=>101101111
[10,9,4,3,8,7,6,5,2,1]=>111011111
[9,7,5,10,3,8,2,6,1,4]=>110101010
[2,1,4,3,10,9,8,7,6,5]=>101011111
[4,3,2,1,10,9,8,7,6,5]=>111011111
[10,3,2,9,8,7,6,5,4,1]=>110111111
[2,1,10,9,8,7,6,5,4,3]=>101111111
[9,10,8,7,6,5,4,3,1,2]=>011111110
[10,9,8,7,6,5,4,3,2,1]=>111111111
[3,4,2,1,6,5,8,7,10,9]=>011010101
[3,5,2,6,4,1,8,7,10,9]=>010110101
[3,5,2,7,4,8,6,1,10,9]=>010101101
[3,5,2,7,4,9,6,10,8,1]=>010101011
[2,1,5,6,4,3,8,7,10,9]=>100110101
[4,5,6,3,2,1,8,7,10,9]=>001110101
[4,5,7,3,2,8,6,1,10,9]=>001101101
[4,5,7,3,2,9,6,10,8,1]=>001101011
[2,1,5,7,4,8,6,3,10,9]=>100101101
[4,6,7,3,8,5,2,1,10,9]=>001011101
[4,6,7,3,9,5,2,10,8,1]=>001011011
[2,1,5,7,4,9,6,10,8,3]=>100101011
[4,6,8,3,9,5,10,7,2,1]=>001010111
[2,1,4,3,7,8,6,5,10,9]=>101001101
[3,4,2,1,7,8,6,5,10,9]=>011001101
[3,6,2,7,8,5,4,1,10,9]=>010011101
[3,6,2,7,9,5,4,10,8,1]=>010011011
[2,1,6,7,8,5,4,3,10,9]=>100011101
[5,6,7,8,4,3,2,1,10,9]=>000111101
[5,6,7,9,4,3,2,10,8,1]=>000111011
[2,1,6,7,9,5,4,10,8,3]=>100011011
[5,6,8,9,4,3,10,7,2,1]=>000110111
[2,1,4,3,7,9,6,10,8,5]=>101001011
[3,4,2,1,7,9,6,10,8,5]=>011001011
[3,6,2,8,9,5,10,7,4,1]=>010010111
[2,1,6,8,9,5,10,7,4,3]=>100010111
[5,7,8,9,4,10,6,3,2,1]=>000101111
[6,7,8,9,10,1,4,5,3,2]=>000010011
[6,7,8,9,10,1,4,5,2,3]=>000010010
[6,7,8,9,10,4,3,2,1,5]=>000011110
[6,7,8,9,10,1,3,4,5,2]=>000010001
[6,7,8,9,10,3,4,1,2,5]=>000010100
[6,7,8,9,10,3,4,2,1,5]=>000010110
[6,7,8,9,10,2,3,4,1,5]=>000010010
[2,1,4,3,6,5,9,10,8,7]=>101010011
[3,4,2,1,6,5,9,10,8,7]=>011010011
[3,5,2,6,4,1,9,10,8,7]=>010110011
[3,5,2,8,4,9,10,7,6,1]=>010100111
[2,1,5,6,4,3,9,10,8,7]=>100110011
[4,5,6,3,2,1,9,10,8,7]=>001110011
[4,5,8,3,2,9,10,7,6,1]=>001100111
[2,1,5,8,4,9,10,7,6,3]=>100100111
[4,7,8,3,9,10,6,5,2,1]=>001001111
[2,1,4,3,8,9,10,7,6,5]=>101000111
[3,4,2,1,8,9,10,7,6,5]=>011000111
[3,7,2,8,9,10,6,5,4,1]=>010001111
[2,1,7,8,9,10,6,5,4,3]=>100001111
[6,7,8,9,10,1,5,4,3,2]=>000010111
[6,7,8,9,10,5,4,3,2,1]=>000011111
[2,3,4,5,6,7,8,9,10,1]=>000000001
[2,3,4,5,6,7,8,9,1,10]=>000000010
[2,3,4,5,6,7,8,10,1,9]=>000000010
[2,3,4,5,6,7,9,10,1,8]=>000000010
[2,3,4,5,6,8,9,10,1,7]=>000000010
[2,3,4,5,7,8,9,10,1,6]=>000000010
[2,3,4,6,7,8,9,10,1,5]=>000000010
[2,3,5,6,7,8,9,10,1,4]=>000000010
[2,4,5,6,7,8,9,10,1,3]=>000000010
[3,4,5,6,7,8,9,10,1,2]=>000000010
[10,8,9,5,6,7,1,2,3,4]=>101001000
[10,8,9,4,5,6,1,2,3,7]=>101001000
[10,7,8,5,6,9,1,2,3,4]=>101001000
[10,7,8,4,5,9,1,2,3,6]=>101001000
[10,6,7,4,5,8,1,2,3,9]=>101001000
[10,7,8,3,4,9,1,2,5,6]=>101001000
[10,6,7,3,4,8,1,2,5,9]=>101001000
[9,8,10,5,6,7,1,2,3,4]=>101001000
[9,8,10,4,5,6,1,2,3,7]=>101001000
[9,7,10,5,6,8,1,2,3,4]=>101001000
[9,7,10,4,5,8,1,2,3,6]=>101001000
[9,6,10,4,5,7,1,2,3,8]=>101001000
[9,7,10,3,4,8,1,2,5,6]=>101001000
[9,6,10,3,4,7,1,2,5,8]=>101001000
[8,7,9,5,6,10,1,2,3,4]=>101001000
[8,7,9,4,5,10,1,2,3,6]=>101001000
[8,6,9,4,5,10,1,2,3,7]=>101001000
[7,6,8,4,5,9,1,2,3,10]=>101001000
[8,7,9,3,4,10,1,2,5,6]=>101001000
[8,6,9,3,4,10,1,2,5,7]=>101001000
[7,6,8,3,4,9,1,2,5,10]=>101001000
[9,6,10,5,7,8,1,2,3,4]=>101001000
[9,6,10,4,7,8,1,2,3,5]=>101001000
[9,5,10,4,6,7,1,2,3,8]=>101001000
[9,6,10,3,7,8,1,2,4,5]=>101001000
[9,5,10,3,6,7,1,2,4,8]=>101001000
[8,6,9,5,7,10,1,2,3,4]=>101001000
[8,6,9,4,7,10,1,2,3,5]=>101001000
[8,5,9,4,6,10,1,2,3,7]=>101001000
[7,5,8,4,6,9,1,2,3,10]=>101001000
[8,6,9,3,7,10,1,2,4,5]=>101001000
[8,5,9,3,6,10,1,2,4,7]=>101001000
[7,5,8,3,6,9,1,2,4,10]=>101001000
[8,4,9,3,5,10,1,2,6,7]=>101001000
[7,4,8,3,5,9,1,2,6,10]=>101001000
[9,6,10,2,7,8,1,3,4,5]=>101001000
[9,5,10,2,6,7,1,3,4,8]=>101001000
[8,6,9,2,7,10,1,3,4,5]=>101001000
[8,5,9,2,6,10,1,3,4,7]=>101001000
[7,5,8,2,6,9,1,3,4,10]=>101001000
[8,4,9,2,5,10,1,3,6,7]=>101001000
[7,4,8,2,5,9,1,3,6,10]=>101001000
[1,2,3,4,5,6,7,8,10,9]=>000000001
[2,1,3,4,5,6,7,8,9,10]=>100000000
[9,1,2,3,4,5,6,7,10,8]=>100000001
[2,10,1,3,4,5,6,7,8,9]=>010000000
[1,2,3,4,5,6,7,8,9,10]=>000000000
[1,2,3,4,5,6,7,9,10,8]=>000000001
[1,2,3,4,5,6,8,9,10,7]=>000000001
[1,2,3,4,5,7,8,9,10,6]=>000000001
[1,2,3,4,6,7,8,9,10,5]=>000000001
[1,2,3,5,6,7,8,9,10,4]=>000000001
[1,2,4,5,6,7,8,9,10,3]=>000000001
[1,3,4,5,6,7,8,9,10,2]=>000000001
[9,10,8,7,6,5,4,3,2,1]=>011111111
[9,8,10,7,6,5,4,3,2,1]=>101111111
[9,8,7,10,6,5,4,3,2,1]=>110111111
[9,8,7,6,10,5,4,3,2,1]=>111011111
[9,8,7,6,5,10,4,3,2,1]=>111101111
[9,8,7,6,5,4,10,3,2,1]=>111110111
[9,8,7,6,5,4,3,10,2,1]=>111111011
[9,8,7,6,5,4,3,2,10,1]=>111111101
[9,8,7,6,5,4,3,2,1,10]=>111111110
[10,1,2,3,4,5,6,7,8,9]=>100000000
[10,1,2,3,4,5,6,9,7,8]=>100000010
[10,1,2,3,4,5,9,6,7,8]=>100000100
[9,1,2,3,4,10,5,6,7,8]=>100001000
[10,1,2,3,9,4,5,6,7,8]=>100010000
[10,1,2,9,3,4,5,6,7,8]=>100100000
[9,1,10,2,3,4,5,6,7,8]=>101000000
[10,9,1,2,3,4,5,6,7,8]=>110000000
[8,1,2,3,4,5,6,9,10,7]=>100000001
[7,1,2,3,4,5,10,9,6,8]=>100000110
[6,1,2,3,4,10,9,5,7,8]=>100001100
[5,1,2,3,9,10,4,6,7,8]=>100001000
[4,1,2,10,9,3,5,6,7,8]=>100110000
[3,1,10,9,2,4,5,6,7,8]=>101100000
[2,9,10,1,3,4,5,6,7,8]=>001000000
[1,10,9,8,7,6,5,4,3,2]=>011111111
[9,8,7,5,6,4,3,2,1,10]=>111011110
[1,10,9,8,6,7,5,4,3,2]=>011101111
[10,2,1,3,4,5,6,7,8,9]=>110000000
[3,2,4,5,6,7,8,9,10,1]=>100000001
[2,4,6,8,10,1,3,5,7,9]=>000010000
[2,4,6,9,10,1,3,5,7,8]=>000010000
[2,4,7,8,10,1,3,5,6,9]=>000010000
[2,4,7,9,10,1,3,5,6,8]=>000010000
[2,4,8,9,10,1,3,5,6,7]=>000010000
[2,5,6,8,10,1,3,4,7,9]=>000010000
[2,5,6,9,10,1,3,4,7,8]=>000010000
[2,5,7,8,10,1,3,4,6,9]=>000010000
[2,5,7,9,10,1,3,4,6,8]=>000010000
[2,5,8,9,10,1,3,4,6,7]=>000010000
[2,6,7,8,10,1,3,4,5,9]=>000010000
[2,6,7,9,10,1,3,4,5,8]=>000010000
[2,6,8,9,10,1,3,4,5,7]=>000010000
[2,7,8,9,10,1,3,4,5,6]=>000010000
[3,4,6,8,10,1,2,5,7,9]=>000010000
[3,4,6,9,10,1,2,5,7,8]=>000010000
[3,4,7,8,10,1,2,5,6,9]=>000010000
[3,4,7,9,10,1,2,5,6,8]=>000010000
[3,4,8,9,10,1,2,5,6,7]=>000010000
[3,5,6,8,10,1,2,4,7,9]=>000010000
[3,5,6,9,10,1,2,4,7,8]=>000010000
[3,5,7,8,10,1,2,4,6,9]=>000010000
[3,5,7,9,10,1,2,4,6,8]=>000010000
[3,5,8,9,10,1,2,4,6,7]=>000010000
[3,6,7,8,10,1,2,4,5,9]=>000010000
[3,6,7,9,10,1,2,4,5,8]=>000010000
[3,6,8,9,10,1,2,4,5,7]=>000010000
[3,7,8,9,10,1,2,4,5,6]=>000010000
[4,5,6,8,10,1,2,3,7,9]=>000010000
[4,5,6,9,10,1,2,3,7,8]=>000010000
[4,5,7,8,10,1,2,3,6,9]=>000010000
[4,5,7,9,10,1,2,3,6,8]=>000010000
[4,5,8,9,10,1,2,3,6,7]=>000010000
[4,6,7,8,10,1,2,3,5,9]=>000010000
[4,6,7,9,10,1,2,3,5,8]=>000010000
[4,6,8,9,10,1,2,3,5,7]=>000010000
[4,7,8,9,10,1,2,3,5,6]=>000010000
[5,6,7,8,10,1,2,3,4,9]=>000010000
[5,6,7,9,10,1,2,3,4,8]=>000010000
[5,6,8,9,10,1,2,3,4,7]=>000010000
[5,7,8,9,10,1,2,3,4,6]=>000010000
[3,1,4,5,6,7,8,9,10,2]=>100000001
[10,3,4,5,6,7,8,1,2,9]=>100000100
[10,1,4,5,6,7,8,9,2,3]=>100000010
[2,10,4,5,6,7,8,1,3,9]=>010000100
[8,3,4,5,6,7,1,10,2,9]=>100001010
[3,1,10,5,6,7,8,9,2,4]=>101000010
[9,1,4,5,6,7,8,2,10,3]=>100000101
[9,10,1,2,3,4,5,6,7,8]=>010000000
[8,9,10,1,2,3,4,5,6,7]=>001000000
[10,8,9,1,2,3,4,5,6,7]=>101000000
[10,9,8,1,2,3,4,5,6,7]=>111000000
[7,8,9,10,1,2,3,4,5,6]=>000100000
[10,7,8,9,1,2,3,4,5,6]=>100100000
[9,10,7,8,1,2,3,4,5,6]=>010100000
[10,9,7,8,1,2,3,4,5,6]=>110100000
[10,9,8,7,1,2,3,4,5,6]=>111100000
[10,6,7,8,9,1,2,3,4,5]=>100010000
[9,10,6,7,8,1,2,3,4,5]=>010010000
[10,9,6,7,8,1,2,3,4,5]=>110010000
[10,8,9,6,7,1,2,3,4,5]=>101010000
[10,9,8,6,7,1,2,3,4,5]=>111010000
[10,9,8,7,6,1,2,3,4,5]=>111110000
[9,10,5,6,7,8,1,2,3,4]=>010001000
[10,9,5,6,7,8,1,2,3,4]=>110001000
[8,9,10,5,6,7,1,2,3,4]=>001001000
[10,9,8,5,6,7,1,2,3,4]=>111001000
[9,10,7,8,5,6,1,2,3,4]=>010101000
[10,9,7,8,5,6,1,2,3,4]=>110101000
[10,9,8,7,5,6,1,2,3,4]=>111101000
[10,9,8,7,6,5,1,2,3,4]=>111111000
[10,7,8,9,4,5,6,1,2,3]=>100100100
[9,10,7,8,4,5,6,1,2,3]=>010100100
[10,9,7,8,4,5,6,1,2,3]=>110100100
[10,9,8,7,4,5,6,1,2,3]=>111100100
[10,8,9,6,7,4,5,1,2,3]=>101010100
[10,9,8,6,7,4,5,1,2,3]=>111010100
[10,9,8,7,6,4,5,1,2,3]=>111110100
[10,9,8,7,6,5,4,1,2,3]=>111111100
[9,10,7,8,5,6,3,4,1,2]=>010101010
[10,9,7,8,5,6,3,4,1,2]=>110101010
[10,9,8,7,5,6,3,4,1,2]=>111101010
[10,9,8,7,6,5,3,4,1,2]=>111111010
[10,9,8,7,6,5,4,3,1,2]=>111111110
[8,9,7,6,5,4,3,2,1,10]=>011111110
[1,9,10,8,7,6,5,4,3,2]=>001111111
[9,1,2,3,4,5,6,7,8,10]=>100000000
[1,10,2,3,4,5,6,7,8,9]=>010000000
[8,9,1,2,3,4,5,6,7,10]=>010000000
[1,9,10,2,3,4,5,6,7,8]=>001000000
[2,4,1,3,6,5,8,7,10,9]=>010010101
[2,4,1,6,3,5,8,7,10,9]=>010100101
[2,4,1,6,3,8,5,7,10,9]=>010101001
[2,4,1,6,3,8,5,10,7,9]=>010101010
[2,4,1,6,3,8,5,9,7,10]=>010101010
[2,4,1,6,3,7,5,9,8,10]=>010101010
[2,4,1,5,3,7,6,9,8,10]=>010101010
[2,3,1,5,4,7,6,9,8,10]=>010101010
[1,3,2,5,4,7,6,9,8,10]=>010101010
[3,4,1,2,5,6,7,8,9,10]=>010000000
[3,2,1,4,5,6,7,8,9,10]=>110000000
[4,5,6,1,2,3,7,8,9,10]=>001000000
[4,2,5,1,3,6,7,8,9,10]=>101000000
[4,3,2,1,5,6,7,8,9,10]=>111000000
[5,6,7,8,1,2,3,4,9,10]=>000100000
[5,2,6,7,1,3,4,8,9,10]=>100100000
[5,6,3,4,1,2,7,8,9,10]=>010100000
[5,3,2,6,1,4,7,8,9,10]=>110100000
[5,4,3,2,1,6,7,8,9,10]=>111100000
[6,2,7,8,9,1,3,4,5,10]=>100010000
[6,7,3,4,8,1,2,5,9,10]=>010010000
[6,3,2,7,8,1,4,5,9,10]=>110010000
[6,4,7,2,5,1,3,8,9,10]=>101010000
[6,4,3,2,7,1,5,8,9,10]=>111010000
[6,5,4,3,2,1,7,8,9,10]=>111110000
[7,8,3,4,9,10,1,2,5,6]=>010001000
[7,8,9,4,5,6,1,2,3,10]=>001001000
[7,4,3,2,8,9,1,5,6,10]=>111001000
[7,8,5,6,3,4,1,2,9,10]=>010101000
[7,5,3,8,2,6,1,4,9,10]=>110101000
[7,5,4,3,2,8,1,6,9,10]=>111101000
[7,6,5,4,3,2,1,8,9,10]=>111111000
[8,5,9,10,2,6,7,1,3,4]=>100100100
[8,5,3,9,2,6,10,1,4,7]=>110100100
[8,6,9,4,7,2,5,1,3,10]=>101010100
[8,6,4,3,9,2,7,1,5,10]=>111010100
[8,6,5,4,3,2,9,1,7,10]=>111110100
[8,7,6,5,4,3,2,1,9,10]=>111111100
[9,7,5,4,3,10,2,8,1,6]=>111101010
[2,3,1,4,5,6,7,8,9,10]=>010000000
[2,3,4,1,5,6,7,8,9,10]=>001000000
[2,3,4,5,1,6,7,8,9,10]=>000100000
[2,3,4,5,6,1,7,8,9,10]=>000010000
[2,3,4,5,6,7,1,8,9,10]=>000001000
[2,3,4,5,6,7,8,1,9,10]=>000000100
[3,4,1,5,6,7,8,9,10,2]=>010000001
[3,4,5,1,6,7,8,9,10,2]=>001000001
[3,4,5,6,1,7,8,9,10,2]=>000100001
[3,4,5,6,7,1,8,9,10,2]=>000010001
[3,4,5,6,7,8,1,9,10,2]=>000001001
[3,4,5,6,7,8,9,1,10,2]=>000000101
[9,8,7,6,5,4,3,1,10,2]=>111111101
[8,10,7,6,5,4,3,2,1,9]=>011111110
[1,8,7,6,5,4,3,10,9,2]=>011111011
[1,10,7,6,5,4,3,2,9,8]=>011111101
[9,1,7,6,5,4,3,10,8,2]=>101111011
[3,8,7,6,5,4,10,1,9,2]=>011110101
[8,10,1,6,5,4,3,2,9,7]=>010111101
[2,10,7,6,5,4,3,9,1,8]=>011111010
[8,10,9,7,6,5,4,3,2,1]=>011111111
[7,10,9,8,6,5,4,3,2,1]=>011111111
[6,10,9,8,7,5,4,3,2,1]=>011111111
[5,10,9,8,7,6,4,3,2,1]=>011111111
[4,10,9,8,7,6,5,3,2,1]=>011111111
[3,10,9,8,7,6,5,4,2,1]=>011111111
[2,10,9,8,7,6,5,4,3,1]=>011111111
[1,2,3,4,5,6,7,10,8,9]=>000000010
[1,2,3,4,5,6,10,7,8,9]=>000000100
[1,2,3,4,5,10,6,7,8,9]=>000001000
[1,2,3,4,10,5,6,7,8,9]=>000010000
[1,2,3,10,4,5,6,7,8,9]=>000100000
[1,2,10,3,4,5,6,7,8,9]=>001000000
[8,7,10,9,6,5,4,3,2,1]=>101111111
[8,9,10,7,6,5,4,3,2,1]=>001111111
[7,6,5,10,9,8,4,3,2,1]=>110111111
[7,9,6,10,8,5,4,3,2,1]=>010111111
[7,8,9,10,6,5,4,3,2,1]=>000111111
[6,5,4,3,10,9,8,7,2,1]=>111011111
[6,9,5,4,10,8,7,3,2,1]=>011011111
[6,5,8,7,10,9,4,3,2,1]=>101011111
[6,8,9,5,10,7,4,3,2,1]=>001011111
[5,4,3,2,1,10,9,8,7,6]=>111101111
[5,9,4,3,2,10,8,7,6,1]=>011101111
[5,4,8,7,3,10,9,6,2,1]=>101101111
[5,8,9,4,3,10,7,6,2,1]=>001101111
[5,7,4,9,6,10,8,3,2,1]=>010101111
[5,6,7,8,9,10,4,3,2,1]=>000001111
[4,3,8,7,2,1,10,9,6,5]=>101110111
[4,8,9,3,2,1,10,7,6,5]=>001110111
[4,3,2,7,6,5,10,9,8,1]=>110110111
[4,7,3,9,6,2,10,8,5,1]=>010110111
[4,7,8,9,3,2,10,6,5,1]=>000110111
[4,3,6,5,8,7,10,9,2,1]=>101010111
[4,6,7,8,9,3,10,5,2,1]=>000010111
[4,5,6,7,8,9,10,3,2,1]=>000000111
[3,6,2,1,9,5,4,10,8,7]=>011011011
[3,2,6,5,8,7,1,10,9,4]=>101011011
[3,6,8,2,9,5,1,10,7,4]=>001011011
[3,6,7,8,9,2,1,10,5,4]=>000011011
[3,5,7,8,2,9,4,10,6,1]=>000101011
[3,5,6,7,8,9,2,10,4,1]=>000001011
[3,4,5,6,7,8,9,10,2,1]=>000000011
[2,4,6,1,8,3,9,5,10,7]=>001010101
[2,4,6,7,8,1,9,3,10,5]=>000010101
[2,4,5,6,7,8,9,1,10,3]=>000000101
[7,8,10,9,5,6,3,4,1,2]=>001101010
[9,10,5,6,8,7,3,4,1,2]=>010011010
[5,8,10,6,9,7,3,4,1,2]=>001011010
[5,6,7,10,9,8,3,4,1,2]=>000111010
[9,10,7,8,3,4,6,5,1,2]=>010100110
[7,8,10,9,3,4,6,5,1,2]=>001100110
[9,10,3,6,8,4,7,5,1,2]=>010010110
[3,8,10,6,9,4,7,5,1,2]=>001010110
[3,6,7,10,9,4,8,5,1,2]=>000110110
[9,10,3,4,5,8,7,6,1,2]=>010001110
[3,8,10,4,5,9,7,6,1,2]=>001001110
[3,4,7,10,5,9,8,6,1,2]=>000101110
[3,4,5,6,10,9,8,7,1,2]=>000011110
[9,10,7,8,5,6,1,2,4,3]=>010101001
[7,8,10,9,5,6,1,2,4,3]=>001101001
[9,10,5,6,8,7,1,2,4,3]=>010011001
[5,8,10,6,9,7,1,2,4,3]=>001011001
[5,6,7,10,9,8,1,2,4,3]=>000111001
[9,10,7,8,1,4,6,2,5,3]=>010100101
[7,8,10,9,1,4,6,2,5,3]=>001100101
[9,10,1,6,8,4,7,2,5,3]=>010010101
[1,8,10,6,9,4,7,2,5,3]=>001010101
[1,6,7,10,9,4,8,2,5,3]=>000110101
[9,10,1,4,5,8,7,2,6,3]=>010001101
[1,8,10,4,5,9,7,2,6,3]=>001001101
[1,4,7,10,5,9,8,2,6,3]=>000101101
[1,4,5,6,10,9,8,2,7,3]=>000011101
[9,10,7,8,1,2,3,6,5,4]=>010100011
[7,8,10,9,1,2,3,6,5,4]=>001100011
[9,10,1,6,8,2,3,7,5,4]=>010010011
[1,8,10,6,9,2,3,7,5,4]=>001010011
[1,6,7,10,9,2,3,8,5,4]=>000110011
[9,10,1,2,5,8,3,7,6,4]=>010001011
[1,8,10,2,5,9,3,7,6,4]=>001001011
[1,2,7,10,5,9,3,8,6,4]=>000101011
[1,2,5,6,10,9,3,8,7,4]=>000011011
[9,10,1,2,3,4,8,7,6,5]=>010000111
[1,8,10,2,3,4,9,7,6,5]=>001000111
[1,2,7,10,3,4,9,8,6,5]=>000100111
[1,2,3,6,10,4,9,8,7,5]=>000010111
[1,2,3,4,5,10,9,8,7,6]=>000001111
[4,3,2,1,7,6,5,9,8,10]=>111011010
[7,3,2,1,6,5,4,9,8,10]=>111011010
[4,3,2,1,9,6,5,8,7,10]=>111011010
[6,3,2,1,9,5,4,8,7,10]=>111011010
[9,3,2,1,8,5,4,7,6,10]=>111011010
[6,5,2,1,9,4,3,8,7,10]=>111011010
[9,5,2,1,8,4,3,7,6,10]=>111011010
[4,3,2,1,7,6,5,10,8,9]=>111011010
[7,3,2,1,6,5,4,10,8,9]=>111011010
[4,3,2,1,8,6,5,10,7,9]=>111011010
[6,3,2,1,8,5,4,10,7,9]=>111011010
[8,3,2,1,7,5,4,10,6,9]=>111011010
[6,5,2,1,8,4,3,10,7,9]=>111011010
[8,5,2,1,7,4,3,10,6,9]=>111011010
[4,3,2,1,10,6,5,9,7,8]=>111011010
[6,3,2,1,10,5,4,9,7,8]=>111011010
[7,3,2,1,10,5,4,9,6,8]=>111011010
[10,3,2,1,9,5,4,8,6,7]=>111011010
[6,5,2,1,10,4,3,9,7,8]=>111011010
[7,5,2,1,10,4,3,9,6,8]=>111011010
[10,5,2,1,9,4,3,8,6,7]=>111011010
[4,3,2,1,8,7,5,10,6,9]=>111011010
[5,3,2,1,8,7,4,10,6,9]=>111011010
[8,3,2,1,7,6,4,10,5,9]=>111011010
[5,4,2,1,8,7,3,10,6,9]=>111011010
[8,4,2,1,7,6,3,10,5,9]=>111011010
[4,3,2,1,10,7,5,9,6,8]=>111011010
[5,3,2,1,10,7,4,9,6,8]=>111011010
[7,3,2,1,10,6,4,9,5,8]=>111011010
[10,3,2,1,9,6,4,8,5,7]=>111011010
[5,4,2,1,10,7,3,9,6,8]=>111011010
[7,4,2,1,10,6,3,9,5,8]=>111011010
[10,4,2,1,9,6,3,8,5,7]=>111011010
[7,6,2,1,10,5,3,9,4,8]=>111011010
[10,6,2,1,9,5,3,8,4,7]=>111011010
[5,4,3,1,8,7,2,10,6,9]=>111011010
[8,4,3,1,7,6,2,10,5,9]=>111011010
[5,4,3,1,10,7,2,9,6,8]=>111011010
[7,4,3,1,10,6,2,9,5,8]=>111011010
[10,4,3,1,9,6,2,8,5,7]=>111011010
[7,6,3,1,10,5,2,9,4,8]=>111011010
[10,6,3,1,9,5,2,8,4,7]=>111011010
[2,1,4,3,6,5,10,9,7,8]=>101010110
[2,1,4,3,8,7,5,6,10,9]=>101011001
[2,1,4,3,10,7,5,9,6,8]=>101011010
[2,1,4,3,10,9,8,5,6,7]=>101011100
[2,1,6,5,3,4,8,7,10,9]=>101100101
[2,1,6,5,3,4,10,9,7,8]=>101100110
[2,1,8,5,3,7,4,6,10,9]=>101101001
[2,1,10,5,3,7,4,9,6,8]=>101101010
[2,1,10,5,3,9,8,4,6,7]=>101101100
[2,1,8,7,6,3,4,5,10,9]=>101110001
[2,1,10,7,6,3,4,9,5,8]=>101110010
[2,1,10,9,6,3,8,4,5,7]=>101110100
[2,1,10,9,8,7,3,4,5,6]=>101111000
[4,3,1,2,6,5,8,7,10,9]=>110010101
[4,3,1,2,6,5,10,9,7,8]=>110010110
[4,3,1,2,8,7,5,6,10,9]=>110011001
[4,3,1,2,10,7,5,9,6,8]=>110011010
[4,3,1,2,10,9,8,5,6,7]=>110011100
[6,3,1,5,2,4,8,7,10,9]=>110100101
[6,3,1,5,2,4,10,9,7,8]=>110100110
[8,3,1,5,2,7,4,6,10,9]=>110101001
[10,3,1,5,2,7,4,9,6,8]=>110101010
[10,3,1,5,2,9,8,4,6,7]=>110101100
[8,3,1,7,6,2,4,5,10,9]=>110110001
[10,3,1,7,6,2,4,9,5,8]=>110110010
[10,3,1,9,6,2,8,4,5,7]=>110110100
[10,3,1,9,8,7,2,4,5,6]=>110111000
[6,5,4,1,2,3,8,7,10,9]=>111000101
[6,5,4,1,2,3,10,9,7,8]=>111000110
[8,5,4,1,2,7,3,6,10,9]=>111001001
[10,5,4,1,2,7,3,9,6,8]=>111001010
[10,5,4,1,2,9,8,3,6,7]=>111001100
[8,7,4,1,6,2,3,5,10,9]=>111010001
[10,7,4,1,6,2,3,9,5,8]=>111010010
[10,9,4,1,6,2,8,3,5,7]=>111010100
[10,9,4,1,8,7,2,3,5,6]=>111011000
[8,7,6,5,1,2,3,4,10,9]=>111100001
[10,7,6,5,1,2,3,9,4,8]=>111100010
[10,9,6,5,1,2,8,3,4,7]=>111100100
[10,9,8,5,1,7,2,3,4,6]=>111101000
[8,7,6,5,4,3,2,10,1,9]=>111111010
[7,6,5,4,3,10,2,9,1,8]=>111101010
[7,6,5,4,3,2,9,1,8,10]=>111110100
[6,5,4,10,3,9,2,8,1,7]=>110101010
[6,5,4,3,9,2,8,1,7,10]=>111010100
[6,5,4,3,2,8,10,1,7,9]=>111100100
[6,5,4,3,2,8,1,7,9,10]=>111101000
[5,10,4,9,3,8,2,7,1,6]=>010101010
[5,4,9,3,8,2,7,1,6,10]=>101010100
[5,4,3,8,2,7,10,1,6,9]=>110100100
[5,4,3,8,2,7,1,6,9,10]=>110101000
[5,4,3,2,7,9,1,6,8,10]=>111001000
[5,4,3,2,7,1,6,8,9,10]=>111010000
[4,8,3,7,2,6,10,1,5,9]=>010100100
[4,8,3,7,2,6,1,5,9,10]=>010101000
[4,3,7,10,2,6,9,1,5,8]=>100100100
[4,3,7,2,6,9,1,5,8,10]=>101001000
[4,3,7,2,6,1,5,8,9,10]=>101010000
[4,3,2,6,8,10,1,5,7,9]=>110001000
[4,3,2,6,8,1,5,7,9,10]=>110010000
[4,3,2,6,1,5,7,8,9,10]=>110100000
[3,6,9,2,5,8,1,4,7,10]=>001001000
[3,6,2,5,8,10,1,4,7,9]=>010001000
[3,6,2,5,8,1,4,7,9,10]=>010010000
[3,6,2,5,1,4,7,8,9,10]=>010100000
[3,2,5,7,9,1,4,6,8,10]=>100010000
[3,2,5,7,1,4,6,8,9,10]=>100100000
[3,2,5,1,4,6,7,8,9,10]=>101000000
[2,4,6,8,1,3,5,7,9,10]=>000100000
[2,4,6,1,3,5,7,8,9,10]=>001000000
[2,4,1,3,5,6,7,8,9,10]=>010000000
[9,8,7,6,5,4,2,1,10,3]=>111111101
[9,8,7,6,5,3,2,1,10,4]=>111111101
[9,8,7,6,4,3,2,1,10,5]=>111111101
[9,8,7,5,4,3,2,1,10,6]=>111111101
[9,8,6,5,4,3,2,1,10,7]=>111111101
[9,7,6,5,4,3,2,1,10,8]=>111111101
[7,8,9,10,4,5,6,2,3,1]=>000100101
[7,8,9,4,5,6,10,2,3,1]=>001000101
[7,8,9,10,4,5,2,3,6,1]=>000101001
[7,8,9,4,5,10,2,3,6,1]=>001001001
[7,8,9,4,5,2,3,6,10,1]=>001010001
[7,8,4,5,9,10,2,3,6,1]=>010001001
[7,8,4,5,9,2,3,6,10,1]=>010010001
[7,8,9,10,4,5,6,2,1,3]=>000100110
[7,8,9,4,5,6,10,2,1,3]=>001000110
[7,8,9,10,4,5,2,6,1,3]=>000101010
[7,8,9,4,5,10,2,6,1,3]=>001001010
[7,8,9,4,5,2,6,10,1,3]=>001010010
[7,8,4,5,9,10,2,6,1,3]=>010001010
[7,8,4,5,9,2,6,10,1,3]=>010010010
[7,8,9,10,4,5,2,1,3,6]=>000101100
[7,8,9,4,5,10,2,1,3,6]=>001001100
[7,8,9,4,5,2,10,1,3,6]=>001010100
[7,8,9,4,5,2,1,3,6,10]=>001011000
[7,8,4,5,9,10,2,1,3,6]=>010001100
[7,8,4,5,9,2,10,1,3,6]=>010010100
[7,8,4,5,9,2,1,3,6,10]=>010011000
[7,8,9,10,4,2,5,6,1,3]=>000110010
[7,8,9,4,10,2,5,6,1,3]=>001010010
[7,8,9,4,2,5,6,10,1,3]=>001100010
[7,8,4,9,10,2,5,6,1,3]=>010010010
[7,8,4,9,2,5,6,10,1,3]=>010100010
[7,8,9,10,4,2,5,1,3,6]=>000110100
[7,8,9,4,10,2,5,1,3,6]=>001010100
[7,8,9,4,2,5,10,1,3,6]=>001100100
[7,8,9,4,2,5,1,3,6,10]=>001101000
[7,8,4,9,10,2,5,1,3,6]=>010010100
[7,8,4,9,2,5,10,1,3,6]=>010100100
[7,8,4,9,2,5,1,3,6,10]=>010101000
[7,8,4,2,5,9,10,1,3,6]=>011000100
[7,8,4,2,5,9,1,3,6,10]=>011001000
[7,4,8,9,10,2,5,6,1,3]=>100010010
[7,4,8,9,2,5,6,10,1,3]=>100100010
[7,4,8,9,10,2,5,1,3,6]=>100010100
[7,4,8,9,2,5,10,1,3,6]=>100100100
[7,4,8,9,2,5,1,3,6,10]=>100101000
[7,4,8,2,5,9,10,1,3,6]=>101000100
[8,10,7,9,5,6,3,4,1,2]=>010101010
[9,10,6,8,5,7,3,4,1,2]=>010101010
[8,10,6,9,5,7,3,4,1,2]=>010101010
[7,10,6,9,5,8,3,4,1,2]=>010101010
[9,10,7,8,4,6,3,5,1,2]=>010101010
[8,10,7,9,4,6,3,5,1,2]=>010101010
[9,10,6,8,4,7,3,5,1,2]=>010101010
[8,10,6,9,4,7,3,5,1,2]=>010101010
[7,10,6,9,4,8,3,5,1,2]=>010101010
[9,10,5,8,4,7,3,6,1,2]=>010101010
[8,10,5,9,4,7,3,6,1,2]=>010101010
[7,10,5,9,4,8,3,6,1,2]=>010101010
[6,10,5,9,4,8,3,7,1,2]=>010101010
[9,10,7,8,5,6,2,4,1,3]=>010101010
[8,10,7,9,5,6,2,4,1,3]=>010101010
[9,10,6,8,5,7,2,4,1,3]=>010101010
[8,10,6,9,5,7,2,4,1,3]=>010101010
[7,10,6,9,5,8,2,4,1,3]=>010101010
[9,10,7,8,4,6,2,5,1,3]=>010101010
[8,10,7,9,4,6,2,5,1,3]=>010101010
[9,10,6,8,4,7,2,5,1,3]=>010101010
[8,10,6,9,4,7,2,5,1,3]=>010101010
[7,10,6,9,4,8,2,5,1,3]=>010101010
[9,10,5,8,4,7,2,6,1,3]=>010101010
[8,10,5,9,4,7,2,6,1,3]=>010101010
[7,10,5,9,4,8,2,6,1,3]=>010101010
[6,10,5,9,4,8,2,7,1,3]=>010101010
[9,10,7,8,3,6,2,5,1,4]=>010101010
[8,10,7,9,3,6,2,5,1,4]=>010101010
[9,10,6,8,3,7,2,5,1,4]=>010101010
[8,10,6,9,3,7,2,5,1,4]=>010101010
[7,10,6,9,3,8,2,5,1,4]=>010101010
[9,10,5,8,3,7,2,6,1,4]=>010101010
[8,10,5,9,3,7,2,6,1,4]=>010101010
[7,10,5,9,3,8,2,6,1,4]=>010101010
[6,10,5,9,3,8,2,7,1,4]=>010101010
[9,10,4,8,3,7,2,6,1,5]=>010101010
[8,10,4,9,3,7,2,6,1,5]=>010101010
[7,10,4,9,3,8,2,6,1,5]=>010101010
[6,10,4,9,3,8,2,7,1,5]=>010101010
[3,4,5,6,7,8,9,1,2,10]=>000000100
[1,4,5,6,7,8,9,10,2,3]=>000000010
[9,10,7,8,5,6,3,1,4,2]=>010101101
[9,10,7,8,5,3,6,1,4,2]=>010110101
[9,10,7,5,8,3,6,1,4,2]=>011010101
[9,7,10,5,8,3,6,1,4,2]=>101010101
[10,7,9,5,8,3,6,1,4,2]=>101010101
[10,8,9,5,7,3,6,1,4,2]=>101010101
[10,8,9,6,7,3,5,1,4,2]=>101010101
[10,8,9,6,7,4,5,1,3,2]=>101010101
[7,6,5,4,3,2,1,10,9,8]=>111111011
[7,6,5,4,3,2,1,9,8,10]=>111111010
[6,5,4,3,2,1,9,8,7,10]=>111110110
[6,5,4,3,2,1,8,7,9,10]=>111110100
[5,4,3,2,1,9,8,7,6,10]=>111101110
[5,4,3,2,1,8,7,6,10,9]=>111101101
[5,4,3,2,1,8,7,6,9,10]=>111101100
[5,4,3,2,1,7,6,9,8,10]=>111101010
[5,4,3,2,1,7,6,8,9,10]=>111101000
[4,3,2,1,8,7,6,5,9,10]=>111011100
[4,3,2,1,7,6,5,10,9,8]=>111011011
[4,3,2,1,7,6,5,8,9,10]=>111011000
[4,3,2,1,6,5,8,7,9,10]=>111010100
[4,3,2,1,6,5,7,8,9,10]=>111010000
[3,2,1,6,5,4,9,8,7,10]=>110110110
[3,2,1,6,5,4,8,7,10,9]=>110110101
[3,2,1,6,5,4,8,7,9,10]=>110110100
[3,2,1,6,5,4,7,8,9,10]=>110110000
[3,2,1,5,4,7,6,9,8,10]=>110101010
[3,2,1,5,4,7,6,8,9,10]=>110101000
[3,2,1,5,4,6,7,8,9,10]=>110100000
[2,1,4,3,6,5,8,7,9,10]=>101010100
[2,1,4,3,6,5,7,8,9,10]=>101010000
[2,1,4,3,5,6,7,8,9,10]=>101000000
[3,1,4,2,6,5,8,7,10,9]=>101010101
[3,1,5,2,6,4,8,7,10,9]=>101010101
[3,1,5,2,7,4,8,6,10,9]=>101010101
[3,1,5,2,7,4,9,6,10,8]=>101010101
[3,1,5,2,7,4,9,6,8,10]=>101010100
[3,1,5,2,7,4,6,9,8,10]=>101010010
[3,1,5,2,4,7,6,9,8,10]=>101001010
[3,1,2,5,4,7,6,9,8,10]=>100101010
[4,5,6,7,8,9,10,1,2,3]=>000000100
[4,5,6,7,8,9,10,2,3,1]=>000000101
[5,6,7,8,9,10,1,2,3,4]=>000001000
[5,6,7,8,9,10,3,4,1,2]=>000001010
[7,8,9,10,3,4,5,6,1,2]=>000100010
[7,8,9,10,5,6,3,4,1,2]=>000101010
[8,9,10,5,6,7,2,3,4,1]=>001001001
[9,7,5,3,1,10,8,6,4,2]=>111101111
[8,7,5,3,1,10,9,6,4,2]=>111101111
[9,6,5,3,1,10,8,7,4,2]=>111101111
[8,6,5,3,1,10,9,7,4,2]=>111101111
[7,6,5,3,1,10,9,8,4,2]=>111101111
[9,7,4,3,1,10,8,6,5,2]=>111101111
[8,7,4,3,1,10,9,6,5,2]=>111101111
[9,6,4,3,1,10,8,7,5,2]=>111101111
[8,6,4,3,1,10,9,7,5,2]=>111101111
[7,6,4,3,1,10,9,8,5,2]=>111101111
[9,5,4,3,1,10,8,7,6,2]=>111101111
[8,5,4,3,1,10,9,7,6,2]=>111101111
[7,5,4,3,1,10,9,8,6,2]=>111101111
[6,5,4,3,1,10,9,8,7,2]=>111101111
[9,7,5,2,1,10,8,6,4,3]=>111101111
[8,7,5,2,1,10,9,6,4,3]=>111101111
[9,6,5,2,1,10,8,7,4,3]=>111101111
[8,6,5,2,1,10,9,7,4,3]=>111101111
[7,6,5,2,1,10,9,8,4,3]=>111101111
[9,7,4,2,1,10,8,6,5,3]=>111101111
[8,7,4,2,1,10,9,6,5,3]=>111101111
[9,6,4,2,1,10,8,7,5,3]=>111101111
[8,6,4,2,1,10,9,7,5,3]=>111101111
[7,6,4,2,1,10,9,8,5,3]=>111101111
[9,5,4,2,1,10,8,7,6,3]=>111101111
[8,5,4,2,1,10,9,7,6,3]=>111101111
[7,5,4,2,1,10,9,8,6,3]=>111101111
[6,5,4,2,1,10,9,8,7,3]=>111101111
[9,7,3,2,1,10,8,6,5,4]=>111101111
[8,7,3,2,1,10,9,6,5,4]=>111101111
[9,6,3,2,1,10,8,7,5,4]=>111101111
[8,6,3,2,1,10,9,7,5,4]=>111101111
[7,6,3,2,1,10,9,8,5,4]=>111101111
[9,5,3,2,1,10,8,7,6,4]=>111101111
[8,5,3,2,1,10,9,7,6,4]=>111101111
[7,5,3,2,1,10,9,8,6,4]=>111101111
[6,5,3,2,1,10,9,8,7,4]=>111101111
[9,4,3,2,1,10,8,7,6,5]=>111101111
[8,4,3,2,1,10,9,7,6,5]=>111101111
[7,4,3,2,1,10,9,8,6,5]=>111101111
[6,4,3,2,1,10,9,8,7,5]=>111101111
[6,1,7,2,8,3,9,4,10,5]=>101010101
[6,1,7,8,9,10,2,3,4,5]=>100001000
[10,9,8,7,6,5,4,2,1,3]=>111111110
[10,9,8,7,6,5,3,2,1,4]=>111111110
[10,9,8,7,6,4,3,2,1,5]=>111111110
[10,9,8,7,5,4,3,2,1,6]=>111111110
[10,9,8,6,5,4,3,2,1,7]=>111111110
[10,9,7,6,5,4,3,2,1,8]=>111111110
[10,8,7,6,5,4,3,2,1,9]=>111111110
[10,3,1,2,4,5,6,7,8,9]=>110000000
[10,4,1,2,3,5,6,7,8,9]=>110000000
[5,10,1,2,3,4,6,7,8,9]=>010000000
[10,6,1,2,3,4,5,7,8,9]=>110000000
[10,7,1,2,3,4,5,6,8,9]=>110000000
[8,10,1,2,3,4,5,6,7,9]=>010000000
[2,3,10,1,4,5,6,7,8,9]=>001000000
[4,3,1,10,2,5,6,7,8,9]=>110100000
[5,4,1,2,10,3,6,7,8,9]=>110010000
[5,6,1,2,3,10,4,7,8,9]=>010001000
[7,6,1,2,3,4,10,5,8,9]=>110000100
[8,7,1,2,3,4,5,10,6,9]=>110000010
[8,9,1,2,3,4,5,6,10,7]=>010000001
[10,9,8,7,6,5,2,4,1,3]=>111111010
[10,9,8,7,3,6,2,5,1,4]=>111101010
[10,9,8,7,6,3,5,1,2,4]=>111110100
[10,9,4,8,3,7,2,6,1,5]=>110101010
[10,9,8,4,7,3,6,1,2,5]=>111010100
[10,9,8,7,2,4,6,1,3,5]=>111100100
[10,9,8,7,4,6,1,2,3,5]=>111101000
[10,5,9,4,8,3,7,1,2,6]=>101010100
[10,9,5,8,2,4,7,1,3,6]=>110100100
[10,9,5,8,4,7,1,2,3,6]=>110101000
[10,9,8,3,5,7,1,2,4,6]=>111001000
[10,9,8,5,7,1,2,3,4,6]=>111010000
[6,10,5,9,2,4,8,1,3,7]=>010100100
[6,10,5,9,4,8,1,2,3,7]=>010101000
[10,3,6,9,2,5,8,1,4,7]=>100100100
[10,6,9,3,5,8,1,2,4,7]=>101001000
[10,6,9,5,8,1,2,3,4,7]=>101010000
[10,9,2,4,6,8,1,3,5,7]=>110001000
[10,9,4,6,8,1,2,3,5,7]=>110010000
[10,9,6,8,1,2,3,4,5,7]=>110100000
[4,7,10,3,6,9,1,2,5,8]=>001001000
[7,10,2,4,6,9,1,3,5,8]=>010001000
[7,10,4,6,9,1,2,3,5,8]=>010010000
[7,10,6,9,1,2,3,4,5,8]=>010100000
[10,3,5,7,9,1,2,4,6,8]=>100010000
[10,5,7,9,1,2,3,4,6,8]=>100100000
[10,7,9,1,2,3,4,5,6,8]=>101000000
[4,6,8,10,1,2,3,5,7,9]=>000100000
[6,8,10,1,2,3,4,5,7,9]=>001000000
[10,7,6,5,4,3,2,1,9,8]=>111111101
[8,7,6,5,4,3,2,10,9,1]=>111111011
[10,1,2,3,4,6,5,7,8,9]=>100001000
[2,3,4,5,7,6,8,9,10,1]=>000010001
[9,10,5,6,7,8,3,4,1,2]=>010001010
[5,8,9,6,7,10,3,4,1,2]=>001001010
[9,10,7,8,3,4,5,6,1,2]=>010100010
[9,10,3,6,7,4,5,8,1,2]=>010010010
[3,8,9,6,7,4,5,10,1,2]=>001010010
[3,6,7,8,9,4,5,10,1,2]=>000010010
[9,10,3,4,5,6,7,8,1,2]=>010000010
[3,8,9,4,5,6,7,10,1,2]=>001000010
[3,4,7,8,5,6,9,10,1,2]=>000100010
[7,8,9,10,5,6,1,2,3,4]=>000101000
[5,8,9,6,7,10,1,2,3,4]=>001001000
[9,10,7,8,1,4,5,2,3,6]=>010100100
[7,8,9,10,1,4,5,2,3,6]=>000100100
[9,10,1,6,7,4,5,2,3,8]=>010010100
[1,8,9,6,7,4,5,2,3,10]=>001010100
[1,6,7,8,9,4,5,2,3,10]=>000010100
[9,10,1,4,5,6,7,2,3,8]=>010000100
[1,8,9,4,5,6,7,2,3,10]=>001000100
[1,4,7,8,5,6,9,2,3,10]=>000100100
[1,4,5,6,7,8,9,2,3,10]=>000000100
[9,10,1,6,7,2,3,4,5,8]=>010010000
[1,8,9,6,7,2,3,4,5,10]=>001010000
[1,6,7,8,9,2,3,4,5,10]=>000010000
[9,10,1,2,5,6,3,4,7,8]=>010001000
[1,8,9,2,5,6,3,4,7,10]=>001001000
[1,2,7,8,5,6,3,4,9,10]=>000101000
[1,2,5,6,7,8,3,4,9,10]=>000001000
[1,8,9,2,3,4,5,6,7,10]=>001000000
[1,2,7,8,3,4,5,6,9,10]=>000100000
[1,2,3,6,7,4,5,8,9,10]=>000010000
[9,8,7,6,4,5,3,2,1,10]=>111101110
[1,10,9,8,7,5,6,4,3,2]=>011110111
[8,7,9,6,5,4,3,2,1,10]=>101111110
[8,7,6,9,5,4,3,2,1,10]=>110111110
[8,7,6,5,10,4,3,2,1,9]=>111011110
[8,7,6,5,4,9,3,2,1,10]=>111101110
[8,7,6,5,4,3,9,2,1,10]=>111110110
[7,10,9,6,5,4,3,2,1,8]=>011111110
[8,6,9,10,5,4,3,2,1,7]=>100111110
[8,7,5,9,10,4,3,2,1,6]=>110011110
[8,7,6,4,10,9,3,2,1,5]=>111011110
[8,7,6,5,3,9,10,2,1,4]=>111100110
[8,7,6,5,4,2,9,10,1,3]=>111110010
[8,7,6,5,4,3,1,10,9,2]=>111111011
[2,3,4,5,6,7,9,10,8,1]=>000000011
[2,3,4,5,6,8,9,10,7,1]=>000000011
[2,3,4,6,7,8,9,10,5,1]=>000000011
[2,3,5,6,7,8,9,10,4,1]=>000000011
[2,3,4,5,6,7,10,1,8,9]=>000000100
[2,3,4,5,6,9,1,10,8,7]=>000001011
[2,3,4,5,8,1,9,10,7,6]=>000010011
[2,3,4,7,1,8,9,10,5,6]=>000100010
[2,3,6,1,7,8,9,10,5,4]=>001000011
[2,5,1,6,7,8,9,10,4,3]=>010000011
[4,1,5,6,7,8,9,10,2,3]=>100000010
[2,10,9,8,7,6,5,4,1,3]=>011111110
[9,1,10,8,7,6,5,4,3,2]=>101111111
[9,1,2,3,4,5,6,10,7,8]=>100000010
[9,1,2,3,4,5,10,6,7,8]=>100000100
[9,1,2,3,10,4,5,6,7,8]=>100010000
[9,1,2,10,3,4,5,6,7,8]=>100100000
[9,2,1,8,7,6,5,4,3,10]=>110111110
[3,2,9,8,7,6,5,4,1,10]=>101111110
[9,3,1,8,7,6,5,4,10,2]=>110111101
[9,2,10,1,7,6,5,4,3,8]=>101011110
[4,2,9,8,7,6,5,10,1,3]=>101111010
[3,10,2,8,7,6,5,4,1,9]=>010111110
[8,9,2,3,4,5,6,7,10,1]=>010000001
[2,9,10,3,4,5,6,7,8,1]=>001000001
[8,1,9,3,4,5,6,7,10,2]=>101000001
[7,9,2,3,4,5,6,1,10,8]=>010000101
[2,9,1,10,4,5,6,7,8,3]=>010100001
[2,8,10,3,4,5,6,7,1,9]=>001000010
[9,8,7,6,5,4,3,1,2,10]=>111111100
[1,10,9,8,7,6,5,4,2,3]=>011111110
[1,2,10,9,8,7,6,5,4,3]=>001111111
[3,2,1,10,9,8,7,6,5,4]=>110111111
[1,3,2,10,9,8,7,6,5,4]=>010111111
[1,2,3,10,9,8,7,6,5,4]=>000111111
[1,4,3,2,10,9,8,7,6,5]=>011011111
[1,2,4,3,10,9,8,7,6,5]=>001011111
[1,2,3,4,10,9,8,7,6,5]=>000011111
[1,5,4,3,2,10,9,8,7,6]=>011101111
[2,1,5,4,3,10,9,8,7,6]=>101101111
[1,2,5,4,3,10,9,8,7,6]=>001101111
[1,3,2,5,4,10,9,8,7,6]=>010101111
[1,2,3,5,4,10,9,8,7,6]=>000101111
[1,2,6,5,4,3,10,9,8,7]=>001110111
[3,2,1,6,5,4,10,9,8,7]=>110110111
[1,3,2,6,5,4,10,9,8,7]=>010110111
[1,2,3,6,5,4,10,9,8,7]=>000110111
[1,2,4,3,6,5,10,9,8,7]=>001010111
[1,2,3,4,6,5,10,9,8,7]=>000010111
[1,2,3,4,5,6,10,9,8,7]=>000000111
[1,4,3,2,7,6,5,10,9,8]=>011011011
[2,1,4,3,7,6,5,10,9,8]=>101011011
[1,2,4,3,7,6,5,10,9,8]=>001011011
[1,2,3,4,7,6,5,10,9,8]=>000011011
[1,3,2,5,4,7,6,10,9,8]=>010101011
[1,2,3,5,4,7,6,10,9,8]=>000101011
[1,2,3,4,5,7,6,10,9,8]=>000001011
[1,2,3,4,5,6,7,10,9,8]=>000000011
[1,2,4,3,6,5,8,7,10,9]=>001010101
[1,2,3,4,6,5,8,7,10,9]=>000010101
[1,2,3,4,5,6,8,7,10,9]=>000000101
[10,9,8,7,6,5,2,1,4,3]=>111111101
[10,9,8,7,3,2,1,6,5,4]=>111111011
[10,9,8,7,6,3,1,5,2,4]=>111111010
[10,9,4,3,2,1,8,7,6,5]=>111110111
[10,9,8,4,3,1,7,6,2,5]=>111110110
[10,9,8,7,2,1,4,3,6,5]=>111110101
[10,9,8,7,4,1,6,2,3,5]=>111110100
[10,5,4,3,1,9,8,7,2,6]=>111101110
[10,9,5,2,1,8,4,3,7,6]=>111101101
[10,9,5,4,1,8,7,2,3,6]=>111101100
[10,9,8,3,1,5,2,7,4,6]=>111101010
[6,5,2,1,10,9,4,3,8,7]=>111011101
[6,5,4,1,10,9,8,2,3,7]=>111011100
[10,3,2,1,6,5,4,9,8,7]=>111011011
[10,6,5,1,9,8,2,3,4,7]=>111011000
[10,9,2,1,4,3,6,5,8,7]=>111010101
[10,9,6,1,8,2,3,4,5,7]=>111010000
[4,3,1,7,6,2,10,9,5,8]=>110110110
[7,2,1,10,4,3,6,5,9,8]=>110110101
[7,4,1,10,6,2,9,3,5,8]=>110110100
[7,6,1,10,9,2,3,4,5,8]=>110110000
[10,5,1,7,2,9,3,4,6,8]=>110101000
[10,7,1,9,2,3,4,5,6,8]=>110100000
[4,1,6,2,8,3,10,5,7,9]=>101010100
[6,1,8,2,10,3,4,5,7,9]=>101010000
[8,1,10,2,3,4,5,6,7,9]=>101000000
[10,1,9,8,7,6,5,4,3,2]=>101111111
[8,1,10,9,7,6,5,4,3,2]=>101111111
[7,1,10,9,8,6,5,4,3,2]=>101111111
[6,1,10,9,8,7,5,4,3,2]=>101111111
[5,1,10,9,8,7,6,4,3,2]=>101111111
[4,1,10,9,8,7,6,5,3,2]=>101111111
[3,1,10,9,8,7,6,5,4,2]=>101111111
[9,10,7,8,5,6,2,1,3,4]=>010101100
[9,10,7,8,4,3,5,6,1,2]=>010110010
[9,10,7,8,4,2,5,1,3,6]=>010110100
[9,10,7,8,3,2,1,4,5,6]=>010111000
[9,10,6,5,7,8,3,4,1,2]=>011001010
[9,10,6,5,7,8,2,1,3,4]=>011001100
[9,10,6,4,7,3,5,8,1,2]=>011010010
[9,10,6,4,7,2,5,1,3,8]=>011010100
[9,10,6,3,7,2,1,4,5,8]=>011011000
[9,10,5,4,3,6,7,8,1,2]=>011100010
[9,10,5,4,2,6,7,1,3,8]=>011100100
[9,10,5,3,2,6,1,4,7,8]=>011101000
[9,10,4,3,2,1,5,6,7,8]=>011110000
[8,7,9,10,5,6,3,4,1,2]=>100101010
[8,7,9,10,5,6,2,1,3,4]=>100101100
[8,7,9,10,4,3,5,6,1,2]=>100110010
[8,7,9,10,4,2,5,1,3,6]=>100110100
[8,7,9,10,3,2,1,4,5,6]=>100111000
[8,6,9,5,7,10,3,4,1,2]=>101001010
[8,6,9,5,7,10,2,1,3,4]=>101001100
[8,6,9,4,7,3,5,10,1,2]=>101010010
[8,6,9,3,7,2,1,4,5,10]=>101011000
[8,5,9,4,3,6,7,10,1,2]=>101100010
[8,5,9,4,2,6,7,1,3,10]=>101100100
[8,5,9,3,2,6,1,4,7,10]=>101101000
[8,4,9,3,2,1,5,6,7,10]=>101110000
[7,6,5,8,9,10,3,4,1,2]=>110001010
[7,6,5,8,9,10,2,1,3,4]=>110001100
[7,6,4,8,9,3,5,10,1,2]=>110010010
[7,6,4,8,9,2,5,1,3,10]=>110010100
[7,6,3,8,9,2,1,4,5,10]=>110011000
[7,5,4,8,3,6,9,10,1,2]=>110100010
[7,5,4,8,2,6,9,1,3,10]=>110100100
[7,4,3,8,2,1,5,6,9,10]=>110110000
[6,5,4,3,7,8,9,10,1,2]=>111000010
[6,5,4,2,7,8,9,1,3,10]=>111000100
[6,5,3,2,7,8,1,4,9,10]=>111001000
[1,3,2,7,6,5,10,9,8,4]=>010110111
[1,4,3,6,5,2,10,9,8,7]=>010110111
[1,4,3,7,6,2,10,9,8,5]=>010110111
[1,5,4,7,6,3,10,9,8,2]=>010110111
[1,4,3,8,7,2,10,9,6,5]=>010110111
[1,5,4,8,7,3,10,9,6,2]=>010110111
[2,3,1,6,5,4,10,9,8,7]=>010110111
[2,3,1,7,6,5,10,9,8,4]=>010110111
[2,4,1,6,5,3,10,9,8,7]=>010110111
[2,4,1,7,6,3,10,9,8,5]=>010110111
[2,5,1,7,6,4,10,9,8,3]=>010110111
[2,4,1,8,7,3,10,9,6,5]=>010110111
[2,5,1,8,7,4,10,9,6,3]=>010110111
[3,4,2,6,5,1,10,9,8,7]=>010110111
[3,4,2,7,6,1,10,9,8,5]=>010110111
[3,5,2,7,6,1,10,9,8,4]=>010110111
[4,5,3,7,6,2,10,9,8,1]=>010110111
[3,4,2,8,7,1,10,9,6,5]=>010110111
[3,5,2,8,7,1,10,9,6,4]=>010110111
[4,5,3,8,7,2,10,9,6,1]=>010110111
[2,5,1,6,4,3,10,9,8,7]=>010110111
[2,5,1,7,4,3,10,9,8,6]=>010110111
[2,6,1,7,5,4,10,9,8,3]=>010110111
[2,5,1,8,4,3,10,9,7,6]=>010110111
[2,6,1,8,5,4,10,9,7,3]=>010110111
[3,5,2,6,4,1,10,9,8,7]=>010110111
[3,5,2,7,4,1,10,9,8,6]=>010110111
[3,6,2,7,5,1,10,9,8,4]=>010110111
[4,6,3,7,5,2,10,9,8,1]=>010110111
[3,5,2,8,4,1,10,9,7,6]=>010110111
[3,6,2,8,5,1,10,9,7,4]=>010110111
[4,6,3,8,5,2,10,9,7,1]=>010110111
[3,7,2,8,6,1,10,9,5,4]=>010110111
[4,7,3,8,6,2,10,9,5,1]=>010110111
[2,5,1,9,4,3,10,8,7,6]=>010110111
[2,6,1,9,5,4,10,8,7,3]=>010110111
[3,5,2,9,4,1,10,8,7,6]=>010110111
[3,6,2,9,5,1,10,8,7,4]=>010110111
[4,6,3,9,5,2,10,8,7,1]=>010110111
[3,7,2,9,6,1,10,8,5,4]=>010110111
[10,1,2,3,4,5,6,7,9,8]=>100000001
[2,3,4,5,6,7,8,10,9,1]=>000000011
[3,2,10,9,8,7,6,5,4,1]=>101111111
[10,2,1,9,8,7,6,5,4,3]=>110111111
[2,3,4,6,5,7,8,9,10,1]=>000100001
[10,1,2,3,5,4,6,7,8,9]=>100010000
[9,7,10,8,5,6,3,4,1,2]=>101101010
[9,7,10,5,8,6,3,4,1,2]=>101011010
[9,7,10,5,8,3,6,4,1,2]=>101010110
[9,7,10,5,8,3,6,2,4,1]=>101010101
[9,7,10,5,8,4,6,2,3,1]=>101010101
[9,7,10,6,8,4,5,2,3,1]=>101010101
[9,8,10,6,7,4,5,2,3,1]=>101010101
[1,10,9,8,7,6,5,2,4,3]=>011111101
[1,10,9,8,7,6,2,5,4,3]=>011111011
[2,10,9,8,7,1,6,5,4,3]=>011110111
[1,10,9,8,2,7,6,5,4,3]=>011101111
[1,10,9,2,8,7,6,5,4,3]=>011011111
[2,10,1,9,8,7,6,5,4,3]=>010111111
[3,10,9,8,7,6,5,2,1,4]=>011111110
[4,10,9,8,7,6,1,2,5,3]=>011111001
[5,10,9,8,7,1,2,6,4,3]=>011110011
[6,10,9,8,2,1,7,5,4,3]=>011110111
[7,10,9,1,2,8,6,5,4,3]=>011001111
[8,10,1,2,9,7,6,5,4,3]=>010011111
[9,2,1,10,8,7,6,5,4,3]=>110111111
[10,2,1,4,3,6,5,8,7,9]=>110101010
[10,2,1,4,3,6,5,7,9,8]=>110101001
[10,2,1,4,3,5,7,8,6,9]=>110100010
[10,2,1,4,3,5,7,6,9,8]=>110100101
[10,2,1,4,3,5,6,8,9,7]=>110100001
[10,2,1,3,5,6,4,8,7,9]=>110001010
[10,2,1,3,5,6,4,7,9,8]=>110001001
[10,2,1,3,5,4,7,8,6,9]=>110010010
[10,2,1,3,5,4,7,6,9,8]=>110010101
[10,2,1,3,5,4,6,8,9,7]=>110010001
[10,2,1,3,4,6,7,8,5,9]=>110000010
[10,2,1,3,4,6,7,5,9,8]=>110000101
[10,2,1,3,4,6,5,8,9,7]=>110001001
[10,2,1,3,4,5,7,8,9,6]=>110000001
[10,1,3,4,2,6,5,8,7,9]=>100101010
[10,1,3,4,2,6,5,7,9,8]=>100101001
[10,1,3,4,2,5,7,8,6,9]=>100100010
[10,1,3,4,2,5,7,6,9,8]=>100100101
[10,1,3,4,2,5,6,8,9,7]=>100100001
[10,1,3,2,5,6,4,8,7,9]=>101001010
[10,1,3,2,5,6,4,7,9,8]=>101001001
[10,1,3,2,5,4,7,8,6,9]=>101010010
[10,1,3,2,5,4,7,6,9,8]=>101010101
[10,1,3,2,5,4,6,8,9,7]=>101010001
[10,1,3,2,4,6,7,8,5,9]=>101000010
[10,1,3,2,4,6,7,5,9,8]=>101000101
[10,1,3,2,4,6,5,8,9,7]=>101001001
[10,1,3,2,4,5,7,8,9,6]=>101000001
[10,1,2,4,5,6,3,8,7,9]=>100001010
[10,1,2,4,5,6,3,7,9,8]=>100001001
[10,1,2,4,5,3,7,8,6,9]=>100010010
[10,1,2,4,5,3,7,6,9,8]=>100010101
[10,1,2,4,5,3,6,8,9,7]=>100010001
[10,1,2,4,3,6,7,8,5,9]=>100100010
[10,1,2,4,3,6,7,5,9,8]=>100100101
[10,1,2,4,3,6,5,8,9,7]=>100101001
[10,1,2,4,3,5,7,8,9,6]=>100100001
[10,1,2,3,5,6,7,8,4,9]=>100000010
[10,1,2,3,5,6,7,4,9,8]=>100000101
[10,1,2,3,5,6,4,8,9,7]=>100001001
[10,1,2,3,5,4,7,8,9,6]=>100010001
[10,1,2,3,4,6,7,8,9,5]=>100000001
[6,7,8,9,1,2,3,4,5,10]=>000100000
[1,7,8,9,10,2,3,4,5,6]=>000010000
[5,6,7,8,9,1,2,3,4,10]=>000010000
[1,6,7,8,9,10,2,3,4,5]=>000001000
[1,2,4,3,5,6,7,8,9,10]=>001000000
[1,2,4,6,8,10,9,7,5,3]=>000001111
[2,4,1,5,6,7,8,9,10,3]=>010000001
[2,3,4,5,6,7,9,1,10,8]=>000000101
[2,3,5,1,6,7,8,9,10,4]=>001000001
[2,3,4,5,6,8,1,9,10,7]=>000001001
[2,3,4,6,1,7,8,9,10,5]=>000100001
[2,3,4,5,7,1,8,9,10,6]=>000010001
[4,1,2,5,6,7,8,9,10,3]=>100000001
[4,3,1,5,6,7,8,10,2,9]=>110000010
[2,6,1,5,3,7,8,9,10,4]=>010100001
[5,3,4,1,6,7,9,2,10,8]=>101000101
[2,3,8,1,6,7,4,9,10,5]=>001001001
[6,3,4,5,1,8,2,9,10,7]=>100101001
[2,3,4,10,1,7,8,9,5,6]=>000100010
[9,2,1,3,4,5,6,7,8,10]=>110000000
[8,7,2,4,6,10,1,3,5,9]=>110001000
[2,10,7,9,4,6,8,1,3,5]=>010100100
[6,5,2,4,8,10,1,3,7,9]=>110001000
[2,8,5,7,4,6,10,1,3,9]=>010100100
[10,5,2,4,7,9,6,8,1,3]=>110001010
[10,9,2,8,5,7,4,6,1,3]=>110101010
[8,7,6,5,2,4,10,1,3,9]=>111100100
[10,7,2,6,5,9,4,8,1,3]=>110101010
[6,10,5,9,8,7,2,4,1,3]=>010111010
[4,10,3,9,2,6,8,1,5,7]=>010100100
[4,3,10,7,9,2,6,8,1,5]=>101010010
[3,6,2,5,4,8,10,1,7,9]=>010100100
[3,6,10,2,5,9,4,8,1,7]=>001001010
[3,5,8,2,4,7,6,10,1,9]=>001001010
[3,5,7,10,2,4,6,9,8,1]=>000100011
[10,9,3,5,8,2,4,7,6,1]=>110010011
[8,7,3,6,2,5,4,10,1,9]=>110101010
[7,6,3,5,10,2,4,9,8,1]=>110010011
[3,6,10,9,8,2,5,7,4,1]=>001110011
[10,9,8,7,3,6,2,5,4,1]=>111101011
[5,4,3,8,2,7,6,10,1,9]=>110101010
[5,4,3,7,10,2,6,9,8,1]=>110010011
[5,10,4,9,3,8,2,7,6,1]=>010101011
[4,8,3,7,6,5,2,10,1,9]=>010111010
[4,7,3,6,5,10,2,9,8,1]=>010101011
[4,6,10,3,5,9,8,7,2,1]=>001001111
[10,9,4,8,3,7,6,5,2,1]=>110101111
[7,6,5,4,3,10,2,9,8,1]=>111101011
[6,5,4,10,3,9,8,7,2,1]=>110101111
[5,10,4,9,8,7,6,3,2,1]=>010111111
[9,2,3,4,5,6,7,8,1,10]=>100000010
[1,10,3,4,5,6,7,8,9,2]=>010000001
[1,10,9,4,5,6,7,8,3,2]=>011000011
[8,1,2,3,4,5,6,7,10,9]=>100000001
[2,3,4,5,6,7,9,8,1,10]=>000000110
[1,3,4,5,6,7,8,10,9,2]=>000000011
[1,2,3,4,5,6,10,8,9,7]=>000000101
[1,2,3,4,5,10,7,8,9,6]=>000001001
[1,2,3,4,10,6,7,8,9,5]=>000010001
[1,2,3,10,5,6,7,8,9,4]=>000100001
[1,2,10,4,5,6,7,8,9,3]=>001000001
[10,2,3,4,5,6,7,8,9,1]=>100000001
[1,2,3,4,6,8,5,7,10,9]=>000001001
[1,2,3,4,7,5,8,6,10,9]=>000010101
[1,2,3,5,7,4,6,9,8,10]=>000010010
[1,2,3,6,4,7,5,9,8,10]=>000101010
[10,9,8,7,5,6,4,3,2,1]=>111101111
[2,1,10,9,8,6,7,5,4,3]=>101110111
[1,9,8,7,6,5,4,3,2,10]=>011111110
[2,8,9,10,1,3,4,5,6,7]=>000100000
[8,1,9,2,10,3,4,5,6,7]=>101010000
[7,1,8,2,9,3,10,4,5,6]=>101010100
[5,1,6,2,7,3,8,4,10,9]=>101010101
[4,1,5,2,6,3,8,7,10,9]=>101010101
[2,1,3,4,5,6,7,9,10,8]=>100000001
[2,1,3,4,5,6,7,8,10,9]=>100000001
[7,1,2,3,4,5,8,9,10,6]=>100000001
[6,1,2,3,4,7,8,9,10,5]=>100000001
[5,1,2,3,6,7,8,9,10,4]=>100000001
[9,7,5,4,3,2,1,10,8,6]=>111111011
[8,6,5,4,3,2,1,9,7,10]=>111111010
[9,7,5,3,2,1,10,8,6,4]=>111110111
[8,6,4,3,2,1,9,7,5,10]=>111110110
[8,5,4,3,2,1,9,6,10,7]=>111110101
[7,5,4,3,2,1,8,6,9,10]=>111110100
[8,6,4,2,1,9,7,5,3,10]=>111101110
[8,5,3,2,1,9,6,4,10,7]=>111101101
[7,5,3,2,1,8,6,4,9,10]=>111101100
[7,4,3,2,1,8,5,9,6,10]=>111101010
[6,4,3,2,1,7,5,8,9,10]=>111101000
[8,5,3,1,9,6,4,2,10,7]=>111011101
[7,5,3,1,8,6,4,2,9,10]=>111011100
[8,5,2,1,9,6,3,10,7,4]=>111011011
[7,4,2,1,8,5,3,9,6,10]=>111011010
[6,4,2,1,7,5,3,8,9,10]=>111011000
[7,3,2,1,8,4,9,5,10,6]=>111010101
[6,3,2,1,7,4,8,5,9,10]=>111010100
[5,3,2,1,6,4,7,8,9,10]=>111010000
[7,4,1,8,5,2,9,6,3,10]=>110110110
[7,3,1,8,4,2,9,5,10,6]=>110110101
[6,3,1,7,4,2,8,5,9,10]=>110110100
[5,3,1,6,4,2,7,8,9,10]=>110110000
[6,2,1,7,3,8,4,9,5,10]=>110101010
[5,2,1,6,3,7,4,8,9,10]=>110101000
[4,2,1,5,3,6,7,8,9,10]=>110100000
[5,1,6,2,7,3,8,4,9,10]=>101010100
[4,1,5,2,6,3,7,8,9,10]=>101010000
[3,1,4,2,5,6,7,8,9,10]=>101000000
[1,9,2,3,4,5,6,7,8,10]=>010000000
[1,2,3,4,5,6,7,9,8,10]=>000000010
[10,3,4,5,6,7,8,9,1,2]=>100000010
[9,3,4,5,6,7,8,1,10,2]=>100000101
[8,3,4,5,6,7,1,9,10,2]=>100001001
[7,3,4,5,6,1,8,9,10,2]=>100010001
[6,3,4,5,1,7,8,9,10,2]=>100100001
[5,3,4,1,6,7,8,9,10,2]=>101000001
[4,3,1,5,6,7,8,9,10,2]=>110000001
[10,9,4,5,6,7,8,1,2,3]=>110000100
[10,3,8,5,6,7,1,9,2,4]=>101001010
[10,3,4,7,6,1,8,9,2,5]=>100110010
[10,3,4,5,1,7,8,9,2,6]=>100100010
[5,3,4,1,6,10,8,9,2,7]=>101001010
[4,3,1,5,6,7,10,9,2,8]=>110000110
[3,1,4,5,6,7,8,10,2,9]=>100000010
[9,2,3,4,5,6,7,10,1,8]=>100000010
[9,2,10,4,5,6,7,8,1,3]=>101000010
[2,10,4,5,6,7,8,9,1,3]=>010000010
[9,8,4,5,6,7,1,2,10,3]=>110001001
[2,10,9,5,6,7,8,1,3,4]=>011000100
[9,3,8,5,6,7,1,2,10,4]=>101001001
[9,7,4,5,6,1,8,2,10,3]=>110010101
[2,10,4,9,6,7,8,1,3,5]=>010100100
[2,10,8,5,6,7,1,9,3,4]=>011001010
[1,3,2,4,5,6,7,8,9,10]=>010000000
[9,2,3,4,5,6,7,8,10,1]=>100000001
[8,2,3,4,5,6,7,10,9,1]=>100000011
[7,2,3,4,5,6,10,8,9,1]=>100000101
[6,2,3,4,5,10,7,8,9,1]=>100001001
[5,2,3,4,10,6,7,8,9,1]=>100010001
[4,2,3,10,5,6,7,8,9,1]=>100100001
[3,2,10,4,5,6,7,8,9,1]=>101000001
[2,10,3,4,5,6,7,8,9,1]=>010000001
[2,3,4,6,7,5,8,9,1,10]=>000010010
[1,3,4,5,7,8,6,9,10,2]=>000001001
[9,7,5,3,1,8,6,4,2,10]=>111101110
[1,10,8,6,4,2,9,7,5,3]=>011110111
[3,1,2,4,5,6,7,8,9,10]=>100000000
[6,3,5,1,2,4,7,8,9,10]=>101000000
[9,7,6,5,4,3,2,1,8,10]=>111111100
[10,8,6,9,4,7,2,5,1,3]=>110101010
[10,3,2,4,5,6,7,8,9,1]=>110000001
[9,1,2,3,4,5,6,8,7,10]=>100000010
[1,10,2,3,4,5,6,7,9,8]=>010000001
[1,3,4,5,6,7,8,10,2,9]=>000000010
[1,3,4,5,6,7,8,9,2,10]=>000000010
[1,8,10,9,7,6,5,4,3,2]=>001111111
[1,7,10,9,8,6,5,4,3,2]=>001111111
[1,5,10,9,8,7,6,4,3,2]=>001111111
[1,4,10,9,8,7,6,5,3,2]=>001111111
[9,8,1,10,7,6,5,4,3,2]=>110111111
[7,8,10,1,9,6,5,4,3,2]=>001011111
[6,7,10,9,1,8,5,4,3,2]=>001101111
[6,5,10,9,8,1,7,4,3,2]=>101110111
[4,5,10,9,8,7,1,6,3,2]=>001111011
[3,4,10,9,8,7,6,1,5,2]=>001111101
[3,2,10,9,8,7,6,5,1,4]=>101111110
[1,2,3,4,5,6,8,10,9,7]=>000000011
[1,2,3,4,5,7,8,10,9,6]=>000000011
[1,2,3,4,5,7,9,10,8,6]=>000000011
[1,2,3,4,5,7,10,9,8,6]=>000000111
[1,2,3,4,6,7,8,10,9,5]=>000000011
[1,2,3,4,6,7,9,10,8,5]=>000000011
[1,2,3,4,6,7,10,9,8,5]=>000000111
[1,2,3,4,6,8,10,9,7,5]=>000000111
[1,2,3,4,6,10,9,8,7,5]=>000001111
[1,2,3,5,6,7,9,10,8,4]=>000000011
[1,2,3,5,6,7,10,9,8,4]=>000000111
[1,2,3,5,6,8,9,10,7,4]=>000000011
[1,2,3,5,6,8,10,9,7,4]=>000000111
[1,2,3,5,6,10,9,8,7,4]=>000001111
[1,2,3,5,7,9,10,8,6,4]=>000000111
[1,2,3,5,7,10,9,8,6,4]=>000001111
[1,2,3,5,10,9,8,7,6,4]=>000011111
[1,2,4,5,7,8,10,9,6,3]=>000000111
[1,2,4,5,7,9,10,8,6,3]=>000000111
[1,2,4,5,7,10,9,8,6,3]=>000001111
[1,2,4,5,10,9,8,7,6,3]=>000011111
[1,2,4,6,10,9,8,7,5,3]=>000011111
[1,2,4,10,9,8,7,6,5,3]=>000111111
[1,3,5,7,9,10,8,6,4,2]=>000001111
[1,3,5,7,10,9,8,6,4,2]=>000011111
[1,3,5,10,9,8,7,6,4,2]=>000111111
[1,3,10,9,8,7,6,5,4,2]=>001111111
[9,1,8,2,3,4,5,6,10,7]=>101000001
[9,7,1,2,3,4,5,6,10,8]=>110000001
[2,10,1,9,3,4,5,6,7,8]=>010100000
[2,10,8,1,3,4,5,6,7,9]=>011000000
[4,1,3,2,5,6,7,8,9,10]=>101000000
[6,1,2,4,5,3,7,8,9,10]=>100010000
[5,4,1,2,3,6,7,8,9,10]=>110000000
[8,1,2,3,5,6,7,4,9,10]=>100000100
[4,1,6,3,5,2,7,8,9,10]=>101010000
[8,1,7,3,2,6,4,5,9,10]=>101101000
[5,7,1,6,2,4,3,8,9,10]=>010101000
[7,3,4,6,1,2,5,8,9,10]=>100100000
[6,1,2,9,4,5,7,8,3,10]=>100100010
[4,1,6,3,8,5,7,2,9,10]=>101010100
[6,8,5,1,7,2,3,4,9,10]=>011010000
[8,3,4,5,7,1,2,6,9,10]=>100010000
[10,1,6,3,9,5,2,8,4,7]=>101011010
[5,7,1,9,2,8,4,6,3,10]=>010101010
[7,9,4,6,1,8,2,3,5,10]=>010101000
[9,3,4,5,6,8,1,2,7,10]=>100001000
[4,1,6,3,8,5,10,7,9,2]=>101010101
[6,8,10,1,7,2,9,3,5,4]=>001010101
[8,10,4,5,7,1,9,2,3,6]=>010010100
[10,3,4,5,6,7,9,1,2,8]=>100000100
[3,5,7,9,1,2,4,6,8,10]=>000100000
[4,1,2,3,5,6,7,8,9,10]=>100000000
[5,1,2,3,4,6,7,8,9,10]=>100000000
[8,1,2,3,4,5,6,7,9,10]=>100000000
[7,1,2,3,4,5,6,8,9,10]=>100000000
[6,1,2,3,4,5,7,8,9,10]=>100000000
[3,4,1,6,2,5,8,7,10,9]=>010100101
[10,8,6,4,2,1,3,5,7,9]=>111110000
[10,8,6,2,1,4,3,5,7,9]=>111101000
[10,8,4,2,1,6,3,5,7,9]=>111101000
[10,6,4,2,1,8,3,5,7,9]=>111101000
[8,6,4,2,1,10,3,5,7,9]=>111101000
[8,6,4,2,9,1,3,5,7,10]=>111010000
[9,6,4,2,7,1,3,5,8,10]=>111010000
[9,7,4,2,5,1,3,6,8,10]=>111010000
[9,7,5,2,3,1,4,6,8,10]=>111010000
[9,7,5,3,1,2,4,6,8,10]=>111100000
[1,2,10,3,4,5,6,7,9,8]=>001000001
[1,2,3,9,4,5,6,10,7,8]=>000100010
[1,2,3,4,10,5,6,7,9,8]=>000010001
[1,2,3,4,5,10,6,7,9,8]=>000001001
[1,2,3,4,5,6,9,10,7,8]=>000000010
[8,1,2,3,4,5,9,6,10,7]=>100000101
[7,10,1,2,3,4,5,9,6,8]=>010000010
[6,1,10,2,3,4,5,9,7,8]=>101000010
[5,1,2,3,4,6,9,7,10,8]=>100000101
[4,1,2,3,10,5,6,9,7,8]=>100010010
[3,1,2,4,5,10,6,9,7,8]=>100001010
[9,1,2,3,4,5,7,10,6,8]=>100000010
[9,1,2,3,5,7,10,4,6,8]=>100000100
[9,1,3,5,7,10,2,4,6,8]=>100001000
[7,8,9,6,5,4,3,2,1,10]=>001111110
[7,6,8,9,5,4,3,2,1,10]=>100111110
[7,6,5,8,9,4,3,2,1,10]=>110011110
[7,6,5,4,8,9,3,2,1,10]=>111001110
[7,6,5,4,3,8,9,2,1,10]=>111100110
[7,6,5,4,3,2,8,9,1,10]=>111110010
[9,8,7,6,5,4,2,1,3,10]=>111111100
[9,8,7,6,5,3,2,1,4,10]=>111111100
[9,8,7,6,4,3,2,1,5,10]=>111111100
[9,8,7,5,4,3,2,1,6,10]=>111111100
[9,8,6,5,4,3,2,1,7,10]=>111111100
[10,1,3,4,5,6,7,8,9,2]=>100000001
[1,9,3,4,5,6,7,10,2,8]=>010000010
[9,2,3,4,5,6,1,10,8,7]=>100001011
[9,1,10,4,5,6,7,8,3,2]=>101000011
[8,10,3,4,5,6,7,1,9,2]=>010000101
[10,6,1,2,3,4,9,5,7,8]=>110000100
[10,7,1,2,3,4,9,5,6,8]=>110000100
[9,10,1,2,3,4,8,5,6,7]=>010000100
[10,1,5,2,3,4,6,7,8,9]=>101000000
[10,1,2,5,3,4,6,7,8,9]=>100100000
[5,1,2,3,10,4,6,7,8,9]=>100010000
[7,6,1,2,3,4,10,9,5,8]=>110000110
[9,7,1,2,3,4,8,5,10,6]=>110000101
[5,9,1,2,3,4,6,7,10,8]=>010000001
[10,8,4,9,1,2,3,5,6,7]=>110100000
[2,10,1,5,3,4,6,7,8,9]=>010100000
[3,1,5,2,10,4,6,7,8,9]=>101010000
[4,1,2,10,3,5,6,7,8,9]=>100100000
[9,10,1,8,7,6,5,4,3,2]=>010111111
[10,9,1,8,7,6,5,4,3,2]=>110111111
[10,9,8,1,7,6,5,4,3,2]=>111011111
[10,9,8,7,1,6,5,4,3,2]=>111101111
[10,9,8,7,6,1,5,4,3,2]=>111110111
[10,9,8,7,6,5,1,4,3,2]=>111111011
[10,9,8,7,6,5,4,1,3,2]=>111111101
[3,2,5,4,7,6,9,8,1,10]=>101010110
[2,4,3,6,5,8,7,10,9,1]=>010101011
[3,4,5,6,7,8,9,2,10,1]=>000000101
[2,4,5,6,7,8,9,10,3,1]=>000000011
[3,2,5,4,7,6,1,10,8,9]=>101011010
[3,2,5,4,9,8,6,7,1,10]=>101011010
[3,2,5,4,1,8,6,10,7,9]=>101101010
[3,2,5,4,1,10,9,6,7,8]=>101101100
[3,2,7,6,4,5,9,8,1,10]=>101100110
[3,2,7,6,4,5,1,10,8,9]=>101101010
[3,2,9,6,4,8,5,7,1,10]=>101101010
[3,2,1,6,4,8,5,10,7,9]=>110101010
[3,2,1,6,4,10,9,5,7,8]=>110101100
[3,2,9,8,7,4,5,6,1,10]=>101110010
[3,2,1,8,7,4,5,10,6,9]=>110110010
[3,2,1,10,7,4,9,5,6,8]=>110110100
[3,2,1,10,9,8,4,5,6,7]=>110111000
[5,4,2,3,7,6,9,8,1,10]=>110010110
[5,4,2,3,7,6,1,10,8,9]=>110011010
[5,4,2,3,9,8,6,7,1,10]=>110011010
[5,4,2,3,1,8,6,10,7,9]=>110101010
[5,4,2,3,1,10,9,6,7,8]=>110101100
[7,4,2,6,3,5,9,8,1,10]=>110100110
[7,4,2,6,3,5,1,10,8,9]=>110101010
[9,4,2,6,3,8,5,7,1,10]=>110101010
[1,4,2,6,3,8,5,10,7,9]=>010101010
[1,4,2,6,3,10,9,5,7,8]=>010101100
[9,4,2,8,7,3,5,6,1,10]=>110110010
[1,4,2,8,7,3,5,10,6,9]=>010110010
[1,4,2,10,7,3,9,5,6,8]=>010110100
[1,4,2,10,9,8,3,5,6,7]=>010111000
[7,6,5,2,3,4,9,8,1,10]=>111000110
[7,6,5,2,3,4,1,10,8,9]=>111001010
[9,6,5,2,3,8,4,7,1,10]=>111001010
[1,6,5,2,3,8,4,10,7,9]=>011001010
[1,6,5,2,3,10,9,4,7,8]=>011001100
[9,8,5,2,7,3,4,6,1,10]=>111010010
[1,8,5,2,7,3,4,10,6,9]=>011010010
[1,10,5,2,7,3,9,4,6,8]=>011010100
[1,10,5,2,9,8,3,4,6,7]=>011011000
[9,8,7,6,2,3,4,5,1,10]=>111100010
[1,8,7,6,2,3,4,10,5,9]=>011100010
[1,10,7,6,2,3,9,4,5,8]=>011100100
[1,10,9,6,2,8,3,4,5,7]=>011101000
[1,10,9,8,7,2,3,4,5,6]=>011110000
[3,2,5,4,7,6,1,10,9,8]=>101011011
[3,2,5,4,9,8,7,6,1,10]=>101011110
[3,2,5,4,1,8,7,10,9,6]=>101101011
[3,2,5,4,1,10,9,8,7,6]=>101101111
[3,2,7,6,5,4,9,8,1,10]=>101110110
[3,2,7,6,5,4,1,10,9,8]=>101111011
[3,2,9,6,5,8,7,4,1,10]=>101101110
[3,2,1,6,5,8,7,10,9,4]=>110101011
[3,2,1,6,5,10,9,8,7,4]=>110101111
[3,2,1,8,7,6,5,10,9,4]=>110111011
[3,2,1,10,7,6,9,8,5,4]=>110110111
[5,4,3,2,7,6,9,8,1,10]=>111010110
[5,4,3,2,7,6,1,10,9,8]=>111011011
[5,4,3,2,9,8,7,6,1,10]=>111011110
[5,4,3,2,1,8,7,10,9,6]=>111101011
[7,4,3,6,5,2,9,8,1,10]=>110110110
[7,4,3,6,5,2,1,10,9,8]=>110111011
[9,4,3,6,5,8,7,2,1,10]=>110101110
[1,4,3,6,5,8,7,10,9,2]=>010101011
[1,4,3,6,5,10,9,8,7,2]=>010101111
[9,4,3,8,7,6,5,2,1,10]=>110111110
[1,4,3,8,7,6,5,10,9,2]=>010111011
[1,4,3,10,7,6,9,8,5,2]=>010110111
[1,4,3,10,9,8,7,6,5,2]=>010111111
[7,6,5,4,3,2,9,8,1,10]=>111110110
[9,6,5,4,3,8,7,2,1,10]=>111101110
[1,6,5,4,3,8,7,10,9,2]=>011101011
[1,6,5,4,3,10,9,8,7,2]=>011101111
[9,8,5,4,7,6,3,2,1,10]=>111011110
[1,8,5,4,7,6,3,10,9,2]=>011011011
[1,10,5,4,7,6,9,8,3,2]=>011010111
[1,10,5,4,9,8,7,6,3,2]=>011011111
[1,10,7,6,5,4,9,8,3,2]=>011110111
[1,10,9,6,5,8,7,4,3,2]=>011101111
[6,5,7,4,8,3,9,2,10,1]=>101010101
[6,5,7,4,8,3,10,2,9,1]=>101010101
[5,6,4,7,3,8,2,9,1,10]=>010101010
[9,8,7,6,1,2,3,4,5,10]=>111100000
[8,10,1,2,3,4,5,9,6,7]=>010000010
[10,8,1,9,2,3,4,5,6,7]=>110100000
[8,7,1,2,3,4,5,9,10,6]=>110000001
[2,10,1,5,6,7,8,9,3,4]=>010000010
[10,9,2,3,4,5,6,7,8,1]=>110000001
[2,4,3,1,6,5,8,7,10,9]=>011010101
[7,8,4,9,5,2,10,6,3,1]=>010110111
[2,1,4,3,6,5,8,10,9,7]=>101010011
[2,1,4,3,6,8,7,5,10,9]=>101001101
[2,1,4,3,8,10,7,9,5,6]=>101001010
[2,1,4,3,6,7,10,8,9,5]=>101000101
[2,1,4,6,5,3,8,7,10,9]=>100110101
[2,1,4,6,5,3,8,10,9,7]=>100110011
[2,1,6,8,5,7,3,4,10,9]=>100101001
[2,1,8,7,5,10,4,9,3,6]=>101101010
[2,1,6,7,5,10,8,4,9,3]=>100101101
[2,1,4,5,8,6,7,3,10,9]=>100010101
[2,1,8,5,10,6,7,9,3,4]=>101010010
[2,1,4,7,10,6,9,8,3,5]=>100010110
[2,1,4,5,6,10,7,8,9,3]=>100001001
[2,4,3,1,6,5,8,10,9,7]=>011010011
[2,4,3,1,6,8,7,5,10,9]=>011001101
[2,4,3,1,8,10,7,9,5,6]=>011001010
[2,4,3,1,6,7,10,8,9,5]=>011000101
[4,6,3,5,1,2,8,7,10,9]=>010100101
[4,6,3,5,1,2,8,10,9,7]=>010100011
[6,5,3,8,2,7,1,4,10,9]=>110101001
[8,5,3,7,2,10,4,9,1,6]=>110101010
[6,5,3,7,2,10,8,4,9,1]=>110101101
[4,5,3,8,6,2,7,1,10,9]=>010110101
[8,6,3,5,10,2,7,9,1,4]=>110010010
[4,7,3,6,10,1,9,8,2,5]=>010010110
[4,5,3,6,10,7,1,8,9,2]=>010011001
[2,3,6,4,5,1,8,7,10,9]=>001010101
[2,3,6,4,5,1,8,10,9,7]=>001010011
[6,3,8,4,5,7,1,2,10,9]=>101001001
[8,3,7,4,5,10,2,9,1,6]=>101001010
[6,3,7,4,5,10,8,2,9,1]=>101001101
[2,5,8,4,7,6,1,3,10,9]=>001011001
[8,5,10,4,7,6,2,9,1,3]=>101011010
[2,7,10,4,8,6,9,5,1,3]=>001010110
[2,5,6,4,10,8,7,3,9,1]=>001011101
[2,3,4,8,5,6,7,1,10,9]=>000100101
[8,3,4,10,5,6,7,9,1,2]=>100100010
[2,7,4,10,5,6,9,8,1,3]=>010100110
[2,3,6,10,5,9,7,8,1,4]=>000101010
[2,3,4,5,10,6,7,8,9,1]=>000010001
[2,3,4,5,6,1,8,9,10,7]=>000010001
[2,3,4,5,6,8,9,1,10,7]=>000000101
[4,5,6,1,7,8,9,10,2,3]=>001000010
[3,5,6,1,7,8,9,10,2,4]=>001000010
[3,4,6,1,7,8,9,10,2,5]=>001000010
[3,4,5,1,7,8,9,10,2,6]=>001000010
[2,1,4,3,6,5,8,9,10,7]=>101010001
[2,1,4,3,6,7,8,5,10,9]=>101000101
[2,1,4,3,8,7,9,10,5,6]=>101010010
[2,1,4,3,6,7,8,9,10,5]=>101000001
[2,1,4,5,6,3,8,7,10,9]=>100010101
[2,1,4,5,6,3,8,9,10,7]=>100010001
[2,1,6,5,7,8,3,4,10,9]=>101001001
[2,1,8,5,9,7,3,10,6,4]=>101011011
[2,1,6,5,7,8,9,10,3,4]=>101000010
[2,1,4,5,6,7,8,3,10,9]=>100000101
[2,1,8,5,6,7,9,10,3,4]=>101000010
[2,1,4,7,6,8,9,3,10,5]=>100100101
[2,1,4,5,6,7,8,9,10,3]=>100000001
[2,3,4,1,6,5,8,7,10,9]=>001010101
[2,3,4,1,6,5,8,9,10,7]=>001010001
[2,3,4,1,6,7,8,5,10,9]=>001000101
[2,3,4,1,8,7,9,10,5,6]=>001010010
[2,3,4,1,6,7,8,9,10,5]=>001000001
[4,3,5,6,1,2,8,7,10,9]=>100100101
[4,3,5,6,1,2,8,9,10,7]=>100100001
[6,3,7,5,1,8,4,2,10,9]=>101101101
[8,3,9,5,1,7,4,10,6,2]=>101101011
[6,3,7,5,1,8,9,10,4,2]=>101100011
[4,3,5,6,7,8,1,2,10,9]=>100001001
[8,3,9,5,6,7,1,10,4,2]=>101001011
[4,3,7,8,6,10,9,2,5,1]=>100101101
[4,3,5,6,7,8,9,10,1,2]=>100000010
[2,3,4,5,6,1,8,7,10,9]=>000010101
[6,3,4,5,7,8,1,2,10,9]=>100001001
[8,3,4,5,9,7,1,10,6,2]=>100011011
[6,3,4,5,7,8,9,10,1,2]=>100000010
[2,5,4,6,7,1,8,3,10,9]=>010010101
[8,5,4,6,7,1,9,10,3,2]=>110010011
[2,7,4,8,6,1,9,5,10,3]=>010110101
[2,5,4,6,7,8,9,1,10,3]=>010000101
[2,3,4,5,6,7,8,1,10,9]=>000000101
[8,3,4,5,6,7,9,10,1,2]=>100000010
[2,7,4,5,6,8,9,1,10,3]=>010000101
[2,3,6,5,7,8,1,9,10,4]=>001001001
[4,5,2,3,6,7,8,9,10,1]=>010000001
[4,3,2,5,6,7,8,9,10,1]=>110000001
[5,6,7,2,3,4,8,9,10,1]=>001000001
[5,3,6,2,4,7,8,9,10,1]=>101000001
[5,4,3,2,6,7,8,9,10,1]=>111000001
[6,7,8,9,2,3,4,5,10,1]=>000100001
[6,3,7,8,2,4,5,9,10,1]=>100100001
[6,7,4,5,2,3,8,9,10,1]=>010100001
[6,4,3,7,2,5,8,9,10,1]=>110100001
[6,5,4,3,2,7,8,9,10,1]=>111100001
[7,8,9,10,1,3,4,5,6,2]=>000100001
[7,3,8,9,10,2,4,5,6,1]=>100010001
[7,4,3,8,9,2,5,6,10,1]=>110010001
[7,5,8,3,6,2,4,9,10,1]=>101010001
[7,5,4,3,8,2,6,9,10,1]=>111010001
[7,6,5,4,3,2,8,9,10,1]=>111110001
[8,5,9,3,6,10,2,4,7,1]=>101001001
[8,5,4,3,9,10,2,6,7,1]=>111001001
[8,9,6,7,4,5,2,3,10,1]=>010101001
[8,6,4,9,3,7,2,5,10,1]=>110101001
[8,6,5,4,3,9,2,7,10,1]=>111101001
[8,7,6,5,4,3,2,9,10,1]=>111111001
[9,7,5,4,10,3,8,2,6,1]=>111010101
[9,7,6,5,4,3,10,2,8,1]=>111110101
[10,1,9,2,8,3,7,4,6,5]=>101010101
[1,4,3,6,5,10,9,7,8,2]=>010101101
[1,4,3,8,7,5,6,10,9,2]=>010110011
[1,4,3,10,7,5,9,6,8,2]=>010110101
[1,4,3,10,9,8,5,6,7,2]=>010111001
[1,6,5,3,4,8,7,10,9,2]=>011001011
[1,6,5,3,4,10,9,7,8,2]=>011001101
[1,8,5,3,7,4,6,10,9,2]=>011010011
[1,10,5,3,7,4,9,6,8,2]=>011010101
[1,10,5,3,9,8,4,6,7,2]=>011011001
[1,8,7,6,3,4,5,10,9,2]=>011100011
[1,10,7,6,3,4,9,5,8,2]=>011100101
[1,10,9,6,3,8,4,5,7,2]=>011101001
[1,10,9,8,7,3,4,5,6,2]=>011110001
[3,1,2,6,5,8,7,10,9,4]=>100101011
[3,1,2,6,5,10,9,7,8,4]=>100101101
[3,1,2,8,7,5,6,10,9,4]=>100110011
[3,1,2,10,7,5,9,6,8,4]=>100110101
[3,1,2,10,9,8,5,6,7,4]=>100111001
[3,1,5,2,4,8,7,10,9,6]=>101001011
[3,1,5,2,4,10,9,7,8,6]=>101001101
[3,1,5,2,7,4,6,10,9,8]=>101010011
[3,1,5,2,9,8,4,6,7,10]=>101011000
[3,1,7,6,2,4,5,10,9,8]=>101100011
[3,1,7,6,2,4,9,5,8,10]=>101100100
[3,1,9,6,2,8,4,5,7,10]=>101101000
[3,1,9,8,7,2,4,5,6,10]=>101110000
[5,4,1,2,3,8,7,10,9,6]=>110001011
[5,4,1,2,3,10,9,7,8,6]=>110001101
[5,4,1,2,7,3,6,10,9,8]=>110010011
[5,4,1,2,7,3,9,6,8,10]=>110010100
[5,4,1,2,9,8,3,6,7,10]=>110011000
[7,4,1,6,2,3,5,10,9,8]=>110100011
[7,4,1,6,2,3,9,5,8,10]=>110100100
[9,4,1,6,2,8,3,5,7,10]=>110101000
[9,4,1,8,7,2,3,5,6,10]=>110110000
[7,6,5,1,2,3,4,10,9,8]=>111000011
[7,6,5,1,2,3,9,4,8,10]=>111000100
[9,6,5,1,2,8,3,4,7,10]=>111001000
[9,8,5,1,7,2,3,4,6,10]=>111010000
[9,1,2,3,4,5,6,10,8,7]=>100000011
[9,1,2,3,4,5,10,7,8,6]=>100000101
[10,1,2,3,4,9,6,7,8,5]=>100001001
[10,1,9,3,4,5,6,7,8,2]=>101000001
[10,1,2,3,4,5,6,8,9,7]=>100000001
[1,3,2,10,6,5,4,9,8,7]=>010111011
[1,6,3,2,5,4,10,9,8,7]=>011010111
[1,6,3,2,10,5,4,9,8,7]=>011011011
[1,10,6,3,2,5,4,9,8,7]=>011101011
[1,6,3,2,10,9,5,4,8,7]=>011011101
[1,10,6,3,2,9,5,4,8,7]=>011101101
[3,1,2,6,5,4,10,9,8,7]=>100110111
[3,1,2,10,6,5,4,9,8,7]=>100111011
[3,1,6,2,5,4,10,9,8,7]=>101010111
[3,1,6,2,10,5,4,9,8,7]=>101011011
[3,1,10,6,2,5,4,9,8,7]=>101101011
[3,1,6,2,10,9,5,4,8,7]=>101011101
[3,1,10,6,2,9,5,4,8,7]=>101101101
[6,3,1,2,5,4,10,9,8,7]=>110010111
[6,3,1,2,10,5,4,9,8,7]=>110011011
[6,3,1,10,2,5,4,9,8,7]=>110101011
[10,6,3,1,2,5,4,9,8,7]=>111001011
[6,3,1,2,10,9,5,4,8,7]=>110011101
[6,3,1,10,2,9,5,4,8,7]=>110101101
[10,6,3,1,2,9,5,4,8,7]=>111001101
[3,1,6,5,2,4,10,9,8,7]=>101100111
[3,1,6,5,2,10,4,9,8,7]=>101101011
[3,1,10,6,5,2,4,9,8,7]=>101110011
[3,1,6,5,2,10,9,4,8,7]=>101101101
[3,1,10,6,5,2,9,4,8,7]=>101110101
[6,3,1,5,2,4,10,9,8,7]=>110100111
[6,3,1,5,2,10,4,9,8,7]=>110101011
[6,3,1,10,5,2,4,9,8,7]=>110110011
[10,6,3,1,5,2,4,9,8,7]=>111010011
[6,3,1,5,2,10,9,4,8,7]=>110101101
[6,3,1,10,5,2,9,4,8,7]=>110110101
[10,6,3,1,5,2,9,4,8,7]=>111010101
[6,3,1,10,9,5,2,4,8,7]=>110111001
[10,6,3,1,9,5,2,4,8,7]=>111011001
[3,1,6,5,2,10,9,8,4,7]=>101101110
[3,1,10,6,5,2,9,8,4,7]=>101110110
[6,3,1,5,2,10,9,8,4,7]=>110101110
[6,3,1,10,5,2,9,8,4,7]=>110110110
[10,6,3,1,5,2,9,8,4,7]=>111010110
[6,3,1,10,9,5,2,8,4,7]=>110111010
[1,9,2,10,3,4,5,6,7,8]=>010100000
[1,4,2,3,6,5,8,7,10,9]=>010010101
[1,3,4,2,6,5,8,7,10,9]=>001010101
[2,1,3,4,5,6,7,10,8,9]=>100000010
[10,2,3,4,5,6,7,8,1,9]=>100000010
[3,10,1,4,5,6,7,8,9,2]=>010000001
[8,1,10,3,4,5,6,7,2,9]=>101000010
[8,2,1,10,4,5,6,7,3,9]=>110100010
[7,10,8,3,4,5,6,1,2,9]=>011000100
[3,9,1,2,10,5,6,7,8,4]=>010010001
[2,3,4,5,6,7,10,9,8,1]=>000000111
[2,3,4,5,6,9,8,10,7,1]=>000001011
[10,5,9,4,8,3,7,2,6,1]=>101010101
[1,3,5,2,4,7,6,9,8,10]=>001001010
[1,4,2,5,3,7,6,9,8,10]=>010101010
[10,3,1,5,6,7,8,9,2,4]=>110000010
[10,4,1,5,6,7,8,9,2,3]=>110000010
[4,2,6,8,10,1,3,5,7,9]=>100010000
[4,6,2,8,10,1,3,5,7,9]=>010010000
[4,6,8,2,10,1,3,5,7,9]=>001010000
[4,6,8,10,2,1,3,5,7,9]=>000110000
[4,6,8,2,9,1,3,5,7,10]=>001010000
[4,6,2,7,9,1,3,5,8,10]=>010010000
[4,2,5,7,9,1,3,6,8,10]=>100010000
[2,3,5,7,9,1,4,6,8,10]=>000010000
[9,7,10,8,6,5,4,3,2,1]=>101111111
[9,7,5,10,8,6,4,3,2,1]=>110111111
[8,9,6,10,7,5,4,3,2,1]=>010111111
[9,7,5,3,10,8,6,4,2,1]=>111011111
[8,9,6,4,10,7,5,3,2,1]=>011011111
[8,5,9,6,10,7,4,3,2,1]=>101011111
[7,8,9,5,10,6,4,3,2,1]=>001011111
[8,9,6,4,2,10,7,5,3,1]=>011101111
[8,5,9,6,3,10,7,4,2,1]=>101101111
[7,8,9,5,3,10,6,4,2,1]=>001101111
[7,8,4,9,5,10,6,3,2,1]=>010101111
[6,7,8,9,4,10,5,3,2,1]=>000101111
[8,5,9,6,3,1,10,7,4,2]=>101110111
[7,8,9,5,3,1,10,6,4,2]=>001110111
[8,5,2,9,6,3,10,7,4,1]=>110110111
[6,7,8,9,4,2,10,5,3,1]=>000110111
[7,3,8,4,9,5,10,6,2,1]=>101010111
[6,7,8,3,9,4,10,5,2,1]=>001010111
[5,6,7,8,9,3,10,4,2,1]=>000010111
[7,8,4,1,9,5,2,10,6,3]=>011011011
[7,3,8,4,9,5,1,10,6,2]=>101011011
[6,7,8,3,9,4,1,10,5,2]=>001011011
[5,6,7,8,9,3,1,10,4,2]=>000011011
[6,7,2,8,3,9,4,10,5,1]=>010101011
[5,6,7,8,2,9,3,10,4,1]=>000101011
[4,5,6,7,8,9,2,10,3,1]=>000001011
[5,6,7,1,8,2,9,3,10,4]=>001010101
[4,5,6,7,8,1,9,2,10,3]=>000010101
[2,3,4,5,6,7,10,8,9,1]=>000000101
[2,3,4,5,6,10,7,8,9,1]=>000001001
[2,3,4,10,5,6,7,8,9,1]=>000100001
[2,3,10,4,5,6,7,8,9,1]=>001000001
[3,2,4,1,6,5,8,7,10,9]=>101010101
[3,2,5,4,7,6,9,8,10,1]=>101010101
[1,2,3,4,5,6,9,7,10,8]=>000000101
[2,3,4,5,6,9,10,1,7,8]=>000000100
[1,2,3,4,5,7,6,8,9,10]=>000001000
[1,2,3,5,4,6,7,8,9,10]=>000100000
[1,2,3,5,4,7,6,9,8,10]=>000101010
[1,8,9,10,2,3,4,5,6,7]=>000100000
[1,5,6,7,8,9,10,2,3,4]=>000000100
[3,4,2,1,5,6,7,8,9,10]=>011000000
[4,3,1,2,5,6,7,8,9,10]=>110000000
[6,5,4,3,1,2,7,8,9,10]=>111100000
[7,6,5,4,3,1,2,8,9,10]=>111110000
[9,6,5,4,3,10,1,2,7,8]=>111101000
[2,3,4,5,6,7,10,9,1,8]=>000000110
[2,3,4,5,6,10,8,9,1,7]=>000001010
[2,3,4,5,6,10,8,1,9,7]=>000001101
[2,3,4,5,6,10,8,1,7,9]=>000001100
[2,3,4,5,6,10,1,7,8,9]=>000001000
[2,3,4,5,10,7,8,9,1,6]=>000010010
[2,3,4,5,10,7,8,1,9,6]=>000010101
[2,3,4,5,10,7,8,1,6,9]=>000010100
[2,3,4,5,10,7,1,9,6,8]=>000011010
[2,3,4,5,10,7,1,6,8,9]=>000011000
[2,3,4,5,10,1,6,7,8,9]=>000010000
[2,3,4,10,6,7,8,1,9,5]=>000100101
[2,3,4,10,6,7,8,1,5,9]=>000100100
[2,3,4,10,6,7,1,8,9,5]=>000101001
[2,3,4,10,6,7,1,9,5,8]=>000101010
[2,3,4,10,6,7,1,5,8,9]=>000101000
[2,3,4,10,6,1,8,5,9,7]=>000110101
[2,3,4,10,6,1,8,5,7,9]=>000110100
[2,3,4,10,6,1,5,7,8,9]=>000110000
[2,3,4,10,1,5,6,7,8,9]=>000100000
[2,3,10,5,6,1,8,9,4,7]=>001010010
[2,3,10,5,6,1,8,4,9,7]=>001010101
[2,3,10,5,6,1,8,4,7,9]=>001010100
[2,3,10,5,6,1,4,7,8,9]=>001010000
[2,3,10,5,1,7,4,9,6,8]=>001101010
[2,3,10,5,1,7,4,6,8,9]=>001101000
[2,3,10,5,1,4,6,7,8,9]=>001100000
[2,10,4,1,6,3,8,5,9,7]=>011010101
[2,10,4,1,6,3,8,5,7,9]=>011010100
[2,10,4,1,6,3,5,7,8,9]=>011010000
[2,10,4,1,3,5,6,7,8,9]=>011000000
[8,7,6,5,4,3,2,9,1,10]=>111111010
[3,4,5,6,8,9,10,1,2,7]=>000000100
[3,5,6,7,8,9,10,1,2,4]=>000000100
[3,4,5,6,7,8,1,2,9,10]=>000001000
[8,9,10,1,5,6,7,3,4,2]=>001000101
[8,9,10,5,6,7,1,3,4,2]=>001001001
[8,9,10,1,5,6,3,4,7,2]=>001001001
[8,9,10,5,6,1,3,4,7,2]=>001010001
[8,9,10,5,6,3,4,7,1,2]=>001010010
[8,9,5,6,10,1,3,4,7,2]=>010010001
[8,9,5,6,10,3,4,7,1,2]=>010010010
[8,9,10,1,5,6,7,3,2,4]=>001000110
[8,9,10,5,6,7,1,3,2,4]=>001001010
[8,9,10,1,5,6,3,7,2,4]=>001001010
[8,9,10,5,6,1,3,7,2,4]=>001010010
[8,9,10,5,6,3,7,1,2,4]=>001010100
[8,9,5,6,10,1,3,7,2,4]=>010010010
[8,9,5,6,10,3,7,1,2,4]=>010010100
[8,9,10,1,5,6,3,2,4,7]=>001001100
[8,9,10,5,6,1,3,2,4,7]=>001010100
[8,9,10,5,6,3,1,2,4,7]=>001011000
[8,9,10,5,6,3,2,4,7,1]=>001011001
[8,9,5,6,10,1,3,2,4,7]=>010010100
[8,9,5,6,10,3,1,2,4,7]=>010011000
[8,9,5,6,10,3,2,4,7,1]=>010011001
[8,9,10,1,5,3,6,7,2,4]=>001010010
[8,9,10,5,1,3,6,7,2,4]=>001100010
[8,9,10,5,3,6,7,1,2,4]=>001100100
[8,9,5,10,1,3,6,7,2,4]=>010100010
[8,9,5,10,3,6,7,1,2,4]=>010100100
[8,9,10,1,5,3,6,2,4,7]=>001010100
[8,9,10,5,1,3,6,2,4,7]=>001100100
[8,9,10,5,3,6,1,2,4,7]=>001101000
[8,9,10,5,3,6,2,4,7,1]=>001101001
[8,9,5,10,1,3,6,2,4,7]=>010100100
[8,9,5,10,3,6,1,2,4,7]=>010101000
[8,9,5,10,3,6,2,4,7,1]=>010101001
[8,9,5,3,6,10,1,2,4,7]=>011001000
[8,9,5,3,6,10,2,4,7,1]=>011001001
[8,5,9,10,1,3,6,7,2,4]=>100100010
[8,5,9,10,3,6,7,1,2,4]=>100100100
[8,5,9,10,1,3,6,2,4,7]=>100100100
[8,5,9,10,3,6,1,2,4,7]=>100101000
[8,5,9,10,3,6,2,4,7,1]=>100101001
[10,1,9,5,6,7,8,2,3,4]=>101000100
[9,1,10,8,6,7,2,3,4,5]=>101101000
[8,1,9,10,7,2,3,4,5,6]=>100110000
[10,1,8,9,2,3,4,5,6,7]=>100100000
[3,1,10,9,6,7,8,2,4,5]=>101100100
[3,1,9,10,8,7,2,4,5,6]=>100111000
[3,1,8,9,10,2,4,5,6,7]=>100010000
[4,2,5,1,6,3,8,7,10,9]=>101010101
[4,2,6,1,7,3,8,5,10,9]=>101010101
[4,2,6,1,8,3,9,5,10,7]=>101010101
[4,2,6,1,8,3,9,5,7,10]=>101010100
[4,2,6,1,7,3,5,9,8,10]=>101010010
[4,2,5,1,3,7,6,9,8,10]=>101001010
[8,7,6,5,4,3,1,2,10,9]=>111111001
[10,9,8,7,6,5,4,2,3,1]=>111111101
[2,3,4,5,9,7,8,10,6,1]=>000010011
[2,3,4,9,6,7,8,10,1,5]=>000100010
[2,3,9,5,6,7,8,10,4,1]=>001000011
[2,9,4,5,6,7,8,10,3,1]=>010000011
[9,3,4,5,6,7,8,10,1,2]=>100000010
[2,3,4,5,6,8,10,1,9,7]=>000000101
[2,3,4,5,7,8,1,10,6,9]=>000001010
[2,3,4,6,7,1,8,10,5,9]=>000010010
[2,3,5,6,1,7,8,10,9,4]=>000100011
[2,4,5,1,6,7,8,10,3,9]=>001000010
[3,4,1,5,6,7,8,10,2,9]=>010000010
[3,2,4,5,6,7,8,10,9,1]=>100000011
[8,10,6,9,4,7,2,5,3,1]=>010101011
[8,10,6,9,4,7,5,2,3,1]=>010101101
[8,10,6,9,7,4,5,2,3,1]=>010110101
[8,10,9,6,7,4,5,2,3,1]=>011010101
[1,3,5,7,2,4,6,9,8,10]=>000100010
[2,4,1,5,3,6,7,8,9,10]=>010100000
[5,6,2,1,3,7,4,8,9,10]=>011001000
[3,2,5,1,6,4,7,8,9,10]=>101010000
[6,7,2,1,8,3,4,9,5,10]=>011010010
[3,6,4,1,7,2,8,5,9,10]=>011010100
[3,6,7,2,1,4,8,5,9,10]=>001100100
[4,2,6,1,7,5,3,8,9,10]=>101011000
[4,3,2,6,1,7,5,8,9,10]=>110101000
[3,4,7,1,8,2,9,5,10,6]=>001010101
[7,8,9,3,2,1,4,5,10,6]=>001110001
[4,7,2,5,1,8,3,9,6,10]=>010101010
[4,3,7,8,2,1,5,9,6,10]=>100110010
[3,5,2,7,1,8,6,4,9,10]=>010101100
[5,4,3,2,7,1,8,6,9,10]=>111010100
[5,8,9,2,1,6,3,10,7,4]=>001101011
[5,3,8,6,4,1,9,2,10,7]=>101110101
[3,5,8,2,6,1,9,4,10,7]=>001010101
[5,4,3,8,9,2,1,6,10,7]=>110011001
[6,4,2,8,1,9,7,5,3,10]=>110101110
[4,3,6,2,8,1,9,7,5,10]=>101010110
[6,5,4,3,2,8,1,9,7,10]=>111101010
[5,3,7,2,9,1,10,8,6,4]=>101010111
[5,4,3,7,2,9,1,10,8,6]=>110101011
[7,6,5,4,3,2,9,1,10,8]=>111110101
[1,9,8,10,7,6,5,4,3,2]=>010111111
[2,1,10,3,4,5,6,7,8,9]=>101000000
[3,1,2,10,4,5,6,7,8,9]=>100100000
[4,1,2,3,10,5,6,7,8,9]=>100010000
[5,1,2,3,4,10,6,7,8,9]=>100001000
[6,1,2,3,4,5,10,7,8,9]=>100000100
[7,1,2,3,4,5,6,10,8,9]=>100000010
[10,8,6,4,2,9,7,5,3,1]=>111101111
[10,7,4,1,8,5,2,9,6,3]=>111011011
[9,6,3,8,5,2,10,7,4,1]=>110110111
[9,5,1,7,3,10,6,2,8,4]=>110101101
[10,6,2,7,3,8,4,9,5,1]=>110101011
[7,3,8,4,10,6,2,9,5,1]=>101011011
[8,4,7,3,10,6,2,9,5,1]=>101011011
[10,5,8,3,6,1,9,4,7,2]=>101010101
[9,4,7,2,10,5,8,3,6,1]=>101010101
[10,5,7,2,8,3,9,4,6,1]=>101010101
[8,3,10,5,7,2,9,4,6,1]=>101010101
[8,3,9,4,7,2,10,5,6,1]=>101010101
[9,3,5,7,1,10,4,6,8,2]=>100101001
[10,4,6,8,2,9,3,5,7,1]=>100101001
[10,4,5,6,7,1,8,2,9,3]=>100010101
[8,2,9,3,10,4,5,6,7,1]=>101010001
[9,3,8,2,10,4,5,6,7,1]=>101010001
[5,6,9,3,7,1,10,4,8,2]=>001010101
[5,6,10,4,8,2,9,3,7,1]=>001010101
[5,6,9,3,8,2,10,4,7,1]=>001010101
[6,5,9,3,8,2,10,4,7,1]=>101010101
[9,2,7,6,5,4,10,3,8,1]=>101110101
[10,3,7,6,5,4,8,1,9,2]=>101110101
[9,2,10,3,7,6,5,4,8,1]=>101011101
[7,6,5,4,9,2,10,3,8,1]=>111010101
[6,4,7,5,10,3,9,2,8,1]=>101010101
[6,4,7,5,9,2,10,3,8,1]=>101010101
[7,5,6,4,9,2,10,3,8,1]=>101010101
[6,5,7,4,9,2,10,3,8,1]=>101010101
[5,6,7,3,8,4,9,1,10,2]=>001010101
[5,6,7,3,8,4,10,2,9,1]=>001010101
[5,6,8,4,7,3,10,2,9,1]=>001010101
[6,5,8,4,7,3,10,2,9,1]=>101010101
[4,2,5,6,7,8,9,10,1,3]=>100000010
[7,1,2,3,9,5,6,10,8,4]=>100010011
[6,1,2,9,4,5,3,10,8,7]=>100101011
[9,1,2,3,8,5,10,7,6,4]=>100010111
[9,1,2,8,4,3,10,7,5,6]=>100110110
[8,1,2,7,4,10,6,5,3,9]=>100101110
[9,1,8,3,2,5,10,7,4,6]=>101100110
[8,1,7,3,2,10,6,4,5,9]=>101101100
[7,1,2,3,10,5,6,9,8,4]=>100010011
[6,1,2,10,4,5,3,9,8,7]=>100101011
[8,1,2,3,10,5,9,6,7,4]=>100010101
[8,1,2,10,4,3,9,5,7,6]=>100110101
[7,1,2,10,4,9,5,3,6,8]=>100101100
[8,1,10,3,2,5,9,4,7,6]=>101100101
[7,1,10,3,2,9,4,5,6,8]=>101101000
[10,1,2,3,9,5,8,7,6,4]=>100010111
[10,1,2,9,4,3,8,7,5,6]=>100110110
[10,1,2,9,4,8,3,6,5,7]=>100101010
[9,1,2,8,4,7,6,5,3,10]=>100101110
[10,1,9,3,2,5,8,7,4,6]=>101100110
[10,1,9,3,2,8,5,6,4,7]=>101101010
[9,1,8,3,2,7,6,4,5,10]=>101101100
[8,1,2,3,10,9,5,7,6,4]=>100011011
[8,1,2,10,3,9,4,7,6,5]=>100101011
[7,1,2,10,9,4,6,3,5,8]=>100110100
[8,1,10,2,4,9,3,7,6,5]=>101001011
[7,1,10,2,9,3,6,4,5,8]=>101010100
[10,1,2,3,9,8,5,6,7,4]=>100011001
[10,1,2,9,3,8,4,6,7,5]=>100101001
[10,1,2,9,8,4,3,5,6,7]=>100111000
[9,1,2,8,7,4,5,6,3,10]=>100110010
[10,1,9,2,4,8,3,6,7,5]=>101001001
[10,1,9,2,8,3,4,5,6,7]=>101010000
[9,1,8,2,7,3,5,6,4,10]=>101010010
[10,1,9,8,3,2,6,4,5,7]=>101110100
[9,1,8,7,3,2,4,5,6,10]=>101110000
[8,10,1,3,4,9,2,7,6,5]=>010001011
[7,10,1,3,9,2,6,4,5,8]=>010010100
[10,9,1,3,4,8,2,6,7,5]=>110001001
[10,9,1,3,8,2,4,5,6,7]=>110010000
[9,8,1,3,7,2,5,6,4,10]=>110010010
[10,9,1,8,2,3,6,4,5,7]=>110100100
[9,8,1,7,2,3,4,5,6,10]=>110100000
[7,8,10,1,2,3,4,5,6,9]=>001000000
[4,5,6,7,8,10,1,2,3,9]=>000001000
[1,6,7,5,8,4,9,3,10,2]=>001010101
[1,2,3,4,5,6,8,10,7,9]=>000000010
[8,9,10,4,5,6,2,3,1,7]=>001001010
[8,9,4,5,6,10,2,3,1,7]=>010001010
[8,9,10,4,5,2,3,6,1,7]=>001010010
[8,9,4,5,10,2,3,6,1,7]=>010010010
[8,9,4,5,2,3,6,10,1,7]=>010100010
[8,4,5,9,10,2,3,6,1,7]=>100010010
[8,4,5,9,2,3,6,10,1,7]=>100100010
[8,9,10,4,5,6,2,1,3,7]=>001001100
[8,9,4,5,6,10,2,1,3,7]=>010001100
[8,9,10,4,5,2,6,1,3,7]=>001010100
[8,9,4,5,10,2,6,1,3,7]=>010010100
[8,9,4,5,2,6,10,1,3,7]=>010100100
[8,4,5,9,10,2,6,1,3,7]=>100010100
[8,4,5,9,2,6,10,1,3,7]=>100100100
[8,9,10,4,5,2,1,3,6,7]=>001011000
[8,9,4,5,10,2,1,3,6,7]=>010011000
[8,9,4,5,2,10,1,3,6,7]=>010101000
[8,9,4,5,2,1,3,6,10,7]=>010110001
[8,4,5,9,10,2,1,3,6,7]=>100011000
[8,4,5,9,2,10,1,3,6,7]=>100101000
[8,4,5,9,2,1,3,6,10,7]=>100110001
[8,9,10,4,2,5,6,1,3,7]=>001100100
[8,9,4,10,2,5,6,1,3,7]=>010100100
[8,9,4,2,5,6,10,1,3,7]=>011000100
[8,4,9,10,2,5,6,1,3,7]=>100100100
[8,4,9,2,5,6,10,1,3,7]=>101000100
[8,9,10,4,2,5,1,3,6,7]=>001101000
[8,9,4,10,2,5,1,3,6,7]=>010101000
[8,9,4,2,5,10,1,3,6,7]=>011001000
[8,9,4,2,5,1,3,6,10,7]=>011010001
[8,4,9,10,2,5,1,3,6,7]=>100101000
[8,4,9,2,5,1,3,6,10,7]=>101010001
[8,4,2,5,9,10,1,3,6,7]=>110001000
[8,4,2,5,9,1,3,6,10,7]=>110010001
[4,8,9,10,2,5,6,1,3,7]=>000100100
[4,8,9,2,5,6,10,1,3,7]=>001000100
[4,8,9,10,2,5,1,3,6,7]=>000101000
[4,8,9,2,5,10,1,3,6,7]=>001001000
[4,8,9,2,5,1,3,6,10,7]=>001010001
[4,8,2,5,9,10,1,3,6,7]=>010001000
[4,8,2,5,9,1,3,6,10,7]=>010010001
[6,5,3,1,2,4,8,7,10,9]=>111000101
[8,7,5,3,1,2,4,6,10,9]=>111100001
[10,9,7,5,3,1,2,4,6,8]=>111110000
[7,5,3,1,2,4,6,9,8,10]=>111000010
[5,3,1,2,4,7,6,9,8,10]=>110001010
[2,1,4,3,6,5,9,7,10,8]=>101010101
[2,1,4,3,7,5,8,6,10,9]=>101010101
[2,1,4,3,7,5,9,6,10,8]=>101010101
[2,1,4,3,8,5,9,6,10,7]=>101010101
[2,1,5,3,6,4,8,7,10,9]=>101010101
[2,1,5,3,6,4,9,7,10,8]=>101010101
[2,1,5,3,7,4,8,6,10,9]=>101010101
[2,1,5,3,7,4,9,6,10,8]=>101010101
[2,1,5,3,8,4,9,6,10,7]=>101010101
[2,1,6,3,7,4,8,5,10,9]=>101010101
[2,1,6,3,7,4,9,5,10,8]=>101010101
[2,1,6,3,8,4,9,5,10,7]=>101010101
[2,1,7,3,8,4,9,5,10,6]=>101010101
[3,1,4,2,6,5,9,7,10,8]=>101010101
[3,1,4,2,7,5,8,6,10,9]=>101010101
[3,1,4,2,7,5,9,6,10,8]=>101010101
[3,1,4,2,8,5,9,6,10,7]=>101010101
[3,1,5,2,6,4,9,7,10,8]=>101010101
[3,1,5,2,8,4,9,6,10,7]=>101010101
[3,1,6,2,7,4,8,5,10,9]=>101010101
[3,1,6,2,7,4,9,5,10,8]=>101010101
[3,1,6,2,8,4,9,5,10,7]=>101010101
[3,1,7,2,8,4,9,5,10,6]=>101010101
[4,1,5,2,6,3,9,7,10,8]=>101010101
[4,1,5,2,7,3,8,6,10,9]=>101010101
[4,1,5,2,7,3,9,6,10,8]=>101010101
[4,1,5,2,8,3,9,6,10,7]=>101010101
[4,1,6,2,7,3,8,5,10,9]=>101010101
[4,1,6,2,7,3,9,5,10,8]=>101010101
[4,1,6,2,8,3,9,5,10,7]=>101010101
[4,1,7,2,8,3,9,5,10,6]=>101010101
[5,1,6,2,7,3,9,4,10,8]=>101010101
[5,1,6,2,8,3,9,4,10,7]=>101010101
[5,1,7,2,8,3,9,4,10,6]=>101010101
[2,10,9,8,7,6,5,1,4,3]=>011111101
[9,3,4,5,6,7,1,2,10,8]=>100001001
[1,7,2,8,3,9,4,10,5,6]=>010101010
[1,7,2,8,3,9,10,4,5,6]=>010100100
[1,7,2,8,9,3,4,10,5,6]=>010010010
[1,7,2,8,9,3,10,4,5,6]=>010010100
[1,7,2,8,9,10,3,4,5,6]=>010001000
[1,7,8,2,3,9,4,10,5,6]=>001001010
[1,7,8,2,3,9,10,4,5,6]=>001000100
[1,7,8,2,9,3,4,10,5,6]=>001010010
[1,7,8,2,9,3,10,4,5,6]=>001010100
[1,7,8,2,9,10,3,4,5,6]=>001001000
[1,7,8,9,2,3,4,10,5,6]=>000100010
[1,7,8,9,2,3,10,4,5,6]=>000100100
[1,7,8,9,2,10,3,4,5,6]=>000101000
[7,1,2,8,3,9,4,10,5,6]=>100101010
[7,1,2,8,3,9,10,4,5,6]=>100100100
[7,1,2,8,9,3,4,10,5,6]=>100010010
[7,1,2,8,9,3,10,4,5,6]=>100010100
[7,1,2,8,9,10,3,4,5,6]=>100001000
[7,1,8,2,3,9,4,10,5,6]=>101001010
[7,1,8,2,3,9,10,4,5,6]=>101000100
[7,1,8,2,9,3,4,10,5,6]=>101010010
[7,1,8,2,9,10,3,4,5,6]=>101001000
[7,1,8,9,2,3,4,10,5,6]=>100100010
[7,1,8,9,2,3,10,4,5,6]=>100100100
[7,1,8,9,2,10,3,4,5,6]=>100101000
[7,1,8,9,10,2,3,4,5,6]=>100010000
[7,8,1,2,3,9,4,10,5,6]=>010001010
[7,8,1,2,3,9,10,4,5,6]=>010000100
[7,8,1,2,9,3,4,10,5,6]=>010010010
[7,8,1,2,9,3,10,4,5,6]=>010010100
[7,8,1,2,9,10,3,4,5,6]=>010001000
[7,8,1,9,2,3,4,10,5,6]=>010100010
[7,8,1,9,2,3,10,4,5,6]=>010100100
[7,8,1,9,2,10,3,4,5,6]=>010101000
[7,8,1,9,10,2,3,4,5,6]=>010010000
[7,8,9,1,2,3,4,10,5,6]=>001000010
[7,8,9,1,2,3,10,4,5,6]=>001000100
[7,8,9,1,2,10,3,4,5,6]=>001001000
[7,8,9,1,10,2,3,4,5,6]=>001010000
[1,8,9,10,7,6,5,4,3,2]=>000111111
[1,7,8,9,10,6,5,4,3,2]=>000011111
[1,6,7,8,9,10,5,4,3,2]=>000001111
[1,5,6,7,8,9,10,4,3,2]=>000000111
[1,4,5,6,7,8,9,10,3,2]=>000000011
[7,2,8,9,10,1,3,4,5,6]=>100010000
[9,10,6,4,2,1,3,5,8,7]=>011110001
[10,7,8,4,2,1,3,6,5,9]=>101110010
[9,7,10,4,2,1,3,6,8,5]=>101110001
[8,9,10,4,2,1,3,7,6,5]=>001110011
[10,8,5,6,2,1,4,3,7,9]=>110110100
[9,10,5,6,2,1,4,3,8,7]=>010110101
[10,7,5,8,2,1,4,6,3,9]=>110110010
[9,7,5,10,2,1,4,6,8,3]=>110110001
[8,9,5,10,2,1,4,7,6,3]=>010110011
[10,6,7,8,2,1,5,4,3,9]=>100110110
[9,6,7,10,2,1,5,4,8,3]=>100110101
[8,6,9,10,2,1,5,7,4,3]=>100110011
[7,8,9,10,2,1,6,5,4,3]=>000110111
[10,8,6,3,4,2,1,5,7,9]=>111011000
[9,10,6,3,4,2,1,5,8,7]=>011011001
[10,7,8,3,4,2,1,6,5,9]=>101011010
[9,7,10,3,4,2,1,6,8,5]=>101011001
[8,9,10,3,4,2,1,7,6,5]=>001011011
[10,8,5,3,6,2,4,1,7,9]=>111010100
[9,10,5,3,6,2,4,1,8,7]=>011010101
[10,7,5,3,8,2,4,6,1,9]=>111010010
[9,7,5,3,10,2,4,6,8,1]=>111010001
[8,9,5,3,10,2,4,7,6,1]=>011010011
[10,6,7,3,8,2,5,4,1,9]=>101010110
[9,6,7,3,10,2,5,4,8,1]=>101010101
[8,6,9,3,10,2,5,7,4,1]=>101010011
[7,8,9,3,10,2,6,5,4,1]=>001010111
[10,8,4,5,6,3,2,1,7,9]=>110011100
[9,10,4,5,6,3,2,1,8,7]=>010011101
[10,7,4,5,8,3,2,6,1,9]=>110011010
[9,7,4,5,10,3,2,6,8,1]=>110011001
[8,9,4,5,10,3,2,7,6,1]=>010011011
[10,6,4,7,8,3,5,2,1,9]=>110010110
[9,6,4,7,10,3,5,2,8,1]=>110010101
[8,6,4,9,10,3,5,7,2,1]=>110010011
[7,8,4,9,10,3,6,5,2,1]=>010010111
[10,5,6,7,8,4,3,2,1,9]=>100011110
[9,5,6,7,10,4,3,2,8,1]=>100011101
[8,5,6,9,10,4,3,7,2,1]=>100011011
[7,5,8,9,10,4,6,3,2,1]=>100010111
[2,10,4,5,6,7,9,1,3,8]=>010000100
[10,3,4,5,6,7,1,9,2,8]=>100001010
[10,9,8,6,4,2,1,3,5,7]=>111111000
[10,8,7,6,4,2,1,3,5,9]=>111111000
[10,7,9,6,4,2,1,3,8,5]=>101111001
[10,9,8,7,6,4,2,1,3,5]=>111111100
[10,8,6,5,4,2,1,3,7,9]=>111111000
[10,9,8,6,5,4,2,1,3,7]=>111111100
[10,8,5,7,4,2,1,6,3,9]=>110111010
[10,5,9,7,4,2,1,6,8,3]=>101111001
[10,9,8,5,7,4,2,1,6,3]=>111011101
[10,8,7,6,5,4,2,1,3,9]=>111111100
[10,7,9,6,5,4,2,1,8,3]=>101111101
[10,6,9,8,5,7,2,1,4,3]=>101101101
[10,8,6,4,3,2,1,5,7,9]=>111111000
[10,9,8,6,4,3,2,1,5,7]=>111111100
[10,8,7,6,4,3,2,1,5,9]=>111111100
[10,7,9,6,4,3,2,1,8,5]=>101111101
[10,8,6,3,5,2,4,1,7,9]=>111010100
[10,9,8,6,3,5,2,4,1,7]=>111101010
[10,8,3,7,5,2,4,6,1,9]=>110110010
[10,3,9,7,5,2,4,6,8,1]=>101110001
[10,9,8,3,7,5,2,4,6,1]=>111011001
[10,8,7,6,3,5,2,4,1,9]=>111101010
[10,7,9,6,3,5,2,4,8,1]=>101101001
[10,9,3,8,6,5,2,7,4,1]=>110111011
[10,9,8,7,6,3,5,2,4,1]=>111110101
[10,8,6,5,4,3,2,1,7,9]=>111111100
[10,8,5,7,4,3,2,6,1,9]=>110111010
[10,5,9,7,4,3,2,6,8,1]=>101111001
[10,9,8,5,7,4,3,2,6,1]=>111011101
[10,8,4,7,6,3,5,2,1,9]=>110110110
[10,4,9,7,6,3,5,2,8,1]=>101110101
[10,4,9,6,8,3,5,7,2,1]=>101010011
[10,9,8,4,7,6,3,5,2,1]=>111011011
[10,7,9,6,5,4,3,2,8,1]=>101111101
[10,6,9,8,5,4,3,7,2,1]=>101111011
[10,5,9,8,7,4,6,3,2,1]=>101110111
[3,2,8,9,10,1,4,5,6,7]=>100010000
[2,3,4,5,8,9,10,1,6,7]=>000000100
[2,3,4,7,8,9,10,1,5,6]=>000000100
[2,3,6,7,8,9,10,1,4,5]=>000000100
[2,5,6,7,8,9,10,1,3,4]=>000000100
[1,2,7,3,8,4,9,5,10,6]=>001010101
[4,1,2,3,6,5,8,7,10,9]=>100010101
[7,1,2,3,4,5,9,6,10,8]=>100000101
[3,4,5,6,7,1,8,2,10,9]=>000010101
[1,4,5,6,10,7,8,2,9,3]=>000010101
[2,4,5,6,10,7,1,8,3,9]=>000011010
[3,4,5,6,8,7,1,10,2,9]=>000011010
[3,5,6,7,10,8,1,9,2,4]=>000011010
[1,4,5,9,6,7,2,8,10,3]=>000101001
[10,2,3,4,5,6,7,1,9,8]=>100000101
[10,2,3,4,5,6,1,8,9,7]=>100001001
[10,2,3,4,5,1,7,8,9,6]=>100010001
[10,2,3,4,1,6,7,8,9,5]=>100100001
[10,2,3,1,5,6,7,8,9,4]=>101000001
[10,2,1,4,5,6,7,8,9,3]=>110000001
[2,3,4,5,6,7,1,9,8,10]=>000001010
[2,3,4,5,1,7,6,9,8,10]=>000101010
[3,4,5,6,7,8,10,1,9,2]=>000000101
[7,8,9,6,1,2,3,4,10,5]=>001100001
[2,8,9,10,7,1,3,4,5,6]=>000110000
[8,9,7,5,6,1,2,3,10,4]=>011010001
[2,9,10,8,6,7,1,3,4,5]=>001101000
[7,8,9,5,1,2,3,4,10,6]=>001100001
[7,8,9,1,6,2,3,4,10,5]=>001010001
[2,8,9,10,6,1,3,4,5,7]=>000110000
[2,8,9,10,1,7,3,4,5,6]=>000101000
[4,2,3,5,6,7,8,9,10,1]=>100000001
[9,10,6,7,4,5,2,3,1,8]=>010101010
[8,9,4,5,10,1,2,3,6,7]=>010010000
[8,4,3,9,10,1,2,5,6,7]=>110010000
[9,6,10,1,3,7,8,2,4,5]=>101000100
[9,10,6,7,4,5,1,2,3,8]=>010101000
[9,6,4,10,3,7,1,2,5,8]=>110101000
[10,1,8,9,6,7,4,5,2,3]=>100101010
[10,8,6,1,4,9,3,7,2,5]=>111001010
[10,8,6,5,4,1,3,9,2,7]=>111110010
[10,8,7,6,5,4,3,1,2,9]=>111111100
[1,2,3,4,6,5,7,8,9,10]=>000010000
[1,2,3,4,5,6,8,7,9,10]=>000000100
[10,7,6,5,4,3,2,1,8,9]=>111111100
[10,1,2,3,4,5,6,9,8,7]=>100000011
[10,1,2,3,4,5,9,7,8,6]=>100000101
[10,1,2,3,9,5,6,7,8,4]=>100010001
[10,1,2,9,4,5,6,7,8,3]=>100100001
[3,4,5,6,7,9,10,1,8,2]=>000000101
[3,4,5,7,8,9,10,1,6,2]=>000000101
[3,4,6,7,8,9,10,1,5,2]=>000000101
[4,5,6,7,8,9,10,1,3,2]=>000000101
[6,4,5,7,3,8,2,9,1,10]=>100101010
[7,5,1,3,2,6,4,8,9,10]=>110101000
[9,6,1,3,4,2,7,8,5,10]=>110010010
[8,3,6,1,4,2,7,5,9,10]=>101010100
[10,1,8,3,2,5,7,4,9,6]=>101100101
[10,3,7,1,4,5,2,8,9,6]=>101001001
[9,3,4,7,1,5,2,8,6,10]=>100101010
[7,10,1,3,8,2,6,5,9,4]=>010010101
[10,9,5,1,8,2,4,3,6,7]=>111010100
[10,3,4,5,8,1,6,2,9,7]=>100010101
[9,8,7,5,6,4,3,2,10,1]=>111011101
[2,3,4,5,6,9,10,8,7,1]=>000000111
[2,3,4,5,8,9,10,7,6,1]=>000000111
[2,3,4,7,8,9,10,6,5,1]=>000000111
[2,3,6,7,8,9,10,5,4,1]=>000000111
[2,5,6,7,8,9,10,4,3,1]=>000000111
[9,10,2,4,6,8,1,3,5,7]=>010001000
[7,8,2,4,6,10,1,3,5,9]=>010001000
[9,7,10,2,4,6,8,1,3,5]=>101000100
[8,9,10,7,2,4,6,1,3,5]=>001100100
[5,6,2,4,8,10,1,3,7,9]=>010001000
[5,6,9,10,2,4,8,1,3,7]=>000100100
[7,5,8,2,4,6,10,1,3,9]=>101000100
[7,9,5,10,2,4,6,8,1,3]=>010100010
[5,8,9,10,7,2,4,6,1,3]=>000110010
[6,7,8,5,2,4,10,1,3,9]=>001100100
[9,6,7,5,10,2,4,8,1,3]=>101010010
[8,9,6,10,5,7,2,4,1,3]=>010101010
[7,8,9,10,6,5,2,4,1,3]=>000111010
[3,4,2,6,8,10,1,5,7,9]=>010001000
[3,4,9,10,2,6,8,1,5,7]=>000100100
[3,4,7,8,2,6,10,1,5,9]=>000100100
[9,3,4,7,10,2,6,8,1,5]=>100010010
[8,9,10,3,4,7,2,6,1,5]=>001001010
[5,3,6,2,4,8,10,1,7,9]=>101000100
[5,3,6,9,10,2,4,8,1,7]=>100010010
[5,7,3,8,2,4,6,10,1,9]=>010100010
[5,7,9,3,10,2,4,6,8,1]=>001010001
[8,5,9,10,3,7,2,4,6,1]=>100101001
[3,6,7,8,5,2,4,10,1,9]=>000110010
[9,3,6,7,5,10,2,4,8,1]=>100101001
[6,8,3,9,10,5,7,2,4,1]=>010010101
[7,8,9,10,3,6,5,2,4,1]=>000101101
[4,5,6,3,2,8,10,1,7,9]=>001100100
[4,5,6,3,9,10,2,8,1,7]=>001001010
[7,4,5,3,8,2,6,10,1,9]=>101010010
[7,4,5,9,3,10,2,6,8,1]=>100101001
[4,8,5,9,10,3,7,2,6,1]=>010010101
[6,7,4,8,3,5,2,10,1,9]=>010101010
[6,7,9,4,3,5,10,2,8,1]=>001100101
[8,6,9,4,10,3,5,7,2,1]=>101010011
[7,4,8,9,10,6,3,5,2,1]=>100011011
[5,6,7,8,4,3,2,10,1,9]=>000111010
[9,5,6,7,4,3,10,2,8,1]=>100110101
[8,9,5,6,4,10,3,7,2,1]=>010101011
[7,8,9,5,10,4,6,3,2,1]=>001010111
[1,2,4,5,6,8,10,9,3,7]=>000000110
[1,2,3,5,7,8,10,6,9,4]=>000000101
[1,2,4,5,7,8,10,3,9,6]=>000000101
[1,2,4,6,7,5,10,8,3,9]=>000010110
[1,3,4,2,7,8,10,5,9,6]=>001000101
[1,3,4,6,7,2,10,8,5,9]=>000010110
[1,2,3,5,6,9,8,10,7,4]=>000001011
[1,2,4,5,6,9,8,10,3,7]=>000001010
[1,2,3,5,7,9,6,10,8,4]=>000001011
[1,2,4,5,7,9,3,10,8,6]=>000001011
[1,2,4,6,5,9,7,10,3,8]=>000101010
[1,3,4,2,7,9,5,10,8,6]=>001001011
[1,3,4,6,2,9,7,10,5,8]=>000101010
[1,2,3,5,8,7,9,6,10,4]=>000010101
[1,2,4,5,8,7,9,3,10,6]=>000010101
[1,2,4,6,8,5,9,3,10,7]=>000010101
[1,2,4,7,6,8,5,9,3,10]=>000101010
[1,3,4,2,8,7,9,5,10,6]=>001010101
[1,3,4,6,8,2,9,5,10,7]=>000010101
[1,3,4,7,6,8,2,9,5,10]=>000101010
[1,2,3,6,5,9,7,10,8,4]=>000101011
[1,2,4,6,3,9,7,10,8,5]=>000101011
[1,2,5,4,6,9,7,10,3,8]=>001001010
[1,3,2,6,4,9,7,10,8,5]=>010101011
[1,3,5,2,6,9,7,10,4,8]=>001001010
[1,2,3,6,8,5,9,7,10,4]=>000010101
[1,2,4,6,8,3,9,7,10,5]=>000010101
[1,2,5,4,8,6,9,3,10,7]=>001010101
[1,2,5,7,4,8,6,9,3,10]=>000101010
[1,3,2,6,8,4,9,7,10,5]=>010010101
[1,3,5,2,8,6,9,4,10,7]=>001010101
[1,3,5,7,2,8,6,9,4,10]=>000101010
[1,4,3,5,8,2,9,6,10,7]=>010010101
[1,4,3,7,5,8,2,9,6,10]=>010101010
[2,1,3,6,4,9,7,10,8,5]=>100101011
[2,1,5,3,6,9,7,10,4,8]=>101001010
[2,1,3,6,8,4,9,7,10,5]=>100010101
[2,1,5,3,8,6,9,4,10,7]=>101010101
[2,1,5,7,3,8,6,9,4,10]=>100101010
[2,4,1,5,8,3,9,6,10,7]=>010010101
[2,4,1,7,5,8,3,9,6,10]=>010101010
[5,6,1,2,3,7,8,9,10,4]=>010000001
[2,5,1,3,6,7,8,9,10,4]=>010000001
[3,2,1,5,6,7,8,9,10,4]=>110000001
[6,7,8,1,2,3,4,9,10,5]=>001000001
[2,6,7,1,3,4,8,9,10,5]=>001000001
[6,3,4,1,2,7,8,9,10,5]=>101000001
[3,2,6,1,4,7,8,9,10,5]=>101000001
[4,3,2,1,6,7,8,9,10,5]=>111000001
[2,7,8,9,1,3,4,5,10,6]=>000100001
[7,3,4,8,1,2,5,9,10,6]=>100100001
[3,2,7,8,1,4,5,9,10,6]=>100100001
[4,7,2,5,1,3,8,9,10,6]=>010100001
[4,3,2,7,1,5,8,9,10,6]=>110100001
[5,4,3,2,1,7,8,9,10,6]=>111100001
[8,3,4,9,10,1,2,5,6,7]=>100010000
[8,9,4,5,6,1,2,3,10,7]=>010010001
[4,3,2,8,9,1,5,6,10,7]=>110010001
[8,5,6,3,4,1,2,9,10,7]=>101010001
[5,3,8,2,6,1,4,9,10,7]=>101010001
[5,4,3,2,8,1,6,9,10,7]=>111010001
[6,5,4,3,2,1,8,9,10,7]=>111110001
[5,9,10,2,6,7,1,3,4,8]=>001001000
[9,5,6,3,4,10,1,2,7,8]=>101001000
[5,3,9,2,6,10,1,4,7,8]=>101001000
[5,4,3,2,9,10,1,6,7,8]=>111001000
[6,9,4,7,2,5,1,3,10,8]=>010101001
[6,4,3,9,2,7,1,5,10,8]=>110101001
[6,5,4,3,2,9,1,7,10,8]=>111101001
[7,6,5,4,3,2,1,9,10,8]=>111111001
[10,7,8,5,6,3,4,1,2,9]=>101010100
[7,5,10,3,8,2,6,1,4,9]=>101010100
[7,5,4,3,10,2,8,1,6,9]=>111010100
[7,6,5,4,3,2,10,1,8,9]=>111110100
[2,1,8,7,4,3,6,5,10,9]=>101110101
[2,1,4,3,6,5,7,9,10,8]=>101010001
[2,1,4,3,5,7,8,6,10,9]=>101000101
[2,1,4,3,5,7,6,9,10,8]=>101001001
[2,1,4,3,5,6,8,9,10,7]=>101000001
[2,1,3,5,6,4,8,7,10,9]=>100010101
[2,1,3,5,6,4,7,9,10,8]=>100010001
[2,1,3,5,4,7,8,6,10,9]=>100100101
[2,1,3,5,4,7,6,9,10,8]=>100101001
[2,1,3,5,4,6,8,9,10,7]=>100100001
[2,1,3,4,6,7,8,5,10,9]=>100000101
[2,1,3,4,6,7,5,9,10,8]=>100001001
[2,1,3,4,6,5,8,9,10,7]=>100010001
[2,1,3,4,5,7,8,9,10,6]=>100000001
[1,3,4,2,6,5,7,9,10,8]=>001010001
[1,3,4,2,5,7,8,6,10,9]=>001000101
[1,3,4,2,5,7,6,9,10,8]=>001001001
[1,3,4,2,5,6,8,9,10,7]=>001000001
[1,3,2,5,6,4,8,7,10,9]=>010010101
[1,3,2,5,6,4,7,9,10,8]=>010010001
[1,3,2,5,4,7,8,6,10,9]=>010100101
[1,3,2,5,4,7,6,9,10,8]=>010101001
[1,3,2,5,4,6,8,9,10,7]=>010100001
[1,3,2,4,6,7,8,5,10,9]=>010000101
[1,3,2,4,6,7,5,9,10,8]=>010001001
[1,3,2,4,6,5,8,9,10,7]=>010010001
[1,3,2,4,5,7,8,9,10,6]=>010000001
[1,2,4,5,6,3,8,7,10,9]=>000010101
[1,2,4,5,6,3,7,9,10,8]=>000010001
[1,2,4,5,3,7,8,6,10,9]=>000100101
[1,2,4,5,3,7,6,9,10,8]=>000101001
[1,2,4,5,3,6,8,9,10,7]=>000100001
[1,2,4,3,6,7,8,5,10,9]=>001000101
[1,2,4,3,6,7,5,9,10,8]=>001001001
[1,2,4,3,6,5,8,9,10,7]=>001010001
[1,2,4,3,5,7,8,9,10,6]=>001000001
[1,2,3,5,6,7,8,4,10,9]=>000000101
[1,2,3,5,6,7,4,9,10,8]=>000001001
[1,2,3,5,6,4,8,9,10,7]=>000010001
[1,2,3,5,4,7,8,9,10,6]=>000100001
[2,3,4,5,6,10,8,9,7,1]=>000001011
[2,3,4,5,10,7,8,9,6,1]=>000010011
[2,3,4,10,6,7,8,9,5,1]=>000100011
[2,3,10,5,6,7,8,9,4,1]=>001000011
[2,10,4,5,6,7,8,9,3,1]=>010000011
[10,3,4,5,6,7,8,9,2,1]=>100000011
[6,5,7,4,8,3,10,1,9,2]=>101010101
[6,5,7,4,10,1,9,2,8,3]=>101010101
[6,5,10,1,9,2,8,3,7,4]=>101010101
[5,10,1,9,2,8,3,7,4,6]=>010101010
[5,6,4,10,1,9,2,8,3,7]=>010101010
[5,6,4,7,3,10,1,9,2,8]=>010101010
[5,6,4,7,3,8,2,10,1,9]=>010101010
[2,10,1,3,4,5,6,9,7,8]=>010000010
[2,9,1,3,4,5,6,7,10,8]=>010000001
[10,3,1,2,4,5,6,9,7,8]=>110000010
[3,1,10,2,4,5,6,9,7,8]=>101000010
[9,3,1,2,4,5,6,7,10,8]=>110000001
[3,1,9,2,4,5,6,7,10,8]=>101000001
[10,9,3,4,5,6,7,8,1,2]=>110000010
[10,9,2,3,4,5,6,7,1,8]=>110000010
[10,4,5,6,7,8,9,2,1,3]=>100000110
[10,3,4,5,6,7,8,2,1,9]=>100000110
[1,8,5,2,9,6,3,10,7,4]=>011011011
[10,9,3,8,7,6,5,4,2,1]=>110111111
[8,7,6,4,5,3,2,1,10,9]=>111011101
[10,9,8,6,5,4,7,3,2,1]=>111110111
[8,1,9,10,2,3,4,5,6,7]=>100100000
[3,4,5,6,7,10,1,2,8,9]=>000001000
[3,4,5,6,9,10,1,2,7,8]=>000001000
[3,4,5,8,9,10,1,2,6,7]=>000001000
[3,4,7,8,9,10,1,2,5,6]=>000001000
[3,6,7,8,9,10,1,2,4,5]=>000001000
[2,1,4,3,6,5,10,7,9,8]=>101010101
[2,1,4,3,8,5,7,6,10,9]=>101010101
[2,1,4,3,10,9,7,5,6,8]=>101011100
[2,1,4,3,10,5,6,8,9,7]=>101010001
[2,1,6,3,5,4,8,7,10,9]=>101010101
[2,1,6,3,5,4,10,7,9,8]=>101010101
[2,1,8,7,5,3,4,6,10,9]=>101110001
[2,1,10,7,5,9,4,3,6,8]=>101101100
[2,1,10,8,5,3,6,4,9,7]=>101110101
[2,1,8,3,4,6,7,5,10,9]=>101000101
[2,1,10,9,4,6,7,3,5,8]=>101100100
[2,1,10,3,9,6,4,8,5,7]=>101011010
[2,1,10,3,4,5,7,8,9,6]=>101000001
[4,1,3,2,6,5,8,7,10,9]=>101010101
[4,1,3,2,6,5,10,7,9,8]=>101010101
[4,1,3,2,8,5,7,6,10,9]=>101010101
[4,1,3,2,10,9,7,5,6,8]=>101011100
[4,1,3,2,10,5,6,8,9,7]=>101010001
[6,5,3,1,2,4,10,7,9,8]=>111000101
[8,5,3,7,2,1,4,6,10,9]=>110110001
[10,5,3,7,2,9,4,1,6,8]=>110101100
[10,5,3,8,2,1,6,4,9,7]=>110110101
[8,6,3,1,4,2,7,5,10,9]=>111010101
[10,6,3,9,4,2,7,1,5,8]=>110110100
[10,6,3,1,9,2,4,8,5,7]=>111010010
[10,7,3,1,4,5,2,8,9,6]=>111001001
[6,1,2,4,5,3,8,7,10,9]=>100010101
[6,1,2,4,5,3,10,7,9,8]=>100010101
[8,7,2,4,5,1,3,6,10,9]=>110010001
[10,7,2,4,5,9,3,1,6,8]=>110001100
[10,8,2,4,5,1,6,3,9,7]=>110010101
[8,1,7,4,2,6,3,5,10,9]=>101101001
[10,9,7,4,2,6,3,1,5,8]=>111101100
[10,1,8,4,9,6,2,3,5,7]=>101011000
[10,1,8,4,2,5,7,3,9,6]=>101100101
[8,1,2,3,5,6,7,4,10,9]=>100000101
[10,9,2,3,5,6,7,1,4,8]=>110000100
[10,1,9,3,5,6,2,8,4,7]=>101001010
[10,1,2,9,5,3,7,8,4,6]=>100110010
[10,9,7,6,5,4,3,8,2,1]=>111111011
[3,2,4,1,5,6,7,8,9,10]=>101000000
[3,4,2,5,1,6,7,8,9,10]=>010100000
[4,3,5,2,6,1,7,8,9,10]=>101010000
[4,5,3,6,2,7,1,8,9,10]=>010101000
[5,4,6,3,7,2,8,1,9,10]=>101010100
[2,1,4,3,6,5,10,7,8,9]=>101010100
[2,1,4,3,8,5,6,7,10,9]=>101010001
[2,1,4,3,10,9,6,5,8,7]=>101011101
[2,1,4,3,10,5,6,7,8,9]=>101010000
[2,1,6,3,4,5,8,7,10,9]=>101000101
[2,1,6,3,4,5,10,7,8,9]=>101000100
[2,1,10,7,4,9,6,3,8,5]=>101101101
[2,1,10,9,4,3,6,7,8,5]=>101110001
[2,1,8,3,4,5,6,7,10,9]=>101000001
[2,1,10,9,4,5,6,3,8,7]=>101100101
[2,1,10,3,8,5,4,7,6,9]=>101011010
[4,1,2,3,6,5,10,7,8,9]=>100010100
[4,1,2,3,8,5,6,7,10,9]=>100010001
[4,1,2,3,10,9,6,5,8,7]=>100011101
[6,5,2,1,4,3,8,7,10,9]=>111010101
[6,5,2,1,4,3,10,7,8,9]=>111010100
[8,5,2,7,4,1,6,3,10,9]=>110110101
[10,5,2,7,4,9,6,1,8,3]=>110101101
[10,5,2,9,4,1,6,7,8,3]=>110110001
[8,7,2,1,4,5,6,3,10,9]=>111000101
[10,7,2,9,4,5,6,1,8,3]=>110100101
[10,9,2,1,8,5,4,7,6,3]=>111011011
[10,9,2,1,4,5,6,7,8,3]=>111000001
[6,1,2,3,4,5,8,7,10,9]=>100000101
[8,7,2,3,4,1,6,5,10,9]=>110010101
[10,7,2,3,4,9,6,1,8,5]=>110001101
[10,9,2,3,4,1,6,7,8,5]=>110010001
[8,1,6,3,2,5,4,7,10,9]=>101101001
[10,9,6,3,2,5,4,1,8,7]=>111101101
[10,1,6,3,8,5,2,7,4,9]=>101011010
[10,1,8,3,2,5,6,7,4,9]=>101100010
[10,9,2,3,4,5,6,1,8,7]=>110000101
[10,1,8,3,4,5,2,7,6,9]=>101001010
[10,1,2,7,4,3,6,5,8,9]=>100110100
[1,2,9,7,5,3,10,8,6,4]=>001110111
[2,4,1,5,6,7,8,10,3,9]=>010000010
[1,3,5,7,2,9,4,6,8,10]=>000101000
[1,3,5,7,2,9,4,10,6,8]=>000101010
[1,3,5,7,2,8,4,9,6,10]=>000101010
[1,3,5,6,2,7,4,9,8,10]=>000101010
[1,3,4,5,2,7,6,9,8,10]=>000101010
[10,1,2,3,4,5,7,8,9,6]=>100000001
[8,1,2,3,4,5,10,7,9,6]=>100000101
[8,1,2,3,4,5,9,7,10,6]=>100000101
[9,1,2,3,4,10,6,7,8,5]=>100001001
[8,1,2,3,4,10,6,7,9,5]=>100001001
[8,1,2,3,4,9,6,7,10,5]=>100001001
[7,1,2,3,4,9,6,10,8,5]=>100001011
[7,1,2,3,4,8,6,9,10,5]=>100001001
[8,1,2,3,10,5,6,7,9,4]=>100010001
[8,1,2,3,9,5,6,7,10,4]=>100010001
[7,1,2,3,10,5,6,8,9,4]=>100010001
[7,1,2,3,8,5,6,9,10,4]=>100010001
[6,1,2,3,8,5,10,7,9,4]=>100010101
[6,1,2,3,8,5,9,7,10,4]=>100010101
[6,1,2,3,7,5,8,9,10,4]=>100010001
[6,1,2,9,4,5,10,7,8,3]=>100100101
[6,1,2,8,4,5,10,7,9,3]=>100100101
[6,1,2,8,4,5,9,7,10,3]=>100100101
[6,1,2,7,4,5,8,9,10,3]=>100100001
[5,1,2,7,4,9,6,10,8,3]=>100101011
[5,1,2,7,4,8,6,9,10,3]=>100101001
[5,1,2,6,4,7,8,9,10,3]=>100100001
[4,1,6,3,8,5,9,7,10,2]=>101010101
[4,1,6,3,7,5,8,9,10,2]=>101010001
[4,1,5,3,6,7,8,9,10,2]=>101000001
[1,10,9,8,7,6,5,3,2,4]=>011111110
[1,10,9,8,7,6,4,3,2,5]=>011111110
[1,10,9,8,7,5,4,3,2,6]=>011111110
[1,10,9,8,6,5,4,3,2,7]=>011111110
[1,10,9,7,6,5,4,3,2,8]=>011111110
[1,10,8,7,6,5,4,3,2,9]=>011111110
[9,10,2,3,4,5,6,7,1,8]=>010000010
[8,9,10,2,3,4,5,6,1,7]=>001000010
[7,8,9,10,2,3,4,5,1,6]=>000100010
[5,6,7,8,9,10,2,3,1,4]=>000001010
[4,5,6,7,8,9,10,2,1,3]=>000000110
[8,10,3,4,5,6,7,2,1,9]=>010000110
[3,10,2,1,5,6,7,8,9,4]=>011000001
[3,9,1,4,5,6,7,8,2,10]=>010000010
[2,10,9,8,7,6,1,5,4,3]=>011111011
[2,10,9,8,1,7,6,5,4,3]=>011101111
[2,10,9,1,8,7,6,5,4,3]=>011011111
[1,2,3,4,5,6,8,9,7,10]=>000000010
[10,1,2,3,4,5,9,7,6,8]=>100000110
[10,1,2,3,4,9,6,7,5,8]=>100001010
[9,1,2,3,10,5,6,7,4,8]=>100010010
[10,1,2,9,4,5,6,7,3,8]=>100100010
[10,1,9,3,4,5,6,7,2,8]=>101000010
[8,1,2,3,4,5,10,6,9,7]=>100000101
[7,1,2,3,4,9,5,6,10,8]=>100001001
[6,1,2,3,9,4,5,7,10,8]=>100010001
[5,1,2,10,3,4,6,7,9,8]=>100100001
[4,1,9,2,3,5,6,7,10,8]=>101000001
[3,9,1,2,4,5,6,7,10,8]=>010000001
[10,2,1,3,4,5,6,7,9,8]=>110000001
[1,2,3,4,5,7,8,6,9,10]=>000000100
[1,2,3,4,5,7,8,9,6,10]=>000000010
[2,4,5,6,1,7,8,9,10,3]=>000100001
[2,3,5,6,1,7,8,9,10,4]=>000100001
[9,8,10,1,4,5,6,7,2,3]=>101000010
[7,1,10,9,2,3,4,5,6,8]=>101100000
[6,7,9,1,2,3,4,5,10,8]=>001000001
[2,8,1,9,10,3,4,5,6,7]=>010010000
[8,7,1,10,2,3,4,5,6,9]=>110100000
[1,5,2,8,6,3,10,9,7,4]=>010110111
[4,1,5,2,8,6,3,10,9,7]=>101011011
[1,7,5,2,8,6,3,10,9,4]=>011011011
[4,1,7,5,2,8,3,10,9,6]=>101101011
[6,4,1,7,5,2,8,3,10,9]=>110110101
[3,4,1,7,2,8,5,10,9,6]=>010101011
[3,6,4,1,7,2,8,5,10,9]=>011010101
[1,5,2,9,8,6,3,10,7,4]=>010111011
[4,1,5,2,9,8,6,3,10,7]=>101011101
[1,7,5,2,9,6,3,10,8,4]=>011011011
[4,1,7,5,2,9,3,10,8,6]=>101101011
[4,1,9,6,5,2,7,3,10,8]=>101110101
[3,4,1,7,2,9,5,10,8,6]=>010101011
[3,6,1,9,4,2,7,5,10,8]=>010110101
[1,8,7,5,2,9,6,3,10,4]=>011101101
[4,1,8,7,5,2,9,3,10,6]=>101110101
[6,4,1,8,5,2,9,3,10,7]=>110110101
[7,6,4,1,8,5,2,9,3,10]=>111011010
[3,4,1,8,7,2,9,5,10,6]=>010110101
[3,6,4,1,8,2,9,5,10,7]=>011010101
[3,7,6,4,1,8,2,9,5,10]=>011101010
[1,9,6,5,2,7,3,10,8,4]=>011101011
[6,1,9,4,2,7,3,10,8,5]=>101101011
[5,4,1,9,6,2,7,3,10,8]=>110110101
[9,3,1,6,2,7,4,10,8,5]=>110101011
[9,5,3,1,6,2,7,4,10,8]=>111010101
[6,1,8,5,2,9,7,3,10,4]=>101101101
[6,4,1,8,2,9,7,3,10,5]=>110101101
[8,5,4,1,6,2,9,3,10,7]=>111010101
[5,7,4,1,8,6,2,9,3,10]=>011011010
[3,6,1,8,2,9,7,4,10,5]=>010101101
[5,8,3,1,6,2,9,4,10,7]=>011010101
[5,3,7,1,8,6,2,9,4,10]=>101011010
[4,3,8,1,9,5,2,6,10,7]=>101011001
[7,4,3,5,1,8,2,9,6,10]=>110101010
[9,6,2,1,3,7,4,10,8,5]=>111001011
[5,9,2,1,6,3,7,4,10,8]=>011010101
[6,8,2,1,3,9,7,4,10,5]=>011001101
[8,2,5,1,6,3,9,4,10,7]=>101010101
[2,5,7,1,8,6,3,9,4,10]=>001011010
[2,4,8,1,9,5,3,6,10,7]=>001011001
[5,6,4,3,2,1,7,8,9,10]=>011110000
[6,7,5,4,3,2,1,8,9,10]=>011111000
[7,8,10,9,6,5,4,3,2,1]=>001111111
[8,7,9,10,6,5,4,3,2,1]=>100111111
[7,8,9,10,1,5,6,3,4,2]=>000100101
[10,9,8,5,7,6,4,3,2,1]=>111011111
[10,9,8,4,7,6,5,3,2,1]=>111011111
[10,9,4,8,7,6,5,3,2,1]=>110111111
[10,3,9,8,7,6,5,4,2,1]=>101111111
[10,2,9,8,7,6,5,4,3,1]=>101111111
[9,10,2,1,6,4,3,5,7,8]=>011011000
[7,10,2,1,8,4,3,5,6,9]=>011011000
[2,9,1,10,7,4,3,5,6,8]=>010111000
[2,8,1,9,4,3,10,5,6,7]=>010110100
[10,8,5,2,1,6,3,4,7,9]=>111101000
[9,5,2,1,10,6,3,4,7,8]=>111011000
[10,7,2,1,8,5,3,4,6,9]=>111011000
[9,2,1,10,7,5,3,4,6,8]=>110111000
[2,8,1,9,3,10,5,4,6,7]=>010101100
[10,6,2,1,7,3,8,4,5,9]=>111010100
[9,2,1,10,6,3,7,4,5,8]=>110110100
[8,2,1,9,3,10,6,4,5,7]=>110101100
[7,2,1,8,3,9,4,10,5,6]=>110101010
[10,8,6,3,1,4,2,5,7,9]=>111101000
[3,9,1,10,6,4,2,5,7,8]=>010111000
[10,7,3,1,8,4,2,5,6,9]=>111011000
[9,3,1,10,7,4,2,5,6,8]=>110111000
[8,3,1,9,4,2,10,5,6,7]=>110110100
[10,8,5,1,6,3,2,4,7,9]=>111011000
[9,5,1,10,6,3,2,4,7,8]=>110111000
[10,7,1,8,5,3,2,4,6,9]=>110111000
[9,1,10,7,5,3,2,4,6,8]=>101111000
[8,3,1,9,2,10,5,4,6,7]=>110101100
[10,6,1,7,3,2,8,4,5,9]=>110110100
[9,1,10,6,3,2,7,4,5,8]=>101110100
[8,1,9,3,2,10,6,4,5,7]=>101101100
[7,1,8,3,2,9,4,10,5,6]=>101101010
[10,8,4,1,5,2,6,3,7,9]=>111010100
[9,4,1,10,5,2,6,3,7,8]=>110110100
[10,7,1,8,4,2,5,3,6,9]=>110110100
[9,1,10,7,4,2,5,3,6,8]=>101110100
[8,1,9,4,2,10,5,3,6,7]=>101101100
[10,6,1,7,2,8,4,3,5,9]=>110101100
[9,1,10,6,2,7,4,3,5,8]=>101101100
[8,1,9,2,10,6,4,3,5,7]=>101011100
[7,1,8,2,9,4,3,10,5,6]=>101011010
[10,5,1,6,2,7,3,8,4,9]=>110101010
[9,1,10,5,2,6,3,7,4,8]=>101101010
[8,1,9,2,10,5,3,6,4,7]=>101011010
[7,1,8,2,9,3,10,5,4,6]=>101010110
[4,2,1,3,6,5,8,7,10,9]=>110010101
[10,2,3,1,4,5,6,7,8,9]=>101000000
[10,9,8,6,5,7,4,3,2,1]=>111101111
[10,9,8,4,5,7,6,3,2,1]=>111001111
[10,9,8,5,4,6,7,3,2,1]=>111100111
[1,3,4,2,5,6,7,8,9,10]=>001000000
[1,2,4,5,6,3,7,8,9,10]=>000010000
[1,2,3,5,6,7,8,4,9,10]=>000000100
[2,1,5,3,6,7,4,8,9,10]=>101001000
[1,3,5,6,4,2,7,8,9,10]=>000110000
[3,5,2,1,6,4,7,8,9,10]=>011010000
[2,1,3,6,4,7,8,9,5,10]=>100100010
[1,3,4,6,7,2,8,5,9,10]=>000010100
[3,2,6,1,4,7,8,5,9,10]=>101000100
[2,4,6,1,7,5,3,8,9,10]=>001011000
[4,6,3,2,1,7,5,8,9,10]=>011101000
[1,3,4,2,7,8,5,9,10,6]=>001001001
[3,2,1,7,4,5,8,9,10,6]=>110100001
[1,2,4,5,7,8,9,6,3,10]=>000000110
[4,3,7,2,1,5,8,9,6,10]=>101100010
[1,3,5,7,8,6,4,2,9,10]=>000011100
[3,5,7,2,1,8,6,4,9,10]=>001101100
[5,7,4,3,2,1,8,6,9,10]=>011110100
[2,1,5,3,8,6,9,10,7,4]=>101010011
[1,3,5,6,8,9,4,2,10,7]=>000001101
[3,5,2,8,1,6,9,4,10,7]=>010100101
[5,4,8,3,2,1,6,9,10,7]=>101110001
[2,4,6,8,1,9,7,5,3,10]=>000101110
[4,6,8,3,2,1,9,7,5,10]=>001110110
[6,8,5,4,3,2,1,9,7,10]=>011111010
[3,5,7,9,2,1,10,8,6,4]=>000110111
[5,7,9,4,3,2,1,10,8,6]=>001111011
[7,9,6,5,4,3,2,1,10,8]=>011111101
[2,3,7,5,6,1,10,9,4,8]=>001010110
[2,3,4,10,6,9,8,5,1,7]=>000101110
[2,3,6,5,9,10,8,4,1,7]=>001001110
[2,3,9,5,8,7,4,1,10,6]=>001011101
[2,5,4,9,6,10,8,3,1,7]=>010101110
[2,5,4,8,9,7,3,1,10,6]=>010011101
[2,3,4,10,6,7,1,9,8,5]=>000101011
[2,3,7,5,6,1,10,9,8,4]=>001010111
[2,3,4,10,6,8,9,1,7,5]=>000100101
[2,3,6,5,8,10,9,1,7,4]=>001001101
[2,3,8,5,7,9,1,10,6,4]=>001001011
[2,5,4,8,6,10,9,1,7,3]=>010101101
[2,5,4,7,8,9,1,10,6,3]=>010001011
[2,3,4,10,6,9,8,7,5,1]=>000101111
[2,3,6,5,9,10,8,7,4,1]=>001001111
[2,3,7,5,9,8,10,6,4,1]=>001010111
[2,3,9,5,8,7,6,4,1,10]=>001011110
[2,5,4,9,6,10,8,7,3,1]=>010101111
[2,5,4,9,7,8,10,6,3,1]=>010100111
[2,5,4,8,9,7,6,3,1,10]=>010011110
[2,3,4,10,7,9,8,1,6,5]=>000101101
[2,3,5,7,10,9,8,1,6,4]=>000011101
[2,3,8,6,9,7,1,10,5,4]=>001011011
[2,4,7,5,10,9,8,1,6,3]=>001011101
[2,4,6,8,9,7,1,10,5,3]=>000011011
[2,3,4,10,7,8,9,6,5,1]=>000100111
[2,3,5,7,10,8,9,6,4,1]=>000010111
[2,3,7,6,8,9,10,5,4,1]=>001000111
[2,3,9,6,7,8,5,4,1,10]=>001001110
[2,4,7,5,10,8,9,6,3,1]=>001010111
[2,4,6,7,8,9,10,5,3,1]=>000000111
[2,4,6,9,7,8,5,3,1,10]=>000101110
[2,6,5,8,9,7,10,4,3,1]=>010010111
[2,6,5,7,8,9,4,3,1,10]=>010001110
[3,7,4,5,10,9,8,1,6,2]=>010011101
[3,6,4,8,9,7,1,10,5,2]=>010011011
[3,7,4,5,10,8,9,6,2,1]=>010010111
[3,6,4,7,8,9,10,5,2,1]=>010000111
[3,6,4,9,7,8,5,2,1,10]=>010101110
[3,5,6,8,9,7,10,4,2,1]=>000010111
[3,5,6,7,8,9,4,2,1,10]=>000001110
[4,3,2,7,6,5,1,9,8,10]=>110111010
[4,3,2,1,7,6,9,8,5,10]=>111010110
[4,3,2,7,6,1,9,8,5,10]=>110110110
[4,3,2,7,6,9,8,5,1,10]=>110101110
[4,3,7,6,2,1,9,8,5,10]=>101110110
[4,3,7,6,2,9,8,5,1,10]=>101101110
[4,3,2,1,7,6,5,9,10,8]=>111011001
[4,3,2,7,6,5,1,9,10,8]=>110111001
[4,3,2,1,7,6,9,5,10,8]=>111010101
[4,3,2,7,6,1,9,5,10,8]=>110110101
[4,3,2,7,6,9,5,1,10,8]=>110101101
[4,3,7,6,2,1,9,5,10,8]=>101110101
[4,3,7,6,2,9,5,1,10,8]=>101101101
[4,3,2,1,7,6,9,10,8,5]=>111010011
[4,3,2,7,6,1,9,10,8,5]=>110110011
[4,3,2,7,6,9,1,10,8,5]=>110101011
[4,3,2,7,6,9,10,8,5,1]=>110100111
[4,3,7,6,2,1,9,10,8,5]=>101110011
[4,3,7,6,2,9,1,10,8,5]=>101101011
[4,3,7,6,2,9,10,8,5,1]=>101100111
[4,3,2,1,7,9,6,5,10,8]=>111001101
[4,3,2,7,1,9,6,5,10,8]=>110101101
[4,3,2,7,9,6,5,1,10,8]=>110011101
[4,3,7,2,1,9,6,5,10,8]=>101101101
[4,3,7,2,9,6,5,1,10,8]=>101011101
[4,3,2,1,7,9,6,10,8,5]=>111001011
[4,3,2,7,1,9,6,10,8,5]=>110101011
[4,3,2,7,9,6,1,10,8,5]=>110011011
[4,3,2,7,9,6,10,8,5,1]=>110010111
[4,3,7,2,1,9,6,10,8,5]=>101101011
[4,3,7,2,9,6,1,10,8,5]=>101011011
[4,3,7,2,9,6,10,8,5,1]=>101010111
[4,3,7,9,6,2,1,10,8,5]=>100111011
[4,3,7,9,6,2,10,8,5,1]=>100110111
[4,7,3,2,1,9,6,5,10,8]=>011101101
[4,7,3,2,9,6,5,1,10,8]=>011011101
[4,7,3,2,1,9,6,10,8,5]=>011101011
[4,7,3,2,9,6,1,10,8,5]=>011011011
[4,7,3,2,9,6,10,8,5,1]=>011010111
[4,7,3,9,6,2,1,10,8,5]=>010111011
[5,6,4,7,3,9,1,8,2,10]=>010101010
[1,6,7,5,8,4,10,2,9,3]=>001010101
[4,5,6,7,8,9,1,10,2,3]=>000001010
[3,2,5,4,7,6,8,10,9,1]=>101010011
[3,2,5,4,6,9,7,8,10,1]=>101001001
[3,2,5,4,6,8,7,10,9,1]=>101001011
[3,2,5,4,6,7,10,8,9,1]=>101000101
[3,2,4,7,5,6,9,8,10,1]=>100100101
[3,2,4,7,5,6,8,10,9,1]=>100100011
[3,2,4,6,5,9,7,8,10,1]=>100101001
[3,2,4,6,5,8,7,10,9,1]=>100101011
[3,2,4,6,5,7,10,8,9,1]=>100100101
[3,2,4,5,9,6,7,8,10,1]=>100010001
[3,2,4,5,8,6,7,10,9,1]=>100010011
[3,2,4,5,7,6,10,8,9,1]=>100010101
[3,2,4,5,6,10,7,8,9,1]=>100001001
[2,5,3,4,7,6,9,8,10,1]=>010010101
[2,5,3,4,7,6,8,10,9,1]=>010010011
[2,5,3,4,6,9,7,8,10,1]=>010001001
[2,5,3,4,6,8,7,10,9,1]=>010001011
[2,5,3,4,6,7,10,8,9,1]=>010000101
[2,4,3,7,5,6,9,8,10,1]=>010100101
[2,4,3,7,5,6,8,10,9,1]=>010100011
[2,4,3,6,5,9,7,8,10,1]=>010101001
[2,4,3,6,5,7,10,8,9,1]=>010100101
[2,4,3,5,9,6,7,8,10,1]=>010010001
[2,4,3,5,8,6,7,10,9,1]=>010010011
[2,4,3,5,7,6,10,8,9,1]=>010010101
[2,4,3,5,6,10,7,8,9,1]=>010001001
[2,3,7,4,5,6,9,8,10,1]=>001000101
[2,3,7,4,5,6,8,10,9,1]=>001000011
[2,3,6,4,5,9,7,8,10,1]=>001001001
[2,3,6,4,5,8,7,10,9,1]=>001001011
[2,3,6,4,5,7,10,8,9,1]=>001000101
[2,3,5,4,9,6,7,8,10,1]=>001010001
[2,3,5,4,8,6,7,10,9,1]=>001010011
[2,3,5,4,7,6,10,8,9,1]=>001010101
[2,3,5,4,6,10,7,8,9,1]=>001001001
[2,3,4,9,5,6,7,8,10,1]=>000100001
[2,3,4,8,5,6,7,10,9,1]=>000100011
[2,3,4,7,5,6,10,8,9,1]=>000100101
[2,3,4,6,5,10,7,8,9,1]=>000101001
[3,4,5,6,2,7,8,9,10,1]=>000100001
[2,4,5,6,3,7,8,9,10,1]=>000100001
[2,3,5,6,4,7,8,9,10,1]=>000100001
[9,3,10,1,2,4,5,6,7,8]=>101000000
[10,3,1,9,2,4,5,6,7,8]=>110100000
[3,1,4,10,2,5,6,7,8,9]=>100100000
[9,8,10,7,6,5,4,3,1,2]=>101111110
[10,7,1,2,3,4,8,9,5,6]=>110000010
[6,2,3,4,5,7,8,9,10,1]=>100000001
[2,6,3,4,5,7,8,9,10,1]=>010000001
[2,3,6,4,5,7,8,9,10,1]=>001000001
[10,2,3,4,5,6,7,1,8,9]=>100000100
[10,2,3,4,5,6,1,7,8,9]=>100001000
[10,2,3,4,5,1,6,7,8,9]=>100010000
[10,2,3,4,1,5,6,7,8,9]=>100100000
[2,8,1,3,4,5,6,10,7,9]=>010000010
[10,7,1,2,3,4,5,9,6,8]=>110000010
[4,5,6,8,2,9,3,10,7,1]=>000101011
[10,4,5,6,9,3,8,2,7,1]=>100010101
[4,5,10,6,9,3,8,2,7,1]=>001010101
[4,5,8,2,6,10,9,3,7,1]=>001001101
[10,6,9,5,4,3,8,2,7,1]=>101110101
[8,2,6,10,9,5,4,3,7,1]=>100111101
[8,2,10,4,5,6,7,1,9,3]=>101000101
[4,5,6,8,2,10,7,1,9,3]=>000101101
[10,4,5,6,8,2,7,1,9,3]=>100010101
[4,5,10,6,8,2,7,1,9,3]=>001010101
[4,5,10,8,2,6,7,1,9,3]=>001100101
[10,6,8,2,7,1,9,5,4,3]=>101010111
[10,8,2,6,7,1,9,5,4,3]=>110010111
[8,2,7,1,9,3,10,4,5,6]=>101010100
[4,5,8,2,7,1,9,3,10,6]=>001010101
[4,5,9,3,10,7,1,8,2,6]=>001011010
[4,5,7,1,9,3,8,2,6,10]=>001010100
[8,2,7,1,9,5,4,3,10,6]=>101011101
[9,5,4,3,10,7,1,8,2,6]=>111011010
[7,1,9,5,4,3,8,2,6,10]=>101110100
[8,2,6,10,4,5,7,1,9,3]=>100100101
[4,8,2,6,10,5,7,1,9,3]=>010010101
[4,10,8,2,5,6,7,1,9,3]=>011000101
[8,2,6,10,5,7,1,9,4,3]=>100101011
[10,8,2,5,6,7,1,9,4,3]=>110001011
[9,3,10,4,5,7,1,8,2,6]=>101001010
[4,9,3,10,5,7,1,8,2,6]=>010101010
[4,9,3,10,7,1,8,2,5,6]=>010110100
[4,7,1,9,3,8,2,5,6,10]=>010101000
[9,4,3,10,5,7,1,8,2,6]=>110101010
[9,4,3,10,7,1,8,2,5,6]=>110110100
[7,1,9,4,3,8,2,5,6,10]=>101101000
[5,10,7,1,8,2,4,3,9,6]=>011010101
[5,7,1,8,2,4,3,9,6,10]=>010101010
[10,5,7,1,9,4,2,6,8,3]=>101011001
[9,4,2,5,6,7,1,10,8,3]=>110001011
[10,5,7,1,8,3,9,4,2,6]=>101010110
[10,7,1,8,3,9,4,2,5,6]=>110101100
[7,1,8,3,9,4,2,5,6,10]=>101011000
[4,2,5,10,7,1,8,3,9,6]=>100110101
[4,2,5,7,1,8,3,9,6,10]=>100101010
[4,5,6,7,8,9,1,2,10,3]=>000001001
[2,1,10,9,8,7,6,5,3,4]=>101111110
[10,9,7,3,6,1,2,4,8,5]=>111010001
[9,7,3,6,1,2,4,10,8,5]=>110100011
[7,3,10,9,6,1,2,4,8,5]=>101110001
[7,3,9,6,1,2,4,10,8,5]=>101100011
[9,6,1,2,4,10,7,3,8,5]=>110001101
[8,4,10,9,7,3,6,1,2,5]=>101110100
[10,8,4,9,7,3,6,1,2,5]=>110110100
[7,3,8,4,10,9,6,1,2,5]=>101011100
[7,3,10,8,4,9,6,1,2,5]=>101101100
[10,7,3,8,4,9,6,1,2,5]=>110101100
[6,1,2,7,3,8,4,10,9,5]=>100101011
[6,1,2,7,3,10,8,4,9,5]=>100101101
[6,1,2,10,7,3,8,4,9,5]=>100110101
[10,6,1,2,7,3,8,4,9,5]=>110010101
[6,1,3,10,9,7,2,4,8,5]=>100111001
[6,1,3,9,7,2,4,10,8,5]=>100110011
[10,9,6,1,3,7,2,4,8,5]=>111001001
[9,6,1,3,7,2,4,10,8,5]=>110010011
[10,7,2,4,9,6,1,3,8,5]=>110011001
[6,1,3,8,4,10,9,7,2,5]=>100101110
[6,1,3,10,8,4,9,7,2,5]=>100110110
[8,4,10,9,6,1,3,7,2,5]=>101110010
[10,8,4,9,6,1,3,7,2,5]=>110110010
[9,6,1,3,8,4,10,7,2,5]=>110010110
[7,2,6,1,3,8,4,10,9,5]=>101001011
[7,2,6,1,3,10,8,4,9,5]=>101001101
[10,7,2,6,1,3,8,4,9,5]=>110100101
[7,2,10,6,1,3,8,4,9,5]=>101100101
[8,3,6,1,4,10,9,7,2,5]=>101001110
[10,8,3,6,1,4,9,7,2,5]=>110100110
[10,9,6,1,4,8,3,7,2,5]=>111001010
[9,6,1,4,10,8,3,7,2,5]=>110011010
[8,3,9,6,1,4,10,7,2,5]=>101100110
[8,3,7,2,6,1,4,10,9,5]=>101010011
[10,8,3,7,2,6,1,4,9,5]=>110101001
[8,3,10,7,2,6,1,4,9,5]=>101101001
[7,2,8,3,10,6,1,4,9,5]=>101011001
[9,4,10,8,3,7,2,6,1,5]=>101101010
[8,3,9,4,10,7,2,6,1,5]=>101011010
[7,2,8,3,9,4,10,6,1,5]=>101010110
[10,3,4,1,2,5,6,7,8,9]=>101000000
[1,2,3,4,8,5,9,6,10,7]=>000010101
[1,2,3,4,5,8,6,10,9,7]=>000001011
[1,2,3,7,4,8,5,10,9,6]=>000101011
[1,2,3,4,9,7,5,10,8,6]=>000011011
[1,2,3,4,7,5,10,9,8,6]=>000010111
[1,6,2,7,3,8,4,10,9,5]=>010101011
[1,2,6,3,9,7,4,10,8,5]=>001011011
[1,2,6,3,7,4,10,9,8,5]=>001010111
[1,2,3,8,6,4,10,9,7,5]=>000110111
[1,2,3,6,4,10,9,8,7,5]=>000101111
[5,1,6,2,9,7,3,10,8,4]=>101011011
[5,1,6,2,7,3,10,9,8,4]=>101010111
[1,5,2,6,3,10,9,8,7,4]=>010101111
[1,2,7,5,3,10,9,8,6,4]=>001101111
[1,2,5,3,10,9,8,7,6,4]=>001011111
[7,4,1,8,5,2,10,9,6,3]=>110110111
[4,1,9,7,5,2,10,8,6,3]=>101110111
[4,1,7,5,2,10,9,8,6,3]=>101101111
[4,1,5,2,10,9,8,7,6,3]=>101011111
[1,8,6,4,2,10,9,7,5,3]=>011101111
[1,6,4,2,10,9,8,7,5,3]=>011011111
[1,4,2,10,9,8,7,6,5,3]=>010111111
[7,5,3,1,10,9,8,6,4,2]=>111011111
[5,3,1,10,9,8,7,6,4,2]=>110111111
[1,4,2,5,6,7,8,10,9,3]=>010000011
[2,1,4,5,6,7,10,8,3,9]=>100000110
[3,1,5,2,6,10,7,8,9,4]=>101001001
[4,5,1,6,7,9,8,10,2,3]=>010001010
[7,2,8,3,9,4,10,5,1,6]=>101010110
[7,2,8,3,9,4,10,1,5,6]=>101010100
[7,2,8,3,9,10,4,5,1,6]=>101001010
[7,2,8,3,9,10,4,1,5,6]=>101001100
[7,2,8,3,9,10,1,4,5,6]=>101001000
[7,2,8,9,3,4,10,5,1,6]=>100100110
[7,2,8,9,3,4,10,1,5,6]=>100100100
[7,2,8,9,3,10,4,5,1,6]=>100101010
[7,2,8,9,3,10,4,1,5,6]=>100101100
[7,2,8,9,3,10,1,4,5,6]=>100101000
[7,2,8,9,10,3,4,5,1,6]=>100010010
[7,2,8,9,10,3,4,1,5,6]=>100010100
[7,2,8,9,10,3,1,4,5,6]=>100011000
[7,8,2,3,9,4,10,5,1,6]=>010010110
[7,8,2,3,9,4,10,1,5,6]=>010010100
[7,8,2,3,9,10,4,5,1,6]=>010001010
[7,8,2,3,9,10,4,1,5,6]=>010001100
[7,8,2,3,9,10,1,4,5,6]=>010001000
[7,8,2,9,3,4,10,5,1,6]=>010100110
[7,8,2,9,3,4,10,1,5,6]=>010100100
[7,8,2,9,3,10,4,5,1,6]=>010101010
[7,8,2,9,3,10,4,1,5,6]=>010101100
[7,8,2,9,3,10,1,4,5,6]=>010101000
[7,8,2,9,10,3,4,5,1,6]=>010010010
[7,8,2,9,10,3,4,1,5,6]=>010010100
[7,8,2,9,10,3,1,4,5,6]=>010011000
[7,8,2,9,10,1,3,4,5,6]=>010010000
[7,8,9,2,3,4,10,5,1,6]=>001000110
[7,8,9,2,3,4,10,1,5,6]=>001000100
[7,8,9,2,3,10,4,5,1,6]=>001001010
[7,8,9,2,3,10,4,1,5,6]=>001001100
[7,8,9,2,3,10,1,4,5,6]=>001001000
[7,8,9,2,10,3,4,5,1,6]=>001010010
[7,8,9,2,10,3,4,1,5,6]=>001010100
[7,8,9,2,10,3,1,4,5,6]=>001011000
[7,8,9,2,10,1,3,4,5,6]=>001010000
[7,8,9,10,2,3,4,1,5,6]=>000100100
[7,8,9,10,2,3,1,4,5,6]=>000101000
[7,8,9,10,2,1,3,4,5,6]=>000110000
[5,9,8,7,6,4,3,2,1,10]=>011111110
[10,9,8,6,1,7,5,4,3,2]=>111101111
[1,2,9,3,4,5,6,7,10,8]=>001000001
[1,2,3,4,5,9,6,7,10,8]=>000001001
[1,10,6,2,3,4,9,5,7,8]=>011000100
[1,5,2,9,3,10,4,6,7,8]=>010101000
[1,2,4,3,10,9,5,6,7,8]=>001011000
[1,3,2,4,5,10,9,6,7,8]=>010001100
[2,1,3,4,5,9,6,10,7,8]=>100001010
[9,8,7,6,5,4,1,10,3,2]=>111111011
[9,8,7,6,5,2,10,1,3,4]=>111110100
[9,8,7,6,3,10,2,1,4,5]=>111101100
[9,8,7,4,10,3,2,1,6,5]=>111011101
[9,8,5,10,4,3,2,1,6,7]=>110111100
[9,6,10,5,4,3,2,1,7,8]=>101111100
[7,10,6,5,4,3,2,1,9,8]=>011111101
[10,7,8,1,2,3,4,5,6,9]=>101000000
[6,7,10,1,2,3,4,5,8,9]=>001000000
[1,10,2,3,4,7,5,6,8,9]=>010001000
[10,9,8,6,7,5,4,3,2,1]=>111011111
[10,9,7,6,8,5,4,3,2,1]=>111011111
[10,8,7,6,9,5,4,3,2,1]=>111011111
[9,8,7,6,4,3,2,5,1,10]=>111111010
[9,8,7,6,4,3,5,2,1,10]=>111110110
[1,10,9,8,6,5,7,4,3,2]=>011110111
[3,1,4,5,6,7,9,2,10,8]=>100000101
[10,8,9,6,7,4,5,2,1,3]=>101010110
[2,4,3,1,5,6,7,8,9,10]=>011000000
[2,3,6,4,5,1,7,8,9,10]=>001010000
[3,4,5,2,1,6,7,8,9,10]=>001100000
[2,3,4,8,5,6,7,1,9,10]=>000100100
[3,5,4,7,2,6,1,8,9,10]=>010101000
[2,6,4,1,5,3,7,8,9,10]=>011010000
[4,5,2,6,3,1,7,8,9,10]=>010110000
[3,6,4,5,9,2,7,8,1,10]=>010010010
[2,5,4,7,8,6,3,1,9,10]=>010011100
[4,6,2,5,8,3,7,1,9,10]=>010010100
[3,5,7,6,1,4,2,8,9,10]=>001101000
[5,6,2,3,7,4,1,8,9,10]=>010011000
[2,5,4,8,6,10,7,3,9,1]=>010101101
[4,7,2,5,6,10,3,8,9,1]=>010001001
[2,3,9,5,6,1,7,8,4,10]=>001010010
[5,7,2,3,6,9,4,8,1,10]=>010001010
[2,8,4,1,6,3,7,5,9,10]=>011010100
[4,6,7,8,3,1,5,2,9,10]=>000110100
[6,7,2,3,4,8,5,1,9,10]=>010001100
[3,6,4,10,8,7,1,5,9,2]=>010111001
[2,7,4,9,6,3,10,8,5,1]=>010110111
[4,6,8,7,3,9,10,5,2,1]=>001100111
[6,8,2,3,4,7,10,5,9,1]=>010000101
[3,5,9,7,1,8,2,6,4,10]=>001101010
[5,7,8,3,9,4,1,6,2,10]=>001011010
[7,8,2,3,4,5,9,6,1,10]=>010000110
[4,6,8,10,9,1,5,2,7,3]=>000110101
[6,8,9,3,4,10,5,1,7,2]=>001001101
[8,9,2,3,4,5,6,10,7,1]=>010000011
[10,8,9,6,4,7,2,5,1,3]=>101101010
[10,8,9,6,7,4,2,5,1,3]=>101011010
[10,1,2,9,6,3,4,5,7,8]=>100110000
[4,1,2,10,3,5,9,6,7,8]=>100100100
[1,10,9,8,5,6,7,4,3,2]=>011100111
[1,10,9,5,6,7,8,4,3,2]=>011000111
[1,10,4,5,6,7,8,9,3,2]=>010000011
[5,3,1,2,6,7,8,9,10,4]=>110000001
[7,3,4,5,1,2,8,9,10,6]=>100100001
[8,3,4,5,6,1,2,9,10,7]=>100010001
[2,6,7,8,9,10,1,3,4,5]=>000001000
[10,8,9,7,6,5,4,3,2,1]=>101111111
[10,8,6,4,9,7,5,3,2,1]=>111011111
[10,8,6,4,2,1,9,7,5,3]=>111110111
[10,8,9,6,5,4,3,2,1,7]=>101111110
[9,7,10,8,5,4,3,2,1,6]=>101111110
[9,7,4,3,2,1,5,10,8,6]=>111110011
[9,7,5,10,8,6,3,2,1,4]=>110111110
[10,8,6,4,9,7,5,2,1,3]=>111011110
[10,8,6,4,1,2,9,7,5,3]=>111100111
[2,5,1,6,3,7,4,8,9,10]=>010101000
[3,4,5,1,6,2,7,8,9,10]=>001010000
[2,6,1,7,3,8,4,9,5,10]=>010101010
[3,4,6,1,7,2,8,5,9,10]=>001010100
[3,2,6,1,7,4,8,5,9,10]=>101010100
[4,2,5,6,1,7,3,8,9,10]=>100101000
[3,4,2,6,1,7,5,8,9,10]=>010101000
[3,2,7,1,8,4,9,5,10,6]=>101010101
[4,5,6,7,1,8,2,9,3,10]=>000101010
[3,4,2,7,1,8,5,9,6,10]=>010101010
[5,3,6,4,7,1,8,2,9,10]=>101010100
[3,5,2,6,7,1,8,4,9,10]=>010010100
[4,3,5,2,7,1,8,6,9,10]=>101010100
[5,2,6,7,8,1,9,3,10,4]=>100010101
[5,3,6,4,8,1,9,2,10,7]=>101010101
[3,5,2,6,8,1,9,4,10,7]=>010010101
[4,3,5,2,8,1,9,6,10,7]=>101010101
[4,6,2,7,5,8,1,9,3,10]=>010101010
[4,3,6,2,7,8,1,9,5,10]=>101001010
[4,5,3,6,2,8,1,9,7,10]=>010101010
[5,3,7,2,8,6,9,1,10,4]=>101010101
[4,5,3,7,2,8,9,1,10,6]=>010100101
[5,4,6,3,7,2,9,1,10,8]=>101010101
[8,7,10,6,5,4,3,2,1,9]=>101111110
[8,7,6,10,5,4,3,2,1,9]=>110111110
[8,7,6,5,4,10,3,2,1,9]=>111101110
[8,7,6,5,4,3,10,2,1,9]=>111110110
[5,1,6,7,8,9,10,2,3,4]=>100000100
[5,6,7,8,9,10,1,3,4,2]=>000001001
[5,6,7,8,9,10,1,4,3,2]=>000001011
[7,8,9,10,1,4,5,6,2,3]=>000100010
[7,8,9,10,1,4,5,6,3,2]=>000100011
[7,8,9,10,1,5,6,4,3,2]=>000100111
[7,8,9,10,1,6,5,4,3,2]=>000101111
[8,9,10,1,4,5,6,7,2,3]=>001000010
[8,9,10,1,4,5,6,7,3,2]=>001000011
[8,9,10,1,5,6,7,2,3,4]=>001000100
[8,9,10,1,5,6,7,4,3,2]=>001000111
[8,9,10,1,6,7,4,5,2,3]=>001001010
[8,9,10,1,6,7,4,5,3,2]=>001001011
[8,9,10,1,6,7,5,4,3,2]=>001001111
[8,9,10,1,7,6,5,4,3,2]=>001011111
[9,10,1,6,7,8,3,4,5,2]=>010001001
[9,10,1,6,7,8,4,5,2,3]=>010001010
[9,10,1,6,7,8,4,5,3,2]=>010001011
[9,10,1,6,7,8,5,4,3,2]=>010001111
[9,10,1,7,8,5,6,3,4,2]=>010010101
[9,10,1,7,8,5,6,4,3,2]=>010010111
[9,10,1,7,8,6,5,4,3,2]=>010011111
[10,1,8,9,6,7,4,5,3,2]=>100101011
[10,1,8,9,6,7,5,4,3,2]=>100101111
[10,1,8,9,7,6,5,4,3,2]=>100111111
[6,10,9,8,7,5,4,3,1,2]=>011111110
[8,9,7,6,5,4,3,2,10,1]=>011111101
[2,3,4,5,6,7,1,9,10,8]=>000001001
[2,3,4,5,1,7,8,9,10,6]=>000100001
[2,3,1,5,6,7,8,9,10,4]=>010000001
[4,2,5,3,7,6,9,8,1,10]=>101010110
[4,2,6,3,7,5,9,8,1,10]=>101010110
[4,2,6,3,8,5,9,7,1,10]=>101010110
[4,2,6,3,8,5,10,7,1,9]=>101010110
[4,2,6,3,8,5,10,7,9,1]=>101010101
[4,2,6,3,8,5,7,10,9,1]=>101010011
[4,2,6,3,5,8,7,10,9,1]=>101001011
[4,2,3,6,5,8,7,10,9,1]=>100101011
[3,4,5,6,7,10,2,1,9,8]=>000001101
[3,4,5,6,9,2,10,1,8,7]=>000010101
[3,4,5,8,2,9,10,1,6,7]=>000100100
[3,4,7,2,8,9,10,1,6,5]=>001000101
[3,6,2,7,8,9,10,1,5,4]=>010000101
[5,2,6,7,8,9,10,1,3,4]=>100000100
[9,10,8,7,6,5,4,1,3,2]=>011111101
[10,8,7,6,5,4,3,2,9,1]=>111111101
[2,9,4,5,6,7,8,1,10,3]=>010000101
[4,3,10,5,6,7,8,9,2,1]=>101000011
[3,2,9,5,6,7,8,1,10,4]=>101000101
[8,9,4,5,6,7,1,3,10,2]=>010001001
[3,4,1,10,6,7,8,9,2,5]=>010100010
[4,9,10,5,6,7,8,2,1,3]=>001000110
[9,1,2,3,6,4,5,7,8,10]=>100010000
[5,6,7,8,9,10,3,2,1,4]=>000001110
[7,8,9,10,3,4,5,1,2,6]=>000100100
[7,8,9,10,3,4,5,2,1,6]=>000100110
[7,8,9,10,4,5,2,3,1,6]=>000101010
[7,8,9,10,4,5,3,2,1,6]=>000101110
[7,8,9,10,5,4,3,2,1,6]=>000111110
[8,9,10,3,4,5,6,1,2,7]=>001000100
[8,9,10,3,4,5,6,2,1,7]=>001000110
[8,9,10,4,5,6,1,2,3,7]=>001001000
[8,9,10,4,5,6,3,2,1,7]=>001001110
[8,9,10,5,6,3,4,1,2,7]=>001010100
[8,9,10,5,6,3,4,2,1,7]=>001010110
[8,9,10,5,6,4,3,2,1,7]=>001011110
[8,9,10,6,5,4,3,2,1,7]=>001111110
[9,10,5,6,7,2,3,4,1,8]=>010010010
[9,10,5,6,7,3,4,1,2,8]=>010010100
[9,10,5,6,7,3,4,2,1,8]=>010010110
[9,10,5,6,7,4,3,2,1,8]=>010011110
[9,10,6,7,4,5,3,2,1,8]=>010101110
[9,10,6,7,5,4,3,2,1,8]=>010111110
[9,10,7,6,5,4,3,2,1,8]=>011111110
[10,7,8,5,6,3,4,2,1,9]=>101010110
[10,7,8,5,6,4,3,2,1,9]=>101011110
[10,7,8,6,5,4,3,2,1,9]=>101111110
[10,9,1,2,3,7,8,4,5,6]=>110000100
[10,9,1,2,8,7,3,4,5,6]=>110011000
[9,8,1,10,7,2,3,4,5,6]=>110110000
[8,6,1,2,3,4,5,9,10,7]=>110000001
[5,7,1,2,3,4,8,9,10,6]=>010000001
[10,4,1,2,3,7,8,9,5,6]=>110000010
[10,3,1,2,9,7,8,4,5,6]=>110010100
[2,9,1,10,8,7,3,4,5,6]=>010111000
[4,2,6,1,3,5,8,7,10,9]=>101000101
[4,2,6,1,8,3,5,7,10,9]=>101010001
[4,2,6,1,8,3,10,5,7,9]=>101010100
[10,7,1,8,2,9,3,4,5,6]=>110101000
[9,7,1,10,8,2,3,4,5,6]=>110110000
[10,9,7,1,8,2,3,4,5,6]=>111010000
[10,6,1,7,2,8,3,9,4,5]=>110101010
[9,6,1,10,7,2,8,3,4,5]=>110110100
[10,9,6,1,7,2,8,3,4,5]=>111010100
[10,8,6,1,9,7,2,3,4,5]=>111011000
[10,9,8,6,1,7,2,3,4,5]=>111101000
[9,5,1,10,6,2,7,3,8,4]=>110110101
[10,9,5,1,6,2,7,3,8,4]=>111010101
[8,5,1,9,6,2,10,7,3,4]=>110110110
[10,8,5,1,9,6,2,7,3,4]=>111011010
[10,9,8,5,1,6,2,7,3,4]=>111101010
[9,7,5,1,10,8,6,2,3,4]=>111011100
[10,9,7,5,1,8,6,2,3,4]=>111101100
[10,9,8,7,5,1,6,2,3,4]=>111110100
[9,7,4,1,10,8,5,2,6,3]=>111011101
[10,9,7,4,1,8,5,2,6,3]=>111101101
[10,9,8,7,4,1,5,2,6,3]=>111110101
[10,8,6,4,1,9,7,5,2,3]=>111101110
[10,9,8,6,4,1,7,5,2,3]=>111110110
[10,9,8,7,6,4,1,5,2,3]=>111111010
[10,9,7,5,3,1,8,6,4,2]=>111110111
[10,9,8,7,5,3,1,6,4,2]=>111111011
[10,9,8,7,6,5,3,1,4,2]=>111111101
[2,3,4,10,6,7,8,9,1,5]=>000100010
[2,3,10,5,6,7,8,9,1,4]=>001000010
[2,3,4,5,6,10,1,9,7,8]=>000001010
[2,3,4,5,10,1,8,9,6,7]=>000010010
[2,3,10,1,6,7,8,9,4,5]=>001000010
[1,4,2,6,5,8,7,10,9,3]=>010101011
[1,5,2,6,4,8,7,10,9,3]=>010101011
[1,5,2,7,4,8,6,10,9,3]=>010101011
[1,5,2,7,4,9,6,10,8,3]=>010101011
[1,5,2,7,4,9,6,8,10,3]=>010101001
[1,5,2,7,4,6,9,8,10,3]=>010100101
[1,5,2,4,7,6,9,8,10,3]=>010010101
[1,2,5,4,7,6,9,8,10,3]=>001010101
[5,6,7,8,10,9,4,3,2,1]=>000011111
[6,5,7,8,9,10,4,3,2,1]=>100001111
[4,5,6,7,8,10,9,3,2,1]=>000001111
[5,4,6,7,8,9,10,3,2,1]=>100000111
[3,4,5,6,7,9,10,8,1,2]=>000000110
[3,4,5,6,8,9,10,7,1,2]=>000000110
[3,4,6,7,8,9,10,5,1,2]=>000000110
[3,5,6,7,8,9,10,4,1,2]=>000000110
[3,4,5,6,7,10,1,8,9,2]=>000001001
[3,4,5,6,9,1,10,8,7,2]=>000010111
[3,4,5,8,1,9,10,7,6,2]=>000100111
[3,4,7,1,8,9,10,5,6,2]=>001000101
[3,6,1,7,8,9,10,5,4,2]=>010000111
[5,1,6,7,8,9,10,4,3,2]=>100000111
[6,10,5,1,2,3,4,7,8,9]=>011000000
[10,5,4,1,2,3,6,7,8,9]=>111000000
[10,9,3,4,5,6,8,7,2,1]=>110000111
[10,9,4,3,5,6,7,8,2,1]=>111000011
[10,3,4,5,6,7,9,8,2,1]=>100000111
[10,4,3,5,6,7,8,9,2,1]=>110000011
[1,7,5,6,8,4,9,3,10,2]=>010010101
[1,2,3,4,5,8,6,9,7,10]=>000001010
[1,2,3,4,5,9,6,10,7,8]=>000001010
[10,8,7,6,5,4,3,9,2,1]=>111111011
[10,9,7,6,5,4,8,3,2,1]=>111110111
[1,2,3,4,5,6,7,8,9,11,10]=>0000000001
[2,1,3,4,5,6,7,8,9,10,11]=>1000000000
[11,1,2,3,4,5,6,7,8,9,10]=>1000000000
[10,1,2,3,4,5,6,7,8,11,9]=>1000000001
[11,1,2,3,4,5,6,7,10,8,9]=>1000000010
[11,1,2,3,4,5,6,10,7,8,9]=>1000000100
[10,1,2,3,4,5,11,6,7,8,9]=>1000001000
[11,1,2,3,4,10,5,6,7,8,9]=>1000010000
[11,1,2,3,10,4,5,6,7,8,9]=>1000100000
[10,1,2,11,3,4,5,6,7,8,9]=>1001000000
[11,1,10,2,3,4,5,6,7,8,9]=>1010000000
[11,10,1,2,3,4,5,6,7,8,9]=>1100000000
[10,9,8,7,6,5,4,3,2,1,11]=>1111111110
[1,11,10,9,8,7,6,5,4,3,2]=>0111111111
[2,3,4,5,6,7,8,9,10,11,1]=>0000000001
[2,3,4,5,6,7,8,9,11,1,10]=>0000000010
[3,1,4,5,6,7,8,9,10,11,2]=>1000000001
[11,3,4,5,6,7,8,9,1,2,10]=>1000000100
[11,1,4,5,6,7,8,9,10,2,3]=>1000000010
[10,1,2,3,4,5,6,7,8,9,11]=>1000000000
[1,11,2,3,4,5,6,7,8,9,10]=>0100000000
[10,9,8,7,6,5,4,3,1,11,2]=>1111111101
[9,11,8,7,6,5,4,3,2,1,10]=>0111111110
[1,9,8,7,6,5,4,3,11,10,2]=>0111111011
[1,11,8,7,6,5,4,3,2,10,9]=>0111111101
[10,11,9,8,7,6,5,4,3,2,1]=>0111111111
[11,10,9,8,7,6,5,4,3,1,2]=>1111111110
[2,3,4,5,6,7,8,9,10,1,11]=>0000000010
[1,3,4,5,6,7,8,9,10,11,2]=>0000000001
[2,11,1,3,4,5,6,7,8,9,10]=>0100000000
[11,3,1,2,4,5,6,7,8,9,10]=>1100000000
[11,4,1,2,3,5,6,7,8,9,10]=>1100000000
[5,11,1,2,3,4,6,7,8,9,10]=>0100000000
[11,6,1,2,3,4,5,7,8,9,10]=>1100000000
[11,7,1,2,3,4,5,6,8,9,10]=>1100000000
[8,11,1,2,3,4,5,6,7,9,10]=>0100000000
[11,9,1,2,3,4,5,6,7,8,10]=>1100000000
[11,9,8,7,6,5,4,3,2,1,10]=>1111111110
[10,9,8,7,6,5,4,3,2,11,1]=>1111111101
[9,8,10,7,6,5,4,3,2,1,11]=>1011111110
[9,8,7,10,6,5,4,3,2,1,11]=>1101111110
[9,8,7,6,11,5,4,3,2,1,10]=>1110111110
[9,8,7,6,5,10,4,3,2,1,11]=>1111011110
[9,8,7,6,5,4,10,3,2,1,11]=>1111101110
[9,8,7,6,5,4,3,11,2,1,10]=>1111110110
[9,8,7,6,5,4,3,2,10,1,11]=>1111111010
[9,8,7,6,5,4,3,2,1,10,11]=>1111111100
[2,3,4,5,6,7,8,10,11,9,1]=>0000000011
[2,3,4,5,6,7,9,10,11,8,1]=>0000000011
[2,3,4,5,6,8,9,10,11,1,7]=>0000000010
[2,3,4,5,7,8,9,10,11,6,1]=>0000000011
[2,3,4,6,7,8,9,10,11,5,1]=>0000000011
[2,3,5,6,7,8,9,10,11,1,4]=>0000000010
[2,4,5,6,7,8,9,10,11,3,1]=>0000000011
[3,4,5,6,7,8,9,10,11,2,1]=>0000000011
[10,1,11,9,8,7,6,5,4,3,2]=>1011111111
[2,11,10,9,8,7,6,5,4,1,3]=>0111111110
[10,2,1,9,8,7,6,5,4,3,11]=>1101111110
[3,2,10,9,8,7,6,5,4,1,11]=>1011111110
[9,10,2,3,4,5,6,7,8,11,1]=>0100000001
[2,10,11,3,4,5,6,7,8,9,1]=>0010000001
[2,11,10,9,8,7,6,5,4,3,1]=>0111111111
[11,1,10,9,8,7,6,5,4,3,2]=>1011111111
[1,11,10,9,8,7,6,5,2,4,3]=>0111111101
[1,11,10,9,8,7,6,2,5,4,3]=>0111111011
[2,11,10,9,8,7,1,6,5,4,3]=>0111110111
[1,11,10,9,8,2,7,6,5,4,3]=>0111101111
[1,11,10,9,2,8,7,6,5,4,3]=>0111011111
[2,11,10,1,9,8,7,6,5,4,3]=>0110111111
[1,11,2,10,9,8,7,6,5,4,3]=>0101111111
[1,2,11,10,9,8,7,6,5,4,3]=>0011111111
[6,7,8,9,10,1,2,3,4,5,11]=>0000100000
[1,7,8,9,10,11,2,3,4,5,6]=>0000010000
[2,4,1,5,6,7,8,9,10,11,3]=>0100000001
[2,3,4,5,6,7,8,10,1,11,9]=>0000000101
[2,3,5,1,6,7,8,9,10,11,4]=>0010000001
[2,3,4,5,6,7,9,1,10,11,8]=>0000001001
[2,3,4,6,1,7,8,9,10,11,5]=>0001000001
[2,3,4,5,6,8,1,9,10,11,7]=>0000010001
[2,3,4,5,7,1,8,9,10,11,6]=>0000100001
[1,2,3,4,6,8,5,7,10,9,11]=>0000010010
[1,2,3,4,7,5,8,6,10,9,11]=>0000101010
[11,10,9,8,7,6,5,4,3,2,1]=>1111111111
[2,1,11,10,9,8,7,6,5,4,3]=>1011111111
[1,2,3,4,5,6,7,8,10,11,9]=>0000000001
[2,4,1,3,6,5,8,7,10,9,11]=>0100101010
[11,3,4,5,6,7,8,9,10,1,2]=>1000000010
[10,3,4,5,6,7,8,9,1,11,2]=>1000000101
[9,3,4,5,6,7,8,1,10,11,2]=>1000001001
[8,3,4,5,6,7,1,9,10,11,2]=>1000010001
[7,3,4,5,6,1,8,9,10,11,2]=>1000100001
[6,3,4,5,1,7,8,9,10,11,2]=>1001000001
[5,3,4,1,6,7,8,9,10,11,2]=>1010000001
[4,3,1,5,6,7,8,9,10,11,2]=>1100000001
[2,11,4,5,6,7,8,9,10,1,3]=>0100000010
[10,9,4,5,6,7,8,1,2,11,3]=>1100001001
[2,11,10,5,6,7,8,9,1,3,4]=>0110000100
[11,2,3,4,5,6,7,8,9,10,1]=>1000000001
[1,9,11,10,8,7,6,5,4,3,2]=>0011111111
[1,8,11,10,9,7,6,5,4,3,2]=>0011111111
[7,1,11,10,9,8,6,5,4,3,2]=>1011111111
[1,6,11,10,9,8,7,5,4,3,2]=>0011111111
[1,5,11,10,9,8,7,6,4,3,2]=>0011111111
[4,1,11,10,9,8,7,6,5,3,2]=>1011111111
[1,3,11,10,9,8,7,6,5,4,2]=>0011111111
[10,9,1,2,3,4,5,6,7,11,8]=>1100000001
[2,11,10,1,3,4,5,6,7,8,9]=>0110000000
[2,4,1,6,3,5,8,7,10,9,11]=>0101001010
[10,1,2,3,4,5,6,7,11,8,9]=>1000000010
[1,11,2,3,4,5,6,7,8,10,9]=>0100000001
[1,2,11,3,4,5,6,7,8,10,9]=>0010000001
[1,2,3,10,4,5,6,7,11,8,9]=>0001000010
[1,2,3,4,11,5,6,7,8,10,9]=>0000100001
[1,2,3,4,5,11,6,7,8,10,9]=>0000010001
[1,2,3,4,5,6,10,7,11,8,9]=>0000001010
[1,2,3,4,5,6,7,11,8,10,9]=>0000000101
[1,2,3,4,5,6,7,8,11,10,9]=>0000000011
[1,2,3,4,5,6,7,8,11,9,10]=>0000000010
[11,1,3,4,5,6,7,8,9,10,2]=>1000000001
[10,2,3,4,5,6,7,8,11,1,9]=>1000000010
[10,11,3,4,5,6,7,8,9,1,2]=>0100000010
[7,1,2,3,4,5,11,6,8,9,10]=>1000001000
[11,1,2,3,4,5,8,6,7,9,10]=>1000001000
[11,1,2,3,4,5,9,6,7,8,10]=>1000001000
[11,10,5,1,2,3,4,6,7,8,9]=>1110000000
[11,10,1,5,2,3,4,6,7,8,9]=>1101000000
[5,11,1,2,10,3,4,6,7,8,9]=>0100100000
[5,11,1,2,3,10,4,6,7,8,9]=>0100010000
[2,3,4,5,6,7,8,10,11,1,9]=>0000000010
[2,4,5,6,7,8,9,10,11,1,3]=>0000000010
[3,4,5,6,7,8,9,10,11,1,2]=>0000000010
[10,11,1,9,2,3,4,5,6,7,8]=>0101000000
[1,2,3,4,5,6,7,8,9,10,11]=>0000000000
[10,1,11,2,3,4,5,6,7,8,9]=>1010000000
[10,11,1,2,3,4,5,6,7,8,9]=>0100000000
[3,1,4,2,6,5,8,7,10,9,11]=>1010101010
[1,2,3,4,5,6,7,8,10,9,11]=>0000000010
[11,2,3,4,5,6,7,8,9,1,10]=>1000000010
[3,11,1,4,5,6,7,8,9,10,2]=>0100000001
[9,1,11,3,4,5,6,7,8,2,10]=>1010000010
[2,3,4,5,6,7,8,9,11,10,1]=>0000000011
[3,1,11,5,6,7,8,9,10,2,4]=>1010000010
[2,3,1,4,5,6,7,8,9,10,11]=>0100000000
[3,1,2,4,5,6,7,8,9,10,11]=>1000000000
[3,4,5,6,7,8,9,10,1,2,11]=>0000000100
[3,4,5,6,7,9,10,11,1,2,8]=>0000000100
[3,4,6,7,8,9,10,11,1,2,5]=>0000000100
[11,1,10,5,6,7,8,9,2,3,4]=>1010000100
[10,1,11,9,6,7,8,2,3,4,5]=>1011001000
[9,1,10,11,8,7,2,3,4,5,6]=>1001110000
[8,1,9,10,11,2,3,4,5,6,7]=>1000100000
[11,1,10,9,2,3,4,5,6,7,8]=>1011000000
[9,8,7,6,5,4,3,2,1,11,10]=>1111111101
[2,3,4,5,6,7,10,9,11,8,1]=>0000001011
[2,3,4,5,6,10,8,9,11,7,1]=>0000010011
[2,3,4,5,10,7,8,9,11,1,6]=>0000100010
[2,3,4,10,6,7,8,9,11,5,1]=>0001000011
[2,3,10,5,6,7,8,9,11,4,1]=>0010000011
[2,10,4,5,6,7,8,9,11,1,3]=>0100000010
[10,3,4,5,6,7,8,9,11,2,1]=>1000000011
[1,3,2,5,4,7,6,9,8,11,10]=>0101010101
[10,9,11,8,7,6,5,4,3,2,1]=>1011111111
[3,4,5,6,7,8,9,10,1,11,2]=>0000000101
[6,5,7,4,8,3,9,2,10,1,11]=>1010101010
[1,7,6,8,5,9,4,10,3,11,2]=>0101010101
[2,3,4,5,6,7,8,11,10,1,9]=>0000000110
[11,3,4,5,6,7,8,10,1,2,9]=>1000000100
[3,2,4,5,6,7,8,9,10,11,1]=>1000000001
[3,4,5,6,7,8,1,9,2,11,10]=>0000010101
[1,4,5,6,7,11,8,9,2,10,3]=>0000010101
[8,9,10,7,6,1,2,3,4,11,5]=>0011100001
[2,9,10,11,8,7,1,3,4,5,6]=>0001110000
[7,8,9,10,1,2,3,4,5,11,6]=>0001000001
[2,8,9,10,11,1,3,4,5,6,7]=>0000100000
[2,3,4,5,6,7,8,11,1,9,10]=>0000000100
[2,3,4,5,6,7,11,1,8,9,10]=>0000001000
[2,3,4,5,6,11,1,7,8,9,10]=>0000010000
[2,3,4,5,11,1,6,7,8,9,10]=>0000100000
[2,3,4,11,1,5,6,7,8,9,10]=>0001000000
[2,3,11,1,4,5,6,7,8,9,10]=>0010000000
[3,1,4,5,6,7,8,9,11,2,10]=>1000000010
[2,11,1,3,4,5,6,7,10,8,9]=>0100000010
[2,10,1,3,4,5,6,7,8,11,9]=>0100000001
[11,2,1,3,4,5,6,7,8,9,10]=>1100000000
[11,10,2,3,4,5,6,7,8,9,1]=>1100000001
[11,3,4,5,6,7,8,9,10,2,1]=>1000000011
[9,11,1,2,3,4,5,6,7,8,10]=>0100000000
[11,10,9,8,6,7,5,4,3,2,1]=>1111011111
[11,1,2,3,4,5,6,10,8,7,9]=>1000000110
[11,1,2,3,4,5,10,7,8,6,9]=>1000001010
[10,1,2,3,4,11,6,7,8,5,9]=>1000010010
[11,1,2,3,10,5,6,7,8,4,9]=>1000100010
[11,1,2,10,4,5,6,7,8,3,9]=>1001000010
[10,1,11,3,4,5,6,7,8,2,9]=>1010000010
[11,10,2,3,4,5,6,7,8,1,9]=>1100000010
[11,10,2,1,4,5,6,7,8,9,3]=>1110000001
[10,11,8,1,2,3,4,5,6,7,9]=>0110000000
[6,7,5,4,3,2,1,8,9,10,11]=>0111110000
[7,6,5,4,3,1,2,8,9,10,11]=>1111100000
[9,11,10,8,7,6,5,4,3,2,1]=>0111111111
[11,10,9,8,5,7,6,4,3,2,1]=>1111011111
[11,10,9,8,6,5,7,4,3,2,1]=>1111101111
[8,9,1,2,3,4,5,6,10,11,7]=>0100000001
[2,3,4,5,6,7,8,9,1,11,10]=>0000000101
[3,4,1,5,6,7,8,9,10,11,2]=>0100000001
[1,3,4,5,6,7,8,9,11,2,10]=>0000000010
[1,4,2,5,6,7,8,9,11,10,3]=>0100000011
[1,2,10,3,4,5,6,7,8,11,9]=>0010000001
[1,2,3,4,5,10,6,7,8,11,9]=>0000010001
[10,9,8,7,6,5,4,2,1,3,11]=>1111111100
[10,9,8,7,6,5,3,2,1,4,11]=>1111111100
[10,9,8,7,6,4,3,2,1,11,5]=>1111111101
[10,9,8,7,5,4,3,2,1,6,11]=>1111111100
[10,9,8,6,5,4,3,2,1,7,11]=>1111111100
[10,9,7,6,5,4,3,2,1,11,8]=>1111111101
[10,8,7,6,5,4,3,2,1,9,11]=>1111111100
[11,9,10,8,7,6,5,4,3,2,1]=>1011111111
[10,8,11,9,7,6,5,4,3,2,1]=>1011111111
[10,8,6,5,4,3,2,1,11,9,7]=>1111111011
[10,8,6,11,9,7,5,4,3,2,1]=>1101111111
[11,9,7,5,10,8,6,4,3,2,1]=>1110111111
[11,9,7,5,3,2,1,10,8,6,4]=>1111110111
[11,9,7,5,3,10,8,6,4,2,1]=>1111011111
[10,8,6,4,2,11,9,7,5,3,1]=>1111011111
[5,6,7,8,9,11,1,2,3,4,10]=>0000010000
[6,1,7,8,9,10,11,2,3,4,5]=>1000001000
[3,4,5,6,7,8,9,11,1,10,2]=>0000000101
[3,4,5,6,7,8,10,11,1,9,2]=>0000000101
[3,4,5,6,8,9,10,11,1,7,2]=>0000000101
[3,4,5,7,8,9,10,11,1,6,2]=>0000000101
[3,5,6,7,8,9,10,11,1,4,2]=>0000000101
[4,5,6,7,8,9,10,11,1,3,2]=>0000000101
[10,2,3,4,5,6,7,8,9,11,1]=>1000000001
[2,10,4,5,6,7,8,9,1,11,3]=>0100000101
[4,3,11,5,6,7,8,9,10,2,1]=>1010000011
[8,11,1,2,3,4,5,9,10,6,7]=>0100000010
[10,11,1,2,3,4,8,9,5,6,7]=>0100000100
[10,11,1,2,3,9,8,4,5,6,7]=>0100011000
[10,9,1,2,11,8,3,4,5,6,7]=>1100110000
[9,8,1,10,11,2,3,4,5,6,7]=>1100100000
[11,8,9,10,1,2,3,4,5,6,7]=>1001000000
[2,3,4,5,6,7,11,9,10,1,8]=>0000001010
[2,3,4,5,6,11,8,9,10,1,7]=>0000010010
[2,3,4,5,11,7,8,9,10,1,6]=>0000100010
[2,3,4,11,6,7,8,9,10,1,5]=>0001000010
[2,3,11,5,6,7,8,9,10,1,4]=>0010000010
[5,6,7,8,9,11,10,4,3,2,1]=>0000011111
[6,5,7,8,9,10,11,4,3,2,1]=>1000001111
[3,4,5,6,7,8,10,11,9,1,2]=>0000000110
[3,4,5,6,7,9,10,11,8,1,2]=>0000000110
[3,4,5,7,8,9,10,11,6,1,2]=>0000000110
[3,4,6,7,8,9,10,11,5,1,2]=>0000000110
[4,5,6,7,8,9,10,11,3,1,2]=>0000000110
[4,5,6,7,8,9,10,11,2,1,3]=>0000000110
[11,10,3,4,5,6,7,9,8,2,1]=>1100000111
[11,10,4,3,5,6,7,8,9,2,1]=>1110000011
[2,1,4,3,6,5,8,7,10,9,12,11]=>10101010101
[2,1,4,3,6,5,8,7,12,11,10,9]=>10101010111
[2,1,4,3,6,5,10,9,8,7,12,11]=>10101011101
[2,1,4,3,6,5,12,9,8,11,10,7]=>10101011011
[2,1,4,3,6,5,12,11,10,9,8,7]=>10101011111
[2,1,4,3,8,7,6,5,10,9,12,11]=>10101110101
[2,1,4,3,8,7,6,5,12,11,10,9]=>10101110111
[2,1,4,3,10,7,6,9,8,5,12,11]=>10101101101
[2,1,4,3,12,7,6,9,8,11,10,5]=>10101101011
[2,1,4,3,12,7,6,11,10,9,8,5]=>10101101111
[2,1,4,3,10,9,8,7,6,5,12,11]=>10101111101
[2,1,4,3,12,9,8,7,6,11,10,5]=>10101111011
[2,1,4,3,12,11,8,7,10,9,6,5]=>10101110111
[2,1,4,3,12,11,10,9,8,7,6,5]=>10101111111
[2,1,6,5,4,3,8,7,10,9,12,11]=>10111010101
[2,1,6,5,4,3,8,7,12,11,10,9]=>10111010111
[2,1,6,5,4,3,10,9,8,7,12,11]=>10111011101
[2,1,6,5,4,3,12,9,8,11,10,7]=>10111011011
[2,1,6,5,4,3,12,11,10,9,8,7]=>10111011111
[2,1,8,5,4,7,6,3,10,9,12,11]=>10110110101
[2,1,8,5,4,7,6,3,12,11,10,9]=>10110110111
[2,1,10,5,4,7,6,9,8,3,12,11]=>10110101101
[2,1,12,5,4,7,6,9,8,11,10,3]=>10110101011
[2,1,12,5,4,7,6,11,10,9,8,3]=>10110101111
[2,1,10,5,4,9,8,7,6,3,12,11]=>10110111101
[2,1,12,5,4,9,8,7,6,11,10,3]=>10110111011
[2,1,12,5,4,11,8,7,10,9,6,3]=>10110110111
[2,1,12,5,4,11,10,9,8,7,6,3]=>10110111111
[2,1,8,7,6,5,4,3,10,9,12,11]=>10111110101
[2,1,8,7,6,5,4,3,12,11,10,9]=>10111110111
[2,1,10,7,6,5,4,9,8,3,12,11]=>10111101101
[2,1,12,7,6,5,4,9,8,11,10,3]=>10111101011
[2,1,12,7,6,5,4,11,10,9,8,3]=>10111101111
[2,1,10,9,6,5,8,7,4,3,12,11]=>10111011101
[2,1,12,9,6,5,8,7,4,11,10,3]=>10111011011
[2,1,12,11,6,5,8,7,10,9,4,3]=>10111010111
[2,1,12,11,6,5,10,9,8,7,4,3]=>10111011111
[2,1,10,9,8,7,6,5,4,3,12,11]=>10111111101
[2,1,12,9,8,7,6,5,4,11,10,3]=>10111111011
[2,1,12,11,8,7,6,5,10,9,4,3]=>10111110111
[2,1,12,11,10,7,6,9,8,5,4,3]=>10111101111
[2,1,12,11,10,9,8,7,6,5,4,3]=>10111111111
[4,3,2,1,6,5,8,7,10,9,12,11]=>11101010101
[4,3,2,1,6,5,8,7,12,11,10,9]=>11101010111
[4,3,2,1,6,5,10,9,8,7,12,11]=>11101011101
[4,3,2,1,6,5,12,9,8,11,10,7]=>11101011011
[4,3,2,1,6,5,12,11,10,9,8,7]=>11101011111
[4,3,2,1,8,7,6,5,10,9,12,11]=>11101110101
[4,3,2,1,8,7,6,5,12,11,10,9]=>11101110111
[4,3,2,1,10,7,6,9,8,5,12,11]=>11101101101
[4,3,2,1,12,7,6,9,8,11,10,5]=>11101101011
[4,3,2,1,12,7,6,11,10,9,8,5]=>11101101111
[4,3,2,1,10,9,8,7,6,5,12,11]=>11101111101
[4,3,2,1,12,9,8,7,6,11,10,5]=>11101111011
[4,3,2,1,12,11,8,7,10,9,6,5]=>11101110111
[4,3,2,1,12,11,10,9,8,7,6,5]=>11101111111
[6,3,2,5,4,1,8,7,10,9,12,11]=>11011010101
[6,3,2,5,4,1,8,7,12,11,10,9]=>11011010111
[6,3,2,5,4,1,10,9,8,7,12,11]=>11011011101
[6,3,2,5,4,1,12,9,8,11,10,7]=>11011011011
[6,3,2,5,4,1,12,11,10,9,8,7]=>11011011111
[8,3,2,5,4,7,6,1,10,9,12,11]=>11010110101
[8,3,2,5,4,7,6,1,12,11,10,9]=>11010110111
[10,3,2,5,4,7,6,9,8,1,12,11]=>11010101101
[12,3,2,5,4,7,6,9,8,11,10,1]=>11010101011
[12,3,2,5,4,7,6,11,10,9,8,1]=>11010101111
[10,3,2,5,4,9,8,7,6,1,12,11]=>11010111101
[12,3,2,5,4,9,8,7,6,11,10,1]=>11010111011
[12,3,2,5,4,11,8,7,10,9,6,1]=>11010110111
[12,3,2,5,4,11,10,9,8,7,6,1]=>11010111111
[8,3,2,7,6,5,4,1,10,9,12,11]=>11011110101
[8,3,2,7,6,5,4,1,12,11,10,9]=>11011110111
[10,3,2,7,6,5,4,9,8,1,12,11]=>11011101101
[12,3,2,7,6,5,4,9,8,11,10,1]=>11011101011
[12,3,2,7,6,5,4,11,10,9,8,1]=>11011101111
[10,3,2,9,6,5,8,7,4,1,12,11]=>11011011101
[12,3,2,9,6,5,8,7,4,11,10,1]=>11011011011
[12,3,2,11,6,5,8,7,10,9,4,1]=>11011010111
[12,3,2,11,6,5,10,9,8,7,4,1]=>11011011111
[10,3,2,9,8,7,6,5,4,1,12,11]=>11011111101
[12,3,2,9,8,7,6,5,4,11,10,1]=>11011111011
[12,3,2,11,8,7,6,5,10,9,4,1]=>11011110111
[12,3,2,11,10,7,6,9,8,5,4,1]=>11011101111
[12,3,2,11,10,9,8,7,6,5,4,1]=>11011111111
[6,5,4,3,2,1,8,7,10,9,12,11]=>11111010101
[6,5,4,3,2,1,8,7,12,11,10,9]=>11111010111
[6,5,4,3,2,1,10,9,8,7,12,11]=>11111011101
[6,5,4,3,2,1,12,9,8,11,10,7]=>11111011011
[6,5,4,3,2,1,12,11,10,9,8,7]=>11111011111
[8,5,4,3,2,7,6,1,10,9,12,11]=>11110110101
[8,5,4,3,2,7,6,1,12,11,10,9]=>11110110111
[10,5,4,3,2,7,6,9,8,1,12,11]=>11110101101
[12,5,4,3,2,7,6,9,8,11,10,1]=>11110101011
[12,5,4,3,2,7,6,11,10,9,8,1]=>11110101111
[10,5,4,3,2,9,8,7,6,1,12,11]=>11110111101
[12,5,4,3,2,9,8,7,6,11,10,1]=>11110111011
[12,5,4,3,2,11,8,7,10,9,6,1]=>11110110111
[12,5,4,3,2,11,10,9,8,7,6,1]=>11110111111
[8,7,4,3,6,5,2,1,10,9,12,11]=>11101110101
[8,7,4,3,6,5,2,1,12,11,10,9]=>11101110111
[10,7,4,3,6,5,2,9,8,1,12,11]=>11101101101
[12,7,4,3,6,5,2,9,8,11,10,1]=>11101101011
[12,7,4,3,6,5,2,11,10,9,8,1]=>11101101111
[10,9,4,3,6,5,8,7,2,1,12,11]=>11101011101
[12,9,4,3,6,5,8,7,2,11,10,1]=>11101011011
[12,11,4,3,6,5,8,7,10,9,2,1]=>11101010111
[12,11,4,3,6,5,10,9,8,7,2,1]=>11101011111
[10,9,4,3,8,7,6,5,2,1,12,11]=>11101111101
[12,9,4,3,8,7,6,5,2,11,10,1]=>11101111011
[12,11,4,3,8,7,6,5,10,9,2,1]=>11101110111
[12,11,4,3,10,7,6,9,8,5,2,1]=>11101101111
[12,11,4,3,10,9,8,7,6,5,2,1]=>11101111111
[8,7,6,5,4,3,2,1,10,9,12,11]=>11111110101
[8,7,6,5,4,3,2,1,12,11,10,9]=>11111110111
[10,7,6,5,4,3,2,9,8,1,12,11]=>11111101101
[12,7,6,5,4,3,2,9,8,11,10,1]=>11111101011
[12,7,6,5,4,3,2,11,10,9,8,1]=>11111101111
[10,9,6,5,4,3,8,7,2,1,12,11]=>11111011101
[12,9,6,5,4,3,8,7,2,11,10,1]=>11111011011
[12,11,6,5,4,3,8,7,10,9,2,1]=>11111010111
[12,11,6,5,4,3,10,9,8,7,2,1]=>11111011111
[10,9,8,5,4,7,6,3,2,1,12,11]=>11110111101
[12,9,8,5,4,7,6,3,2,11,10,1]=>11110111011
[12,11,8,5,4,7,6,3,10,9,2,1]=>11110110111
[12,11,10,5,4,7,6,9,8,3,2,1]=>11110101111
[12,11,10,5,4,9,8,7,6,3,2,1]=>11110111111
[10,9,8,7,6,5,4,3,2,1,12,11]=>11111111101
[12,9,8,7,6,5,4,3,2,11,10,1]=>11111111011
[12,11,8,7,6,5,4,3,10,9,2,1]=>11111110111
[12,11,10,7,6,5,4,9,8,3,2,1]=>11111101111
[12,11,10,9,6,5,8,7,4,3,2,1]=>11111011111
[12,11,10,9,8,7,6,5,4,3,2,1]=>11111111111
[2,4,6,8,10,12,1,3,5,7,9,11]=>00000100000
[2,4,6,8,11,12,1,3,5,7,9,10]=>00000100000
[2,4,6,9,10,12,1,3,5,7,8,11]=>00000100000
[2,4,6,9,11,12,1,3,5,7,8,10]=>00000100000
[2,4,6,10,11,12,1,3,5,7,8,9]=>00000100000
[2,4,7,8,10,12,1,3,5,6,9,11]=>00000100000
[2,4,7,8,11,12,1,3,5,6,9,10]=>00000100000
[2,4,7,9,10,12,1,3,5,6,8,11]=>00000100000
[2,4,7,9,11,12,1,3,5,6,8,10]=>00000100000
[2,4,7,10,11,12,1,3,5,6,8,9]=>00000100000
[2,4,8,9,10,12,1,3,5,6,7,11]=>00000100000
[2,4,8,9,11,12,1,3,5,6,7,10]=>00000100000
[2,4,8,10,11,12,1,3,5,6,7,9]=>00000100000
[2,4,9,10,11,12,1,3,5,6,7,8]=>00000100000
[2,5,6,8,10,12,1,3,4,7,9,11]=>00000100000
[2,5,6,8,11,12,1,3,4,7,9,10]=>00000100000
[2,5,6,9,10,12,1,3,4,7,8,11]=>00000100000
[2,5,6,9,11,12,1,3,4,7,8,10]=>00000100000
[2,5,6,10,11,12,1,3,4,7,8,9]=>00000100000
[2,5,7,8,10,12,1,3,4,6,9,11]=>00000100000
[2,5,7,8,11,12,1,3,4,6,9,10]=>00000100000
[2,5,7,9,10,12,1,3,4,6,8,11]=>00000100000
[2,5,7,9,11,12,1,3,4,6,8,10]=>00000100000
[2,5,7,10,11,12,1,3,4,6,8,9]=>00000100000
[2,5,8,9,10,12,1,3,4,6,7,11]=>00000100000
[2,5,8,9,11,12,1,3,4,6,7,10]=>00000100000
[2,5,8,10,11,12,1,3,4,6,7,9]=>00000100000
[2,5,9,10,11,12,1,3,4,6,7,8]=>00000100000
[2,6,7,8,10,12,1,3,4,5,9,11]=>00000100000
[2,6,7,8,11,12,1,3,4,5,9,10]=>00000100000
[2,6,7,9,10,12,1,3,4,5,8,11]=>00000100000
[2,6,7,9,11,12,1,3,4,5,8,10]=>00000100000
[2,6,7,10,11,12,1,3,4,5,8,9]=>00000100000
[2,6,8,9,10,12,1,3,4,5,7,11]=>00000100000
[2,6,8,9,11,12,1,3,4,5,7,10]=>00000100000
[2,6,8,10,11,12,1,3,4,5,7,9]=>00000100000
[2,6,9,10,11,12,1,3,4,5,7,8]=>00000100000
[2,7,8,9,10,12,1,3,4,5,6,11]=>00000100000
[2,7,8,9,11,12,1,3,4,5,6,10]=>00000100000
[2,7,8,10,11,12,1,3,4,5,6,9]=>00000100000
[2,7,9,10,11,12,1,3,4,5,6,8]=>00000100000
[2,8,9,10,11,12,1,3,4,5,6,7]=>00000100000
[3,4,6,8,10,12,1,2,5,7,9,11]=>00000100000
[3,4,6,8,11,12,1,2,5,7,9,10]=>00000100000
[3,4,6,9,10,12,1,2,5,7,8,11]=>00000100000
[3,4,6,9,11,12,1,2,5,7,8,10]=>00000100000
[3,4,6,10,11,12,1,2,5,7,8,9]=>00000100000
[3,4,7,8,10,12,1,2,5,6,9,11]=>00000100000
[3,4,7,8,11,12,1,2,5,6,9,10]=>00000100000
[3,4,7,9,10,12,1,2,5,6,8,11]=>00000100000
[3,4,7,9,11,12,1,2,5,6,8,10]=>00000100000
[3,4,7,10,11,12,1,2,5,6,8,9]=>00000100000
[3,4,8,9,10,12,1,2,5,6,7,11]=>00000100000
[3,4,8,9,11,12,1,2,5,6,7,10]=>00000100000
[3,4,8,10,11,12,1,2,5,6,7,9]=>00000100000
[3,4,9,10,11,12,1,2,5,6,7,8]=>00000100000
[3,5,6,8,10,12,1,2,4,7,9,11]=>00000100000
[3,5,6,8,11,12,1,2,4,7,9,10]=>00000100000
[3,5,6,9,10,12,1,2,4,7,8,11]=>00000100000
[3,5,6,9,11,12,1,2,4,7,8,10]=>00000100000
[3,5,6,10,11,12,1,2,4,7,8,9]=>00000100000
[3,5,7,8,10,12,1,2,4,6,9,11]=>00000100000
[3,5,7,8,11,12,1,2,4,6,9,10]=>00000100000
[3,5,7,9,10,12,1,2,4,6,8,11]=>00000100000
[3,5,7,9,11,12,1,2,4,6,8,10]=>00000100000
[3,5,7,10,11,12,1,2,4,6,8,9]=>00000100000
[3,5,8,9,10,12,1,2,4,6,7,11]=>00000100000
[3,5,8,9,11,12,1,2,4,6,7,10]=>00000100000
[3,5,8,10,11,12,1,2,4,6,7,9]=>00000100000
[3,5,9,10,11,12,1,2,4,6,7,8]=>00000100000
[3,6,7,8,10,12,1,2,4,5,9,11]=>00000100000
[3,6,7,8,11,12,1,2,4,5,9,10]=>00000100000
[3,6,7,9,10,12,1,2,4,5,8,11]=>00000100000
[3,6,7,9,11,12,1,2,4,5,8,10]=>00000100000
[3,6,7,10,11,12,1,2,4,5,8,9]=>00000100000
[3,6,8,9,10,12,1,2,4,5,7,11]=>00000100000
[3,6,8,9,11,12,1,2,4,5,7,10]=>00000100000
[3,6,8,10,11,12,1,2,4,5,7,9]=>00000100000
[3,6,9,10,11,12,1,2,4,5,7,8]=>00000100000
[3,7,8,9,10,12,1,2,4,5,6,11]=>00000100000
[3,7,8,9,11,12,1,2,4,5,6,10]=>00000100000
[3,7,8,10,11,12,1,2,4,5,6,9]=>00000100000
[3,7,9,10,11,12,1,2,4,5,6,8]=>00000100000
[3,8,9,10,11,12,1,2,4,5,6,7]=>00000100000
[4,5,6,8,10,12,1,2,3,7,9,11]=>00000100000
[4,5,6,8,11,12,1,2,3,7,9,10]=>00000100000
[4,5,6,9,10,12,1,2,3,7,8,11]=>00000100000
[4,5,6,9,11,12,1,2,3,7,8,10]=>00000100000
[4,5,6,10,11,12,1,2,3,7,8,9]=>00000100000
[4,5,7,8,10,12,1,2,3,6,9,11]=>00000100000
[4,5,7,8,11,12,1,2,3,6,9,10]=>00000100000
[4,5,7,9,10,12,1,2,3,6,8,11]=>00000100000
[4,5,7,9,11,12,1,2,3,6,8,10]=>00000100000
[4,5,7,10,11,12,1,2,3,6,8,9]=>00000100000
[4,5,8,9,10,12,1,2,3,6,7,11]=>00000100000
[4,5,8,9,11,12,1,2,3,6,7,10]=>00000100000
[4,5,8,10,11,12,1,2,3,6,7,9]=>00000100000
[4,5,9,10,11,12,1,2,3,6,7,8]=>00000100000
[4,6,7,8,10,12,1,2,3,5,9,11]=>00000100000
[4,6,7,8,11,12,1,2,3,5,9,10]=>00000100000
[4,6,7,9,10,12,1,2,3,5,8,11]=>00000100000
[4,6,7,9,11,12,1,2,3,5,8,10]=>00000100000
[4,6,7,10,11,12,1,2,3,5,8,9]=>00000100000
[4,6,8,9,10,12,1,2,3,5,7,11]=>00000100000
[4,6,8,9,11,12,1,2,3,5,7,10]=>00000100000
[4,6,8,10,11,12,1,2,3,5,7,9]=>00000100000
[4,6,9,10,11,12,1,2,3,5,7,8]=>00000100000
[4,7,8,9,10,12,1,2,3,5,6,11]=>00000100000
[4,7,8,9,11,12,1,2,3,5,6,10]=>00000100000
[4,7,8,10,11,12,1,2,3,5,6,9]=>00000100000
[4,7,9,10,11,12,1,2,3,5,6,8]=>00000100000
[4,8,9,10,11,12,1,2,3,5,6,7]=>00000100000
[5,6,7,8,10,12,1,2,3,4,9,11]=>00000100000
[5,6,7,8,11,12,1,2,3,4,9,10]=>00000100000
[5,6,7,9,10,12,1,2,3,4,8,11]=>00000100000
[5,6,7,9,11,12,1,2,3,4,8,10]=>00000100000
[5,6,7,10,11,12,1,2,3,4,8,9]=>00000100000
[5,6,8,9,10,12,1,2,3,4,7,11]=>00000100000
[5,6,8,9,11,12,1,2,3,4,7,10]=>00000100000
[5,6,8,10,11,12,1,2,3,4,7,9]=>00000100000
[5,6,9,10,11,12,1,2,3,4,7,8]=>00000100000
[5,7,8,9,10,12,1,2,3,4,6,11]=>00000100000
[5,7,8,9,11,12,1,2,3,4,6,10]=>00000100000
[5,7,8,10,11,12,1,2,3,4,6,9]=>00000100000
[5,7,9,10,11,12,1,2,3,4,6,8]=>00000100000
[5,8,9,10,11,12,1,2,3,4,6,7]=>00000100000
[6,7,8,9,10,12,1,2,3,4,5,11]=>00000100000
[6,7,8,9,11,12,1,2,3,4,5,10]=>00000100000
[6,7,8,10,11,12,1,2,3,4,5,9]=>00000100000
[6,7,9,10,11,12,1,2,3,4,5,8]=>00000100000
[6,8,9,10,11,12,1,2,3,4,5,7]=>00000100000
[7,8,9,10,11,12,1,2,3,4,5,6]=>00000100000
[2,3,4,5,6,7,8,9,10,12,1,11]=>00000000010
[3,1,4,5,6,7,8,9,10,11,12,2]=>10000000001
[2,1,4,3,6,5,8,7,11,12,10,9]=>10101010011
[2,1,4,3,6,5,9,10,8,7,12,11]=>10101001101
[2,1,4,3,6,5,9,11,8,12,10,7]=>10101001011
[2,1,4,3,6,5,10,11,12,9,8,7]=>10101000111
[2,1,4,3,7,8,6,5,10,9,12,11]=>10100110101
[2,1,4,3,7,8,6,5,11,12,10,9]=>10100110011
[2,1,4,3,7,9,6,10,8,5,12,11]=>10100101101
[2,1,4,3,7,9,6,11,8,12,10,5]=>10100101011
[2,1,4,3,7,10,6,11,12,9,8,5]=>10100100111
[2,1,4,3,8,9,10,7,6,5,12,11]=>10100011101
[2,1,4,3,8,9,11,7,6,12,10,5]=>10100011011
[2,1,4,3,8,10,11,7,12,9,6,5]=>10100010111
[2,1,4,3,9,10,11,12,8,7,6,5]=>10100001111
[2,1,5,6,4,3,8,7,10,9,12,11]=>10011010101
[2,1,5,6,4,3,8,7,11,12,10,9]=>10011010011
[2,1,5,6,4,3,9,10,8,7,12,11]=>10011001101
[2,1,5,6,4,3,9,11,8,12,10,7]=>10011001011
[2,1,5,6,4,3,10,11,12,9,8,7]=>10011000111
[2,1,5,7,4,8,6,3,10,9,12,11]=>10010110101
[2,1,5,7,4,8,6,3,11,12,10,9]=>10010110011
[2,1,5,7,4,9,6,10,8,3,12,11]=>10010101101
[2,1,5,7,4,9,6,11,8,12,10,3]=>10010101011
[2,1,5,7,4,10,6,11,12,9,8,3]=>10010100111
[2,1,5,8,4,9,10,7,6,3,12,11]=>10010011101
[2,1,5,8,4,9,11,7,6,12,10,3]=>10010011011
[2,1,5,8,4,10,11,7,12,9,6,3]=>10010010111
[2,1,5,9,4,10,11,12,8,7,6,3]=>10010001111
[2,1,6,7,8,5,4,3,10,9,12,11]=>10001110101
[2,1,6,7,8,5,4,3,11,12,10,9]=>10001110011
[2,1,6,7,9,5,4,10,8,3,12,11]=>10001101101
[2,1,6,7,9,5,4,11,8,12,10,3]=>10001101011
[2,1,6,7,10,5,4,11,12,9,8,3]=>10001100111
[2,1,6,8,9,5,10,7,4,3,12,11]=>10001011101
[2,1,6,8,9,5,11,7,4,12,10,3]=>10001011011
[2,1,6,8,10,5,11,7,12,9,4,3]=>10001010111
[2,1,6,9,10,5,11,12,8,7,4,3]=>10001001111
[2,1,7,8,9,10,6,5,4,3,12,11]=>10000111101
[2,1,7,8,9,11,6,5,4,12,10,3]=>10000111011
[2,1,7,8,10,11,6,5,12,9,4,3]=>10000110111
[2,1,7,9,10,11,6,12,8,5,4,3]=>10000101111
[2,1,8,9,10,11,12,7,6,5,4,3]=>10000011111
[3,4,2,1,6,5,8,7,10,9,12,11]=>01101010101
[3,4,2,1,6,5,8,7,11,12,10,9]=>01101010011
[3,4,2,1,6,5,9,10,8,7,12,11]=>01101001101
[3,4,2,1,6,5,9,11,8,12,10,7]=>01101001011
[3,4,2,1,6,5,10,11,12,9,8,7]=>01101000111
[3,4,2,1,7,8,6,5,10,9,12,11]=>01100110101
[3,4,2,1,7,8,6,5,11,12,10,9]=>01100110011
[3,4,2,1,7,9,6,10,8,5,12,11]=>01100101101
[3,4,2,1,7,9,6,11,8,12,10,5]=>01100101011
[3,4,2,1,7,10,6,11,12,9,8,5]=>01100100111
[3,4,2,1,8,9,10,7,6,5,12,11]=>01100011101
[3,4,2,1,8,9,11,7,6,12,10,5]=>01100011011
[3,4,2,1,8,10,11,7,12,9,6,5]=>01100010111
[3,4,2,1,9,10,11,12,8,7,6,5]=>01100001111
[3,5,2,6,4,1,8,7,10,9,12,11]=>01011010101
[3,5,2,6,4,1,8,7,11,12,10,9]=>01011010011
[3,5,2,6,4,1,9,10,8,7,12,11]=>01011001101
[3,5,2,6,4,1,9,11,8,12,10,7]=>01011001011
[3,5,2,6,4,1,10,11,12,9,8,7]=>01011000111
[3,5,2,7,4,8,6,1,10,9,12,11]=>01010110101
[3,5,2,7,4,8,6,1,11,12,10,9]=>01010110011
[3,5,2,7,4,9,6,10,8,1,12,11]=>01010101101
[3,5,2,7,4,9,6,11,8,12,10,1]=>01010101011
[3,5,2,7,4,10,6,11,12,9,8,1]=>01010100111
[3,5,2,8,4,9,10,7,6,1,12,11]=>01010011101
[3,5,2,8,4,9,11,7,6,12,10,1]=>01010011011
[3,5,2,8,4,10,11,7,12,9,6,1]=>01010010111
[3,5,2,9,4,10,11,12,8,7,6,1]=>01010001111
[3,6,2,7,8,5,4,1,10,9,12,11]=>01001110101
[3,6,2,7,8,5,4,1,11,12,10,9]=>01001110011
[3,6,2,7,9,5,4,10,8,1,12,11]=>01001101101
[3,6,2,7,9,5,4,11,8,12,10,1]=>01001101011
[3,6,2,7,10,5,4,11,12,9,8,1]=>01001100111
[3,6,2,8,9,5,10,7,4,1,12,11]=>01001011101
[3,6,2,8,9,5,11,7,4,12,10,1]=>01001011011
[3,6,2,8,10,5,11,7,12,9,4,1]=>01001010111
[3,6,2,9,10,5,11,12,8,7,4,1]=>01001001111
[3,7,2,8,9,10,6,5,4,1,12,11]=>01000111101
[3,7,2,8,9,11,6,5,4,12,10,1]=>01000111011
[3,7,2,8,10,11,6,5,12,9,4,1]=>01000110111
[3,7,2,9,10,11,6,12,8,5,4,1]=>01000101111
[3,8,2,9,10,11,12,7,6,5,4,1]=>01000011111
[4,5,6,3,2,1,8,7,10,9,12,11]=>00111010101
[4,5,6,3,2,1,8,7,11,12,10,9]=>00111010011
[4,5,6,3,2,1,9,10,8,7,12,11]=>00111001101
[4,5,6,3,2,1,9,11,8,12,10,7]=>00111001011
[4,5,6,3,2,1,10,11,12,9,8,7]=>00111000111
[4,5,7,3,2,8,6,1,10,9,12,11]=>00110110101
[4,5,7,3,2,8,6,1,11,12,10,9]=>00110110011
[4,5,7,3,2,9,6,10,8,1,12,11]=>00110101101
[4,5,7,3,2,9,6,11,8,12,10,1]=>00110101011
[4,5,7,3,2,10,6,11,12,9,8,1]=>00110100111
[4,5,8,3,2,9,10,7,6,1,12,11]=>00110011101
[4,5,8,3,2,9,11,7,6,12,10,1]=>00110011011
[4,5,8,3,2,10,11,7,12,9,6,1]=>00110010111
[4,5,9,3,2,10,11,12,8,7,6,1]=>00110001111
[4,6,7,3,8,5,2,1,10,9,12,11]=>00101110101
[4,6,7,3,8,5,2,1,11,12,10,9]=>00101110011
[4,6,7,3,9,5,2,10,8,1,12,11]=>00101101101
[4,6,7,3,9,5,2,11,8,12,10,1]=>00101101011
[4,6,7,3,10,5,2,11,12,9,8,1]=>00101100111
[4,6,8,3,9,5,10,7,2,1,12,11]=>00101011101
[4,6,8,3,9,5,11,7,2,12,10,1]=>00101011011
[4,6,8,3,10,5,11,7,12,9,2,1]=>00101010111
[4,6,9,3,10,5,11,12,8,7,2,1]=>00101001111
[4,7,8,3,9,10,6,5,2,1,12,11]=>00100111101
[4,7,8,3,9,11,6,5,2,12,10,1]=>00100111011
[4,7,8,3,10,11,6,5,12,9,2,1]=>00100110111
[4,7,9,3,10,11,6,12,8,5,2,1]=>00100101111
[4,8,9,3,10,11,12,7,6,5,2,1]=>00100011111
[5,6,7,8,4,3,2,1,10,9,12,11]=>00011110101
[5,6,7,8,4,3,2,1,11,12,10,9]=>00011110011
[5,6,7,9,4,3,2,10,8,1,12,11]=>00011101101
[5,6,7,9,4,3,2,11,8,12,10,1]=>00011101011
[5,6,7,10,4,3,2,11,12,9,8,1]=>00011100111
[5,6,8,9,4,3,10,7,2,1,12,11]=>00011011101
[5,6,8,9,4,3,11,7,2,12,10,1]=>00011011011
[5,6,8,10,4,3,11,7,12,9,2,1]=>00011010111
[5,6,9,10,4,3,11,12,8,7,2,1]=>00011001111
[5,7,8,9,4,10,6,3,2,1,12,11]=>00010111101
[5,7,8,9,4,11,6,3,2,12,10,1]=>00010111011
[5,7,8,10,4,11,6,3,12,9,2,1]=>00010110111
[5,7,9,10,4,11,6,12,8,3,2,1]=>00010101111
[5,8,9,10,4,11,12,7,6,3,2,1]=>00010011111
[6,7,8,9,10,5,4,3,2,1,12,11]=>00001111101
[6,7,8,9,11,5,4,3,2,12,10,1]=>00001111011
[6,7,8,10,11,5,4,3,12,9,2,1]=>00001110111
[6,7,9,10,11,5,4,12,8,3,2,1]=>00001101111
[6,8,9,10,11,5,12,7,4,3,2,1]=>00001011111
[7,8,9,10,11,12,6,5,4,3,2,1]=>00000111111
[11,10,9,8,7,6,5,4,3,1,12,2]=>11111111101
[10,12,9,8,7,6,5,4,3,2,1,11]=>01111111110
[11,12,9,10,7,8,5,6,3,4,1,2]=>01010101010
[9,10,12,11,7,8,5,6,3,4,1,2]=>00110101010
[11,12,7,8,10,9,5,6,3,4,1,2]=>01001101010
[7,10,12,8,11,9,5,6,3,4,1,2]=>00101101010
[7,8,9,12,11,10,5,6,3,4,1,2]=>00011101010
[11,12,9,10,5,6,8,7,3,4,1,2]=>01010011010
[9,10,12,11,5,6,8,7,3,4,1,2]=>00110011010
[11,12,5,8,10,6,9,7,3,4,1,2]=>01001011010
[5,10,12,8,11,6,9,7,3,4,1,2]=>00101011010
[5,8,9,12,11,6,10,7,3,4,1,2]=>00011011010
[11,12,5,6,7,10,9,8,3,4,1,2]=>01000111010
[5,10,12,6,7,11,9,8,3,4,1,2]=>00100111010
[5,6,9,12,7,11,10,8,3,4,1,2]=>00010111010
[5,6,7,8,12,11,10,9,3,4,1,2]=>00001111010
[11,12,9,10,7,8,3,4,6,5,1,2]=>01010100110
[9,10,12,11,7,8,3,4,6,5,1,2]=>00110100110
[11,12,7,8,10,9,3,4,6,5,1,2]=>01001100110
[7,10,12,8,11,9,3,4,6,5,1,2]=>00101100110
[7,8,9,12,11,10,3,4,6,5,1,2]=>00011100110
[11,12,9,10,3,6,8,4,7,5,1,2]=>01010010110
[9,10,12,11,3,6,8,4,7,5,1,2]=>00110010110
[11,12,3,8,10,6,9,4,7,5,1,2]=>01001010110
[3,10,12,8,11,6,9,4,7,5,1,2]=>00101010110
[3,8,9,12,11,6,10,4,7,5,1,2]=>00011010110
[11,12,3,6,7,10,9,4,8,5,1,2]=>01000110110
[3,10,12,6,7,11,9,4,8,5,1,2]=>00100110110
[3,6,9,12,7,11,10,4,8,5,1,2]=>00010110110
[3,6,7,8,12,11,10,4,9,5,1,2]=>00001110110
[11,12,9,10,3,4,5,8,7,6,1,2]=>01010001110
[9,10,12,11,3,4,5,8,7,6,1,2]=>00110001110
[11,12,3,8,10,4,5,9,7,6,1,2]=>01001001110
[3,10,12,8,11,4,5,9,7,6,1,2]=>00101001110
[3,8,9,12,11,4,5,10,7,6,1,2]=>00011001110
[11,12,3,4,7,10,5,9,8,6,1,2]=>01000101110
[3,10,12,4,7,11,5,9,8,6,1,2]=>00100101110
[3,4,9,12,7,11,5,10,8,6,1,2]=>00010101110
[3,4,7,8,12,11,5,10,9,6,1,2]=>00001101110
[11,12,3,4,5,6,10,9,8,7,1,2]=>01000011110
[3,10,12,4,5,6,11,9,8,7,1,2]=>00100011110
[3,4,9,12,5,6,11,10,8,7,1,2]=>00010011110
[3,4,5,8,12,6,11,10,9,7,1,2]=>00001011110
[3,4,5,6,7,12,11,10,9,8,1,2]=>00000111110
[11,12,9,10,7,8,5,6,1,2,4,3]=>01010101001
[9,10,12,11,7,8,5,6,1,2,4,3]=>00110101001
[11,12,7,8,10,9,5,6,1,2,4,3]=>01001101001
[7,10,12,8,11,9,5,6,1,2,4,3]=>00101101001
[7,8,9,12,11,10,5,6,1,2,4,3]=>00011101001
[11,12,9,10,5,6,8,7,1,2,4,3]=>01010011001
[9,10,12,11,5,6,8,7,1,2,4,3]=>00110011001
[11,12,5,8,10,6,9,7,1,2,4,3]=>01001011001
[5,10,12,8,11,6,9,7,1,2,4,3]=>00101011001
[5,8,9,12,11,6,10,7,1,2,4,3]=>00011011001
[11,12,5,6,7,10,9,8,1,2,4,3]=>01000111001
[5,10,12,6,7,11,9,8,1,2,4,3]=>00100111001
[5,6,9,12,7,11,10,8,1,2,4,3]=>00010111001
[5,6,7,8,12,11,10,9,1,2,4,3]=>00001111001
[11,12,9,10,7,8,1,4,6,2,5,3]=>01010100101
[9,10,12,11,7,8,1,4,6,2,5,3]=>00110100101
[11,12,7,8,10,9,1,4,6,2,5,3]=>01001100101
[7,10,12,8,11,9,1,4,6,2,5,3]=>00101100101
[7,8,9,12,11,10,1,4,6,2,5,3]=>00011100101
[11,12,9,10,1,6,8,4,7,2,5,3]=>01010010101
[9,10,12,11,1,6,8,4,7,2,5,3]=>00110010101
[11,12,1,8,10,6,9,4,7,2,5,3]=>01001010101
[1,10,12,8,11,6,9,4,7,2,5,3]=>00101010101
[1,8,9,12,11,6,10,4,7,2,5,3]=>00011010101
[11,12,1,6,7,10,9,4,8,2,5,3]=>01000110101
[1,10,12,6,7,11,9,4,8,2,5,3]=>00100110101
[1,6,9,12,7,11,10,4,8,2,5,3]=>00010110101
[1,6,7,8,12,11,10,4,9,2,5,3]=>00001110101
[11,12,9,10,1,4,5,8,7,2,6,3]=>01010001101
[9,10,12,11,1,4,5,8,7,2,6,3]=>00110001101
[11,12,1,8,10,4,5,9,7,2,6,3]=>01001001101
[1,10,12,8,11,4,5,9,7,2,6,3]=>00101001101
[1,8,9,12,11,4,5,10,7,2,6,3]=>00011001101
[11,12,1,4,7,10,5,9,8,2,6,3]=>01000101101
[1,10,12,4,7,11,5,9,8,2,6,3]=>00100101101
[1,4,9,12,7,11,5,10,8,2,6,3]=>00010101101
[1,4,7,8,12,11,5,10,9,2,6,3]=>00001101101
[11,12,1,4,5,6,10,9,8,2,7,3]=>01000011101
[1,10,12,4,5,6,11,9,8,2,7,3]=>00100011101
[1,4,9,12,5,6,11,10,8,2,7,3]=>00010011101
[1,4,5,8,12,6,11,10,9,2,7,3]=>00001011101
[1,4,5,6,7,12,11,10,9,2,8,3]=>00000111101
[11,12,9,10,7,8,1,2,3,6,5,4]=>01010100011
[9,10,12,11,7,8,1,2,3,6,5,4]=>00110100011
[11,12,7,8,10,9,1,2,3,6,5,4]=>01001100011
[7,10,12,8,11,9,1,2,3,6,5,4]=>00101100011
[7,8,9,12,11,10,1,2,3,6,5,4]=>00011100011
[11,12,9,10,1,6,8,2,3,7,5,4]=>01010010011
[9,10,12,11,1,6,8,2,3,7,5,4]=>00110010011
[11,12,1,8,10,6,9,2,3,7,5,4]=>01001010011
[1,10,12,8,11,6,9,2,3,7,5,4]=>00101010011
[1,8,9,12,11,6,10,2,3,7,5,4]=>00011010011
[11,12,1,6,7,10,9,2,3,8,5,4]=>01000110011
[1,10,12,6,7,11,9,2,3,8,5,4]=>00100110011
[1,6,9,12,7,11,10,2,3,8,5,4]=>00010110011
[1,6,7,8,12,11,10,2,3,9,5,4]=>00001110011
[11,12,9,10,1,2,5,8,3,7,6,4]=>01010001011
[9,10,12,11,1,2,5,8,3,7,6,4]=>00110001011
[11,12,1,8,10,2,5,9,3,7,6,4]=>01001001011
[1,10,12,8,11,2,5,9,3,7,6,4]=>00101001011
[1,8,9,12,11,2,5,10,3,7,6,4]=>00011001011
[11,12,1,2,7,10,5,9,3,8,6,4]=>01000101011
[1,10,12,2,7,11,5,9,3,8,6,4]=>00100101011
[1,2,9,12,7,11,5,10,3,8,6,4]=>00010101011
[1,2,7,8,12,11,5,10,3,9,6,4]=>00001101011
[11,12,1,2,5,6,10,9,3,8,7,4]=>01000011011
[1,10,12,2,5,6,11,9,3,8,7,4]=>00100011011
[1,2,9,12,5,6,11,10,3,8,7,4]=>00010011011
[1,2,5,8,12,6,11,10,3,9,7,4]=>00001011011
[1,2,5,6,7,12,11,10,3,9,8,4]=>00000111011
[11,12,9,10,1,2,3,4,8,7,6,5]=>01010000111
[9,10,12,11,1,2,3,4,8,7,6,5]=>00110000111
[11,12,1,8,10,2,3,4,9,7,6,5]=>01001000111
[1,10,12,8,11,2,3,4,9,7,6,5]=>00101000111
[1,8,9,12,11,2,3,4,10,7,6,5]=>00011000111
[11,12,1,2,7,10,3,4,9,8,6,5]=>01000100111
[1,10,12,2,7,11,3,4,9,8,6,5]=>00100100111
[1,2,9,12,7,11,3,4,10,8,6,5]=>00010100111
[1,2,7,8,12,11,3,4,10,9,6,5]=>00001100111
[11,12,1,2,3,6,10,4,9,8,7,5]=>01000010111
[1,10,12,2,3,6,11,4,9,8,7,5]=>00100010111
[1,2,9,12,3,6,11,4,10,8,7,5]=>00010010111
[1,2,3,8,12,6,11,4,10,9,7,5]=>00001010111
[1,2,3,6,7,12,11,4,10,9,8,5]=>00000110111
[11,12,1,2,3,4,5,10,9,8,7,6]=>01000001111
[1,10,12,2,3,4,5,11,9,8,7,6]=>00100001111
[1,2,9,12,3,4,5,11,10,8,7,6]=>00010001111
[1,2,3,8,12,4,5,11,10,9,7,6]=>00001001111
[1,2,3,4,7,12,5,11,10,9,8,6]=>00000101111
[1,2,3,4,5,6,12,11,10,9,8,7]=>00000011111
[2,1,4,3,6,5,8,7,12,11,9,10]=>10101010110
[2,1,4,3,6,5,10,9,7,8,12,11]=>10101011001
[2,1,4,3,6,5,12,9,7,11,8,10]=>10101011010
[2,1,4,3,6,5,12,11,10,7,8,9]=>10101011100
[2,1,4,3,8,7,5,6,10,9,12,11]=>10101100101
[2,1,4,3,8,7,5,6,12,11,9,10]=>10101100110
[2,1,4,3,10,7,5,9,6,8,12,11]=>10101101001
[2,1,4,3,12,7,5,9,6,11,8,10]=>10101101010
[2,1,4,3,12,7,5,11,10,6,8,9]=>10101101100
[2,1,4,3,10,9,8,5,6,7,12,11]=>10101110001
[2,1,4,3,12,9,8,5,6,11,7,10]=>10101110010
[2,1,4,3,12,11,8,5,10,6,7,9]=>10101110100
[2,1,4,3,12,11,10,9,5,6,7,8]=>10101111000
[2,1,6,5,3,4,8,7,10,9,12,11]=>10110010101
[2,1,6,5,3,4,8,7,12,11,9,10]=>10110010110
[2,1,6,5,3,4,10,9,7,8,12,11]=>10110011001
[2,1,6,5,3,4,12,9,7,11,8,10]=>10110011010
[2,1,6,5,3,4,12,11,10,7,8,9]=>10110011100
[2,1,8,5,3,7,4,6,10,9,12,11]=>10110100101
[2,1,8,5,3,7,4,6,12,11,9,10]=>10110100110
[2,1,10,5,3,7,4,9,6,8,12,11]=>10110101001
[2,1,12,5,3,7,4,9,6,11,8,10]=>10110101010
[2,1,12,5,3,7,4,11,10,6,8,9]=>10110101100
[2,1,10,5,3,9,8,4,6,7,12,11]=>10110110001
[2,1,12,5,3,9,8,4,6,11,7,10]=>10110110010
[2,1,12,5,3,11,8,4,10,6,7,9]=>10110110100
[2,1,12,5,3,11,10,9,4,6,7,8]=>10110111000
[2,1,8,7,6,3,4,5,10,9,12,11]=>10111000101
[2,1,8,7,6,3,4,5,12,11,9,10]=>10111000110
[2,1,10,7,6,3,4,9,5,8,12,11]=>10111001001
[2,1,12,7,6,3,4,9,5,11,8,10]=>10111001010
[2,1,12,7,6,3,4,11,10,5,8,9]=>10111001100
[2,1,10,9,6,3,8,4,5,7,12,11]=>10111010001
[2,1,12,9,6,3,8,4,5,11,7,10]=>10111010010
[2,1,12,11,6,3,8,4,10,5,7,9]=>10111010100
[2,1,12,11,6,3,10,9,4,5,7,8]=>10111011000
[2,1,10,9,8,7,3,4,5,6,12,11]=>10111100001
[2,1,12,9,8,7,3,4,5,11,6,10]=>10111100010
[2,1,12,11,8,7,3,4,10,5,6,9]=>10111100100
[2,1,12,11,10,7,3,9,4,5,6,8]=>10111101000
[2,1,12,11,10,9,8,3,4,5,6,7]=>10111110000
[4,3,1,2,6,5,8,7,10,9,12,11]=>11001010101
[4,3,1,2,6,5,8,7,12,11,9,10]=>11001010110
[4,3,1,2,6,5,10,9,7,8,12,11]=>11001011001
[4,3,1,2,6,5,12,9,7,11,8,10]=>11001011010
[4,3,1,2,6,5,12,11,10,7,8,9]=>11001011100
[4,3,1,2,8,7,5,6,10,9,12,11]=>11001100101
[4,3,1,2,8,7,5,6,12,11,9,10]=>11001100110
[4,3,1,2,10,7,5,9,6,8,12,11]=>11001101001
[4,3,1,2,12,7,5,9,6,11,8,10]=>11001101010
[4,3,1,2,12,7,5,11,10,6,8,9]=>11001101100
[4,3,1,2,10,9,8,5,6,7,12,11]=>11001110001
[4,3,1,2,12,9,8,5,6,11,7,10]=>11001110010
[4,3,1,2,12,11,8,5,10,6,7,9]=>11001110100
[4,3,1,2,12,11,10,9,5,6,7,8]=>11001111000
[6,3,1,5,2,4,8,7,10,9,12,11]=>11010010101
[6,3,1,5,2,4,8,7,12,11,9,10]=>11010010110
[6,3,1,5,2,4,10,9,7,8,12,11]=>11010011001
[6,3,1,5,2,4,12,9,7,11,8,10]=>11010011010
[6,3,1,5,2,4,12,11,10,7,8,9]=>11010011100
[8,3,1,5,2,7,4,6,10,9,12,11]=>11010100101
[8,3,1,5,2,7,4,6,12,11,9,10]=>11010100110
[10,3,1,5,2,7,4,9,6,8,12,11]=>11010101001
[12,3,1,5,2,7,4,9,6,11,8,10]=>11010101010
[12,3,1,5,2,7,4,11,10,6,8,9]=>11010101100
[10,3,1,5,2,9,8,4,6,7,12,11]=>11010110001
[12,3,1,5,2,9,8,4,6,11,7,10]=>11010110010
[12,3,1,5,2,11,8,4,10,6,7,9]=>11010110100
[12,3,1,5,2,11,10,9,4,6,7,8]=>11010111000
[8,3,1,7,6,2,4,5,10,9,12,11]=>11011000101
[8,3,1,7,6,2,4,5,12,11,9,10]=>11011000110
[10,3,1,7,6,2,4,9,5,8,12,11]=>11011001001
[12,3,1,7,6,2,4,9,5,11,8,10]=>11011001010
[12,3,1,7,6,2,4,11,10,5,8,9]=>11011001100
[10,3,1,9,6,2,8,4,5,7,12,11]=>11011010001
[12,3,1,9,6,2,8,4,5,11,7,10]=>11011010010
[12,3,1,11,6,2,8,4,10,5,7,9]=>11011010100
[12,3,1,11,6,2,10,9,4,5,7,8]=>11011011000
[10,3,1,9,8,7,2,4,5,6,12,11]=>11011100001
[12,3,1,9,8,7,2,4,5,11,6,10]=>11011100010
[12,3,1,11,8,7,2,4,10,5,6,9]=>11011100100
[12,3,1,11,10,7,2,9,4,5,6,8]=>11011101000
[12,3,1,11,10,9,8,2,4,5,6,7]=>11011110000
[6,5,4,1,2,3,8,7,10,9,12,11]=>11100010101
[6,5,4,1,2,3,8,7,12,11,9,10]=>11100010110
[6,5,4,1,2,3,10,9,7,8,12,11]=>11100011001
[6,5,4,1,2,3,12,9,7,11,8,10]=>11100011010
[6,5,4,1,2,3,12,11,10,7,8,9]=>11100011100
[8,5,4,1,2,7,3,6,10,9,12,11]=>11100100101
[8,5,4,1,2,7,3,6,12,11,9,10]=>11100100110
[10,5,4,1,2,7,3,9,6,8,12,11]=>11100101001
[12,5,4,1,2,7,3,9,6,11,8,10]=>11100101010
[12,5,4,1,2,7,3,11,10,6,8,9]=>11100101100
[10,5,4,1,2,9,8,3,6,7,12,11]=>11100110001
[12,5,4,1,2,9,8,3,6,11,7,10]=>11100110010
[12,5,4,1,2,11,8,3,10,6,7,9]=>11100110100
[12,5,4,1,2,11,10,9,3,6,7,8]=>11100111000
[8,7,4,1,6,2,3,5,10,9,12,11]=>11101000101
[8,7,4,1,6,2,3,5,12,11,9,10]=>11101000110
[10,7,4,1,6,2,3,9,5,8,12,11]=>11101001001
[12,7,4,1,6,2,3,9,5,11,8,10]=>11101001010
[12,7,4,1,6,2,3,11,10,5,8,9]=>11101001100
[10,9,4,1,6,2,8,3,5,7,12,11]=>11101010001
[12,9,4,1,6,2,8,3,5,11,7,10]=>11101010010
[12,11,4,1,6,2,8,3,10,5,7,9]=>11101010100
[12,11,4,1,6,2,10,9,3,5,7,8]=>11101011000
[10,9,4,1,8,7,2,3,5,6,12,11]=>11101100001
[12,9,4,1,8,7,2,3,5,11,6,10]=>11101100010
[12,11,4,1,8,7,2,3,10,5,6,9]=>11101100100
[12,11,4,1,10,7,2,9,3,5,6,8]=>11101101000
[12,11,4,1,10,9,8,2,3,5,6,7]=>11101110000
[8,7,6,5,1,2,3,4,10,9,12,11]=>11110000101
[8,7,6,5,1,2,3,4,12,11,9,10]=>11110000110
[10,7,6,5,1,2,3,9,4,8,12,11]=>11110001001
[12,7,6,5,1,2,3,9,4,11,8,10]=>11110001010
[12,7,6,5,1,2,3,11,10,4,8,9]=>11110001100
[10,9,6,5,1,2,8,3,4,7,12,11]=>11110010001
[12,9,6,5,1,2,8,3,4,11,7,10]=>11110010010
[12,11,6,5,1,2,8,3,10,4,7,9]=>11110010100
[12,11,6,5,1,2,10,9,3,4,7,8]=>11110011000
[10,9,8,5,1,7,2,3,4,6,12,11]=>11110100001
[12,9,8,5,1,7,2,3,4,11,6,10]=>11110100010
[12,11,8,5,1,7,2,3,10,4,6,9]=>11110100100
[12,11,10,5,1,7,2,9,3,4,6,8]=>11110101000
[12,11,10,5,1,9,8,2,3,4,6,7]=>11110110000
[10,9,8,7,6,1,2,3,4,5,12,11]=>11111000001
[12,9,8,7,6,1,2,3,4,11,5,10]=>11111000010
[12,11,8,7,6,1,2,3,10,4,5,9]=>11111000100
[12,11,10,7,6,1,2,9,3,4,5,8]=>11111001000
[12,11,10,9,6,1,8,2,3,4,5,7]=>11111010000
[12,11,10,9,8,7,1,2,3,4,5,6]=>11111100000
[10,12,9,11,7,8,5,6,3,4,1,2]=>01010101010
[11,12,8,10,7,9,5,6,3,4,1,2]=>01010101010
[10,12,8,11,7,9,5,6,3,4,1,2]=>01010101010
[9,12,8,11,7,10,5,6,3,4,1,2]=>01010101010
[11,12,9,10,6,8,5,7,3,4,1,2]=>01010101010
[10,12,9,11,6,8,5,7,3,4,1,2]=>01010101010
[11,12,8,10,6,9,5,7,3,4,1,2]=>01010101010
[10,12,8,11,6,9,5,7,3,4,1,2]=>01010101010
[9,12,8,11,6,10,5,7,3,4,1,2]=>01010101010
[11,12,7,10,6,9,5,8,3,4,1,2]=>01010101010
[10,12,7,11,6,9,5,8,3,4,1,2]=>01010101010
[9,12,7,11,6,10,5,8,3,4,1,2]=>01010101010
[8,12,7,11,6,10,5,9,3,4,1,2]=>01010101010
[11,12,9,10,7,8,4,6,3,5,1,2]=>01010101010
[10,12,9,11,7,8,4,6,3,5,1,2]=>01010101010
[11,12,8,10,7,9,4,6,3,5,1,2]=>01010101010
[10,12,8,11,7,9,4,6,3,5,1,2]=>01010101010
[9,12,8,11,7,10,4,6,3,5,1,2]=>01010101010
[11,12,9,10,6,8,4,7,3,5,1,2]=>01010101010
[10,12,9,11,6,8,4,7,3,5,1,2]=>01010101010
[11,12,8,10,6,9,4,7,3,5,1,2]=>01010101010
[10,12,8,11,6,9,4,7,3,5,1,2]=>01010101010
[9,12,8,11,6,10,4,7,3,5,1,2]=>01010101010
[11,12,7,10,6,9,4,8,3,5,1,2]=>01010101010
[10,12,7,11,6,9,4,8,3,5,1,2]=>01010101010
[9,12,7,11,6,10,4,8,3,5,1,2]=>01010101010
[8,12,7,11,6,10,4,9,3,5,1,2]=>01010101010
[11,12,9,10,5,8,4,7,3,6,1,2]=>01010101010
[10,12,9,11,5,8,4,7,3,6,1,2]=>01010101010
[11,12,8,10,5,9,4,7,3,6,1,2]=>01010101010
[10,12,8,11,5,9,4,7,3,6,1,2]=>01010101010
[9,12,8,11,5,10,4,7,3,6,1,2]=>01010101010
[11,12,7,10,5,9,4,8,3,6,1,2]=>01010101010
[10,12,7,11,5,9,4,8,3,6,1,2]=>01010101010
[9,12,7,11,5,10,4,8,3,6,1,2]=>01010101010
[8,12,7,11,5,10,4,9,3,6,1,2]=>01010101010
[11,12,6,10,5,9,4,8,3,7,1,2]=>01010101010
[10,12,6,11,5,9,4,8,3,7,1,2]=>01010101010
[9,12,6,11,5,10,4,8,3,7,1,2]=>01010101010
[8,12,6,11,5,10,4,9,3,7,1,2]=>01010101010
[7,12,6,11,5,10,4,9,3,8,1,2]=>01010101010
[11,12,9,10,7,8,5,6,2,4,1,3]=>01010101010
[10,12,9,11,7,8,5,6,2,4,1,3]=>01010101010
[11,12,8,10,7,9,5,6,2,4,1,3]=>01010101010
[10,12,8,11,7,9,5,6,2,4,1,3]=>01010101010
[9,12,8,11,7,10,5,6,2,4,1,3]=>01010101010
[11,12,9,10,6,8,5,7,2,4,1,3]=>01010101010
[10,12,9,11,6,8,5,7,2,4,1,3]=>01010101010
[11,12,8,10,6,9,5,7,2,4,1,3]=>01010101010
[10,12,8,11,6,9,5,7,2,4,1,3]=>01010101010
[9,12,8,11,6,10,5,7,2,4,1,3]=>01010101010
[11,12,7,10,6,9,5,8,2,4,1,3]=>01010101010
[10,12,7,11,6,9,5,8,2,4,1,3]=>01010101010
[9,12,7,11,6,10,5,8,2,4,1,3]=>01010101010
[8,12,7,11,6,10,5,9,2,4,1,3]=>01010101010
[11,12,9,10,7,8,4,6,2,5,1,3]=>01010101010
[10,12,9,11,7,8,4,6,2,5,1,3]=>01010101010
[11,12,8,10,7,9,4,6,2,5,1,3]=>01010101010
[10,12,8,11,7,9,4,6,2,5,1,3]=>01010101010
[9,12,8,11,7,10,4,6,2,5,1,3]=>01010101010
[11,12,9,10,6,8,4,7,2,5,1,3]=>01010101010
[10,12,9,11,6,8,4,7,2,5,1,3]=>01010101010
[11,12,8,10,6,9,4,7,2,5,1,3]=>01010101010
[10,12,8,11,6,9,4,7,2,5,1,3]=>01010101010
[9,12,8,11,6,10,4,7,2,5,1,3]=>01010101010
[11,12,7,10,6,9,4,8,2,5,1,3]=>01010101010
[10,12,7,11,6,9,4,8,2,5,1,3]=>01010101010
[9,12,7,11,6,10,4,8,2,5,1,3]=>01010101010
[8,12,7,11,6,10,4,9,2,5,1,3]=>01010101010
[11,12,9,10,5,8,4,7,2,6,1,3]=>01010101010
[10,12,9,11,5,8,4,7,2,6,1,3]=>01010101010
[11,12,8,10,5,9,4,7,2,6,1,3]=>01010101010
[10,12,8,11,5,9,4,7,2,6,1,3]=>01010101010
[9,12,8,11,5,10,4,7,2,6,1,3]=>01010101010
[11,12,7,10,5,9,4,8,2,6,1,3]=>01010101010
[10,12,7,11,5,9,4,8,2,6,1,3]=>01010101010
[9,12,7,11,5,10,4,8,2,6,1,3]=>01010101010
[8,12,7,11,5,10,4,9,2,6,1,3]=>01010101010
[11,12,6,10,5,9,4,8,2,7,1,3]=>01010101010
[10,12,6,11,5,9,4,8,2,7,1,3]=>01010101010
[9,12,6,11,5,10,4,8,2,7,1,3]=>01010101010
[8,12,6,11,5,10,4,9,2,7,1,3]=>01010101010
[7,12,6,11,5,10,4,9,2,8,1,3]=>01010101010
[11,12,9,10,7,8,3,6,2,5,1,4]=>01010101010
[10,12,9,11,7,8,3,6,2,5,1,4]=>01010101010
[11,12,8,10,7,9,3,6,2,5,1,4]=>01010101010
[10,12,8,11,7,9,3,6,2,5,1,4]=>01010101010
[9,12,8,11,7,10,3,6,2,5,1,4]=>01010101010
[11,12,9,10,6,8,3,7,2,5,1,4]=>01010101010
[10,12,9,11,6,8,3,7,2,5,1,4]=>01010101010
[11,12,8,10,6,9,3,7,2,5,1,4]=>01010101010
[10,12,8,11,6,9,3,7,2,5,1,4]=>01010101010
[9,12,8,11,6,10,3,7,2,5,1,4]=>01010101010
[11,12,7,10,6,9,3,8,2,5,1,4]=>01010101010
[10,12,7,11,6,9,3,8,2,5,1,4]=>01010101010
[9,12,7,11,6,10,3,8,2,5,1,4]=>01010101010
[8,12,7,11,6,10,3,9,2,5,1,4]=>01010101010
[11,12,9,10,5,8,3,7,2,6,1,4]=>01010101010
[10,12,9,11,5,8,3,7,2,6,1,4]=>01010101010
[11,12,8,10,5,9,3,7,2,6,1,4]=>01010101010
[10,12,8,11,5,9,3,7,2,6,1,4]=>01010101010
[9,12,8,11,5,10,3,7,2,6,1,4]=>01010101010
[11,12,7,10,5,9,3,8,2,6,1,4]=>01010101010
[10,12,7,11,5,9,3,8,2,6,1,4]=>01010101010
[9,12,7,11,5,10,3,8,2,6,1,4]=>01010101010
[8,12,7,11,5,10,3,9,2,6,1,4]=>01010101010
[11,12,6,10,5,9,3,8,2,7,1,4]=>01010101010
[10,12,6,11,5,9,3,8,2,7,1,4]=>01010101010
[9,12,6,11,5,10,3,8,2,7,1,4]=>01010101010
[8,12,6,11,5,10,3,9,2,7,1,4]=>01010101010
[7,12,6,11,5,10,3,9,2,8,1,4]=>01010101010
[11,12,9,10,4,8,3,7,2,6,1,5]=>01010101010
[10,12,9,11,4,8,3,7,2,6,1,5]=>01010101010
[11,12,8,10,4,9,3,7,2,6,1,5]=>01010101010
[10,12,8,11,4,9,3,7,2,6,1,5]=>01010101010
[9,12,8,11,4,10,3,7,2,6,1,5]=>01010101010
[11,12,7,10,4,9,3,8,2,6,1,5]=>01010101010
[10,12,7,11,4,9,3,8,2,6,1,5]=>01010101010
[9,12,7,11,4,10,3,8,2,6,1,5]=>01010101010
[8,12,7,11,4,10,3,9,2,6,1,5]=>01010101010
[11,12,6,10,4,9,3,8,2,7,1,5]=>01010101010
[10,12,6,11,4,9,3,8,2,7,1,5]=>01010101010
[9,12,6,11,4,10,3,8,2,7,1,5]=>01010101010
[8,12,6,11,4,10,3,9,2,7,1,5]=>01010101010
[7,12,6,11,4,10,3,9,2,8,1,5]=>01010101010
[11,12,5,10,4,9,3,8,2,7,1,6]=>01010101010
[10,12,5,11,4,9,3,8,2,7,1,6]=>01010101010
[9,12,5,11,4,10,3,8,2,7,1,6]=>01010101010
[8,12,5,11,4,10,3,9,2,7,1,6]=>01010101010
[7,12,5,11,4,10,3,9,2,8,1,6]=>01010101010
[6,12,5,11,4,10,3,9,2,8,1,7]=>01010101010
[11,9,7,5,3,1,12,10,8,6,4,2]=>11111011111
[10,9,7,5,3,1,12,11,8,6,4,2]=>11111011111
[11,8,7,5,3,1,12,10,9,6,4,2]=>11111011111
[10,8,7,5,3,1,12,11,9,6,4,2]=>11111011111
[9,8,7,5,3,1,12,11,10,6,4,2]=>11111011111
[11,9,6,5,3,1,12,10,8,7,4,2]=>11111011111
[10,9,6,5,3,1,12,11,8,7,4,2]=>11111011111
[11,8,6,5,3,1,12,10,9,7,4,2]=>11111011111
[10,8,6,5,3,1,12,11,9,7,4,2]=>11111011111
[9,8,6,5,3,1,12,11,10,7,4,2]=>11111011111
[11,7,6,5,3,1,12,10,9,8,4,2]=>11111011111
[10,7,6,5,3,1,12,11,9,8,4,2]=>11111011111
[9,7,6,5,3,1,12,11,10,8,4,2]=>11111011111
[8,7,6,5,3,1,12,11,10,9,4,2]=>11111011111
[11,9,7,4,3,1,12,10,8,6,5,2]=>11111011111
[10,9,7,4,3,1,12,11,8,6,5,2]=>11111011111
[11,8,7,4,3,1,12,10,9,6,5,2]=>11111011111
[10,8,7,4,3,1,12,11,9,6,5,2]=>11111011111
[9,8,7,4,3,1,12,11,10,6,5,2]=>11111011111
[11,9,6,4,3,1,12,10,8,7,5,2]=>11111011111
[10,9,6,4,3,1,12,11,8,7,5,2]=>11111011111
[11,8,6,4,3,1,12,10,9,7,5,2]=>11111011111
[10,8,6,4,3,1,12,11,9,7,5,2]=>11111011111
[9,8,6,4,3,1,12,11,10,7,5,2]=>11111011111
[11,7,6,4,3,1,12,10,9,8,5,2]=>11111011111
[10,7,6,4,3,1,12,11,9,8,5,2]=>11111011111
[9,7,6,4,3,1,12,11,10,8,5,2]=>11111011111
[8,7,6,4,3,1,12,11,10,9,5,2]=>11111011111
[11,9,5,4,3,1,12,10,8,7,6,2]=>11111011111
[10,9,5,4,3,1,12,11,8,7,6,2]=>11111011111
[11,8,5,4,3,1,12,10,9,7,6,2]=>11111011111
[10,8,5,4,3,1,12,11,9,7,6,2]=>11111011111
[9,8,5,4,3,1,12,11,10,7,6,2]=>11111011111
[11,7,5,4,3,1,12,10,9,8,6,2]=>11111011111
[10,7,5,4,3,1,12,11,9,8,6,2]=>11111011111
[9,7,5,4,3,1,12,11,10,8,6,2]=>11111011111
[8,7,5,4,3,1,12,11,10,9,6,2]=>11111011111
[11,6,5,4,3,1,12,10,9,8,7,2]=>11111011111
[10,6,5,4,3,1,12,11,9,8,7,2]=>11111011111
[9,6,5,4,3,1,12,11,10,8,7,2]=>11111011111
[8,6,5,4,3,1,12,11,10,9,7,2]=>11111011111
[7,6,5,4,3,1,12,11,10,9,8,2]=>11111011111
[11,9,7,5,2,1,12,10,8,6,4,3]=>11111011111
[10,9,7,5,2,1,12,11,8,6,4,3]=>11111011111
[11,8,7,5,2,1,12,10,9,6,4,3]=>11111011111
[10,8,7,5,2,1,12,11,9,6,4,3]=>11111011111
[9,8,7,5,2,1,12,11,10,6,4,3]=>11111011111
[11,9,6,5,2,1,12,10,8,7,4,3]=>11111011111
[10,9,6,5,2,1,12,11,8,7,4,3]=>11111011111
[11,8,6,5,2,1,12,10,9,7,4,3]=>11111011111
[10,8,6,5,2,1,12,11,9,7,4,3]=>11111011111
[9,8,6,5,2,1,12,11,10,7,4,3]=>11111011111
[11,7,6,5,2,1,12,10,9,8,4,3]=>11111011111
[10,7,6,5,2,1,12,11,9,8,4,3]=>11111011111
[9,7,6,5,2,1,12,11,10,8,4,3]=>11111011111
[8,7,6,5,2,1,12,11,10,9,4,3]=>11111011111
[11,9,7,4,2,1,12,10,8,6,5,3]=>11111011111
[10,9,7,4,2,1,12,11,8,6,5,3]=>11111011111
[11,8,7,4,2,1,12,10,9,6,5,3]=>11111011111
[10,8,7,4,2,1,12,11,9,6,5,3]=>11111011111
[9,8,7,4,2,1,12,11,10,6,5,3]=>11111011111
[11,9,6,4,2,1,12,10,8,7,5,3]=>11111011111
[10,9,6,4,2,1,12,11,8,7,5,3]=>11111011111
[11,8,6,4,2,1,12,10,9,7,5,3]=>11111011111
[10,8,6,4,2,1,12,11,9,7,5,3]=>11111011111
[9,8,6,4,2,1,12,11,10,7,5,3]=>11111011111
[11,7,6,4,2,1,12,10,9,8,5,3]=>11111011111
[10,7,6,4,2,1,12,11,9,8,5,3]=>11111011111
[9,7,6,4,2,1,12,11,10,8,5,3]=>11111011111
[8,7,6,4,2,1,12,11,10,9,5,3]=>11111011111
[11,9,5,4,2,1,12,10,8,7,6,3]=>11111011111
[10,9,5,4,2,1,12,11,8,7,6,3]=>11111011111
[11,8,5,4,2,1,12,10,9,7,6,3]=>11111011111
[10,8,5,4,2,1,12,11,9,7,6,3]=>11111011111
[9,8,5,4,2,1,12,11,10,7,6,3]=>11111011111
[11,7,5,4,2,1,12,10,9,8,6,3]=>11111011111
[10,7,5,4,2,1,12,11,9,8,6,3]=>11111011111
[9,7,5,4,2,1,12,11,10,8,6,3]=>11111011111
[8,7,5,4,2,1,12,11,10,9,6,3]=>11111011111
[11,6,5,4,2,1,12,10,9,8,7,3]=>11111011111
[10,6,5,4,2,1,12,11,9,8,7,3]=>11111011111
[9,6,5,4,2,1,12,11,10,8,7,3]=>11111011111
[8,6,5,4,2,1,12,11,10,9,7,3]=>11111011111
[7,6,5,4,2,1,12,11,10,9,8,3]=>11111011111
[11,9,7,3,2,1,12,10,8,6,5,4]=>11111011111
[10,9,7,3,2,1,12,11,8,6,5,4]=>11111011111
[11,8,7,3,2,1,12,10,9,6,5,4]=>11111011111
[10,8,7,3,2,1,12,11,9,6,5,4]=>11111011111
[9,8,7,3,2,1,12,11,10,6,5,4]=>11111011111
[11,9,6,3,2,1,12,10,8,7,5,4]=>11111011111
[10,9,6,3,2,1,12,11,8,7,5,4]=>11111011111
[11,8,6,3,2,1,12,10,9,7,5,4]=>11111011111
[10,8,6,3,2,1,12,11,9,7,5,4]=>11111011111
[9,8,6,3,2,1,12,11,10,7,5,4]=>11111011111
[11,7,6,3,2,1,12,10,9,8,5,4]=>11111011111
[10,7,6,3,2,1,12,11,9,8,5,4]=>11111011111
[9,7,6,3,2,1,12,11,10,8,5,4]=>11111011111
[8,7,6,3,2,1,12,11,10,9,5,4]=>11111011111
[11,9,5,3,2,1,12,10,8,7,6,4]=>11111011111
[10,9,5,3,2,1,12,11,8,7,6,4]=>11111011111
[11,8,5,3,2,1,12,10,9,7,6,4]=>11111011111
[10,8,5,3,2,1,12,11,9,7,6,4]=>11111011111
[9,8,5,3,2,1,12,11,10,7,6,4]=>11111011111
[11,7,5,3,2,1,12,10,9,8,6,4]=>11111011111
[10,7,5,3,2,1,12,11,9,8,6,4]=>11111011111
[9,7,5,3,2,1,12,11,10,8,6,4]=>11111011111
[8,7,5,3,2,1,12,11,10,9,6,4]=>11111011111
[11,6,5,3,2,1,12,10,9,8,7,4]=>11111011111
[10,6,5,3,2,1,12,11,9,8,7,4]=>11111011111
[9,6,5,3,2,1,12,11,10,8,7,4]=>11111011111
[8,6,5,3,2,1,12,11,10,9,7,4]=>11111011111
[7,6,5,3,2,1,12,11,10,9,8,4]=>11111011111
[11,9,4,3,2,1,12,10,8,7,6,5]=>11111011111
[10,9,4,3,2,1,12,11,8,7,6,5]=>11111011111
[11,8,4,3,2,1,12,10,9,7,6,5]=>11111011111
[10,8,4,3,2,1,12,11,9,7,6,5]=>11111011111
[9,8,4,3,2,1,12,11,10,7,6,5]=>11111011111
[11,7,4,3,2,1,12,10,9,8,6,5]=>11111011111
[10,7,4,3,2,1,12,11,9,8,6,5]=>11111011111
[9,7,4,3,2,1,12,11,10,8,6,5]=>11111011111
[8,7,4,3,2,1,12,11,10,9,6,5]=>11111011111
[11,6,4,3,2,1,12,10,9,8,7,5]=>11111011111
[10,6,4,3,2,1,12,11,9,8,7,5]=>11111011111
[9,6,4,3,2,1,12,11,10,8,7,5]=>11111011111
[8,6,4,3,2,1,12,11,10,9,7,5]=>11111011111
[7,6,4,3,2,1,12,11,10,9,8,5]=>11111011111
[11,5,4,3,2,1,12,10,9,8,7,6]=>11111011111
[10,5,4,3,2,1,12,11,9,8,7,6]=>11111011111
[9,5,4,3,2,1,12,11,10,8,7,6]=>11111011111
[8,5,4,3,2,1,12,11,10,9,7,6]=>11111011111
[7,5,4,3,2,1,12,11,10,9,8,6]=>11111011111
[7,1,8,2,9,3,10,4,11,5,12,6]=>10101010101
[9,10,11,12,7,8,5,6,3,4,1,2]=>00010101010
[11,12,7,8,9,10,5,6,3,4,1,2]=>01000101010
[7,10,11,8,9,12,5,6,3,4,1,2]=>00100101010
[7,8,9,10,11,12,5,6,3,4,1,2]=>00000101010
[11,12,9,10,5,6,7,8,3,4,1,2]=>01010001010
[9,10,11,12,5,6,7,8,3,4,1,2]=>00010001010
[11,12,5,8,9,6,7,10,3,4,1,2]=>01001001010
[5,10,11,8,9,6,7,12,3,4,1,2]=>00101001010
[5,8,9,10,11,6,7,12,3,4,1,2]=>00001001010
[11,12,5,6,7,8,9,10,3,4,1,2]=>01000001010
[5,10,11,6,7,8,9,12,3,4,1,2]=>00100001010
[5,6,9,10,7,8,11,12,3,4,1,2]=>00010001010
[5,6,7,8,9,10,11,12,3,4,1,2]=>00000001010
[11,12,9,10,7,8,3,4,5,6,1,2]=>01010100010
[9,10,11,12,7,8,3,4,5,6,1,2]=>00010100010
[11,12,7,8,9,10,3,4,5,6,1,2]=>01000100010
[7,10,11,8,9,12,3,4,5,6,1,2]=>00100100010
[7,8,9,10,11,12,3,4,5,6,1,2]=>00000100010
[11,12,9,10,3,6,7,4,5,8,1,2]=>01010010010
[9,10,11,12,3,6,7,4,5,8,1,2]=>00010010010
[11,12,3,8,9,6,7,4,5,10,1,2]=>01001010010
[3,10,11,8,9,6,7,4,5,12,1,2]=>00101010010
[3,8,9,10,11,6,7,4,5,12,1,2]=>00001010010
[11,12,3,6,7,8,9,4,5,10,1,2]=>01000010010
[3,10,11,6,7,8,9,4,5,12,1,2]=>00100010010
[3,6,9,10,7,8,11,4,5,12,1,2]=>00010010010
[3,6,7,8,9,10,11,4,5,12,1,2]=>00000010010
[11,12,9,10,3,4,5,6,7,8,1,2]=>01010000010
[9,10,11,12,3,4,5,6,7,8,1,2]=>00010000010
[11,12,3,8,9,4,5,6,7,10,1,2]=>01001000010
[3,10,11,8,9,4,5,6,7,12,1,2]=>00101000010
[3,8,9,10,11,4,5,6,7,12,1,2]=>00001000010
[11,12,3,4,7,8,5,6,9,10,1,2]=>01000100010
[3,10,11,4,7,8,5,6,9,12,1,2]=>00100100010
[3,4,9,10,7,8,5,6,11,12,1,2]=>00010100010
[3,4,7,8,9,10,5,6,11,12,1,2]=>00000100010
[11,12,3,4,5,6,7,8,9,10,1,2]=>01000000010
[3,10,11,4,5,6,7,8,9,12,1,2]=>00100000010
[3,4,9,10,5,6,7,8,11,12,1,2]=>00010000010
[3,4,5,8,9,6,7,10,11,12,1,2]=>00001000010
[3,4,5,6,7,8,9,10,11,12,1,2]=>00000000010
[11,12,9,10,7,8,5,6,1,2,3,4]=>01010101000
[9,10,11,12,7,8,5,6,1,2,3,4]=>00010101000
[11,12,7,8,9,10,5,6,1,2,3,4]=>01000101000
[7,10,11,8,9,12,5,6,1,2,3,4]=>00100101000
[7,8,9,10,11,12,5,6,1,2,3,4]=>00000101000
[11,12,9,10,5,6,7,8,1,2,3,4]=>01010001000
[9,10,11,12,5,6,7,8,1,2,3,4]=>00010001000
[11,12,5,8,9,6,7,10,1,2,3,4]=>01001001000
[5,10,11,8,9,6,7,12,1,2,3,4]=>00101001000
[5,8,9,10,11,6,7,12,1,2,3,4]=>00001001000
[11,12,5,6,7,8,9,10,1,2,3,4]=>01000001000
[5,10,11,6,7,8,9,12,1,2,3,4]=>00100001000
[5,6,9,10,7,8,11,12,1,2,3,4]=>00010001000
[5,6,7,8,9,10,11,12,1,2,3,4]=>00000001000
[11,12,9,10,7,8,1,4,5,2,3,6]=>01010100100
[9,10,11,12,7,8,1,4,5,2,3,6]=>00010100100
[11,12,7,8,9,10,1,4,5,2,3,6]=>01000100100
[7,10,11,8,9,12,1,4,5,2,3,6]=>00100100100
[7,8,9,10,11,12,1,4,5,2,3,6]=>00000100100
[11,12,9,10,1,6,7,4,5,2,3,8]=>01010010100
[9,10,11,12,1,6,7,4,5,2,3,8]=>00010010100
[11,12,1,8,9,6,7,4,5,2,3,10]=>01001010100
[1,10,11,8,9,6,7,4,5,2,3,12]=>00101010100
[1,8,9,10,11,6,7,4,5,2,3,12]=>00001010100
[11,12,1,6,7,8,9,4,5,2,3,10]=>01000010100
[1,10,11,6,7,8,9,4,5,2,3,12]=>00100010100
[1,6,9,10,7,8,11,4,5,2,3,12]=>00010010100
[1,6,7,8,9,10,11,4,5,2,3,12]=>00000010100
[11,12,9,10,1,4,5,6,7,2,3,8]=>01010000100
[9,10,11,12,1,4,5,6,7,2,3,8]=>00010000100
[11,12,1,8,9,4,5,6,7,2,3,10]=>01001000100
[1,10,11,8,9,4,5,6,7,2,3,12]=>00101000100
[1,8,9,10,11,4,5,6,7,2,3,12]=>00001000100
[11,12,1,4,7,8,5,6,9,2,3,10]=>01000100100
[1,10,11,4,7,8,5,6,9,2,3,12]=>00100100100
[1,4,9,10,7,8,5,6,11,2,3,12]=>00010100100
[1,4,7,8,9,10,5,6,11,2,3,12]=>00000100100
[11,12,1,4,5,6,7,8,9,2,3,10]=>01000000100
[1,10,11,4,5,6,7,8,9,2,3,12]=>00100000100
[1,4,9,10,5,6,7,8,11,2,3,12]=>00010000100
[1,4,5,8,9,6,7,10,11,2,3,12]=>00001000100
[1,4,5,6,7,8,9,10,11,2,3,12]=>00000000100
[11,12,9,10,7,8,1,2,3,4,5,6]=>01010100000
[9,10,11,12,7,8,1,2,3,4,5,6]=>00010100000
[11,12,7,8,9,10,1,2,3,4,5,6]=>01000100000
[7,10,11,8,9,12,1,2,3,4,5,6]=>00100100000
[11,12,9,10,1,6,7,2,3,4,5,8]=>01010010000
[9,10,11,12,1,6,7,2,3,4,5,8]=>00010010000
[11,12,1,8,9,6,7,2,3,4,5,10]=>01001010000
[1,10,11,8,9,6,7,2,3,4,5,12]=>00101010000
[1,8,9,10,11,6,7,2,3,4,5,12]=>00001010000
[11,12,1,6,7,8,9,2,3,4,5,10]=>01000010000
[1,10,11,6,7,8,9,2,3,4,5,12]=>00100010000
[1,6,9,10,7,8,11,2,3,4,5,12]=>00010010000
[1,6,7,8,9,10,11,2,3,4,5,12]=>00000010000
[11,12,9,10,1,2,5,6,3,4,7,8]=>01010001000
[9,10,11,12,1,2,5,6,3,4,7,8]=>00010001000
[11,12,1,8,9,2,5,6,3,4,7,10]=>01001001000
[1,10,11,8,9,2,5,6,3,4,7,12]=>00101001000
[1,8,9,10,11,2,5,6,3,4,7,12]=>00001001000
[11,12,1,2,7,8,5,6,3,4,9,10]=>01000101000
[1,10,11,2,7,8,5,6,3,4,9,12]=>00100101000
[1,2,9,10,7,8,5,6,3,4,11,12]=>00010101000
[1,2,7,8,9,10,5,6,3,4,11,12]=>00000101000
[11,12,1,2,5,6,7,8,3,4,9,10]=>01000001000
[1,10,11,2,5,6,7,8,3,4,9,12]=>00100001000
[1,2,9,10,5,6,7,8,3,4,11,12]=>00010001000
[1,2,5,8,9,6,7,10,3,4,11,12]=>00001001000
[1,2,5,6,7,8,9,10,3,4,11,12]=>00000001000
[11,12,9,10,1,2,3,4,5,6,7,8]=>01010000000
[9,10,11,12,1,2,3,4,5,6,7,8]=>00010000000
[11,12,1,8,9,2,3,4,5,6,7,10]=>01001000000
[1,10,11,8,9,2,3,4,5,6,7,12]=>00101000000
[1,8,9,10,11,2,3,4,5,6,7,12]=>00001000000
[11,12,1,2,7,8,3,4,5,6,9,10]=>01000100000
[1,10,11,2,7,8,3,4,5,6,9,12]=>00100100000
[1,2,9,10,7,8,3,4,5,6,11,12]=>00010100000
[1,2,7,8,9,10,3,4,5,6,11,12]=>00000100000
[11,12,1,2,3,6,7,4,5,8,9,10]=>01000010000
[1,10,11,2,3,6,7,4,5,8,9,12]=>00100010000
[1,2,9,10,3,6,7,4,5,8,11,12]=>00010010000
[1,2,3,8,9,6,7,4,5,10,11,12]=>00001010000
[1,2,3,6,7,8,9,4,5,10,11,12]=>00000010000
[11,12,1,2,3,4,5,6,7,8,9,10]=>01000000000
[1,10,11,2,3,4,5,6,7,8,9,12]=>00100000000
[1,2,9,10,3,4,5,6,7,8,11,12]=>00010000000
[1,2,3,8,9,4,5,6,7,10,11,12]=>00001000000
[1,2,3,4,7,8,5,6,9,10,11,12]=>00000100000
[1,2,3,4,5,6,7,8,9,10,11,12]=>00000000000
[11,1,12,10,9,8,7,6,5,4,3,2]=>10111111111
[2,12,11,10,9,8,7,6,5,4,1,3]=>01111111110
[11,1,2,3,4,5,6,7,8,9,12,10]=>10000000001
[2,12,1,3,4,5,6,7,8,9,10,11]=>01000000000
[11,12,9,10,7,8,5,6,2,1,3,4]=>01010101100
[11,12,9,10,7,8,4,3,5,6,1,2]=>01010110010
[11,12,9,10,7,8,4,2,5,1,3,6]=>01010110100
[11,12,9,10,7,8,3,2,1,4,5,6]=>01010111000
[11,12,9,10,6,5,7,8,3,4,1,2]=>01011001010
[11,12,9,10,6,5,7,8,2,1,3,4]=>01011001100
[11,12,9,10,6,4,7,3,5,8,1,2]=>01011010010
[11,12,9,10,6,4,7,2,5,1,3,8]=>01011010100
[11,12,9,10,6,3,7,2,1,4,5,8]=>01011011000
[11,12,9,10,5,4,3,6,7,8,1,2]=>01011100010
[11,12,9,10,5,4,2,6,7,1,3,8]=>01011100100
[11,12,9,10,5,3,2,6,1,4,7,8]=>01011101000
[11,12,9,10,4,3,2,1,5,6,7,8]=>01011110000
[11,12,8,7,9,10,5,6,3,4,1,2]=>01100101010
[11,12,8,7,9,10,5,6,2,1,3,4]=>01100101100
[11,12,8,7,9,10,4,3,5,6,1,2]=>01100110010
[11,12,8,7,9,10,4,2,5,1,3,6]=>01100110100
[11,12,8,7,9,10,3,2,1,4,5,6]=>01100111000
[11,12,8,6,9,5,7,10,3,4,1,2]=>01101001010
[11,12,8,6,9,5,7,10,2,1,3,4]=>01101001100
[11,12,8,6,9,4,7,3,5,10,1,2]=>01101010010
[11,12,8,6,9,4,7,2,5,1,3,10]=>01101010100
[11,12,8,6,9,3,7,2,1,4,5,10]=>01101011000
[11,12,8,5,9,4,3,6,7,10,1,2]=>01101100010
[11,12,8,5,9,4,2,6,7,1,3,10]=>01101100100
[11,12,8,5,9,3,2,6,1,4,7,10]=>01101101000
[11,12,8,4,9,3,2,1,5,6,7,10]=>01101110000
[11,12,7,6,5,8,9,10,3,4,1,2]=>01110001010
[11,12,7,6,5,8,9,10,2,1,3,4]=>01110001100
[11,12,7,6,4,8,9,3,5,10,1,2]=>01110010010
[11,12,7,6,4,8,9,2,5,1,3,10]=>01110010100
[11,12,7,6,3,8,9,2,1,4,5,10]=>01110011000
[11,12,7,5,4,8,3,6,9,10,1,2]=>01110100010
[11,12,7,5,4,8,2,6,9,1,3,10]=>01110100100
[11,12,7,5,3,8,2,6,1,4,9,10]=>01110101000
[11,12,7,4,3,8,2,1,5,6,9,10]=>01110110000
[11,12,6,5,4,3,7,8,9,10,1,2]=>01111000010
[11,12,6,5,4,2,7,8,9,1,3,10]=>01111000100
[11,12,6,5,3,2,7,8,1,4,9,10]=>01111001000
[11,12,6,4,3,2,7,1,5,8,9,10]=>01111010000
[11,12,5,4,3,2,1,6,7,8,9,10]=>01111100000
[10,9,11,12,7,8,5,6,3,4,1,2]=>10010101010
[10,9,11,12,7,8,5,6,2,1,3,4]=>10010101100
[10,9,11,12,7,8,4,3,5,6,1,2]=>10010110010
[10,9,11,12,7,8,4,2,5,1,3,6]=>10010110100
[10,9,11,12,7,8,3,2,1,4,5,6]=>10010111000
[10,9,11,12,6,5,7,8,3,4,1,2]=>10011001010
[10,9,11,12,6,5,7,8,2,1,3,4]=>10011001100
[10,9,11,12,6,4,7,3,5,8,1,2]=>10011010010
[10,9,11,12,6,4,7,2,5,1,3,8]=>10011010100
[10,9,11,12,6,3,7,2,1,4,5,8]=>10011011000
[10,9,11,12,5,4,3,6,7,8,1,2]=>10011100010
[10,9,11,12,5,4,2,6,7,1,3,8]=>10011100100
[10,9,11,12,5,3,2,6,1,4,7,8]=>10011101000
[10,9,11,12,4,3,2,1,5,6,7,8]=>10011110000
[10,8,11,7,9,12,5,6,3,4,1,2]=>10100101010
[10,8,11,7,9,12,5,6,2,1,3,4]=>10100101100
[10,8,11,7,9,12,4,3,5,6,1,2]=>10100110010
[10,8,11,7,9,12,4,2,5,1,3,6]=>10100110100
[10,8,11,7,9,12,3,2,1,4,5,6]=>10100111000
[10,8,11,6,9,5,7,12,3,4,1,2]=>10101001010
[10,8,11,6,9,5,7,12,2,1,3,4]=>10101001100
[10,8,11,6,9,4,7,3,5,12,1,2]=>10101010010
[10,8,11,6,9,4,7,2,5,1,3,12]=>10101010100
[10,8,11,6,9,3,7,2,1,4,5,12]=>10101011000
[10,8,11,5,9,4,3,6,7,12,1,2]=>10101100010
[10,8,11,5,9,4,2,6,7,1,3,12]=>10101100100
[10,8,11,5,9,3,2,6,1,4,7,12]=>10101101000
[10,8,11,4,9,3,2,1,5,6,7,12]=>10101110000
[10,7,11,6,5,8,9,12,3,4,1,2]=>10110001010
[10,7,11,6,5,8,9,12,2,1,3,4]=>10110001100
[10,7,11,6,4,8,9,3,5,12,1,2]=>10110010010
[10,7,11,6,4,8,9,2,5,1,3,12]=>10110010100
[10,7,11,6,3,8,9,2,1,4,5,12]=>10110011000
[10,7,11,5,4,8,3,6,9,12,1,2]=>10110100010
[10,7,11,5,4,8,2,6,9,1,3,12]=>10110100100
[10,7,11,5,3,8,2,6,1,4,9,12]=>10110101000
[10,7,11,4,3,8,2,1,5,6,9,12]=>10110110000
[10,6,11,5,4,3,7,8,9,12,1,2]=>10111000010
[10,6,11,5,4,2,7,8,9,1,3,12]=>10111000100
[10,6,11,5,3,2,7,8,1,4,9,12]=>10111001000
[10,6,11,4,3,2,7,1,5,8,9,12]=>10111010000
[10,5,11,4,3,2,1,6,7,8,9,12]=>10111100000
[9,8,7,10,11,12,5,6,3,4,1,2]=>11000101010
[9,8,7,10,11,12,5,6,2,1,3,4]=>11000101100
[9,8,7,10,11,12,4,3,5,6,1,2]=>11000110010
[9,8,7,10,11,12,4,2,5,1,3,6]=>11000110100
[9,8,7,10,11,12,3,2,1,4,5,6]=>11000111000
[9,8,6,10,11,5,7,12,3,4,1,2]=>11001001010
[9,8,6,10,11,5,7,12,2,1,3,4]=>11001001100
[9,8,6,10,11,4,7,3,5,12,1,2]=>11001010010
[9,8,6,10,11,4,7,2,5,1,3,12]=>11001010100
[9,8,6,10,11,3,7,2,1,4,5,12]=>11001011000
[9,8,5,10,11,4,3,6,7,12,1,2]=>11001100010
[9,8,5,10,11,4,2,6,7,1,3,12]=>11001100100
[9,8,5,10,11,3,2,6,1,4,7,12]=>11001101000
[9,8,4,10,11,3,2,1,5,6,7,12]=>11001110000
[9,7,6,10,5,8,11,12,3,4,1,2]=>11010001010
[9,7,6,10,5,8,11,12,2,1,3,4]=>11010001100
[9,7,6,10,4,8,11,3,5,12,1,2]=>11010010010
[9,7,6,10,4,8,11,2,5,1,3,12]=>11010010100
[9,7,6,10,3,8,11,2,1,4,5,12]=>11010011000
[9,7,5,10,4,8,3,6,11,12,1,2]=>11010100010
[9,7,5,10,4,8,2,6,11,1,3,12]=>11010100100
[9,7,5,10,3,8,2,6,1,4,11,12]=>11010101000
[9,7,4,10,3,8,2,1,5,6,11,12]=>11010110000
[9,6,5,10,4,3,7,8,11,12,1,2]=>11011000010
[9,6,5,10,4,2,7,8,11,1,3,12]=>11011000100
[9,6,5,10,3,2,7,8,1,4,11,12]=>11011001000
[9,6,4,10,3,2,7,1,5,8,11,12]=>11011010000
[9,5,4,10,3,2,1,6,7,8,11,12]=>11011100000
[8,7,6,5,9,10,11,12,3,4,1,2]=>11100001010
[8,7,6,5,9,10,11,12,2,1,3,4]=>11100001100
[8,7,6,4,9,10,11,3,5,12,1,2]=>11100010010
[8,7,6,4,9,10,11,2,5,1,3,12]=>11100010100
[8,7,6,3,9,10,11,2,1,4,5,12]=>11100011000
[8,7,5,4,9,10,3,6,11,12,1,2]=>11100100010
[8,7,5,4,9,10,2,6,11,1,3,12]=>11100100100
[8,7,5,3,9,10,2,6,1,4,11,12]=>11100101000
[8,7,4,3,9,10,2,1,5,6,11,12]=>11100110000
[8,6,5,4,9,3,7,10,11,12,1,2]=>11101000010
[8,6,5,4,9,2,7,10,11,1,3,12]=>11101000100
[8,6,5,3,9,2,7,10,1,4,11,12]=>11101001000
[8,6,4,3,9,2,7,1,5,10,11,12]=>11101010000
[8,5,4,3,9,2,1,6,7,10,11,12]=>11101100000
[7,6,5,4,3,8,9,10,11,12,1,2]=>11110000010
[7,6,5,4,2,8,9,10,11,1,3,12]=>11110000100
[7,6,5,3,2,8,9,10,1,4,11,12]=>11110001000
[7,6,4,3,2,8,9,1,5,10,11,12]=>11110010000
[7,5,4,3,2,8,1,6,9,10,11,12]=>11110100000
[6,5,4,3,2,1,7,8,9,10,11,12]=>11111000000
[12,2,1,4,3,6,5,8,7,10,9,11]=>11010101010
[12,2,1,4,3,6,5,8,7,9,11,10]=>11010101001
[12,2,1,4,3,6,5,7,9,10,8,11]=>11010100010
[12,2,1,4,3,6,5,7,9,8,11,10]=>11010100101
[12,2,1,4,3,6,5,7,8,10,11,9]=>11010100001
[12,2,1,4,3,5,7,8,6,10,9,11]=>11010001010
[12,2,1,4,3,5,7,8,6,9,11,10]=>11010001001
[12,2,1,4,3,5,7,6,9,10,8,11]=>11010010010
[12,2,1,4,3,5,7,6,9,8,11,10]=>11010010101
[12,2,1,4,3,5,7,6,8,10,11,9]=>11010010001
[12,2,1,4,3,5,6,8,9,10,7,11]=>11010000010
[12,2,1,4,3,5,6,8,9,7,11,10]=>11010000101
[12,2,1,4,3,5,6,8,7,10,11,9]=>11010001001
[12,2,1,4,3,5,6,7,9,10,11,8]=>11010000001
[12,2,1,3,5,6,4,8,7,10,9,11]=>11000101010
[12,2,1,3,5,6,4,8,7,9,11,10]=>11000101001
[12,2,1,3,5,6,4,7,9,10,8,11]=>11000100010
[12,2,1,3,5,6,4,7,9,8,11,10]=>11000100101
[12,2,1,3,5,6,4,7,8,10,11,9]=>11000100001
[12,2,1,3,5,4,7,8,6,10,9,11]=>11001001010
[12,2,1,3,5,4,7,8,6,9,11,10]=>11001001001
[12,2,1,3,5,4,7,6,9,10,8,11]=>11001010010
[12,2,1,3,5,4,7,6,9,8,11,10]=>11001010101
[12,2,1,3,5,4,7,6,8,10,11,9]=>11001010001
[12,2,1,3,5,4,6,8,9,10,7,11]=>11001000010
[12,2,1,3,5,4,6,8,9,7,11,10]=>11001000101
[12,2,1,3,5,4,6,8,7,10,11,9]=>11001001001
[12,2,1,3,5,4,6,7,9,10,11,8]=>11001000001
[12,2,1,3,4,6,7,8,5,10,9,11]=>11000001010
[12,2,1,3,4,6,7,8,5,9,11,10]=>11000001001
[12,2,1,3,4,6,7,5,9,10,8,11]=>11000010010
[12,2,1,3,4,6,7,5,9,8,11,10]=>11000010101
[12,2,1,3,4,6,7,5,8,10,11,9]=>11000010001
[12,2,1,3,4,6,5,8,9,10,7,11]=>11000100010
[12,2,1,3,4,6,5,8,9,7,11,10]=>11000100101
[12,2,1,3,4,6,5,8,7,10,11,9]=>11000101001
[12,2,1,3,4,6,5,7,9,10,11,8]=>11000100001
[12,2,1,3,4,5,7,8,9,10,6,11]=>11000000010
[12,2,1,3,4,5,7,8,9,6,11,10]=>11000000101
[12,2,1,3,4,5,7,8,6,10,11,9]=>11000001001
[12,2,1,3,4,5,7,6,9,10,11,8]=>11000010001
[12,2,1,3,4,5,6,8,9,10,11,7]=>11000000001
[12,1,3,4,2,6,5,8,7,10,9,11]=>10010101010
[12,1,3,4,2,6,5,8,7,9,11,10]=>10010101001
[12,1,3,4,2,6,5,7,9,10,8,11]=>10010100010
[12,1,3,4,2,6,5,7,9,8,11,10]=>10010100101
[12,1,3,4,2,6,5,7,8,10,11,9]=>10010100001
[12,1,3,4,2,5,7,8,6,10,9,11]=>10010001010
[12,1,3,4,2,5,7,8,6,9,11,10]=>10010001001
[12,1,3,4,2,5,7,6,9,10,8,11]=>10010010010
[12,1,3,4,2,5,7,6,9,8,11,10]=>10010010101
[12,1,3,4,2,5,7,6,8,10,11,9]=>10010010001
[12,1,3,4,2,5,6,8,9,10,7,11]=>10010000010
[12,1,3,4,2,5,6,8,9,7,11,10]=>10010000101
[12,1,3,4,2,5,6,8,7,10,11,9]=>10010001001
[12,1,3,4,2,5,6,7,9,10,11,8]=>10010000001
[12,1,3,2,5,6,4,8,7,10,9,11]=>10100101010
[12,1,3,2,5,6,4,8,7,9,11,10]=>10100101001
[12,1,3,2,5,6,4,7,9,10,8,11]=>10100100010
[12,1,3,2,5,6,4,7,9,8,11,10]=>10100100101
[12,1,3,2,5,6,4,7,8,10,11,9]=>10100100001
[12,1,3,2,5,4,7,8,6,10,9,11]=>10101001010
[12,1,3,2,5,4,7,8,6,9,11,10]=>10101001001
[12,1,3,2,5,4,7,6,9,10,8,11]=>10101010010
[12,1,3,2,5,4,7,6,9,8,11,10]=>10101010101
[12,1,3,2,5,4,7,6,8,10,11,9]=>10101010001
[12,1,3,2,5,4,6,8,9,10,7,11]=>10101000010
[12,1,3,2,5,4,6,8,9,7,11,10]=>10101000101
[12,1,3,2,5,4,6,8,7,10,11,9]=>10101001001
[12,1,3,2,5,4,6,7,9,10,11,8]=>10101000001
[12,1,3,2,4,6,7,8,5,10,9,11]=>10100001010
[12,1,3,2,4,6,7,8,5,9,11,10]=>10100001001
[12,1,3,2,4,6,7,5,9,10,8,11]=>10100010010
[12,1,3,2,4,6,7,5,9,8,11,10]=>10100010101
[12,1,3,2,4,6,7,5,8,10,11,9]=>10100010001
[12,1,3,2,4,6,5,8,9,10,7,11]=>10100100010
[12,1,3,2,4,6,5,8,9,7,11,10]=>10100100101
[12,1,3,2,4,6,5,8,7,10,11,9]=>10100101001
[12,1,3,2,4,6,5,7,9,10,11,8]=>10100100001
[12,1,3,2,4,5,7,8,9,10,6,11]=>10100000010
[12,1,3,2,4,5,7,8,9,6,11,10]=>10100000101
[12,1,3,2,4,5,7,8,6,10,11,9]=>10100001001
[12,1,3,2,4,5,7,6,9,10,11,8]=>10100010001
[12,1,3,2,4,5,6,8,9,10,11,7]=>10100000001
[12,1,2,4,5,6,3,8,7,10,9,11]=>10000101010
[12,1,2,4,5,6,3,8,7,9,11,10]=>10000101001
[12,1,2,4,5,6,3,7,9,10,8,11]=>10000100010
[12,1,2,4,5,6,3,7,9,8,11,10]=>10000100101
[12,1,2,4,5,6,3,7,8,10,11,9]=>10000100001
[12,1,2,4,5,3,7,8,6,10,9,11]=>10001001010
[12,1,2,4,5,3,7,8,6,9,11,10]=>10001001001
[12,1,2,4,5,3,7,6,9,10,8,11]=>10001010010
[12,1,2,4,5,3,7,6,9,8,11,10]=>10001010101
[12,1,2,4,5,3,7,6,8,10,11,9]=>10001010001
[12,1,2,4,5,3,6,8,9,10,7,11]=>10001000010
[12,1,2,4,5,3,6,8,9,7,11,10]=>10001000101
[12,1,2,4,5,3,6,8,7,10,11,9]=>10001001001
[12,1,2,4,5,3,6,7,9,10,11,8]=>10001000001
[12,1,2,4,3,6,7,8,5,10,9,11]=>10010001010
[12,1,2,4,3,6,7,8,5,9,11,10]=>10010001001
[12,1,2,4,3,6,7,5,9,10,8,11]=>10010010010
[12,1,2,4,3,6,7,5,9,8,11,10]=>10010010101
[12,1,2,4,3,6,7,5,8,10,11,9]=>10010010001
[12,1,2,4,3,6,5,8,9,10,7,11]=>10010100010
[12,1,2,4,3,6,5,8,9,7,11,10]=>10010100101
[12,1,2,4,3,6,5,8,7,10,11,9]=>10010101001
[12,1,2,4,3,6,5,7,9,10,11,8]=>10010100001
[12,1,2,4,3,5,7,8,9,10,6,11]=>10010000010
[12,1,2,4,3,5,7,8,9,6,11,10]=>10010000101
[12,1,2,4,3,5,7,8,6,10,11,9]=>10010001001
[12,1,2,4,3,5,7,6,9,10,11,8]=>10010010001
[12,1,2,4,3,5,6,8,9,10,11,7]=>10010000001
[12,1,2,3,5,6,7,8,4,10,9,11]=>10000001010
[12,1,2,3,5,6,7,8,4,9,11,10]=>10000001001
[12,1,2,3,5,6,7,4,9,10,8,11]=>10000010010
[12,1,2,3,5,6,7,4,9,8,11,10]=>10000010101
[12,1,2,3,5,6,7,4,8,10,11,9]=>10000010001
[12,1,2,3,5,6,4,8,9,10,7,11]=>10000100010
[12,1,2,3,5,6,4,8,9,7,11,10]=>10000100101
[12,1,2,3,5,6,4,8,7,10,11,9]=>10000101001
[12,1,2,3,5,6,4,7,9,10,11,8]=>10000100001
[12,1,2,3,5,4,7,8,9,10,6,11]=>10001000010
[12,1,2,3,5,4,7,8,9,6,11,10]=>10001000101
[12,1,2,3,5,4,7,8,6,10,11,9]=>10001001001
[12,1,2,3,5,4,7,6,9,10,11,8]=>10001010001
[12,1,2,3,5,4,6,8,9,10,11,7]=>10001000001
[12,1,2,3,4,6,7,8,9,10,5,11]=>10000000010
[12,1,2,3,4,6,7,8,9,5,11,10]=>10000000101
[12,1,2,3,4,6,7,8,5,10,11,9]=>10000001001
[12,1,2,3,4,6,7,5,9,10,11,8]=>10000010001
[12,1,2,3,4,6,5,8,9,10,11,7]=>10000100001
[12,1,2,3,4,5,7,8,9,10,11,6]=>10000000001
[12,11,2,4,6,8,10,1,3,5,7,9]=>11000010000
[10,9,2,4,6,8,12,1,3,5,7,11]=>11000010000
[2,12,9,11,4,6,8,10,1,3,5,7]=>01010001000
[12,11,10,9,2,4,6,8,1,3,5,7]=>11110001000
[8,7,2,4,6,10,12,1,3,5,9,11]=>11000010000
[8,12,7,11,2,4,6,10,1,3,5,9]=>01010001000
[2,10,7,9,4,6,8,12,1,3,5,11]=>01010001000
[2,4,12,7,9,11,6,8,10,1,3,5]=>00100100100
[12,11,2,10,7,9,4,6,8,1,3,5]=>11010100100
[10,9,8,7,2,4,6,12,1,3,5,11]=>11110001000
[12,9,2,8,7,11,4,6,10,1,3,5]=>11010100100
[8,12,7,11,10,9,2,4,6,1,3,5]=>01011100100
[12,11,10,9,8,7,2,4,6,1,3,5]=>11111100100
[6,5,2,4,8,10,12,1,3,7,9,11]=>11000010000
[6,12,5,11,2,4,8,10,1,3,7,9]=>01010001000
[6,10,5,9,2,4,8,12,1,3,7,11]=>01010001000
[6,5,12,9,11,2,4,8,10,1,3,7]=>10101000100
[12,11,6,10,5,9,2,4,8,1,3,7]=>11010100100
[2,8,5,7,4,6,10,12,1,3,9,11]=>01010001000
[2,8,12,5,7,11,4,6,10,1,3,9]=>00100100100
[10,5,2,4,7,9,6,8,12,1,3,11]=>11000100100
[12,5,7,2,4,6,9,11,8,10,1,3]=>10100001010
[12,5,11,10,2,4,7,9,6,8,1,3]=>10110001010
[10,9,2,8,5,7,4,6,12,1,3,11]=>11010100100
[12,5,9,8,2,4,7,11,6,10,1,3]=>10110001010
[2,12,5,11,8,10,7,9,4,6,1,3]=>01010101010
[12,11,10,9,2,8,5,7,4,6,1,3]=>11110101010
[8,7,6,5,2,4,10,12,1,3,9,11]=>11110001000
[8,7,6,12,5,11,2,4,10,1,3,9]=>11010100100
[10,7,2,6,5,9,4,8,12,1,3,11]=>11010100100
[7,6,12,5,2,4,9,11,8,10,1,3]=>10110001010
[2,12,7,11,6,10,5,9,4,8,1,3]=>01010101010
[6,10,5,9,8,7,2,4,12,1,3,11]=>01011100100
[2,12,6,9,5,8,7,11,4,10,1,3]=>01010101010
[6,8,12,5,7,11,10,9,2,4,1,3]=>00100111010
[12,11,6,10,5,9,8,7,2,4,1,3]=>11010111010
[10,9,8,7,6,5,2,4,12,1,3,11]=>11111100100
[12,9,8,7,2,6,5,11,4,10,1,3]=>11110101010
[8,7,6,12,5,11,10,9,2,4,1,3]=>11010111010
[7,12,6,11,10,9,8,5,2,4,1,3]=>01011111010
[12,11,10,9,8,7,6,5,2,4,1,3]=>11111111010
[4,3,2,6,8,10,12,1,5,7,9,11]=>11000010000
[4,12,3,11,2,6,8,10,1,5,7,9]=>01010001000
[4,10,3,9,2,6,8,12,1,5,7,11]=>01010001000
[4,3,12,9,11,2,6,8,10,1,5,7]=>10101000100
[12,11,4,10,3,9,2,6,8,1,5,7]=>11010100100
[4,8,3,7,2,6,10,12,1,5,9,11]=>01010001000
[4,8,12,3,7,11,2,6,10,1,5,9]=>00100100100
[4,3,10,7,9,2,6,8,12,1,5,11]=>10101000100
[4,3,7,9,12,11,2,6,8,10,1,5]=>10001100010
[12,4,11,3,10,7,9,2,6,8,1,5]=>10101010010
[10,9,4,8,3,7,2,6,12,1,5,11]=>11010100100
[12,4,9,3,8,7,11,2,6,10,1,5]=>10101010010
[4,8,12,11,10,3,7,9,2,6,1,5]=>00111001010
[12,11,10,9,4,8,3,7,2,6,1,5]=>11110101010
[3,6,2,5,4,8,10,12,1,7,9,11]=>01010001000
[3,6,12,2,5,11,4,8,10,1,7,9]=>00100100100
[3,6,10,2,5,9,4,8,12,1,7,11]=>00100100100
[3,12,6,2,5,9,11,4,8,10,1,7]=>01100010010
[12,11,3,6,10,2,5,9,4,8,1,7]=>11001001010
[3,5,8,2,4,7,6,10,12,1,9,11]=>00100100100
[3,5,8,12,2,4,7,11,6,10,1,9]=>00010001010
[3,5,7,10,2,4,6,9,8,12,1,11]=>00010001010
[3,5,7,9,12,2,4,6,8,11,10,1]=>00001000011
[12,11,3,5,7,10,2,4,6,9,8,1]=>11000100011
[10,9,3,5,8,2,4,7,6,12,1,11]=>11001001010
[9,8,3,5,7,12,2,4,6,11,10,1]=>11000100011
[3,5,12,11,8,10,2,4,7,9,6,1]=>00110100011
[12,11,10,9,3,5,8,2,4,7,6,1]=>11110010011
[8,7,3,6,2,5,4,10,12,1,9,11]=>11010100100
[8,7,3,6,12,2,5,11,4,10,1,9]=>11001001010
[7,6,3,5,10,2,4,9,8,12,1,11]=>11001001010
[7,6,3,5,9,12,2,4,8,11,10,1]=>11000100011
[7,12,6,11,3,5,10,2,4,9,8,1]=>01010010011
[3,6,10,9,8,2,5,7,4,12,1,11]=>00111001010
[3,9,6,8,5,7,12,2,4,11,10,1]=>01010010011
[3,2,12,6,8,11,10,5,7,9,4,1]=>10100110011
[12,11,3,6,10,9,8,2,5,7,4,1]=>11001110011
[10,9,8,7,3,6,2,5,4,12,1,11]=>11110101010
[9,8,7,6,3,5,12,2,4,11,10,1]=>11110010011
[8,7,3,6,12,11,10,2,5,9,4,1]=>11001110011
[3,12,7,11,10,9,6,8,2,5,4,1]=>01011101011
[12,11,10,9,8,7,3,6,2,5,4,1]=>11111101011
[6,5,4,3,2,8,10,12,1,7,9,11]=>11110001000
[6,5,4,12,3,11,2,8,10,1,7,9]=>11010100100
[6,5,4,10,3,9,2,8,12,1,7,11]=>11010100100
[6,12,5,4,3,9,11,2,8,10,1,7]=>01110010010
[5,4,3,8,2,7,6,10,12,1,9,11]=>11010100100
[5,4,3,8,12,2,7,11,6,10,1,9]=>11001001010
[5,4,3,7,10,2,6,9,8,12,1,11]=>11001001010
[5,4,3,7,9,12,2,6,8,11,10,1]=>11000100011
[5,12,4,11,3,7,10,2,6,9,8,1]=>01010010011
[5,10,4,9,3,8,2,7,6,12,1,11]=>01010101010
[5,9,4,8,3,7,12,2,6,11,10,1]=>01010010011
[12,11,5,4,3,8,10,2,7,9,6,1]=>11110010011
[12,11,5,10,4,9,3,8,2,7,6,1]=>11010101011
[4,8,3,7,6,5,2,10,12,1,9,11]=>01011100100
[4,8,3,7,6,12,5,11,2,10,1,9]=>01010101010
[4,7,3,6,5,10,2,9,8,12,1,11]=>01010101010
[4,7,3,6,5,9,12,2,8,11,10,1]=>01010010011
[4,7,12,3,6,11,5,10,2,9,8,1]=>00100101011
[4,6,10,3,5,9,8,7,2,12,1,11]=>00100111010
[4,6,9,3,5,8,7,12,2,11,10,1]=>00100101011
[4,6,8,12,3,5,7,11,10,9,2,1]=>00010001111
[12,11,4,6,10,3,5,9,8,7,2,1]=>11001001111
[10,9,4,8,3,7,6,5,2,12,1,11]=>11010111010
[9,8,4,7,3,6,5,12,2,11,10,1]=>11010101011
[8,7,4,6,12,3,5,11,10,9,2,1]=>11001001111
[4,7,12,11,10,3,6,9,8,5,2,1]=>00111001111
[12,11,10,9,4,8,3,7,6,5,2,1]=>11110101111
[8,7,6,5,4,3,2,10,12,1,9,11]=>11111100100
[8,7,6,5,4,12,3,11,2,10,1,9]=>11110101010
[7,6,5,4,3,10,2,9,8,12,1,11]=>11110101010
[7,6,5,4,3,9,12,2,8,11,10,1]=>11110010011
[7,6,5,12,4,11,3,10,2,9,8,1]=>11010101011
[6,5,4,10,3,9,8,7,2,12,1,11]=>11010111010
[6,5,4,9,3,8,7,12,2,11,10,1]=>11010101011
[6,5,4,8,12,3,7,11,10,9,2,1]=>11001001111
[6,12,5,11,4,10,3,9,8,7,2,1]=>01010101111
[5,10,4,9,8,7,6,3,2,12,1,11]=>01011111010
[5,9,4,8,7,6,3,12,2,11,10,1]=>01011101011
[5,8,4,7,6,12,3,11,10,9,2,1]=>01010101111
[5,7,12,4,6,11,10,9,8,3,2,1]=>00100111111
[12,11,5,10,4,9,8,7,6,3,2,1]=>11010111111
[10,9,8,7,6,5,4,3,2,12,1,11]=>11111111010
[9,8,7,6,5,4,3,12,2,11,10,1]=>11111101011
[8,7,6,5,4,12,3,11,10,9,2,1]=>11110101111
[7,6,5,12,4,11,10,9,8,3,2,1]=>11010111111
[6,12,5,11,10,9,8,7,4,3,2,1]=>01011111111
[12,10,9,8,7,6,5,4,3,2,1,11]=>11111111110
[11,3,4,5,6,7,8,9,10,1,12,2]=>10000000101
[2,12,4,5,6,7,8,9,10,11,1,3]=>01000000010
[3,1,2,4,5,6,7,8,9,10,11,12]=>10000000000
[2,1,4,3,6,5,8,7,11,12,9,10]=>10101010010
[2,1,4,3,6,5,9,10,7,8,12,11]=>10101001001
[2,1,4,3,6,5,9,11,7,12,8,10]=>10101001010
[2,1,4,3,6,5,10,11,12,7,8,9]=>10101000100
[2,1,4,3,7,8,5,6,10,9,12,11]=>10100100101
[2,1,4,3,7,8,5,6,11,12,9,10]=>10100100010
[2,1,4,3,7,9,5,10,6,8,12,11]=>10100101001
[2,1,4,3,7,9,5,11,6,12,8,10]=>10100101010
[2,1,4,3,7,10,5,11,12,6,8,9]=>10100100100
[2,1,4,3,8,9,10,5,6,7,12,11]=>10100010001
[2,1,4,3,8,9,11,5,6,12,7,10]=>10100010010
[2,1,4,3,8,10,11,5,12,6,7,9]=>10100010100
[2,1,4,3,9,10,11,12,5,6,7,8]=>10100001000
[2,1,5,6,3,4,8,7,10,9,12,11]=>10010010101
[2,1,5,6,3,4,8,7,11,12,9,10]=>10010010010
[2,1,5,6,3,4,9,10,7,8,12,11]=>10010001001
[2,1,5,6,3,4,9,11,7,12,8,10]=>10010001010
[2,1,5,6,3,4,10,11,12,7,8,9]=>10010000100
[2,1,5,7,3,8,4,6,10,9,12,11]=>10010100101
[2,1,5,7,3,8,4,6,11,12,9,10]=>10010100010
[2,1,5,7,3,9,4,10,6,8,12,11]=>10010101001
[2,1,5,7,3,9,4,11,6,12,8,10]=>10010101010
[2,1,5,7,3,10,4,11,12,6,8,9]=>10010100100
[2,1,5,8,3,9,10,4,6,7,12,11]=>10010010001
[2,1,5,8,3,9,11,4,6,12,7,10]=>10010010010
[2,1,5,8,3,10,11,4,12,6,7,9]=>10010010100
[2,1,5,9,3,10,11,12,4,6,7,8]=>10010001000
[2,1,6,7,8,3,4,5,10,9,12,11]=>10001000101
[2,1,6,7,8,3,4,5,11,12,9,10]=>10001000010
[2,1,6,7,9,3,4,10,5,8,12,11]=>10001001001
[2,1,6,7,9,3,4,11,5,12,8,10]=>10001001010
[2,1,6,7,10,3,4,11,12,5,8,9]=>10001000100
[2,1,6,8,9,3,10,4,5,7,12,11]=>10001010001
[2,1,6,8,9,3,11,4,5,12,7,10]=>10001010010
[2,1,6,8,10,3,11,4,12,5,7,9]=>10001010100
[2,1,6,9,10,3,11,12,4,5,7,8]=>10001001000
[2,1,7,8,9,10,3,4,5,6,12,11]=>10000100001
[2,1,7,8,9,11,3,4,5,12,6,10]=>10000100010
[2,1,7,8,10,11,3,4,12,5,6,9]=>10000100100
[2,1,7,9,10,11,3,12,4,5,6,8]=>10000101000
[2,1,8,9,10,11,12,3,4,5,6,7]=>10000010000
[3,4,1,2,6,5,8,7,10,9,12,11]=>01001010101
[3,4,1,2,6,5,8,7,11,12,9,10]=>01001010010
[3,4,1,2,6,5,9,10,7,8,12,11]=>01001001001
[3,4,1,2,6,5,9,11,7,12,8,10]=>01001001010
[3,4,1,2,6,5,10,11,12,7,8,9]=>01001000100
[3,4,1,2,7,8,5,6,10,9,12,11]=>01000100101
[3,4,1,2,7,8,5,6,11,12,9,10]=>01000100010
[3,4,1,2,7,9,5,10,6,8,12,11]=>01000101001
[3,4,1,2,7,9,5,11,6,12,8,10]=>01000101010
[3,4,1,2,7,10,5,11,12,6,8,9]=>01000100100
[3,4,1,2,8,9,10,5,6,7,12,11]=>01000010001
[3,4,1,2,8,9,11,5,6,12,7,10]=>01000010010
[3,4,1,2,8,10,11,5,12,6,7,9]=>01000010100
[3,4,1,2,9,10,11,12,5,6,7,8]=>01000001000
[3,5,1,6,2,4,8,7,10,9,12,11]=>01010010101
[3,5,1,6,2,4,8,7,11,12,9,10]=>01010010010
[3,5,1,6,2,4,9,10,7,8,12,11]=>01010001001
[3,5,1,6,2,4,9,11,7,12,8,10]=>01010001010
[3,5,1,6,2,4,10,11,12,7,8,9]=>01010000100
[3,5,1,7,2,8,4,6,10,9,12,11]=>01010100101
[3,5,1,7,2,8,4,6,11,12,9,10]=>01010100010
[3,5,1,7,2,9,4,10,6,8,12,11]=>01010101001
[3,5,1,7,2,9,4,11,6,12,8,10]=>01010101010
[3,5,1,7,2,10,4,11,12,6,8,9]=>01010100100
[3,5,1,8,2,9,10,4,6,7,12,11]=>01010010001
[3,5,1,8,2,9,11,4,6,12,7,10]=>01010010010
[3,5,1,8,2,10,11,4,12,6,7,9]=>01010010100
[3,5,1,9,2,10,11,12,4,6,7,8]=>01010001000
[3,6,1,7,8,2,4,5,10,9,12,11]=>01001000101
[3,6,1,7,8,2,4,5,11,12,9,10]=>01001000010
[3,6,1,7,9,2,4,10,5,8,12,11]=>01001001001
[3,6,1,7,9,2,4,11,5,12,8,10]=>01001001010
[3,6,1,7,10,2,4,11,12,5,8,9]=>01001000100
[3,6,1,8,9,2,10,4,5,7,12,11]=>01001010001
[3,6,1,8,9,2,11,4,5,12,7,10]=>01001010010
[3,6,1,8,10,2,11,4,12,5,7,9]=>01001010100
[3,6,1,9,10,2,11,12,4,5,7,8]=>01001001000
[3,7,1,8,9,10,2,4,5,6,12,11]=>01000100001
[3,7,1,8,9,11,2,4,5,12,6,10]=>01000100010
[3,7,1,8,10,11,2,4,12,5,6,9]=>01000100100
[3,7,1,9,10,11,2,12,4,5,6,8]=>01000101000
[3,8,1,9,10,11,12,2,4,5,6,7]=>01000010000
[4,5,6,1,2,3,8,7,10,9,12,11]=>00100010101
[4,5,6,1,2,3,8,7,11,12,9,10]=>00100010010
[4,5,6,1,2,3,9,10,7,8,12,11]=>00100001001
[4,5,6,1,2,3,9,11,7,12,8,10]=>00100001010
[4,5,6,1,2,3,10,11,12,7,8,9]=>00100000100
[4,5,7,1,2,8,3,6,10,9,12,11]=>00100100101
[4,5,7,1,2,8,3,6,11,12,9,10]=>00100100010
[4,5,7,1,2,9,3,10,6,8,12,11]=>00100101001
[4,5,7,1,2,9,3,11,6,12,8,10]=>00100101010
[4,5,7,1,2,10,3,11,12,6,8,9]=>00100100100
[4,5,8,1,2,9,10,3,6,7,12,11]=>00100010001
[4,5,8,1,2,9,11,3,6,12,7,10]=>00100010010
[4,5,8,1,2,10,11,3,12,6,7,9]=>00100010100
[4,5,9,1,2,10,11,12,3,6,7,8]=>00100001000
[4,6,7,1,8,2,3,5,10,9,12,11]=>00101000101
[4,6,7,1,8,2,3,5,11,12,9,10]=>00101000010
[4,6,7,1,9,2,3,10,5,8,12,11]=>00101001001
[4,6,7,1,9,2,3,11,5,12,8,10]=>00101001010
[4,6,7,1,10,2,3,11,12,5,8,9]=>00101000100
[4,6,8,1,9,2,10,3,5,7,12,11]=>00101010001
[4,6,8,1,9,2,11,3,5,12,7,10]=>00101010010
[4,6,8,1,10,2,11,3,12,5,7,9]=>00101010100
[4,6,9,1,10,2,11,12,3,5,7,8]=>00101001000
[4,7,8,1,9,10,2,3,5,6,12,11]=>00100100001
[4,7,8,1,9,11,2,3,5,12,6,10]=>00100100010
[4,7,8,1,10,11,2,3,12,5,6,9]=>00100100100
[4,7,9,1,10,11,2,12,3,5,6,8]=>00100101000
[4,8,9,1,10,11,12,2,3,5,6,7]=>00100010000
[5,6,7,8,1,2,3,4,10,9,12,11]=>00010000101
[5,6,7,8,1,2,3,4,11,12,9,10]=>00010000010
[5,6,7,9,1,2,3,10,4,8,12,11]=>00010001001
[5,6,7,9,1,2,3,11,4,12,8,10]=>00010001010
[5,6,7,10,1,2,3,11,12,4,8,9]=>00010000100
[5,6,8,9,1,2,10,3,4,7,12,11]=>00010010001
[5,6,8,9,1,2,11,3,4,12,7,10]=>00010010010
[5,6,8,10,1,2,11,3,12,4,7,9]=>00010010100
[5,6,9,10,1,2,11,12,3,4,7,8]=>00010001000
[5,7,8,9,1,10,2,3,4,6,12,11]=>00010100001
[5,7,8,9,1,11,2,3,4,12,6,10]=>00010100010
[5,7,8,10,1,11,2,3,12,4,6,9]=>00010100100
[5,7,9,10,1,11,2,12,3,4,6,8]=>00010101000
[5,8,9,10,1,11,12,2,3,4,6,7]=>00010010000
[6,7,8,9,10,1,2,3,4,5,12,11]=>00001000001
[6,7,8,9,11,1,2,3,4,12,5,10]=>00001000010
[6,7,8,10,11,1,2,3,12,4,5,9]=>00001000100
[6,7,9,10,11,1,2,12,3,4,5,8]=>00001001000
[6,8,9,10,11,1,12,2,3,4,5,7]=>00001010000
[1,2,3,4,5,6,7,8,9,12,10,11]=>00000000010
[12,1,3,4,5,6,7,8,9,10,11,2]=>10000000001
[3,2,5,4,7,6,9,8,11,10,1,12]=>10101010110
[3,2,5,4,7,6,9,8,1,12,10,11]=>10101011010
[3,2,5,4,7,6,11,10,8,9,1,12]=>10101011010
[3,2,5,4,7,6,1,10,8,12,9,11]=>10101101010
[3,2,5,4,7,6,1,12,11,8,9,10]=>10101101100
[3,2,5,4,9,8,6,7,11,10,1,12]=>10101100110
[3,2,5,4,9,8,6,7,1,12,10,11]=>10101101010
[3,2,5,4,11,8,6,10,7,9,1,12]=>10101101010
[3,2,5,4,1,8,6,10,7,12,9,11]=>10110101010
[3,2,5,4,1,8,6,12,11,7,9,10]=>10110101100
[3,2,5,4,11,10,9,6,7,8,1,12]=>10101110010
[3,2,5,4,1,10,9,6,7,12,8,11]=>10110110010
[3,2,5,4,1,12,9,6,11,7,8,10]=>10110110100
[3,2,5,4,1,12,11,10,6,7,8,9]=>10110111000
[3,2,7,6,4,5,9,8,11,10,1,12]=>10110010110
[3,2,7,6,4,5,9,8,1,12,10,11]=>10110011010
[3,2,7,6,4,5,11,10,8,9,1,12]=>10110011010
[3,2,7,6,4,5,1,10,8,12,9,11]=>10110101010
[3,2,7,6,4,5,1,12,11,8,9,10]=>10110101100
[3,2,9,6,4,8,5,7,11,10,1,12]=>10110100110
[3,2,9,6,4,8,5,7,1,12,10,11]=>10110101010
[3,2,11,6,4,8,5,10,7,9,1,12]=>10110101010
[3,2,1,6,4,8,5,10,7,12,9,11]=>11010101010
[3,2,1,6,4,8,5,12,11,7,9,10]=>11010101100
[3,2,11,6,4,10,9,5,7,8,1,12]=>10110110010
[3,2,1,6,4,10,9,5,7,12,8,11]=>11010110010
[3,2,1,6,4,12,9,5,11,7,8,10]=>11010110100
[3,2,1,6,4,12,11,10,5,7,8,9]=>11010111000
[3,2,9,8,7,4,5,6,11,10,1,12]=>10111000110
[3,2,9,8,7,4,5,6,1,12,10,11]=>10111001010
[3,2,11,8,7,4,5,10,6,9,1,12]=>10111001010
[3,2,1,8,7,4,5,10,6,12,9,11]=>11011001010
[3,2,1,8,7,4,5,12,11,6,9,10]=>11011001100
[3,2,11,10,7,4,9,5,6,8,1,12]=>10111010010
[3,2,1,10,7,4,9,5,6,12,8,11]=>11011010010
[3,2,1,12,7,4,9,5,11,6,8,10]=>11011010100
[3,2,1,12,7,4,11,10,5,6,8,9]=>11011011000
[3,2,11,10,9,8,4,5,6,7,1,12]=>10111100010
[3,2,1,10,9,8,4,5,6,12,7,11]=>11011100010
[3,2,1,12,9,8,4,5,11,6,7,10]=>11011100100
[3,2,1,12,11,8,4,10,5,6,7,9]=>11011101000
[3,2,1,12,11,10,9,4,5,6,7,8]=>11011110000
[5,4,2,3,7,6,9,8,11,10,1,12]=>11001010110
[5,4,2,3,7,6,9,8,1,12,10,11]=>11001011010
[5,4,2,3,7,6,11,10,8,9,1,12]=>11001011010
[5,4,2,3,7,6,1,10,8,12,9,11]=>11001101010
[5,4,2,3,7,6,1,12,11,8,9,10]=>11001101100
[5,4,2,3,9,8,6,7,11,10,1,12]=>11001100110
[5,4,2,3,9,8,6,7,1,12,10,11]=>11001101010
[5,4,2,3,11,8,6,10,7,9,1,12]=>11001101010
[5,4,2,3,1,8,6,10,7,12,9,11]=>11010101010
[5,4,2,3,1,8,6,12,11,7,9,10]=>11010101100
[5,4,2,3,11,10,9,6,7,8,1,12]=>11001110010
[5,4,2,3,1,10,9,6,7,12,8,11]=>11010110010
[5,4,2,3,1,12,9,6,11,7,8,10]=>11010110100
[5,4,2,3,1,12,11,10,6,7,8,9]=>11010111000
[7,4,2,6,3,5,9,8,11,10,1,12]=>11010010110
[7,4,2,6,3,5,9,8,1,12,10,11]=>11010011010
[7,4,2,6,3,5,11,10,8,9,1,12]=>11010011010
[7,4,2,6,3,5,1,10,8,12,9,11]=>11010101010
[7,4,2,6,3,5,1,12,11,8,9,10]=>11010101100
[9,4,2,6,3,8,5,7,11,10,1,12]=>11010100110
[9,4,2,6,3,8,5,7,1,12,10,11]=>11010101010
[11,4,2,6,3,8,5,10,7,9,1,12]=>11010101010
[1,4,2,6,3,8,5,10,7,12,9,11]=>01010101010
[1,4,2,6,3,8,5,12,11,7,9,10]=>01010101100
[11,4,2,6,3,10,9,5,7,8,1,12]=>11010110010
[1,4,2,6,3,10,9,5,7,12,8,11]=>01010110010
[1,4,2,6,3,12,9,5,11,7,8,10]=>01010110100
[1,4,2,6,3,12,11,10,5,7,8,9]=>01010111000
[9,4,2,8,7,3,5,6,11,10,1,12]=>11011000110
[9,4,2,8,7,3,5,6,1,12,10,11]=>11011001010
[11,4,2,8,7,3,5,10,6,9,1,12]=>11011001010
[1,4,2,8,7,3,5,10,6,12,9,11]=>01011001010
[1,4,2,8,7,3,5,12,11,6,9,10]=>01011001100
[11,4,2,10,7,3,9,5,6,8,1,12]=>11011010010
[1,4,2,10,7,3,9,5,6,12,8,11]=>01011010010
[1,4,2,12,7,3,9,5,11,6,8,10]=>01011010100
[1,4,2,12,7,3,11,10,5,6,8,9]=>01011011000
[11,4,2,10,9,8,3,5,6,7,1,12]=>11011100010
[1,4,2,10,9,8,3,5,6,12,7,11]=>01011100010
[1,4,2,12,9,8,3,5,11,6,7,10]=>01011100100
[1,4,2,12,11,8,3,10,5,6,7,9]=>01011101000
[1,4,2,12,11,10,9,3,5,6,7,8]=>01011110000
[7,6,5,2,3,4,9,8,11,10,1,12]=>11100010110
[7,6,5,2,3,4,9,8,1,12,10,11]=>11100011010
[7,6,5,2,3,4,11,10,8,9,1,12]=>11100011010
[7,6,5,2,3,4,1,10,8,12,9,11]=>11100101010
[7,6,5,2,3,4,1,12,11,8,9,10]=>11100101100
[9,6,5,2,3,8,4,7,11,10,1,12]=>11100100110
[9,6,5,2,3,8,4,7,1,12,10,11]=>11100101010
[11,6,5,2,3,8,4,10,7,9,1,12]=>11100101010
[1,6,5,2,3,8,4,10,7,12,9,11]=>01100101010
[1,6,5,2,3,8,4,12,11,7,9,10]=>01100101100
[11,6,5,2,3,10,9,4,7,8,1,12]=>11100110010
[1,6,5,2,3,10,9,4,7,12,8,11]=>01100110010
[1,6,5,2,3,12,9,4,11,7,8,10]=>01100110100
[1,6,5,2,3,12,11,10,4,7,8,9]=>01100111000
[9,8,5,2,7,3,4,6,11,10,1,12]=>11101000110
[9,8,5,2,7,3,4,6,1,12,10,11]=>11101001010
[11,8,5,2,7,3,4,10,6,9,1,12]=>11101001010
[1,8,5,2,7,3,4,10,6,12,9,11]=>01101001010
[1,8,5,2,7,3,4,12,11,6,9,10]=>01101001100
[11,10,5,2,7,3,9,4,6,8,1,12]=>11101010010
[1,10,5,2,7,3,9,4,6,12,8,11]=>01101010010
[1,12,5,2,7,3,9,4,11,6,8,10]=>01101010100
[1,12,5,2,7,3,11,10,4,6,8,9]=>01101011000
[11,10,5,2,9,8,3,4,6,7,1,12]=>11101100010
[1,10,5,2,9,8,3,4,6,12,7,11]=>01101100010
[1,12,5,2,9,8,3,4,11,6,7,10]=>01101100100
[1,12,5,2,11,8,3,10,4,6,7,9]=>01101101000
[1,12,5,2,11,10,9,3,4,6,7,8]=>01101110000
[9,8,7,6,2,3,4,5,11,10,1,12]=>11110000110
[9,8,7,6,2,3,4,5,1,12,10,11]=>11110001010
[11,8,7,6,2,3,4,10,5,9,1,12]=>11110001010
[1,8,7,6,2,3,4,10,5,12,9,11]=>01110001010
[1,8,7,6,2,3,4,12,11,5,9,10]=>01110001100
[11,10,7,6,2,3,9,4,5,8,1,12]=>11110010010
[1,10,7,6,2,3,9,4,5,12,8,11]=>01110010010
[1,12,7,6,2,3,9,4,11,5,8,10]=>01110010100
[1,12,7,6,2,3,11,10,4,5,8,9]=>01110011000
[11,10,9,6,2,8,3,4,5,7,1,12]=>11110100010
[1,10,9,6,2,8,3,4,5,12,7,11]=>01110100010
[1,12,9,6,2,8,3,4,11,5,7,10]=>01110100100
[1,12,11,6,2,8,3,10,4,5,7,9]=>01110101000
[1,12,11,6,2,10,9,3,4,5,7,8]=>01110110000
[11,10,9,8,7,2,3,4,5,6,1,12]=>11111000010
[1,10,9,8,7,2,3,4,5,12,6,11]=>01111000010
[1,12,9,8,7,2,3,4,11,5,6,10]=>01111000100
[1,12,11,8,7,2,3,10,4,5,6,9]=>01111001000
[1,12,11,10,7,2,9,3,4,5,6,8]=>01111010000
[1,12,11,10,9,8,2,3,4,5,6,7]=>01111100000
[3,2,5,4,7,6,9,8,1,12,11,10]=>10101011011
[3,2,5,4,7,6,11,10,9,8,1,12]=>10101011110
[3,2,5,4,7,6,1,10,9,12,11,8]=>10101101011
[3,2,5,4,7,6,1,12,11,10,9,8]=>10101101111
[3,2,5,4,9,8,7,6,11,10,1,12]=>10101110110
[3,2,5,4,9,8,7,6,1,12,11,10]=>10101111011
[3,2,5,4,11,8,7,10,9,6,1,12]=>10101101110
[3,2,5,4,1,8,7,10,9,12,11,6]=>10110101011
[3,2,5,4,1,8,7,12,11,10,9,6]=>10110101111
[3,2,5,4,11,10,9,8,7,6,1,12]=>10101111110
[3,2,5,4,1,10,9,8,7,12,11,6]=>10110111011
[3,2,5,4,1,12,9,8,11,10,7,6]=>10110110111
[3,2,5,4,1,12,11,10,9,8,7,6]=>10110111111
[3,2,7,6,5,4,9,8,11,10,1,12]=>10111010110
[3,2,7,6,5,4,9,8,1,12,11,10]=>10111011011
[3,2,7,6,5,4,11,10,9,8,1,12]=>10111011110
[3,2,7,6,5,4,1,10,9,12,11,8]=>10111101011
[3,2,7,6,5,4,1,12,11,10,9,8]=>10111101111
[3,2,9,6,5,8,7,4,11,10,1,12]=>10110110110
[3,2,9,6,5,8,7,4,1,12,11,10]=>10110111011
[3,2,11,6,5,8,7,10,9,4,1,12]=>10110101110
[3,2,1,6,5,8,7,10,9,12,11,4]=>11010101011
[3,2,1,6,5,8,7,12,11,10,9,4]=>11010101111
[3,2,11,6,5,10,9,8,7,4,1,12]=>10110111110
[3,2,1,6,5,10,9,8,7,12,11,4]=>11010111011
[3,2,1,6,5,12,9,8,11,10,7,4]=>11010110111
[3,2,1,6,5,12,11,10,9,8,7,4]=>11010111111
[3,2,9,8,7,6,5,4,11,10,1,12]=>10111110110
[3,2,9,8,7,6,5,4,1,12,11,10]=>10111111011
[3,2,11,8,7,6,5,10,9,4,1,12]=>10111101110
[3,2,1,8,7,6,5,10,9,12,11,4]=>11011101011
[3,2,1,8,7,6,5,12,11,10,9,4]=>11011101111
[3,2,11,10,7,6,9,8,5,4,1,12]=>10111011110
[3,2,1,10,7,6,9,8,5,12,11,4]=>11011011011
[3,2,1,12,7,6,9,8,11,10,5,4]=>11011010111
[3,2,1,12,7,6,11,10,9,8,5,4]=>11011011111
[3,2,11,10,9,8,7,6,5,4,1,12]=>10111111110
[3,2,1,10,9,8,7,6,5,12,11,4]=>11011111011
[3,2,1,12,9,8,7,6,11,10,5,4]=>11011110111
[3,2,1,12,11,8,7,10,9,6,5,4]=>11011101111
[3,2,1,12,11,10,9,8,7,6,5,4]=>11011111111
[5,4,3,2,7,6,9,8,11,10,1,12]=>11101010110
[5,4,3,2,7,6,9,8,1,12,11,10]=>11101011011
[5,4,3,2,7,6,11,10,9,8,1,12]=>11101011110
[5,4,3,2,7,6,1,10,9,12,11,8]=>11101101011
[5,4,3,2,7,6,1,12,11,10,9,8]=>11101101111
[5,4,3,2,9,8,7,6,11,10,1,12]=>11101110110
[5,4,3,2,9,8,7,6,1,12,11,10]=>11101111011
[5,4,3,2,11,8,7,10,9,6,1,12]=>11101101110
[5,4,3,2,1,8,7,10,9,12,11,6]=>11110101011
[5,4,3,2,1,8,7,12,11,10,9,6]=>11110101111
[5,4,3,2,11,10,9,8,7,6,1,12]=>11101111110
[5,4,3,2,1,10,9,8,7,12,11,6]=>11110111011
[5,4,3,2,1,12,9,8,11,10,7,6]=>11110110111
[5,4,3,2,1,12,11,10,9,8,7,6]=>11110111111
[7,4,3,6,5,2,9,8,11,10,1,12]=>11011010110
[7,4,3,6,5,2,9,8,1,12,11,10]=>11011011011
[7,4,3,6,5,2,11,10,9,8,1,12]=>11011011110
[7,4,3,6,5,2,1,10,9,12,11,8]=>11011101011
[7,4,3,6,5,2,1,12,11,10,9,8]=>11011101111
[9,4,3,6,5,8,7,2,11,10,1,12]=>11010110110
[9,4,3,6,5,8,7,2,1,12,11,10]=>11010111011
[11,4,3,6,5,8,7,10,9,2,1,12]=>11010101110
[1,4,3,6,5,8,7,10,9,12,11,2]=>01010101011
[1,4,3,6,5,8,7,12,11,10,9,2]=>01010101111
[11,4,3,6,5,10,9,8,7,2,1,12]=>11010111110
[1,4,3,6,5,10,9,8,7,12,11,2]=>01010111011
[1,4,3,6,5,12,9,8,11,10,7,2]=>01010110111
[1,4,3,6,5,12,11,10,9,8,7,2]=>01010111111
[9,4,3,8,7,6,5,2,11,10,1,12]=>11011110110
[9,4,3,8,7,6,5,2,1,12,11,10]=>11011111011
[11,4,3,8,7,6,5,10,9,2,1,12]=>11011101110
[1,4,3,8,7,6,5,10,9,12,11,2]=>01011101011
[1,4,3,8,7,6,5,12,11,10,9,2]=>01011101111
[11,4,3,10,7,6,9,8,5,2,1,12]=>11011011110
[1,4,3,10,7,6,9,8,5,12,11,2]=>01011011011
[1,4,3,12,7,6,9,8,11,10,5,2]=>01011010111
[1,4,3,12,7,6,11,10,9,8,5,2]=>01011011111
[11,4,3,10,9,8,7,6,5,2,1,12]=>11011111110
[1,4,3,10,9,8,7,6,5,12,11,2]=>01011111011
[1,4,3,12,9,8,7,6,11,10,5,2]=>01011110111
[1,4,3,12,11,8,7,10,9,6,5,2]=>01011101111
[1,4,3,12,11,10,9,8,7,6,5,2]=>01011111111
[7,6,5,4,3,2,9,8,11,10,1,12]=>11111010110
[7,6,5,4,3,2,9,8,1,12,11,10]=>11111011011
[7,6,5,4,3,2,11,10,9,8,1,12]=>11111011110
[7,6,5,4,3,2,1,10,9,12,11,8]=>11111101011
[7,6,5,4,3,2,1,12,11,10,9,8]=>11111101111
[9,6,5,4,3,8,7,2,11,10,1,12]=>11110110110
[9,6,5,4,3,8,7,2,1,12,11,10]=>11110111011
[11,6,5,4,3,8,7,10,9,2,1,12]=>11110101110
[1,6,5,4,3,8,7,10,9,12,11,2]=>01110101011
[1,6,5,4,3,8,7,12,11,10,9,2]=>01110101111
[11,6,5,4,3,10,9,8,7,2,1,12]=>11110111110
[1,6,5,4,3,10,9,8,7,12,11,2]=>01110111011
[1,6,5,4,3,12,9,8,11,10,7,2]=>01110110111
[1,6,5,4,3,12,11,10,9,8,7,2]=>01110111111
[9,8,5,4,7,6,3,2,11,10,1,12]=>11101110110
[9,8,5,4,7,6,3,2,1,12,11,10]=>11101111011
[11,8,5,4,7,6,3,10,9,2,1,12]=>11101101110
[1,8,5,4,7,6,3,10,9,12,11,2]=>01101101011
[1,8,5,4,7,6,3,12,11,10,9,2]=>01101101111
[11,10,5,4,7,6,9,8,3,2,1,12]=>11101011110
[1,10,5,4,7,6,9,8,3,12,11,2]=>01101011011
[1,12,5,4,7,6,9,8,11,10,3,2]=>01101010111
[1,12,5,4,7,6,11,10,9,8,3,2]=>01101011111
[11,10,5,4,9,8,7,6,3,2,1,12]=>11101111110
[1,10,5,4,9,8,7,6,3,12,11,2]=>01101111011
[1,12,5,4,9,8,7,6,11,10,3,2]=>01101110111
[1,12,5,4,11,8,7,10,9,6,3,2]=>01101101111
[1,12,5,4,11,10,9,8,7,6,3,2]=>01101111111
[9,8,7,6,5,4,3,2,11,10,1,12]=>11111110110
[9,8,7,6,5,4,3,2,1,12,11,10]=>11111111011
[11,8,7,6,5,4,3,10,9,2,1,12]=>11111101110
[1,8,7,6,5,4,3,10,9,12,11,2]=>01111101011
[1,8,7,6,5,4,3,12,11,10,9,2]=>01111101111
[11,10,7,6,5,4,9,8,3,2,1,12]=>11111011110
[1,10,7,6,5,4,9,8,3,12,11,2]=>01111011011
[1,12,7,6,5,4,9,8,11,10,3,2]=>01111010111
[1,12,7,6,5,4,11,10,9,8,3,2]=>01111011111
[11,10,9,6,5,8,7,4,3,2,1,12]=>11110111110
[1,10,9,6,5,8,7,4,3,12,11,2]=>01110111011
[1,12,9,6,5,8,7,4,11,10,3,2]=>01110110111
[1,12,11,6,5,8,7,10,9,4,3,2]=>01110101111
[1,12,11,6,5,10,9,8,7,4,3,2]=>01110111111
[11,10,9,8,7,6,5,4,3,2,1,12]=>11111111110
[1,10,9,8,7,6,5,4,3,12,11,2]=>01111111011
[1,12,9,8,7,6,5,4,11,10,3,2]=>01111110111
[1,12,11,8,7,6,5,10,9,4,3,2]=>01111101111
[1,12,11,10,7,6,9,8,5,4,3,2]=>01111011111
[1,12,11,10,9,8,7,6,5,4,3,2]=>01111111111
[2,3,4,5,6,7,8,9,10,11,12,1]=>00000000001
[1,3,4,5,6,7,8,9,10,11,12,2]=>00000000001
[2,1,4,3,6,5,8,7,10,12,11,9]=>10101010011
[2,1,4,3,6,5,8,10,9,7,12,11]=>10101001101
[2,1,4,3,6,5,10,12,9,11,7,8]=>10101001010
[2,1,4,3,6,5,8,9,12,10,11,7]=>10101000101
[2,1,4,3,6,8,7,5,10,9,12,11]=>10100110101
[2,1,4,3,6,8,7,5,10,12,11,9]=>10100110011
[2,1,4,3,8,10,7,9,5,6,12,11]=>10100101001
[2,1,4,3,10,9,7,12,6,11,5,8]=>10101101010
[2,1,4,3,8,9,7,12,10,6,11,5]=>10100101101
[2,1,4,3,6,7,10,8,9,5,12,11]=>10100010101
[2,1,4,3,10,7,12,8,9,11,5,6]=>10101010010
[2,1,4,3,6,9,12,8,11,10,5,7]=>10100010110
[2,1,4,3,6,7,8,12,9,10,11,5]=>10100001001
[2,1,4,6,5,3,8,7,10,9,12,11]=>10011010101
[2,1,4,6,5,3,8,7,10,12,11,9]=>10011010011
[2,1,4,6,5,3,8,10,9,7,12,11]=>10011001101
[2,1,4,6,5,3,10,12,9,11,7,8]=>10011001010
[2,1,4,6,5,3,8,9,12,10,11,7]=>10011000101
[2,1,6,8,5,7,3,4,10,9,12,11]=>10010100101
[2,1,6,8,5,7,3,4,10,12,11,9]=>10010100011
[2,1,8,7,5,10,4,9,3,6,12,11]=>10110101001
[2,1,10,7,5,9,4,12,6,11,3,8]=>10110101010
[2,1,8,7,5,9,4,12,10,6,11,3]=>10110101101
[2,1,6,7,5,10,8,4,9,3,12,11]=>10010110101
[2,1,10,8,5,7,12,4,9,11,3,6]=>10110010010
[2,1,6,9,5,8,12,3,11,10,4,7]=>10010010110
[2,1,6,7,5,8,12,9,3,10,11,4]=>10010011001
[2,1,4,5,8,6,7,3,10,9,12,11]=>10001010101
[2,1,4,5,8,6,7,3,10,12,11,9]=>10001010011
[2,1,8,5,10,6,7,9,3,4,12,11]=>10101001001
[2,1,10,5,9,6,7,12,4,11,3,8]=>10101001010
[2,1,8,5,9,6,7,12,10,4,11,3]=>10101001101
[2,1,4,7,10,6,9,8,3,5,12,11]=>10001011001
[2,1,10,7,12,6,9,8,4,11,3,5]=>10101011010
[2,1,4,9,12,6,10,8,11,7,3,5]=>10001010110
[2,1,4,7,8,6,12,10,9,5,11,3]=>10001011101
[2,1,4,5,6,10,7,8,9,3,12,11]=>10000100101
[2,1,10,5,6,12,7,8,9,11,3,4]=>10100100010
[2,1,4,9,6,12,7,8,11,10,3,5]=>10010100110
[2,1,4,5,8,12,7,11,9,10,3,6]=>10000101010
[2,1,4,5,6,7,12,8,9,10,11,3]=>10000010001
[2,4,3,1,6,5,8,7,10,9,12,11]=>01101010101
[2,4,3,1,6,5,8,7,10,12,11,9]=>01101010011
[2,4,3,1,6,5,8,10,9,7,12,11]=>01101001101
[2,4,3,1,6,5,10,12,9,11,7,8]=>01101001010
[2,4,3,1,6,5,8,9,12,10,11,7]=>01101000101
[2,4,3,1,6,8,7,5,10,9,12,11]=>01100110101
[2,4,3,1,6,8,7,5,10,12,11,9]=>01100110011
[2,4,3,1,8,10,7,9,5,6,12,11]=>01100101001
[2,4,3,1,10,9,7,12,6,11,5,8]=>01101101010
[2,4,3,1,8,9,7,12,10,6,11,5]=>01100101101
[2,4,3,1,6,7,10,8,9,5,12,11]=>01100010101
[2,4,3,1,10,7,12,8,9,11,5,6]=>01101010010
[2,4,3,1,6,9,12,8,11,10,5,7]=>01100010110
[2,4,3,1,6,7,8,12,9,10,11,5]=>01100001001
[4,6,3,5,1,2,8,7,10,9,12,11]=>01010010101
[4,6,3,5,1,2,8,7,10,12,11,9]=>01010010011
[4,6,3,5,1,2,8,10,9,7,12,11]=>01010001101
[4,6,3,5,1,2,10,12,9,11,7,8]=>01010001010
[4,6,3,5,1,2,8,9,12,10,11,7]=>01010000101
[6,5,3,8,2,7,1,4,10,9,12,11]=>11010100101
[6,5,3,8,2,7,1,4,10,12,11,9]=>11010100011
[8,5,3,7,2,10,4,9,1,6,12,11]=>11010101001
[10,5,3,7,2,9,4,12,6,11,1,8]=>11010101010
[8,5,3,7,2,9,4,12,10,6,11,1]=>11010101101
[6,5,3,7,2,10,8,4,9,1,12,11]=>11010110101
[10,5,3,8,2,7,12,4,9,11,1,6]=>11010010010
[6,5,3,9,2,8,12,1,11,10,4,7]=>11010010110
[6,5,3,7,2,8,12,9,1,10,11,4]=>11010011001
[4,5,3,8,6,2,7,1,10,9,12,11]=>01011010101
[4,5,3,8,6,2,7,1,10,12,11,9]=>01011010011
[8,6,3,5,10,2,7,9,1,4,12,11]=>11001001001
[10,6,3,5,9,2,7,12,4,11,1,8]=>11001001010
[8,6,3,5,9,2,7,12,10,4,11,1]=>11001001101
[4,7,3,6,10,1,9,8,2,5,12,11]=>01001011001
[10,6,3,7,12,2,9,8,4,11,1,5]=>11001011010
[4,9,3,6,12,1,10,8,11,7,2,5]=>01001010110
[4,7,3,6,8,1,12,10,9,5,11,2]=>01001011101
[4,5,3,6,10,7,1,8,9,2,12,11]=>01001100101
[10,7,3,5,6,12,2,8,9,11,1,4]=>11000100010
[4,9,3,7,6,12,1,8,11,10,2,5]=>01010100110
[4,5,3,8,7,12,2,11,9,10,1,6]=>01010101010
[4,5,3,6,7,12,8,2,9,10,11,1]=>01000110001
[2,3,6,4,5,1,8,7,10,9,12,11]=>00101010101
[2,3,6,4,5,1,8,7,10,12,11,9]=>00101010011
[2,3,6,4,5,1,8,10,9,7,12,11]=>00101001101
[2,3,6,4,5,1,10,12,9,11,7,8]=>00101001010
[2,3,6,4,5,1,8,9,12,10,11,7]=>00101000101
[6,3,8,4,5,7,1,2,10,9,12,11]=>10100100101
[6,3,8,4,5,7,1,2,10,12,11,9]=>10100100011
[8,3,7,4,5,10,2,9,1,6,12,11]=>10100101001
[10,3,7,4,5,9,2,12,6,11,1,8]=>10100101010
[8,3,7,4,5,9,2,12,10,6,11,1]=>10100101101
[6,3,7,4,5,10,8,2,9,1,12,11]=>10100110101
[10,3,8,4,5,7,12,2,9,11,1,6]=>10100010010
[6,3,9,4,5,8,12,1,11,10,2,7]=>10100010110
[6,3,7,4,5,8,12,9,1,10,11,2]=>10100011001
[2,5,8,4,7,6,1,3,10,9,12,11]=>00101100101
[2,5,8,4,7,6,1,3,10,12,11,9]=>00101100011
[8,5,10,4,7,6,2,9,1,3,12,11]=>10101101001
[10,5,9,4,7,6,2,12,3,11,1,8]=>10101101010
[8,5,9,4,7,6,2,12,10,3,11,1]=>10101101101
[2,7,10,4,8,6,9,5,1,3,12,11]=>00101011001
[10,7,12,4,8,6,9,5,2,11,1,3]=>10101011010
[2,9,8,4,12,6,10,3,11,7,1,5]=>01101010110
[2,7,8,4,12,6,9,10,1,3,11,5]=>00101001001
[2,5,6,4,10,8,7,3,9,1,12,11]=>00101110101
[10,5,6,4,12,8,7,3,9,11,1,2]=>10101110010
[2,9,8,4,6,12,7,3,11,10,1,5]=>01100110110
[2,5,8,4,12,9,7,11,6,10,3,1]=>00101101011
[2,5,6,4,7,12,9,8,1,10,11,3]=>00100111001
[2,3,4,8,5,6,7,1,10,9,12,11]=>00010010101
[2,3,4,8,5,6,7,1,10,12,11,9]=>00010010011
[8,3,4,10,5,6,7,9,1,2,12,11]=>10010001001
[10,3,4,9,5,6,7,12,2,11,1,8]=>10010001010
[8,3,4,9,5,6,7,12,10,2,11,1]=>10010001101
[2,7,4,10,5,6,9,8,1,3,12,11]=>01010011001
[10,7,4,12,5,6,9,8,2,11,1,3]=>11010011010
[2,9,4,12,5,6,10,8,11,7,1,3]=>01010010110
[2,7,4,8,5,6,12,10,9,3,11,1]=>01010011101
[2,3,6,10,5,9,7,8,1,4,12,11]=>00010101001
[10,3,6,12,5,9,7,8,2,11,1,4]=>10010101010
[2,9,6,12,5,11,7,8,10,1,3,4]=>01010100100
[2,3,8,12,5,10,7,11,9,6,1,4]=>00010101110
[2,3,6,7,5,12,10,8,9,4,11,1]=>00010110101
[2,3,4,5,10,6,7,8,9,1,12,11]=>00001000101
[10,3,4,5,12,6,7,8,9,11,1,2]=>10001000010
[2,9,4,5,12,6,7,8,11,10,1,3]=>01001000110
[2,3,8,5,12,6,7,11,9,10,1,4]=>00101001010
[2,3,4,7,12,6,11,8,9,10,1,5]=>00001010010
[2,3,4,5,6,12,7,8,9,10,11,1]=>00000100001
[2,1,4,3,6,5,8,7,10,11,12,9]=>10101010001
[2,1,4,3,6,5,8,9,10,7,12,11]=>10101000101
[2,1,4,3,6,5,10,9,11,12,7,8]=>10101010010
[2,1,4,3,6,5,8,9,10,11,12,7]=>10101000001
[2,1,4,3,6,7,8,5,10,9,12,11]=>10100010101
[2,1,4,3,6,7,8,5,10,11,12,9]=>10100010001
[2,1,4,3,8,7,9,10,5,6,12,11]=>10101001001
[2,1,4,3,10,7,11,9,5,12,8,6]=>10101011011
[2,1,4,3,8,7,9,10,11,12,5,6]=>10101000010
[2,1,4,3,6,7,8,9,10,5,12,11]=>10100000101
[2,1,4,3,10,7,8,9,11,12,5,6]=>10101000010
[2,1,4,3,6,9,8,10,11,5,12,7]=>10100100101
[2,1,4,3,6,7,8,9,10,11,12,5]=>10100000001
[2,1,4,5,6,3,8,7,10,9,12,11]=>10001010101
[2,1,4,5,6,3,8,7,10,11,12,9]=>10001010001
[2,1,4,5,6,3,8,9,10,7,12,11]=>10001000101
[2,1,4,5,6,3,10,9,11,12,7,8]=>10001010010
[2,1,4,5,6,3,8,9,10,11,12,7]=>10001000001
[2,1,6,5,7,8,3,4,10,9,12,11]=>10100100101
[2,1,6,5,7,8,3,4,10,11,12,9]=>10100100001
[2,1,8,5,9,7,3,10,6,4,12,11]=>10101101101
[2,1,10,5,11,7,3,9,6,12,8,4]=>10101101011
[2,1,8,5,9,7,3,10,11,12,6,4]=>10101100011
[2,1,6,5,7,8,9,10,3,4,12,11]=>10100001001
[2,1,10,5,11,7,8,9,3,12,6,4]=>10101001011
[2,1,6,5,9,10,8,12,11,4,7,3]=>10100101101
[2,1,6,5,7,8,9,10,11,12,3,4]=>10100000010
[2,1,4,5,6,7,8,3,10,9,12,11]=>10000010101
[2,1,4,5,6,7,8,3,10,11,12,9]=>10000010001
[2,1,8,5,6,7,9,10,3,4,12,11]=>10100001001
[2,1,10,5,6,7,11,9,3,12,8,4]=>10100011011
[2,1,8,5,6,7,9,10,11,12,3,4]=>10100000010
[2,1,4,7,6,8,9,3,10,5,12,11]=>10010010101
[2,1,10,7,6,8,9,3,11,12,5,4]=>10110010011
[2,1,4,9,6,10,8,3,11,7,12,5]=>10010110101
[2,1,4,7,6,8,9,10,11,3,12,5]=>10010000101
[2,1,4,5,6,7,8,9,10,3,12,11]=>10000000101
[2,1,10,5,6,7,8,9,11,12,3,4]=>10100000010
[2,1,4,9,6,7,8,10,11,3,12,5]=>10010000101
[2,1,4,5,8,7,9,10,3,11,12,6]=>10001001001
[2,1,4,5,6,7,8,9,10,11,12,3]=>10000000001
[2,3,4,1,6,5,8,7,10,9,12,11]=>00101010101
[2,3,4,1,6,5,8,7,10,11,12,9]=>00101010001
[2,3,4,1,6,5,8,9,10,7,12,11]=>00101000101
[2,3,4,1,6,5,10,9,11,12,7,8]=>00101010010
[2,3,4,1,6,5,8,9,10,11,12,7]=>00101000001
[2,3,4,1,6,7,8,5,10,9,12,11]=>00100010101
[2,3,4,1,6,7,8,5,10,11,12,9]=>00100010001
[2,3,4,1,8,7,9,10,5,6,12,11]=>00101001001
[2,3,4,1,10,7,11,9,5,12,8,6]=>00101011011
[2,3,4,1,8,7,9,10,11,12,5,6]=>00101000010
[2,3,4,1,6,7,8,9,10,5,12,11]=>00100000101
[2,3,4,1,10,7,8,9,11,12,5,6]=>00101000010
[2,3,4,1,6,9,8,10,11,5,12,7]=>00100100101
[2,3,4,1,6,7,8,9,10,11,12,5]=>00100000001
[4,3,5,6,1,2,8,7,10,9,12,11]=>10010010101
[4,3,5,6,1,2,8,7,10,11,12,9]=>10010010001
[4,3,5,6,1,2,8,9,10,7,12,11]=>10010000101
[4,3,5,6,1,2,10,9,11,12,7,8]=>10010010010
[4,3,5,6,1,2,8,9,10,11,12,7]=>10010000001
[6,3,7,5,1,8,4,2,10,9,12,11]=>10110110101
[6,3,7,5,1,8,4,2,10,11,12,9]=>10110110001
[8,3,9,5,1,7,4,10,6,2,12,11]=>10110101101
[10,3,11,5,1,7,4,9,6,12,8,2]=>10110101011
[8,3,9,5,1,7,4,10,11,12,6,2]=>10110100011
[6,3,7,5,1,8,9,10,4,2,12,11]=>10110001101
[10,3,11,5,1,7,8,9,4,12,6,2]=>10110001011
[6,3,9,5,2,10,8,12,11,4,7,1]=>10110101101
[6,3,7,5,1,8,9,10,11,12,4,2]=>10110000011
[4,3,5,6,7,8,1,2,10,9,12,11]=>10000100101
[4,3,5,6,7,8,1,2,10,11,12,9]=>10000100001
[8,3,9,5,6,7,1,10,4,2,12,11]=>10100101101
[10,3,11,5,6,7,1,9,4,12,8,2]=>10100101011
[8,3,9,5,6,7,1,10,11,12,4,2]=>10100100011
[4,3,7,8,6,10,9,2,5,1,12,11]=>10010110101
[10,3,11,7,6,8,9,4,1,12,5,2]=>10110011011
[4,3,9,10,6,12,8,2,11,7,5,1]=>10010110111
[4,3,7,8,6,9,10,12,11,5,1,2]=>10010001110
[4,3,5,6,7,8,9,10,1,2,12,11]=>10000001001
[10,3,11,5,6,7,8,9,1,12,4,2]=>10100001011
[4,3,9,10,6,7,8,12,11,2,5,1]=>10010001101
[4,3,5,8,9,7,12,10,1,11,6,2]=>10001011011
[4,3,5,6,7,8,9,10,11,12,1,2]=>10000000010
[2,3,4,5,6,1,8,7,10,9,12,11]=>00001010101
[2,3,4,5,6,1,8,7,10,11,12,9]=>00001010001
[2,3,4,5,6,1,8,9,10,7,12,11]=>00001000101
[2,3,4,5,6,1,10,9,11,12,7,8]=>00001010010
[2,3,4,5,6,1,8,9,10,11,12,7]=>00001000001
[6,3,4,5,7,8,1,2,10,9,12,11]=>10000100101
[6,3,4,5,7,8,1,2,10,11,12,9]=>10000100001
[8,3,4,5,9,7,1,10,6,2,12,11]=>10001101101
[10,3,4,5,11,7,1,9,6,12,8,2]=>10001101011
[8,3,4,5,9,7,1,10,11,12,6,2]=>10001100011
[6,3,4,5,7,8,9,10,1,2,12,11]=>10000001001
[10,3,4,5,11,7,8,9,1,12,6,2]=>10001001011
[6,3,4,5,9,10,8,12,11,2,7,1]=>10000101101
[6,3,4,5,7,8,9,10,11,12,1,2]=>10000000010
[2,5,4,6,7,1,8,3,10,9,12,11]=>01001010101
[2,5,4,6,7,1,8,3,10,11,12,9]=>01001010001
[8,5,4,6,7,1,9,10,3,2,12,11]=>11001001101
[10,5,4,6,7,1,11,9,3,12,8,2]=>11001011011
[8,5,4,6,7,1,9,10,11,12,3,2]=>11001000011
[2,7,4,8,6,1,9,5,10,3,12,11]=>01011010101
[10,7,4,8,6,1,9,5,11,12,3,2]=>11011010011
[2,9,4,10,6,1,8,5,11,7,12,3]=>01011010101
[2,7,4,8,6,1,9,10,11,5,12,3]=>01011000101
[2,5,4,6,7,8,9,1,10,3,12,11]=>01000010101
[10,5,4,6,7,8,9,1,11,12,3,2]=>11000010011
[2,9,4,10,6,7,8,1,11,5,12,3]=>01010010101
[2,5,4,8,9,7,11,10,3,6,12,1]=>01001011001
[2,5,4,6,7,8,9,10,11,1,12,3]=>01000000101
[2,3,4,5,6,7,8,1,10,9,12,11]=>00000010101
[2,3,4,5,6,7,8,1,10,11,12,9]=>00000010001
[8,3,4,5,6,7,9,10,1,2,12,11]=>10000001001
[10,3,4,5,6,7,11,9,1,12,8,2]=>10000011011
[8,3,4,5,6,7,9,10,11,12,1,2]=>10000000010
[2,7,4,5,6,8,9,1,10,3,12,11]=>01000010101
[10,7,4,5,6,8,9,1,11,12,3,2]=>11000010011
[2,9,4,5,6,10,8,1,11,7,12,3]=>01000110101
[2,7,4,5,6,8,9,10,11,1,12,3]=>01000000101
[2,3,6,5,7,8,1,9,10,4,12,11]=>00100100101
[10,3,6,5,7,8,1,9,11,12,4,2]=>10100100011
[2,9,6,5,7,8,1,10,11,4,12,3]=>01100100101
[2,3,8,5,9,7,1,10,6,11,12,4]=>00101101001
[2,3,6,5,7,8,9,10,1,11,12,4]=>00100001001
[2,3,4,5,6,7,8,9,10,1,12,11]=>00000000101
[10,3,4,5,6,7,8,9,11,12,1,2]=>10000000010
[2,9,4,5,6,7,8,10,11,1,12,3]=>01000000101
[2,3,8,5,6,7,9,10,1,11,12,4]=>00100001001
[2,3,4,7,6,8,9,1,10,11,12,5]=>00010010001
[1,4,3,6,5,8,7,12,11,9,10,2]=>01010101101
[1,4,3,6,5,10,9,7,8,12,11,2]=>01010110011
[1,4,3,6,5,12,9,7,11,8,10,2]=>01010110101
[1,4,3,6,5,12,11,10,7,8,9,2]=>01010111001
[1,4,3,8,7,5,6,10,9,12,11,2]=>01011001011
[1,4,3,8,7,5,6,12,11,9,10,2]=>01011001101
[1,4,3,10,7,5,9,6,8,12,11,2]=>01011010011
[1,4,3,12,7,5,9,6,11,8,10,2]=>01011010101
[1,4,3,12,7,5,11,10,6,8,9,2]=>01011011001
[1,4,3,10,9,8,5,6,7,12,11,2]=>01011100011
[1,4,3,12,9,8,5,6,11,7,10,2]=>01011100101
[1,4,3,12,11,8,5,10,6,7,9,2]=>01011101001
[1,4,3,12,11,10,9,5,6,7,8,2]=>01011110001
[1,6,5,3,4,8,7,10,9,12,11,2]=>01100101011
[1,6,5,3,4,8,7,12,11,9,10,2]=>01100101101
[1,6,5,3,4,10,9,7,8,12,11,2]=>01100110011
[1,6,5,3,4,12,9,7,11,8,10,2]=>01100110101
[1,6,5,3,4,12,11,10,7,8,9,2]=>01100111001
[1,8,5,3,7,4,6,10,9,12,11,2]=>01101001011
[1,8,5,3,7,4,6,12,11,9,10,2]=>01101001101
[1,10,5,3,7,4,9,6,8,12,11,2]=>01101010011
[1,12,5,3,7,4,9,6,11,8,10,2]=>01101010101
[1,12,5,3,7,4,11,10,6,8,9,2]=>01101011001
[1,10,5,3,9,8,4,6,7,12,11,2]=>01101100011
[1,12,5,3,9,8,4,6,11,7,10,2]=>01101100101
[1,12,5,3,11,8,4,10,6,7,9,2]=>01101101001
[1,12,5,3,11,10,9,4,6,7,8,2]=>01101110001
[1,8,7,6,3,4,5,10,9,12,11,2]=>01110001011
[1,8,7,6,3,4,5,12,11,9,10,2]=>01110001101
[1,10,7,6,3,4,9,5,8,12,11,2]=>01110010011
[1,12,7,6,3,4,9,5,11,8,10,2]=>01110010101
[1,12,7,6,3,4,11,10,5,8,9,2]=>01110011001
[1,10,9,6,3,8,4,5,7,12,11,2]=>01110100011
[1,12,9,6,3,8,4,5,11,7,10,2]=>01110100101
[1,12,11,6,3,8,4,10,5,7,9,2]=>01110101001
[1,12,11,6,3,10,9,4,5,7,8,2]=>01110110001
[1,10,9,8,7,3,4,5,6,12,11,2]=>01111000011
[1,12,9,8,7,3,4,5,11,6,10,2]=>01111000101
[1,12,11,8,7,3,4,10,5,6,9,2]=>01111001001
[1,12,11,10,7,3,9,4,5,6,8,2]=>01111010001
[1,12,11,10,9,8,3,4,5,6,7,2]=>01111100001
[3,1,2,6,5,8,7,10,9,12,11,4]=>10010101011
[3,1,2,6,5,8,7,12,11,9,10,4]=>10010101101
[3,1,2,6,5,10,9,7,8,12,11,4]=>10010110011
[3,1,2,6,5,12,9,7,11,8,10,4]=>10010110101
[3,1,2,6,5,12,11,10,7,8,9,4]=>10010111001
[3,1,2,8,7,5,6,10,9,12,11,4]=>10011001011
[3,1,2,8,7,5,6,12,11,9,10,4]=>10011001101
[3,1,2,10,7,5,9,6,8,12,11,4]=>10011010011
[3,1,2,12,7,5,9,6,11,8,10,4]=>10011010101
[3,1,2,12,7,5,11,10,6,8,9,4]=>10011011001
[3,1,2,10,9,8,5,6,7,12,11,4]=>10011100011
[3,1,2,12,9,8,5,6,11,7,10,4]=>10011100101
[3,1,2,12,11,8,5,10,6,7,9,4]=>10011101001
[3,1,2,12,11,10,9,5,6,7,8,4]=>10011110001
[3,1,5,2,4,8,7,10,9,12,11,6]=>10100101011
[3,1,5,2,4,8,7,12,11,9,10,6]=>10100101101
[3,1,5,2,4,10,9,7,8,12,11,6]=>10100110011
[3,1,5,2,4,12,9,7,11,8,10,6]=>10100110101
[3,1,5,2,4,12,11,10,7,8,9,6]=>10100111001
[3,1,5,2,7,4,6,10,9,12,11,8]=>10101001011
[3,1,5,2,7,4,6,12,11,9,10,8]=>10101001101
[3,1,5,2,7,4,9,6,8,12,11,10]=>10101010011
[3,1,5,2,7,4,9,6,11,8,10,12]=>10101010100
[3,1,5,2,7,4,11,10,6,8,9,12]=>10101011000
[3,1,5,2,9,8,4,6,7,12,11,10]=>10101100011
[3,1,5,2,9,8,4,6,11,7,10,12]=>10101100100
[3,1,5,2,11,8,4,10,6,7,9,12]=>10101101000
[3,1,5,2,11,10,9,4,6,7,8,12]=>10101110000
[3,1,7,6,2,4,5,10,9,12,11,8]=>10110001011
[3,1,7,6,2,4,5,12,11,9,10,8]=>10110001101
[3,1,7,6,2,4,9,5,8,12,11,10]=>10110010011
[3,1,7,6,2,4,9,5,11,8,10,12]=>10110010100
[3,1,7,6,2,4,11,10,5,8,9,12]=>10110011000
[3,1,9,6,2,8,4,5,7,12,11,10]=>10110100011
[3,1,9,6,2,8,4,5,11,7,10,12]=>10110100100
[3,1,11,6,2,8,4,10,5,7,9,12]=>10110101000
[3,1,11,6,2,10,9,4,5,7,8,12]=>10110110000
[3,1,9,8,7,2,4,5,6,12,11,10]=>10111000011
[3,1,9,8,7,2,4,5,11,6,10,12]=>10111000100
[3,1,11,8,7,2,4,10,5,6,9,12]=>10111001000
[3,1,11,10,7,2,9,4,5,6,8,12]=>10111010000
[3,1,11,10,9,8,2,4,5,6,7,12]=>10111100000
[5,4,1,2,3,8,7,10,9,12,11,6]=>11000101011
[5,4,1,2,3,8,7,12,11,9,10,6]=>11000101101
[5,4,1,2,3,10,9,7,8,12,11,6]=>11000110011
[5,4,1,2,3,12,9,7,11,8,10,6]=>11000110101
[5,4,1,2,3,12,11,10,7,8,9,6]=>11000111001
[5,4,1,2,7,3,6,10,9,12,11,8]=>11001001011
[5,4,1,2,7,3,6,12,11,9,10,8]=>11001001101
[5,4,1,2,7,3,9,6,8,12,11,10]=>11001010011
[5,4,1,2,7,3,9,6,11,8,10,12]=>11001010100
[5,4,1,2,7,3,11,10,6,8,9,12]=>11001011000
[5,4,1,2,9,8,3,6,7,12,11,10]=>11001100011
[5,4,1,2,9,8,3,6,11,7,10,12]=>11001100100
[5,4,1,2,11,8,3,10,6,7,9,12]=>11001101000
[5,4,1,2,11,10,9,3,6,7,8,12]=>11001110000
[7,4,1,6,2,3,5,10,9,12,11,8]=>11010001011
[7,4,1,6,2,3,5,12,11,9,10,8]=>11010001101
[7,4,1,6,2,3,9,5,8,12,11,10]=>11010010011
[7,4,1,6,2,3,9,5,11,8,10,12]=>11010010100
[7,4,1,6,2,3,11,10,5,8,9,12]=>11010011000
[9,4,1,6,2,8,3,5,7,12,11,10]=>11010100011
[9,4,1,6,2,8,3,5,11,7,10,12]=>11010100100
[11,4,1,6,2,8,3,10,5,7,9,12]=>11010101000
[11,4,1,6,2,10,9,3,5,7,8,12]=>11010110000
[9,4,1,8,7,2,3,5,6,12,11,10]=>11011000011
[9,4,1,8,7,2,3,5,11,6,10,12]=>11011000100
[11,4,1,8,7,2,3,10,5,6,9,12]=>11011001000
[11,4,1,10,7,2,9,3,5,6,8,12]=>11011010000
[11,4,1,10,9,8,2,3,5,6,7,12]=>11011100000
[7,6,5,1,2,3,4,10,9,12,11,8]=>11100001011
[7,6,5,1,2,3,4,12,11,9,10,8]=>11100001101
[7,6,5,1,2,3,9,4,8,12,11,10]=>11100010011
[7,6,5,1,2,3,9,4,11,8,10,12]=>11100010100
[7,6,5,1,2,3,11,10,4,8,9,12]=>11100011000
[9,6,5,1,2,8,3,4,7,12,11,10]=>11100100011
[9,6,5,1,2,8,3,4,11,7,10,12]=>11100100100
[11,6,5,1,2,8,3,10,4,7,9,12]=>11100101000
[11,6,5,1,2,10,9,3,4,7,8,12]=>11100110000
[9,8,5,1,7,2,3,4,6,12,11,10]=>11101000011
[9,8,5,1,7,2,3,4,11,6,10,12]=>11101000100
[11,8,5,1,7,2,3,10,4,6,9,12]=>11101001000
[11,10,5,1,7,2,9,3,4,6,8,12]=>11101010000
[11,10,5,1,9,8,2,3,4,6,7,12]=>11101100000
[9,8,7,6,1,2,3,4,5,12,11,10]=>11110000011
[9,8,7,6,1,2,3,4,11,5,10,12]=>11110000100
[11,8,7,6,1,2,3,10,4,5,9,12]=>11110001000
[11,10,7,6,1,2,9,3,4,5,8,12]=>11110010000
[11,10,9,6,1,8,2,3,4,5,7,12]=>11110100000
[11,10,9,8,7,1,2,3,4,5,6,12]=>11111000000
[2,4,3,6,5,8,7,10,9,12,11,1]=>01010101011
[12,2,3,4,5,6,7,8,9,10,1,11]=>10000000010
[3,12,1,4,5,6,7,8,9,10,11,2]=>01000000001
[12,3,4,5,6,7,8,9,10,11,1,2]=>10000000010
[3,2,5,4,7,6,9,8,11,10,12,1]=>10101010101
[2,1,4,3,6,5,8,7,11,9,12,10]=>10101010101
[2,1,4,3,6,5,9,7,10,8,12,11]=>10101010101
[2,1,4,3,6,5,9,7,11,8,12,10]=>10101010101
[2,1,4,3,6,5,10,7,11,8,12,9]=>10101010101
[2,1,4,3,7,5,8,6,10,9,12,11]=>10101010101
[2,1,4,3,7,5,8,6,11,9,12,10]=>10101010101
[2,1,4,3,7,5,9,6,10,8,12,11]=>10101010101
[2,1,4,3,7,5,9,6,11,8,12,10]=>10101010101
[2,1,4,3,7,5,10,6,11,8,12,9]=>10101010101
[2,1,4,3,8,5,9,6,10,7,12,11]=>10101010101
[2,1,4,3,8,5,9,6,11,7,12,10]=>10101010101
[2,1,4,3,8,5,10,6,11,7,12,9]=>10101010101
[2,1,4,3,9,5,10,6,11,7,12,8]=>10101010101
[2,1,5,3,6,4,8,7,10,9,12,11]=>10101010101
[2,1,5,3,6,4,8,7,11,9,12,10]=>10101010101
[2,1,5,3,6,4,9,7,10,8,12,11]=>10101010101
[2,1,5,3,6,4,9,7,11,8,12,10]=>10101010101
[2,1,5,3,6,4,10,7,11,8,12,9]=>10101010101
[2,1,5,3,7,4,8,6,10,9,12,11]=>10101010101
[2,1,5,3,7,4,8,6,11,9,12,10]=>10101010101
[2,1,5,3,7,4,9,6,10,8,12,11]=>10101010101
[2,1,5,3,7,4,9,6,11,8,12,10]=>10101010101
[2,1,5,3,7,4,10,6,11,8,12,9]=>10101010101
[2,1,5,3,8,4,9,6,10,7,12,11]=>10101010101
[2,1,5,3,8,4,9,6,11,7,12,10]=>10101010101
[2,1,5,3,8,4,10,6,11,7,12,9]=>10101010101
[2,1,5,3,9,4,10,6,11,7,12,8]=>10101010101
[2,1,6,3,7,4,8,5,10,9,12,11]=>10101010101
[2,1,6,3,7,4,8,5,11,9,12,10]=>10101010101
[2,1,6,3,7,4,9,5,10,8,12,11]=>10101010101
[2,1,6,3,7,4,9,5,11,8,12,10]=>10101010101
[2,1,6,3,7,4,10,5,11,8,12,9]=>10101010101
[2,1,6,3,8,4,9,5,10,7,12,11]=>10101010101
[2,1,6,3,8,4,9,5,11,7,12,10]=>10101010101
[2,1,6,3,8,4,10,5,11,7,12,9]=>10101010101
[2,1,6,3,9,4,10,5,11,7,12,8]=>10101010101
[2,1,7,3,8,4,9,5,10,6,12,11]=>10101010101
[2,1,7,3,8,4,9,5,11,6,12,10]=>10101010101
[2,1,7,3,8,4,10,5,11,6,12,9]=>10101010101
[2,1,7,3,9,4,10,5,11,6,12,8]=>10101010101
[2,1,8,3,9,4,10,5,11,6,12,7]=>10101010101
[3,1,4,2,6,5,8,7,10,9,12,11]=>10101010101
[3,1,4,2,6,5,8,7,11,9,12,10]=>10101010101
[3,1,4,2,6,5,9,7,10,8,12,11]=>10101010101
[3,1,4,2,6,5,9,7,11,8,12,10]=>10101010101
[3,1,4,2,6,5,10,7,11,8,12,9]=>10101010101
[3,1,4,2,7,5,8,6,10,9,12,11]=>10101010101
[3,1,4,2,7,5,8,6,11,9,12,10]=>10101010101
[3,1,4,2,7,5,9,6,10,8,12,11]=>10101010101
[3,1,4,2,7,5,9,6,11,8,12,10]=>10101010101
[3,1,4,2,7,5,10,6,11,8,12,9]=>10101010101
[3,1,4,2,8,5,9,6,10,7,12,11]=>10101010101
[3,1,4,2,8,5,9,6,11,7,12,10]=>10101010101
[3,1,4,2,8,5,10,6,11,7,12,9]=>10101010101
[3,1,4,2,9,5,10,6,11,7,12,8]=>10101010101
[3,1,5,2,6,4,8,7,10,9,12,11]=>10101010101
[3,1,5,2,6,4,8,7,11,9,12,10]=>10101010101
[3,1,5,2,6,4,9,7,10,8,12,11]=>10101010101
[3,1,5,2,6,4,9,7,11,8,12,10]=>10101010101
[3,1,5,2,6,4,10,7,11,8,12,9]=>10101010101
[3,1,5,2,7,4,8,6,10,9,12,11]=>10101010101
[3,1,5,2,7,4,8,6,11,9,12,10]=>10101010101
[3,1,5,2,7,4,9,6,10,8,12,11]=>10101010101
[3,1,5,2,7,4,9,6,11,8,12,10]=>10101010101
[3,1,5,2,7,4,10,6,11,8,12,9]=>10101010101
[3,1,5,2,8,4,9,6,10,7,12,11]=>10101010101
[3,1,5,2,8,4,9,6,11,7,12,10]=>10101010101
[3,1,5,2,8,4,10,6,11,7,12,9]=>10101010101
[3,1,5,2,9,4,10,6,11,7,12,8]=>10101010101
[3,1,6,2,7,4,8,5,10,9,12,11]=>10101010101
[3,1,6,2,7,4,8,5,11,9,12,10]=>10101010101
[3,1,6,2,7,4,9,5,10,8,12,11]=>10101010101
[3,1,6,2,7,4,9,5,11,8,12,10]=>10101010101
[3,1,6,2,7,4,10,5,11,8,12,9]=>10101010101
[3,1,6,2,8,4,9,5,10,7,12,11]=>10101010101
[3,1,6,2,8,4,9,5,11,7,12,10]=>10101010101
[3,1,6,2,8,4,10,5,11,7,12,9]=>10101010101
[3,1,6,2,9,4,10,5,11,7,12,8]=>10101010101
[3,1,7,2,8,4,9,5,10,6,12,11]=>10101010101
[3,1,7,2,8,4,9,5,11,6,12,10]=>10101010101
[3,1,7,2,8,4,10,5,11,6,12,9]=>10101010101
[3,1,7,2,9,4,10,5,11,6,12,8]=>10101010101
[3,1,8,2,9,4,10,5,11,6,12,7]=>10101010101
[4,1,5,2,6,3,8,7,10,9,12,11]=>10101010101
[4,1,5,2,6,3,8,7,11,9,12,10]=>10101010101
[4,1,5,2,6,3,9,7,10,8,12,11]=>10101010101
[4,1,5,2,6,3,9,7,11,8,12,10]=>10101010101
[4,1,5,2,6,3,10,7,11,8,12,9]=>10101010101
[4,1,5,2,7,3,8,6,10,9,12,11]=>10101010101
[4,1,5,2,7,3,8,6,11,9,12,10]=>10101010101
[4,1,5,2,7,3,9,6,10,8,12,11]=>10101010101
[4,1,5,2,7,3,9,6,11,8,12,10]=>10101010101
[4,1,5,2,7,3,10,6,11,8,12,9]=>10101010101
[4,1,5,2,8,3,9,6,10,7,12,11]=>10101010101
[4,1,5,2,8,3,9,6,11,7,12,10]=>10101010101
[4,1,5,2,8,3,10,6,11,7,12,9]=>10101010101
[4,1,5,2,9,3,10,6,11,7,12,8]=>10101010101
[4,1,6,2,7,3,8,5,10,9,12,11]=>10101010101
[4,1,6,2,7,3,8,5,11,9,12,10]=>10101010101
[4,1,6,2,7,3,9,5,10,8,12,11]=>10101010101
[4,1,6,2,7,3,9,5,11,8,12,10]=>10101010101
[4,1,6,2,7,3,10,5,11,8,12,9]=>10101010101
[4,1,6,2,8,3,9,5,10,7,12,11]=>10101010101
[4,1,6,2,8,3,9,5,11,7,12,10]=>10101010101
[4,1,6,2,8,3,10,5,11,7,12,9]=>10101010101
[4,1,6,2,9,3,10,5,11,7,12,8]=>10101010101
[4,1,7,2,8,3,9,5,10,6,12,11]=>10101010101
[4,1,7,2,8,3,9,5,11,6,12,10]=>10101010101
[4,1,7,2,8,3,10,5,11,6,12,9]=>10101010101
[4,1,7,2,9,3,10,5,11,6,12,8]=>10101010101
[4,1,8,2,9,3,10,5,11,6,12,7]=>10101010101
[5,1,6,2,7,3,8,4,10,9,12,11]=>10101010101
[5,1,6,2,7,3,8,4,11,9,12,10]=>10101010101
[5,1,6,2,7,3,9,4,10,8,12,11]=>10101010101
[5,1,6,2,7,3,9,4,11,8,12,10]=>10101010101
[5,1,6,2,7,3,10,4,11,8,12,9]=>10101010101
[5,1,6,2,8,3,9,4,10,7,12,11]=>10101010101
[5,1,6,2,8,3,9,4,11,7,12,10]=>10101010101
[5,1,6,2,8,3,10,4,11,7,12,9]=>10101010101
[5,1,6,2,9,3,10,4,11,7,12,8]=>10101010101
[5,1,7,2,8,3,9,4,10,6,12,11]=>10101010101
[5,1,7,2,8,3,9,4,11,6,12,10]=>10101010101
[5,1,7,2,8,3,10,4,11,6,12,9]=>10101010101
[5,1,7,2,9,3,10,4,11,6,12,8]=>10101010101
[5,1,8,2,9,3,10,4,11,6,12,7]=>10101010101
[6,1,7,2,8,3,9,4,10,5,12,11]=>10101010101
[6,1,7,2,8,3,9,4,11,5,12,10]=>10101010101
[6,1,7,2,8,3,10,4,11,5,12,9]=>10101010101
[6,1,7,2,9,3,10,4,11,5,12,8]=>10101010101
[6,1,8,2,9,3,10,4,11,5,12,7]=>10101010101
[1,8,2,9,3,10,4,11,5,12,6,7]=>01010101010
[1,8,2,9,3,10,4,11,12,5,6,7]=>01010100100
[1,8,2,9,3,10,11,4,5,12,6,7]=>01010010010
[1,8,2,9,3,10,11,4,12,5,6,7]=>01010010100
[1,8,2,9,3,10,11,12,4,5,6,7]=>01010001000
[1,8,2,9,10,3,4,11,5,12,6,7]=>01001001010
[1,8,2,9,10,3,4,11,12,5,6,7]=>01001000100
[1,8,2,9,10,3,11,4,5,12,6,7]=>01001010010
[1,8,2,9,10,3,11,4,12,5,6,7]=>01001010100
[1,8,2,9,10,3,11,12,4,5,6,7]=>01001001000
[1,8,2,9,10,11,3,4,5,12,6,7]=>01000100010
[1,8,2,9,10,11,3,4,12,5,6,7]=>01000100100
[1,8,2,9,10,11,3,12,4,5,6,7]=>01000101000
[1,8,2,9,10,11,12,3,4,5,6,7]=>01000010000
[1,8,9,2,3,10,4,11,5,12,6,7]=>00100101010
[1,8,9,2,3,10,4,11,12,5,6,7]=>00100100100
[1,8,9,2,3,10,11,4,5,12,6,7]=>00100010010
[1,8,9,2,3,10,11,4,12,5,6,7]=>00100010100
[1,8,9,2,3,10,11,12,4,5,6,7]=>00100001000
[1,8,9,2,10,3,4,11,5,12,6,7]=>00101001010
[1,8,9,2,10,3,4,11,12,5,6,7]=>00101000100
[1,8,9,2,10,3,11,4,5,12,6,7]=>00101010010
[1,8,9,2,10,3,11,4,12,5,6,7]=>00101010100
[1,8,9,2,10,3,11,12,4,5,6,7]=>00101001000
[1,8,9,2,10,11,3,4,5,12,6,7]=>00100100010
[1,8,9,2,10,11,3,4,12,5,6,7]=>00100100100
[1,8,9,2,10,11,3,12,4,5,6,7]=>00100101000
[1,8,9,2,10,11,12,3,4,5,6,7]=>00100010000
[1,8,9,10,2,3,4,11,5,12,6,7]=>00010001010
[1,8,9,10,2,3,4,11,12,5,6,7]=>00010000100
[1,8,9,10,2,3,11,4,5,12,6,7]=>00010010010
[1,8,9,10,2,3,11,4,12,5,6,7]=>00010010100
[1,8,9,10,2,3,11,12,4,5,6,7]=>00010001000
[1,8,9,10,2,11,3,4,5,12,6,7]=>00010100010
[1,8,9,10,2,11,3,4,12,5,6,7]=>00010100100
[1,8,9,10,2,11,3,12,4,5,6,7]=>00010101000
[1,8,9,10,2,11,12,3,4,5,6,7]=>00010010000
[1,8,9,10,11,2,3,4,5,12,6,7]=>00001000010
[1,8,9,10,11,2,3,4,12,5,6,7]=>00001000100
[1,8,9,10,11,2,3,12,4,5,6,7]=>00001001000
[1,8,9,10,11,2,12,3,4,5,6,7]=>00001010000
[1,8,9,10,11,12,2,3,4,5,6,7]=>00000100000
[8,1,2,9,3,10,4,11,5,12,6,7]=>10010101010
[8,1,2,9,3,10,4,11,12,5,6,7]=>10010100100
[8,1,2,9,3,10,11,4,5,12,6,7]=>10010010010
[8,1,2,9,3,10,11,4,12,5,6,7]=>10010010100
[8,1,2,9,3,10,11,12,4,5,6,7]=>10010001000
[8,1,2,9,10,3,4,11,5,12,6,7]=>10001001010
[8,1,2,9,10,3,4,11,12,5,6,7]=>10001000100
[8,1,2,9,10,3,11,4,5,12,6,7]=>10001010010
[8,1,2,9,10,3,11,4,12,5,6,7]=>10001010100
[8,1,2,9,10,3,11,12,4,5,6,7]=>10001001000
[8,1,2,9,10,11,3,4,5,12,6,7]=>10000100010
[8,1,2,9,10,11,3,4,12,5,6,7]=>10000100100
[8,1,2,9,10,11,3,12,4,5,6,7]=>10000101000
[8,1,2,9,10,11,12,3,4,5,6,7]=>10000010000
[8,1,9,2,3,10,4,11,5,12,6,7]=>10100101010
[8,1,9,2,3,10,4,11,12,5,6,7]=>10100100100
[8,1,9,2,3,10,11,4,5,12,6,7]=>10100010010
[8,1,9,2,3,10,11,4,12,5,6,7]=>10100010100
[8,1,9,2,3,10,11,12,4,5,6,7]=>10100001000
[8,1,9,2,10,3,4,11,5,12,6,7]=>10101001010
[8,1,9,2,10,3,4,11,12,5,6,7]=>10101000100
[8,1,9,2,10,3,11,4,5,12,6,7]=>10101010010
[8,1,9,2,10,3,11,4,12,5,6,7]=>10101010100
[8,1,9,2,10,3,11,12,4,5,6,7]=>10101001000
[8,1,9,2,10,11,3,4,5,12,6,7]=>10100100010
[8,1,9,2,10,11,3,4,12,5,6,7]=>10100100100
[8,1,9,2,10,11,3,12,4,5,6,7]=>10100101000
[8,1,9,2,10,11,12,3,4,5,6,7]=>10100010000
[8,1,9,10,2,3,4,11,5,12,6,7]=>10010001010
[8,1,9,10,2,3,4,11,12,5,6,7]=>10010000100
[8,1,9,10,2,3,11,4,5,12,6,7]=>10010010010
[8,1,9,10,2,3,11,4,12,5,6,7]=>10010010100
[8,1,9,10,2,3,11,12,4,5,6,7]=>10010001000
[8,1,9,10,2,11,3,4,5,12,6,7]=>10010100010
[8,1,9,10,2,11,3,4,12,5,6,7]=>10010100100
[8,1,9,10,2,11,3,12,4,5,6,7]=>10010101000
[8,1,9,10,2,11,12,3,4,5,6,7]=>10010010000
[8,1,9,10,11,2,3,4,5,12,6,7]=>10001000010
[8,1,9,10,11,2,3,4,12,5,6,7]=>10001000100
[8,1,9,10,11,2,3,12,4,5,6,7]=>10001001000
[8,1,9,10,11,2,12,3,4,5,6,7]=>10001010000
[8,1,9,10,11,12,2,3,4,5,6,7]=>10000100000
[8,9,1,2,3,10,4,11,5,12,6,7]=>01000101010
[8,9,1,2,3,10,4,11,12,5,6,7]=>01000100100
[8,9,1,2,3,10,11,4,5,12,6,7]=>01000010010
[8,9,1,2,3,10,11,4,12,5,6,7]=>01000010100
[8,9,1,2,3,10,11,12,4,5,6,7]=>01000001000
[8,9,1,2,10,3,4,11,5,12,6,7]=>01001001010
[8,9,1,2,10,3,4,11,12,5,6,7]=>01001000100
[8,9,1,2,10,3,11,4,5,12,6,7]=>01001010010
[8,9,1,2,10,3,11,4,12,5,6,7]=>01001010100
[8,9,1,2,10,3,11,12,4,5,6,7]=>01001001000
[8,9,1,2,10,11,3,4,5,12,6,7]=>01000100010
[8,9,1,2,10,11,3,4,12,5,6,7]=>01000100100
[8,9,1,2,10,11,3,12,4,5,6,7]=>01000101000
[8,9,1,2,10,11,12,3,4,5,6,7]=>01000010000
[8,9,1,10,2,3,4,11,5,12,6,7]=>01010001010
[8,9,1,10,2,3,4,11,12,5,6,7]=>01010000100
[8,9,1,10,2,3,11,4,5,12,6,7]=>01010010010
[8,9,1,10,2,3,11,4,12,5,6,7]=>01010010100
[8,9,1,10,2,3,11,12,4,5,6,7]=>01010001000
[8,9,1,10,2,11,3,4,5,12,6,7]=>01010100010
[8,9,1,10,2,11,3,4,12,5,6,7]=>01010100100
[8,9,1,10,2,11,3,12,4,5,6,7]=>01010101000
[8,9,1,10,2,11,12,3,4,5,6,7]=>01010010000
[8,9,1,10,11,2,3,4,5,12,6,7]=>01001000010
[8,9,1,10,11,2,3,4,12,5,6,7]=>01001000100
[8,9,1,10,11,2,3,12,4,5,6,7]=>01001001000
[8,9,1,10,11,2,12,3,4,5,6,7]=>01001010000
[8,9,1,10,11,12,2,3,4,5,6,7]=>01000100000
[8,9,10,1,2,3,4,11,5,12,6,7]=>00100001010
[8,9,10,1,2,3,4,11,12,5,6,7]=>00100000100
[8,9,10,1,2,3,11,4,5,12,6,7]=>00100010010
[8,9,10,1,2,3,11,4,12,5,6,7]=>00100010100
[8,9,10,1,2,3,11,12,4,5,6,7]=>00100001000
[8,9,10,1,2,11,3,4,5,12,6,7]=>00100100010
[8,9,10,1,2,11,3,4,12,5,6,7]=>00100100100
[8,9,10,1,2,11,3,12,4,5,6,7]=>00100101000
[8,9,10,1,2,11,12,3,4,5,6,7]=>00100010000
[8,9,10,1,11,2,3,4,5,12,6,7]=>00101000010
[8,9,10,1,11,2,3,4,12,5,6,7]=>00101000100
[8,9,10,1,11,2,3,12,4,5,6,7]=>00101001000
[8,9,10,1,11,2,12,3,4,5,6,7]=>00101010000
[8,9,10,1,11,12,2,3,4,5,6,7]=>00100100000
[8,9,10,11,1,2,3,4,5,12,6,7]=>00010000010
[8,9,10,11,1,2,3,4,12,5,6,7]=>00010000100
[8,9,10,11,1,2,3,12,4,5,6,7]=>00010001000
[8,9,10,11,1,2,12,3,4,5,6,7]=>00010010000
[8,9,10,11,1,12,2,3,4,5,6,7]=>00010100000
[8,9,10,11,12,1,2,3,4,5,6,7]=>00001000000
[12,10,8,6,4,2,1,3,5,7,9,11]=>11111100000
[11,12,8,6,4,2,1,3,5,7,10,9]=>01111100001
[12,9,10,6,4,2,1,3,5,8,7,11]=>10111100010
[11,9,12,6,4,2,1,3,5,8,10,7]=>10111100001
[10,11,12,6,4,2,1,3,5,9,8,7]=>00111100011
[12,10,7,8,4,2,1,3,6,5,9,11]=>11011100100
[11,12,7,8,4,2,1,3,6,5,10,9]=>01011100101
[12,9,7,10,4,2,1,3,6,8,5,11]=>11011100010
[11,9,7,12,4,2,1,3,6,8,10,5]=>11011100001
[10,11,7,12,4,2,1,3,6,9,8,5]=>01011100011
[12,8,9,10,4,2,1,3,7,6,5,11]=>10011100110
[11,8,9,12,4,2,1,3,7,6,10,5]=>10011100101
[10,8,11,12,4,2,1,3,7,9,6,5]=>10011100011
[9,10,11,12,4,2,1,3,8,7,6,5]=>00011100111
[12,10,8,5,6,2,1,4,3,7,9,11]=>11101101000
[11,12,8,5,6,2,1,4,3,7,10,9]=>01101101001
[12,9,10,5,6,2,1,4,3,8,7,11]=>10101101010
[11,9,12,5,6,2,1,4,3,8,10,7]=>10101101001
[10,11,12,5,6,2,1,4,3,9,8,7]=>00101101011
[12,10,7,5,8,2,1,4,6,3,9,11]=>11101100100
[11,12,7,5,8,2,1,4,6,3,10,9]=>01101100101
[12,9,7,5,10,2,1,4,6,8,3,11]=>11101100010
[11,9,7,5,12,2,1,4,6,8,10,3]=>11101100001
[10,11,7,5,12,2,1,4,6,9,8,3]=>01101100011
[12,8,9,5,10,2,1,4,7,6,3,11]=>10101100110
[11,8,9,5,12,2,1,4,7,6,10,3]=>10101100101
[10,8,11,5,12,2,1,4,7,9,6,3]=>10101100011
[9,10,11,5,12,2,1,4,8,7,6,3]=>00101100111
[12,10,6,7,8,2,1,5,4,3,9,11]=>11001101100
[11,12,6,7,8,2,1,5,4,3,10,9]=>01001101101
[12,9,6,7,10,2,1,5,4,8,3,11]=>11001101010
[11,9,6,7,12,2,1,5,4,8,10,3]=>11001101001
[10,11,6,7,12,2,1,5,4,9,8,3]=>01001101011
[12,8,6,9,10,2,1,5,7,4,3,11]=>11001100110
[11,8,6,9,12,2,1,5,7,4,10,3]=>11001100101
[10,8,6,11,12,2,1,5,7,9,4,3]=>11001100011
[9,10,6,11,12,2,1,5,8,7,4,3]=>01001100111
[12,7,8,9,10,2,1,6,5,4,3,11]=>10001101110
[11,7,8,9,12,2,1,6,5,4,10,3]=>10001101101
[10,7,8,11,12,2,1,6,5,9,4,3]=>10001101011
[9,7,10,11,12,2,1,6,8,5,4,3]=>10001100111
[8,9,10,11,12,2,1,7,6,5,4,3]=>00001101111
[12,10,8,6,3,4,2,1,5,7,9,11]=>11110110000
[11,12,8,6,3,4,2,1,5,7,10,9]=>01110110001
[12,9,10,6,3,4,2,1,5,8,7,11]=>10110110010
[11,9,12,6,3,4,2,1,5,8,10,7]=>10110110001
[10,11,12,6,3,4,2,1,5,9,8,7]=>00110110011
[12,10,7,8,3,4,2,1,6,5,9,11]=>11010110100
[11,12,7,8,3,4,2,1,6,5,10,9]=>01010110101
[12,9,7,10,3,4,2,1,6,8,5,11]=>11010110010
[11,9,7,12,3,4,2,1,6,8,10,5]=>11010110001
[10,11,7,12,3,4,2,1,6,9,8,5]=>01010110011
[12,8,9,10,3,4,2,1,7,6,5,11]=>10010110110
[11,8,9,12,3,4,2,1,7,6,10,5]=>10010110101
[10,8,11,12,3,4,2,1,7,9,6,5]=>10010110011
[9,10,11,12,3,4,2,1,8,7,6,5]=>00010110111
[12,10,8,5,3,6,2,4,1,7,9,11]=>11110101000
[11,12,8,5,3,6,2,4,1,7,10,9]=>01110101001
[12,9,10,5,3,6,2,4,1,8,7,11]=>10110101010
[11,9,12,5,3,6,2,4,1,8,10,7]=>10110101001
[10,11,12,5,3,6,2,4,1,9,8,7]=>00110101011
[12,10,7,5,3,8,2,4,6,1,9,11]=>11110100100
[11,12,7,5,3,8,2,4,6,1,10,9]=>01110100101
[12,9,7,5,3,10,2,4,6,8,1,11]=>11110100010
[11,9,7,5,3,12,2,4,6,8,10,1]=>11110100001
[10,11,7,5,3,12,2,4,6,9,8,1]=>01110100011
[12,8,9,5,3,10,2,4,7,6,1,11]=>10110100110
[11,8,9,5,3,12,2,4,7,6,10,1]=>10110100101
[10,8,11,5,3,12,2,4,7,9,6,1]=>10110100011
[9,10,11,5,3,12,2,4,8,7,6,1]=>00110100111
[12,10,6,7,3,8,2,5,4,1,9,11]=>11010101100
[11,12,6,7,3,8,2,5,4,1,10,9]=>01010101101
[12,9,6,7,3,10,2,5,4,8,1,11]=>11010101010
[11,9,6,7,3,12,2,5,4,8,10,1]=>11010101001
[10,11,6,7,3,12,2,5,4,9,8,1]=>01010101011
[12,8,6,9,3,10,2,5,7,4,1,11]=>11010100110
[11,8,6,9,3,12,2,5,7,4,10,1]=>11010100101
[10,8,6,11,3,12,2,5,7,9,4,1]=>11010100011
[9,10,6,11,3,12,2,5,8,7,4,1]=>01010100111
[12,7,8,9,3,10,2,6,5,4,1,11]=>10010101110
[11,7,8,9,3,12,2,6,5,4,10,1]=>10010101101
[10,7,8,11,3,12,2,6,5,9,4,1]=>10010101011
[9,7,10,11,3,12,2,6,8,5,4,1]=>10010100111
[8,9,10,11,3,12,2,7,6,5,4,1]=>00010101111
[12,10,8,4,5,6,3,2,1,7,9,11]=>11100111000
[11,12,8,4,5,6,3,2,1,7,10,9]=>01100111001
[12,9,10,4,5,6,3,2,1,8,7,11]=>10100111010
[11,9,12,4,5,6,3,2,1,8,10,7]=>10100111001
[10,11,12,4,5,6,3,2,1,9,8,7]=>00100111011
[12,10,7,4,5,8,3,2,6,1,9,11]=>11100110100
[11,12,7,4,5,8,3,2,6,1,10,9]=>01100110101
[12,9,7,4,5,10,3,2,6,8,1,11]=>11100110010
[11,9,7,4,5,12,3,2,6,8,10,1]=>11100110001
[10,11,7,4,5,12,3,2,6,9,8,1]=>01100110011
[12,8,9,4,5,10,3,2,7,6,1,11]=>10100110110
[11,8,9,4,5,12,3,2,7,6,10,1]=>10100110101
[10,8,11,4,5,12,3,2,7,9,6,1]=>10100110011
[9,10,11,4,5,12,3,2,8,7,6,1]=>00100110111
[12,10,6,4,7,8,3,5,2,1,9,11]=>11100101100
[11,12,6,4,7,8,3,5,2,1,10,9]=>01100101101
[12,9,6,4,7,10,3,5,2,8,1,11]=>11100101010
[11,9,6,4,7,12,3,5,2,8,10,1]=>11100101001
[10,11,6,4,7,12,3,5,2,9,8,1]=>01100101011
[12,8,6,4,9,10,3,5,7,2,1,11]=>11100100110
[11,8,6,4,9,12,3,5,7,2,10,1]=>11100100101
[10,8,6,4,11,12,3,5,7,9,2,1]=>11100100011
[9,10,6,4,11,12,3,5,8,7,2,1]=>01100100111
[12,7,8,4,9,10,3,6,5,2,1,11]=>10100101110
[11,7,8,4,9,12,3,6,5,2,10,1]=>10100101101
[10,7,8,4,11,12,3,6,5,9,2,1]=>10100101011
[9,7,10,4,11,12,3,6,8,5,2,1]=>10100100111
[8,9,10,4,11,12,3,7,6,5,2,1]=>00100101111
[12,10,5,6,7,8,4,3,2,1,9,11]=>11000111100
[11,12,5,6,7,8,4,3,2,1,10,9]=>01000111101
[12,9,5,6,7,10,4,3,2,8,1,11]=>11000111010
[11,9,5,6,7,12,4,3,2,8,10,1]=>11000111001
[10,11,5,6,7,12,4,3,2,9,8,1]=>01000111011
[12,8,5,6,9,10,4,3,7,2,1,11]=>11000110110
[11,8,5,6,9,12,4,3,7,2,10,1]=>11000110101
[10,8,5,6,11,12,4,3,7,9,2,1]=>11000110011
[9,10,5,6,11,12,4,3,8,7,2,1]=>01000110111
[12,7,5,8,9,10,4,6,3,2,1,11]=>11000101110
[11,7,5,8,9,12,4,6,3,2,10,1]=>11000101101
[10,7,5,8,11,12,4,6,3,9,2,1]=>11000101011
[9,7,5,10,11,12,4,6,8,3,2,1]=>11000100111
[8,9,5,10,11,12,4,7,6,3,2,1]=>01000101111
[12,6,7,8,9,10,5,4,3,2,1,11]=>10000111110
[11,6,7,8,9,12,5,4,3,2,10,1]=>10000111101
[10,6,7,8,11,12,5,4,3,9,2,1]=>10000111011
[9,6,7,10,11,12,5,4,8,3,2,1]=>10000110111
[8,6,9,10,11,12,5,7,4,3,2,1]=>10000101111
[2,3,4,5,6,7,8,9,12,11,1,10]=>00000000110
[12,11,10,8,6,4,2,1,3,5,7,9]=>11111110000
[12,10,9,8,6,4,2,1,3,5,7,11]=>11111110000
[12,9,11,8,6,4,2,1,3,5,10,7]=>10111110001
[12,11,10,9,8,6,4,2,1,3,5,7]=>11111111000
[12,10,8,7,6,4,2,1,3,5,9,11]=>11111110000
[12,11,10,8,7,6,4,2,1,3,5,9]=>11111111000
[12,10,7,9,6,4,2,1,3,8,5,11]=>11011110010
[12,7,11,9,6,4,2,1,3,8,10,5]=>10111110001
[12,11,10,7,9,6,4,2,1,3,8,5]=>11101111001
[12,10,9,8,7,6,4,2,1,3,5,11]=>11111111000
[12,9,11,8,7,6,4,2,1,3,10,5]=>10111111001
[12,8,11,10,7,9,4,2,1,3,6,5]=>10110111001
[12,11,10,9,8,7,6,4,2,1,3,5]=>11111111100
[12,10,8,6,5,4,2,1,3,7,9,11]=>11111110000
[12,11,10,8,6,5,4,2,1,3,7,9]=>11111111000
[12,10,9,8,6,5,4,2,1,3,7,11]=>11111111000
[12,9,11,8,6,5,4,2,1,3,10,7]=>10111111001
[12,11,10,9,8,6,5,4,2,1,3,7]=>11111111100
[12,10,8,5,7,4,2,1,6,3,9,11]=>11101110100
[12,11,10,8,5,7,4,2,1,6,3,9]=>11110111010
[12,10,5,9,7,4,2,1,6,8,3,11]=>11011110010
[12,5,11,9,7,4,2,1,6,8,10,3]=>10111110001
[12,11,10,5,9,7,4,2,1,6,8,3]=>11101111001
[12,10,9,8,5,7,4,2,1,6,3,11]=>11110111010
[12,9,11,8,5,7,4,2,1,6,10,3]=>10110111001
[12,11,5,10,8,7,4,2,1,9,6,3]=>11011111011
[12,11,10,9,8,5,7,4,2,1,6,3]=>11111011101
[12,10,8,7,6,5,4,2,1,3,9,11]=>11111111000
[12,11,10,8,7,6,5,4,2,1,3,9]=>11111111100
[12,10,7,9,6,5,4,2,1,8,3,11]=>11011111010
[12,7,11,9,6,5,4,2,1,8,10,3]=>10111111001
[12,11,10,7,9,6,5,4,2,1,8,3]=>11101111101
[12,10,6,9,8,5,7,2,1,4,3,11]=>11011011010
[12,6,11,9,8,5,7,2,1,4,10,3]=>10111011001
[12,6,11,8,10,5,7,2,1,9,4,3]=>10101011011
[12,11,10,6,9,8,5,7,2,1,4,3]=>11101101101
[12,10,9,8,7,6,5,4,2,1,3,11]=>11111111100
[12,9,11,8,7,6,5,4,2,1,10,3]=>10111111101
[12,8,11,10,7,6,5,9,2,1,4,3]=>10111101101
[12,7,11,10,9,6,8,5,2,1,4,3]=>10111011101
[12,11,10,9,8,7,6,5,4,2,1,3]=>11111111110
[12,10,8,6,4,3,2,1,5,7,9,11]=>11111110000
[12,11,10,8,6,4,3,2,1,5,7,9]=>11111111000
[12,10,9,8,6,4,3,2,1,5,7,11]=>11111111000
[12,9,11,8,6,4,3,2,1,5,10,7]=>10111111001
[12,11,10,9,8,6,4,3,2,1,5,7]=>11111111100
[12,10,8,7,6,4,3,2,1,5,9,11]=>11111111000
[12,11,10,8,7,6,4,3,2,1,5,9]=>11111111100
[12,10,7,9,6,4,3,2,1,8,5,11]=>11011111010
[12,7,11,9,6,4,3,2,1,8,10,5]=>10111111001
[12,11,10,7,9,6,4,3,2,1,8,5]=>11101111101
[12,10,9,8,7,6,4,3,2,1,5,11]=>11111111100
[12,9,11,8,7,6,4,3,2,1,10,5]=>10111111101
[12,8,11,10,7,9,4,3,2,1,6,5]=>10110111101
[12,11,10,9,8,7,6,4,3,2,1,5]=>11111111110
[12,10,8,6,3,5,2,4,1,7,9,11]=>11110101000
[12,11,10,8,6,3,5,2,4,1,7,9]=>11111010100
[12,10,9,8,6,3,5,2,4,1,7,11]=>11111010100
[12,9,11,8,6,3,5,2,4,1,10,7]=>10111010101
[12,11,10,9,8,6,3,5,2,4,1,7]=>11111101010
[12,10,8,3,7,5,2,4,6,1,9,11]=>11101100100
[12,11,10,8,3,7,5,2,4,6,1,9]=>11110110010
[12,10,3,9,7,5,2,4,6,8,1,11]=>11011100010
[12,3,11,9,7,5,2,4,6,8,10,1]=>10111100001
[12,11,10,3,9,7,5,2,4,6,8,1]=>11101110001
[12,10,9,8,3,7,5,2,4,6,1,11]=>11110110010
[12,9,11,8,3,7,5,2,4,6,10,1]=>10110110001
[12,11,3,10,8,7,5,2,4,9,6,1]=>11011110011
[12,11,10,9,8,3,7,5,2,4,6,1]=>11111011001
[12,10,8,7,6,3,5,2,4,1,9,11]=>11111010100
[12,11,10,8,7,6,3,5,2,4,1,9]=>11111101010
[12,10,7,9,6,3,5,2,4,8,1,11]=>11011010010
[12,7,11,9,6,3,5,2,4,8,10,1]=>10111010001
[12,11,10,7,9,6,3,5,2,4,8,1]=>11101101001
[12,10,9,3,8,6,5,2,7,4,1,11]=>11101110110
[12,9,11,3,8,6,5,2,7,4,10,1]=>10101110101
[12,11,3,8,10,6,5,2,7,9,4,1]=>11001110011
[12,11,10,9,3,8,6,5,2,7,4,1]=>11110111011
[12,10,9,8,7,6,3,5,2,4,1,11]=>11111101010
[12,9,11,8,7,6,3,5,2,4,10,1]=>10111101001
[12,8,11,10,7,6,3,5,2,9,4,1]=>10111101011
[12,11,10,3,9,7,6,8,2,5,4,1]=>11101101011
[12,11,10,9,8,7,6,3,5,2,4,1]=>11111110101
[12,10,8,6,5,4,3,2,1,7,9,11]=>11111111000
[12,11,10,8,6,5,4,3,2,1,7,9]=>11111111100
[12,10,9,8,6,5,4,3,2,1,7,11]=>11111111100
[12,9,11,8,6,5,4,3,2,1,10,7]=>10111111101
[12,11,10,9,8,6,5,4,3,2,1,7]=>11111111110
[12,10,8,5,7,4,3,2,6,1,9,11]=>11101110100
[12,11,10,8,5,7,4,3,2,6,1,9]=>11110111010
[12,10,5,9,7,4,3,2,6,8,1,11]=>11011110010
[12,5,11,9,7,4,3,2,6,8,10,1]=>10111110001
[12,11,10,5,9,7,4,3,2,6,8,1]=>11101111001
[12,10,9,8,5,7,4,3,2,6,1,11]=>11110111010
[12,9,11,8,5,7,4,3,2,6,10,1]=>10110111001
[12,11,5,10,8,7,4,3,2,9,6,1]=>11011111011
[12,11,10,9,8,5,7,4,3,2,6,1]=>11111011101
[12,10,8,4,7,6,3,5,2,1,9,11]=>11101101100
[12,11,10,8,4,7,6,3,5,2,1,9]=>11110110110
[12,10,4,9,7,6,3,5,2,8,1,11]=>11011101010
[12,4,11,9,7,6,3,5,2,8,10,1]=>10111101001
[12,11,10,4,9,7,6,3,5,2,8,1]=>11101110101
[12,10,4,9,6,8,3,5,7,2,1,11]=>11010100110
[12,4,11,9,6,8,3,5,7,2,10,1]=>10110100101
[12,4,11,6,10,8,3,5,7,9,2,1]=>10101100011
[12,11,10,4,9,6,8,3,5,7,2,1]=>11101010011
[12,10,9,8,4,7,6,3,5,2,1,11]=>11110110110
[12,9,11,8,4,7,6,3,5,2,10,1]=>10110110101
[12,8,11,10,4,7,6,3,5,9,2,1]=>10110110011
[12,11,4,10,7,9,6,3,8,5,2,1]=>11010110111
[12,11,10,9,8,4,7,6,3,5,2,1]=>11111011011
[12,10,8,7,6,5,4,3,2,1,9,11]=>11111111100
[12,11,10,8,7,6,5,4,3,2,1,9]=>11111111110
[12,10,7,9,6,5,4,3,2,8,1,11]=>11011111010
[12,7,11,9,6,5,4,3,2,8,10,1]=>10111111001
[12,11,10,7,9,6,5,4,3,2,8,1]=>11101111101
[12,10,6,9,8,5,4,3,7,2,1,11]=>11011110110
[12,6,11,9,8,5,4,3,7,2,10,1]=>10111110101
[12,6,11,8,10,5,4,3,7,9,2,1]=>10101110011
[12,11,10,6,9,8,5,4,3,7,2,1]=>11101111011
[12,10,5,9,8,7,4,6,3,2,1,11]=>11011101110
[12,5,11,9,8,7,4,6,3,2,10,1]=>10111101101
[12,5,11,8,10,7,4,6,3,9,2,1]=>10101101011
[12,5,11,7,10,9,4,6,8,3,2,1]=>10101100111
[12,11,10,5,9,8,7,4,6,3,2,1]=>11101110111
[12,9,11,8,7,6,5,4,3,2,10,1]=>10111111101
[12,8,11,10,7,6,5,4,3,9,2,1]=>10111111011
[12,7,11,10,9,6,5,4,8,3,2,1]=>10111110111
[12,6,11,10,9,8,5,7,4,3,2,1]=>10111101111
[8,9,10,11,7,1,2,3,4,5,12,6]=>00011000001
[2,9,10,11,12,8,1,3,4,5,6,7]=>00001100000
[11,12,2,4,6,8,10,1,3,5,7,9]=>01000010000
[9,10,2,4,6,8,12,1,3,5,7,11]=>01000010000
[11,9,12,2,4,6,8,10,1,3,5,7]=>10100001000
[10,11,12,9,2,4,6,8,1,3,5,7]=>00110001000
[7,8,2,4,6,10,12,1,3,5,9,11]=>01000010000
[7,8,11,12,2,4,6,10,1,3,5,9]=>00010001000
[9,7,10,2,4,6,8,12,1,3,5,11]=>10100001000
[9,11,7,12,2,4,6,8,10,1,3,5]=>01010000100
[7,10,11,12,9,2,4,6,8,1,3,5]=>00011000100
[8,9,10,7,2,4,6,12,1,3,5,11]=>00110001000
[11,8,9,7,12,2,4,6,10,1,3,5]=>10101000100
[10,11,8,12,7,9,2,4,6,1,3,5]=>01010100100
[9,10,11,12,8,7,2,4,6,1,3,5]=>00011100100
[5,6,2,4,8,10,12,1,3,7,9,11]=>01000010000
[5,6,11,12,2,4,8,10,1,3,7,9]=>00010001000
[5,6,9,10,2,4,8,12,1,3,7,11]=>00010001000
[11,5,6,9,12,2,4,8,10,1,3,7]=>10001000100
[10,11,12,5,6,9,2,4,8,1,3,7]=>00100100100
[7,5,8,2,4,6,10,12,1,3,9,11]=>10100001000
[7,5,8,11,12,2,4,6,10,1,3,9]=>10001000100
[7,9,5,10,2,4,6,8,12,1,3,11]=>01010000100
[7,9,11,5,12,2,4,6,8,10,1,3]=>00101000010
[10,7,11,12,5,9,2,4,6,8,1,3]=>10010100010
[5,8,9,10,7,2,4,6,12,1,3,11]=>00011000100
[11,5,8,9,7,12,2,4,6,10,1,3]=>10010100010
[8,10,5,11,12,7,9,2,4,6,1,3]=>01001010010
[9,10,11,12,5,8,7,2,4,6,1,3]=>00010110010
[6,7,8,5,2,4,10,12,1,3,9,11]=>00110001000
[6,7,8,5,11,12,2,4,10,1,3,9]=>00100100100
[9,6,7,5,10,2,4,8,12,1,3,11]=>10101000100
[9,6,7,11,5,12,2,4,8,10,1,3]=>10010100010
[6,10,7,11,12,5,9,2,4,8,1,3]=>01001010010
[8,9,6,10,5,7,2,4,12,1,3,11]=>01010100100
[8,9,11,6,5,7,12,2,4,10,1,3]=>00110010010
[10,8,11,6,12,5,7,9,2,4,1,3]=>10101001010
[9,6,10,11,12,8,5,7,2,4,1,3]=>10001101010
[7,8,9,10,6,5,2,4,12,1,3,11]=>00011100100
[11,7,8,9,6,5,12,2,4,10,1,3]=>10011010010
[10,11,7,8,6,12,5,9,2,4,1,3]=>01010101010
[9,10,11,7,12,6,8,5,2,4,1,3]=>00101011010
[8,9,10,11,12,7,6,5,2,4,1,3]=>00001111010
[3,4,2,6,8,10,12,1,5,7,9,11]=>01000010000
[3,4,11,12,2,6,8,10,1,5,7,9]=>00010001000
[3,4,9,10,2,6,8,12,1,5,7,11]=>00010001000
[11,3,4,9,12,2,6,8,10,1,5,7]=>10001000100
[10,11,12,3,4,9,2,6,8,1,5,7]=>00100100100
[3,4,7,8,2,6,10,12,1,5,9,11]=>00010001000
[3,4,7,8,11,12,2,6,10,1,5,9]=>00000100100
[9,3,4,7,10,2,6,8,12,1,5,11]=>10001000100
[9,11,3,4,7,12,2,6,8,10,1,5]=>01000100010
[3,10,11,12,4,7,9,2,6,8,1,5]=>00010010010
[8,9,10,3,4,7,2,6,12,1,5,11]=>00100100100
[11,8,9,3,4,7,12,2,6,10,1,5]=>10100010010
[10,11,8,12,3,4,7,9,2,6,1,5]=>01010001010
[9,10,11,12,8,3,4,7,2,6,1,5]=>00011001010
[5,3,6,2,4,8,10,12,1,7,9,11]=>10100001000
[5,3,6,11,12,2,4,8,10,1,7,9]=>10001000100
[5,3,6,9,10,2,4,8,12,1,7,11]=>10001000100
[5,11,3,6,9,12,2,4,8,10,1,7]=>01000100010
[5,10,11,12,3,6,9,2,4,8,1,7]=>00010010010
[5,7,3,8,2,4,6,10,12,1,9,11]=>01010000100
[5,7,3,8,11,12,2,4,6,10,1,9]=>01000100010
[5,7,9,3,10,2,4,6,8,12,1,11]=>00101000010
[5,7,9,11,3,12,2,4,6,8,10,1]=>00010100001
[10,5,7,11,12,3,9,2,4,6,8,1]=>10001010001
[8,5,9,10,3,7,2,4,6,12,1,11]=>10010100010
[8,11,5,9,3,7,12,2,4,6,10,1]=>01010010001
[8,10,11,5,12,3,7,9,2,4,6,1]=>00101001001
[5,9,10,11,12,8,3,7,2,4,6,1]=>00001101001
[3,6,7,8,5,2,4,10,12,1,9,11]=>00011000100
[3,6,7,8,5,11,12,2,4,10,1,9]=>00010010010
[9,3,6,7,5,10,2,4,8,12,1,11]=>10010100010
[9,3,6,7,11,5,12,2,4,8,10,1]=>10001010001
[6,10,3,7,11,12,5,9,2,4,8,1]=>01000101001
[6,8,3,9,10,5,7,2,4,12,1,11]=>01001010010
[6,8,9,3,11,5,7,12,2,4,10,1]=>00101001001
[10,6,8,3,11,12,5,7,9,2,4,1]=>10100100101
[9,6,10,11,12,3,8,5,7,2,4,1]=>10001010101
[7,8,9,10,3,6,5,2,4,12,1,11]=>00010110010
[11,7,8,9,3,6,5,12,2,4,10,1]=>10010101001
[10,11,7,8,3,6,12,5,9,2,4,1]=>01010010101
[9,10,11,7,12,3,6,8,5,2,4,1]=>00101001101
[8,9,10,11,12,7,3,6,5,2,4,1]=>00001101101
[4,5,6,3,2,8,10,12,1,7,9,11]=>00110001000
[4,5,6,3,11,12,2,8,10,1,7,9]=>00100100100
[4,5,6,3,9,10,2,8,12,1,7,11]=>00100100100
[4,5,6,11,3,9,12,2,8,10,1,7]=>00010010010
[4,5,6,10,11,12,3,9,2,8,1,7]=>00000101010
[7,4,5,3,8,2,6,10,12,1,9,11]=>10101000100
[7,4,5,3,8,11,12,2,6,10,1,9]=>10100010010
[7,4,5,9,3,10,2,6,8,12,1,11]=>10010100010
[7,4,5,9,11,3,12,2,6,8,10,1]=>10001010001
[7,10,4,5,11,12,3,9,2,6,8,1]=>01000101001
[4,8,5,9,10,3,7,2,6,12,1,11]=>01001010010
[4,8,11,5,9,3,7,12,2,6,10,1]=>00101001001
[4,8,10,11,5,12,3,7,9,2,6,1]=>00010100101
[4,5,9,10,11,12,8,3,7,2,6,1]=>00000110101
[6,7,4,8,3,5,2,10,12,1,9,11]=>01010100100
[6,7,4,8,3,5,11,12,2,10,1,9]=>01010001010
[6,7,9,4,3,5,10,2,8,12,1,11]=>00110010010
[6,7,9,4,11,3,5,12,2,8,10,1]=>00101001001
[10,6,7,4,11,12,3,5,9,2,8,1]=>10100100101
[8,6,9,4,10,3,5,7,2,12,1,11]=>10101001010
[8,6,9,11,4,3,5,7,12,2,10,1]=>10011000101
[8,10,6,11,4,12,3,5,7,9,2,1]=>01010100011
[6,9,4,10,11,12,8,3,5,7,2,1]=>01000110011
[7,4,8,9,10,6,3,5,2,12,1,11]=>10001101010
[7,11,4,8,9,6,3,5,12,2,10,1]=>01001100101
[7,8,10,4,11,6,12,3,5,9,2,1]=>00101010011
[9,7,10,4,11,12,6,8,3,5,2,1]=>10100101011
[4,8,9,10,11,12,7,6,3,5,2,1]=>00000111011
[5,6,7,8,4,3,2,10,12,1,9,11]=>00011100100
[5,6,7,8,4,3,11,12,2,10,1,9]=>00011001010
[9,5,6,7,4,3,10,2,8,12,1,11]=>10011010010
[9,5,6,7,4,11,3,12,2,8,10,1]=>10010101001
[5,10,6,7,4,11,12,3,9,2,8,1]=>01010010101
[8,9,5,6,4,10,3,7,2,12,1,11]=>01010101010
[8,9,5,6,11,4,3,7,12,2,10,1]=>01001100101
[10,8,5,6,11,4,12,3,7,9,2,1]=>11001010011
[9,5,10,6,11,12,4,8,3,7,2,1]=>10100101011
[7,8,9,5,10,4,6,3,2,12,1,11]=>00101011010
[7,8,9,11,5,4,6,3,12,2,10,1]=>00011010101
[10,7,8,11,5,4,6,12,3,9,2,1]=>10011001011
[9,10,7,11,5,12,4,6,8,3,2,1]=>01010100111
[8,9,5,10,11,12,7,4,6,3,2,1]=>01000110111
[6,7,8,9,10,5,4,3,2,12,1,11]=>00001111010
[11,6,7,8,9,5,4,3,12,2,10,1]=>10001110101
[10,11,6,7,8,5,4,12,3,9,2,1]=>01001101011
[9,10,11,6,7,5,12,4,8,3,2,1]=>00101010111
[8,9,10,11,6,12,5,7,4,3,2,1]=>00010101111
[6,5,2,1,4,3,12,11,8,7,10,9]=>11101011101
[2,1,4,3,6,5,8,7,9,11,12,10]=>10101010001
[2,1,4,3,6,5,7,9,10,8,12,11]=>10101000101
[2,1,4,3,6,5,7,9,8,11,12,10]=>10101001001
[2,1,4,3,6,5,7,8,10,11,12,9]=>10101000001
[2,1,4,3,5,7,8,6,10,9,12,11]=>10100010101
[2,1,4,3,5,7,8,6,9,11,12,10]=>10100010001
[2,1,4,3,5,7,6,9,10,8,12,11]=>10100100101
[2,1,4,3,5,7,6,9,8,11,12,10]=>10100101001
[2,1,4,3,5,7,6,8,10,11,12,9]=>10100100001
[2,1,4,3,5,6,8,9,10,7,12,11]=>10100000101
[2,1,4,3,5,6,8,9,7,11,12,10]=>10100001001
[2,1,4,3,5,6,8,7,10,11,12,9]=>10100010001
[2,1,4,3,5,6,7,9,10,11,12,8]=>10100000001
[2,1,3,5,6,4,8,7,10,9,12,11]=>10001010101
[2,1,3,5,6,4,8,7,9,11,12,10]=>10001010001
[2,1,3,5,6,4,7,9,10,8,12,11]=>10001000101
[2,1,3,5,6,4,7,9,8,11,12,10]=>10001001001
[2,1,3,5,6,4,7,8,10,11,12,9]=>10001000001
[2,1,3,5,4,7,8,6,10,9,12,11]=>10010010101
[2,1,3,5,4,7,8,6,9,11,12,10]=>10010010001
[2,1,3,5,4,7,6,9,10,8,12,11]=>10010100101
[2,1,3,5,4,7,6,9,8,11,12,10]=>10010101001
[2,1,3,5,4,7,6,8,10,11,12,9]=>10010100001
[2,1,3,5,4,6,8,9,10,7,12,11]=>10010000101
[2,1,3,5,4,6,8,9,7,11,12,10]=>10010001001
[2,1,3,5,4,6,8,7,10,11,12,9]=>10010010001
[2,1,3,5,4,6,7,9,10,11,12,8]=>10010000001
[2,1,3,4,6,7,8,5,10,9,12,11]=>10000010101
[2,1,3,4,6,7,8,5,9,11,12,10]=>10000010001
[2,1,3,4,6,7,5,9,10,8,12,11]=>10000100101
[2,1,3,4,6,7,5,9,8,11,12,10]=>10000101001
[2,1,3,4,6,7,5,8,10,11,12,9]=>10000100001
[2,1,3,4,6,5,8,9,10,7,12,11]=>10001000101
[2,1,3,4,6,5,8,9,7,11,12,10]=>10001001001
[2,1,3,4,6,5,8,7,10,11,12,9]=>10001010001
[2,1,3,4,6,5,7,9,10,11,12,8]=>10001000001
[2,1,3,4,5,7,8,9,10,6,12,11]=>10000000101
[2,1,3,4,5,7,8,9,6,11,12,10]=>10000001001
[2,1,3,4,5,7,8,6,10,11,12,9]=>10000010001
[2,1,3,4,5,7,6,9,10,11,12,8]=>10000100001
[2,1,3,4,5,6,8,9,10,11,12,7]=>10000000001
[1,3,4,2,6,5,8,7,10,9,12,11]=>00101010101
[1,3,4,2,6,5,8,7,9,11,12,10]=>00101010001
[1,3,4,2,6,5,7,9,10,8,12,11]=>00101000101
[1,3,4,2,6,5,7,9,8,11,12,10]=>00101001001
[1,3,4,2,6,5,7,8,10,11,12,9]=>00101000001
[1,3,4,2,5,7,8,6,10,9,12,11]=>00100010101
[1,3,4,2,5,7,8,6,9,11,12,10]=>00100010001
[1,3,4,2,5,7,6,9,10,8,12,11]=>00100100101
[1,3,4,2,5,7,6,9,8,11,12,10]=>00100101001
[1,3,4,2,5,7,6,8,10,11,12,9]=>00100100001
[1,3,4,2,5,6,8,9,10,7,12,11]=>00100000101
[1,3,4,2,5,6,8,9,7,11,12,10]=>00100001001
[1,3,4,2,5,6,8,7,10,11,12,9]=>00100010001
[1,3,4,2,5,6,7,9,10,11,12,8]=>00100000001
[1,3,2,5,6,4,8,7,10,9,12,11]=>01001010101
[1,3,2,5,6,4,8,7,9,11,12,10]=>01001010001
[1,3,2,5,6,4,7,9,10,8,12,11]=>01001000101
[1,3,2,5,6,4,7,9,8,11,12,10]=>01001001001
[1,3,2,5,6,4,7,8,10,11,12,9]=>01001000001
[1,3,2,5,4,7,8,6,10,9,12,11]=>01010010101
[1,3,2,5,4,7,8,6,9,11,12,10]=>01010010001
[1,3,2,5,4,7,6,9,10,8,12,11]=>01010100101
[1,3,2,5,4,7,6,9,8,11,12,10]=>01010101001
[1,3,2,5,4,7,6,8,10,11,12,9]=>01010100001
[1,3,2,5,4,6,8,9,10,7,12,11]=>01010000101
[1,3,2,5,4,6,8,9,7,11,12,10]=>01010001001
[1,3,2,5,4,6,8,7,10,11,12,9]=>01010010001
[1,3,2,5,4,6,7,9,10,11,12,8]=>01010000001
[1,3,2,4,6,7,8,5,10,9,12,11]=>01000010101
[1,3,2,4,6,7,8,5,9,11,12,10]=>01000010001
[1,3,2,4,6,7,5,9,10,8,12,11]=>01000100101
[1,3,2,4,6,7,5,9,8,11,12,10]=>01000101001
[1,3,2,4,6,7,5,8,10,11,12,9]=>01000100001
[1,3,2,4,6,5,8,9,10,7,12,11]=>01001000101
[1,3,2,4,6,5,8,9,7,11,12,10]=>01001001001
[1,3,2,4,6,5,8,7,10,11,12,9]=>01001010001
[1,3,2,4,6,5,7,9,10,11,12,8]=>01001000001
[1,3,2,4,5,7,8,9,10,6,12,11]=>01000000101
[1,3,2,4,5,7,8,9,6,11,12,10]=>01000001001
[1,3,2,4,5,7,8,6,10,11,12,9]=>01000010001
[1,3,2,4,5,7,6,9,10,11,12,8]=>01000100001
[1,3,2,4,5,6,8,9,10,11,12,7]=>01000000001
[1,2,4,5,6,3,8,7,10,9,12,11]=>00001010101
[1,2,4,5,6,3,8,7,9,11,12,10]=>00001010001
[1,2,4,5,6,3,7,9,10,8,12,11]=>00001000101
[1,2,4,5,6,3,7,9,8,11,12,10]=>00001001001
[1,2,4,5,6,3,7,8,10,11,12,9]=>00001000001
[1,2,4,5,3,7,8,6,10,9,12,11]=>00010010101
[1,2,4,5,3,7,8,6,9,11,12,10]=>00010010001
[1,2,4,5,3,7,6,9,10,8,12,11]=>00010100101
[1,2,4,5,3,7,6,9,8,11,12,10]=>00010101001
[1,2,4,5,3,7,6,8,10,11,12,9]=>00010100001
[1,2,4,5,3,6,8,9,10,7,12,11]=>00010000101
[1,2,4,5,3,6,8,9,7,11,12,10]=>00010001001
[1,2,4,5,3,6,8,7,10,11,12,9]=>00010010001
[1,2,4,5,3,6,7,9,10,11,12,8]=>00010000001
[1,2,4,3,6,7,8,5,10,9,12,11]=>00100010101
[1,2,4,3,6,7,8,5,9,11,12,10]=>00100010001
[1,2,4,3,6,7,5,9,10,8,12,11]=>00100100101
[1,2,4,3,6,7,5,9,8,11,12,10]=>00100101001
[1,2,4,3,6,7,5,8,10,11,12,9]=>00100100001
[1,2,4,3,6,5,8,9,10,7,12,11]=>00101000101
[1,2,4,3,6,5,8,9,7,11,12,10]=>00101001001
[1,2,4,3,6,5,8,7,10,11,12,9]=>00101010001
[1,2,4,3,6,5,7,9,10,11,12,8]=>00101000001
[1,2,4,3,5,7,8,9,10,6,12,11]=>00100000101
[1,2,4,3,5,7,8,9,6,11,12,10]=>00100001001
[1,2,4,3,5,7,8,6,10,11,12,9]=>00100010001
[1,2,4,3,5,7,6,9,10,11,12,8]=>00100100001
[1,2,4,3,5,6,8,9,10,11,12,7]=>00100000001
[1,2,3,5,6,7,8,4,10,9,12,11]=>00000010101
[1,2,3,5,6,7,8,4,9,11,12,10]=>00000010001
[1,2,3,5,6,7,4,9,10,8,12,11]=>00000100101
[1,2,3,5,6,7,4,9,8,11,12,10]=>00000101001
[1,2,3,5,6,7,4,8,10,11,12,9]=>00000100001
[1,2,3,5,6,4,8,9,10,7,12,11]=>00001000101
[1,2,3,5,6,4,8,9,7,11,12,10]=>00001001001
[1,2,3,5,6,4,8,7,10,11,12,9]=>00001010001
[1,2,3,5,6,4,7,9,10,11,12,8]=>00001000001
[1,2,3,5,4,7,8,9,10,6,12,11]=>00010000101
[1,2,3,5,4,7,8,9,6,11,12,10]=>00010001001
[1,2,3,5,4,7,8,6,10,11,12,9]=>00010010001
[1,2,3,5,4,7,6,9,10,11,12,8]=>00010100001
[1,2,3,5,4,6,8,9,10,11,12,7]=>00010000001
[1,2,3,4,6,7,8,9,10,5,12,11]=>00000000101
[1,2,3,4,6,7,8,9,5,11,12,10]=>00000001001
[1,2,3,4,6,7,8,5,10,11,12,9]=>00000010001
[1,2,3,4,6,7,5,9,10,11,12,8]=>00000100001
[1,2,3,4,6,5,8,9,10,11,12,7]=>00001000001
[1,2,3,4,5,7,8,9,10,11,12,6]=>00000000001
[12,1,2,3,4,5,6,7,8,11,9,10]=>10000000010
[12,11,1,2,3,4,5,6,7,8,9,10]=>11000000000
[12,2,1,3,4,5,6,7,8,9,10,11]=>11000000000
[2,1,4,3,6,5,8,7,12,9,11,10]=>10101010101
[2,1,4,3,6,5,10,7,9,8,12,11]=>10101010101
[2,1,4,3,6,5,12,11,9,7,8,10]=>10101011100
[2,1,4,3,6,5,12,7,8,10,11,9]=>10101010001
[2,1,4,3,8,5,7,6,10,9,12,11]=>10101010101
[2,1,4,3,8,5,7,6,12,9,11,10]=>10101010101
[2,1,4,3,10,9,7,5,6,8,12,11]=>10101110001
[2,1,4,3,12,9,7,11,6,5,8,10]=>10101101100
[2,1,4,3,12,10,7,5,8,6,11,9]=>10101110101
[2,1,4,3,10,5,6,8,9,7,12,11]=>10101000101
[2,1,4,3,12,11,6,8,9,5,7,10]=>10101100100
[2,1,4,3,12,5,11,8,6,10,7,9]=>10101011010
[2,1,4,3,12,5,6,7,9,10,11,8]=>10101000001
[2,1,6,3,5,4,8,7,10,9,12,11]=>10101010101
[2,1,6,3,5,4,8,7,12,9,11,10]=>10101010101
[2,1,6,3,5,4,10,7,9,8,12,11]=>10101010101
[2,1,6,3,5,4,12,11,9,7,8,10]=>10101011100
[2,1,6,3,5,4,12,7,8,10,11,9]=>10101010001
[2,1,8,7,5,3,4,6,10,9,12,11]=>10111000101
[2,1,8,7,5,3,4,6,12,9,11,10]=>10111000101
[2,1,10,7,5,9,4,3,6,8,12,11]=>10110110001
[2,1,12,7,5,9,4,11,6,3,8,10]=>10110101100
[2,1,12,7,5,10,4,3,8,6,11,9]=>10110110101
[2,1,10,8,5,3,6,4,9,7,12,11]=>10111010101
[2,1,12,8,5,11,6,4,9,3,7,10]=>10110110100
[2,1,12,8,5,3,11,4,6,10,7,9]=>10111010010
[2,1,12,9,5,3,6,7,4,10,11,8]=>10111001001
[2,1,8,3,4,6,7,5,10,9,12,11]=>10100010101
[2,1,8,3,4,6,7,5,12,9,11,10]=>10100010101
[2,1,10,9,4,6,7,3,5,8,12,11]=>10110010001
[2,1,12,9,4,6,7,11,5,3,8,10]=>10110001100
[2,1,12,10,4,6,7,3,8,5,11,9]=>10110010101
[2,1,10,3,9,6,4,8,5,7,12,11]=>10101101001
[2,1,12,11,9,6,4,8,5,3,7,10]=>10111101100
[2,1,12,3,10,6,11,8,4,5,7,9]=>10101011000
[2,1,12,3,10,6,4,7,9,5,11,8]=>10101100101
[2,1,10,3,4,5,7,8,9,6,12,11]=>10100000101
[2,1,12,11,4,5,7,8,9,3,6,10]=>10110000100
[2,1,12,3,11,5,7,8,4,10,6,9]=>10101001010
[2,1,12,3,4,11,7,5,9,10,6,8]=>10100110010
[2,1,12,3,4,5,6,8,9,10,11,7]=>10100000001
[4,1,3,2,6,5,8,7,10,9,12,11]=>10101010101
[4,1,3,2,6,5,8,7,12,9,11,10]=>10101010101
[4,1,3,2,6,5,10,7,9,8,12,11]=>10101010101
[4,1,3,2,6,5,12,11,9,7,8,10]=>10101011100
[4,1,3,2,6,5,12,7,8,10,11,9]=>10101010001
[4,1,3,2,8,5,7,6,10,9,12,11]=>10101010101
[4,1,3,2,8,5,7,6,12,9,11,10]=>10101010101
[4,1,3,2,10,9,7,5,6,8,12,11]=>10101110001
[4,1,3,2,12,9,7,11,6,5,8,10]=>10101101100
[4,1,3,2,12,10,7,5,8,6,11,9]=>10101110101
[4,1,3,2,10,5,6,8,9,7,12,11]=>10101000101
[4,1,3,2,12,11,6,8,9,5,7,10]=>10101100100
[4,1,3,2,12,5,11,8,6,10,7,9]=>10101011010
[4,1,3,2,12,5,6,7,9,10,11,8]=>10101000001
[6,5,3,1,2,4,8,7,10,9,12,11]=>11100010101
[6,5,3,1,2,4,8,7,12,9,11,10]=>11100010101
[6,5,3,1,2,4,10,7,9,8,12,11]=>11100010101
[6,5,3,1,2,4,12,11,9,7,8,10]=>11100011100
[6,5,3,1,2,4,12,7,8,10,11,9]=>11100010001
[8,5,3,7,2,1,4,6,10,9,12,11]=>11011000101
[8,5,3,7,2,1,4,6,12,9,11,10]=>11011000101
[10,5,3,7,2,9,4,1,6,8,12,11]=>11010110001
[12,5,3,7,2,9,4,11,6,1,8,10]=>11010101100
[12,5,3,7,2,10,4,1,8,6,11,9]=>11010110101
[10,5,3,8,2,1,6,4,9,7,12,11]=>11011010101
[12,5,3,8,2,11,6,4,9,1,7,10]=>11010110100
[12,5,3,8,2,1,11,4,6,10,7,9]=>11011010010
[12,5,3,9,2,1,6,7,4,10,11,8]=>11011001001
[8,6,3,1,4,2,7,5,10,9,12,11]=>11101010101
[8,6,3,1,4,2,7,5,12,9,11,10]=>11101010101
[10,6,3,9,4,2,7,1,5,8,12,11]=>11011010001
[12,6,3,9,4,2,7,11,5,1,8,10]=>11011001100
[12,6,3,10,4,2,7,1,8,5,11,9]=>11011010101
[10,6,3,1,9,2,4,8,5,7,12,11]=>11101001001
[12,6,3,11,9,2,4,8,5,1,7,10]=>11011001100
[12,6,3,1,10,2,11,8,4,5,7,9]=>11101011000
[12,6,3,1,10,2,4,7,9,5,11,8]=>11101000101
[10,7,3,1,4,5,2,8,9,6,12,11]=>11100100101
[12,7,3,11,4,5,2,8,9,1,6,10]=>11010100100
[12,7,3,1,11,5,2,8,4,10,6,9]=>11101101010
[12,7,3,1,4,11,2,5,9,10,6,8]=>11100100010
[12,8,3,1,4,5,6,2,9,10,11,7]=>11100010001
[6,1,2,4,5,3,8,7,10,9,12,11]=>10001010101
[6,1,2,4,5,3,8,7,12,9,11,10]=>10001010101
[6,1,2,4,5,3,10,7,9,8,12,11]=>10001010101
[6,1,2,4,5,3,12,11,9,7,8,10]=>10001011100
[6,1,2,4,5,3,12,7,8,10,11,9]=>10001010001
[8,7,2,4,5,1,3,6,10,9,12,11]=>11001000101
[8,7,2,4,5,1,3,6,12,9,11,10]=>11001000101
[10,7,2,4,5,9,3,1,6,8,12,11]=>11000110001
[12,7,2,4,5,9,3,11,6,1,8,10]=>11000101100
[12,7,2,4,5,10,3,1,8,6,11,9]=>11000110101
[10,8,2,4,5,1,6,3,9,7,12,11]=>11001010101
[12,8,2,4,5,11,6,3,9,1,7,10]=>11000110100
[12,8,2,4,5,1,11,3,6,10,7,9]=>11001010010
[12,9,2,4,5,1,6,7,3,10,11,8]=>11001001001
[8,1,7,4,2,6,3,5,10,9,12,11]=>10110100101
[8,1,7,4,2,6,3,5,12,9,11,10]=>10110100101
[10,9,7,4,2,6,3,1,5,8,12,11]=>11110110001
[12,9,7,4,2,6,3,11,5,1,8,10]=>11110101100
[12,10,7,4,2,6,3,1,8,5,11,9]=>11110110101
[10,1,8,4,9,6,2,3,5,7,12,11]=>10101100001
[12,11,8,4,9,6,2,3,5,1,7,10]=>11101100100
[12,1,8,4,10,6,11,3,2,5,7,9]=>10101011000
[12,1,9,4,10,6,2,7,3,5,11,8]=>10101101001
[10,1,8,4,2,5,7,3,9,6,12,11]=>10110010101
[12,11,8,4,2,5,7,3,9,1,6,10]=>11110010100
[12,1,8,4,11,5,7,3,2,10,6,9]=>10101011010
[12,1,9,4,2,11,7,5,3,10,6,8]=>10110111010
[12,1,9,4,2,5,6,8,3,10,11,7]=>10110001001
[8,1,2,3,5,6,7,4,10,9,12,11]=>10000010101
[8,1,2,3,5,6,7,4,12,9,11,10]=>10000010101
[10,9,2,3,5,6,7,1,4,8,12,11]=>11000010001
[12,9,2,3,5,6,7,11,4,1,8,10]=>11000001100
[12,10,2,3,5,6,7,1,8,4,11,9]=>11000010101
[10,1,9,3,5,6,2,8,4,7,12,11]=>10100101001
[12,11,9,3,5,6,2,8,4,1,7,10]=>11100101100
[12,1,10,3,5,6,11,8,2,4,7,9]=>10100011000
[12,1,10,3,5,6,2,7,9,4,11,8]=>10100100101
[10,1,2,9,5,3,7,8,4,6,12,11]=>10011001001
[12,11,2,9,5,3,7,8,4,1,6,10]=>11011001100
[12,1,11,10,5,3,7,8,2,4,6,9]=>10111001000
[12,1,2,10,5,11,7,3,9,4,6,8]=>10010110100
[12,1,2,10,5,3,6,8,9,4,11,7]=>10011000101
[10,1,2,3,4,6,7,8,9,5,12,11]=>10000000101
[12,11,2,3,4,6,7,8,9,1,5,10]=>11000000100
[12,1,11,3,4,6,7,8,2,10,5,9]=>10100001010
[12,1,2,11,4,6,7,3,9,10,5,8]=>10010010010
[12,1,2,3,11,6,4,8,9,10,5,7]=>10001100010
[2,1,4,3,6,5,8,7,12,9,10,11]=>10101010100
[2,1,4,3,6,5,10,7,8,9,12,11]=>10101010001
[2,1,4,3,6,5,12,11,8,7,10,9]=>10101011101
[2,1,4,3,6,5,12,7,8,9,10,11]=>10101010000
[2,1,4,3,8,5,6,7,10,9,12,11]=>10101000101
[2,1,4,3,8,5,6,7,12,9,10,11]=>10101000100
[2,1,4,3,10,9,6,5,8,7,12,11]=>10101110101
[2,1,4,3,12,9,6,11,8,5,10,7]=>10101101101
[2,1,4,3,12,11,6,5,8,9,10,7]=>10101110001
[2,1,4,3,10,5,6,7,8,9,12,11]=>10101000001
[2,1,4,3,12,11,6,7,8,5,10,9]=>10101100101
[2,1,4,3,12,5,10,7,6,9,8,11]=>10101011010
[2,1,4,3,12,5,6,7,8,9,10,11]=>10101000000
[2,1,6,3,4,5,8,7,10,9,12,11]=>10100010101
[2,1,6,3,4,5,8,7,12,9,10,11]=>10100010100
[2,1,6,3,4,5,10,7,8,9,12,11]=>10100010001
[2,1,6,3,4,5,12,11,8,7,10,9]=>10100011101
[2,1,6,3,4,5,12,7,8,9,10,11]=>10100010000
[2,1,8,7,4,3,6,5,10,9,12,11]=>10111010101
[2,1,8,7,4,3,6,5,12,9,10,11]=>10111010100
[2,1,10,7,4,9,6,3,8,5,12,11]=>10110110101
[2,1,12,7,4,9,6,11,8,3,10,5]=>10110101101
[2,1,12,7,4,11,6,3,8,9,10,5]=>10110110001
[2,1,10,9,4,3,6,7,8,5,12,11]=>10111000101
[2,1,12,9,4,11,6,7,8,3,10,5]=>10110100101
[2,1,12,11,4,3,10,7,6,9,8,5]=>10111011011
[2,1,12,11,4,3,6,7,8,9,10,5]=>10111000001
[2,1,8,3,4,5,6,7,10,9,12,11]=>10100000101
[2,1,8,3,4,5,6,7,12,9,10,11]=>10100000100
[2,1,10,9,4,5,6,3,8,7,12,11]=>10110010101
[2,1,12,9,4,5,6,11,8,3,10,7]=>10110001101
[2,1,12,11,4,5,6,3,8,9,10,7]=>10110010001
[2,1,10,3,8,5,4,7,6,9,12,11]=>10101101001
[2,1,12,11,8,5,4,7,6,3,10,9]=>10111101101
[2,1,12,3,8,5,10,7,4,9,6,11]=>10101011010
[2,1,12,3,10,5,4,7,8,9,6,11]=>10101100010
[2,1,10,3,4,5,6,7,8,9,12,11]=>10100000001
[2,1,12,11,4,5,6,7,8,3,10,9]=>10110000101
[2,1,12,3,10,5,6,7,4,9,8,11]=>10101001010
[2,1,12,3,4,9,6,5,8,7,10,11]=>10100110100
[2,1,12,3,4,5,6,7,8,9,10,11]=>10100000000
[4,1,2,3,6,5,8,7,10,9,12,11]=>10001010101
[4,1,2,3,6,5,8,7,12,9,10,11]=>10001010100
[4,1,2,3,6,5,10,7,8,9,12,11]=>10001010001
[4,1,2,3,6,5,12,11,8,7,10,9]=>10001011101
[4,1,2,3,6,5,12,7,8,9,10,11]=>10001010000
[4,1,2,3,8,5,6,7,10,9,12,11]=>10001000101
[4,1,2,3,8,5,6,7,12,9,10,11]=>10001000100
[4,1,2,3,10,9,6,5,8,7,12,11]=>10001110101
[4,1,2,3,12,9,6,11,8,5,10,7]=>10001101101
[4,1,2,3,12,11,6,5,8,9,10,7]=>10001110001
[4,1,2,3,10,5,6,7,8,9,12,11]=>10001000001
[4,1,2,3,12,11,6,7,8,5,10,9]=>10001100101
[4,1,2,3,12,5,10,7,6,9,8,11]=>10001011010
[4,1,2,3,12,5,6,7,8,9,10,11]=>10001000000
[6,5,2,1,4,3,8,7,10,9,12,11]=>11101010101
[6,5,2,1,4,3,8,7,12,9,10,11]=>11101010100
[6,5,2,1,4,3,10,7,8,9,12,11]=>11101010001
[6,5,2,1,4,3,12,7,8,9,10,11]=>11101010000
[8,5,2,7,4,1,6,3,10,9,12,11]=>11011010101
[8,5,2,7,4,1,6,3,12,9,10,11]=>11011010100
[10,5,2,7,4,9,6,1,8,3,12,11]=>11010110101
[12,5,2,7,4,9,6,11,8,1,10,3]=>11010101101
[12,5,2,7,4,11,6,1,8,9,10,3]=>11010110001
[10,5,2,9,4,1,6,7,8,3,12,11]=>11011000101
[12,5,2,9,4,11,6,7,8,1,10,3]=>11010100101
[12,5,2,11,4,1,10,7,6,9,8,3]=>11011011011
[12,5,2,11,4,1,6,7,8,9,10,3]=>11011000001
[8,7,2,1,4,5,6,3,10,9,12,11]=>11100010101
[8,7,2,1,4,5,6,3,12,9,10,11]=>11100010100
[10,7,2,9,4,5,6,1,8,3,12,11]=>11010010101
[12,7,2,9,4,5,6,11,8,1,10,3]=>11010001101
[12,7,2,11,4,5,6,1,8,9,10,3]=>11010010001
[10,9,2,1,8,5,4,7,6,3,12,11]=>11101101101
[12,9,2,11,8,5,4,7,6,1,10,3]=>11011101101
[12,11,2,1,8,5,10,7,4,9,6,3]=>11101011011
[12,11,2,1,10,5,4,7,8,9,6,3]=>11101100011
[10,9,2,1,4,5,6,7,8,3,12,11]=>11100000101
[12,9,2,11,4,5,6,7,8,1,10,3]=>11010000101
[12,11,2,1,10,5,6,7,4,9,8,3]=>11101001011
[12,11,2,1,4,9,6,5,8,7,10,3]=>11100110101
[12,11,2,1,4,5,6,7,8,9,10,3]=>11100000001
[6,1,2,3,4,5,8,7,10,9,12,11]=>10000010101
[6,1,2,3,4,5,8,7,12,9,10,11]=>10000010100
[6,1,2,3,4,5,10,7,8,9,12,11]=>10000010001
[6,1,2,3,4,5,12,11,8,7,10,9]=>10000011101
[6,1,2,3,4,5,12,7,8,9,10,11]=>10000010000
[8,7,2,3,4,1,6,5,10,9,12,11]=>11001010101
[8,7,2,3,4,1,6,5,12,9,10,11]=>11001010100
[10,7,2,3,4,9,6,1,8,5,12,11]=>11000110101
[12,7,2,3,4,9,6,11,8,1,10,5]=>11000101101
[12,7,2,3,4,11,6,1,8,9,10,5]=>11000110001
[10,9,2,3,4,1,6,7,8,5,12,11]=>11001000101
[12,9,2,3,4,11,6,7,8,1,10,5]=>11000100101
[12,11,2,3,4,1,10,7,6,9,8,5]=>11001011011
[12,11,2,3,4,1,6,7,8,9,10,5]=>11001000001
[8,1,6,3,2,5,4,7,10,9,12,11]=>10110100101
[8,1,6,3,2,5,4,7,12,9,10,11]=>10110100100
[10,9,6,3,2,5,4,1,8,7,12,11]=>11110110101
[12,9,6,3,2,5,4,11,8,1,10,7]=>11110101101
[12,11,6,3,2,5,4,1,8,9,10,7]=>11110110001
[10,1,6,3,8,5,2,7,4,9,12,11]=>10101101001
[12,11,6,3,8,5,2,7,4,1,10,9]=>11101101101
[12,1,6,3,8,5,10,7,2,9,4,11]=>10101011010
[12,1,6,3,10,5,2,7,8,9,4,11]=>10101100010
[10,1,8,3,2,5,6,7,4,9,12,11]=>10110001001
[12,11,8,3,2,5,6,7,4,1,10,9]=>11110001101
[12,1,8,3,10,5,6,7,2,9,4,11]=>10101001010
[12,1,10,3,2,9,6,5,8,7,4,11]=>10110110110
[12,1,10,3,2,5,6,7,8,9,4,11]=>10110000010
[8,1,2,3,4,5,6,7,10,9,12,11]=>10000000101
[8,1,2,3,4,5,6,7,12,9,10,11]=>10000000100
[10,9,2,3,4,5,6,1,8,7,12,11]=>11000010101
[12,9,2,3,4,5,6,11,8,1,10,7]=>11000001101
[12,11,2,3,4,5,6,1,8,9,10,7]=>11000010001
[10,1,8,3,4,5,2,7,6,9,12,11]=>10100101001
[12,11,8,3,4,5,2,7,6,1,10,9]=>11100101101
[12,1,8,3,4,5,10,7,2,9,6,11]=>10100011010
[12,1,10,3,4,5,2,7,8,9,6,11]=>10100100010
[10,1,2,7,4,3,6,5,8,9,12,11]=>10011010001
[12,11,2,7,4,3,6,5,8,1,10,9]=>11011010101
[12,1,10,7,4,3,6,5,2,9,8,11]=>10111011010
[12,1,2,7,4,9,6,3,8,5,10,11]=>10010110100
[12,1,2,9,4,3,6,7,8,5,10,11]=>10011000100
[10,1,2,3,4,5,6,7,8,9,12,11]=>10000000001
[12,11,2,3,4,5,6,7,8,1,10,9]=>11000000101
[12,1,10,3,4,5,6,7,2,9,8,11]=>10100001010
[12,1,2,9,4,5,6,3,8,7,10,11]=>10010010100
[12,1,2,3,8,5,4,7,6,9,10,11]=>10001101000
[12,1,2,3,4,5,6,7,8,9,10,11]=>10000000000
[11,12,8,2,1,6,4,3,5,7,9,10]=>01110110000
[12,2,9,1,10,6,4,3,5,7,8,11]=>10101110000
[11,12,2,1,9,6,4,3,5,7,8,10]=>01101110000
[10,2,4,1,11,3,12,6,5,7,8,9]=>10101011000
[7,12,10,2,1,8,4,3,5,6,9,11]=>01110110000
[2,11,7,1,12,8,4,3,5,6,9,10]=>01101110000
[9,12,2,1,10,7,4,3,5,6,8,11]=>01101110000
[2,11,1,12,9,7,4,3,5,6,8,10]=>01011110000
[10,11,2,1,4,3,12,7,5,6,8,9]=>01101011000
[8,12,2,1,9,4,3,10,5,6,7,11]=>01101101000
[2,11,1,12,8,4,3,9,5,6,7,10]=>01011101000
[2,10,1,11,4,3,12,8,5,6,7,9]=>01011011000
[2,9,1,10,4,3,11,5,12,6,7,8]=>01011010100
[12,10,8,5,2,1,6,3,4,7,9,11]=>11111010000
[5,11,2,1,12,8,6,3,4,7,9,10]=>01101110000
[12,9,5,2,1,10,6,3,4,7,8,11]=>11110110000
[11,5,2,1,12,9,6,3,4,7,8,10]=>11101110000
[10,11,2,1,5,3,12,6,4,7,8,9]=>01101011000
[12,10,7,2,1,8,5,3,4,6,9,11]=>11110110000
[11,7,2,1,12,8,5,3,4,6,9,10]=>11101110000
[12,9,2,1,10,7,5,3,4,6,8,11]=>11101110000
[11,2,1,12,9,7,5,3,4,6,8,10]=>11011110000
[10,11,2,1,3,12,7,5,4,6,8,9]=>01100111000
[8,9,2,1,12,3,10,5,4,6,7,11]=>01101011000
[11,8,2,1,12,3,9,5,4,6,7,10]=>11101011000
[2,10,1,11,3,12,8,5,4,6,7,9]=>01010111000
[2,9,1,10,3,11,5,4,12,6,7,8]=>01010110100
[12,10,6,2,1,7,3,8,4,5,9,11]=>11110101000
[11,6,2,1,12,7,3,8,4,5,9,10]=>11101101000
[12,9,2,1,10,6,3,7,4,5,8,11]=>11101101000
[11,2,1,12,9,6,3,7,4,5,8,10]=>11011101000
[10,2,1,11,6,3,12,7,4,5,8,9]=>11011011000
[12,8,2,1,9,3,10,6,4,5,7,11]=>11101011000
[11,2,1,12,8,3,9,6,4,5,7,10]=>11011011000
[10,2,1,11,3,12,8,6,4,5,7,9]=>11010111000
[2,9,1,10,3,11,4,12,6,5,7,8]=>01010101100
[12,7,2,1,8,3,9,4,10,5,6,11]=>11101010100
[11,2,1,12,7,3,8,4,9,5,6,10]=>11011010100
[10,2,1,11,3,12,7,4,8,5,6,9]=>11010110100
[9,2,1,10,3,11,4,12,7,5,6,8]=>11010101100
[8,2,1,9,3,10,4,11,5,12,6,7]=>11010101010
[12,10,8,6,3,1,4,2,5,7,9,11]=>11111010000
[11,12,3,1,8,6,4,2,5,7,9,10]=>01101110000
[9,12,3,1,10,6,4,2,5,7,8,11]=>01101110000
[3,11,1,12,9,6,4,2,5,7,8,10]=>01011110000
[3,10,4,1,11,2,12,6,5,7,8,9]=>01101011000
[12,10,7,3,1,8,4,2,5,6,9,11]=>11110110000
[11,7,3,1,12,8,4,2,5,6,9,10]=>11101110000
[12,9,3,1,10,7,4,2,5,6,8,11]=>11101110000
[11,3,1,12,9,7,4,2,5,6,8,10]=>11011110000
[3,10,1,11,4,2,12,7,5,6,8,9]=>01011011000
[12,8,3,1,9,4,2,10,5,6,7,11]=>11101101000
[11,3,1,12,8,4,2,9,5,6,7,10]=>11011101000
[10,3,1,11,4,2,12,8,5,6,7,9]=>11011011000
[9,3,1,10,4,2,11,5,12,6,7,8]=>11011010100
[12,10,8,5,1,6,3,2,4,7,9,11]=>11110110000
[5,11,1,12,8,6,3,2,4,7,9,10]=>01011110000
[12,9,5,1,10,6,3,2,4,7,8,11]=>11101110000
[11,5,1,12,9,6,3,2,4,7,8,10]=>11011110000
[3,10,1,11,5,2,12,6,4,7,8,9]=>01011011000
[12,10,7,1,8,5,3,2,4,6,9,11]=>11101110000
[11,7,1,12,8,5,3,2,4,6,9,10]=>11011110000
[12,9,1,10,7,5,3,2,4,6,8,11]=>11011110000
[11,1,12,9,7,5,3,2,4,6,8,10]=>10111110000
[3,10,1,11,2,12,7,5,4,6,8,9]=>01010111000
[8,9,1,12,3,2,10,5,4,6,7,11]=>01011011000
[11,8,1,12,3,2,9,5,4,6,7,10]=>11011011000
[10,3,1,11,2,12,8,5,4,6,7,9]=>11010111000
[9,3,1,10,2,11,5,4,12,6,7,8]=>11010110100
[12,10,6,1,7,3,2,8,4,5,9,11]=>11101101000
[11,6,1,12,7,3,2,8,4,5,9,10]=>11011101000
[12,9,1,10,6,3,2,7,4,5,8,11]=>11011101000
[11,1,12,9,6,3,2,7,4,5,8,10]=>10111101000
[10,1,11,6,3,2,12,7,4,5,8,9]=>10111011000
[12,8,1,9,3,2,10,6,4,5,7,11]=>11011011000
[11,1,12,8,3,2,9,6,4,5,7,10]=>10111011000
[10,1,11,3,2,12,8,6,4,5,7,9]=>10110111000
[9,3,1,10,2,11,4,12,6,5,7,8]=>11010101100
[12,7,1,8,3,2,9,4,10,5,6,11]=>11011010100
[11,1,12,7,3,2,8,4,9,5,6,10]=>10111010100
[10,1,11,3,2,12,7,4,8,5,6,9]=>10110110100
[9,1,10,3,2,11,4,12,7,5,6,8]=>10110101100
[8,1,9,3,2,10,4,11,5,12,6,7]=>10110101010
[12,10,8,4,1,5,2,6,3,7,9,11]=>11110101000
[4,11,1,12,8,5,2,6,3,7,9,10]=>01011101000
[12,9,4,1,10,5,2,6,3,7,8,11]=>11101101000
[11,4,1,12,9,5,2,6,3,7,8,10]=>11011101000
[10,4,1,11,5,2,12,6,3,7,8,9]=>11011011000
[12,10,7,1,8,4,2,5,3,6,9,11]=>11101101000
[11,7,1,12,8,4,2,5,3,6,9,10]=>11011101000
[12,9,1,10,7,4,2,5,3,6,8,11]=>11011101000
[11,1,12,9,7,4,2,5,3,6,8,10]=>10111101000
[10,4,1,11,2,12,7,5,3,6,8,9]=>11010111000
[12,8,1,9,4,2,10,5,3,6,7,11]=>11011011000
[11,1,12,8,4,2,9,5,3,6,7,10]=>10111011000
[10,1,11,4,2,12,8,5,3,6,7,9]=>10110111000
[9,1,10,4,2,11,5,3,12,6,7,8]=>10110110100
[12,10,6,1,7,2,8,4,3,5,9,11]=>11101011000
[11,6,1,12,7,2,8,4,3,5,9,10]=>11011011000
[12,9,1,10,6,2,7,4,3,5,8,11]=>11011011000
[11,1,12,9,6,2,7,4,3,5,8,10]=>10111011000
[10,1,11,6,2,12,7,4,3,5,8,9]=>10110111000
[12,8,1,9,2,10,6,4,3,5,7,11]=>11010111000
[11,1,12,8,2,9,6,4,3,5,7,10]=>10110111000
[10,1,11,2,12,8,6,4,3,5,7,9]=>10101111000
[9,1,10,4,2,11,3,12,6,5,7,8]=>10110101100
[12,7,1,8,2,9,4,3,10,5,6,11]=>11010110100
[11,1,12,7,2,8,4,3,9,5,6,10]=>10110110100
[10,1,11,2,12,7,4,3,8,5,6,9]=>10101110100
[9,1,10,2,11,4,3,12,7,5,6,8]=>10101101100
[8,1,9,2,10,4,3,11,5,12,6,7]=>10101101010
[12,10,5,1,6,2,7,3,8,4,9,11]=>11101010100
[11,5,1,12,6,2,7,3,8,4,9,10]=>11011010100
[12,9,1,10,5,2,6,3,7,4,8,11]=>11011010100
[11,1,12,9,5,2,6,3,7,4,8,10]=>10111010100
[10,1,11,5,2,12,6,3,7,4,8,9]=>10110110100
[12,8,1,9,2,10,5,3,6,4,7,11]=>11010110100
[11,1,12,8,2,9,5,3,6,4,7,10]=>10110110100
[10,1,11,2,12,8,5,3,6,4,7,9]=>10101110100
[9,1,10,2,11,5,3,12,6,4,7,8]=>10101101100
[12,7,1,8,2,9,3,10,5,4,6,11]=>11010101100
[11,1,12,7,2,8,3,9,5,4,6,10]=>10110101100
[10,1,11,2,12,7,3,8,5,4,6,9]=>10101101100
[9,1,10,2,11,3,12,7,5,4,6,8]=>10101011100
[8,1,9,2,10,3,11,5,4,12,6,7]=>10101011010
[12,6,1,7,2,8,3,9,4,10,5,11]=>11010101010
[11,1,12,6,2,7,3,8,4,9,5,10]=>10110101010
[10,1,11,2,12,6,3,7,4,8,5,9]=>10101101010
[9,1,10,2,11,3,12,6,4,7,5,8]=>10101011010
[8,1,9,2,10,3,11,4,12,6,5,7]=>10101010110
[3,2,5,4,7,6,9,8,10,12,11,1]=>10101010011
[3,2,5,4,7,6,8,11,9,10,12,1]=>10101001001
[3,2,5,4,7,6,8,10,9,12,11,1]=>10101001011
[3,2,5,4,7,6,8,9,12,10,11,1]=>10101000101
[3,2,5,4,6,9,7,8,11,10,12,1]=>10100100101
[3,2,5,4,6,9,7,8,10,12,11,1]=>10100100011
[3,2,5,4,6,8,7,11,9,10,12,1]=>10100101001
[3,2,5,4,6,8,7,10,9,12,11,1]=>10100101011
[3,2,5,4,6,8,7,9,12,10,11,1]=>10100100101
[3,2,5,4,6,7,11,8,9,10,12,1]=>10100010001
[3,2,5,4,6,7,10,8,9,12,11,1]=>10100010011
[3,2,5,4,6,7,9,8,12,10,11,1]=>10100010101
[3,2,5,4,6,7,8,12,9,10,11,1]=>10100001001
[3,2,4,7,5,6,9,8,11,10,12,1]=>10010010101
[3,2,4,7,5,6,9,8,10,12,11,1]=>10010010011
[3,2,4,7,5,6,8,11,9,10,12,1]=>10010001001
[3,2,4,7,5,6,8,10,9,12,11,1]=>10010001011
[3,2,4,7,5,6,8,9,12,10,11,1]=>10010000101
[3,2,4,6,5,9,7,8,11,10,12,1]=>10010100101
[3,2,4,6,5,9,7,8,10,12,11,1]=>10010100011
[3,2,4,6,5,8,7,11,9,10,12,1]=>10010101001
[3,2,4,6,5,8,7,10,9,12,11,1]=>10010101011
[3,2,4,6,5,8,7,9,12,10,11,1]=>10010100101
[3,2,4,6,5,7,11,8,9,10,12,1]=>10010010001
[3,2,4,6,5,7,10,8,9,12,11,1]=>10010010011
[3,2,4,6,5,7,9,8,12,10,11,1]=>10010010101
[3,2,4,6,5,7,8,12,9,10,11,1]=>10010001001
[3,2,4,5,9,6,7,8,11,10,12,1]=>10001000101
[3,2,4,5,9,6,7,8,10,12,11,1]=>10001000011
[3,2,4,5,8,6,7,11,9,10,12,1]=>10001001001
[3,2,4,5,8,6,7,10,9,12,11,1]=>10001001011
[3,2,4,5,8,6,7,9,12,10,11,1]=>10001000101
[3,2,4,5,7,6,11,8,9,10,12,1]=>10001010001
[3,2,4,5,7,6,10,8,9,12,11,1]=>10001010011
[3,2,4,5,7,6,9,8,12,10,11,1]=>10001010101
[3,2,4,5,7,6,8,12,9,10,11,1]=>10001001001
[3,2,4,5,6,11,7,8,9,10,12,1]=>10000100001
[3,2,4,5,6,10,7,8,9,12,11,1]=>10000100011
[3,2,4,5,6,9,7,8,12,10,11,1]=>10000100101
[3,2,4,5,6,8,7,12,9,10,11,1]=>10000101001
[3,2,4,5,6,7,12,8,9,10,11,1]=>10000010001
[2,5,3,4,7,6,9,8,11,10,12,1]=>01001010101
[2,5,3,4,7,6,9,8,10,12,11,1]=>01001010011
[2,5,3,4,7,6,8,11,9,10,12,1]=>01001001001
[2,5,3,4,7,6,8,10,9,12,11,1]=>01001001011
[2,5,3,4,7,6,8,9,12,10,11,1]=>01001000101
[2,5,3,4,6,9,7,8,11,10,12,1]=>01000100101
[2,5,3,4,6,9,7,8,10,12,11,1]=>01000100011
[2,5,3,4,6,8,7,11,9,10,12,1]=>01000101001
[2,5,3,4,6,8,7,10,9,12,11,1]=>01000101011
[2,5,3,4,6,8,7,9,12,10,11,1]=>01000100101
[2,5,3,4,6,7,11,8,9,10,12,1]=>01000010001
[2,5,3,4,6,7,10,8,9,12,11,1]=>01000010011
[2,5,3,4,6,7,9,8,12,10,11,1]=>01000010101
[2,5,3,4,6,7,8,12,9,10,11,1]=>01000001001
[2,4,3,7,5,6,9,8,11,10,12,1]=>01010010101
[2,4,3,7,5,6,9,8,10,12,11,1]=>01010010011
[2,4,3,7,5,6,8,11,9,10,12,1]=>01010001001
[2,4,3,7,5,6,8,10,9,12,11,1]=>01010001011
[2,4,3,7,5,6,8,9,12,10,11,1]=>01010000101
[2,4,3,6,5,9,7,8,11,10,12,1]=>01010100101
[2,4,3,6,5,9,7,8,10,12,11,1]=>01010100011
[2,4,3,6,5,8,7,11,9,10,12,1]=>01010101001
[2,4,3,6,5,8,7,9,12,10,11,1]=>01010100101
[2,4,3,6,5,7,11,8,9,10,12,1]=>01010010001
[2,4,3,6,5,7,10,8,9,12,11,1]=>01010010011
[2,4,3,6,5,7,9,8,12,10,11,1]=>01010010101
[2,4,3,6,5,7,8,12,9,10,11,1]=>01010001001
[2,4,3,5,9,6,7,8,11,10,12,1]=>01001000101
[2,4,3,5,9,6,7,8,10,12,11,1]=>01001000011
[2,4,3,5,8,6,7,11,9,10,12,1]=>01001001001
[2,4,3,5,8,6,7,10,9,12,11,1]=>01001001011
[2,4,3,5,8,6,7,9,12,10,11,1]=>01001000101
[2,4,3,5,7,6,11,8,9,10,12,1]=>01001010001
[2,4,3,5,7,6,10,8,9,12,11,1]=>01001010011
[2,4,3,5,7,6,9,8,12,10,11,1]=>01001010101
[2,4,3,5,7,6,8,12,9,10,11,1]=>01001001001
[2,4,3,5,6,11,7,8,9,10,12,1]=>01000100001
[2,4,3,5,6,10,7,8,9,12,11,1]=>01000100011
[2,4,3,5,6,9,7,8,12,10,11,1]=>01000100101
[2,4,3,5,6,8,7,12,9,10,11,1]=>01000101001
[2,4,3,5,6,7,12,8,9,10,11,1]=>01000010001
[2,3,7,4,5,6,9,8,11,10,12,1]=>00100010101
[2,3,7,4,5,6,9,8,10,12,11,1]=>00100010011
[2,3,7,4,5,6,8,11,9,10,12,1]=>00100001001
[2,3,7,4,5,6,8,10,9,12,11,1]=>00100001011
[2,3,7,4,5,6,8,9,12,10,11,1]=>00100000101
[2,3,6,4,5,9,7,8,11,10,12,1]=>00100100101
[2,3,6,4,5,9,7,8,10,12,11,1]=>00100100011
[2,3,6,4,5,8,7,11,9,10,12,1]=>00100101001
[2,3,6,4,5,8,7,10,9,12,11,1]=>00100101011
[2,3,6,4,5,8,7,9,12,10,11,1]=>00100100101
[2,3,6,4,5,7,11,8,9,10,12,1]=>00100010001
[2,3,6,4,5,7,10,8,9,12,11,1]=>00100010011
[2,3,6,4,5,7,9,8,12,10,11,1]=>00100010101
[2,3,6,4,5,7,8,12,9,10,11,1]=>00100001001
[2,3,5,4,9,6,7,8,11,10,12,1]=>00101000101
[2,3,5,4,9,6,7,8,10,12,11,1]=>00101000011
[2,3,5,4,8,6,7,11,9,10,12,1]=>00101001001
[2,3,5,4,8,6,7,10,9,12,11,1]=>00101001011
[2,3,5,4,8,6,7,9,12,10,11,1]=>00101000101
[2,3,5,4,7,6,11,8,9,10,12,1]=>00101010001
[2,3,5,4,7,6,10,8,9,12,11,1]=>00101010011
[2,3,5,4,7,6,9,8,12,10,11,1]=>00101010101
[2,3,5,4,7,6,8,12,9,10,11,1]=>00101001001
[2,3,5,4,6,11,7,8,9,10,12,1]=>00100100001
[2,3,5,4,6,10,7,8,9,12,11,1]=>00100100011
[2,3,5,4,6,9,7,8,12,10,11,1]=>00100100101
[2,3,5,4,6,8,7,12,9,10,11,1]=>00100101001
[2,3,5,4,6,7,12,8,9,10,11,1]=>00100010001
[2,3,4,9,5,6,7,8,11,10,12,1]=>00010000101
[2,3,4,9,5,6,7,8,10,12,11,1]=>00010000011
[2,3,4,8,5,6,7,11,9,10,12,1]=>00010001001
[2,3,4,8,5,6,7,10,9,12,11,1]=>00010001011
[2,3,4,8,5,6,7,9,12,10,11,1]=>00010000101
[2,3,4,7,5,6,11,8,9,10,12,1]=>00010010001
[2,3,4,7,5,6,10,8,9,12,11,1]=>00010010011
[2,3,4,7,5,6,9,8,12,10,11,1]=>00010010101
[2,3,4,7,5,6,8,12,9,10,11,1]=>00010001001
[2,3,4,6,5,11,7,8,9,10,12,1]=>00010100001
[2,3,4,6,5,10,7,8,9,12,11,1]=>00010100011
[2,3,4,6,5,9,7,8,12,10,11,1]=>00010100101
[2,3,4,6,5,8,7,12,9,10,11,1]=>00010101001
[2,3,4,6,5,7,12,8,9,10,11,1]=>00010010001
[2,3,4,5,11,6,7,8,9,10,12,1]=>00001000001
[2,3,4,5,10,6,7,8,9,12,11,1]=>00001000011
[2,3,4,5,9,6,7,8,12,10,11,1]=>00001000101
[2,3,4,5,8,6,7,12,9,10,11,1]=>00001001001
[2,3,4,5,7,6,12,8,9,10,11,1]=>00001010001
[12,11,9,5,10,7,1,2,4,8,3,6]=>11101100010
[11,9,5,12,10,7,1,2,4,8,3,6]=>11011100010
[10,7,1,2,4,9,5,12,11,8,3,6]=>11000101110
[12,10,7,1,2,4,9,5,11,8,3,6]=>11100010110
[10,7,1,2,4,12,9,5,11,8,3,6]=>11000110110
[8,3,7,1,2,4,12,11,9,5,10,6]=>10100011101
[8,3,7,1,2,4,11,9,5,12,10,6]=>10100011011
[12,11,8,3,7,1,2,4,9,5,10,6]=>11101000101
[11,8,3,7,1,2,4,9,5,12,10,6]=>11010001011
[12,9,5,11,8,3,7,1,2,4,10,6]=>11011010001
[8,3,12,11,7,1,2,4,9,5,10,6]=>10111000101
[8,3,11,7,1,2,4,9,5,12,10,6]=>10110001011
[8,3,12,9,5,11,7,1,2,4,10,6]=>10110110001
[12,8,3,9,5,11,7,1,2,4,10,6]=>11010110001
[10,7,1,2,5,12,11,9,4,8,3,6]=>11000111010
[12,10,7,1,2,5,11,9,4,8,3,6]=>11100011010
[9,4,10,7,1,2,5,12,11,8,3,6]=>10110001110
[9,4,12,10,7,1,2,5,11,8,3,6]=>10111000110
[12,9,4,10,7,1,2,5,11,8,3,6]=>11011000110
[12,11,9,4,8,3,7,1,2,5,10,6]=>11101010001
[11,9,4,8,3,7,1,2,5,12,10,6]=>11010100011
[9,4,12,11,8,3,7,1,2,5,10,6]=>10111010001
[9,4,11,8,3,7,1,2,5,12,10,6]=>10110100011
[11,8,3,7,1,2,5,12,9,4,10,6]=>11010001101
[8,3,9,4,12,11,7,1,2,5,10,6]=>10101110001
[8,3,9,4,11,7,1,2,5,12,10,6]=>10101100011
[8,3,11,7,1,2,5,12,9,4,10,6]=>10110001101
[11,7,1,2,5,12,8,3,9,4,10,6]=>11000110101
[10,5,12,11,9,4,8,3,7,1,2,6]=>10111010100
[12,10,5,11,9,4,8,3,7,1,2,6]=>11011010100
[9,4,10,5,12,11,8,3,7,1,2,6]=>10101110100
[9,4,12,10,5,11,8,3,7,1,2,6]=>10110110100
[12,9,4,10,5,11,8,3,7,1,2,6]=>11010110100
[8,3,9,4,10,5,12,11,7,1,2,6]=>10101011100
[8,3,9,4,12,10,5,11,7,1,2,6]=>10101101100
[8,3,12,9,4,10,5,11,7,1,2,6]=>10110101100
[12,8,3,9,4,10,5,11,7,1,2,6]=>11010101100
[7,1,2,8,3,9,4,10,5,12,11,6]=>10010101011
[7,1,2,8,3,9,4,12,10,5,11,6]=>10010101101
[7,1,2,8,3,12,9,4,10,5,11,6]=>10010110101
[7,1,2,12,8,3,9,4,10,5,11,6]=>10011010101
[12,7,1,2,8,3,9,4,10,5,11,6]=>11001010101
[8,2,4,12,11,9,5,10,7,1,3,6]=>10011101100
[8,2,4,11,9,5,12,10,7,1,3,6]=>10011011100
[12,11,8,2,4,9,5,10,7,1,3,6]=>11100101100
[11,8,2,4,9,5,12,10,7,1,3,6]=>11001011100
[12,9,5,11,8,2,4,10,7,1,3,6]=>11011001100
[7,1,3,8,2,4,12,11,9,5,10,6]=>10010011101
[7,1,3,8,2,4,11,9,5,12,10,6]=>10010011011
[7,1,3,12,11,8,2,4,9,5,10,6]=>10011100101
[7,1,3,11,8,2,4,9,5,12,10,6]=>10011001011
[7,1,3,12,9,5,11,8,2,4,10,6]=>10011011001
[12,11,7,1,3,8,2,4,9,5,10,6]=>11100100101
[11,7,1,3,8,2,4,9,5,12,10,6]=>11001001011
[12,9,5,11,7,1,3,8,2,4,10,6]=>11011001001
[11,7,1,3,9,5,12,8,2,4,10,6]=>11001011001
[12,11,9,4,8,2,5,10,7,1,3,6]=>11101001100
[11,9,4,8,2,5,12,10,7,1,3,6]=>11010011100
[9,4,12,11,8,2,5,10,7,1,3,6]=>10111001100
[9,4,11,8,2,5,12,10,7,1,3,6]=>10110011100
[11,8,2,5,12,9,4,10,7,1,3,6]=>11001101100
[7,1,3,12,11,9,4,8,2,5,10,6]=>10011101001
[7,1,3,11,9,4,8,2,5,12,10,6]=>10011010011
[7,1,3,9,4,12,11,8,2,5,10,6]=>10010111001
[7,1,3,9,4,11,8,2,5,12,10,6]=>10010110011
[7,1,3,11,8,2,5,12,9,4,10,6]=>10011001101
[9,4,12,11,7,1,3,8,2,5,10,6]=>10111001001
[9,4,11,7,1,3,8,2,5,12,10,6]=>10110010011
[11,7,1,3,8,2,5,12,9,4,10,6]=>11001001101
[12,8,2,5,11,7,1,3,9,4,10,6]=>11001100101
[7,1,3,10,5,12,11,9,4,8,2,6]=>10010111010
[7,1,3,12,10,5,11,9,4,8,2,6]=>10011011010
[7,1,3,9,4,10,5,12,11,8,2,6]=>10010101110
[7,1,3,9,4,12,10,5,11,8,2,6]=>10010110110
[7,1,3,12,9,4,10,5,11,8,2,6]=>10011010110
[9,4,10,5,12,11,7,1,3,8,2,6]=>10101110010
[9,4,12,10,5,11,7,1,3,8,2,6]=>10110110010
[12,9,4,10,5,11,7,1,3,8,2,6]=>11010110010
[11,7,1,3,9,4,10,5,12,8,2,6]=>11001010110
[8,2,7,1,3,9,4,10,5,12,11,6]=>10100101011
[8,2,7,1,3,9,4,12,10,5,11,6]=>10100101101
[8,2,7,1,3,12,9,4,10,5,11,6]=>10100110101
[12,8,2,7,1,3,9,4,10,5,11,6]=>11010010101
[8,2,12,7,1,3,9,4,10,5,11,6]=>10110010101
[10,7,1,4,8,2,5,12,11,9,3,6]=>11001001110
[12,10,7,1,4,8,2,5,11,9,3,6]=>11100100110
[12,11,8,2,5,10,7,1,4,9,3,6]=>11100110010
[11,8,2,5,12,10,7,1,4,9,3,6]=>11001110010
[10,7,1,4,11,8,2,5,12,9,3,6]=>11001100110
[12,11,9,3,7,1,4,8,2,5,10,6]=>11101001001
[11,9,3,7,1,4,8,2,5,12,10,6]=>11010010011
[9,3,7,1,4,12,11,8,2,5,10,6]=>10100111001
[9,3,7,1,4,11,8,2,5,12,10,6]=>10100110011
[11,8,2,5,12,9,3,7,1,4,10,6]=>11001101001
[12,11,7,1,4,9,3,8,2,5,10,6]=>11100101001
[11,7,1,4,9,3,8,2,5,12,10,6]=>11001010011
[12,9,3,8,2,5,11,7,1,4,10,6]=>11010011001
[9,3,12,8,2,5,11,7,1,4,10,6]=>10110011001
[10,5,12,11,9,3,7,1,4,8,2,6]=>10111010010
[12,10,5,11,9,3,7,1,4,8,2,6]=>11011010010
[9,3,7,1,4,10,5,12,11,8,2,6]=>10100101110
[9,3,7,1,4,12,10,5,11,8,2,6]=>10100110110
[12,9,3,7,1,4,10,5,11,8,2,6]=>11010010110
[10,5,12,11,7,1,4,9,3,8,2,6]=>10111001010
[12,10,5,11,7,1,4,9,3,8,2,6]=>11011001010
[11,7,1,4,10,5,12,9,3,8,2,6]=>11001011010
[9,3,11,7,1,4,10,5,12,8,2,6]=>10110010110
[9,3,8,2,7,1,4,10,5,12,11,6]=>10101001011
[9,3,8,2,7,1,4,12,10,5,11,6]=>10101001101
[12,9,3,8,2,7,1,4,10,5,11,6]=>11010100101
[9,3,12,8,2,7,1,4,10,5,11,6]=>10110100101
[8,2,9,3,12,7,1,4,10,5,11,6]=>10101100101
[12,11,9,3,7,1,5,10,4,8,2,6]=>11101001010
[11,9,3,7,1,5,12,10,4,8,2,6]=>11010011010
[10,4,9,3,7,1,5,12,11,8,2,6]=>10101001110
[12,10,4,9,3,7,1,5,11,8,2,6]=>11010100110
[10,4,12,9,3,7,1,5,11,8,2,6]=>10110100110
[12,11,7,1,5,10,4,9,3,8,2,6]=>11100101010
[11,7,1,5,12,10,4,9,3,8,2,6]=>11001101010
[10,4,11,7,1,5,12,9,3,8,2,6]=>10110011010
[9,3,10,4,11,7,1,5,12,8,2,6]=>10101100110
[10,4,9,3,8,2,7,1,5,12,11,6]=>10101010011
[12,10,4,9,3,8,2,7,1,5,11,6]=>11010101001
[10,4,12,9,3,8,2,7,1,5,11,6]=>10110101001
[9,3,10,4,12,8,2,7,1,5,11,6]=>10101101001
[8,2,9,3,10,4,12,7,1,5,11,6]=>10101011001
[12,11,5,10,4,9,3,8,2,7,1,6]=>11010101010
[11,5,12,10,4,9,3,8,2,7,1,6]=>10110101010
[10,4,11,5,12,9,3,8,2,7,1,6]=>10101101010
[9,3,10,4,11,5,12,8,2,7,1,6]=>10101011010
[8,2,9,3,10,4,11,5,12,7,1,6]=>10101010110
[3,4,1,5,6,7,8,9,10,11,12,2]=>01000000001
[8,2,9,3,10,4,11,5,12,6,1,7]=>10101010110
[8,2,9,3,10,4,11,5,12,1,6,7]=>10101010100
[8,2,9,3,10,4,11,12,5,6,1,7]=>10101001010
[8,2,9,3,10,4,11,12,5,1,6,7]=>10101001100
[8,2,9,3,10,4,11,12,1,5,6,7]=>10101001000
[8,2,9,3,10,11,4,5,12,6,1,7]=>10100100110
[8,2,9,3,10,11,4,5,12,1,6,7]=>10100100100
[8,2,9,3,10,11,4,12,5,6,1,7]=>10100101010
[8,2,9,3,10,11,4,12,5,1,6,7]=>10100101100
[8,2,9,3,10,11,4,12,1,5,6,7]=>10100101000
[8,2,9,3,10,11,12,4,5,6,1,7]=>10100010010
[8,2,9,3,10,11,12,4,5,1,6,7]=>10100010100
[8,2,9,3,10,11,12,4,1,5,6,7]=>10100011000
[8,2,9,3,10,11,12,1,4,5,6,7]=>10100010000
[8,2,9,10,3,4,11,5,12,6,1,7]=>10010010110
[8,2,9,10,3,4,11,5,12,1,6,7]=>10010010100
[8,2,9,10,3,4,11,12,5,6,1,7]=>10010001010
[8,2,9,10,3,4,11,12,5,1,6,7]=>10010001100
[8,2,9,10,3,4,11,12,1,5,6,7]=>10010001000
[8,2,9,10,3,11,4,5,12,6,1,7]=>10010100110
[8,2,9,10,3,11,4,5,12,1,6,7]=>10010100100
[8,2,9,10,3,11,4,12,5,6,1,7]=>10010101010
[8,2,9,10,3,11,4,12,5,1,6,7]=>10010101100
[8,2,9,10,3,11,4,12,1,5,6,7]=>10010101000
[8,2,9,10,3,11,12,4,5,6,1,7]=>10010010010
[8,2,9,10,3,11,12,4,5,1,6,7]=>10010010100
[8,2,9,10,3,11,12,4,1,5,6,7]=>10010011000
[8,2,9,10,3,11,12,1,4,5,6,7]=>10010010000
[8,2,9,10,11,3,4,5,12,6,1,7]=>10001000110
[8,2,9,10,11,3,4,5,12,1,6,7]=>10001000100
[8,2,9,10,11,3,4,12,5,6,1,7]=>10001001010
[8,2,9,10,11,3,4,12,5,1,6,7]=>10001001100
[8,2,9,10,11,3,4,12,1,5,6,7]=>10001001000
[8,2,9,10,11,3,12,4,5,6,1,7]=>10001010010
[8,2,9,10,11,3,12,4,5,1,6,7]=>10001010100
[8,2,9,10,11,3,12,4,1,5,6,7]=>10001011000
[8,2,9,10,11,3,12,1,4,5,6,7]=>10001010000
[8,2,9,10,11,12,3,4,5,6,1,7]=>10000100010
[8,2,9,10,11,12,3,4,5,1,6,7]=>10000100100
[8,2,9,10,11,12,3,4,1,5,6,7]=>10000101000
[8,2,9,10,11,12,3,1,4,5,6,7]=>10000110000
[8,2,9,10,11,12,1,3,4,5,6,7]=>10000100000
[8,9,2,3,10,4,11,5,12,6,1,7]=>01001010110
[8,9,2,3,10,4,11,5,12,1,6,7]=>01001010100
[8,9,2,3,10,4,11,12,5,6,1,7]=>01001001010
[8,9,2,3,10,4,11,12,5,1,6,7]=>01001001100
[8,9,2,3,10,4,11,12,1,5,6,7]=>01001001000
[8,9,2,3,10,11,4,5,12,6,1,7]=>01000100110
[8,9,2,3,10,11,4,5,12,1,6,7]=>01000100100
[8,9,2,3,10,11,4,12,5,6,1,7]=>01000101010
[8,9,2,3,10,11,4,12,5,1,6,7]=>01000101100
[8,9,2,3,10,11,4,12,1,5,6,7]=>01000101000
[8,9,2,3,10,11,12,4,5,6,1,7]=>01000010010
[8,9,2,3,10,11,12,4,5,1,6,7]=>01000010100
[8,9,2,3,10,11,12,4,1,5,6,7]=>01000011000
[8,9,2,3,10,11,12,1,4,5,6,7]=>01000010000
[8,9,2,10,3,4,11,5,12,6,1,7]=>01010010110
[8,9,2,10,3,4,11,5,12,1,6,7]=>01010010100
[8,9,2,10,3,4,11,12,5,6,1,7]=>01010001010
[8,9,2,10,3,4,11,12,5,1,6,7]=>01010001100
[8,9,2,10,3,4,11,12,1,5,6,7]=>01010001000
[8,9,2,10,3,11,4,5,12,6,1,7]=>01010100110
[8,9,2,10,3,11,4,5,12,1,6,7]=>01010100100
[8,9,2,10,3,11,4,12,5,6,1,7]=>01010101010
[8,9,2,10,3,11,4,12,5,1,6,7]=>01010101100
[8,9,2,10,3,11,4,12,1,5,6,7]=>01010101000
[8,9,2,10,3,11,12,4,5,6,1,7]=>01010010010
[8,9,2,10,3,11,12,4,5,1,6,7]=>01010010100
[8,9,2,10,3,11,12,4,1,5,6,7]=>01010011000
[8,9,2,10,3,11,12,1,4,5,6,7]=>01010010000
[8,9,2,10,11,3,4,5,12,6,1,7]=>01001000110
[8,9,2,10,11,3,4,5,12,1,6,7]=>01001000100
[8,9,2,10,11,3,4,12,5,6,1,7]=>01001001010
[8,9,2,10,11,3,4,12,5,1,6,7]=>01001001100
[8,9,2,10,11,3,4,12,1,5,6,7]=>01001001000
[8,9,2,10,11,3,12,4,5,6,1,7]=>01001010010
[8,9,2,10,11,3,12,4,5,1,6,7]=>01001010100
[8,9,2,10,11,3,12,4,1,5,6,7]=>01001011000
[8,9,2,10,11,3,12,1,4,5,6,7]=>01001010000
[8,9,2,10,11,12,3,4,5,6,1,7]=>01000100010
[8,9,2,10,11,12,3,4,5,1,6,7]=>01000100100
[8,9,2,10,11,12,3,4,1,5,6,7]=>01000101000
[8,9,2,10,11,12,3,1,4,5,6,7]=>01000110000
[8,9,2,10,11,12,1,3,4,5,6,7]=>01000100000
[8,9,10,2,3,4,11,5,12,6,1,7]=>00100010110
[8,9,10,2,3,4,11,5,12,1,6,7]=>00100010100
[8,9,10,2,3,4,11,12,5,6,1,7]=>00100001010
[8,9,10,2,3,4,11,12,5,1,6,7]=>00100001100
[8,9,10,2,3,4,11,12,1,5,6,7]=>00100001000
[8,9,10,2,3,11,4,5,12,6,1,7]=>00100100110
[8,9,10,2,3,11,4,5,12,1,6,7]=>00100100100
[8,9,10,2,3,11,4,12,5,6,1,7]=>00100101010
[8,9,10,2,3,11,4,12,5,1,6,7]=>00100101100
[8,9,10,2,3,11,4,12,1,5,6,7]=>00100101000
[8,9,10,2,3,11,12,4,5,6,1,7]=>00100010010
[8,9,10,2,3,11,12,4,5,1,6,7]=>00100010100
[8,9,10,2,3,11,12,4,1,5,6,7]=>00100011000
[8,9,10,2,3,11,12,1,4,5,6,7]=>00100010000
[8,9,10,2,11,3,4,5,12,6,1,7]=>00101000110
[8,9,10,2,11,3,4,5,12,1,6,7]=>00101000100
[8,9,10,2,11,3,4,12,5,6,1,7]=>00101001010
[8,9,10,2,11,3,4,12,5,1,6,7]=>00101001100
[8,9,10,2,11,3,4,12,1,5,6,7]=>00101001000
[8,9,10,2,11,3,12,4,5,6,1,7]=>00101010010
[8,9,10,2,11,3,12,4,5,1,6,7]=>00101010100
[8,9,10,2,11,3,12,4,1,5,6,7]=>00101011000
[8,9,10,2,11,3,12,1,4,5,6,7]=>00101010000
[8,9,10,2,11,12,3,4,5,6,1,7]=>00100100010
[8,9,10,2,11,12,3,4,5,1,6,7]=>00100100100
[8,9,10,2,11,12,3,4,1,5,6,7]=>00100101000
[8,9,10,2,11,12,3,1,4,5,6,7]=>00100110000
[8,9,10,2,11,12,1,3,4,5,6,7]=>00100100000
[8,9,10,11,2,3,4,5,12,6,1,7]=>00010000110
[8,9,10,11,2,3,4,5,12,1,6,7]=>00010000100
[8,9,10,11,2,3,4,12,5,6,1,7]=>00010001010
[8,9,10,11,2,3,4,12,5,1,6,7]=>00010001100
[8,9,10,11,2,3,4,12,1,5,6,7]=>00010001000
[8,9,10,11,2,3,12,4,5,6,1,7]=>00010010010
[8,9,10,11,2,3,12,4,5,1,6,7]=>00010010100
[8,9,10,11,2,3,12,4,1,5,6,7]=>00010011000
[8,9,10,11,2,3,12,1,4,5,6,7]=>00010010000
[8,9,10,11,2,12,3,4,5,6,1,7]=>00010100010
[8,9,10,11,2,12,3,4,5,1,6,7]=>00010100100
[8,9,10,11,2,12,3,4,1,5,6,7]=>00010101000
[8,9,10,11,2,12,3,1,4,5,6,7]=>00010110000
[8,9,10,11,2,12,1,3,4,5,6,7]=>00010100000
[8,9,10,11,12,2,3,4,5,6,1,7]=>00001000010
[8,9,10,11,12,2,3,4,5,1,6,7]=>00001000100
[8,9,10,11,12,2,3,4,1,5,6,7]=>00001001000
[8,9,10,11,12,2,3,1,4,5,6,7]=>00001010000
[8,9,10,11,12,2,1,3,4,5,6,7]=>00001100000
[11,2,3,4,5,6,7,8,9,10,12,1]=>10000000001
click to show experimental identities
(only identities of compositions of up to three maps are shown)
Description
The descent positions of a permutation as a binary word.
For a permutation $\pi$ of $n$ letters and each $1\leq i\leq n-1$ such that $\pi(i) > \pi(i+1)$ we set $w_i=1$, otherwise $w_i=0$.
Thus, the length of the word is one less the size of the permutation. In particular, the descent word is undefined for the empty permutation.
For a permutation $\pi$ of $n$ letters and each $1\leq i\leq n-1$ such that $\pi(i) > \pi(i+1)$ we set $w_i=1$, otherwise $w_i=0$.
Thus, the length of the word is one less the size of the permutation. In particular, the descent word is undefined for the empty permutation.
Properties
surjective, graded
Sage code
def mapping(X): if X: D = X.descents(from_zero=True) w = [1 if i in D else 0 for i in range(len(X)-1)] return Words([0,1])(w) raise ValueError("The descent word is not defined for the empty permutation")
Weight
26
Created
Sep 22, 2020 at 11:07 by FindStatCrew
Updated
Sep 22, 2020 at 11:07 by Martin Rubey
searching the database
Sorry, this map was not found in the database.