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]=>101