Statistics

Problem Statement for "XORing"

Problem Statement

Consider a matrix with n columns, given by m, where mi,j is represented by character j of element i of m. We would like to find some function, f, such that for all i:
f(mi,0,mi,1,...,mi,n-1) = ti.

All elements of the matrix are binary 0's and 1's, as are the elements of t. Furthermore, the function must take on the form:
a0*mi,0 ^ a1*mi,1 ^ ... ^ an-1mi,n-1, where each aj is either 0 or 1 and '^' represents the XOR operation. In other words, the function takes a row of the matrix, and XORs some subset of the elements of that row to get the target from t. Your task is to return how many distinct functions (choices of ai's) give the correct target for each i.

Definition

Class:
XORing
Method:
findSubset
Parameters:
String[], int[]
Returns:
long
Method signature:
long findSubset(String[] m, int[] t)
(be sure your method is public)

Constraints

  • m and t will contain the same number of elements.
  • m and t will contain between 1 and 50 elements, inclusive.
  • Each element of m will contain the same number of characters.
  • Each element of m will contain between 1 and 50 characters, inclusive.
  • Each character in m will be '0' or '1'.
  • Each element of t will be 0 or 1.

Examples

  1. {"000", "001", "010"}

    {0,1,1}

    Returns: 2

  2. {"000", "001", "010"}

    {1,1,1}

    Returns: 0

  3. {"0000", "0000", "0000"}

    {0,0,0}

    Returns: 16

  4. { "0000000000000000000000000000000000000000", "0000000000000000000000000000000000000000", "0000000000000000000000000000000000000000", "0000000000000000000000000000000000000000", "0000000000000000000000000000000000000000"}

    {0,0,0,0,0}

    Returns: 1099511627776

  5. {"000000", "000000", "000000"}

    {0,0,0}

    Returns: 64

  6. {"111"}

    {0}

    Returns: 4

  7. {"0000000011111111", "0000111100001111", "0011001100110011", "0101010101010101"}

    {0,0,0,0}

    Returns: 4096

  8. {"00111", "11101", "01100", "10010", "01000"}

    {0,0,0,0,0}

    Returns: 2

  9. {"10100","00110","10111","00011","10010","10010","00100","10110","01010","10101","10001"}

    {1,1,0,0,0,1,0,0,0,1,1}

    Returns: 0

  10. {"10000001000110","10111010000111","01101110000110","11111101010100","11101011010111","11101110011110","10100010100010","11010011110110","01100110100000"}

    {0,1,0,1,0,1,0,0,0}

    Returns: 32

  11. {"101010","100111","010110","000111","101110","000001","010110","100110","110000","110111","010001"}

    {0,1,0,0,1,1,0,1,1,1,1}

    Returns: 0

  12. {"000100111","111010100","010011110","110111010","111010110","100000001","110111000","001001110","111000101"}

    {0,1,1,0,0,1,0,0,1}

    Returns: 0

  13. {"00111001","01101100","11111010","01010110","00111000","11101001","01110110","00101010","10001001"}

    {1,1,1,0,0,1,1,1,1}

    Returns: 1

  14. {"1001010","1111110","1101100","1000001","0100111","0110010","0011010","0101101","1001001","0000111","0011111"}

    {0,1,0,1,0,0,1,1,0,0,0}

    Returns: 0

  15. {"1000111100","1111011110","0100001111","0010010011","0010100101","1010110010","0111110101","1100011111","1001100110"}

    {0,0,1,0,0,0,0,0,0}

    Returns: 2

  16. {"0101101000","1100000101","1001000001","0011000011","1011100001","1101001101","0011110110","0000100010","1110101100","0001101100","1110101101","0011110010","1011001111","1111011110"}

    {0,1,0,0,1,1,0,1,1,0,0,0,0,0}

    Returns: 0

  17. {"00000000000000000000000000000000000000000000000000"}

    {0}

    Returns: 1125899906842624

  18. {"10000000000000000000000000000000000000000000000000", "01000000000000000000000000000000000000000000000000", "00100000000000000000000000000000000000000000000000", "00010000000000000000000000000000000000000000000000", "00001000000000000000000000000000000000000000000000", "00000100000000000000000000000000000000000000000000", "00000010000000000000000000000000000000000000000000", "00000001000000000000000000000000000000000000000000", "00000000100000000000000000000000000000000000000000", "00000000010000000000000000000000000000000000000000", "00000000001000000000000000000000000000000000000000", "00000000000100000000000000000000000000000000000000", "00000000000010000000000000000000000000000000000000", "00000000000001000000000000000000000000000000000000", "00000000000000100000000000000000000000000000000000", "00000000000000010000000000000000000000000000000000", "00000000000000001000000000000000000000000000000000", "00000000000000000100000000000000000000000000000000", "00000000000000000010000000000000000000000000000000", "00000000000000000001000000000000000000000000000000", "00000000000000000000100000000000000000000000000000", "00000000000000000000010000000000000000000000000000", "00000000000000000000001000000000000000000000000000", "00000000000000000000000100000000000000000000000000", "00000000000000000000000010000000000000000000000000", "00000000000000000000000001000000000000000000000000", "00000000000000000000000000100000000000000000000000", "00000000000000000000000000010000000000000000000000", "00000000000000000000000000001000000000000000000000", "00000000000000000000000000000100000000000000000000", "00000000000000000000000000000010000000000000000000", "00000000000000000000000000000001000000000000000000", "00000000000000000000000000000000100000000000000000", "00000000000000000000000000000000010000000000000000", "00000000000000000000000000000000001000000000000000", "00000000000000000000000000000000000100000000000000", "00000000000000000000000000000000000010000000000000", "00000000000000000000000000000000000001000000000000", "00000000000000000000000000000000000000100000000000", "00000000000000000000000000000000000000010000000000", "00000000000000000000000000000000000000001000000000", "00000000000000000000000000000000000000000100000000", "00000000000000000000000000000000000000000010000000", "00000000000000000000000000000000000000000001000000", "00000000000000000000000000000000000000000000100000", "00000000000000000000000000000000000000000000010000", "00000000000000000000000000000000000000000000001000", "00000000000000000000000000000000000000000000000100", "00000000000000000000000000000000000000000000000010", "00000000000000000000000000000000000000000000000001"}

    {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

    Returns: 1

  19. {"10000000000000000000000000000000000000000000000000", "01000000000000000000000000000000000000000000000000", "00100000000000000000000000000000000000000000000000", "00010000000000000000000000000000000000000000000000", "00001000000000000000000000000000000000000000000000", "00000100000000000000000000000000000000000000000000", "00000010000000000000000000000000000000000000000000", "00000001000000000000000000000000000000000000000000", "00000000100000000000000000000000000000000000000000", "00000000010000000000000000000000000000000000000000", "00000000001000000000000000000000000000000000000000", "00000000000100000000000000000000000000000000000000", "00000000000010000000000000000000000000000000000000", "00000000000001000000000000000000000000000000000000", "00000000000000100000000000000000000000000000000000", "00000000000000010000000000000000000000000000000000", "00000000000000001000000000000000000000000000000000", "00000000000000000100000000000000000000000000000000", "00000000000000000010000000000000000000000000000000", "00000000000000000001000000000000000000000000000000", "00000000000000000000100000000000000000000000000000", "00000000000000000000010000000000000000000000000000", "00000000000000000000001000000000000000000000000000", "00000000000000000000000100000000000000000000000000", "00000000000000000000000010000000000000000000000000", "00000000000000000000000001000000000000000000000000", "00000000000000000000000000100000000000000000000000", "00000000000000000000000000010000000000000000000000", "00000000000000000000000000001000000000000000000000", "00000000000000000000000000000100000000000000000000", "00000000000000000000000000000010000000000000000000", "00000000000000000000000000000001000000000000000000", "00000000000000000000000000000000100000000000000000", "00000000000000000000000000000000010000000000000000", "00000000000000000000000000000000001000000000000000", "00000000000000000000000000000000000100000000000000", "00000000000000000000000000000000000010000000000000", "00000000000000000000000000000000000001000000000000", "00000000000000000000000000000000000000100000000000", "00000000000000000000000000000000000000010000000000", "00000000000000000000000000000000000000001000000000", "00000000000000000000000000000000000000000100000000", "00000000000000000000000000000000000000000010000000", "00000000000000000000000000000000000000000001000000", "00000000000000000000000000000000000000000000100000", "00000000000000000000000000000000000000000000010000", "00000000000000000000000000000000000000000000001000", "00000000000000000000000000000000000000000000000100", "00000000000000000000000000000000000000000000000010", "00000000000000000000000000000000000000000000000001"}

    {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

    Returns: 1

  20. {"10000000000000000000000000000000000000000000000000", "01000000000000000000000000000000000000000000000000", "00100000000000000000000000000000000000000000000000", "00010000000000000000000000000000000000000000000000", "00001000000000000000000000000000000000000000000000", "00000100000000000000000000000000000000000000000000", "00000010000000000000000000000000000000000000000000", "00000001000000000000000000000000000000000000000000", "00000000100000000000000000000000000000000000000000", "00000000010000000000000000000000000000000000000000", "00000000001000000000000000000000000000000000000000", "00000000000100000000000000000000000000000000000000", "00000000000010000000000000000000000000000000000000", "00000000000001000000000000000000000000000000000000", "00000000000000100000000000000000000000000000000000", "00000000000000010000000000000000000000000000000000", "00000000000000001000000000000000000000000000000000", "00000000000000000100000000000000000000000000000000", "00000000000000000010000000000000000000000000000000", "00000000000000000001000000000000000000000000000000", "00000000000000000000100000000000000000000000000000", "00000000000000000000010000000000000000000000000000", "00000000000000000000001000000000000000000000000000", "00000000000000000000000100000000000000000000000000", "00000000000000000000000010000000000000000000000000", "00000000000000000000000001000000000000000000000000", "00000000000000000000000000100000000000000000000000", "00000000000000000000000000010000000000000000000000", "00000000000000000000000000001000000000000000000000", "00000000000000000000000000000100000000000000000000", "00000000000000000000000000000010000000000000000000", "00000000000000000000000000000001000000000000000000", "00000000000000000000000000000000100000000000000000", "00000000000000000000000000000000010000000000000000", "00000000000000000000000000000000001000000000000000", "00000000000000000000000000000000000100000000000000", "00000000000000000000000000000000000010000000000000", "00000000000000000000000000000000000001000000000000", "00000000000000000000000000000000000000100000000000", "00000000000000000000000000000000000000010000000000", "00000000000000000000000000000000000000001000000000", "00000000000000000000000000000000000000000100000000", "00000000000000000000000000000000000000000010000000", "00000000000000000000000000000000000000000001000000", "00000000000000000000000000000000000000000000100000", "00000000000000000000000000000000000000000000010000", "00000000000000000000000000000000000000000000001000", "00000000000000000000000000000000000000000000000100", "00000000000000000000000000000000000000000000000010", "00000000000000000000000000000000000000000000000001"}

    {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}

    Returns: 1

  21. {"10000000000000000000000000000000000000000000000001", "01000000000000000000000000000000000000000000000010", "00100000000000000000000000000000000000000000000100", "00010000000000000000000000000000000000000000001000", "00001000000000000000000000000000000000000000010000", "00000100000000000000000000000000000000000000100000", "00000010000000000000000000000000000000000001000000", "00000001000000000000000000000000000000000010000000", "00000000100000000000000000000000000000000100000000", "00000000010000000000000000000000000000001000000000", "00000000001000000000000000000000000000010000000000", "00000000000100000000000000000000000000100000000000", "00000000000010000000000000000000000001000000000000", "00000000000001000000000000000000000010000000000000", "00000000000000100000000000000000000100000000000000", "00000000000000010000000000000000001000000000000000", "00000000000000001000000000000000010000000000000000", "00000000000000000100000000000000100000000000000000", "00000000000000000010000000000001000000000000000000", "00000000000000000001000000000010000000000000000000", "00000000000000000000100000000100000000000000000000", "00000000000000000000010000001000000000000000000000", "00000000000000000000001000010000000000000000000000", "00000000000000000000000100100000000000000000000000", "00000000000000000000000011000000000000000000000000", "00000000000000000000000011000000000000000000000000", "00000000000000000000000100100000000000000000000000", "00000000000000000000001000010000000000000000000000", "00000000000000000000010000001000000000000000000000", "00000000000000000000100000000100000000000000000000", "00000000000000000001000000000010000000000000000000", "00000000000000000010000000000001000000000000000000", "00000000000000000100000000000000100000000000000000", "00000000000000001000000000000000010000000000000000", "00000000000000010000000000000000001000000000000000", "00000000000000100000000000000000000100000000000000", "00000000000001000000000000000000000010000000000000", "00000000000010000000000000000000000001000000000000", "00000000000100000000000000000000000000100000000000", "00000000001000000000000000000000000000010000000000", "00000000010000000000000000000000000000001000000000", "00000000100000000000000000000000000000000100000000", "00000001000000000000000000000000000000000010000000", "00000010000000000000000000000000000000000001000000", "00000100000000000000000000000000000000000000100000", "00001000000000000000000000000000000000000000010000", "00010000000000000000000000000000000000000000001000", "00100000000000000000000000000000000000000000000100", "01000000000000000000000000000000000000000000000010", "10000000000000000000000000000000000000000000000001"}

    {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}

    Returns: 33554432

  22. {"00111011111001110011010100110100101001010111000000","01011101111010000000000111100011100001110000001110","11010001001011010001100110001010101110000011010111","10110001101110101000011010011111111000111111001100","11001001101110101001101110000100101100101111001110","10001010110111110111000011010010101110111111001101","11001010111011100010111011111110000000001001011011","11011001100001010100000011101100110101101100001111","11111101100111110110011101100110100110101100010010","10101010010100111001100111111000111001000010000011","00101111110101000010010001101001011010010110001000","11011111011100010000001101010011111101110111100010","11000100100011011110100010111001110000111000110111","01000110000101010100111100011000001000011101000110","01001010111000110000010011100011101010111101111111","10010101100110000010011100110000100001010010111010","01000001010001001111101011110111110010010010110110","10001111001011001000110001001011001111001010001101","10011100011110100010110101111011000110110110000000","11010100010000000111010001110001011001011101100011","01001001001110100111000010011110110101001010101001","11011110110010010010010110100111101001010110010011","11100101001100101010011110101100000011111000111101","00101110100001110100011111111110011001100010110001","11111000111010011011000011001111000001011010010100","11110101100100001010100001100001110000110001101100","00000010111000110000100111100010110001011110010001","11110000100110100001001110110101011000010110001101","10001010000001000110000011010001110000111001110111","11010010110011010100110011011011110000110011001111","10001001011100101011101000001010101011000010111100","11110101110110110000100111010001110010111001001001","10110001010001100010111000011011010010100010000011","01100010111011010101010010110011010011111101001110","01001100101111010011101101111001111010110010101110","01010000001110000011001010110001011001001100011110","01001010011010000100000111011111011010010111010011","00011101001100110010110011101001011111010001010010","10010101001011101111011100101111100111110011101101","10011101010010110100011101110110000001001110100101","01111011101101001000111000101101100110000001011000","10011111011010001001100010101010001011001011010111","11010011111101010110011010110011000000101110101010","00111000010000111100110001000001101101001001110111","11000111011011101011100100001110000011110000011011","10111010010010000101111000011000001000000110101000","10010011000010010100110011011101101000011101111111","10000110101001010110111111011111000001000001011101","10001101010111110110010100010110110111111111111100","00000110000010101001000111000111001010101110010101"}

    {0,1,0,0,0,0,1,0,1,0,0,0,0,1,1,1,0,1,0,0,1,0,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1}

    Returns: 2

  23. {"11011011001111101011110010010001001100100011101100","01111110010111000111010110000110010111110110001110","01111100110001101100111100110010000001101101001111","01011101000101001110101101110011100101101010101101","11110000000011010010000100101010011001001001111111","00010010001000110110011100010100100100000101101010","10011001011010101010011010110111011001100011011110","11010000110100000000001111001011111010011000100111","11011000100111101100110011011010111011111010111110","10011111000010001001010100110110100010001011111110","11001100110110100111010111111000101010110001001111","01011101110010111000000010010010011010100000011000","11111110000001011000110101011010001011011001011101","00001100110101100010011101011000001110100011100000","00110101010011110001000101110100011111010000000110","00111110110001001100001010000110100001100011100011","10000001010011000010111010001001101101110100100101","11101101000100001110010000111001110100011110010001","00010001010100100000100011101100000110011101111110","01011011101011110001111001110110101111111111011110","00110100000110111010001111000100101011011010000000","01100010000010001011011010010110100011001100100001","11001000101100100010001010010101000110110101101101","01000101111010101110010001111100110101110110000010","10000101110110111100110010100110101110011110100011","01100101100110110001111110100110111111110001010100","00110100111000000000001001100011101000001101011110","00001011001001100001000011010110111001100100000100","10111001110011000001100000110101010000101001110011","01010011111101100010111110011111111100011111101101","00111110100101110100001001110111001101011101000110","01101010110001110100110000111111001000101101000001","10111101110110110010101100000011000011100001101001","11000001100101101011001011100101101101011101000111","10111111000100110000001010100000100010000110101111","00010010101101110001011011000101010011011000000111","01100001100001110001011011011110010001010010111010","11011101010001110000011010111110110100001011011000","01110001111000100011111110110110100100000011001010","01100110001100011000111011010000100000110000100111","00010011010111111000110011111000100010100010101001","00010010010011000000011110101011001010010010000101","10001001110000100110001110111001000000100111111110","01110000001110011001111010010111000101000000000110","01111010010000101011010000000010100010101011001001","00111100111110000100110011010100011011001100000100","10000010000101011011110000101000000110000111100010","11011111001111010010001001100100101001010100101010","10100110100010111101101010000010011100010111111110","00001001101010100110101100101000000000100001110000"}

    {0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,1,1,0,1,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,0,0,1,1,1}

    Returns: 1

  24. {"10001110110110101110101110010001111110100111011100","10100000110111110111110100000100110100010111100010","11010101000011110100000001010100110100100101111001","11001001101000010010110110110110101111010001000111","10111000010111101110101010000110000100011011100001","10101111101011101110010010101111010110111110010011","11100001111011001101001110100010010110100111100101","11101101011100111000100110000011110011001000011101","01000110011011101101011111011111101000000101010010","00100001110001000111001110111011111010110001001001","10111101000000100000010001010000100111100101101001","00000011110110110001111010011010001000111100111100","01011101111101111110010001111111100000001010010101","10011000010000111010000010010001001000111110011110","00111101001011110011100011011101000010001100011111","00100001001100101001110010011001000001001101111011","00011001111001100110100110101000010010001111101111","10110110101100001101111101010100101101100001000000","01001011000000101010111101111101111010011001111101","11111000110000010000001111001101000101001011001111","10010110001110111100000111000011100011011101111111","01000011100000011001011001001110110000111101011100","00111001011111000101110111011100010011100111110011","10100101110110000010011111110001101110000100001101","10101010111000000011111010101010000101111111011110","10000101011110010001110111111000101100000101000010","01000011101000100111110001000001001111010100111110","10010111001001010001010111011000010010111110110101","11111011101110110010000111110110100000110100001001","10100100110011001001011101111101001111010100110010","00001110111111111101010011011110010100101101111001","01100101010100111010011110110110001110011111111011","11100110011110010101000000011100001000000111010011","00001100010011001010011110011111011011010100100011","00001000010111000101000111100101101111001101101110","10111111011001110011001000100110100100100011100110","11001100000010110001100001001010010011000000111011","01001100101010111010001100011101011011000000000010","10101001110010100000011011110100111010011010111001","10011101100000100011000111111011011110110001010010","00111111001111011001010001001100000011011001001001","10100100011100001001111001111101100110011101111010","01101000000101100100100111111010100001000111010010","01100111100001001010010011111100010000010101011010","00011001110000011010010100111001011010000010110111","11111000110100111011100110011110011100000001110100","00001100101010100110110001010110010001000100011110","01011010010011010110010011000111101011001011100100","00000111001110111111110101000000111101110110010011","11111011010011101101101101000011101000100001000110"}

    {0,0,1,0,1,0,0,1,1,1,0,0,1,1,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,0,1,0,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,1,0}

    Returns: 2

  25. {"00111000110101010100111001110010111010001111101101","01111000100111111010011100000000010110011000101001","01011110000111101011101000001101001100011111110110","11010010010111111110110011010101101011111111100000","10011110100011111001101110100000101111100011101000","10111110011110011000101010111011000010011011001000","11001110110100000011001000000011000001011101111011","11101011010001101001110101010000110010011110000100","00110000010000011111001000011010010010101111000011","00111100001110010000110110011010100000100111001011","11101101110100010100110100100000110010110111100111","00111111100101000100000001110111011001111101100100","00011100010110011101011010101111110101111110111001","11110101011000000000010111110111000100001110011010","01010011100110100110011111110010001100011101000110","10010001100101011101010111110010001001001010100001","01011111111000000110000011110000000000100100111011","11000111111001110011001101101000100101001100111110","10100100110100101101001011010010110111000110101001","00010110000101101110111011001011100100010001110110","00011111011000000110110010010101001101100111011100","11011010101101011010000001010101110111010100010101","00010010110011110011011100110000001100001010110000","00000101010111101101111101110010010010011001101001","10110011010011011101001111000111101001111111011010","10111100011011011011000001000110110001011001000010","01111011010001101110010110001011010111110110111110","11110100111011001011100101101010011011011110001011","10100011001000010001101101001111001001100100010011","01011001011011101010101011100100000000100011110001","00011011011101011011110111111000111100110101101011","00111001010001011000111110101110001010100000111101","01101111101100111110010000010110011100110001111011","11100111011000000100000011111110101101011001110001","01001111010001101101101111011010001001111110101100","01011000011000111001101000100010100001000101000100","01010001110110000111111011000010100001101100110010","01101010000110110011101100111010101001011001011100","01011111000100000111010010100111110011000000100001","01111001011111101101000000000101100000000010010101","10001100101001001111010100111100010100101001010000","10010000000000000111101100110000100101110010010011","01011011001001000011111001001110000011100101110110","00100010000110110010110100110110001111101101000001","10110010111010101101101111000001100110111001110001","00110000011110111111011010110110000001110100110111","01100000001000000010011000010101100100000101010101","01000111111011011010010111110010100100101001011010","01110101000100001000100010101000110000001101010001","00101001010101000011110001000101100101101101110011"}

    {1,0,1,1,0,1,1,0,1,0,0,1,0,1,0,1,1,1,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,1,1,0,1,0,0,1,0,0,1,0,0,0,0,0,1}

    Returns: 1

  26. {"10101011100100110011111000111101011001110010100001","11000011010111111001011110100001010110101110000001","11100010101100100010000100011110111111001000101011","01001101101011111100001000011101011100000001000001","10111110110010100000110001010001110000010001000000","10010010010110111010111101110011101011011111110000","01100110000100111010000010001111100010010110100000","10110010011001111010011111100101011100011010101110","00110011100110101111111000000100001110010000101101","10101100100110000111001010000010011101000001111111","01010110100000110111111101110010001111101001101011","00011110101001101100111111000110011001001011010010","00010110111100000100110011100010111110010001101011","00110010001011101011110011001000101001001010111111","11111101001101011011101000110011100111011000011010","01001011001110110000000111000100100000100011010011","01110101000001111010110000001111010110110101100111","00110001111111011111111011010001101011001100100010","00010110100100111111110000010110101001111101010000","11100011101000111000011101001010010010101011011101","11000000011000100100110110011101100101011111011011","11100001010001101001111011010111011001100100000110","11000010111011010001111010001111100001101101010000","11111001101000110111010101001011001101100111000101","00011001100000010000010001010110011000001111010110","11111101010111011110000100001001101011110011001101","11000010110111111111001000101110110010101111011100","01010110100011100010111111100010111001011011101011","00011100100011100000010001000110110100110001010101","10010101111111001011101110111010001111100101111000","01001111101100111010100011100100001000101100101011","10101100011001101010011110000010110001001001101000","10000100111000010110100101001111101111110101010111","00111100000011001100100101010101010011011011011111","00111111011010111010101001111100011000001101010101","10010010111010010100010001101001001001001110001001","01110000100000000100001100000110100111011010101011","01111110011011101111100100101110000000110010010110","10011110010010101001011110011010000110111100101001","10001100011001101101110000110001101111001001001001","10011110110101100111100001011001101110011011100010","00010101110111110001010100110010111110110111000101","01110110001101001101001101011001100101110011010000","00101011100111111010001111100100011110001111001101","10010000011100000001010011010000011100011100010101","00111110001001100111101111001111100000100110001101","10101100110000010011001011001001000110010100010000","01100001011000010011110011110100010111110010000000","10101101010111101010000000100011001001110010001000","01001111101101011111110100110110111111000001011100"}

    {0,0,1,1,0,0,0,0,0,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,0,1,0,0,0,1,0,0,0,1,1,0,0,1,1}

    Returns: 2

  27. {"01011001011001111111100100110010000110000010001111","00101101011011010111110101111110010100100100011001","10011011111101101010111000010101111010000010101100","11011000100000100011000110111110001010011011000101","01111000011101111101000011111000111001010011101101","10001011100101111000101001100010101001111101011110","01000000111001011001101111110001101000110000011001","01101110100110010100101101011110100001001011110100","10110000101110001101010011111011000100000100001001","00111001011100001110001010011110111110000111000011","11111010101000111000010101011010111111010010110000","00110011000101010100111111001011110111100101001101","11110110001000101001101101010110010111110101001011","11111110101111111111100100010101111010110101010001","10010001101010111000011001101100111101011101011000","00100101000011011100000110101010011011111110010001","10000101111000010101000110101001001110101000011110","00001010010111100010000111011010100000110110111000","11001110001110110101000000111110010011000101110001","01010101111110011001001100100010010000001011000100","11111011001011110101101000011000100010011110001001","11011101100100010011011001000101100100001011011111","01101010101001100111000000011001100010010011010100","11101100010101000010100001101000101111001000010101","10101010101000110100010010100010101100000110010101","01111000000011100011111101101010000000000100001101","00001010010100010000011110111001011011000001010110","11010110100101101110101011010111101001111010001011","10011110010110110000100101000111001001101100001100","10000001100001001010001001011011111000110111111111","10100100000010101011001001001110100001111001110100","01101000010010011100101111001100110110111111100111","10111000111101011001010001011111110101110100101001","01000100100010001111101100111101110001011010101001","11110001000100010011011100010100001011001001110110","10100111010000010010001000011111111100010001000000","10100010101111001111111110011011011000011111110111","10000001010001100110011001111011101100000110100110","11101111000000000010111010000010110000001001000010","01100010100111010001000100011110111000101111111000","01000111011110110011000110100001110000011001100111","00101101110010100110110101110101111010110100011010","00111100100111100101000000000110101011011000111101","11100101010111010101101110111111101101000011100110","10110000001001011101000001000000110100000011000000","11000001101010000011000011100111111111001110101011","10000010010001110101100010110010101100101011000001","00010011010111001011101110001010101001100111010110","11100111011001000000110110011000100001010011001011","01101110010100111110011111111001100000100011110111"}

    {1,0,1,0,0,0,1,0,1,1,1,1,1,1,1,0,0,1,0,0,0,1,1,0,1,1,1,0,1,1,1,1,1,0,1,0,0,1,1,0,1,0,0,1,1,1,1,0,0,1}

    Returns: 4

  28. {"00010000011100101110001101101110110000001010011010","00001110011011011000110011111000100101000001001011","10000011110011010110101010110010110001000111110010","01011110010011111000001001111101010001000110010100","11000001111101101111100001110010100110100101101101","11001000001010001111000001100101100011011000101011","01101000010001000101000100110110111001001100011011","11111100000001000011101101000100101101010110111001","10101001100010111000111111110111111100111100001101","11110000110111000001100110100011110010010101001110","10000111110011011110001000000110001100011011111110","10100000001110100110100000001101111110001111110101","00000000101110010001010111110010110001001110100000","11101011100011010000111101011010101111101101100110","11001010100010000100000000011110010111111100011001","01100101110011000110100001110100111100100110111111","00110101100111010101101100010011011110011010111100","01101001101101101011001100010010000011011101010111","11111011100101011100110110100110101110110000110111","10101011000100100011011110111000000100110101111101","00010100010111001000001011011011000001000100001010","00111111101101100101111111000100010110010001101000","01011100011000010100111000101101111000000011111100","01000101010110010101010000101101000110111100111111","01000011001111010111000110101111000001011100101111","01100110010111001100111110100001010100010101110001","00000001100001110000100010010011110001110101010110","10101011100100001000001000011101100100111000111111","11110111110101110010001011000101011100100010110001","10101111101001110110011110111010101100111100000100","00010000010010010110101110000110100001011000010010","10101110000101111010101011011110011000101101111001","11001111011110111111101010011111010101100000011100","11110011001100000001011100010010011000010010001100","11100001111111100110000010011000011000011001101110","11001101010100000101101110011111110111111101110101","00010011101100010001011001110010000101010110001110","01010010101111010101100100011010001010100010001110","10000011010100101010011000001100000010111000000101","11111110101001100000000001111000101100000010001110","01000111101111011010001100000100110111001011011110","10011001100111011011001001110101001011000000010110","11100001100111000111100110111110011001111011110110","00000010111100101101000100010011101110111101010001","11111011100100010001110000010101010011100001010000","00100010001100001000110011111010011011001010010011","11000110100101010111011001010101000010010111010000","10101010010110011001110001001010000001011010100110","01001011000101111111010011111100011100101110110010","01101111101011001011100010001111010010001010100111"}

    {1,0,0,1,0,1,1,0,1,1,0,1,0,0,0,0,1,1,0,0,0,0,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,1,1,0,0,1,1,1,0,1,1,1,1,0}

    Returns: 1

  29. {"11111000011011011000011011000010101100011111101011","01111010100001101000101011101010011101000110000110","11010011110011011000101100100110101101100110001000","01000100010111100101100011111000011110010110101110","00111100011001100010101111010011010011011010110001","00110000000101100101101000101110010101001101000100","00001001110110001111010111010000000011110100100000","10011010011100000000110000000100001100000110110100","00111110000101110011111001101100010101001010000101","01000101000101001001111001000010110101011101001101","11011010010101010010000101110001110011001111011000","00000111110000010001101000111100001111010110011010","10110000101000100011110110100011001111101100111010","10100010010010100010100000100011101001011101010011","01110010101110101111101100000111001111000000001010","00110010001001011110000000000001101110101011111100","11001111000110010001001100100011110011010100010001","01111000001001001110011111100001000001111001001011","01111110011100010001101000100101110101011110011101","10111011011010100111100101101100111000111100010110","11010000010100000110101010000100010111111000000111","11101101000000101000100010110011110011010010110011","01011111011001001001110110011100110111001111000000","01101110111001001101100101111011100000100111010101","00101111111010010010111001010111110010000000000110","01101000011101101000001111000100001010010111101111","00000110101000011000100001100111001010101111000101","01110110110111101001010000010011100101001010100000","11010111100010111001001000011111001111110000010000","00011010011111100110010000001101011100101110000011","11111011110001001011001011101111101101101100110111","11011000110100111111010110001111001101001010101001","00101000010001011010100000001111100100001100000011","01001100011010100100111000001000101100101011011100","01100001110011110010010111001010111100111010000000","11011111000110110100000100000100000110001010001110","11011000001000110000101011000001011011111010100010","01100001100100111100111011010011101000000111000110","10011101000011101110100000011000100100100010101011","01111101101010111111110111111000000110010001101110","11101001111101010111111101010010010000011110110100","11101100111010011110101010100010010001011000010001","10001001010010101110010001111110000110111100101001","01001011010010001110001000110110100100111111011010","11000110110101000010100111100111001111000011000101","11111100100100100110011010100010100001010001100011","00110101111111110100011100011000100011110110001111","11101000100101000110111010111110101001111111011001","01001111110100000101001111010010110001001011101100","01111100100101110100000010101011101101010100111000"}

    {0,1,1,0,0,1,0,0,0,1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,0,1,1,1,1,0,1,1,1,0,0,0,0}

    Returns: 1

  30. {"01100010101111010100011111100001101100011111101010","10111101011110000010100111101110001100000010011101","11101001011100001100010011011001010101111100010000","00000010111111101100000011110010100111000101000110","11110010001000001110001010111000101011111000100110","00011011011010100010110001000000110010000100000101","01110100110111111011001110000101000011100100111010","10110110000011111010001101110111000110001001011011","00111010101001111010000110111011000001100011100001","00101010001001110011110110000101000110010010110001","01111111001011101111011111111111000100111010000101","00100000011111010100010100000100101111101011101110","00110010110010101111111001000000101011011001011011","01001001011010100010001101110001100010010001001011","01101111111001000011110011111001000111101010000100","11110011101001001100010010011001010000101000100000","01101001010001001111100010111001110001101101100100","10000001010000100011011100110011100000000010100111","11111000101101001101000110010100100000110110101011","00101101111100011001011110100000110010011101100100","11100011111110111111000000100110011000010010011001","01010000010000000110001010101110000111011111010111","00110100110001111001000010100010011000000000111001","10101011101111011101000000011011000011101000010011","00100101001011001101010111100101111010110000111000","00001001010110100011000011000110101100100111010100","01000001101100010010110010011110100000101010110111","11001001011111101000101000000110101110100101101011","01100010110110111001011000010010011001111101100100","11101000110011100110111100001010000111010100011010","00011011111101101111011110111101010010010010100011","10011100111001100000110110100100001000011111011001","01011001111101001111001100000101111111011011101001","00010000110000001000001000111110111100010010011110","01001010001000101011101010110111010110001100100000","10110101101001010101001111011011001100100011101111","10110101010100110110000111100011101001010101101001","10111000010111000110111111001111001010101011110101","01011101000001111011101110001111010100001110001101","10010101101101110001110010111011100010100100110001","11001110011111011001010111111100111001100101101100","10111001010101011011101110000100101111001110011001","10000000010111001101011100101100001110000011110001","01111101010110101000010010110011101101000010111111","01000000100011100001110010110110110110100101011010","00111101011101101001101011111001110000100111110010","11110010101111010010010000101011001001011101111011","10111010111001011111111101100100111101000101100100","11111010000100101111100101111111011011011010000011","00010111011110111000001000011101011000010100101010"}

    {0,0,1,0,0,1,1,1,0,0,1,1,1,0,1,1,1,0,1,0,1,0,1,0,1,0,0,1,1,1,1,1,1,0,1,0,0,1,0,0,0,1,0,0,0,1,1,1,1,1}

    Returns: 1

  31. {"11100111000010010011111111010100010100100110011011","00110001111011001001011001010011010111010010001100","01001010001110101011010100011001110010111111110001","01001111101101010100000010100000001111111111001111","00010101100000000100011101000111100001011000011101","00011100000101001100111110111001101111100010010011","10110100000110100001011111111101010000000011111100","10100010100101011001111101000111011001001110101001","11101100110100011011101011101011111110000110001010","01000010111101011001100111111100000100000101110010","00000111001101011010100110100011000110001010000111","01110001010010010111100101100100001110111100111100","11001101111101111001101110000011100011011001101000","10110111110011001111000000000101111000111001011001","11001101010101111111010001100011011011100001110010","10010110001001111011101010100000100110000101111000","01001010000101100110010111101100110101100001001100","10100101000000001100000000111001111111110111000100","10101100100101100000111111110100000011000011101100","00010110001000100101110101100101000001001111001101","00100111011100011100011100101101011100110101011000","11110101101100011101011001101000100010010111010100","11101111110111100110101100001010011001000101010011","10111110110001110100111001011110100011011111111010","01110001110110100100111111000100011100110001000110","01110100011100111100001001110010011010101001111101","10011111100100000110001100010011010101110010000001","10100110000100010010010110100111001110110110000010","10111100110000110111111010011110011011011100001011","01100111011110100110010111110000111100001100011010","00111011011011001100110001101100010100111011100110","01001101101001001001101110001000010001010001010100","00010011001100100101101011100010010011111100011010","00000010010100001000001111100101111010011110010110","10010001010111110100010010010010011000011100001110","00011001011100001100111111100011011010111111111111","10111010011000110101110011100000011111000001010000","10111011011111101110111111010101100010101001000111","01100011000000010110000010011010101010111111110000","00100010101011011010110100001001100010011111011111","10010001101010001011101010001010011111001110101010","11011011110111111101011001010111000110010000101110","00011000110001101110101000111001101111001010011000","11001010110001100110011101111001101000001111010001","10010111100101000101110010010110111010101011011011","01010011100101101010000101100011100111111111110101","10110001100010010001011101000101011011011100000010","00010000111010011000110000101111000101111111000100","00110011010111101100101010100101011010000001001000","01101000110000100101001111110110001011100111011000"}

    {0,0,0,1,0,0,1,0,0,0,1,1,0,1,1,0,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0}

    Returns: 1

  32. {"01001000100011001001101101101000000011111000010001","10001110110000101000001111001110010111001011001010","10011011101010011101101010011101001111100011000011","11011101101100100110111111001110110001001101100111","01110111000000000110011001010001000011010011000110","01000010111100000000010101010000110111011101101101","10000000111000101110010111110001000001111101011010","10000001000110000010011101101011000011001011110110","10110110101111101111000100000110011000110100011000","00000100011001011000101110100111001010110100101010","00001011110001101010010010011010101001001110010011","00111011100111110110011010101001001000100100100110","01010100010100100101010100010101011001111010000110","01000011010001100100010010010000001011011111010010","10101110100001101100110100001100101110010000010110","01101100110101000111010111000001110001110011111011","01001101110110010010011110010110101100011000010000","10100011100011101100010000100000101001110100101000","11100000001001010000110000000111110101011100010011","11001110111100101101100000101000000100010001101100","00000000010001000010101101101100111010000111100011","01011000100000100010001101011011000110100101001010","10000111001011111110101110110010100001011010100111","11001001110011111100100010011001010110000001101010","11111111011001011100100100001110011110100101111011","10110000010110111000011110110110000101011001000100","01110111001111011100111110100001111100111101011110","10010001111000000010111001100001001101011011010101","11110110101111010011111000100001000100101100100111","11100010111010010100101110011100101110010001110110","11011011110011010011010001010110010010011001110000","01001110100110101000100000111101101001101111000101","10001001010101111001011111011101101100101100110011","01001001110101011001000100110000111101011001010111","11101010110001000000010011000100101101011011010001","11000001011001101111000000110010010110001111000111","01101001000010010010101000001100100000110111000011","11001111100111101001010111001000011101010110001111","11101000011000110010110111011011000001111011101001","10101110101011011000000111010110011110001110001110","11111110111011001010111000101001000000111110001110","00010111001011110110010110000010001000000101001110","01111011001110111101001110011000001100101111000100","01010111100111001101001000010011101000101101111110","00011100110001110110101101011000001110001111100100","00000001100111101110000100000101011011010001000010","11011111101101101111011010000011000110001001100000","10001011101101000001111001011100011011010000111100","00101101001111000111000100101001010100001010111011","00011110111101100000111010110111111100011111100100"}

    {0,0,0,0,0,0,1,0,0,0,1,0,1,1,0,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,1,1,0,1,0,1,1,1,0,0,1,1,0,0,0,1,1,1,1,0}

    Returns: 0

  33. {"00100111000011010100001011111010110010111111111001","01010100000000010001000100011110011011001100011101","10011001110110101111010110101101000011110000001000","11000101000110101111110101010001001100111100100011","00011111101101111001111111111010011100111110101111","11001111110011011110000001010100001110101011100111","11010000001101100100000011011000110101001001010101","11110011101011001010010000010001100101100101011011","00100101100111011110100011101111001111110100001001","00000011000110101100111101110000111000101101110011","10011111011111100010100001111000010000001100110011","11100011010111110010001101110110011011011100110111","10001100001111011000101101001100011011111110001100","00000101100001010011001101111000011111110011110011","11110011011001001110110111010000001011100100111001","11010000110100001101010100010001000110000001000100","01011101101101011111100001111000000010010111111100","00001101000110110011011110111011100010010101000011","00000000001110101010001101110001101100111000100001","01100110101011001001100101110111100111010101011100","10000101001101011011110100001011100010100110001100","01101011010000000011001100011111000101110111111010","11110010011110110001100101010001100010110100001100","01100000000101101011001010000001110111000011101010","01001001001001101110110110000101001110110011011011","01000100100101111110010100101110001100011001010010","00101110001010011101000000111111101111000000001010","00110111101000111110000000111011111110010100010010","00001011011000111101100101101100000011001111011000","01001100010000010010010000111011000011000001111101","00110110001001101100111110111100110100011100111111","01010011100000100111111100110100011010110001000011","00111010101110111100010010001000110010111111010101","10010101000000101111101111100101011001011110000011","10000110011000101110001011110010001100110110111000","01100111010001001001111011110011111011011100011011","11001001010100111101001011010110000000000001110011","01111000111110111010110000000001100100111111111010","01011000101011110110011111101000010110010111111111","00101001010010110011011101100101111011000000100010","00101000011000110001011010001110110110001010110001","00100110100101001011100010000110010011000101010100","00001100010010101110000001001100111100001100000100","11111101011001001001001101101110011110001000000010","10000110001101001110110011011011000111001110111010","11000111000111000011110101111010111001101111100100","10001100111100100011110011010110101010100011001100","11111110000101010110000100100111010111001011001111","00000011001100010111111110100011000010000000010001","11111001111001000100101100011101101010111111001100"}

    {0,1,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,1,0,0,0,1,1,1,1,0,0,0,1,1,0,0,0,1,1,1,0,1,1,1,1,0,1,0,0,0,1,0,0}

    Returns: 0

  34. {"01111000001111101110110001111100010011111101011100","11111110111111011111111110110000110000010111010100","10101101000011101000010101101010011001000110110111","11110100000100101101110101111000011100111110111001","10100001011100011110101111011001110101110100100101","10011111111111001011010000101000010011100100000101","01010111001101100000010001111001001101101001011100","01011010101010000001001000101000010001111010101010","01000111011111101011000010101000010110011110101010","00011001100101101110111000100011100010100101011001","00100001111110111010110011010000100111110000010010","00011010101010011111110000100010001000001000011010","01101100111000100101010101110111110000001001000000","11111110010011111110000101010110111110000010100111","10011010011010110011101011101101011111010011010001","00000111100110101110111010011010100111111101010111","01100000101101011101011000110110100110111101010001","11001110001100111100111000101000010111100101110011","10010000010100010001010000010100101101001011011000","11011000110111110000000101001110011101000101111000","01111101011000101111001101011101111011101010110001","00010110100010111010111011010111011011110111011110","01111111110010011001011011110011101010101110010111","10010011010100100100000111011010100001100101000100","01111111101110000001100000110100110101100100110011","10111101110100101010110010010010000011110110000001","10010010111010000110101111110010110000001100011011","00000111011001110110110010100111100001001100011010","00101100101100011001010010101011010010111011011011","11011100101000110010011010010110111100111000001100","10011100110010110000011011110010100101001110000111","10001010001001001011111010101110001100111111001101","00111100001111101101111001011010011011100100100000","01011100010001101101100010010111011100011111101100","01111001010010110011001101000010001000001000101101","10001111000000110100100100100011001000100111000000","01001100100010111111000101011001000100111101101101","00000111111000010000010101010001100111101100100110","00110110000111101101110000011000110110101000110100","11001011000010101011011110101111000000110000001010","11110111110000111010000010101101011011001000000000","01011110001111100010100011000101000100100011100110","00110101001100111100111111111100001011111011101101","00101001010000100010011100001011011010111101101011","00000110011101011001111111101010000101111011100110","11101000001000001110100001010100001101000011001110","01110010000000000111001101110110100011010011011101","11111011010100010101111110001001101000000010101101","00110110011101101100100110100010100110100110110110","01101010010100000111010101100001100100111010110111"}

    {1,0,0,0,0,1,0,1,1,1,0,0,0,0,1,1,0,1,1,0,0,1,1,1,0,0,0,1,1,0,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,0,1,1,0}

    Returns: 2

  35. {"10110110010100011101011101110101011000110011101100","10011100101101111101110111001101100101001101110100","00011010111011011101001100101011100001001010101001","01110011111000010000111001011011000100111011110100","11110100001100101111111110001101111100010000010011","10110011110101011111001000001111100010101110001011","01101011111000100100000101101000110011101111101000","00001110100110011011111000010001000101000011110011","10000011110010100001010001101101000101101110000111","01100000000100010110011010000001010110111100100010","01000100100111100010100011010010010001100101001110","00100110001010101011011000100001001111001111101010","10010100111111011111100100001001000101001000000011","01101001001000010010001101010000110000010011101111","10111100001001110111000000000010001110101011000110","11100111001101001000001100010100101000111100010101","01010100010111010100101111110011111010100111011101","11011000011001100110010101111101110100100000000101","00110110010110001110110000111111011110101111011011","01101100110011001010101010010010000111110110011101","10101000011111000000011011111000101110101011101010","11100000110000111000101011000010110110111100101010","01010101010001110011000101010110111001001000100000","11110001001000000111011111001111100001101001001000","10000100011001010111100001011001000111111111010010","00010000101101000110101001001011101111110100110011","00011100101111101111000000000011100011011100010100","01010100011000000100000010011010011010110000011001","00101100011101011101101110011011111110111011100000","01001110111011001100001000010011100001000110011100","11101000100011100111011111100110001011110101111000","00110000011001100011001001111111011111000101010010","11111001000110010000111111001011111101010000011010","00110111000101110011011010100101000110011111111000","00001100110100100111101111110100011000110100000000","10001101000110100001000101101011110100010110110111","00000101000001100100000101001001001000110101011100","10001011010101011001011001110100001100011000011111","11101010010101011011101101110000101001010101110010","10000011000010000101111111101100010111111110010111","01001001110011010110011000111101101001111011011100","01111011000111000110110101010110010110001100010011","10101101001010110101001010100110011011110010100011","11101111000000010100110010010110100110110000101111","11010001101001111001111010110011000000111110110111","11000001000101000010001100110110011011001110010011","01000010001010111010011000101011001111101100010100","10001111010011100010110001110101010111010101010100","11100000110110111100110101011111000010001001001100","10010111000011000000110111011100100111000110001000"}

    {1,0,0,1,1,1,0,0,0,0,0,1,0,1,0,1,1,1,0,1,1,1,1,0,1,1,0,0,1,1,1,0,0,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,0}

    Returns: 0

  36. {"00011010110011111010011111011100010010011001011000","10110100001100010101001101110110001010010101010001","11000100111001000111111000101100000100000110101110","11001110110111010101101100101001000001010101101111","11110010110000001011110011110000000101111101000101","01110011001111001100110001000001001110001001001001","00111111001000100111011011000100010011111110101010","01101011101000100100111000000111100001010110110000","10110101110101000010110101111010010110001000000110","10100010111111100111111000011000111001101010001110","00011011111100000011100011000000000111011010000100","00001111101111011100010011010100110111011100101110","00001011100001101100010010101111101000010010010101","00101110111110010110100010101110100010001011101011","11000000111000111100010010011100000000110011001010","10001111001010011111001000011001000110011001101011","01101101110000100010101001011111100011100001110011","10000110000000010001110001101001101101101101111000","11110101101100101011101110110111100111000110011010","01101010001010100111000001001100111110101010110111","01101110111000010000101111101100100010100111000111","00100011000101111111000011110001110100100111001101","01000101101001000000111000110010001010100001011000","10000111011101110000100011010000110111001011011011","10101000010001011010101011100111001100001010011100","00011001101110001110010000101000011111010001001010","10110000110001001001011111001110110011001001001011","10000000001111111101101100100111001010101101111111","10101100110111111101001011011100110000011010100110","10010011101011100010010101011010110010001001100001","11010001011000100110000100100001001100010001101000","01111010101011010100101011101101101100000000110001","01111100100001010110110000111101101011101011001001","01010001110110100001111100000101001111011110000111","00011001001101011100100100011001010010111011100000","00111010110111000010001011111001100101100101111111","01001100110101111110010101011001101001011000010000","00110000000101011111011000111100010011101101101001","10110100111111000101000111111001011101000110101111","10100110110111000001010010011011110101101100110100","00111110110101010101101001010001100001001110001010","10101010100100101111111011011000001111000110011100","10000001111011111001011100010101001100110100010011","10011011111001001110010101100111010000011101110100","10011111111111011011011000101010001101111001000010","10100111100110110000100111111100110011000100111010","00101111010001000111010101101100101010010001111011","10111100101001011110100110011110110001111101000010","10001100101100110011010101100110001111111011110010","10000111011010110001000101010111010000001010101110"}

    {1,0,0,0,1,0,0,1,1,0,1,1,1,1,0,0,1,0,1,0,0,0,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,1,1,0,0,0}

    Returns: 2

  37. {"00110111110010001010010101110111001111000001101001","11100101001100011011010100001001101101001101011111","11110100010101101100000010111001001001010000101000","11111010000000110111100000011000010100001000100000","01110000000001101101010000011001010100111010011100","00111000100010111000011010001010100100101111100111","11100111011101100010010111000110100011011000100100","01111100101111110001000100111011101100100000111100","10001101001001011111101011000011000101001110101110","00000001101110001101010100010101010011000000001110","11001110011101000001001011011011011111101010100111","10111000011100100101100101100101101100011101010000","00111101111100000000000000100000011100011101111111","11000000010000101011011111010001000010011110101111","11111000101100101111111000101000100110101101110000","11101000001000100010110011010000010111010111010111","01100110000001000100000110100010000101011000001110","01111100111110111101010001010011110001111110110001","01110111110000010000011100000001101011001100001111","10000110101110001010101110000001110110101011001010","00001101010011101000011111010101111111110010000011","01101110101000111000101000100100011100000110000000","11101010110111000100010111101001101000000111001101","11000111010010001011101110110000100001111110100011","10011100010101000101010011011100010010010100010111","01100100111111010011101100010101001001110001000111","11100101101111001100110011101000101000101111110011","10101100001011110101011011101100101010000110011001","01011000101101000111111100101011110110100111101010","01111111110110101001110001011010101001010000111111","00001110110100110010010110011100011100011100100001","00100011111000000100100101001010001111110100011111","10110100001110111110100000100111110010000010010110","10011110011011010000110110001111110101011010011111","10011111011110111100110000000000110001001000000100","00011011011110100010000100001110010100110011010010","10111011110101001111010110111011111001001111100100","10101101101111010010011100011101000101011111110001","00100101010010000100111010100000100111001000000111","01101011010000010000000010101011011011010111100010","11101101111111000011010101010111110110011100101111","00101110101111011111110101111110110010110100110101","01010111000111100010000101111000110011010000111110","00110110110100011111011000110111001111010000000011","11010110110101100110100111010111001010111100011111","11010100100110000011111010111011011100010100001001","10000100100110010010111000111000100001011111000001","11110001100010110101101001111000000001000111000100","01000010110101111101000011111100101000010111100010","11101100110010110011010010111111000110011001001101"}

    {1,0,1,0,1,0,1,0,0,1,0,1,0,0,1,1,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,1,1,1,1,1,0,0,1,1,0,1,0,1,0,1,1,0,0,1}

    Returns: 0

  38. {"11011100101101000001100110011010011001001110001011","00001100110100111110011100000110100011010011100001","11011001000001110110100101111110010001011111101011","10000011111110010110010011001000101010010101000000","01110111001001100001110010010011011100001001001001","01001000101011111101110001101001100001100000101111","01000101000101010011000110011110000100110111011000","11110101110100011110100001100001001001001001100000","10111011010011001011100000001100111010011111101001","01101001110011001110111101000011110110110011111011","01001111110111100111000000111000110110011101000001","11001011011011011001011001000111000000100111110111","11010111000011000100111001110000110000000000011011","11010011111010010000101011011111000011000011001100","00000100110100100001010100000110011001000100000001","11011100000010101010011011010110001100000011110100","10100101111000100110001100000110011101101100001111","01101111011001001100001011010001111111011111100001","10110111111010110100010100111001000001010110111101","00110101100010010110011001111010111111100000101000","10010111000110010100100010111110110101101011001110","00000001011000110110001101101001111101110001110110","11011111010001111010110101111111000111010110000100","00111101111101101001011100000000000010000010111011","01110111011101111010100011001010100011111111111110","00010001111000010000110000010101100010100010101000","10001010100011110100001110100001111101010010001101","10110001101011010011000100111110010110100011011010","10100111010001011000010111111011011000111100111011","10111010100010110010001100000010111100000000011011","10100110011100000011110011011000110010110101100000","11010101110101001110011010000000101100100110000111","11000010111010001110110011001011110010110011100101","01001111100001100101011010000011101111100101011100","00000101001011010011011001110110111110000111000001","00110110110011001010000011010001000100011011011101","00110110011011110111110010011011011000011000111000","00011001001000001100001101010100111110111001001110","00100001001110000100001100100110011011110010100100","00000010100100010010011011001101100011101001100000","00011101010110111101100111000110110000001101001111","01110001110100100111010000010101111000111110010101","00010000011110110100011000110110000101101100101110","01010000101100111011110001100111000010011010111111","10011110011100110011000011010010001011001000000111","11011101010101101001001011011001011110001011101111","10101110001110010111000111101000100100010100010011","01100111011010111000111110010101100101011100101110","00010010001111100001011000001111110100000110110100","00101101000000001011101001011001000011011110111110"}

    {0,1,1,1,1,0,1,1,0,1,1,0,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,0,0}

    Returns: 2

  39. {"00101111001000100100001110100110001001111100001000","11001110010100111001001100100010001110110010011111","00110101101101010011111000010110101010110010111111","10111111100110100110001110010100001011101011011100","10111011011000110110011110010111110111101110010100","11101100001001010110011000100001011011000101001111","00110101010111010010111111000101010111001000000110","10010000000100011010001000001000000101011000110001","00110101110000100100101110110000010011111110110101","01111110001101101011001111010101100101001101100110","01011111100001011000101101101000010001110111000001","11001100101010110011110000100110110001111000111010","01111001010101010100010100101000110101100100101000","10101100101100000110111001101111010101100001110011","01010001001010000110110110011101000000110010001001","00011010110100100001111010001011101000101010000101","11011000001011011010101011110010001100011110000011","11100101101010010111010000011001101011011010011000","11011011001101101010110111101110000001010010101011","00000110000011001001111101110010001001010010101111","11110000011100101010001011011101101010011011001111","00011001101011111111010001110000111011101101101010","01100100011100100011100111101010100111110010010111","11001100000100001000110111111101110101111110101110","01100101000011110000000101110110100011011100000001","11011010000111101001111100100001000001010101011010","01111110101110000101110111010000100100000101011100","10100111111011101111101100000011001111010111101010","01010001010010001011011101011101011101111100110010","00000010110100010001101111100001111111100000001110","01011011011000110101011011111100111111110101101000","11001010000100100011010101100100111011111110000100","00111011100000100110001010001101110110100010011100","11000100011001111111001011000001111000100110110000","00011110001110100001101011001100001011110110011001","11011011101011000010001011111110110101000010011101","00100000110111100011111101100010011110011110001001","10101100001011011110000111111111010100010001000001","11011100110000110001000000000010100111111010011100","10000111010010001011010101011101100011010010011001","00011100001101110011110101100011010111111110011001","10100110000001100011011000110000001101010100010111","11111001100110000000001011010011111110001011001000","01011111011100000011100101001101011101000010110111","00110110011010000011011001000110100011100000010001","00010000101111001011011010000111111110010011100011","01110101111101000101001101100000011111111101100101","10000010000110111111111011111110100101101100001101","10100001101011010001111010100111110001000111000001","10010101000111110111111010110101010010101011001001"}

    {0,1,0,0,0,0,1,0,0,1,0,1,1,0,1,1,0,1,0,1,0,0,0,1,1,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,1,0,0,0,1,0,1,1,0,1}

    Returns: 1

  40. {"11001101011111111010011100000101110111001000100111","10010010101110011001000101100011101011011011100100","10010110001000010010110000011001011110010000101000","00100100101111100001101011010110110110000100100011","11000110010000101010000011101110100011010110001111","01001100100010001110001110010111000001000101111110","00101110110001011101010000100011111101000101101100","11100001110110011011010111111011000100110000100101","01100010010000110100111101000111000001010101011110","01000000100010100100000111001000110111110010001100","10100100110110100000100100001100101001101000111100","10111010110111000000111101001000100010110100110000","01101101010100111000010110111111000010011111101111","11110010111101111101011111101011101001011111101101","10011010111111000001110100000101011000101101011100","11010010010010111100001010110100001101111110011011","00000010011100111010001101010010011001111101011000","00111001010101000010010110111110000101111010011011","11111101010101101010011000110001000110110000011101","01100101101010001111001001001001010101110000111101","01100110110010010000110111110101100001110110110111","11101100110110101100111000001101110001011000111010","01000001000101000001010110001110001011110010111100","11011010010001100101000011001000011101001101101111","10101101000010000101111000100100101010010001010001","11000001000100000101110011000000101101110011011100","00100100110011011010101110011010001101100011111000","01101110011110110001101011100101100011010111011101","11010100000001001100101100111000111101001110011010","01100100100101111110111010101010111111000011100001","10011100101111110101100100110111101001010111001101","00001111000010001110100111001000100001110110000010","10011010100011110011010111000001001001000010100100","11010010000101011000011100010110111100001010110010","10111100011001000101010000110110111010010010010011","11100101111111101100001110011100001111100111001101","11100110011111111101000101100101110111110001011111","01000110001110101011000111100110001100011101011001","01011100010101110101100000110001111110010010101011","01100000110100110011001111000000110100110011111000","10110001001001011010110101001011010111011010110100","01110010111010110000110101111101101101110100011101","00101001011010011010000111101011001110101000001110","11100000001001011110011000111100100110110100011001","11101101011000010010100111010010100110111011001100","11101010100010101111111101110101101101010111100110","00100001010110110010110110001001011111011111011100","10110110001100011001101110001111110101011010010101","01101100101100100011110011000101000101111000111001","01110011001111110011010101001111001111011101011011"}

    {0,1,0,1,1,1,1,0,1,1,1,0,1,0,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,0,1,1,0}

    Returns: 0

  41. {"01111010110011011010001000111010001111000000010110","00100110110010010100000111101011110111100010011000","00100011111110110111000010010010001111010011110110","10000011001100111101001111010111111100000011111111","11111010011111100101110011010001111101101101010000","01111110001011110100111001001011111000000100010010","01111101111011000001100101010100111100111111011010","00101011110100010001000010000100110111000101011000","11110101010010000000100100010110010001001111001000","10000111000100010110111010010001100001000101111010","00001111011110101110101000100010011111010111010001","01101001110011001101001001001011100111110110110001","00010100000000111111011110001110000010011000011001","01101010110010111011101100000111000010101000111001","00001100111000111110000110010010100000100001111100","01101001110101111011001100000011010000101010100010","10000111110100001100010011010010000000101111100111","01011010010010000100101110000010111000100101100111","11100100000011000100111111111101100101101010110110","00000011010010101001011110010011001011110110010100","01010010011110100000011110010111111001010111000110","10101111000011011100111100110010110101011010011010","11110101111001010110100010011001001000011000000000","11111100101110110111101101000100101111100000111101","11010000000001111000110000011011011001010000111011","00000001111100001010110110110000111110000010001110","01001111111000110100001001000110011000010101110001","11101110110000111110000111111110011111010100001010","01010000101100010101011110101001110100001001001001","00000000001101010001000110001100101100100111111011","11110001111010101011001111111101101001010100111100","10000111111011101101000011000100110000010000101010","10010101101000101000001111011010000111110000101111","10111111111101000110011011110011010011000101110010","01011111010100011001001100111000110000111010001011","10011101110110111111010111000101111011000101000110","10111000101100001000111101010010101100100010111100","01010001111001000111111010110111011101111110001101","10011010011100100001111111111001101100011111100010","10011110101000111011001011001101011010001001010011","00101111110110111101011100010010010100111101100111","11110011000110011100101000111110100111001111100010","01010010010110110001001010000011000101110011001000","01101010001010011111010001101010011000010100100110","01001110101111111011100111111111110110111011110000","11010000010011001110000101011010101111010101010101","10111111111111010000111101001100000111100000100111","00100000010000110111011011000101000101000000000110","00111110100011110101100100101100010101101000011100","00010000100100110100111111010111001011010011000111"}

    {0,1,0,1,0,0,1,1,1,1,0,1,0,0,0,1,1,1,1,1,1,0,0,0,1,1,0,1,0,1,0,0,1,1,1,0,0,0,1,1,1,0,1,1,1,1,1,1,0,1}

    Returns: 0

  42. {"10011000011001100000111011111110111010111011000101","01111001100001101011010110000100000111000010010001","10110001100100000111101110010101100010000101101000","00100100000110101101101111001000000000001001101001","00001010101111011000111011001101100101000110010000","00001110101000100010001011010000010011010101010001","01011001001101010101111000111000011011010100111001","01101000111010110001010011010110100111100011100101","11101100110110101011001111101001111110001001011110","10001000010001011101100100101100111000001001001010","00010010110101111011001101100101001011101111011101","10111001010010100101110011011001000001101011110010","10000100101011010000001000101101100111101111111100","11001010110100001011110011110011011000110100110010","01100100111000010010001110111110011111010010101001","01111110110010111110001011011110001111011001110101","00011001011000110111111011011100001101010010011100","00100111000011101000011000110011100010010010110001","00111100111110001101111010100100110111101101000111","01111111101111011011001110011000000111111000100010","00001000100110110101100111011100011110010000100101","11101011010011100011010111010100101011111000111110","01001010101111001111110001011100001100010110101101","10011101001000110011100000100111111001011100011101","11101100111101001110010110010010001111101000101001","00000111010110101010011000111011100101010000000010","11011101011110010110011110011000011000000000000000","01101110101011001111001010001111001111000110101011","11100111111110010100101110111010001000011101000010","01011100100111110010001100101110100001101001011111","11011010011000111101110111010001011101010001101101","10110100001100101010010001001110001000100110010111","11110010110100111111100110100101011011000110111010","01100100010001011001101111101010001000000000011001","00111100011101110111100001011010110110000111000000","01101000011110111100100100001010011001111101100101","00000010101111111001111010111110011111001111101101","10101111011110100010000010000011010101011011111001","00101000110110001101110000001101101101100101000010","10110100100100000010100111000010011101101111000100","11100011011110111110110110010011111010111101001111","11000111011001011000010001101001110001110110010100","01111000001100101000110000100110101110111010111011","10110101010001110100101000010011110010110000000111","01101011001011001111011010100001110000001110010111","01111110101011101101110001101001110000010110101110","00101110011101001101110000011111111100101010010011","10010011011110001101011010100100111001000011010010","10110000001110101000011111010111110110000111110001","01101010010001001000110110111011010000101101000101"}

    {1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,1,1,0,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,1,1,0,1,0,0}

    Returns: 0

  43. {"01001100000011101000100110010110010100011011011011","10001110110000001101110000011100010001100110000111","11001011111111100101110101110010100101111110100111","00110100101111011000000101001010011011011110110001","01101011000000000010010110011110011000011101100101","00010111111011010010000100011011000110100000000010","01100001001001100011100110111000111111001000011000","11001101110110001000100000101110011000001111001001","11101100111111110100100101010100100010000100101100","01101011011011001000110110010010100000111111100011","10000110101100111000011010111010000001101101011111","11011111110000000010001100110101001100111010001101","11100010000110011100011111010101010010101011000010","01101000000111011011000100110001001111111010101011","00001001110000100001001010010010101111111001011110","11010010110101100101111110000110100010101001110111","00101101101011001110111101000001111111101111000011","00010110010000010110011110010111110100011111001101","01100100110001110100001111101110000111001110101011","01100000011010000010011111001010101001110101001111","00101101110010111010000101011001100000000100010101","00011000111010010001010100000110110111100100001011","00010010010110111110010110010110111100011010110111","11000010000101110010110100000101100110101111001110","10001010111011011011000101101010001101000100000101","11111000100000000110101100110011011001001011101100","10101001010111001101110010101100000101001100001111","01011110000101001001000111011011000011010101001000","11010000100001000110100011000100100000011110000110","00001111001011110001001011101101010011100111111100","10111001000100101111001100101001110011011111100010","11101000111111100000101010010100111111101011001000","01011011100010110110011010010100001100111000100010","01111111111111100101110011001010001001110101101101","11111100110001010100100111100010100111001110111110","01101110111101001111101011010111100010011010001011","00101110011101100011111001000010010111001001011001","11011001101100110010101101101111110110110111101000","11011000101101101100101100011011110010101101110101","11010101101110100011010110110100110000011000101100","01001100110010000010000001010010010001111110110010","01101110110111110001100010011000000111001010001010","01011000011011001011010001101011101110010111111010","11000100100100100110110100111001110101000101010011","01000000111110001000100101110101111000101101101110","01011011101001101010000111011000101000000010010000","00110000011110000010110001110101011100011111110000","01100000100111111010111011110001110110100011000101","11101010111010001000101011011111001101001000110001","10101010101010001111100000111000101000111000000001"}

    {1,1,0,1,0,1,1,0,1,0,0,1,0,1,0,0,0,0,1,1,0,1,1,1,1,0,0,0,1,0,1,1,1,0,0,0,1,1,1,0,1,0,1,0,0,0,1,1,0,0}

    Returns: 2

  44. {"00011100111110100110100000001101010110010010111001","01111110111110111010011011101010111011010000001010","11100001100101111111101110010111010111110001010011","00010110001111110110110000011010001010011000100101","10111110110010010110010100010110101011111001011101","01010011110001011100110101000011010111010110000001","10011100101110100111001010001001011100100110011111","01001110111100110011000111110001111000011000101010","10101111000101011011010110011100000101000010001111","10011110100001011010100001011001010001011110001010","01001111000111100010101111010101000000011010110111","11010111110101101101100110110100101011010101101111","00100011010100100101001101111111110111001001100110","00011111011011011011111100111100010011100101001101","00001011001111000100000011011101111011010100011011","01110100100101011110000100011010011111011111001100","01001011011010001100001101101010100001000011100000","01110100100110110000100100100000001010101011101011","10010110100010011101001001111101110111001011100110","10010100000101011000101000011001000010000010101101","11111001111101100011100111011100010100001010001110","00000010110100101101101100010101010000000010100110","01011111101111000011110100101011101010001100100110","10001100010111000011100111010011001101100100001010","00111010011000010000011011110100111001010101000100","00001111001110110000100000000111111100111011010111","11010001101011100000111001000111100110100011011100","11100100010110000101100010111001000100001010011100","11110001100000111001010110000100011011100001111101","00110010111000010001100110111000110111110001000011","11011100001110000110100111010011000111000011100010","00010001001101000100000111100000100111001011110010","01010010000111100101010001001011111111100010001000","01001011010011111010100000110110100110101110111011","00000111100010100111000000010001010000110111100110","00111010000101000101010010111111000111001011110001","10011110110100001001010010110111111011110000110011","00011110101001001010011101101001000010001101011000","01100001000110101010000110100010010010000111001010","10011101101011100000110100111100010010110111111001","00110010100011110011000111010100001000011110111110","11110011110111010100000110111110110000101100101110","00110110001011111100000100101011000110011001010111","10110111011110111001000101000000111011100001101111","10101100001110001011100100101001001101010100000000","11100000111100010010111111010000000011110110010100","11110000000111011001111011010000101001100010101111","00110011110111010111100011101111101010011000000111","01001000001001011101001101100000111011101111000011","11000100110101110000111010011001110000011111011000"}

    {1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,0,1,1,1,0,1,1,0,0,0,1,0,0,1,1,1,1,0,1,0,1,0,0,1,1,0,1,1,0,0,0,1}

    Returns: 2

  45. {"10010000010010100001111111110010100101011001011101","10000100000100100100110100001011001010001111111001","01010111000001100110110011001111001101000001011111","01101001011001100000001111110011010100110100100110","01001001010101000110001110010000110000000010011111","00101001110010100010111010101000010110010001111000","10111100010001010110100110110101101100000111110101","00011101110001100001110110010101101110000010100000","10100011101111101111111010110010000011010110110111","11110001101111101010000001010110000011010001100100","01011101010001001111101001010010100110001000100000","10011000101001011010100001000110011101001100010010","01101001011000010100011011001000011010000010101000","00100010010100111110010000110101111110110001110111","11010101001010010001111010110111100111000100111110","00101010101010000010110110000011100101000111011111","10101101001000101000111001010000101000011001100110","00100011000010111110000011110101000100111101101101","01111011101110001011110101010011101010000011000110","11010010000001001110111001001001011101100011010010","11010100110100001110101111010110111100011010010010","11101111011000011111000000110000011101101100001001","00001011111011001001010000100110001001100100000011","10101010001110101010101001100010000011010011010001","00011011111010101010110111100111011111010001101100","11001111101101011111111000010000110010100110010000","11011111100001011010110100011010111011000111011010","01001000010010100110001011110011101111111010111101","10110111010100011010010010000001111010001110000001","01011010010010101100000011011001110001100010010100","10111011010111000001111011101111100001011110010110","00111011010101000110001100001011011010111010111101","01000011110001101100000010001010000110000101010000","01010000111010110010110011111110110110011000100011","10100101011011010101000111110111110001110000101110","00010110000101001111010101111100010000010111101100","11000000001010101101100001101111011110010100101100","00011010001011011100000111010000011000100111100001","00101111000000001111101110110011110101000100100011","10101111010000010100100101110011111110111000001001","11111011000001010000011111100100000111001100001000","00010111110100010111101001000010000101101001101011","11101101101111010111110110110100001011001101001001","11110011001001000011100100001111001010101001011010","11101011110001100111001011111010010100011110111111","00111000001110101100011010010111001110101010010101","10110110111011001000000000000001100000010001111110","11110000010001001000011001000111010100100110000101","10101101101110001001110111001000100000101100001110","11100101010100001101101101111101111100110100000110"}

    {1,1,0,1,0,0,0,1,0,1,0,0,0,1,1,0,1,0,0,1,0,1,0,1,0,0,0,0,0,0,1,1,0,0,1,0,0,1,1,0,1,1,0,1,0,0,1,1,1,1}

    Returns: 2

  46. {"11001111010010011001111101101110001011100100001000","11100111010101011111010011111100101110011111011101","00100101101111100011011100010100110010010111110110","10111010111011100010011000010100000000100001001110","10101100111111011000100100111011010010000100101010","10100001000111111010000111111010110111001010000001","11001100101000110100001101011010100000100111011011","11000111000101100110111011010111011101110001000111","01010010011110111000011000110000011101001100011001","11000010000001010101111110111100101100101110000111","01001101010001101001110010111001001110000111010010","01000101010110101000001010101001001011001000111001","11010000100101010111100000011010110000111011011000","00000101001001101111110011001000110000110101110010","11010011000111010100111010110100010010001011110011","00110110011110101110101001100111011110100011111101","00110001111101000100110100101000011101011101011111","10010101111101111111001010101010000100010111111010","10111101101011000101011000100100111100110111010111","01011001110010101011000110001011101110011001100101","00001001011011001010100111010011110111110000101101","01001101100011011011001010010000111001111100010010","01001010010001101100000010001111011100000000001000","01000000011000000110100001111111101011001101000010","11010111010100101001010010000000110100101001011010","00011001010000011000011101010100101011010011010111","01100101100101010001101010110001110001000110001000","00110011000010010001001111011110001100001100100010","00001100001000000011101000110111001101000110101001","01111100000110110101001110111011101110011101100111","01110001101111001100111001011100111001100100000001","10111101010110110000010010011100100001111100101011","10000110100011010111100011000000011111101111101110","01100110001111111111001110000100010010100010001110","11101000101001010111111101010001111001001101011100","00010001010001010111111101001010110110010001110111","00010110000001000110100000101101001011111110001000","01111101110000101111011100000101111111010001011001","11111001100011001001000111011011110111110000010101","11010010010100010100000110110110111100110110101011","01001010111011000101111101010100100011110101001100","10111000101100010110111001100010110111010101010100","00011100011000100100011010000000010001110101010001","10001100100100001011010010000001010000001110010101","00100101101101101011111110010011111000111111000111","00001011100111011001011001100000001000111100111000","11010011000101101110001101000001111100101011100110","11100001101001101011100110111101011100101010111001","11100000001010000000110100010110011101110100001001","00001011110101100011100110000001100101011011100000"}

    {0,1,1,1,1,1,0,0,0,0,1,0,1,1,0,1,0,0,1,0,0,1,1,1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,1,0}

    Returns: 1

  47. {"10101000111111000110100011001111010100100001110111","01110110000101100010100011100101000000110110111101","11100001000111111110100111000110010100011100100010","01110111001001100010110111001110001000011110000000","10101110000101000100101011110000011100000101110010","00100100111101101101100010011100000011011000100000","00100010101010011010010011000010000101111110111100","01000100001001110010100000110110011000100000011111","11011110111000001100100001010111011110010100001101","01011000111100010001011110010010101001000110111000","01011000111000100110010100111000100100111010010100","11100001100000011000010000000110001110001100110110","00110000101001101011111010111000000001000001000110","01111101000001111001111011100011001100010000011000","00110101000000111111110110001100001101000100010000","10001110001011111011011010100101110101011110011000","11011111011110010111001011011010000110110000100111","11010011100110011001111010001001110100101110001101","00000001010110101001001000001101110110001111111000","01110110110111001001001011100111001101010101011001","11011100111111110011101001111111111000001100110001","10010000010111101111001001011001011101111101011010","00100011011001100001110110100010110110101000111011","10100001100101100110001111011010101010000010101110","00011001101000110101000001101010011110100000110011","11110111111010010011001011000001010100101111010001","11011110110010011010011000111110000000001001011110","00111100111100111011010010110110010101011101101000","10101011010010001100100111111011101001011110110101","01000110111001101010000010110101011100110000100000","11011101011000110001000000100000110101010110001001","00010110000001011110011110011110011111100101101000","00111001010101001010001111010001110101111010101110","00001110000101111000010001001000100000111100100100","00011111110011101110000111001101111001011010111110","00111001011010001001000100011111001101100011110011","00100001101000101001111101110010011101011010100010","01100010110010011110101100010000110011011000101011","10111001111111100110111110110100110001110101000110","10001101001100010000010101100001111101111011111011","11110010011101000111110000000101110001000101110100","11110000001100010111011011101110010000010000010101","11010101000100010000000101001101111111100010011111","00000000110010100001111100011000101001011010100001","10011100000010110111100101001110101000010000000000","00111001101110111011000100001110001100000100100101","11110001011000111100100100001011111001010111001110","01000100100101000110111101010110100001100010100101","11110101000111101110111100000111110010111100101001","00010000111010001010001010011100001111101111001001"}

    {0,0,0,1,1,0,0,1,0,1,0,1,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,1,0,1,1,1,1,1,1,1,0,1,0,1,1,0,0,1,0,1,1,1}

    Returns: 0

  48. {"10110110010111111001000111001001110001111010111000","00111011000011000101101101100110001001001111100011","00000110010110101111100010101000101011000001001100","10101001100011110100100110011110110000100101011111","10010100101111010110000110100110110111111101100111","10000101011011100001110101100001110110101100010001","01101100000011000011010011111010001101010011001001","01011110001110000001100100101001100101101010000101","11110010011001000101111000110001100101001101111101","00111101101000111100111001000000100101110110000111","11010001100011011110100011000010101111110110011011","11000110101111111101010010100100110011000000001010","00100001011011011111101010101100001011001110110110","11010110100111100001010101101100111001010100010001","11100011111001100000001001100111010100111001000110","00010010110101100100010011000011000100100000001001","00101010010011111001110100101001010011100100111100","11110100000100011100000010000111001000010110111001","01011100100111110111101010101010101011011110001111","11010110011000110111000001110110110100000010111000","10100110010100101110001010000000111011110000001100","11110101111100110010010001100001000111001010100101","11111111000110010110001110100100100100101010111000","11101010111011011011110110110101111110101011011000","11101001001001110110111111011101111111101001011110","11000101000101001110001011011000111110101100000011","01110001010100110110000100101110001111011000101110","11010111110011100111000010101101001101111001111111","10110010101001111100101001111111000000101111000101","10100100101010011110111011100111010011100100011011","11000111101011111111111110010001101000010100001000","11011010001011011100010010110101101110101110100001","00110000011011001011011100011101110010001111111001","11110000011100010110110101111000000100000000000101","11010100101111101100110011010101110111000101000010","01011111010001001100011111110111101010100101001010","10001000101110011100101110100101111101111110000001","01101100100000011110101110011011000000010110011101","00000000000101110100100010010000000100111100010111","01010001100000000011100101100011110001111000110111","01110111011100000001110111000001100111110100100110","00000111001000100011011111000011101001000100101111","01000101000011111000011001001111111000010001011011","11001110010011101101010110101010010001110011110001","00101010101111000011010101000000011111101110101100","01111001100010101111111101011101111000010011001000","11110110110011100100100101110000101011000110111010","01010111010010010010011111111110101100010111010101","01000101010011011101010111001100011001011110000100","11110100111111100111010000010111010100100101010010"}

    {1,1,0,1,1,0,0,1,0,1,0,0,0,0,1,1,1,1,0,1,0,0,1,0,0,0,1,0,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0,1,1,1,0,0,0,0}

    Returns: 1

  49. {"00110001100010010001101101101101110111010011000111","00101010000101111010000100111110000000001100110001","10111001001000001001000010111110001100101011000010","10000101011010111110010100101001001100011000101011","00110000000001110100000101000001110110000000001011","00111011101111010111111110010001001100101100000101","00101100000011100101001001010110111110010001000011","11100101001001010011011110110110001101000100110011","01110110111011010110100111010001000010111011111111","00110111111011111000110001000010000000010111010000","00010011000100001001010011100011000100101111101000","11110000110101000101111011000100011001110001100001","11101100001110001101111110000000010101011110100001","10011001110100001111100001100010010000010111110010","11110010011000010101111100001000011001101001011111","11110010111001001101010000001110110110100100000101","10100000101010001011010011010001001010000100010011","00011101101011000010001100111111000101000100100011","01110110011100010101101101010111101111110000000111","11101111111010010001111011110110111100010010011011","00011100011000101010101000100001000111110000100111","01111111101111110010111001000010101100001010011110","00001101010000011001111111101000010101111000110011","11111000010010010101110101110001011001011000010101","11100110010100011111110010011101111000110111010110","11101100111100111101000100000110011110001011000011","00101100000010000011011110110110010101110000000000","01101010101110110110111110011010111111101000110100","11010110000100010110001111001001011101001011011101","00001010110101011001011111100111000101000001101101","01001110101100100100001100001010011100010000000001","01111001100010000111111010101011111000100001011001","00011100111001111010111101101110001111100000111111","00111010001000110001111001110011000000000010011001","00000001111000001110000000010110001101101111010001","11001110010111011000111001111101110100001011110011","10100110000101101000100010001001010011101011100100","01110111111110011001100000100101101110000010010100","11100010010110100001010100001010111101011011111111","11100110010101010101101111000010011110010001010110","01100110000000010011000110111011011001110001100100","00110111110010100001010101110001110000110000010100","11000110110001111001001100010001111010000010011001","00000110000110011011101000000101000111110001110000","01011001001100001100001111011010111001110000100101","10110101000100100100001000111110110110111011100110","10100111000110001101101110111111001010001110111111","10101011110111001100000011000100010101001110101111","01110101100111011100001011111011001010101010111110","00010000010100011000010100111101100110001100101000"}

    {1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,1,1,0,0,1,0,0,1,1,0,1,0,0,1,1,1,0,0,0,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,1}

    Returns: 0

  50. {"11010110000110100001100000100111100110011000001110","01000010011100111011011100110110010011101001010110","01011101010010101111101001001100100010000100000101","01010001011101000010100011111100100111100011001111","10010000010010111011101000101110111101101111000111","00100100001001000010000000010111010101110110100110","11100000000100011111101001000100011110111011010000","11101001001000001110000110100011010100011110101110","01011101110111001101010011110100101100001110001110","10001000010011110001111010000110110000011011000100","01000110001010110101011001100100110010111110010111","11011100000110010101111011000000010100101010100010","11110101110101111001111101100101100101010001010000","10100110010011011001111110100000110100101010000000","10010111111100110111101101011111011100100001111101","11001100010110101100100000110111000110011101011000","01101101110111001111100101001111100101010111010001","01011010010101101100011110000000001111111001101001","11110101001011111110110100101100110010111010111010","10010000000110001000011100001010110010010100110000","11001011101011010111101011110100011110000100000100","01110010100011010100000110110001010000101111010011","10110010110011110000110011010110000100011001010101","11010100010011100110101101011001100011000110011101","00110001110101001010000011011101100010110100100111","00010111100100101001000011101000101000011111010000","01100010101001110100011100011000011111111101000100","01011001101011110010000001100000110001110001110111","10110110110011110011100000001100110100101101100001","10001110000001000010011100101011101111000010110010","11110000101001010111010111011111101011100001100010","01101001011110001011010011100000010000110110010101","01000001010100111101110101110010010001111000111100","11010100110101110000001001101111111110110101000111","01110101101111011011111111011100110010010100011101","11101111001000000100100010101010101011111100110001","11010101001001000110100011011100011011010100001101","11111111110000010010001010111111101110001101010101","01001101000000110001101001011010000001001101000001","01011100010100100001111001110100001101100010011100","10101010000111111011101011110110100011100010100000","01100000111100000110111110101010010011011000001101","10010100010000101010001111010110100001110111000000","11011001000101111101011100100111000001011001101010","01000100010001100011111101111100101011010100011010","10101010001000110011000111001111101110011001010110","11110000110100110000011001000001111000100110101110","11000001000010111110001100001010111010111010110110","01100010111000100101001101011010100111100000100000","01001011101111011001100011011101100101111101110111"}

    {0,1,1,1,0,0,1,1,1,0,0,1,0,1,1,0,0,1,0,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,1,1,1,1,1,0,1,0,0,1,0,0,0}

    Returns: 1

  51. {"11111101100001100000001110111110101010111101110011","00110011000011100011100000101100100111111111011100","00010001011010111110111101100001111001110100111110","01011100101010101000001100010111010000110000000110","10111000011011111111000111100101110110001000100101","00101101000010011100111010111001000010110000101111","11000001001010101100011100010101001011011000000111","11111111100000101101011101111111110101100010011101","11010100101111000110011100001100000101010000011111","00001101110111001001100010000110010001000100011011","11011111110111111000100111100011001110110010011111","10111110011011001101011001011110000110010000001010","10000010110100100001100001010100010111101100010000","10000100100011100011111101001110000001000000100000","11101011000010111000001001110011000110010100011010","10000011011101101110111101010101100001100010000100","00010011001001001011000001010100110111100101001011","11100000100111110111011100011110111010010010101011","10100110001101111000101000011110010001101100011000","00110110000101111110011011011010000001101000000100","10010011100110010000010011000100010010010110110001","01110100101110000011011000101100110100111101100000","00111000111111100000001101000010101001101000001000","11000111110010111110001010001110011100110111011011","00100110010100101000100111000100001010000011001101","01010000111100110010110000000101010000101111001100","11100000000000001101011111110110111110000000101010","10111000011010111010110011001010000100111001110010","01111000001111011101001100111000011011101011110100","10110110110011111010010000001011110110001001110110","01111000110111000110001111011101110101011110001111","11000101101111001000001011101010011110011111100111","11101100100011100011001100111100111000010000101110","00011010010001101111110010000100010101111111111110","10011011010100101100100110001000010000010010001101","00110010101100010100110010010001000010100100010010","00100101111111000101000001110101101010111111111110","10110100111111011101100001110001000110000100000000","11101100001111000011111011011011100101011001110011","11100100111000110000011111110010100010101001101001","00001111001100011110101111111001010000000000001010","01001001100000101101001110101110010010011001001101","01011011111001101000011010110100000101110110110100","10100110010000100001001111001001000100010010100101","10101111000110110011101100010111111011011011001000","00000110010100110000111011000010100100100100101000","00010001001010111100111101011000111010100010100110","10011110110111000010011011111010110101011111110001","01010010101111001001110110110001111100101110100101","00100110000010110101010010100111011101001100111100"}

    {0,0,1,0,1,0,1,0,1,0,0,0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,1,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,0,1,0}

    Returns: 2

  52. {"10110001100101101001001011001101001101111110010111","11100010101001000100110110100011110110000101011100","00011101100110100000101001100001111110000101010110","11011000001100111000111101010011000011010000100010","01110000011010010111110101010011001100001101111100","00110000100001011010111101111001011000110100101111","11111100100000100010001101001110010010011101110001","11111011001010101010011011000011010111101010101101","01111010011011011110101001110100010011001110010000","11010110100100011011101110000100111101101001000000","11010100111000110000001110001101100011101010111110","00010101100010101101111100000000001100010011000110","01000011010001100101110001111100000001001110011110","00011010110111111110101110001111001110010010110111","11100010101111101100100110011111000000110101100101","11000011010001110101101110100001001110010100001100","11101111011111101101100010110111010011101111010011","01111100000000000011100101110011110100111100011110","00010110111001110011110010000111111001000100101110","00010111001110000011001000100011011100111111011000","01010110010110100000001011100100010100101101111101","00111010000110110111111100101000011000101000111110","00010010011001111000111000000001001011111001110100","00111011010101011010110110000000110011101100000011","11100001110011001110001100111010010111101000101110","11000010101010101001110000101101111000101011110111","10100001011101101000001001000010001110101101010010","11110111000111101001011100000001101110010111001111","01010011100001111110000110010110011111011100110111","01111100010000010100000111000001001011000000101001","01011110000101101101101011111010010001011011000010","10011010110001111111110000111011000101000101100100","10001101100110010000001001100111110101110101100001","01110110000111000110011011110100011010111100010000","10111101111101101100010010001000110011001101101110","01000100000111100010010011011010100001010110001000","00100000111010001010010101110101111101011110101001","01000000101000110100111000001101001101111111011110","01011010101010110010001111001001100101101000011111","00100111000010100110010110011111011011010001001101","11001010001111111110010100101011011111101101011000","11110010011100011011101101001111000010110000111100","10011110100101001010001110011110001000111100011000","00100111100110000011011110100110101011001110000010","10001001001011101110000010001000011101011111100110","00111101101001100111001101010110001011100011110000","10100101101110011001111011110001100001101001111010","01010111011111110100111010001101101100010011111100","01011011100010001110100001010001110000001000011000","00010010101010111010101110011001100111100111111111"}

    {0,0,0,0,1,1,1,1,1,1,0,1,0,0,0,0,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,1,0,1,1,0,1}

    Returns: 1

  53. {"10001000100110010001100000001010011110111010000101","11000110000101111000101101001000001110110101010011","00111001010010010100110011011000000111101001000111","01100001101100000101111111100011110101010011110110","01011001010110010110100111010000110010101100110010","10001011010001011110111011101100101001110000101011","01000101000101101110000001000110000010111011010000","11011100101111111110011010110011011101110100110010","11100101010011100000010001100111110000010000001001","00011111001011010011011110011111000101001101000110","01011100000101011011110101111010011111101111111110","10100011100100010001000111100010001110001001000011","00111111100111101010001110000000000100100101111111","01001100111001010000011000010111110111110101001010","11110011010110111010011111011001000010010110001100","01010110100100011010110101000011010001001111100100","01011010110011111100100011001110101100011010100010","00111010000100000011101110011000011001001011110110","11101111100001011110010101000001000100010101010001","10001000010011100111101110000000001000000111101110","00101110001011001011001001101100001110100100100000","10011010111111000010100000000001101100000001100011","11100011010010110110001001110100111010001010011000","01010100001000100011011011001011101111000001011011","00001001110110101101100111101111101101100101011001","01010000101001111111000000011110110001101010101111","01100101001110101010111000010000111010100100111100","11010000110110011101100001111001001101110101011110","01010011100101000110111111011001001111101110110010","11110100001101110100010011000001111110010010001000","10011101110101101011111101101000011111110000100110","01111011100101010101011010001001010011110101011001","00000001111111011011001001000111011011101000011011","00101111000010000101011010001011111001001101011001","01001001011000000010110110001011010010011101100100","01110110110000010000101100001110100100100100000110","01001110111111101000010110100000001110001101011010","10001110100101111000110000000110111100001000111101","01110100000011100111001100100000111111111111000011","11011000111110101001001010111010011000111100000100","01110100111111110001110010111010100100001000111100","00111011111000000001110110000111001101000010001011","00001000110001000110100111100100010011001100100100","10110000010011111101111010000101000111111010000011","01100001000100001011001101111111110000010010111001","10010101110011111001110000010110101010110100111001","01100101001111001011000111001000100111011111000000","00010100011010100110000101000001000011010000000111","11001110110010101000000010101111011101011000110111","10100101000100011011011110010111111010010110001001"}

    {1,1,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,1,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,0,1,1}

    Returns: 1

  54. {"10010110110010100010111010100000110110111011011000","01010110101110001011001101101010001000100001001111","11101011010111001111110001110111110111110111001110","11001100110011010100110101110110001101001101000011","10100001101000111011101111010000111010011100000000","11010011101101000110101000110100000011010100000100","01100010100100010011001000100101011010110101010000","00110110001100001011101011001001110010001001010110","11111010100101101101011100100011001110001101111010","11101011111100011110000101001010010001110111010101","10011111111010000011011011011101000110011101001111","01111111001011000011000011011110100010101000111010","00111100010011101011101111001011010000110100010011","00101010001100110101110111010110000011111101111010","00110101111111101011001000000000010000110000001010","11011010110010001011011011101000011100001011001101","10001010110011111111010101001011001100111110111101","01111001100100110010010000011101110011001011001011","01011011100000100111100110001101111110101000100011","01000001100011000110111000100001101001100001011000","01100111110001111110011100101001101001101101010111","10110010001001010000001110011110010001011011110100","01010010111111000001011000101100000010011011010000","11011110011011110100010100100100100101000101101000","11100101011110101010101000001110001101001111101001","10011101100110010000101010101101110011111101111001","00111100000011000101010001111101010110010011111011","11100010100100111001011001101001101000111000010011","00111110111010001101001101000000100101011100001010","11111000000110111111011110110111000000010011110011","11010010101000100001011111000001011111010110111111","10001101111001111000011001011001100100110111100010","01101001000000010110001101010010100000101011101101","01100101001110101010000010101111101000000111100010","01111111110101101111101110110010000100111111011001","11111100100001010100110111110000110101101110110000","00000010101110110111010101011110101101110101000010","01111010110000001111000011010100100001010011111111","11001010100110111101100110000001001001010101100010","11001110101100101111000001100010001101110011010110","11010101100101011001001111110101110111111100001000","01101111010110010110001011110100111101100110001101","01111110001001011101010010111111101111111100011100","10100110111000111111101110001011000010110000011110","10110010010000101000001011111110101100100011000011","11110011010101110110000111101001001000001011010110","11001001100100100101000110100011010010000100010111","11100111101010100110000011000010100101011010011011","01100101101010101100101000110101100111010100110111","00000110001011100010110010011010100010111011111101"}

    {1,1,1,1,0,0,1,0,1,1,1,0,0,1,1,0,1,1,1,1,1,0,1,1,0,1,0,1,0,0,1,1,1,0,1,1,1,1,1,0,0,0,1,0,0,1,1,1,1,1}

    Returns: 2

  55. {"00000010100110101111101001101110000000011001111110","11000101010001000100100111011100010001111010000000","01001100001110000100000100010101110010000000010010","01011001100001111001100110001001100101000110010101","00111101001001000111101001010101001101100111011011","11000010000010100001100101010101110100101001111101","00000000110001011110000110000101010011101111010001","01011101101011010111000011111001011110000100000101","00001011010001011100000101011101101110000010011011","11001001101001101011101110101011101110011100000000","01011000110000000011100010101100001111000010010010","10001001011010101001101000101110101110110101001001","00111101010100111010010011111001000100111010000101","11010110100011000100001001110001001110100010000100","10111001011011101100000011010011110101111110111101","10100100110101011110011110011011111010101000111111","00010000000101001101100110010100100010111011100111","01111011110001011010001010001100100000010010001101","00000000101001010010101101111110010100100111110011","11000101110111101001110100100010010100001110010101","11011101001011100001101000001110101101010011100111","00011010100000011110001100001101110001111001111101","01001101001011010100010011101100110100001000100111","00001011000001110011110001111001110000101110011110","10001000000000101110001000000110000101011111111111","01110000101001111011000001010001001110001100011001","00101101101010000110010101100010011000000101101010","00001000100110101101011011101101100011101011100000","00101111111000100110111110111111111101101001101010","00101000101011010110111000110110101001001111000011","01000101100010110010110001100111101011110001001011","10101011111100110110100010100000010001110101010011","10101101011011000111101001100001011110010010011110","00110000101100110011111000000101000111110000010001","01001110110001111010101011011010100111011111111010","10000110000100111011000011111100100110010001101010","10100000101100100000110111111100010111011100000010","01001011010110000000000100000110011010111100011110","01010100100010111000010001101110100101100110100111","11110000000001010011110101110001001001101111111100","11110011111001110001000001000010000110101111011101","01100000001100101101111010101011111111111110001001","00000010000001011101101100111111101111001101110111","00111101101110010001001110001010110110001110101110","10100111001010100010010010110100001010000100100010","10110110100110011101000111011000100110010110000001","10100111110100000111011001101000011110111001101101","11110111011010010111101111111000100111101000101110","11001100000100001111000110110101111100000101110100","00101001111110001001101100011100011111000110010110"}

    {0,1,0,1,1,0,1,0,1,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,0,1,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,1,1,0,0}

    Returns: 0

  56. {"00010000010100001011010111000000000001101110001001","00110100000011110101101110010000011100110000010001","00000101001110011001100110110101111111111010010000","00101010010110111101010111001000000110110010001010","01011010101010001001100111101111110010110111010010","10011111101111001010111111000110000100000111101010","00101101011000011010111011001011001011100011100101","01110101011010000000100111000010110101001010100000","00011101000011111110001100001001101011100010010010","01101000111001110001011001000010010011010111100010","11010111010100101010100101001100110011010101000110","01011010100100111111001101011010001110001110010101","01100111100110110110101111111011011011001010010111","11010100000100110001001011100010101011111101010001","11101100101001000101011011010001001010100111000000","00110111100100100011110001010010001101001101101011","00010010000011111101001100110000000001011011111110","10001010100101111101001011000111110001011001100100","00111101111110111100101010101101010000010110101000","10101100011011101100111011000001101111100111010011","00011101001110111111100000000011111010110101000011","10001101000100010111000110000001100011100010010110","10100001000011111011101000101101110011101101011111","10001000100101101011111100001011001001100000111111","10110001000101011110010011110001000000110001100101","10101101101010010100010110000100101111110011010001","00000110111001000001001101000110000011011110101000","11100011001111111010110001111001011001110001010110","11000010001101011010011001000100111000101111011110","01111101100101010101000001101000001001111000100011","11000011011110110011111110111111010101000111110101","11100011010111110101001000000001001100010100111011","11101110000010000100010000011101101110001110010001","11111111110111101101100000010001100010101111101100","10001101011111001111101011000101000010000011011001","10010001000000110110101100110110001011101011101101","11010111000110010010001001110110111100100110111100","00001001001100000000011100000100110100100001011001","00111000100110110111101110111101101011111000101101","11110101000110100011000110100011111001000111110000","11001111001010010010101010011010101010010000110000","11101111011101011010101001000101000001100111100111","10000111100000011011110101011100001101000001111111","11010010111111010001111111100110010100000100000010","11110101010110000001000110010110010000101011110000","11001010000101011110011000111100110111100001000001","00110101100000111100101111110100101111101111010001","10111110101100011100001111000011010111101101010001","01011110110000010010010100101111100111101101011010","00000110110001101111100110011010111000110100001010"}

    {1,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,0,0,0,0,0,0,1,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,1,1,1,1,0,1,1,0,1,1,0}

    Returns: 2

  57. {"10001101010010000101100101100011001001100001110100","10010101111010101000011001111011000001110001010001","10010001100000100110010000001100011101001111111101","10010110000010100100100001010110101111010011010010","11011100000010110110000110001001110101011101101111","11110011100011010010100010100101100000101101100111","11100001011010000001101100011111111110101001001100","11101000101010101101111100001010100010101110110111","11010001001000111101101001111000110011011011010010","11010111000010111010001000110000000011110101111000","11101101000101000001101100000011110100011101110000","11111110101111110100011100000000110001100011000100","00100010010000110011011110001010011011100110110101","01011001010011010101101101110101100110111011110101","01001111111100011101110110110110101101001101110000","00101011001110111010101010000111110110011110100010","11111000000101100110010110111110001101000101101000","10000011111011010111100100010100110100010110010101","00010111011111000101011100000000111111101100111000","10110011100000010101000100000101101010000011000010","00011101110111011101011000111011011001110011011010","01100101100000110010101100101001010000100110010010","00000000010100111000000010101101001100010010001000","10100011111110010000111101100110010101001011011011","00111110101110101111010010000111110001010011000100","10110001000001111100011110110001010111011111110011","00000110001000100010010101100111010100101000100101","10011001101100110100010010011100011011001010010100","01001101111001101110000010011110001100010000111011","10111100011110101100000000100111110011000100110011","10000100111011000111110001110101011010001110010001","11011111110100111111111110110111110010101110111110","00001111001001001010010110100010011100101001011110","10101010001001011011100100111111110010001101101101","01000100110100001001001101010100001010100011010100","10010000010101101111110010111110001101111001111010","01010101001111011101110110011100111011010011111111","10110101010111000010100111010010100011001101010100","01100000100010101101001111111010100100010101111010","10100011101101001100011010001110011110110001010010","01000010110100111001111111011010100101100110111110","10000001110001100011100000100110011111111100000001","11110010000000100111001111100101010000001001110010","10111011101011001111101000010111011111101011000000","10100111001001000100010110100000001000100110110011","11101011000000000011111010100000100111111100000011","00011100011100111001001100001111111110010000001101","00000010000110000010100010010111011010000111010010","01001101101111000001000000010101111111010111010001","01001011110101011000110111100000011110100011110001"}

    {1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,1,0,0,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,1,1,1,1,0,1}

    Returns: 0

  58. {"11100010001101101100010100101001011101010101000110","11111111111000101101010010110000000101000111011000","10000111101100000100010001110000000111010100100010","10000111100011001001000010010101010010010110010101","10011110011000000000101111000011001011000101111000","00000000010101000110001100000110011101101111111100","01010011111101011111100001110001111011010010111101","11111001010001100010000100001101011010110110001110","11000011110101111111101100100011110100001000100000","10101111100011101001101011010110101101011111001001","00110010110011100010011010111010111001000111010101","11110110000000011101101110010000001001110010101011","00010010101101110111001011100111011011001010110110","00011011100101110001100101111110011011100100000001","11001110001110000011011011001101110111110010101110","10101011010110101110000000010000111101100000101001","10110000100010111010110100001000111111010110100000","11011110100101000111001011111110111110011001001110","01111000101011111101111000001000000000010111101011","01111001101101011100000111000011010100010001100111","10000000010100011001110101100011000011000001011000","01001101110110010110000000110110000100001111111100","11010000111111010010100101100101011001100101011111","01011101110100110011010001110001010111111101000100","11111011010000011110101010011011011000010001010111","01100110101110100110101101100000100100110011110011","10101101111011110011101111010111111101011110010000","10010111101010000001110010001010011111000010011100","01111000100001100001111000010111110011011111001000","01010100101000110110000001100010011000111001011011","00100010101100011110110111001000001001101101000001","11010111111110110001110100000111101000000110100101","00100011100101110011011101001000000011100011011110","11110110011101100110111111100001101000111001010000","11001010001111100100010000011011111110010100111000","10110011101100100110011111111001110101000001000101","01001011110110001011100000000000110101111111000011","10001001110100110010100101100001101110011101111000","01010100111000101000101011011010000111000011100101","11110101100001101000001011110110101011000011110100","00001000001100101001111111100100101011101101111100","10110001000011000100110110111001011010000001010111","00001100110101100010011001011010010100001000101010","00000111100111100100010100011010001010101010111111","11011101110101010010111000100010110111100000100011","00110101100100000110010110110001100101100101000110","01001010101101101110011011111101110101011101101001","10110001101111100110001000111111110101110101010001","00100100011001001001010011001100111100111000010111","11101001000100101111011010111010101101001110101000"}

    {0,0,1,1,0,0,1,1,0,0,0,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,1,0,0,1,1,0,0}

    Returns: 2

  59. {"01001011110110001110110000000011111001001000100010","11010000011111101001000010000101000111101010110101","01111100011001111010111011000010010001000100110110","01001010111111101110110101101100011010111100001001","10000001100100111000011100001110011101111000101011","10101111111100101011100001011000111010111001100001","01100110000001101001100100111100000111111000000001","01111011001101011110011101101011101111000100000110","00011000110000000001000010100110010111110100100000","00100010001110000000000110011010010110110011100100","00010001011110001100000010111001111000110101101010","11001011101001000000110101101101010010101101100010","10110110101111110101111100110111010111111111101001","00010111000001000001010111110100101111001011010111","00000010011001010100101110011110101101001111100111","01001001010001110110001011110001111110011110011010","10111100101110001110001100101000010010110111100010","00110110010001110100110101000100110011011000110010","01011011101001010011011011110010000011100010110100","10010100011010101001101000110010000100011111100101","00001011000000011000010001001100110011001010101001","00001111010100000101110010010111110011101000001000","11010110101110110100001011100100110000110000110010","10111000111001001000000010011010111101001101110100","10000101011110101011011111001101101000011110101011","10110110100100000101100101100110111100010001011010","00100100101110011011111000000010111000011110101110","10000010110111000110110101001101111010011011001111","10011111111110101111001011010101101001000111011111","11101001110101000101000001011101011000001101100101","11000100011011010100110101000001001111011110101011","00110111011100000101101001101011111000110101011001","00101100000010001101110101000000110111111000101101","11101101111000011000001010010101011001100100000111","11001111011101011110100100101001000111000111010110","10000110110000111000110100100100110011111001110110","01110101111100000110100010000100111010000100100010","10011010011011001011010010111001011101001001010111","11000111001001000110100111100001101110001101100010","10010101011110000000100100001011011010011110010001","01001111001111010100011000001110110100001010111011","11111111100100111011101011001000110011101011100100","01001110100011001011010001000101001010011111000101","10000000101010011000101011011001101111011110010101","00110010100011110000111100100101101000000110001100","10100011011000110001100100001100000000101101010110","10100110100000000001010001010011110011110111100101","00010111011000011001001111111001101010111100010111","10010101010111011011110010011111000111010011110101","10100010001101101101010101001000011010101110010111"}

    {1,1,1,0,0,0,1,1,0,0,0,0,1,1,1,1,0,1,0,1,1,1,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,1,1,0,1,0,0,0,1,1,1,1,1,1}

    Returns: 4

  60. {"11011010100000101011011010110110111100111000011111","01010011011111010110000101011100000101100111100010","10101000101010110110100011001100001101100111110110","00110001111110000001000110000000110011011101110101","11010111110000101100000101001111011101001101011011","01111000100110110111000010001101001001001110000101","00011001011000111011111101100111001101101111101010","11110110010111010110110100110101101000010100010110","01100110001110010000101110110101100100001010010010","00111011101101111101000111010111011010000101110011","11111010010110001010001100011000100111110011001011","00001000001110010111101101110001111110110010100010","00010001001100100001101100001110000100111001101000","11010010111111010011010100001001110000000000100001","11110010010101101001000111001111110011010110011010","01000001110001001111000110010000100000001001111100","00001010110000001100001110010001100110100001010101","00100000100011000111110000111011111101101111010001","11110010110110100000110010110100010100111000010101","01011000100100111100101110111001110001111110100000","11011011110010010100011011111100000101000000010111","00000001010111001001001011001010001010100101011001","11011100001110010000001101010000001001000101011001","11000110110010100111000101111001000110100000011101","11110110000110111001100000101011100010111001110001","00011101101100001101110101100110110100001110100100","01010000010010111010001010010010110100001011110000","01000001001011011110111110101110011101001101100011","11101110110100100100101000101000010000100001011000","00110111100001111001110011010111111011101101110010","11100100000011111001110010011001000100100010001000","11101110000000010111010100000001100000111111010001","00101010001110100110000111100100100000011100011111","01010011110101110110101000001000000000110101101100","01101011010111101110101110101100011010010000000111","11100011011011010010110110000001111100100010100101","01010001110110001011010010001000001000011101010011","10010000001100000101101111111001110000010101110100","10001011101101100001110101111110000000001010011010","10111111110011011010110101001111110001011111001111","10100101110111011000000011000101100110101101101000","01001111110011010001111010110011111100010111111101","10011110100101111000101101000011001001111100100011","11100001111001101111010111110110011111101010101010","11110000111011000101101010011010010110101100100000","00111110001011000100011011001000001010111110011000","01100000100011110011000010011011010011101101001011","10110110101111011010011110001111011111100011000110","11110101100010001000011100100100000101110101110110","01101100001010000100000001011101010001101110010111"}

    {0,0,0,0,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,1,1,0,1,1,0,1,0,0,1,0,0,0,1,1,0,1}

    Returns: 2

  61. {"10011110101100110110110111001100001010001001101001","11010010010010010100101010100110011011010101111110","00010000110001011100000000001110100001010010110010","10111100111010110111011001101101010001110001000011","10111010101111010011001111011100010011111011011111","00111110111110101001010011000011110100111010000011","00010100001100010110100000000100110100101010010001","00000011110110010011010011011010100100000111011000","10100011111011001110101111110010100001011110000010","10101100101010000010001000101010010110011111100110","00111110011001111100010010000110000000110110000100","00100010011100111000100010001001000111000000001011","00000001010100001111011100010010010111101100011100","01011010100010010110101010011111001111010101000001","00001110011010111011111111111111000100101101010010","01011010000101011001011001010101010111101110101110","10100001011010010110011011001001100001101010000100","00110011010000000001110110011010101011100000011110","00010111000111000110011100101100101000101100001111","01110111011000001101101101000011100010011110101110","10011101100010111011011010110010110011100110010000","11001110100100100000110101010011110101111100110011","00001010101111110011011001011111010011100000001000","11101111000101011111000100011101111011111101010010","01110110010101100000101000001011101110110100111001","01001110100000110111111010101100011111100010110010","11101010100011111001011000100011001111111010000000","10011111100110101101000010000111100100000100110001","01101010001101110000110111101010111101100100010010","01101101010110100110110110101001000011000100101000","10100011010011001111111101011101100000001000011110","10010001000010000101110111101001000110000101111111","10110010110111000010110111010111000101100000111010","11101111000010010111101111110100011110101101111111","10110000010011011011100010100101100000011111110101","00110110100010100000001100010010100100010111100000","11010001010001110110100011000001011000001100110100","10011111011111010001010100000001011010011010010111","00000000101111110010010010010111110010111000000100","11100101010000100101011010111101100111101100110111","00000010001011111001110011100101000110000101010111","01011010010000001010010000111010000000100011101111","01000010011001110110111111110111000001001010100000","01111110000101101100001101010110101010001111101101","00101010000101000011110100011111100001101000011110","10001000011101100101011111111101110010100001100110","01101011010110011101010000001010001100011010110101","11000001110101110101011001001010000010011111000101","01010101101011010110100100000111101100110110100111","00010110010100010000010110000110000001100010010000"}

    {1,1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,1,1,1,0,1,0}

    Returns: 2

  62. {"10100", "00110", "10111", "00011", "10010", "10010"}

    {1, 1, 0, 0, 0, 1}

    Returns: 0

  63. {"111111111", "111111111", "111111111", "111111111"}

    {1, 1, 1, 1}

    Returns: 256

  64. {"11", "11", "11", "11", "11", "11"}

    {1, 1, 1, 1, 1, 1}

    Returns: 2

  65. {"11", "11", "11", "11", "11", "11"}

    {0,0,0,0,0,0}

    Returns: 2


This problem statement is the exclusive and proprietary property of TopCoder, Inc. Any unauthorized use or reproduction of this information without the prior written consent of TopCoder, Inc. is strictly prohibited. (c)2024, TopCoder, Inc. All rights reserved.
This problem was used for: