Statistics

Problem Statement for "LightbulbGame"

Problem Statement

Yvonne and Zed have a rectangular array of lightbulbs. Each lightbulb is either on or off. You are given the String[] board that describes their current states: '1' represents on, '0' off.

Yvonne and Zed use the array to play a game. They take alternating turns, Yvonne starts. In each turn the active player does the following:

  1. The player must choose a lightbulb L that is currently on. If the player cannot do that, they lose the game.
  2. The player must turn lightbulb L off.
  3. The player then may choose another lightbulb L'. This lightbulb must be either somewhere to the right of L (in the same row) or somewhere downwards from L (in the same column).
  4. If the player did choose L', they now must toggle it. (Turn it on if it was off, or vice versa.)

For the given board, count all winning moves for the player whose turn it is.

Definition

Class:
LightbulbGame
Method:
countWinningMoves
Parameters:
String[]
Returns:
int
Method signature:
int countWinningMoves(String[] board)
(be sure your method is public)

Constraints

  • board will contain between 1 and 50 elements, inclusive.
  • Each element of board will contain between 1 and 50 characters, inclusive.
  • All elements of board will have the same length.
  • Each character in board will be either '1' or '0'.

Examples

  1. {"000", "000", "000"}

    Returns: 0

    All lightbulbs are off. The player immediately loses the game.

  2. {"0000", "0100", "0000"}

    Returns: 1

    A single lightbulb is on. The only winning move is to turn it off and to refuse to toggle another lightbulb.

  3. {"00000", "01001", "00000"}

    Returns: 1

    Two lightbulbs are on. As they are in the same row, the current player can win by choosing the lightbulb at row 1, column 1 (using 0-based indices) as L and then the other lightbulb as the L' to toggle. It can be shown that there are no other winning moves from this situation.

  4. {"10", "01"}

    Returns: 0

    Two lightbulbs are currently on and two are off. We can work out all possible ways this game can play out to see that if the opponent plays optimally, the current player will lose regardless of the first move they make.

  5. {"1111", "1110"}

    Returns: 3

  6. {"1101","1110","1011"}

    Returns: 7

  7. {"1"}

    Returns: 1

  8. {"0"}

    Returns: 0

  9. {"01"}

    Returns: 1

  10. {"10"}

    Returns: 1

  11. {"11"}

    Returns: 1

  12. {"0","1"}

    Returns: 1

  13. {"1","0"}

    Returns: 1

  14. {"1","1"}

    Returns: 1

  15. {"11","11","11","01","00","01"}

    Returns: 5

  16. {"011001100","111000010","111001010","111011011","110001110","100001111","011100011","001000011"}

    Returns: 31

  17. {"10010","10100"}

    Returns: 3

  18. {"101100001","000100010","100101100"}

    Returns: 3

  19. {"1110001","1010110","0110100","1110010","1110011","1100011","1100110"}

    Returns: 23

  20. {"0111010111","1100100111","1101001111","0110110100","0011001010","0010111101"}

    Returns: 27

  21. {"11","00"}

    Returns: 3

  22. {"10111011","00110110","10100011","00101011","01010100","00000000","00110110","10100001"}

    Returns: 11

  23. {"111111","100101"}

    Returns: 9

  24. {"00110101","11000011"}

    Returns: 1

  25. {"100","100","110"}

    Returns: 1

  26. {"1100","1011","1011","1110","1011","0010","1101","1100","1100"}

    Returns: 13

  27. {"1101","0001","0110","1101"}

    Returns: 3

  28. {"100010000","011001110","011011110","111011010","000000111","100111000"}

    Returns: 5

  29. {"0000","0011","1000","0001","1111","1100","1111","1111","1101","0110"}

    Returns: 13

  30. {"0110011001","1101111000"}

    Returns: 3

  31. {"1011","0100","0010","0011","0100","1011","0100","0110","1101","1011"}

    Returns: 7

  32. {"001110","001110","100100","110100","011010","000011","110011","000110","011110","011011"}

    Returns: 7

  33. {"0100000","0110110","1100100","1111011","1101011","1110001"}

    Returns: 19

  34. {"00101","01110","11000","11000"}

    Returns: 7

  35. {"00110001","10111110","01000010","10101011","00000001","01001101","01000011"}

    Returns: 17

  36. {"1","0","0","1","0","1","1","0"}

    Returns: 1

  37. {"1","0","1","0","0","0","0","0"}

    Returns: 1

  38. {"1110100110","1100111101","0011011011","0111101100","1000101110","1000011011"}

    Returns: 13

  39. {"1001100101","1010010110","1101000010","1100000011","1101110011"}

    Returns: 9

  40. {"0010","0001","0100","1101","0100","1101","0101","0100","0101"}

    Returns: 3

  41. {"110000","111110","110101","110000","110110","000010","001100","011101"}

    Returns: 7

  42. {"1","1","1","1","0"}

    Returns: 0

  43. {"000","011","001","000","111","010"}

    Returns: 3

  44. {"1011000010","0101111001","1000001000","0111100110","1110011101","0100100001","0101000101","1011001110","1001000000"}

    Returns: 3

  45. {"10011100011101011001011001111111101111110100011","11110111111011011011111110110111001111110101111","11111111011110101001111101010111101111001101111","11110101111111110001111111011111101101001101111","01011101111110101111111111111111111111110111010","11100011101001011111110111100111100111110111111","11110001111111010100100001110100111111101110101","10001011001111011111111010111111111110111011010","11101001111101111011101001111111111101011111111","01111111110111111101111110111111110110111111111","11011010101111110011111111111101111101110110111","11111111111111011111111101111110110111111110100","01111011111101111100101010101111011110000110111","11111101011110110111111111110111111011010011111","11101111101011110111110110111111110111111011111","11010011111111110101011111111111110011111011111","00110011011111100110101111110111100101111111001","11111001101111111011111001110011111111111111111","01100111111111000110111111101110111100101000101","10101110011111111011111011110011100111110111111","10111111111111111111001111101011110101111111011","00101111011111011110111011111011011111111101010","11111110111111111111101111111111110011111111111","01011011110111111111100101110111111111011110110","11110111101111110111101111111111111111111111010","10110011111110111101111111111101111101010110000","11011111110111111111110011011111111110111111111","10011001110010111111110111110010100111101111111","11011111010110111011010101111111110111111011011","11111101110111110111111111110111101010101110111","11111111111101111101111001110010111111001000111","00101111111111111110110111101110011100110111110","11111011001101111101111101111111010111010111111","10110001111111011101101111110011111110111101110","11010011011111011110111101010111110011000111010","11111111110100000111111111011111110111011011110","00111111111010111111111111111111110111111101101","11101110010111111101010111101101111000111011111","11010110001111111111110111111111111111010110011","11111111111111011110111110110111110111011011101","11111110101010111011111011011110111111111111011","10110110111110011101101111110010110111111011001","00110110111000101010111100111111110100100100111","10111111111111001111100101100001111101111111101","01011101111111011001110001111101101001111110100","10110111100111111110110101101101111111111110111","10111111010101111010110011010011010111101010001","10011011101111110111100111111001100111111111111"}

    Returns: 1127

  46. {"1101000010100010001000001011100101011000001000000","0111101011000000010101100001110000010000100110001","1011000011000000010101001000011001000001000010011","1010101001100000100011001000100100010010111001100","1111010000000000100010000000100000000100000000010","1110000000001010000001000110100010000101000011111","0010101101000011100110001110001000100001001001000","1010100011000000010000110001111010000001000100000","0011011100010111000000001001101000111000100001100","0100100011000010100000010000010100100010010111000","0000010000000100011100100100100110000010000001100","0001111000000110100001010000010110010100010010011","1100000000000001100110010000001010000010110110010","0101000100100000011011010101100000000100000000101","0010000011011000010000000000000001101100001000000","0011010000110110111000010001001011010001001100100","0000001010000111101000011000000111000000011000000","1000000000101001100010000110100100001111111000110","0010101111000000000001011110110100000001010010100","1100000100100010010000000000000110001000010101000","0000001001001010101000100001001011111010101000001","0001100110010000010000000001000010010010001111101","0010001000010001000000110111010110110000000010011","1001011100111110001001100000000111000010001110101","0010101000001101010110100000100000111001000100000","1101010001001000001001010100011000110000100010000","0000001101100001010001000000010100010010100111101","1101010111100101101000000000000011001000000000000","1000000001100010000000111010001110010011010001001","0000001010010000100100010000000000001010000100011","0100000010000100010101100100010000001011110101000","0000111100000011000101000001100011000101000000001","0100011000100010000001001000100001000000100111100","1100100100000100000000100000000000000100110010101","0100101000010001000110000010000101110011110000000","1100000110000000000001100000100100101100101000100","0000100010001100110000000110100010000000010010100","0010000001001000000000010010000000110000001010001","1001000010101011000100011000010001110011010100010","0000100010100001010001010000000010100000101100001","1001000000010100001001010100101011110100110010101","0100101101000000111000010000000100010110000110110","0010001011000010000100000000101011100000110100000","0010000000010000000000111000000010001000000000100","0001010100100100010000100010010110010010001010100","0001101110110110100010010101000000111100000001010","1000101000000100000100100011110011100000101000101","0001001001000101010001110000011000010110000001001"}

    Returns: 23

  47. {"11111111101111011110111111111111011101110011011111","10101111111101101111101111010101111011110000111101","11111011110101110111111111111111101011110101111111","11101111111111101111101111011111111111111011110111","11110101011111111111101110111010101101111111111110","11111111110111011111110011101011111111100001111110","11111111110101111111010111101111101111101111110111","11111111011101111111101010011111101111111011111101","11111111111101111111111111110111111111111110111110","01111111101111111111111101111101110111011111011111","11000111111111111110111111100110111110010100111011","11111111011111111111111000111011111111111111010111","11110111011110110111110001110111110110111111111110","11110111001111111111111111111111110111110111111011","01111111111111111110110111101110101111011111111101","11111111111111111010111111110010111110111111001011","11111010111101111111111110111111010100111101111111","01111111111010111111111101111101111111111110111111","11001110011111111101011100110101011111110101111111","11110111111111110111111111110011111111111011111111","01111011111011111110111111110011110111111111111111","11111100110111111111111010110111011111110111011111","10111111111011111111111111111111111111011011111111","11011111111111011111101011111011011111110111101111","11110111001111101111110111101111111011101100111111","11100011111111011111111011111110011100011111111111","11111111111110111111111010111111111111111110111011","11101111111111111111111011111110011111111111111111","11111110111111111111011111111101111001111111111111","11111111101110110111010111011111110111111111111111","10011011110100111101111101110101110100111100111111","11111101011010111101111111111111110010111110111111","11110110111111111111111011110111111111111111111111","01111100111111101111111111111001011111101111111111","11111111111101100011110101101111110111001111110111","11111111110111111110011111101111111111111101111111","10111111111011111011101111111111110011111111110011","11111011111101111111111110011111101110111011111111","10001111111111111111111011111111110111110111111111","01111111101101111111111101111111101111110111111111","11101110111111111101111111110111111011111111111111","11111111111101101111111110101111101111111110111111","11111111111111111111111111011011011111111011100110","10111111111111111111111110101011111101111111111111","01111101101110111110110110111011011111111111111111","01111111111111111111100111110101111101101111111111","11101110011111101111111111111101110111111111110111"}

    Returns: 29

  48. {"110000011111111011111010110101011111111011101000","111100110101111000110100011111101011111110101110","111001110111111110111001001011001010010100001111","000010011111011101111001010011010001100101001110","110111111011011101100001111111011010110101011101","110011001001111110111001111110001110001100111101","111011110101111011110011001001011110100010110110","111111111011100110111111001011111000010001010101","111001011011110111001111111110101111011110110011","101101100111111100100011011011110101111010110100","100011111011001110011111111110111010111111001011","110100011110001111000011010011111011100001010010","100101001011101000011001101111010011111110011111","101001110101101010111100111110111001101010110011","001111001101001111110010010111001001010100110111","111111110010001011111100100000110111001110110010","101100011110111001010111001011011001001011011100","110011111111101100111010001100110111111111110111","010110010000011111111100111111110111100111101110","111101110111011010011101011111111001111011111111","001011101010111101101011010000010010001100011011","111110111001100110100110111011010111010011111111","000101111110011111110011000000111011111101011111","100111111000011010010101111101110110000110100011","110011110011100010110011110010110111100011111111","100011011110111001011100011011111011101101100111","011101010110111011011111110100100111000111111100","110001111100111010110111011111001100111101001001","011111111010110010111011011101110100111001101101","111110011100111001101001010111000110100110100110","001100110011101110000101111000011100011010110101","101111111011000111110011000010011110101101011110","111010000100011111110111101001101011110100110011","111001001110101110101110011111111111100001010010","101101011100111111010111010111001011001101101101","111111010011111100010000001100101000011001111111","111010111011111111000011110011111110100111111101","010110001001010011111011010010101111011011010001","101011110100111110011000100111101111111101100111","111111011011111010010011111111111110100010010111","011010011011001011100111110010111100001100100101","011101111111010100101011110101110011110101101111","011000101111100011111111011100011101111011001111","111011101101101110101111111111010110011100111110","101001011010100110111001101110110011010100111011","100111111110110010101100110011110100100010111110","100010100010011101011001110111101100111110111110","101111100001111010101011110101100110101001010110"}

    Returns: 1375

  49. {"1111111101111011111111111111111111111111111111111","1111111111111110111111101111111111101111111111110","1111111111111111111111111111111111111111111111111","1111111111110111011111101111110111111111011111111","1111111111111111111111111111111111110111111111111","1111111111111111111111111111111111111111111011111","1111111111111111111111111111111111111111111111111","1111111111111110111110111111111111111111111111111","1111111111111111111101111111111111111111111111111","1111111111111111110111101111111111111111111111111","1011111111111111111111111111111111111111111111111","1111111111111111111111111111111111111111111111111","1111111101111111110111111110111111111111110111111","1111111111011111111111111111111111111111011111110","1111111111011111111111111111111111011111111111111","1111111111111111111111101101111111111111111111111","1111111011111111111111111111111111111111110111111","1111111111111111111111111111111110111111111111111","1111111111111111111111111111111110111111111111111","1111111111111111111111011011111111111111111111111","1111111111111111111111111111111111111111111111111","1100111111111111111111101111111111111111111111111","1111111011111111111111111111111111111111111111111","1111111011111111111111111111011111101111111111111","1111111111111111101110111111011111111111111111111","1111101111110101111111111111111111111111111111111","1111111111111111111111111111111111111111111111111","1111111111111111111110111111111111111111111111110","1111101111111111111101111111111111111111110111111","1101111111111111111111111111111110111111111111111","1111111111111111111111111111111111111111111111111","1101111111111111111111111111111111111111111111111","0111111101111111111111111111111111011111111111111","1111111111111111111111111111111111111111111111111","1110111111101101011111110111111011110111111111111","1111111101111111111111111111111111111111111111111","1111111111101111111111111111111111111111111110111","1111111111111111111111111111111111111111111111111","1111111111111111111111111111111111111111111111111","1111110111111111101111111111111111111110111111111","1111111111111111111111111111111111101111111111111","1111111111111111111111111111111111111111111111111","1111111111111111110111111111111111111111011111111","1111111111111111110111111111111111111011111111111","1111111111111111111011110111111111111111111110110","1111111111111111111111111101111111111111111011111","1111111111111111110111111111111111111111111111111","1111111111111111111111101111111111111111111111111","1111111111111111111111111111111111111111111111111"}

    Returns: 35

  50. {"100101001100010000011100000010011001111110101101","100101011101001010000110100100001100111000111000","100000011011010000010001000000110000101111100101","001001001010000000010101010110101110111000000111","000011011011100000100110000000000000010100010011","011000000001011010100101110111000000001101010000","101101010101110010001000010000101100000100001011","101010010000100110001011100010000110010100000101","110111000001111000100110111011000010000010010000","010011010001101100001010010000001111000010000100","000000101000101001000001100101010010100000011011","011111001011001100001101111000100000100111110001","011010000000100100000100111000010010111000001010","010110010000011110011101011111011101100010001001","000001110110000110111011101101101000000111000000","100000110001000001001000000010011000101100000010","110001110101000011101100111110110000100011010000","100010100100010001011101010001110000000010100101","100010001100111111110100000110000111101000001001","111101001100101011010101000001010110010100010000","110100100100100000000011101101000100000000110000","111100000100101000000101000001000001010000011001","101001101001110010001001011100001001111110000111","011010001000101001111001000010000000000101100100","011001010001011001001000010000001001010000010001","101100000000010110100000111001111100010110010111","110000100101011010011001000110111101101101110100","000110001001010101101011010101111101000000000000","011100000011101001000100010101100111101011001101","110001000111100101100001000010010001000011000001","010110010001001001100000010111111001000100100000","110101000000001010000100010001101000110110111100","001000001001101001000000011001001100010000100000","100000011101000010011010000111111010111001000010","110101000001110100100010100100100100110000000110","001011000001011110000011010010011000010001010001","000110100100100011001011001101101001111000110111","100100100101001010101100000010001010100000011100","000001010100000100011111001100001000100000000101","100001000010111000001001100001001101001010000011","011111111000100010000101100100000111110100101111","011000001000011000010101101111000000000000110100","011101001011001010100111111100110001010001000110","100011010111100010010101101000001001000101100010","110000111100010010101011001000100001001010010001","010001110001101001001101101000100000110001100100","011000101000110110000101101101010000101010000100","000100001111010100100011010111010010100001000100"}

    Returns: 617

  51. {"00101000101111101100000000111000000101011011011100","00110101101100101001100110110011011000100000110101","10000110001011001010010110001010011100011100101010","00000101100000110011010100111000110111000101100010","01000010101010011001111001001001101001000000100000","11111000000001010010000011011011000000011011000101","11000010000111101010101000000100110101101100000100","00100001101110110011111010010010010000010110011110","10010000000100100001010100010000000010100110101100","01011001000110000001000010111000000010010110110010","00010001000101001011000100001101111101000101011000","01110101100101100111110000011100110111000010100100","00111001101010110100000001011101010011110011000110","01001001000111011111001100101111100110000100011011","00001011100100111000100010010010111100010011110000","11100000101110000000010100110110010000101000001101","10000001000110111011001000110001010100001001101000","00011101010001101110010110000101000000111010110001","10100011001001000010111100101111110000101010000100","11000001101011100001001000100000000100001111011000","11100000000000101111000000001101000011100101110000","10010000001100110001101001101101011110000110010000","00011110010000100000101001000010000010010000110001","10101010100011101100000111010000000110101111101110","01000100001000010001001110000111111000100000000001","10001011010100101001001101000111001010100000110110","00100100011001000111001001000100000001110001110110","10010010110001010000000111100001001111010001000000","11000001001110100100100010010111110100000000101100","10100101101001110001110101000000010010010100100100","10010000000110100000000111101010000101100001100101","01110001110001100010011001000000101110010000000100","10000100001000110011110000011000101000100000100000","00011010000010011101101100010010101010000111000010","10101110011100101100101000001000000000110010000000","01100000010011011011000010110101110000100000000001","00011100100110010010100011010010101111001010010111","10101010100010110000111110101110101010000100010000","01001000001111101001110110000111010010001001010100","00000101101001011010000000110000111111010100100111","01001001100001011010001010101000110100000001000000","11000001110000100110011101000111011000000101000011","00010101000001010100010011100011111101101111110011","00000001110000000000100000100001100011000000000001","11001101000111001111000001101010110101100001101111","10000001001110001110000010111110000000100000000000","00010011000000000011001011111110110000101001011000","10011000000100111001000010100001000000100001000011","00110110010100101101001000000000001010010100000110"}

    Returns: 27

  52. {"0111110111101100110111101010111111100000011011011","1000011101111001101111101100010011011001001011111","1111010000101111011111111100111010100001101010111","0011011101000110111101100010101110001100111000011","1101001011101110110110101110111111000101011011011","1001111101000111111111011001100100110001000000110","0011000110100111011001110001100000111001100011010","1111111001001110101100100011110110011110001001111","1010110101101010011010101100111111001110101110110","1010001011111011011111011011000001110010110011111","0000110010011111110100101111010111010000111001111","0011000111011111100111101111111100101011101101111","0011111100101111011001110000010110101100000101111","1001100010110011001011100010111011001100101010111","1111011011001100011101010011011001110111111110001","1010101000011100011100111100001100101110011110100","1111111101100100101111111011010011011101001011001","0111010111100000110101111000010011100011010110101","1011111111110010101110111010101010111000111110010","1001001111101100101100101111000001101100001111001","0111001111101100101100100011111110011001010111010","1011100001010101001010001010111010100101101000101","0100001100100000010111101010111100010011100111101","0110101111111111011110101111111101011110110001100","1110110101111011001111111111000111111110000101011","1100000001000100100110111011101010111010101111001","1110010110110101001110100100000101010001101100101","1100110100101101000000010111101101101111110000001","0100111110110011001100101101011110110001100000110","1101100001100001110001000001001011101100111000011","0100101111011100111110010110001011101101010010011","1001111000010101010111101001100001100001100111100","1001111111011110101101111011101011111001000001000","0111000011111101111110000110101011011101000011110","0111001100011001110101110110100011001111010110011","0000100001110101011011101010011010011001011100100","1101111001000110010110110111001010000011101111000","1101011000111110011011001001100000000110010101101","0011110011110111101111110010101001101111010101001","0000010101110110010110100110111010110100111001001","0100000001110010101101011010000110110111001000000","1110010100001001111111111111100011001111111111011","1001001101100011101111011001101101101101011110101","1010101011001100111110110011101110000111111011101","1111001110101010010110011010100110110011010001011","1001111010110000111011011110101011111110010111011","1010110000000011010100011101000011110111100100111","1101010110000111110101111110100111001010111101110"}

    Returns: 21

  53. {"0001011101100001000001100001001001011101110111010","1011101111011101011101011110001010000001100010110","0011010101000000100001110110011101000000000000000","0110000101100111010100001100000110001010111100011","0100000110110001001010001010010100110111110011011","1001111100010000101001000101000011111010001011000","0011001110001000010011101001010001011000000110011","1011000100011100101001101000000100101110011010000","1011000100011101111101100111001101011000010011011","1001110010100111011110010001101100000110010101101","0010111101001011100001000100000101100111100010000","1001100111100100001000100000111010011100001011101","0111100001000001010100010100101100011011110010111","1110001000110100000011111010111110010101100110000","0011111111100111011101000111001001000001000010000","0010100101011101101001001010001010110001010000010","0100000000100000001011010110001110110011010000010","0000010101000101011100100000000010101101001011001","0111110010101010010101111101100001001010000100001","1101011111001100001011100111000100100001010010000","0111101110101110111110001101010101101100001010010","0001001101101000010111100000110000000100111000011","0100100111100011000111001001100101100100010011000","0000110001100000000010011010100000110011110010001","1001011001001100011010110000110110000100011110000","1111100000000000001110011110011001001100010000001","1010111010001101001101011001010011101100000010001","0000001010110010010111110111101100111110001101000","0100110000100001011000010000011000010100111000101","0000001011100111111011011011111000010010001100100","0010100000010110000010011010001010110110111100000","1001011010000100110101011100000101010100111010110","0001011000011001010101011000000110111010010011000","0010011010001000011010100000100011010001110110010","1001010110000011000000101011010101001101011100000","1010000111000110110001100101010011100000000101001","1110000000001101101110000011111001100010100000000","1011010000100000010011010011100100001000011000110","1100010100001100001001110100100001011111000100101","0001011001101010100010110100001100001001000000010","0110110110111001110001001100101011010100100100101","1000010100001100011000011111100100111010000111100","0010001011010001010000101011010100011010100100001","0001110111110110011000011110001111010000110000110","0000110000001010001000101011011000001001011101111","0110100101101110011000010000001110100011001010111","1000001000001001100111101001101010100100001101110","0111001010010010110001010100001110011000100111010","0000111001110001010101111011101011100010101001000","0011100000110011100000011110110000010100000001100"}

    Returns: 777

  54. {"0011111001011100001000100101100010011000111010100","0000000000100001010101000001010001101101001101111","1010000000101110011011111010010000111100001001010","0101100010000110111000100101111010101101110011000","0111001100100001100001001001100000100110011010110","1000010010110001111111010101100011110001011001101","1001001000001001010100000001100011110100110101001","1101000101011000011100100010000111100100001000010","0000000001100010001010100011110000010001000100000","0100010011000011110010100011000100001001010000101","0100010100011101000000100110001100110001100100100","0101110101110100101001101000010011001010000001001","1010001000000101000111100001001010000110111010000","1000111101001110101000101000000001011000001000101","1101000011101100010110100000101010110011100000000","0100001001000101110111010000011000101100101000001","0110010010100010111011000010000001010010110110101","1010010000111100011011000011011000010100101000110","0011010101101110001110010000000110010011101010100","1101010001000101101111001001100000010100011010010","0110001000110110010100011010001100000110100011100","1100001000110011100001011011110110110011110011101","1010010100110110101100000100110000000011101100010","1000010001010001111110100000100000100000101000001","1100010011001000101110110111001011101011001100101","0101100100010000101111000100011100001100000000101","0001001000000111001111110001011011000101011000001","0000000001111011001101100100101000100100100001001","0001111010100111010100101100110100100110000111000","0101100110000101001000011100010110000101100001110","0000110101101000101101001011010001010100111010100","1000110110011000001111000100101110010100100011000","1001010101000001001110000011011010010110100100111","1011011000010010010000101101001011000101000000011","0010011001100111010100010101100011101110100000001","0000000000010000000001000000001001001010000011110","1001110101001110010011111010110000000110110000110","1001101011001110110000000110000010010001111011011","0001010110100000000010000110001110010010010000111","1111000001011011001010000000000000100010011010001","1100010000000100011001011100100011011111010100101","1010100000101100110000000000001110100110010110000","0011100001100001111100000000001000010110000010010","1110000100000001001000101001110001100011100100100","0000001101010100001111001100100001010101111011000","0011101001000010001101011100000001000011101010011","1110000001011100101000100111101100010011000010111","0001110001101000010010010101000010011011101011011","0101010110001110000101001000001010110000011001111","0001000010100010110100010111001010101001100000010"}

    Returns: 15

  55. {"00010001100001101111001001010100001010101100010","10101000001101010110000100001100000000000010001","10100000011001000000101110100001001110000000101","10100000010011000101100001000000000000001000001","11110000001000000000000010000001000000010001010","00101100010000111000000010000010000010100001100","00000011000010010100000010000110000001001100001","01110000000100110010010100000100100010010000010","10111000000000000000110101001010001100110000000","10010010100000000000101000000000000000001010000","01010101010100000000000010000010000100000010000","01000001010101000100000100010110110100010001000","00111010100000011100100001100001001100000001000","01000100100111000001111000000011100100001110010","01111000000101111100010000111000101000101001111","01000001000010000000000001011101001100010011000","10000010001101110101100111110001000000100000000","01011000001001000011110001011001010110011000011","01000101100000100010101100000000011001100011010","01100101100000101000000000110100001000101000100","10011001001111000000111011000000000111001000000","01100100000000111001001010100000000110001000000","01000000100110000001110100000000101010011000000","01010100100000001000001100010100111100100000101","11001100000010101100001011011101100100100101010","00100111000000000100000110110000000101100001101","00010100100011100000100000101001111100011001000","00000110001000000100000001000110110001001000110","01000000000000000000001000001111001001001000000","00000110101000000001000111010011101010010000000","10000010011000011000010001010100010000000001001","10001111111101110001000100010010100100001000010","01001010101000100111100101110100000001100001011","10101110000010100111011000101010000000000110100","11001010000010000100000000000000010000001010001","00101010010000000111000010100010011101001011010","01010111110000001001000000010010101000010100100","11010001010010100010000010000100010000101110000","10001000001101110100100011111101000111000000010","00011011100111000000100000001101000000010000000","00110000110000000000010001010000100010010100100","00010001000001011100000000000000100100000000100","00100000100111010100000110111000000010010000000","00010000000000000001000100111110010000001000101","11000010010000110110000101110000000000001001000","10000010001000001100000001110100001000100000111","01001000000000111001000001000010100001010101010","00000000000001000011100000000100001010000010000"}

    Returns: 477

  56. {"01011000100010011100001110000101111000010000001000","11010000010011000000100100111000100010110000011010","00100101110010001011011000010110101010100000100000","01000011001100100010100010101110000111010100001000","00000011000000000011001010010101000001011001110000","00000010110001110000010101101100010110100010011110","01010100110100110001110100110011000010001000011110","00000101010000010001001011001101100111000110111100","01010001100000011110100100000000011101101111001010","00101000010010100100100100100111010100001011000000","10100100000000000110101000110100010110110010110000","10100101010010011000100001100000010101000100000010","01010001010000000000010101000100000111001101001000","00000001110001100111100010000000000001100110100000","00100000010011000010001000000110101000000010001000","00000110111100000000011000100111011000010110101100","00000101010100000010110011000010010011101001000101","01010010000000111110010101000101010100000000000101","01011000000100000111000001000001010011000000001101","11000010000000000000101101000010100010011001010010","01101101000100001001010110000001100110000010011000","00001000100011000100011111110101001110000011111110","11000101000001010011110000100110100000010001001000","00000100100010100000100011011100010101000010000000","00100111100000001010111000001111010100110000000000","10000100110010010010111110000000000010011001000001","00000000000010000100110000000000101000000010000010","11100100110101010001000110010000000111000011000000","01001110110000011000101010101000111010100000101001","10000011011001000000100000000101010100010100000001","00001001010000111111011101100101011001101001000110","00110010001100110000000100010001000011001110100001","11100000011100101000000001101000011111001001110000","11001000111100011000000111011010001010110100000000","10000000000000111000010100110110100000010010001000","11100011100100100000000011010100010000100000000110","10000001010111000110000000001001011111010010011011","10100000011001000101010010001100010011001111001000","11010011010010101000101001100001001000110000010001","00011110001010001000010111000110110010001110011000","01110011000000110000000011010000000101001001100000","01001000001011000000011110000001110110100100000100","01101110001110000001011101001111000000000001110010","10000000010011000110000010100100010001101100000111","10111011100010001010011010001101000100010100001010","10001100110000000001101101011000001011100101000000","01010100100101000111000000010110001011000001100000"}

    Returns: 797

  57. {"0000101000100000000110000100001000000100000011001","0101000100111000010010001011011010000011000100000","0001001000010100010000100000100000000100000000010","0010100011100011100000000000001000011001000100010","0011001000011000100000010011010000000100000001100","0100100100100000010000111000100010010011100010001","0001000010010010010111101100010000001100000100000","1101001100111011000110000110101100100110000000101","0011000011100100010111001011001000000000000010010","0001100010101001100000010000000000010010010100110","0000010000010000000000001110101100001000110000100","0000000001001100000100000000001000010110000100000","0101011001000010010001010111000000010011010001000","0000011000010110000101000000000010000111010011010","0110101000100011100010000010110010100011000001100","0001000100100001001100001011010000000110100010101","0000001000100010010110000101001001000110101100100","1010010100010000110001101100000000000000000000010","1000000001100010001010001100110000010000000000001","0000000001001001001000101000101000001100010100000","0000111010001100011010000101100010000101001000100","1000101110000110010110110010000011000010100011100","0011000000100010010000000000111000000100001000000","0100010010000110000000000100000000000010001010101","0101000100001001001101011001000110000010010000000","0110101010000010010000001101000111011100101000000","0000100100001000100000100001111001100000010001000","1100001111011000000110001001110010111100000101000","1000000011000000100001100010001001000100101100000","1000010010010000000010100000110000100101000001010","0000010001100100010110001011000111001100010010000","0001110100010110100000110010010100010100110001110","0001101111001010110001001011011000110100110100001","1010000101100011000101000101000111100001000010001","1001100100000100110100010001100100010110101010100","1001100110101011010100011100100000100010001110100","0100110000111010000110110100010100000010110000010","1011000101100100011110100111000100100011010010100","0010000001000111010011000010001110100000110101101","1101000100000011110001011001010000001000001010010","1000010100001000001001010010000000001010011000000","0000100000000101000000100000101100000111001000100","0000001000100011011101110000000101111110010010000","0010000110000101010001110011100001001001000110100","0000100100001000110001000000010001010100110001000","0100000000100001000000000000011001000001010000000","0111000000000000101101010001000001011111001101000"}

    Returns: 7

  58. {"1101111111101111111011111010110111110111111111111","1011001111111001101111111101000001100111111111110","1111111110100101000111011100001111011011101110111","0111110111001110111110111111100011111011110111110","0011101111010111111111011101011111110000111001011","1011110111011111101111111111011101011111011111111","1111111100110110101111101110111110101111111101100","1110111011110111011101110110110110011111111001110","0110010101101111111001101101111101011111111111101","1111100001110111111111001101011111111111100101111","1110010111111010101111100111011011110111011001011","1111111110110000111101111111111101111111101011111","0001111111111100110111111011111111111001111101101","1100001110010111100111111011111111001111111111010","0111101110011111010011111101101111110101110011111","1110111011011110111111111111111010111110011011111","0101011101011101111110111100011110110011111011011","1001101010011101111001111010110110100101111111011","0111111111100111011101110100110010110111111110011","1111101111001101110010111111111100111011110111011","1111011111001110111100011101111100101110111001011","0110011111011011111111001111111111111111100111111","0101111011110011110111001011011110111111101110111","1000101110101110011101111110101110101111011111110","1101111111101111110111100110111111111111110111100","0111111101101101110001101011111111100101101110011","1011111011010111111010010001011110110111001101011","0110010111101011111111011011011111011111111101011","0101000100101011010110111101101111111010111111011","1011111111110001111110111110110111110111010010111","1111011011011110110111111101111110111010111100110","1110110111000010011101001101111111111010110011101","1111111111111101101001110101101110100101111101010","1111111111110111111101111111110011010101010111011","1111011111101111001111110101111110101010011011111","0110111001110111111111111110110101001101010111111","0111111111110100011110111011111111101101111111111","1011101011111001111110110001111000111111110110011","1111110111101110110111100010010111101111110011111","1101100110101110111100001111111111101111100111111","0111011101111111101110111110111110110011111011011","1101110111111110011101111111110101011001110111011","0001101011011100101101101111011111111101110111111","0001111110001010111110001110110110010111101111100","1011010110011101110011111000010011111101010100001","1010010101100101111111111011110011111101011101110","1011111111111111011111010101101000111111101000010","1110111010001101100111110110110011100111111010101","0110110111011111111101101001111111111100111111111","0111111110110011111011001110110110111001111111111"}

    Returns: 1267

  59. {"01000110111111001111011000000100101011011000111111","01101101101000010010110110110110000111110110111010","11000000011101101011101110010011100000111011110001","11100011010101100010101101011111000111101101011011","01001111110010010101111000111111101101000000010111","00000010000010000000010011010110001000100010100101","10110011110101001110010110010000100001101101010100","11110110001111001001110100111111100001111110011100","11010111111111100010100011111101001111111101111001","00011101111011001111000111001011100110010111010000","01101110011110000010001100100001000010010101010101","01010111010010111100110110111001011110111101010011","11001111001001011001100101111110101111111001101110","11101101011011011001010011110100100001001101010010","00011110110100110011101101011000011000011001000100","10101010011011100101110110111100001010011110100110","00011100011000011111101110111011001000010111000111","10101101000011001001011110010100100111000111110111","11111001011010100101000010111000100011100101111000","11101111101001111000011100011001011110111001011000","11101011010011111001011101111100111101100001100011","11101110100100011001111010101111110100001101101010","11110001001010100110110011000001001101010101100111","10101111101110101100000000010111000111000001100100","11110001100100101101111011011111111111001011111100","10001111010010011110111110000000101001011000110010","10011101011111101100000111100101111011011111101110","01111001110101101001011101010011011001100010001101","10101111010111001100111010110000011011100111011001","10100111101101010001010011111110011011001101011000","00110100001111101001101000011111011001001011101000","00011101011010011100010111101111100111111011010100","11011111111101010011000101111001100001110101011011","01001110011100001001001000100101110110011101101011","11010011110111010110110111100110100011011011000000","11110000010110010101001100101000110100010110001110","11111110010011011010001111101101010111101101100001","10100001110010010011100100011100000011111111111001","00010110011000011100111110111011000111100111111001","01110101000111011111011001011110100100000010000111","11111000001111101010111010101100111110101011011011","11101101100110101100110101111010101111101000100010","10110010011010011101111111111101000110010101000111","01110000111111100010100110011110011011010011001100","10011100000100100010101101111110110100111100000010","01101110110001001100111011111010010101011110011100","01111101110010000111001001110100010010111100111110"}

    Returns: 917

  60. {"00100101001110010001000010100101101111001010000011","00110110100011000111101111111011011110101101001110","11010111101111100100010101101110101101110101000011","00100100111000001010101001100011011100110010010110","01010000111111110000011100001110011010001110000001","00100101111001001100100111011111001111010011010011","01011010000100010111101101111001000010000110010010","10000010010111001011001100101011111010010010010010","00110100010100010011110011011011110100100101011010","00101001111101001100010111001101111101111101101001","00111010100010011101101000100111101100110010001101","01111101111100001111000110011000101100100011110010","01100001010011010010110101111000011110101111100110","11011011010101111100110100111111011010011101101111","00110010011000011111110100111111001011011111000010","01011000100011111000000100110000111001011111001111","00101010111000010111000111111010000111010110110010","10011101101100101111001001000101110000011000000001","01101111100000001110101110101010100110111000111110","01001111101101100000010100110001101110100111010100","00110011100110110101100111000100000011001100111011","01110101000111110101001111011100010010100011110001","01010100000010111110101100010100110011001001001001","00101111010000000110111100110010101101000011010111","00000001011001111000100111011110100010010010000011","11001110100111011111110111001010001100110010110001","01010011101001000111111101100101000100111000011000","11011001011110011000110000010111111010000101001001","01110000011011010100010111011001110100010010010011","01000111101110001110010100101011111011101011000111","01011011001011101110110100000101001011111100101011","10101001000010100101101001001001111010111110101000","11001000011000100110111110100101100100000011011111","11100100010010110110011100101011110010011110000010","11000100010111111100000001101111100100111000100101","10100111100010101001000011000000000010100000000100","11000111011001111001100011100111001110001010100100","10101001111111100111101111011110001001010100100000","01101111110111001011010101101011010000011011001010","10011101000001110110111011001001111111111000011110","10010110100011111111111101101000101101111111010011","00101100010010100010001000110011001010001011111110","00010011111110100000110000010101110101111111000101","01110001110111010011101110101010001111010110110001","00010001001111010110101011001010111110000101001011","10111011100011101011000011010011100100110111001100","01010000010000110101111100100011100010101110001010","01101110001000011111000110110011110101000001011001"}

    Returns: 35

  61. {"1111011111001111011110111111111110111110111011101","1110111111111111111111111111111111111110110111111","1011111111111111111111011101011111101111111111111","1111110111011110011101111111111111101111111110111","1011110111101111111111111011111111101111111111011","1111110111111110111111111101111111101111011011011","1111111101111111111110111111111111111111111101111","1011111111111111111111110111101111011111011111100","1111111101111111011011111111111011111011111111111","0111111111111111111111111101111111111111111011111","1111111111001111010111111111101111001111111111111","1011111011110011111111111111111111111111111111011","1111010111100011111111011111111110111111111111110","1111111111111111111111111111111111111110101111011","1111111110111111111111111111111111111111111111111","0111111111111111110011111111111111111110011110110","1111110101011101111111111101111101101111101011011","0111111101011111111111111111111111011111111110011","1101110111111110101111111111110111111111111111111","1111011101111110111111111110111111111111000101111","1111111111111011111011111111111111101101111111101","1111111010000011111111111101111111111110101111111","1111111111110111111111111111111111111011111011110","1111111111111111111111111111111101111101111100111","1011111111110110101111111111111101110111110011111","1011111111111111101101111111110111111111111111110","1111111111011111011111111111111111111111111111010","1011111011111111111111111001111110110100010111111","1111111111111110111111111111111110011101111111101","1110110101111111110111110111101111111111111111111","1111111111111111101111111111111111011111111111110","1111111111111111111111010111011010011111111111111","1111111111111111110111111111111111111110111111010","1111111111111111111111111111111111101111111111001","0110011110011111110111101111110011111111011111111","1011111110101111111111111010110111011111111011111","1111111111110011111111110101111110011101011111101","1111111111111111111111011111111011111110111110110","1111111111111011111111111111111011110111111101100","1111111111111101110111111101111111011111101010101","1111111111111111110111111111111101111101111110111","1111111111111101100011011111101111111101111110011","1110111111111011111110101110111111111111111101101","1111111111111011111111011111110111111111011011111","1111111111101111111111111111111111111111101110011","1111111111111111111110111111110011111111111111110","1111110111011111111111111111111110111001111111111","1101100111110111111110011111111111110111111111111","1111111001101111101111111011110111101110110111111","1111111101111111101111111110111111110111111110111"}

    Returns: 1571

  62. {"0100100011110101011011111010001001011011101101010","0011010101011101110100001011011110110101110000011","0110000110111001101000010000111001101101111001011","0110111100101101010000011001011011000100001001110","0000100101010111111111001101010110000101110101011","1010000010111000001100001111100000101010010101011","1011111110111110011010100001001101101010001001000","1000000010100011011011101111101101011111111001110","0011010111111111010100101010001110101100010110000","0111111101011101001111110010101010100001011111011","1111110010001100110000101100011100110001010101101","1011011001111111101000000111001100011111011111111","1101010011101010011110011001000111111111100111111","0101100100011101001111000110010001100101011010111","1001101111101101011001111010100110011100100111000","0111101111111111111110111010110011101110000101001","0100010001000111100101100111001100111101010111101","0011111110111110101111011000110100100011101111111","0101011101101011111111101110010101110111011101010","0100011001010101100001111001100111010011011100111","1010110100101101101011111111011110001010000011100","0100000111011111110111010100111000001011011110111","1111001011100110100111100100111111011110111110100","0110001111011101010111001101100010001110001010001","1101110001010010000001001101111101101101101000100","0001111100011110010100110101001111000111011010101","0110110101011111011110011110110001101100101011110","1101010001100011101110101011100011111101010110101","0000011011110010001000111101100000101110101100010","0110010110011000111110111110101100010100001100111","1101110101111010011100100100110111111001011000111","1010111110101011100010111100000010100111101111111","1001111001001011110101011000111111111001011110110","1010011101100011011001110110100101010101110100110","0100110111110111010000100000001111010101001001011","1011001011100110010110110110111111000011010101111","1010000000011100101010010101011001001101101001101","1011111111011111011011001001001111101010101011011","0111000011101111101110111110000010101010110011111","1000010101001011101110011111100011101111100101011","1111111111010001101001001110101000010111110100110","0100111100000111010000100111001010100001001111001","1101000111100010111010011110111011111101111111011","0011010110101111110111111111101100111111011110011","0011100111001001010110110111101110011000101111111","0111001111001100111100001010101001111111110010000","1011100101011000011111111011000100101111100010111"}

    Returns: 19

  63. {"1111110000010011111110111111111111101111011111111","1111111111101011111110111111111111111111111111111","1111111111111111111110111001110111111011111111111","0011111111111111111101111110111111111111111111101","1100011111111111111011111111111110111111111111111","1111110111111111111011011111111111111111111111011","1111111011110111111111110111111111111111111111111","0111011111111011110111111011101111111111111111111","1111111111101111111111111011111111111110111101111","1111111111011111111111111111111111111111011101111","1111110111111111111111111111111111110101101111011","1111111111111101111111111110111111011110101111111","1111111110111011111111110111111110111111111111111","1111111101011111010111111111111111111111111111111","0011111010111111110110111111111011111110111100111","1111110101111111110111101111111111111111111111011","1111111011011111111111110111101101110111111110111","1111111111111111101101111110111111111011111111111","0011010111111111111111111011111110101111111101111","0100111111111101111111111110101011111111011111111","1011110011111111110111111111111111111111111011111","1111111101111111111111011111111111110111111111111","1111111111111111011111111011111111111111111111111","1111111110111111111111011111111111111111111111111","1111111111111111011111111101111101111111111111111","1101111011111111110110111011111001111111111111111","1111111111111111111111101111111101111111111111111","1111110111111100111011111111101111111111111111111","1101111111111111101111111111111111111011110111111","1111111111111111101111111111101111111111101111101","1111111111110111111111111111101111101111110111111","1111111111111111011111111011111111110101110111111","1111111111111111111111111111111111011111111111111","1111111111110011111111111111111111101111111111110","1111111111111111111111111111111111111111111111011","0111111101111101111111111111111111111110110111111","1101111111111111111010111111111111111111111111011","0101111111111111111111111111111111111111111111111","1111111111110110111111111111111011111111111111011","0101111111111111101111111111111011111101111111011","0111111111111111111111111111011111011101111111111","1101111111111111110011111111111111111111111111011","1111111111111111111111111111111111011110011101101","1111111111111111111111111111011111101111111111011","1110111111111111110111010011011111111011111111101","1111111111111111111101111111111111110111101111011","1110110011111001111111111011111111111111111111111","1111111111111111111101110101111111110111111111111"}

    Returns: 2003

  64. {"00000101100100000000100001001010000100000000110100","00000101101000010100111101100000001000100001000000","00100110001010100110100010001011000110100011111000","01001011010001010001100001101000101000100100110010","11110001000010000011000010010001000001000011101010","10001010000100111110101100001001000010100010101100","00000110011001110000001100000110010011000010010000","01110100010010000000101110011111100000101100110000","01100000001010110110011001100010001100110000100010","10100110000000001000000000100010011010100000100001","10000011100000000001001001100010100001010100101011","11101000110011110100001010110100000010011100010000","10111111001001110100101011100000100001000010111011","00010101010010001000000000111001011001000011000001","11001000001110000110000000011100000011010010111000","01100010000010100000101010001100000100001101011010","10100101110000110100001000010000100000100100011010","01011100101101100111010011011010000110010000010100","10001010000110000000001000001111101100000001100101","01010001001010010101110111000000000110010010110110","01100101100000000001001011001001010101101001100000","01010100000010010010001000100100110001000000100101","00000000000111000110000100010000000101010110000101","01101000110100111010010001110000100100001100001001","11001001100110000010001000010000101101101001001000","00001101000010101000000100011001011000101000000000","00000001101000101000001100000000100010010000000000","00010100010110110110011010000101010001101100111111","10110000101010100001000000011111000000101000100000","00001010000000001000001000000000010100111001001000","01001000000000100001010010000100000000100100001100","01100010010100101000101000101100010001000001000000","01110101110101001010000000100000000101000011101010","00001010100011001101100001100100000010010010011011","11110000001000000010110010000001100001010011100000","11011001010010111100010111000100000110001110000000","10110001001000000000000101001111011000001101001000","00001000111000011010000001100000000101000011001100","00000100011010010100010000011001100101000001010001","00011001000001001101110010000000101000010000000010","00001110000100000100010001110000011110000001101010","00100010111000000100000000101000001111000010101111","10100100110010001101001100011000000110100001110011","00111000000010101000001001001000110000010110001101","00101110000011011011000011011011000011100000000000","01100100010100000010011010000010000100010010001101","00000101101110000000001101010001000001001011101000","01110001001010000100000000000011000010010000100001","10000010010001010001001111110000001100000000010010","01000001010100110000110010000000011011000000000011"}

    Returns: 31

  65. {"01111010101010001000001100000110000010001000010","11010000000000010000000001000000100001000001011","00100011000000100101000000000100001010010001000","00001010100000000001100000010000001001010000000","00000000100010101010001110010010000010000000001","10001000000000000010000010000110000010010000010","11001000000010100010000001100000000001000000100","01100010000010011100001000001001010000011011101","00000011000000000000000101100000001000000001100","10100001100000110000010100000000000000000000010","10110000001001010011111000110100000000110011000","11000000000001000000001101000000000110001110000","11010011001010100010000100000000000001000010000","00000000110101100100001010000000010000000000000","00001011100000100111010010001000010010010000110","00000001010000100101100000011000011001000011100","00000001001000000000000001001001000110000000010","00100100010000000000110000000000000010000001000","10000100000000100000000000000010000000100100000","01000100101010110000000000011000110001000100101","00000000101011100000000000001000110000000100010","00000000001001010010000001000000100000000000000","00010000001110001001011000010000000001001110000","01110000000000110001000010001111000100001000000","00010000000010100000010011000010000101010100000","00101100010100001100000001100100111000001010110","00000001100000000010000000000000010001101110101","00001011000100010111000000000000000001010010100","00000101000011011011000000000100000100000000101","01000000000110001001100000010000100000010000010","00000000000001000100000100010010000000010100010","00010101000000111000000000001110010001101000101","00010100000010000001000011000000000100010000000","01111101000100000101001101000001000000010000001","01110101000001000000000100000000101000100000000","00000000111000000100000001000011010000010000000","10000011001110101000000110100000000010100001010","00001110000001001000001000001010011000001101100","00000100000100001000001001001000100010101000100","00011100000000000000000000000100001000010000000","01000000000100000000111101000000000001100000010","01101001000100001000001010000000000001110010011","00110000000100000010000000000100001010001101000","00001000101101100100000000001100100000000101101","11000111000000000000100001001001000011000010011","01100011000010100100010000010000100000100000110","01000101000100100100110010000100111111100010010","10100011010100101000001010100000000011000000000","11000001100110000001000100000010101000000000001"}

    Returns: 11

  66. {"0001000000000010000000100000001000001000000000000","0000000000000000000000000000000000000000000000000","0000000001000000000001000000000000000000000000000","0001000000000000000000010000000100000000000001000","0000000000000000000000000000000000000000000000000","0000000000000100000000000000000000000000000000001","0000000000000000000000000000000001000000000001000","0000000000000101001000000000000000000000001000000","0100000000010000100000100000000000001000000000000","0100000000000000000000000000000001001000000000000","0000000000000000000000000000000000000000010010000","0000000000000000000000000000000000000000000000000","0000000000000000000000010000000000001000000100000","0000000000000000000000000001000000000000000000001","0000000000001000000000001000000000000000000000000","0000000000000000000000000000000000010000000000000","0000000000100000000000000000000000000000010000000","0000000000000000001110000000000000000000000000000","0100000000000000000000000000010010000001000010000","0010000000000011000001000100001000000000000000001","0000000000000001000100000100000000000000000000000","0000000000000000110000000000000000000000100000000","0001000010000100000000001000000000000000000000000","0000010000000001000000000000000000000000000000001","0000000000000000000000000000000001000000000000000","0000000000000000000000000000000010000000000000000","0000000000000000000000000000000010000000000001000","0000000000000000000000000000100000000000000000000","0010000000000000000100000000000000000000000000000","0000000000000000000000000000000001000000000000000","0000000001000000000000010100000000000000000100000","0000000000000000001000100000000000100000000000000","0000000000000000000000000000000000000000000000000","0000000000000000000000000000000000000000000000000","0000000000000000000010000000001010000000000000000","0100000001000000000010100000000000001000000001000","0000000010000000000001000000000000000010000000001","0000000010000000000000000000000000000000000000000","0000000000000000000000000000110001000000000000001","1000000000000001000000000000010010000000000000100","0000000000000000000000000000000000000000000000000","0000000000000000100000010000000000000100000100000","0000000000100000010000100000000000000000000000000","0000000000001000000000000000000000000000000010000","1000010000010000000000001000000000000100000000000","0000000000000000000000000000000000000100000000000","0000000000000000000000000000000000000000000000000","0010000000000000000000100000000000000000000010000","0000000000000000000000000000000000010000100000001","0000000000000000000000000000000000000000000100000"}

    Returns: 79

  67. {"11011000011111101101001001111111010010010101101","10111001101011000000101110010000111010001011111","11101100001010010011010001101000110011000101011","10110110011111001001100111100100100001100100101","00000111101110111101111010101101000110011111100","10001011101001100110100100000111101011100111010","10100101110010110101000010101101110010000111100","00001111101010010100101111111100101000111001011","11110100101111111101001110100110110111001001100","00000011110011001100011001010011110101100110000","11011110111111110000101000101010100010110011011","01110010001010101111010110100001100110110101011","01001010000110100001110001001011110110111110111","11001111011011100000110110000001000111111110001","01110100001000010101010000101001011011100001110","11111100110100100110100110011111101001000011100","00010010000111100100111010101011010000110001101","00111101110000000101101010100110011001111010110","11101101110011001110001110010101101011001010101","11100011010101010111101101111100110110100111111","10111001101101111101010110111110100110101001110","01100111111000101111101000111010010110000010000","10001100011110011001110001010111110010101011001","01001010011011001001100001000111110010011101010","11011101010000011110110100001011000101010001001","10101111110111000110110001101101101010101010000","10110111100000001001001110010110100101101011100","11111101011001001101110101011111011101101010101","10100110011001100110011010111100111001100111000","10010110100110011001110011010011111101101001101","01111000110010011101010000000000101100101100111","11010100110010010000101011100011011001011110001","10000100111010000110110010000000010100010001100","11111100101011011010001110101000110010110111101","01000110000110110100101010001111100111010000111","00101000011011100000101001101001011001111110101","01111011110011100101011100111100110011110111000","01110010101111010011000001001000101000101001001","11101001111100011000010110110100111011110110110","01001011000010110010000010101001100000000011101","00100011111001101111111000100111011100001101000","10110110001101101110000010010110101011101010111","01001110101010101101111111000000100000101011011","01011100000100000101111010111010100101001001011","00100011000001011111000100011110111010001100100","11110010111010010101100011101110001010101111111","00001000000011001010011011000101001101001111000","11111000101000010110011000010110101111000000010"}

    Returns: 29

  68. {"00000000000000000000000000000000000000000000000000","00000000000000000000000001000000000000000000000000","00000000000000000000000000000000000000000000001000","00000000000000000000000000000000100000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000010000000000000000000000000000","00000000000000000000000000000000000001000000000000","00000000000000000000100000000000000001000000100000","00000010000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000001000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000100000000000000000000","00000000000000000000000000000000000000000000000000","01000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000100","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000001000000000000000000001000","00000000000000000000000000000010000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000100000000000000000000000","00000000000000000000000000000000000000000000000000","00000000010001000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000001000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000100000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00001000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000001","00000000000100000000000000000000000000010000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000000000000000000000000000000","00000000000000000000000100000000000000000000000000","00000000000000000000000000000000000000000000000000"}

    Returns: 19

  69. {"01101111111111111110111111111111011111110111111010","11111111111111111101111111111011111101111110111111","10101111110111101111100011111101111110101011111111","11111111111111111110111111111110110110111111101111","11011110111111011110111101111111101011101111111111","11101111111100101110111111001111111111110111010111","11101111111011010111111111111111011101011111111111","11101111111111111111111011111111111111100111111111","11111111111111011101111111101111111111110111111111","11111101111111111011110111111001011111111111010111","10111111111111111010101001111110111011111111101111","11111101111111111111111001111110111101110111111111","11110111011111110111110111111111111111101110110110","11111011111000111101111111111111111101111110111111","01111111111111111110111101111011111111111001101101","11111101111110111011101111111110011111111101011001","11110101101010101110111111111010111111110111111111","11111111111101101111111111101111011110111110111111","11111111111111111101111111111110111111101101110101","10111101111111111011111011111101110100010011100011","01101111111110011111011111111111111101111011110110","11001111111101110111111011110110111111111111111101","11111011111110011111111111101111011101111111101110","11111111111111111101111011111111111110001101111110","11111111111111111101110010111011011111111111111111","11100100111111111101111111011100111111111111111111","11101111111011111111011011110111101101111110111011","11000111111011111111011111101111110111111101110010","10110111111111111110111011110111110101111111111111","00111111111111111101111011110011111111011111111111","10111011110111111101001111010101101001111111110101","11011011111011110001101111111111111110011111101111","11111011111111010111011111111110111111111111111111","11111011111111111111111101101010110101011111111101","11110011110111111111011101111111111110110101100111","01111011100110111101101010111010111111111011111111","11111111011111111101011111111111011000111111111011","11101011111101101101110110101001111011101111001110","11100111111011011111011110111111111111111111111011","11011011111110010111111111001101111111011111110111","11011111110110111111111111111011111100111011110111","01111111111111110111111011111111001101101011111101","11101011111101111111111111111110111101111111111111","11101111111110111101101110101011111111101111110110","11111111011111010101011110111110111011111011100111","11011010111111111111110111111110011111110011101000","11001011101111111001111011111010111111011110111110","11111111011011101111111101101011011111111111101111","11101110011101111111111011111111111111011110111111"}

    Returns: 1481

  70. {"10001001100001110000000010100011001001111111100","10001100011100101101001001100101111110110011000","11100010011111011101111110101000010101001010110","11110100001010001010111110010001010110110111110","10011100101001110010111101010010010111010111011","10011100010000101110110111000110011111100010111","00110001001101110100100111101110110111101110111","10011110010100100000011100110101100100011111111","01011110101110010000110111111101101101001111100","10010001110100110010101101111110101001011101111","11010110010101011111111110111110000111100111111","00101010001001111100110001110000001011111010111","11011111010110111101110011000110010000100011001","00111010010011111011010000010111101110101111111","10101110011100011110010011111011110111111111010","01000110001010000111001110111100001101001000100","11011000100010010110110011010010110101000111111","10101111111101001001111101101100101111111110000","11101000000010000010011101110111011001011101000","00110110111001111000001100100100000101100001101","11110101000100001010001101111110111010000111001","00111110010011111110000110100000110010011011001","01011010010101011001110111111101000111011100001","01001010100101111011100000111010111101001011111","10001011111100100100111111110011110010011111111","11100001010011111011101011100111110100011111001","01111111100111110110111110110010011111101101111","11111101100101001101111100000111100000001001010","00110011000001110111100110010010110011100100111","11010111101100010101101111011111110111111010011","00000011000110010110100011010011000011001010110","10111100111100111000010011101100110100011110110","01011111101011101001001101100001100011111110011","00111100100100011000001010100100111010011001001","11111000101011110111101111010001100110010011000","01011010101010011111000111111110011001111100101","11101111001010001011111001101101100010001101001","10111110000101111001110111011101110111100011011","11111111101100100100010011011011111100111101111","11011101010101100111011111110000100100111011010","01100111011111000111100100111101000011010000000","10111001110011100111110001101010100110110101011","11001011100000000100110110111111010100110110101","00001100111011100000100111110110011111111010111","11101000000011010111110010010010111111100111101","11010111101111010001100100111110110111010010111","00010110001111101100100111110110111000011000101","10111110000100010111010011101101011111111111110","11010011011001110001111100110100100101101000110"}

    Returns: 39

  71. {"111111111111011111111101110110011111111111111111","111111011101111111111111110111101111111101111111","110110101101111101111111111110111111111111111111","111111011111100101111111110011111111010111111011","011111111111111010011111111111111111111110001111","111111110111111111101011111011011111111101110111","111111111111111101111101011111111111110111111111","111111111111111111110111111001111110111111111111","101111111111111111111111001111111111111011110111","101111101111111111101111111111110011011111101100","110111111011101111111111111111111111111110111111","111111101111111111111111111101111011111111111111","111110111100010111111110111111111111111011111111","111111111101111111111101111111111011111111111101","110111111111011111111111101011111111111111111111","111111111101101111111111111111111111101111111111","111101110111111111111111111111111101101001111111","100111111111111110111111111110110111111111111111","110111111111111110111111111011111111111111111111","110111111111111111111111101111111001111111111111","111111111111101111111111111111110011111111110111","011011111111111111111110111111110110111011111111","111111111111011111111101111110111111111111011011","100011111110111111011111110111111111011111101111","110111111111011111011011110111110111111111111111","111111101111111111111110011111111011111101111111","011111111101111111111111111101111111011111011111","111111111111111111101111111111111111011111111111","101110101111011110111111111111111111111101111111","111111011011010111111011111111111111101101011111","111111111111111110011111111111111111111101111111","011111111110111011111111111111111111111110111101","111111111110111111111101000110111111111011111011","110110111111110111111111111111111111111111111111","111110111010111111101111111111111111111111111111","111111111111111111111111111111111111111011111111","111111111111111101111111111111111111101110111011","011111111010111110111111111111111110001110111111","111111101111110111011111011011111111110111111111","111111111011111111111111101101011111101011010111","100111011111111101111111111011110111100111111110","110110111111111111111111111111111111111111111111","101111111101111011011111111111111110111111111101","101111111101111111111111111001101111111111110101","111111011111111110111110111111101111111111011111","110111111100101100111111111111111101111111111111","111111110101111111111111001111111111110111111111"}

    Returns: 1891

  72. {"11101111110011101110111001111011011111010001010010","11011001111110000001110111011101110100101111101100","10111101110111110010000001111101110011111010011110","10110010101000110001000110111111001110011111111011","00000101101111000111011111110111100110110111101110","10101110110110101111000111111101111110111110100010","11111110111011010101010001111100100010111101111100","01111111111101111110000111101011011101111100101010","10011001001111100111011101111001001111011010100110","10010110111111101001000011111011101001111101101110","01110010101111101011000110110101110010010110101100","01110101101111110101111011011011101111100001111111","10101001110111011011011011001110010010010110111010","00101001111111110110111101110011110111111111111001","10110011110011011110011011110101011111001110001111","11011110101111111011011111010101111101110001111111","11100111111011001111101000000111111110011111101101","11110110110111101011111110011110111101111111111111","10011101110111100111111111111110101100111110000011","11011011111011101110111110111110110111011011111000","11110101110111101110001111011101011010111100010001","11011111100111111111111111101110011101110000011100","01111110010111111111101011011111111111101011111011","10110010001111011101101110111000101011111101111001","11111100100000010001001001011110110110011110110111","11011110010101011101001111101111110110110101101111","01101111010111011010010000111110111111110110011111","11110110001101111011110110101111010101111110111110","10111111101111001101111011101001111110011011011101","11101111010011011111111011111011101111110110110111","11110011011110111111011010110111011110001100000110","10010101110111010111111011011101000011010001111001","11110111000110101101111010110111110110010011111100","11111011011011101100001101111110111000111000111111","00111001111010111101111100111110100111101011001100","11110111110111111111101101011011110001111100110111","00111011111000101111111111010011101110111110110010","11011110101111101111111001101100110011101111010101","01000101110110101100101111011001000111011101111010","00010011010011111111010010101101110010101001110011","01111111111110111111110111101111100111010011111011","00011110111111001000111101011101111011011110101001","10011011110111111111101001101011111101011101110111","00110101010111101110011110101011111011011110111101","11001011110101111111101001011110101111110011010100","11000111111101111111101110010111111100111101101111","10011100111010001011010001110011001011011111110011"}

    Returns: 1087

  73. {"11011111111111101011110100111111101111111111111101","11111111111111111101111111101111111111111111111101","10011111111101111111111111111111111111011110111111","11011111111111101111111111011100111111111101110111","11111111111011111111111111111101110111111111111111","11111111111111111111111101011111111111001111111111","11111111111111111101011001111101111110111111001111","11011111111111011111111111111011011111111111111111","11101111111111110111100111101111001101111111111111","11111001111110101111101111111111111101111111111111","11111111110111101101111101111111110111111111111110","11111011111111111111111111111011111111111111111111","10111111011111101111111111111111111111010111111101","01111110111110111111111111111111111111110111111111","11111111111100111011111101111111111101011111111111","11111011111111111110111100111111111111111011111111","11111111011111111011111111111111111101111110111111","01111110011111110111110111111011110111110111111101","11111111111111111110111011111111111101111111111111","11111111110111111111111111101110101101111111110111","11110111111010111110111110010111111111111101111111","11010111111111101111111111101111011111101101110111","01110111111111111111111101111101101111011111111111","01111111011111011111111111111111111010111111111111","10111110111110111111111110101111111111101101111101","11011111111011111111111101110111111100101111001111","11111111111111111011101111111111111111110110101111","11111001111010101111110111111111110011111100111011","01111111111111111111011101111111110111011111111011","00111111111011111101111111111001110111011101111111","11111001111111111111110101101111011110111111111111","10111111111111111111111110011111111111111111000111","11101111110101111111011111111111111101110001101111","01111101111111111011001111110010111111110111011111","11111111111111111111111111111111111111111111111011","11101111111111101111111011110011111111111100111111","11110111111110111111111111101101111011111101111110","10111111110110111111111111111111100101111111111111","11011111111111111111011111111101111100111111111101","11101111111111111111111110111011111101011111111101","11001110111101111111111111111111111101111111111111","11110111111111111110011101111111110111111101011111","11101111111111011111111111111111111111111101011111","11011111111111111111110111101111101111111110111111","11101111111111101111111110011110111111101110111111","11011110111110111111011111111111111111111011111111","10011111111101111011111111011111111111111011111111","10100111111100111011111111110110111111111111111110","11101011011111011101111101101001111111110011111111","11111111110111111111111011111110111111111111111010"}

    Returns: 63

  74. {"0000010100000100000000000001000000000010000110000","0001000000000010010000100100000001000100000100000","0000001000000010010001000000100000000000000000010","0000001000000000001000001000000000000000000000000","0000000000000001000000101000000000000000110000010","0000000100000000000001000000000000000100010000000","0000000000000000000000000000000001100000000000000","1001000000000000000100100000000001001000000000100","0010000000010001000000010000000000000000101000101","0000000001000000001001010000000000000100011010011","0000100000010000001000000000010000001000100000000","0000000000001000000000000000000010000000100000011","1000000101001000000000100000000000000001000000000","0000000000000000000000000000000001000010000000000","1010010001100001000000000000000000000010000010000","0010000000100000000001001000001010000000001000000","0100000000100000001000000000000101000000000000000","0000000000001000000000000110000010000101100000000","0000001001100000000000001000000000000000101000000","0000000000000110000000000000001000010000100000000","0000000010010001000110010010000011000010000000000","0000000000001000111000100000000000000010010000000","0010000000000000000000000001000000000010011010000","0000000000000100000000000010000010010000000000000","0000000000010010000010000000000001000010010000000","0000000000000001000001000000010010010000000000000","0010000110000000000001000010000000001010000001000","0000000000100000001011010011000100000100000000000","1000100100000000100000000000000001100000000000011","0000100110000001000000011100100000000000010010000","0000000001000000000000000100000010000000000000000","0010000000000000100100010000000010101000001000000","1100000000000100000100000100000000000000000100010","0000010000000001000000000000100100000010100000000","1000001000001111001000000000010000000100000010000","0001000100110000000010000100000000100001010000000","0000011000100000000000000000000010000000000000010","0000100000000000000110000001000000101000000001000","0000000010000000110001000000100100010000000001000","0000000001000100000000000000110000000000001000000","1100001000001001000010001000000000000100001000000","0100000000011000100000000000000010001000000010001","0000010000000000001000000000000001101000000000100","0011000000000000100000000000000000000000100010000","0010000000000101000000101000010000000000110010000","1000000000000000011001000100000000010001001000100","0000000000000000010000101100000001001000001100011","0000000001000000000000001000000100000001010000000"}

    Returns: 303

  75. {"0101110111111001111111101111111111111111101111111","1011111111111111010111111011101101110111101111111","0101111110111111111110111110111111111111110110111","1110110111111110111110111101111101111110111111111","1111011111011111111111111110111111111111111111111","1111101111111111111111111001111111111111111101111","0110110111111111111111111111111111110011101111001","1111111011111111111011111101111111111101111111101","1111111101111111111111111111111011111111111111111","1101111110110111111111111111110111011011111111111","1111011111011010111111111111111111111110111011111","1111111111101111111111110111111111111111111111111","1111111110110111111111111111011111011101111111110","0111111111011011111111111011111111111111111111111","0111111111111101011101011111111111111111111110111","1110111111011110111111111111111111111111111011111","1011111111111101011111111111111100110111111111111","1111111111111111101111111111111111111111111111111","1011111111111111110111111111101111101111111111111","1111111011111111111011011110111011111111010011110","1111111111111101111101111111111111111111111111111","1100111111111111111110011111111110111111111010111","1111111111111101111010010111111111111111111111111","0111111111111111111111101011110110110111111111111","1111111111101111111111010111111110101111101101011","1011101111111011111111101011001111110111111111111","1110101011111111111111111101111101111111110111111","1101011111111111111011111110111111110111110111101","1111111111110111111111111011011111111111111010111","1011111111111111110111111011101111111111111111101","1111111110111111111111101111110111101110111111111","1111111101111111111011111111111011111111111111101","1010111111111111011111111101111100111111111111111","1111111111111111011110100111111100111111111111101","1111111110110111111111111111111111000111111111111","1111111111111111110111110111110111001111111111101","1011110111111111011111101010111111010111001111111","1111110110111111111111111111111111111011111011111","1111111011110111111111111111111111111101101111111","1110111111011111111111111111110111111110111101111","1111111111111111111011111111111111110111011111101","0011110111111111111111110111111111110101101111011","1101111111111111111011111100111111111111110111111","1111111111011110111010111111011111111011111011111","1111101111111111111111110111111111111110111101111","1101111111111101111110111111011111111111111110111","1111110111111111111111110111111111111111101111000","1111110011111111111111111110101010101111011111000","1111111111110111111011111111111111111111111111000"}

    Returns: 0

  76. {"010010111110101100101111111011110111111111111111","100010110111110111111111101111011111111011111111","000111101111111111110110111011110110111110000111","001011111111111110111011110111011101111111010111","111101111101110111010111111101011111100101111110","001110101110111101111110111010110111011111110111","111111011111110101110111111101111001101101111101","110110101111101111101111101101110110111110111111","101111110111010110101111111111111111111011111111","111111111001011111111111111101110111001111011101","111101111001111101111100011101100111111101101011","011110111110111001111010101111010111111101101111","111111110011011110010110011001111101111100110100","011111101111101100110110111101011001111110111111","101101010111110111011111001110010101010010111011","111111111110111011111011111011100101101111111111","011110011100101101100110110010011111110111110100","011011110111001110110111011111110101111110111101","111101111111010111010001001000110111111101110110","011111100111111101101111111011011011101101111011","110101011111001100010111110111111110111111011011","111011111110111011011001111111111111110101011110","111111111101111111011001111010100111111100111111","110110111100001101111110110111111100111100110011","111111111101010110011111010111001111111111111111","101111101110110111011111101011010100011100111010","111011111111111101110110010111101011110111010001","010110111111011001001101101011111111111111110101","111101001001001111011111111101111001100111110111","111110111111110101011101111110110101111101010101","101001111110100101101111001111011111111101111111","111111111101111011111101010111101110001101011010","010110101000110010011101101110110001001111011010","111111011111101111101111110101110010111010111111","111011011111000010111110101100110101011100111111","110111101111111111110110101111101010111111101110","111110111011110111111111101111100101001111111100","111101011011111011101111111101100111000110110011","111101111111110101111011110101111111100111111101","101111110111110111111111111111111011111011110001","111101011100011111001000101110001101111101110111","110111101111000110111100101111111001101110101111","110011111011111111110011110110100111111111011101","110111111100111111111111111111111110111110101101","110010111111011101011110110000111111101001110110","111111111101110111100110100111100111101011111001","111111011011011100111111110010111111010011001001","111101111111011101011011101111100110011111110110"}

    Returns: 0

  77. {"001001100101010000010001001001011110001011110111","000000000100110101001100000001010001000010111000","100101100110110001000100000110000010011101101011","001010001111011101110000110011000010000000101100","000100110000011011101000100100010101100001001110","101000000011000000000001001010000001101000100001","101010000010110100011010001110110100111101010011","000010000110100100000000100000100000111100110011","000100000000011000100100000100011001000000001110","111100010011110010000100011000001011010001100101","001101110100110000001010100111001110101000011000","100101000100010101011100100101000000011111010010","011000110110010101110101100000001100111011101000","111110101111100010000100010100100011001101000101","000110001000000100000010100111010001010010001100","010100110001101011001011010000110010001000100110","000010000100010101000000100110001111001100111101","011110000001100110100000001010110000001110001100","000110001000100001000110100000011001100010000000","100100100001100000001010101000010100111000100000","010010100011000100010000010001100000100000100011","011000001101110000100000010000010011010101001001","000000100010001100110000010010110100011000000001","100001000000100100000000101110100010110101010110","000110010011101010110001001100010010111001000011","000100000100010100001110000100011100010111000101","100001100100000001010001100000000100101010011110","001010101011011010000001110010110010101100010101","001101100010001011000011000100010101000011101011","110100000011001000001000000000000100010010011010","000000110000010101001011000100010100001101100101","110010101000001101110110110110101001100010001001","100000001110100010100000010000010011011110001000","100010100010100010010010011011100000010000010001","101100000110010110000101100100001000110010001010","010011001100011010100100000010011000000001001001","000011110010100000111001101100010010011011100100","001000110101101000010111110001001110100010100000","101001110011110111010010101100101000100100010010","001000110001010011000101010100101000001000110101","110000000001101001100000011011011010110001111011","101010100101110000000101110010100001100010110011","111101010100100110011000000010100000110111000000","110000110011000010000001001101000100001111000100","011110001010101011000100001011011011000010000100","100110001100011111000001011100100000100100011000","101010111001000100001001101011000010001011000001","101001110100010010001110110110110101000111000010"}

    Returns: 0

  78. {"00000000000000000100000001000000000100000000000","00000100000001000001000000001100000000000100000","00010000000000000000101001000001000001000001010","00100000000011000000000000000010000000000000010","00000000000000000000001010000010100010000010000","01000000000000010000000000010001000000000000001","00000000000010000000000000000000000000000000000","00000000000000010100100101010000100000010100000","00000000000000010000000000000000000000000001000","00000000000000000000000000001001000000000000001","00000000000000010000000000100001010000000000010","00000000000000001000000000010000000100000001010","00010010000000000110000001101000000000000000100","01010000000000000000000000000000000000000000000","00000000000000000000001000000000010010000000100","00000101101000000000010000000000000000001000000","00000000000100000000100100001000001000000000010","10000001000010000010000000000001000000000000001","00000000000010000100000000010100100000001010010","01000000000000000000000000000010000000010000000","00100001000000001000000000000000000000110000000","00000000000000010000000010000000001001010000000","00101000000000100000000000000000000100001011010","00000001000000001000000000000000000000000000100","00001000000000000000010000000000000000001001000","10100001000010000000000000000000000000000000000","00000000001010000000000000000000000000000000000","00000101000100000010000000000100000000100100000","01000000010010001000000000000000010000001100000","01000000000000000010000000010000000000010001000","00011000000000000001000000000000100000010000000","00100100011000000100000000000000000000000010000","00001001000000000010000000000010000000000000001","00000000001000100000000000001000000000000000000","00000000000000001000010000000000000100000000000","10000000000100000000001000000000001000000000000","00001000000000100000000000000000000000000000100","00100000000000000000010000000000000000000000000","00000000000000000000100000010000000000000000100","00000001000000000001110000000110000000000000000","00000000000000010010001010001000000000000000000","01000001000000000000000000011000000000000000000","00001000000000000010001000000001000000000000000","00100000100100000000001010000100000000000000000","00000000000010100000000100000000000010100000000","00110000001100001010001000000000000000000000000","00000100010000000100000000000000100000000000000"}

    Returns: 0

  79. {"01100111100101100101001000110011010011011110010100","10111000111101111101000101100011111011110111110011","11001001111100011011011000011011000001101100011110","01000110011100000101111100110001010001001111101011","01100011100010111110001111101010110110100111011011","10010001110011011000011010001011011001101101100110","10011000001100111110101001111101110111101111011111","10101100011111110110111101010101110101100011111100","11101100000001101111110111011000001010001110100011","01110101000100011001110011011011110100111100001101","01110011000110011101010111110001011000111111000101","11110011011001001000100110111110100101110111011011","00001101001001111110011011010111001000100100010111","11000101100110100010100110110111010100111011011100","11001011100011000101101111011110101011001110010110","01101111011010001011010010101111111110011011001011","01101110111110010000110110110101000110011111101101","11011011101010100001001111111001110111111001011110","00101011100011010000100100101100111110100011111010","11110000111000110100111110010011101011100111000111","00010011110101101011010100110110001100111010111011","00110101111010011001101111011001010011101110001010","10111111000010100101010110010011111001111010110001","01011001101101101111111010111011101110000011110111","00001100111111111101011101101010001011110100110101","01001011111010100100010010111111111001011111011100","11011010001101011110100111000011110100100101111100","10110011111111101101111101000101111111110000111000","00101110110100110110010111000011011000111010110111","00000011000111111010100001010011100110000000011010","11101100010111110001101111101101110001110101100110","11110111011011011101011101111110001111000101010101","01001011010100110111001101110110000000001001111110","11011111011001010110011001111010001001001100111110","01000100101010110011101111011001010110011011111101","00001011010101011110100100110101001001000101100101","11001010100000111111010110010101001001011110011110","11110111000100100101011011010011010110101010100011","01101111011111000111111010111010000001010111101011","11000000011101011100101011011010001010101001000111","10110110111001111100111001001000111011010111001000","11111110111110101001010011100011010110101000101101","11011011101101111011111101001000001011101000110111","01011111001101011111000101100011101100111000110111","01010101100000001010101110111010111101100111011111","11101011000111100110101111111101111010000011100101","00111011010101011110110001110100111010101100100110","10100111011011101101000111101011111110010111111001","01111110100110110111110100001110110011110011101000","01011010111110011001101110001001001101110111110100"}

    Returns: 0

  80. {"00000000000000000100000001000000000000001001000000","00000010000000000000010100000001000100000000000000","00000000000000000000000010000000000100000000000101","00000000010001010100000000000000000100000000100000","00000110000100010000100100001010000000001010000000","00001001000000000000000001000100001110000100100000","01001000000001000000001000100000000000000000000000","00000100010000000000001011000000000000000000100010","00000000001000000001001010010000010000000010000000","00010001001000000010100001101000100000000010000010","00000000110010110000010010110000000000000100010100","00001000000001000100000000100000000010000000000000","00000000001000010100000100001000000000000000000001","00010010000100010001001000000000000000000001000000","00000000001000000000001000010100000000011000010000","00011000001011000000001000000000000110000000000000","00000000000000000010010000000000000000000100000010","10010000000110000000000100000000000001000000000100","00000000010000001000001000000000000001000001000000","00000000100001000000000000000000000000000100100000","00001000010000000000000100010000000000000000100000","01000000001000001000000000000000000000000000000001","00000011100001110010000000000000000000000000000000","01001000000010000100100000010000010000001000001111","00100001101000000000000000000010011000010000001100","10000101010000000000000000000000100000010000000001","00000010011100000000000000000001100100000000000000","00000000101000100000100100000000011000100100100000","00001000010010000000000000000000000000000000100000","00000100000000100000000000000000000000000010000000","00001000000000000000000010000000000100001100000001","01000000000000000000000000100000011000100000000000","00000000010000000000000001100000001100000010100000","00000000100000000000000110010001000000000100001100","00000100000000000000000010010001100010100100000000","01110100000000010000000000100010100000100000101000","00000100000100010000000000000000001000010000000000","00000000000000000110000000000000000000000000000100","00000000000000000000000000010001001100000000000001","00000000000000100000000011000000000010000000101000","10001000000000100000000100000010000000000000000101","00000100001000001001000000010010011000000000001000","00001000110000000000000000000100100000000000000001","10000000000001000010000000000000000000000000000000","00010101000000000001100000011000100100010000000110","00000000001000100000000000000000000000000000000100","00000000000000000000000110000000010100010100000000","00100000001000000100000110000000010001001000110010","00000001010000001000000100000000000000000000100100","00100000000010000000010101000010000000101010000000"}

    Returns: 0

  81. {"01111111111111111111111011111101110111111110111","10111111111101111111111110111111111110111101111","11011110111111111111111011111111011111011111111","11101111111111111111111111111111111101111011111","11110111111111110011111111111111111111111111111","11111011101111111111011011111011111111011111111","11111100111011111110111110111111110110111011011","11011100111110111111111101111111111111111101111","11111111011111111111110111111111111011111111111","11111011101011101111111111111101111111011111111","11111111110110101110111011110111111110111111111","11111101101011111011111110111100111111101111111","10111111111100111111001111111111111101011111110","11111110110100111110111111110111111111111111110","11111111111111011110110011111111111111111111111","11111111100111101111101101111111111111111111111","11110111111111110110111110111111111111111111111","11110111111011111011111111111111111111001110101","11111111111111111100110111111111111011111111111","11111101110110010100111111111001011101111111111","11111011111101111111011111011111101111111111101","11111111111101101111101111101011100111110011111","11111111011111011101110111111110111101111111111","01011011110111011111111001111111111111111111111","11111110111111101111111001111111111111111111111","10111101111011110111111110111011111001111111110","11111111111111111111011111011111111111111110100","11111111111111111111101111101110111111111101011","11111111110110111111111111110111111111111111011","11111011111111111110101110111010010111111011111","01111111101011111110111111111101111111111111011","11111111111011111111110111101010111111111111111","11011111111111111110111111111011011101110111111","11111111111111111111001111111111100110011111111","01111101111111111111101111111011100001111111101","11111111011111111101111110111111110011111111110","11101111111101111110110110111111010101111101111","10111101110111111111111111111111101110111111101","11011011101101111011111111111111101111011010111","11111111111011111011111111111111111111101011111","11111111111111111111101111111111011111110111110","11101101111111111111101111111011111111001001111","10111110111111111111111111101111111101111001111","01111111111111111011111111011111111111011110111","11111101111111111111111111100101111111111111011","11111111111111111011011111011111110110111111101","11111111111100111111111110011111111011110111110"}

    Returns: 0

  82. {"01001010000011001010010001100010010010101000001","10011101000100011111000010001110100000100011010","00010010010100001110110000010001100010001100000","01101011000101000000100011110010100010010010101","11010101101110110100010000010010110001101000001","01001001111110100000100001011110010100110011011","10110000000110101011011010011100010010001010010","01011100001001101010011100110100000001011000110","00001100000000011000010010001001000110001000101","00100100001011000000000011010110001100010100001","00001101010100001001000010100110101101010100001","01111110001010010011110110010010100110101110000","10001110010100101000010100100010010001111001001","10010001010000010100010110000011101110000011100","00001111000010010111101000110011010010001100000","01001000100101100111100011000000111001101000101","11100011101010000101110100001010011011101010001","01101000000001111001001010010110111000110110110","11100011000100110000111011010001111100001010111","01000010001100111100110110010111001011000110010","00110100000100111011001100000010101101100000100","10101011100111001011001000010010001000100000111","00000011000000100110110000100010100001010001100","00000001000111001001100010001010101001000101111","01010010111101010111000101111110001001100100000","10010100010000010010000010100100000101011000000","10010001001010100000001011000000010000011010110","00111111010100100111010010000010000001111100000","01000110100000001000000110000010100000011001000","01000111011000000101000011000000101001010011110","11011100011111101101111110011000000000110111101","00100000100001100011000000000000101011010110011","01111000001101010110101100001101000101000011001","10001110000010111110000000100000000011000101000","00000000011001011111110110000101000001000000000","00000100111101000010100001000000100001011100001","10110010100101101001000000000001010000010111111","00001001001010011001101111010101111100111110010","11001100000110011100110010010010000001000001000","00010101011010000100001001111111000111001000011","10101011100110111010000001111000000101010110000","00100000011100100101000110010011010111001010001","01010110000101001111000000100111100011001100001","01000100000011000000001100001110110010100000100","00010001100001010110111100100110000010000001010","01000111000000000111010100100101000011010000101","10011100111010011010010100000011100110010110010"}

    Returns: 0

  83. {"00101011001100111111110100001111000111010100011","00100110000100011000101111110010100011101100111","11000001111111111000001010001011010000110100111","00000101101011001110010011001111111111011011111","10000011010100110110011011011010111100010110110","01010011100110110110010010110011011011001010111","11001101011001100110001101100100110001010110111","10111110110010110011100101011110011110011100001","00110101011100100000100011000001111100000100000","00101011101010110101001000101011111100001110011","10110010110100110010110101110000011110001111110","11101100101000111110110100110011110101101111101","00110101010000110101001100100001011011110101011","00110010000000100011111100000001011111011110110","10101111111111010101101010110010010100111100010","11101101011110101101001001101011010001010111001","11110000000100010011010101111100101011110001011","10011110010110110000001001111111101110011111011","10011111001101001001011001010011000101010100111","10000001010011111010111110001010111111001101111","11000001101101100001011110101111111001110011110","10011100001101001011100111111000000111110101011","01101010010011110111100101001110101100110101101","11000011001111001001111001000001111101010101101","01111100100000100001110000010111110010111111001","01011011101000011110011100010101011011011111110","01000110011110111100110000001010011000101010000","01001101001100101110010011001100110011010101110","10111001010000011101111000110001011111000000001","10010011000000001100101011010010010101100111001","11111101010100110111101010100100011101111110110","10110100110111010110100111001000011111111110101","01011010110100001101101110010000011111110101110","00111111111111110001100111111111101101001110001","00011101111011001101101101101011110010101011000","10011001111101100111011100001111110000110001011","11010101001011001101010011011001101001100111101","11010110000111011011110101011111110010111011111","01100000000110101000111010100111101111000110101","10111011000011111110111111010011100101001011010","01010101011101100101000011100011011001010000101","11101011111111110111011111010111110010100011111","00011110011101010100100011100111011011110101000","00010000001110011101111111010100101111010110101","01111110001101000011101101010011100011101101000","11111110011011101111110001010010100101010100001","11110111010110011111011110001101010111101101010"}

    Returns: 0

  84. {"011111111111111101111111111111111111111111111111","100111101111111111111111110111111111111111110111","100111111111111111111100111111111111111111111111","111011111110111111111111111111111111111111111111","111101111000110111111011111101111010110111111111","111110111101111111111111111111110111111111101111","111111011111111110111111101101111111111111110111","101111101111111111111111111111001111111111111111","111111110111111111111111011010011011111111111110","111101111011110111111110110111111111111111110111","111100111101011111111111111111111111111111111111","111001111110111111111111111101111011111101111011","111111111101011111111111111111101111111011111111","111111111111101111111111111111111010111111111111","111101111011110011111111111111110111111111111111","111111111111110011110101111111111111111111111111","011111111111111101111111111111111111111111111111","111111011111111110111111111111111111111111111111","111111111111111111011111111111111110111111111111","111111111111111111101111111110111111101111111001","111111111111111011110111111111111111111111111111","111101111111111111111011111111111011111011111101","110111111111111011111100111111111111111111110111","110111111011111111111100111111111111111111111101","111111110111111111111111011111111111001111111111","111111011111111111111111101111110111111111111111","101111111011111111111111110111110111111111111111","111111110111111111111111111010111111111111111011","111101011110111111111111111101111111011110111111","111111110111111111101111111010111111111111011111","111111100111111111111111111111011111111011111111","111111101111011111111111111111101111011111101111","111110111111110111111111100111110111111111111111","111101110110101111111011111111111011111111111111","111111111111111111111111111111111101111011111111","111101111111101111011111111111111110011111111111","111111111111111111111111011101101110011111111111","111111111111111111101111011111111111100111101111","111101111111111111111111111111111111100111111111","111111111111011111111011111111011101111011111111","111111111110111111111111111111111111111101111111","111111111111111111111111111101111111111110111111","111111111111111111111111111110111111111111011111","111110111111111111111111111111101111101111101101","101111011011111111111101111111111111111111110111","111111111110111111101111111011111111111111111011","111111111111111111101010111111111111111111101101","111111110111111111111111111111111111111111111110"}

    Returns: 0

  85. {"00000000100111111011010110111101011100001101011","00001011111100110011000001000101001100101101100","11001001101111000100101101001110101110010101100","00101010001000101110100111000000111100001001111","10000111110100111101101100000000100101001110100","01111001101011100010110101111010110011110111011","00110101111100100111001110000100011001011100011","00111000110100100100110011011001001010111110010","11100010100010101010101010011000101001100111111","00000000000100110010101110101000110100000011011","11110001010000100100110101011111011001100110110","11111000001001100010001000011000110000000001010","00010001011010110101110101100001000110110100001","10110010110101110001111111101011100100010110100","01111010001011011010011101100000001010110100011","10111111111110101100000111110011101100111111110","10010110000000100111101000000110100000011101010","11111100111100010000000000110010111000010111111","10101011110111001000111010100010011101011111011","01101010111010101100000101100110000110111111111","11100010010100000101111111011001101100001101001","00100110111010111101010001001001100010110010010","01010001010111101000001010100000011010101100011","00101001010110000000010111011001011110000000001","11111011010000100101100101000010010010110001000","00010101011011001100101110001111100011011011001","10111111000110101110011010111100101111100010010","00100100101001100010110100111001111001100000010","10100011101100001011000000100111101101001000010","11101001100010011101111111100010110110111111110","01000110111000011111100000000101101011011001000","01111010100101111111110000001110110011001001111","00010011011101011101111101000000110100100111001","00001000001100110001111100110000000100011010101","10100100010010010010100100000001000000000101111","11001101101011101110011000001111110110111010100","10110110010011110010101000110111001000011001001","10111100100110011001010000111000011111000010001","01001100001110011101000011011010011101110101100","11011001011010001001001100010010101101100101100","11101000010001010111111101101010110111111111111","00101011110001001000010011101000010110010110101","00001000000010001011000100111110000110011110110","01011101001001011000000101101000001101101100000","01111100010101000110100010000010110100000101011","10100000100010000001111100110010111110110011111","11100110110101000101101111110111111001100100101","10100111010010010100000110110000000000100111110","00100000000001110110101001101111110001100101111","11101010101000000000010110010101011011100100100"}

    Returns: 0

  86. {"111", "111", "100" }

    Returns: 5

  87. {"100", "000", "010", "000" }

    Returns: 3


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: