Statistics

Problem Statement for "Puzzle58"

Problem Statement

Puzzle58 is a single-player game. It is played on a rectangular board. Some cells on the board are blocked. You are given the layout of the board in the String[] board. Each character in board is either '.' (an empty cell) or '#' (a blocked cell).

A cell that is not on the border of the board has 8 neighbors. A Good shape is a shape formed by any 5 consecutive neighbors of a cell. All eight possible Good shapes are shown below. In each figure, 'o' denotes the central cell and 'x's denote the five cells that form the Good shape. (The cell denoted 'o' is not a part of the Good shape.)

There are four Good shapes of type 'C':

   xx    xxx    xx
   xo    xox    ox   xox
   xx           xx   xxx


Also, there are four Good shapes of type 'L':

   x     xxx   xxx     x
   xo    xo     ox    ox
   xxx   x       x   xxx


You are given the int[]s row and col. These describe a collection of cells: for each valid i, cell i has the coordinates (row[i], col[i]).

For each cell in the collection, you need to place a Good shape around the cell. The cells are not necessarily distinct. If a cell has multiple occurrences in the collection, each occurrence should have its own Good shape. There are several additional constraints:
  • All Good shapes must fully lie on the given board.
  • All Good shapes must be pairwise disjoint.
  • The Good shapes cannot contain any blocked cells.

If there is no valid way to place the Good shapes as required, return the string "Impossible". Otherwise, return a string that contains one character for each cell in the collection. For each i, character i of the return value should be:
  • 'C', if in all valid solutions the Good shape around cell i has type 'C'.
  • 'L', if in all valid solutions the Good shape around cell i has type 'L'.
  • '?' otherwise.

Definition

Class:
Puzzle58
Method:
getAnswer
Parameters:
String[], int[], int[]
Returns:
String
Method signature:
String getAnswer(String[] board, int[] row, int[] col)
(be sure your method is public)

Constraints

  • board will contain between 2 and 50 elements, inclusive.
  • Each element of board will contain between 2 and 50 characters, inclusive.
  • Each element of board will contain the same number of characters.
  • Each character in board will be '#' or '.'.
  • row will contain between 1 and 100 elements, inclusive.
  • row and col will contain the same number of elements.
  • Each element in row will be between 0 and n-1, inclusive, where n is the number of elements in board.
  • Each element in col will be between 0 and m-1, inclusive, where m is the number of characters in board[0].

Examples

  1. {"..#.#.", "..#..#", "..#..."}

    {1,1}

    {0,4}

    Returns: "CL"

    The only solution is: 00#1#. .0#1.# 00#111

  2. {"....", "#..#", "....", "...."}

    {1,2}

    {1,2}

    Returns: "L?"

    There are two valid solutions, as shown below: 000. 000. #10# #.0# .10. .101 .111 .111 In both solutions the Good shape around cell 0 has type 'L'. However, the Good shape around cell 1 has type 'L' in one solution and type 'C' in the other. Hence, the correct return value is "L?".

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

    {1,1}

    {1,1}

    Returns: "Impossible"

    There is no way to put two disjoint Good shapes around the same cell: the cell has only 8 neighbors but the two shapes need 5+5 = 10 cells.

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

    {1,2,4,3,1,4}

    {1,1,1,2,4,4}

    Returns: "?CLL??"

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

    {0}

    {0}

    Returns: "Impossible"

  6. {"..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................",".................................................."}

    {1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10}

    {1, 1, 3, 4, 6, 7, 9, 9, 11, 12, 14, 15, 17, 17, 19, 20, 22, 23, 25, 25, 27, 28, 30, 31, 33, 33, 35, 36, 38, 39, 41, 41, 43, 44, 46, 47, 1, 1, 3, 4, 6, 7, 9, 9, 11, 12, 14, 15, 17, 17, 19, 20, 22, 23, 25, 25, 27, 28, 30, 31, 33, 33, 35, 36, 38, 39, 41, 41, 43, 44, 46, 47, 1, 1, 3, 4, 6, 7, 9, 9, 11, 12, 14, 15, 17, 17, 19, 20, 22, 23, 25, 25, 27, 28, 30, 31, 33, 33, 35, 36}

    Returns: "????????????????????????????????????????????????????????????????????????????????????????????????????"

  7. {"#.................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................","..................................................",".................................................."}

    {1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10}

    {1, 1, 3, 4, 6, 7, 9, 9, 11, 12, 14, 15, 17, 17, 19, 20, 22, 23, 25, 25, 27, 28, 30, 31, 33, 33, 35, 36, 38, 39, 41, 41, 43, 44, 46, 47, 1, 1, 3, 4, 6, 7, 9, 9, 11, 12, 14, 15, 17, 17, 19, 20, 22, 23, 25, 25, 27, 28, 30, 31, 33, 33, 35, 36, 38, 39, 41, 41, 43, 44, 46, 47, 1, 1, 3, 4, 6, 7, 9, 9, 11, 12, 14, 15, 17, 17, 19, 20, 22, 23, 25, 25, 27, 28, 30, 31, 33, 33, 35, 36}

    Returns: "C?CLLL?C????????????????????????????????????????????????????????????????????????????????????????????"

  8. {"..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................",".............................."}

    {17,18,10,5,24,18,23,1,13,15,5,8,8,23,28,15,17,5,6,8,1,7,5,26,11,13,25,17,16,26,28,27,11,10,3,21,19,1,19,13,23,1,21,23,28,8,2,15,13,5,14,23,2,22,20,10,19,2,28,18,22,20,12,19,28,16,25,4,14,10,5,25,6,20,13,27,9,5,28,27,9,8,12,16,1,25,12,6,25,2,22,4,26,12,2,14,21,11,28,14}

    {6,1,14,11,16,16,17,8,24,27,16,14,19,22,3,13,21,1,23,9,12,4,27,10,1,4,3,27,28,24,27,7,19,4,23,6,19,19,16,14,8,26,9,26,4,23,12,1,8,7,19,28,7,1,23,8,3,1,10,13,14,27,1,24,23,10,29,3,15,26,21,13,28,2,27,17,27,19,20,14,10,18,11,24,1,22,21,2,1,29,19,9,23,18,15,3,7,17,18,6}

    Returns: "?????????????C????????????????????????????????????????????????????C??????????????????L???C??????????"

  9. {"..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................",".............................."}

    {7,17,26,19,0,16,9,24,2,11,20,7,1,11,7,18,15,14,14,25,28,7,28,10,20,27,4,25,2,4,15,23,22,9,27,6,27,5,1,3,3,13,3,14,18,10,4,23,15,28,22,7,22,10,16,13,17,26,6,16,21,4,12,27,14,19,18,7,22,13,18,27,7,2,19,12,0,19,11,24,20,24,14,25,7,28,13,1,25,7,18,9,21,2,25,18,14,23,5,29}

    {14,12,26,8,9,15,22,17,15,3,19,9,5,18,4,22,19,20,10,7,21,6,17,25,15,24,6,28,12,27,5,1,25,18,15,22,11,28,27,14,22,6,2,21,18,9,25,28,28,4,3,25,14,5,28,24,25,1,13,8,12,9,28,5,2,1,3,28,6,13,5,8,7,20,21,14,15,25,12,1,28,10,25,4,18,15,9,25,20,1,11,7,6,3,19,2,4,21,17,8}

    Returns: "????C???C???????L??????????????????????L?????????????????????????L?????C????C??????????????????????C"

  10. {"......#..#....................","....#.#..#....................",".................#.........#..","..............................",".....#........................","..............................","#.............................","..............................","..............................","...#..........................","..............................",".........#....................","..............................",".......................#......","......#.#....#...#.......#....","....................#........#",".#....#....#...##..##......#..","..............#...............","#...........#.......##...#....","......#.......................","......#..................#....",".........#....................","......................#......#","....................#........#","..............................","...................#..##......","..............................","#..#...#..............#.......",".#.#..........................","............................#."}

    {24,15,1,4,15,2,17,27,12,17,19,26,2,6,10,20,7,11,16,3,4,27,1,18,13,12,9,22,11,23,18,6,2,26,19,23,20,12,1,27,1,8,19,6,25,5,16,21,25,9,17,7,28,24,16,9,23,14,14,28,7,6,20,12,6,17,23,14,20,1,15,4,9,2,23,1,6,2,20,11,12,13,28,23,12,25,16,27,24,5,28,3,1,20,24,5,11,9,28,8}

    {14,22,1,8,25,22,8,6,3,18,6,20,27,10,11,2,5,22,14,11,18,23,18,25,16,7,18,6,28,17,9,2,17,9,12,23,15,1,11,10,6,24,23,20,28,27,4,27,16,21,28,11,26,5,19,15,2,8,11,1,27,13,17,17,28,22,8,25,22,15,3,25,5,26,12,4,6,3,24,27,19,10,15,20,4,13,1,18,1,24,12,9,14,28,27,4,12,2,16,8}

    Returns: "?C???????L?C??????LC??????????????????C???L??????????????????????C??C?????????L?C????????L?L????????"

  11. {"####..##.....#################","###..##.....#...##.#.######...","###....#......##..........#.#.","##.........#..###....#..#.##..","##.##...##...###..##...#.####.",".........#####.#.###.###......",".#.....####......#...#....#.#.","...###....#...####.#......#...","##.####.#.#..##...###..##.#.##","###...######....#.#....##....#","###.#.##..##...#######...###.#","#......##....#...#...###.#...#","#.#....#...#..####.......#...#","#......##...##.#.##...#.####.#","##....###..#.#....#.##..#..#.#","##.#.##........##...####..####","#......####.##.#.#.#.###...#..","#.####.####.#..#...#.......##.","#...#..#.#....####....#####...","###..###...###.######.##.#..##","#....#.#....##.....#..##......","##...#..#.#.....#..#.##..#####","...#........#......#..#.##...#",".#.##...#..##.#.#...#.#......#",".....#.#.#.###....###.##......",".#.###.....###.##..#........#.","...###########..##...###......","##....##......#...###..#.##.##","##.##.##.##......#####.#.#####","##.......##...##..###..#...###"}

    {13,12,12,16,20,25,3,5,28,18,25,13,17,11,25,3,28,19,2,17,18,12,10,13,17,1,2,7,16,4,23,23,9,14,2,1,5,28,26,4,6,12,22,7,21,15,1,17,28,8,25,23,23,19,8,2,24,7,17,28,13,21,24,19,21,11,11,10,3,14,24,6,21,5,8,16,22,21,24,20,6,23,25,3,15,28,28,10,2,28,6,8,8,27,12,4,14,14,21,1}

    {22,19,2,13,3,28,24,23,25,22,15,4,28,23,19,11,13,25,4,12,9,5,15,15,19,12,7,12,17,28,14,3,16,8,14,9,15,4,26,19,26,11,24,3,16,26,19,2,21,8,1,1,27,2,26,28,18,19,5,10,27,5,7,28,21,8,13,4,16,18,9,1,8,6,20,25,6,17,22,13,28,26,25,21,3,7,3,27,8,17,7,23,13,14,20,3,11,3,10,5}

    Returns: "CCLCLCCLLLLLCLCCCCLLCLLCLCCLCCCLCLLLC?LLLCCLCCCCCCCCCLCCLCCLLLCLCCCCCCCCCLLLLLLLCCLCCL?LLCLLCLCLCLCC"

  12. {"##....#....#.......#.....##..#","#.......#..........#.....#..#.","...#...#....#..#.......#......",".#....#.#.................##..","##.##..#.............#.#......","##..#....#..........##........",".......#.#.....#..............",".....#...##.#....#............","##...##.................##....","..#........#.#.#.#.#......#...","#.#....................#....##","...........#...#...........#.#","#......#..#....#..............",".....................#.#......","#..#.......#..........#...##..","##...#......#.#..#...#.#.#....","..#.#.......#...........#.....","..#.......................#...","..........................#...",".....#.#...##.#...##......#...","........#...#...#..#....#...##","......###...###......#.##.....","..#.#..#......#...#...........",".........#.........#.#.#..#...","....#.........................",".....#......##..............#.","........#..............#......","...##.#......#....#..........#","...##....#...........#...###..","..........###............#.#.."}

    {6,1,11,21,19,14,8,24,14,1,16,21,28,20,9,22,5,4,21,10,17,18,28,13,1,2,23,24,17,25,1,9,27,1,6,13,3,15,12,14,4,18,4,11,27,27,22,17,16,17,22,7,19,8,16,25,4,5,6,23,7,6,10,2,1,27,27,5,27,0,14,23,19,28,26,1,13,27,4,24,19,10,8,24,9,17,1,28,28,5,13,9,13,7,21,21,15,23,28,9}

    {24,5,13,10,10,9,3,16,14,25,20,24,23,2,26,7,29,17,14,25,26,5,16,5,8,10,27,25,10,21,28,8,6,17,27,21,8,17,17,6,15,23,20,2,10,13,18,2,27,14,28,12,16,29,17,5,3,6,7,13,18,15,21,23,22,1,26,21,29,16,3,21,20,9,21,1,27,18,11,2,28,6,20,8,13,7,13,19,15,25,9,15,24,1,6,1,21,17,1,11}

    Returns: "??????CL??LL???CC?L?????CC???????LC?C?????L??????????C???C????????CLCC?????L??????CC??????C???L?????"

  13. {"...#.#.#####.#.####.#.#......#",".###.......#..........#....#.#","....###..####...#.#####.##.#.#","###.#....#####.....#.##....###","#......###.........#.##.##...#","#.#.##.#..##.##.##.#....####.#","#...##.#.###.##....#####..##.#","###...##..##..##....##...#...#","#..##########....##.###....#.#","#.####...###..#..#......#...##","#...##.#.#.#.#..##.###.##.#.##","###.####.....###...###....###.","..#.....#.#.#....#.#......###.",".####.....#...........#.#.#...","..#........#.......#..#......#","###.#...##.###.#...#..#......#",".....##.................#.#..#",".#.#.#.........########..#####",".#.#....##.#....#.##...#...###","...##..###.##.#...##.#.###...#","#####.####...#.#.#...#.......#","...##..#....##...#..#.#......#",".#.######.............#..#.###","####..##..#.....#.#.........##","...#.#..###....##.###.#.#.#...","##.#..#.###.#.###.#.....#.###.","##..##......#...#......##...#.","#.#.##..##.####.#.....##..#.##","#.#....###.#.#..#.###..#.##.##","#...##..####...##..#####...###"}

    {14,13,20,15,11,18,25,5,6,17,5,14,5,4,23,18,28,27,15,12,12,27,22,2,7,27,8,2,24,3,27,21,21,27,17,2,11,8,5,28,12,16,26,8,24,10,22,19,24,0,28,5,6,10,28,23,8,5,17,8,13,24,0,4,18,22,25,1,21,10,14,15,20,9,20,13,16,1,13,0,10,15,12,19,2,25,22,15,17,25,2,3,9,1,13,25,17,28,15,21}

    {20,7,6,27,21,9,18,2,9,5,17,17,5,24,16,1,18,9,15,28,12,26,8,25,25,4,17,9,5,13,14,20,24,22,1,18,4,12,27,7,24,24,19,27,26,17,1,21,20,20,2,11,4,11,25,13,22,16,8,20,16,22,5,21,16,12,1,27,19,26,6,9,28,2,15,1,26,1,24,13,7,18,8,25,16,28,25,4,13,6,6,2,14,24,13,12,12,13,21,11}

    Returns: "LCCLLLLCCC?LLLC?CLCLC?CLCLLLCCLCLC?CLCLC?CCCLLC?LCLLLC?LC?LLCCCLCLLLLCLLCCCCCL?C?L?LCL?CCCLLCLL?CCLL"

  14. {"#.##....###########...##...###","...##.#.#...........####.#####","##.###.##...##..#.#.#.#..#...#","##.#....######.#........###.##","###........##.#...#...#......#","#..........###...#.....#..#...",".#.#..........#.#..###......#.","........###........#..#..#..#.",".#....#.#.#....#....#........#","...#...##.##.#.####.###......#","##.##..##.#...#.#....#.#.....#","..#.##......#..#..####...###..",".......#.....#...#.#...#.#....","......##...##..#..#.#..#...##.","#.#.#.##.#..#.#.###.....##..#.","..#..#.....#........##.####..#","#.......##.#...##.#.........##","...##...#.....#.#.##....##...#","##.#...#..#.......#...#.#..#.#","##.###.##.##........###....###","...###.#..#......#..######..##",".##...####.............#....#.",".##...#.....##.#.###..###.....","...#....##...#.....#.......#.#",".#.###..###.##...#.......###..","....#........##.##.#.....#..#.","#.........#..#..##........#...","#......###........###.......#.","##.#.....#....####.#.##....#..","##....#.##....#.##...##....#.#"}

    {16,7,15,4,15,19,5,11,24,14,26,16,20,1,18,26,24,17,24,12,6,16,20,11,2,3,23,12,10,2,25,7,14,4,28,24,20,4,19,10,2,11,17,22,2,28,4,6,12,11,1,28,9,13,9,20,26,23,10,15,1,27,8,23,7,26,22,27,4,7,23,5,25,21,19,6,12,24,27,8,5,1,12,25,18,9,7,7,27,17,8,19,28,14,13,21,28,28,22,15}

    {11,12,2,21,26,5,9,2,1,9,16,6,25,6,24,26,12,14,5,17,16,18,14,5,16,28,19,13,27,13,4,23,4,15,3,25,17,6,8,8,1,12,16,1,22,11,3,28,25,21,20,22,18,28,3,20,13,15,23,23,10,7,13,29,6,8,17,28,18,22,8,8,19,4,1,3,1,22,12,1,24,25,9,22,27,26,27,17,24,20,6,11,19,14,20,26,25,4,11,5}

    Returns: "???L?L?CCCLLLC?CCCLCCC???C?CLLCL?L?L??CLL?CLCLL?CLLLLL?LCLC?CL?CLC?C?CLCCCLCL?LCLL?CCL?LL?CCCCCL??LC"

  15. {".###.####.######.....#####...#","###..#....#.#....#.....#.#.##.","..##.#..........###..#.##....#","#....#.#.#...#.....##..#.....#","..#...###..#.#.#...##.##.##...","###.####..##...#.##...##..####","..#......##...##...##...#..##.","#.#####....#.#...#.##.#.#.#..#","..##..#..#...#.##...##..#..#..",".......#.....#......##.#......","#......#####.##....###..##....","...#...#..#..#...#....#....###","#.....###.###..##.....#.##...#","##.##.#.......##......#..#....","...##...##..........##..##.##.","##...##.#..#.###..###.........","###.....#....#...#...#..#.#.#.",".....##.....##.#.#.#.##...#...","....####...###......#..#.##...",".##...#...###.##.##......##..#","##....#.....#.##.##....####...","####.#.#...##.##...#..#.####.#","#..#...#......##.#.####.#.....","..##...#.#..##.#...##....##.##","....##...#.###...#.....#......","......#.#.##....###.#..#.#...#",".##.......##....#...#.....##..",".....#...###..............##..",".#.....#.#.#.#.......###.#....",".....#####...#...#....##...###"}

    {4,23,11,18,12,21,20,12,25,4,9,13,24,3,21,28,15,15,23,13,12,17,20,16,26,7,4,22,16,17,8,25,15,21,28,19,5,3,10,28,28,18,16,3,7,7,23,2,7,2,8,26,10,25,10,19,13,27,13,23,27,24,3,8,2,26,19,9,19,20,9,20,26,1,1,8,28,7,16,2,28,13,24,7,10,10,17,26,6,1,17,28,25,28,14,14,10,22,14,1}

    {25,2,17,23,8,12,4,21,8,20,28,4,13,17,29,7,23,11,26,18,24,9,8,8,21,17,13,22,3,19,9,25,6,5,19,28,4,11,15,1,13,1,28,0,6,26,7,3,22,14,18,4,25,20,3,21,27,28,14,9,5,17,28,27,21,18,15,23,18,9,4,21,27,20,8,15,11,11,24,7,3,1,1,0,0,11,15,24,9,27,2,25,14,15,28,17,5,17,11,17}

    Returns: "??CC?LCCCLLLLCCCCCLL?LCLL??LLC?L??CL???CLL?CLCC?C?CL??LC?L?L?C?CL?LCLC?CLCL?CCLLL?LCCCCC?LLCLC??LCLC"

  16. {"...#.#####....#####.##.....###","#..####...#.#.####...#.#..####","##.##...#.#........#..##...###","#.#.##.......##.#......#...###","....##..#####..#....#..#.#.#.#",".##...##...###.#.#.....#.#...#","....#....#.......#........####",".#....##.###...#.#..#........#","...#..##.........#.#...##....#","##........#....###..##.#......","#...#.......###...#....#.....#",".#.....#......#...##..##.#.#..",".......#.#.#...###.....##..###","###.#.##...#.#....#....##....#","###......#.#.#..#....#......##","#...#...#..#....###...#.#.....","..#.##....###...###.#...#.##.#","....#.#.#.###.#.##...####.#...","..###.#.....##.###.###.#.##.##","##......#.....#......#.#....##","##.######...#.#...##.#......#.","##.####.......#...#..####..##.","#........#..#...####.#.#......",".#......##..#.###.##.....#...#","#.#.#....####..##.....##...##.","##......##...##.....#.####....","##.####.##....#....####.......","##......##..#....#..#...#..###","#####.............####....#...","####...#.##########.#.....#..."}

    {7,11,13,13,3,12,28,18,15,26,23,28,16,3,24,20,3,9,1,9,17,23,20,17,21,27,13,10,4,26,18,11,11,1,8,7,10,1,26,7,16,26,5,20,4,5,24,23,6,15,27,2,7,19,24,20,1,21,27,5,12,27,18,7,8,10,17,12,2,6,10,23,9,29,1,21,14,23,13,23,4,16,8,26,16,9,6,22,22,8,10,13,14,29,19,6,14,25,15,28}

    {15,1,4,23,7,27,4,17,22,11,2,21,26,2,22,8,16,7,12,21,1,5,19,14,16,15,13,16,20,27,26,5,2,23,19,1,29,14,3,24,2,19,1,3,27,15,16,19,9,8,10,19,12,23,4,12,1,26,12,19,20,24,6,6,27,25,8,9,8,20,12,8,26,7,26,28,16,25,26,14,25,29,13,6,20,10,23,11,27,3,6,20,9,28,10,4,13,28,7,24}

    Returns: "CCCLCLCLCLLCLCLLCLC?CLCC???CCLLCL?CCCLCL?CLLC?LL?CL?L?CCLLCLC?LLCLCC?LLCLCCL?LL?LCLCC?LCLLLCLCCL?LL?"

  17. {".###.##...##....#.#.#.#.##..##","###........#.......#.#..##...#","......##.#.#.........#.....##.","..#......#.....#...........#..","......#............#..##...#.#","#...#..........#.........#....","...........#..##....#..#...#..","#...####..#......#....##.....#","#...##.#...#.....#......#.....",".....#..###....##..###.......#",".........#.#...#.....##.#.####",".....#....#..#.....#.#...###..","##.#...##..#.#.#.....#......#.",".#.#.#.#......###..#.#.#......","........#.#.#......##.....#..#","###......##......#.###...##..#","##...#.#.#..#...##...#........",".....#.#####...###..###.#....#","#...#............#.......#...#","...#.#.##.#.###...#.#..#.#....","...##..#.....##...#....#.##.#.",".#.....#..##.###...#..........","....##...#...#.#.#...###.#....","..#..#....##..#..#....##......","#..#..#...##.....#.......##.#.",".....#.......#.....#..#..##.#.","....#....#......##.......##...","#.............#.#....#........","#..##......#...##............#","##..#...#.######.........#.#.."}

    {11,8,5,19,4,9,27,28,28,4,3,26,18,16,25,22,2,22,16,19,25,12,25,25,16,12,20,21,15,21,9,10,7,7,1,2,6,2,21,17,13,26,13,7,28,19,29,15,22,19,12,4,24,1,17,8,10,17,12,8,24,25,20,2,3,28,19,7,27,4,2,24,5,7,7,11,21,20,28,11,24,13,28,4,5,28,13,0,1,19,25,24,14,17,24,1,24,13,2,20}

    {23,27,4,16,7,7,24,20,17,10,16,9,27,12,6,25,14,19,23,20,13,11,22,21,7,8,21,1,15,11,3,16,19,22,8,23,2,11,7,13,23,12,19,29,23,8,8,28,4,23,28,19,3,24,18,14,24,3,26,11,25,19,16,27,2,6,10,9,2,22,6,10,12,17,2,19,28,28,25,13,28,16,29,29,25,3,5,16,19,5,28,16,4,2,0,13,7,1,3,1}

    Returns: "C??C?L???C?C??LCC?C???CL??L?CLCLC?CL?L?CCC?CL?C??LC??LC??CCCLCCL??C?LL?LCL?C??L??CCC???CCC??CCCLL?C?"

  18. {"#........#.......##.#.........","##....#.#...#.........#.#.....",".......................#..#..#","..............................",".............#....#.......#...","#........#...###.....#........","............................#.","...........#.#....#..#...#....","...........#...#..............","......##...........#.#........","....##........#.............#.","............#....#......##....","#.#....##.....#....##........#","......#.................#.....","................#...#........#","##.......##...#.....##.#......","..............#.....##........","......#...#..#..............#.",".#..........#....#.#........#.","..####.....#......##..........","#.......#.......#.#......#..#.",".......#.....#..#.............","..........#....#......#......#","...............#.........##...","........#.#.....#............#","...#.#..#.....##.....##.#.....",".#..#......##.................","..............................","..##..#####.......#.#.........",".#....#.....................#."}

    {24,1,4,21,16,18,10,20,9,15,4,18,21,28,16,13,1,25,6,13,6,3,2,10,27,20,14,10,27,14,2,3,18,22,6,7,28,17,23,5,12,23,27,15,4,17,23,8,2,20,5,7,7,6,9,23,5,28,16,28,8,15,23,28,16,1,28,10,23,1,24,12,26,12,21,19,28,17,7,22,10,9,24,13,9,20,9,4,17,23,1,2,23,7,27,25,27,21,27,3}

    {6,1,17,12,20,13,14,25,19,24,11,1,5,6,16,23,4,22,2,27,23,7,27,10,16,18,12,26,28,8,14,10,24,3,8,6,3,6,25,21,4,13,9,14,6,3,27,1,18,28,11,13,21,27,23,2,28,18,3,12,4,7,17,22,28,24,25,19,20,6,12,14,1,20,20,21,16,10,15,22,8,7,18,18,2,8,28,24,27,8,13,21,1,18,19,5,27,13,14,2}

    Returns: "L???LL?????C?L????C????C???????L?L????????C??????????????L??????L????????L??C???L?L???L??L????C?????"

  19. {".................#............","..............................","...............#..............","....#.....#...................","#.............................",".......##......#..............","..#................#.#.#..#...","..##.............#............","####.#...............##...#...","#...#........#............#...","...#......#.........#.........",".......#...#..#..#...##...#.#.","..................##....#...#.","##..............#............#","...#....................#.....","...............#.............#","..#..................#........","#.............................","#.....#......##...............","......#......##......#...#...#","..................#.....##....","#...#..#......................",".#.............#..#.....#.....","#........................#....","...#..........##......#.#..#..","....................#........#","##..##.......................#","#...#.....#...............#...","..............................","......#...#................#.#"}

    {27,2,9,4,2,13,22,20,16,5,19,23,9,18,6,10,24,27,2,7,27,3,4,18,11,6,5,16,6,2,1,1,22,17,13,25,14,21,19,25,13,21,23,27,25,19,8,22,19,28,11,17,9,5,1,9,27,16,16,27,26,10,15,16,16,6,6,24,8,2,28,13,3,22,13,12,23,11,24,14,28,17,6,21,27,14,19,28,17,3,1,24,12,20,16,26,1,7,3,20}

    {22,18,7,28,15,27,6,18,21,3,14,22,18,27,11,28,27,26,0,14,12,5,23,22,14,21,24,11,17,12,8,27,28,26,14,1,19,26,3,9,8,9,16,4,5,21,8,13,9,1,22,9,17,10,3,24,17,14,3,7,18,4,1,16,6,5,1,12,24,8,15,21,18,2,4,9,19,1,8,9,8,18,28,11,28,24,6,23,23,21,11,22,13,22,27,23,25,28,12,1}

    Returns: "L?????????L???????C???????????????????????C????????????C?????L??????????????????????????L?L?????????"

  20. {"..............................",".............#...........#....","..............................","....#.........................","..............................","..............................","..............................","....................#.........","..............................","..........................#..#","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..............................","..........#.....#.............","..............................","....#.........................","..............................","............#.................","....................#..#......","..............................","..............................","..............................","..............................","..............................",".............................."}

    {25,2,9,28,27,10,22,4,3,4,11,11,8,22,23,27,8,21,1,6,2,18,16,16,13,22,28,2,8,10,17,25,19,15,22,20,22,4,1,7,1,14,21,1,20,19,15,28,12,11,27,3,15,8,12,20,28,15,2,5,12,27,25,5,23,6,28,12,28,7,25,18,9,17,24,25,6,14,22,16,26,5,28,18,16,14,15,25,24,7,5,12,19,1,10,10,19,20,9,13}

    {19,28,27,16,15,14,2,7,27,11,24,5,25,10,20,3,16,9,18,15,23,3,16,19,1,1,9,20,2,12,8,25,23,13,28,6,14,24,10,1,5,25,16,15,18,28,23,24,16,9,4,4,7,22,10,25,28,17,8,17,21,21,1,10,23,11,7,13,12,5,7,14,17,20,13,10,28,28,5,0,24,21,20,8,26,4,10,28,16,6,14,19,1,17,0,6,12,21,20,20}

    Returns: "???????????????????????????????????????????????????????????????????????????????C??????????????C?????"

  21. {".....#...#....................","..#...................#.......",".....#...#............#.......",".#................#..........#",".............................#","................#.............",".#............................","..........#...................","..................#...........","..............................","......................##......","...................#..........",".......#......................","..............................","..............................",".............#................","..#...........................","...................#....#.....","....##........................","..............................","#............##...............","..............................","...#.....#....................","........#.....................","..........................#.#.","..............................","....#.........................","..............................","............................#.",".........##.#................."}

    {1,26,11,13,9,6,7,26,17,26,24,5,22,3,1,10,27,2,11,20,27,14,14,19,24,28,24,9,28,22,21,8,17,13,18,1,18,18,14,26,11,8,11,15,29,6,9,21,11,6,6,3,5,1,22,10,25,27,20,4,13,22,16,21,3,25,14,0,9,0,2,13,23,23,17,14,6,8,14,12,27,7,20,9,23,27,5,5,2,17,18,6,4,28,14,18,24,12,22,8}

    {28,4,2,12,25,27,3,26,13,18,18,23,13,16,2,9,15,5,21,11,9,19,17,9,13,22,4,20,14,23,27,12,7,28,28,25,22,19,1,7,4,17,15,10,4,24,29,18,11,20,7,11,2,12,9,6,24,21,27,12,19,3,4,24,8,10,23,19,14,7,17,9,20,17,16,27,10,2,6,22,12,1,5,26,7,19,26,17,24,19,0,14,20,1,15,16,1,25,0,21}

    Returns: "?????????????L??????????????????????????????C?C?????C???????C??????C?CC????????????????L??C???C???C?"

  22. {".....#..##........#..#......#...#.#.#...","#..#....#..........##......#..#.#.......","..........#.......##.....#.......#......","#.#...#............................#...#","....#.......#.##...#.......#........#...","#.............................#....#...#","..........#.....#...#.....###.....#...#.","..#.#.#......#..#.......#..............#",".....##....#.#....................#....#","....#...............................#...","..#......#...#....#..........#..#...#..#","###...#.##.##........#...............#.#",".....#...#.........#.....#..#...........",".#...........#......#.................#.",".........#....##.#....................#.","...........##........#.#................","..................#.......#.#..#...#...#","...#......#................#.....##.....",".......#.##........#...#................",".#.#.....#.....#...#................#...","..................##..............#.....","#.......##..#...#.#.....#.............#.","##........#.............#..#..#.........","....#...........#.#....##..#.##..#.....#"}

    {9,9,4,17,20,18,2,13,5,19,16,14,17,21,12,2,15,2,6,1,6,1,10,14,10,14,12,4,5,22,21,4,14,15,13,7,9,12,13,17,19,1,7,2,4,3,1,3,3,3,8,16,22,19,19,6,17,21,22,21,12,22,6,16,17,19,6,18,10,1,17,7,21,9,4,7,10,13,21,9,19,12,10,21,4,4,17,1,11,0,1,22,17,22,9,14,23,8,12,20}

    {26,16,36,0,5,38,5,13,0,3,15,30,24,28,9,29,36,25,22,30,14,11,2,27,34,23,19,14,5,12,21,19,6,33,38,8,29,35,1,27,16,38,36,10,10,35,23,9,31,20,17,31,26,15,34,28,4,32,32,38,4,6,26,16,12,24,31,19,25,16,9,18,8,11,16,22,20,20,37,32,11,15,6,3,24,4,21,0,23,14,3,35,30,1,1,5,16,37,28,29}

    Returns: "??CCL???CL??????????C?C????L???????????C?????????C??????L?C??L????????L???C?C??????C???C?C????L?C??L"

  23. {"#....###...##..#....#.......#...............#","#.......#................##...#........#...##","...##.......#...#.....#......................",".#.##...............#......................#.",".#.#..............#..............##......#.#.","...........#.............#....#.............#","..............#....#.##...#......#...........","......#.......#...##..##..........#..........",".......#..........................#...#......",".............#.........#.#.....#.....#......#",".....##.....####.........#.....#.#..........#"}

    {5,2,5,7,5,9,3,7,1,7,3,3,9,1,4,8,0,8,3,6,2,2,8,10,6,5,3,2,4,1,4,5,10,1,7,1,8,7,9,4,7,5,5,4,1,1,1,4,8,6,9,1,4,5,8,9,9,3,3,7,2,9,10,3,8,9,1}

    {13,20,17,31,36,43,43,24,35,9,28,40,35,8,1,27,3,38,24,21,33,12,15,33,2,35,29,16,18,13,8,43,29,26,12,30,7,1,23,32,30,6,39,23,38,9,41,14,16,27,22,23,9,5,4,39,10,20,1,39,6,17,2,25,42,20,17}

    Returns: "??L???????CCCC?CC??C??CC?C???CCLC????????CCL?LC??L?C??CC???LCLC?LCL"

  24. {"...#..##..........#.#.#.",".#.#.....##...........#.","...#..#.........#..##...",".#.#..#.#.#...#......#..","#.#.#......#....#.#....#","#.....#..##.....#.......","...##.........#.........",".#....##.#..#....#....#.","...#.........#.#.#.#.###"}

    {5,2,5,3,2,1,5,3,7,5,1,1,4,8,8,2,1,4,4,3,7,0,7,5,7,7,4,2,1,8,1,6}

    {6,13,9,14,6,9,20,1,12,19,5,16,2,3,15,19,22,4,11,10,1,20,22,16,6,9,23,16,1,19,12,14}

    Returns: "CCL?LLCCCCC?CCCLLCCC?CCLLCC?CCLL"

  25. {"#.##.#..#...#..#...##......#####.#.......","...###.........##..........#........#..##","#.#............##.#..#....#.....###....#.","...##.....#..#.##.......##.....#...#...#.","#.###...#....#..#....#..#....###.........","..###...........#.#..#.#...#.#.#.......#.","#..##.....##..##..###..#.....##.#...##.##",".....#....#..##........###..##.#....##..#","#.#.......#....#...#......#..##...#.....#","....#.####......#.##.....#..##.##...##...","........###.##...###......#.#..#.#.....##","......##.#..#.#..#...#.##...#......#.....","..#.##....#..##....#.....##.####..##.....",".###.#.#.....##...##...#.#..#......#.....","..##.#..###...#.....##...#######.#.......",".#.......#...#....#.......#.#.#.#.....#.#","....#..#.#....#.......#...#...###.....##.","##.#...#......#..#.#........#.###..##....","......##...##.#....#...#.##...#.#..###.#.","......#...#....#........#...#.###...###.#",".##.#......###.....#......#.....#..#.#.#.","###.#.....#.....#.#......###.#..#.##..#.#","#..#...#.....#.#.#.....##.#..##..##.#.#.#","####....##.#....###....#..###..#.#.#.....","#.##.#...#.....##.........####..#......#.","#.##......##...........#.#.......#....#..","......##..##......###..#.#..##.....##.#..","#.#....#..####..###.##.##.#.#.......#....","#.####.#..#...#...............##.#......#","..##.#...####....#.#..##....#.#.....#....","#...#....#...#.###.##....##...#....#..#..","#.#.......#####.####..##............##.##",".##.###.#.......####.#..###.....##.....#.","...#...##......##....##.###....###.......","####.#.#...#..#.##..#....##.#..#....#....","###.......#......#...#..#.#...###........","##.##.#....#....###......#...#...........","#.#.......#..#..#....#.........##........","....#.....#.#.#.#.#..#....###....#...##.#","##.....#.#.....#.###.#..#...........#.#.#","..#.#...###.....#....#...#...#.......#.#.","##..#...#...##...##......#.....#....##...",".#..#.......#......#...##.......#...#..##",".#..#...####.#.....#...###.....#.###....#","#.#....###.#.#..##...#.##...#.##...#....#"}

    {19,24,32,24,35,21,37,26,11,34,27,12,28,29,25,29,38,11,2,1,6,17,37,26,8,2,10,35,15,6,12,38,18,25,33,2,1,17,2,7,16,42,23,3,37,1,36,9,24,2,13,41,7,25,11,19,21,37,16,12,4,5,20,23,20,4,15,1,19,15,14,29,32,25,4,30,9,42,16,0,18,27,2,31,15,39,42,44,16,34,27,36,42,6,21,1,28,39,33,9}

    {16,36,39,20,9,6,35,31,37,19,4,26,39,23,13,17,4,15,23,10,35,17,8,16,13,19,39,38,18,16,34,28,12,23,11,7,24,9,28,8,16,16,18,11,27,5,34,25,39,13,11,7,7,33,21,33,27,14,21,31,25,34,23,9,9,6,35,39,28,23,38,2,31,7,37,7,36,23,22,33,4,26,0,28,28,30,29,38,3,12,21,19,21,11,21,36,30,34,36,21}

    Returns: "??????????C?????????????C????LCL????????????CL?C?LC??C?CCL??LL?LC??L?L?LL???LL?C??C?CC?CL???C???L???"

  26. {"##...#............#......#.#...###....",".................#...#...#...##....#..",".........#.....#......................","...#...............#.....##....#....##","...#.................##...#......#....","..#..#.#..#..........##.....#....#...#","#...#.........#...................#...","..#..##.#..#..............####.......#",".#...#.....#.#...##.#..#.......#...#..",".....#.#...........#.....#..#....#...#","..#....#..............###......#.....#",".............#.#....#.......#........#","#.......#.........#.#.#.#.......#....#","##....#.#......#.#..#.............#...",".........#...#.....#.#........#.....#.",".#....##...##....#.......##...........","......#....##...##.......##....##....."}

    {8,6,2,5,14,1,12,15,13,9,14,4,12,4,1,10,12,6,9,13,5,14,11,7,7,10,7,1,11,9,2,5,4,11,1,9,15,3,2,3,11,4,1,12,8,1,3,2,3,15,11,9,10,12,4,15,5,2,0,13,7,9,14,13,14,8,6,2,15,15,4,15,14,15,5,15,1,10,6,2,1,10,13,8,15,3,5,15,1,8,6,12,1,1,5}

    {35,12,28,7,30,18,22,4,6,3,9,34,24,31,25,7,3,4,33,27,22,19,20,15,11,16,8,35,11,29,9,37,21,35,10,5,26,31,32,13,13,26,4,32,20,21,1,15,16,14,34,25,17,26,6,22,18,24,7,2,31,28,36,15,3,23,0,12,19,36,17,34,13,9,28,23,29,10,34,1,13,1,10,11,1,7,25,29,23,21,14,30,36,3,10}

    Returns: "?L??CLC??CCCC?LL?C?CLCLL?CC?L?CCL?LLL?LLCCC?CC?LCC?C?LCCLCCLC??C?CCLL?LC?L???LCCLCL??LLLLLC??CL"

  27. {".......","..#..#."}

    {1,1}

    {2,5}

    Returns: "CC"

  28. {".....#...##.#..#.#...##....#...#..##.#....",".......#......####...#...#####...#..#.###.","....#....###...#.#.......##....#.........#","....#.#......#.#......#..#.........#...###",".#......#....##..#.#...#..#.#.#...#....###","#..#.##.##........##..........#...#..#....","#..........#....###...........#.........##","...##..#...#....##.#...................##.","..........##...#..#....#....##....#..###..",".#.....##........#.....#..###..........##.","##....#..........#......###........#.....#","..##.....#......#...........#...###.......","..#.##...........#.....#..........###....#","#.#.......##....#..#....#.####....#...##..","#...##.....#.#...##.....#.#.........#..#..",".#.............#....#.........#...........",".#..#....#.....##.#.#......#.#.......#....","...#...#..#...................#.....#....#",".###.#....#.#.#.......#.#....##....##.....","....#..#...#....##............##.....#.#..","##.#.....#.....#.....#.......##...#....###",".#...#.....#...#....##..#.......#....#.#..","..##....#.....#....##.................#...","....#...#..#.#........#.#...#.#....#.....#","...##........#..###...#............#....#.",".....#.....#.##........#.....#...#....#..#","#....#.#.....#.##...#..#..#....#.#.#..###.","#...........##....#.##.#..................",".###.#.......#..#.#....##.#........#..#...","...#......##........#..#...........#..##..","##........#..#..#.#...............#.#.###.","...##.####..........#..#........#..#....##",".#.#.#...#.#.#....#.#....#..............#.",".....#..................#........##..#..#.","#..##....#....#...#.....#.........##......","#.......##...#.........#.##......#.....#..",".#............#...............#...#...#..#","###...###..#....#..#####..#...###...#.....","..##....#...##......####.##..#.#....##....",".#...........#......#...#....#.#..#...#...","...#.#.###...#..##.#.............#.....#..","###.............##.....#.........#..##.#..","..###.......#..##..#..###.###....######..."}

    {28,24,27,34,35,4,11,8,40,40,42,9,25,26,22,18,2,13,9,12,24,23,23,33,38,18,19,36,38,31,1,14,18,6,3,8,33,3,32,10,33,11,22,9,16,5,21,11,13,32,31,34,6,3,15,17,37,12,25,32,28,14,3,10,16,15,18,29,25,19,28,30,4,18,14,37,26,10,33,16,40,39,22,36,1,21,34,21,37,32,40,2,1,31,28,29,41,30,13,2}

    {35,2,18,7,31,30,37,32,21,36,7,4,11,21,18,33,11,15,8,5,7,24,27,22,15,20,7,39,11,32,3,22,39,15,38,21,7,23,11,22,15,19,15,20,21,9,32,11,8,18,28,18,26,6,34,7,19,41,38,27,10,11,35,14,14,39,14,14,29,27,28,38,1,1,36,27,25,30,28,24,19,1,26,4,19,11,21,36,36,3,31,17,0,25,40,22,30,1,29,20}

    Returns: "???C??????C??L?????????????LL????????L????L??????????????C?????????C???L?????????????????C??C???????"

  29. {".#........##","....##......","........#..#",".#....#..#..",".#.##.#...##","......#.####","#.#...#.#...","..#..##...#.","#.....#.#.#."}

    {7,1,5,2,4,7,1,2,8,3,7,6,4,1,0}

    {5,4,8,8,4,10,5,11,8,1,2,0,3,8,1}

    Returns: "C?LC?L?CCLLC?LC"

  30. {".........................................","....................#....................",".........................................",".......#........................#........","..........#..............................",".........................................","..........................#..............","...........................#.............","..............................#..........",".......................#..............#..","..............................#.......#..",".........................................",".........................................","..............................#..........",".#....#.....................#............","#.................................#......",".............#...........................",".......................#.................","..................##.....................","......................................#..","...#.....................................","............#............................",".........................................","............................##...........",".........................................",".........................................","...................#.....................","...............#.........................",".........................................",".........................................","...............................#.........","..................#......................","...........................#.............","........................#..#.#...#.......","........................#................","................................#........","..................................#......",".............#....#......................",".........................................",".........#...........#...................","...#.....................................","................................#........",".........................................",".........................................","........................................."}

    {41,15,18,33,39,6,44,42,44,31,21,37,3,37,5,1,15,27,28,15,9,27,13,7,5,13,18,14,35,9,31,28,30,30,39,12,24,7,1,22,4,19,37,37,3,39,12,23,28,12,2,21,35,24,25,13,5,10,10,14,21,1,33,0,38,36,22,19,30,4,41,10,30,29,1,29,40,36,17,35,26,30,26,24,9,19,42,5,5,43,24,7,19,10,25,28,7,31,43,39}

    {5,33,35,22,12,30,39,19,36,8,6,39,21,33,1,27,12,2,17,18,8,20,4,39,28,7,28,17,36,35,18,39,27,31,21,10,13,20,13,39,4,21,5,15,17,27,23,11,5,19,18,16,31,36,1,39,5,16,25,1,22,38,29,29,35,21,7,7,15,34,28,2,12,34,39,24,35,6,38,2,24,35,29,4,14,34,23,14,13,9,20,6,38,30,23,8,35,25,18,8}

    Returns: "??????C?C??????????????????????????????????????????????????????C????????????????????????????????????"

  31. {"...#........#.#.............#..........#....",".............#...................#...##.....","......#.....................................","............................................","................#...........................",".....#....#................#................","........#..........#........................","....................................###.#..."}

    {6,3,5,3,2,0,6,3,1,2,7,6,2,5,6,4,2,6,6,6,3,2,5,1,2,6,3,2,4,4,5,1,5,1,6,2,1,6,3,2,5,6,1,1,5,3,6,1,5,5}

    {10,19,38,16,40,35,8,3,20,30,13,18,23,39,35,25,27,42,22,3,12,6,27,32,8,31,35,3,33,13,41,19,25,24,16,15,7,19,0,11,5,0,43,1,30,38,34,10,10,22}

    Returns: "?????CC???C???C????????????C??????C?L?C??CCC??????"

  32. {".##..##...#####.....##","....#.#.#....##.#..#.#","....#..###.#.##.#....#","...##..##....#.......#","##......#.##...###.#..","..#...##..#######..##.","......#..#####...#....","...##....###.#.#......","##...##......#.####...","##.....##.#.....#....#","###...##.......#.....#","..#....#.##........#.#",".....#.#...#...###....","#..#...##.#.##........","............#...#####.","##.#....###...#.......","##...##...#.#.###.....",".###........#...#...##","#..#.###......#.#...##","#.....##.#.#####...###","#...###.....##...#.#..","#.....#.#...##.#...##.","#.##..#..#.......#.#..","#.#........##..###.#.#","#.#.#.#..#......#....#","....#....#...##...#..#","#...####...#......##.#","#.#.....#..#....#.#..#","#.#....#..#.....##...#","#.#......#.#.#........","###.#.##...#....###...","##...#...#....#...#...","##....##......##.##.##","##.##.##..#....#..#..#","..###...##........####",".#####.#...##...#.####","..........###.....#...","##.#..............#.#.","#...#...###.#....##.#.","#...##.######.###....#"}

    {3,30,22,35,37,19,1,11,36,13,9,7,37,2,12,17,33,8,38,15,29,6,19,23,2,35,18,5,12,7,18,33,11,4,28,24,35,32,4,32,3,5,32,20,18,14,29,24,29,6,27,1,26,1,21,37,27,14,27,29,30,38,13,26,21,32,20,10,13,21,13,6,10,27,23,28,37,24,15,23,17,1,23,7,11,7,38,10,32,13,20,35,33,16,2,24,16,37,36,10}

    {6,16,4,13,16,11,19,9,10,0,10,3,3,11,20,18,4,13,12,3,13,17,1,15,16,7,14,20,17,7,5,10,12,19,4,16,16,20,10,3,13,4,17,17,7,6,20,6,9,6,16,8,19,16,15,20,14,16,2,19,4,2,10,11,8,7,10,3,13,20,3,0,18,8,12,7,15,2,20,11,8,2,19,20,19,15,18,15,12,7,2,1,11,12,1,7,19,6,7,6}

    Returns: "?L?CCL??CC?L?CC?L?????CL?CCLLCCCCCCCC?LLCCC?LLCCCL?CC?CL?LLCCC??CLC??C?CLC?CC?L?L??CL?LCLLLCL??L?LLC"

  33. {"...................................#..","........#.............................","......................................","......................#.............#.",".#..#....#............................","........#.#...........................","......................................",".........................#............","......................................","............#.........................","..............................#......#","......................................",".....#...............#................","..................#...................",".#....................................",".....................................#","......#...............................","..............#.............#.........","..................................#...","#.....................................","......................................","......................................","...#.....#.............##.............",".........................#.#..........","......................................","......................................","....#...............#.................",".......#..............................","............#.....#.................#.","......................................",".....#................................","........#.............................","..#.......#..................#........","......................................"}

    {13,22,7,13,27,6,31,27,3,20,1,19,22,9,14,2,3,14,17,10,20,30,6,10,7,30,4,2,18,16,15,12,31,12,28,14,31,8,0,29,20,16,1,11,22,28,25,26,16,32,18,4,7,26,18,19,11,1,3,28,29,25,11,22,15,23,23,10,32,7,1,22,24,24,28,2,13,8,6,3,1,18,28,27,23,32,19,11,5,8,14,25,21,16,32,2,10,30,10,27}

    {30,16,11,21,17,35,15,28,17,5,30,26,34,1,11,11,24,34,30,24,15,1,17,5,19,27,2,6,9,17,14,15,33,5,36,27,12,35,18,10,19,23,15,28,28,31,25,14,6,18,34,27,32,35,2,23,19,23,14,5,23,29,9,11,32,13,6,13,21,14,3,1,5,10,14,34,25,31,28,20,1,11,1,21,25,5,31,33,31,10,3,22,34,26,36,29,27,22,22,13}

    Returns: "??????????????????????????????????????C????????L????????????????????????????????????????????????????"

  34. {".#.....##..##..#...##...###.#....",".....#....#....#......##.......##",".#.............................##","...#...........##........#..#....","#.......##..#...#..............#.","......#..#......#................","#......##........#...#.#.....#...",".#.#...#.#....#.........#..#.#.#.","....#..#.#.#.........###.........","....#.............#.............#",".......#.#.....##...............#","................#.#.....#........",".......#........#........#...#..#",".....##.....#..............#....#","...............#...#..#...#.#...#","##....#..#.#......#...#.........#",".##....#.......#.........#....#.#",".........##..##.#......#.........","##.....##.#............#.#..#.#..","......#.#..............#.....###.","....#......###...................",".##.#.##.........##.#.....#....#.","..##.....#....#..#..........#..##"}

    {12,16,12,15,21,15,1,9,4,8,17,1,15,7,6,20,20,20,4,21,15,11,2,7,13,21,2,13,8,22,10,14,3,7,1,11,9,11,21,21,3,11,4,9,2,19,19,4,3,19,17,15,8,18,18,6,13,18,6,1,19,16,21,21,9,1,13,7,18,7,1,2,6,1,5,4,5,17,2,9,20,2,16,2,13,5,6,14,14,19,13,9,11,16,11,15,10,10,12,10}

    {29,29,16,23,26,13,13,29,30,15,5,22,17,27,20,4,10,15,17,20,3,1,1,5,1,1,31,8,11,23,9,22,6,31,10,5,19,24,6,29,25,26,12,18,5,31,21,1,22,16,26,18,7,17,25,21,12,21,5,3,18,30,7,11,28,30,19,12,1,1,5,9,17,17,31,27,15,10,20,4,27,26,7,12,9,10,24,26,13,13,30,25,13,4,23,21,30,12,2,22}

    Returns: "???????CLC??LC?LL?CC??CC??LCLCCLLCC??C?C?CC??C?L?LCCL???L?C?L???CLCC???LC?L?CL????CL??L?C??C??L?L??L"

  35. {"..###...##...#......#..........#","....#....#..#.......#..#........","...#...........................#","#.......#..#.#............#.....","...#.#................#...####.#","#...........#.#...##.....##.....","#.....###....#........#.......#.",".....................#.........#","...........................#....","...#...#.....##.................","#........#....#.#...............",".#...........#.....#...#........","#...##.............#............","....#..........#...........##..#","..............#......#..........","........#.....................#.",".....#..............#.....#.....",".........#.......#........###..#",".#..#........#.#.#...........#.#","......#..##.#.........#.#......#","...###..#......##...............",".....#..........#...#....#......",".#...#..........##..............","..................#....##...#...","#.....##............#...........","#.....#.#.........#.............","..#.......#.....#...............","......#.#...#.....#.#...#.....#.","##..#..................###.###.."}

    {7,22,25,12,14,12,3,9,1,11,1,6,19,23,6,4,17,18,24,21,9,15,5,4,18,18,6,8,12,11,16,24,26,14,14,2,10,27,10,22,6,18,24,21,3,15,20,27,26,4,27,7,27,15,10,23,12,14,13,18,21,1,27,2,2,6,20,10,10,7,15,15,10,14,13,19,24,19,9,15,1,0,27,24,22,25,1,26,15,8,18,17,3,3,7,11,8,17,21,26}

    {14,5,13,13,1,22,28,23,25,7,22,18,28,9,28,5,22,17,4,22,21,15,9,22,24,3,26,10,21,2,19,20,16,27,6,19,18,18,30,1,13,7,26,25,13,24,8,4,14,3,8,2,30,13,16,15,17,9,29,4,13,7,27,15,2,6,30,5,11,11,2,5,27,25,12,20,30,10,30,18,14,18,21,23,12,24,11,10,10,1,13,7,24,18,17,26,7,31,1,2}

    Returns: "Impossible"

  36. {"........#.#..#.","........#...#..","...#.#....#....",".......#.......","...#.#.........",".......#.#.#...",".........#.....",".#.............","..............#","...............","...#..........#","...#...........","#........##....","......#..#.....","##...........#.","#......##......","......##.......","...............",".##......#.....",".....#......#..",".............#.","...............","..........#.#..","........#...#.."}

    {13,20,22,5,2,3,14,13,16,1,14,22,18,1,18,22,11,20,6,19,4,12,8,5,12,2,11,20,2,17,6,9,1,16,22,8,5,13,18,9,2,16,9,13,21,5,8,5,22}

    {6,1,14,7,10,7,5,9,1,12,1,10,8,1,5,5,11,11,4,4,1,12,2,11,7,3,5,10,5,11,12,1,6,10,2,5,1,2,12,9,13,13,12,13,8,3,9,13,3}

    Returns: "??C????CC???????CCL??LC?C??????L????CL?C???LCL???"

  37. {"................................","................................","................................","................................","................................",".......#........................","................................","................................","................................","................................","................................","................................","................................","................................","................................","................................","................................",".............#..................","................................"}

    {5,14,5,5,11,4,5,15,1,13,15,7,2,14,12,3,9,2,10,11,7,3,16,2,2,12,2,3,15,9,18,13,17,9,16,5,16,7,1,7,10,3,17,0,10,12,8,11,11,15,7,6,17,8,5,14,15,2,11,1,4,13,18,5,8,12,17,0,13,4,15,6,9,1,16,14,9,14,10,12,1,8,0,12,17,8,11,5,1,16,3,17}

    {19,12,7,15,11,23,3,24,16,8,17,22,30,30,28,27,23,8,7,5,30,24,2,18,25,21,5,11,21,18,23,26,28,4,18,26,14,12,19,29,27,1,5,12,13,25,15,18,2,7,6,19,19,9,1,4,29,15,30,21,4,1,7,12,0,17,10,28,29,16,14,24,20,4,8,2,26,20,11,22,24,3,1,7,1,5,14,30,9,27,12,13}

    Returns: "??????????????L???????????????C??L?CCC??C?CC???????????C??????C?C??C????????L?????C?L??????L"

  38. {"##.........#...###.##..##........#","##.#........#...#..##.##....#.....","...#.#....#............#....###...",".##.......#.......####......##..##","....###....#.......#..#.##.......#","##.........##........#...........#","...#.........##...#...#..##.#.#...","#...#.#.#.....#.....#..#..#.#.#..#","#.##..#.....#....#.##.#..#..#.....","#.####.........#.#.........#......",".#......###.#...#...#..#..........","....#...........#.#.......#.....##","........#....#..#...#..........#..","##..#..#..##......#....##.##....#.",".....#..##.......#...#.##......#..",".#............##...........#....##","....#....##...####.......#....#.##","......##........##...#...#........"}

    {4,6,8,4,9,7,8,5,15,5,12,7,0,8,10,1,1,1,14,15,16,4,1,13,11,16,9,11,13,2,16,13,15,1,10,5,16,2,13,4,6,3,10,16,15,1,4,2,8,16,5,12,8,8,12,11,10,1,10,16,16,10,11,12,1,3,14,15,5,2,11,10,13,7,9,7,6,6,5,13,15,13,1,16,16,1,12,3,4}

    {22,7,9,13,15,23,2,17,22,11,31,30,6,19,24,3,28,31,5,11,1,31,19,14,4,4,27,18,1,8,30,26,19,25,12,31,14,5,23,4,16,28,20,9,27,16,25,10,12,10,21,28,31,22,8,11,7,13,29,27,32,1,6,20,22,1,17,1,1,25,14,23,32,4,32,8,18,28,8,29,6,4,32,23,19,9,13,13,16}

    Returns: "CCCCCCLLCLCLCLL?CC?LLCLLC?CCLCCL?CLCL?LLCLC?CCLLC?CLCCCCLLCLLCLCC?CC?CCCCCLLLLLLLCCL?LLCL"

  39. {"...............#....","............#.#.....",".....#............##","..#....#.....#..#...","...#................","....................","....................","....#.#..#...#.....#","...........#......#.","...#................","...................."}

    {8,8,9,1,9,5,2,8,5,2,6,1,2,5,9,4,9,4,1,3,1,10,8,1,4,9,1,5,5,7,6}

    {18,6,1,14,5,12,18,11,19,3,2,0,5,5,14,11,7,8,12,16,9,11,15,3,1,18,6,6,16,1,15}

    Returns: "CL?C???CCC?CC????CC??C???LL????"

  40. {".#.##.#........#","....#....##.#.#.","##....#........#","##..............","........#..#....",".#..##...#..#..#","........#...#...","...........#..##","#...............",".#........#....#","...#.#....#.....",".#.....#........","..........#.....","#...#.#....##...","...........##...",".#..####.#......","......##........","#...........#...","#.........#....#","#.#..........#.#","#.#.#.......#.#.","......#.......##",".#..............",".....#.........#","............#...","#....#..#.#...#.","#...........#..#","#....#...##...##","#...............","##..#..........#","....#...........","........#...#...","......#.........","...#....##....#.",".#..............","................","#......##....#..","....##..........",".#.#............","...#.#.........#","...............#","#.#..#..#......#","................"}

    {27,25,38,29,4,38,3,35,4,13,12,10,11,16,27,27,15,15,29,39,34,23,7,28,36,29,38,0,21,12,7,11,18,41,31,41,7,21,20,1,12,16,4,33,36,31,39,3,4,34,20,22,18,19,9,31,12,41,33,41,2,6,8,36,28,41,23,17,25,24,10,11,5,23,34,31,23,1,5,41,18,30,21,26,35,7,9,33,20,3,24,40,15,9,6,15,16,39,30,37}

    {6,14,6,1,13,1,3,14,11,6,14,5,1,11,2,14,9,3,9,5,6,2,2,13,10,4,8,1,9,9,9,5,8,5,12,14,14,14,2,9,10,14,4,3,13,8,12,13,8,1,4,13,2,13,1,15,2,8,1,11,6,6,9,3,10,2,5,5,10,2,12,13,5,10,8,11,9,12,1,0,7,5,6,3,5,5,8,11,10,10,7,13,1,12,1,14,10,9,2,14}

    Returns: "?CCLC?L?C?L?CCL?L???LCLLCLCCLLC?C??L?L?LC?LC????CC?L?CCCL?L?CCC?LCCC??CLL?C?CCCC?LC??LLC?LC?CCL?CLL?"

  41. {"..............#...........","...#..............#.......","..........................","..........................",".......#..................","..........................","..........................","...............#..........","..........................","......#...................",".#..........#.............",".........#.#....#.........","......................#...",".........#................",".......#..................","..........................","..........................","..........................","..........................","......#...................","..........................","......................#...","..........................","..........................","...................#......",".....................#....","..........................","......................#..#","#.........................","....#.....................","..........................","..........................",".............#............","..........................","..........#...............","..........................","..........................","...............#..........","..........................",".........................#","..........................","..........................","..........................","..........................","..........................","............#.......#..#..","#....#.................#..","...#......................"}

    {36,4,16,3,33,14,10,9,28,2,34,2,46,24,28,25,9,32,15,20,41,39,31,30,16,7,16,9,10,24,27,35,15,27,46,41,34,36,10,23,8,21,41,41,13,3,37,14,31,19,12,44,22,11,38,6,18,22,42,17,5,8,22,33,25,32,26,22,45,19,42,31,19,19,1,44,18,32,43,46,15,10,44,36,6,4,22,18,41,30,38,45,42,36,11,28,1,33,0,16}

    {11,18,15,8,6,7,2,21,6,13,16,3,9,22,14,16,17,20,22,20,13,19,24,16,16,10,13,18,24,11,10,23,4,24,25,8,19,14,9,5,6,24,19,24,2,22,4,21,15,6,15,14,1,12,8,23,24,17,17,11,19,13,8,19,4,8,2,14,13,9,1,21,2,12,3,0,15,3,22,5,19,1,18,20,12,15,25,6,16,19,2,11,10,7,19,23,18,2,23,1}

    Returns: "?????????????????L???????????????LC??????L???????????L?????????????????L???C??????????C??L????????C?"

  42. {"................#.....#.....................#",".#...........................................",".......................#..............#......","............................................#","#.#...................#......................","...#.........................................","....................##...#.....#.............",".............................................","...................#......................#..","..........................#..................",".#.....................................#.##.#","..#.............#..#..................#.....#","...#...............................#.........","#.......................#....................","...#.................................#..#....",".........................................#...",".....................#...................#...","..#........................#.#...............",".............................................","............................#.......#........","................#..........#....#............","..................................#..........","................#.......................#....","...............#....#........................","....#...#........#...................#......#","..............................#...........#..","..............................#..##..........",".............................................",".............................................","...................................#...#.....","..................#..........................","...#..................#.#....................",".......#..............#......................","...................#........................."}

    {9,22,12,29,6,18,13,29,26,14,12,10,24,22,2,20,25,4,31,30,16,3,20,20,31,14,28,20,31,32,14,25,15,6,18,6,13,31,9,27,10,15,17,26,15,9,7,17,21,32,24,22,9,32,11,26,13,4,15,27,5,25,27,17,10,30,27,23,1,1,13,3,24,6,5,7,21,26,8,18,17,20,9,17,16,3,18,2,24,4,32,21,1,26,14,29,30,22,6,12}

    {36,38,9,41,6,1,37,10,9,24,42,14,17,7,15,16,28,10,38,29,38,38,20,5,32,15,27,11,7,12,34,13,43,29,11,42,14,43,7,4,42,27,9,16,3,11,5,31,31,15,26,24,27,18,23,43,30,32,11,36,13,21,2,16,34,26,7,40,11,8,27,3,32,25,17,33,35,23,3,26,6,42,18,18,39,6,32,21,9,35,35,3,34,39,21,14,2,23,37,6}

    Returns: "????????????????????????????????????????????????????????????????????????????????????????????????????"

  43. {".#...................","#..................#.","..........#..........","#.........#........#.","..........##........#",".....................","...#..#.......#......","......#..............",".#...........#....#.."}

    {7,3,4,2,5,7,3,1,6,6,3,4,0,6,1,6,2,6,1,3,6,7,1,1,7,2}

    {19,8,6,12,18,11,12,17,17,1,15,3,3,14,6,3,18,9,9,2,6,9,15,19,3,6}

    Returns: "Impossible"

  44. {"...#...##..#...","#.#..#....#....","....#...#...#..",".........##....",".#.##.....#....","...###.#...#...",".##............",".##.##.......#.","...............","...###..#.....#","....#.....#...#","..............#","#.#...#.##....#",".#..#...##.....","..............#","#####.#........"}

    {10,7,1,5,13,7,14,4,11,14,4,11,13,12,9,2,4,1,7,4,1,10,14,4,7,7,1,15,7,4,12,1,1,11,10}

    {10,4,5,5,4,9,11,9,12,9,3,2,1,6,7,12,13,10,11,12,6,12,14,6,8,1,2,6,13,1,4,13,0,9,1}

    Returns: "Impossible"

  45. {"#...#....##.##..###","#.....#..##....####",".#...#.......#.#...",".#.#.#####.#....#..","...#....#.....#.#..",".....#.....##.....#",".##.#.#.#......#..#","..#...#..#..#......","...#....#....#....#",".#.................",".#.#.....######..#.",".........#..#......","#..............#.#.","..#.#.###.#...#....","#...#............#."}

    {12,11,1,5,1,10,9,7,7,10,6,3,1,13,14,4,6,8,12,10,13,4,10,13,0,3,6,13,10,13,3,7,9,1,6,3,7,8,13,12,4,1}

    {17,7,3,6,15,11,1,9,17,3,4,9,7,13,17,14,13,13,3,6,8,3,14,2,12,17,9,14,17,6,1,16,5,6,1,11,12,8,10,0,16,2}

    Returns: "Impossible"

  46. {"........#......#....#..#...","..#...............#........",".........#.....##..........","....#.....#............##..","#.....#........#.#...#.....","..#...##......#............","#.#....##..................","#......#......##.....#...#.","..#.......#.#........#.#...",".###.....#...##..........##","...#..........#.#...#..##..","#..............#........##.","...##.......##.............","...#...........##.......##.","#....#.................##..","#....#.....#....#........#.","#....#..#................#.","..#..#........#.##....#..#.","#......###.#........#......"}

    {9,15,10,7,1,8,1,11,10,7,17,14,2,5,15,6,16,8,1,3,15,11,12,3,11,14,14,0,10,15,16,2,3,5,4,17,8,4,17,6,13,7,4,15,12,17,5,11,17,9,4,17,15,9,4,13,11,1,6,12,8,0,18,6,12,1,1,14,12,1,2,10,5}

    {14,25,3,17,5,2,18,25,8,5,17,13,13,10,3,9,22,12,25,21,7,23,13,7,16,9,18,15,20,21,8,12,3,24,17,22,23,25,2,19,19,25,0,11,19,14,14,7,25,1,21,5,16,7,6,1,11,24,23,6,6,8,11,16,12,11,1,2,22,4,20,17,20}

    Returns: "Impossible"

  47. {"...#....#",".........","#........",".........",".........","......#..",".#..#....","....#...#",".........",".........",".........",".........",".........",".......##",".........","...#.....","..#......",".#.......",".........",".........",".........","..#......",".........","#........","#........",".........",".........",".......#.","..#......",".........","#........",".........","........#","......#..","....#....","....#....","....#....",".........",".........",".#.....#.","..#......",".........",".........","...#..#..",".........","......#..","........."}

    {2,3,4,38,6,27,10,32,45,45,28,20,12,34,27,20,42,36,5,21,18,12,33,12,24,25,17,1,30,41,15,39,4,15,30,7,24,1,37,24,27,17,8,9,42,35,30,38,19,14,40,44,1,45,15,20,9,32,21,39,10}

    {7,5,1,3,6,5,1,3,4,1,2,5,1,1,1,3,8,7,8,2,7,7,6,4,3,7,3,1,7,1,8,7,2,5,4,1,2,6,2,6,4,1,4,5,4,6,5,5,6,1,2,1,2,7,3,0,7,0,6,5,4}

    Returns: "????L??????L?C?CC?CL???C???C??C???????L???LLC???????C??CCCL?C"

  48. {"#.########.#####.#.#..####....#.#..###....##..#..#","##.##...####.#.#.###..####......##..##.##.#...##.#","..##.##...#####..###.#######.#..#....#.###....##.#","#.#..##..#...#.#.#.#..#...#.#...#....#.##..#.#...#","..#.#.##...#.#.....#####..#.#.#.#..#.######.......","#...##.##....###...#######....###.......#..###.#..",".#..#####.#....###.####.#..#####..#.....##.#...#..","#.#####......#.##..##.#...#..#....#####.#####....#",".#.########..##.......#.....####.#..#.#..#..#...##","#....#....#######.....#..####....####........##...",".#.#........##.##.##.....##.####.....##..#....#...","#....##...#.#####.....#.#...##..##.##.#..#....##..","#..##.##.##...####.#####..#####............#.###..",".#.####..####.###....####.######.#.#...####.##.#..","#..####.#.#......##....######.#...##....##...#....","##...##.......###.#.#.##.#.#..#....#.##.###.###...","#######.##....###.##......##.#..##....#####..#....","#######..###..###....#....###..#...#.#.....#......",".#.#..###.##.#..###.###..##..#.###.###.#.###......","##....#...##.#...####.##.#.##..#...###.###.##..#..","###.......#.#.##.####.#..#..#.##.#.####..#...#....","...#...###.##.##.##......#######..#..###.......##.",".#......##.#...####..#.#...#.####.#..#########.#..",".#...##....##.#####....#.#....#...#.##############",".....##.#.....###...#.##..#.#.###.#..#####.###.###",".#...####.##.####.#.#.###...######.#..##.###.####.","#...####..####..#.######.###.##.#.#..###...###..##","#....##...#.....####.###...###.##.##..#..###.#...#","#...##..#.##.....######..#..###...#....#.#.####.##","#....#..###...##..#.######...#...##.#....#..#...##","########..###.##.#.##.#.##.#.###........##.##...##","#.######..########.##....#######.####..#....#...##","#.####.#..#.###.#....######.######.#####..#.####..","#..#####.##.##.....####.###.######.#.#.#..######.#"}

    {8,7,1,2,9,10,22,4,30,2,16,23,4,28,25,9,15,0,20,25,23,28,22,11,20,25,12,31,30,10,7,20,20,4,16,26,3,32,29,30,6,22,7,16,12,19,12,10,13,27,18,10,16,6,15,17,5,10,3,27,4,3,21,28,27,15,21,31,29,24,1,23,28,4,16,15,21,11,18,20,11,28,30,13,2,19,4,11,7,8,11,3,8,24,31,17,3,30,17,14}

    {19,26,27,43,16,48,32,30,31,6,8,12,17,11,18,7,48,30,33,10,6,46,1,1,22,1,19,9,27,40,13,15,4,28,18,37,9,41,15,37,8,20,38,33,7,23,26,44,12,41,39,3,12,10,44,48,48,43,45,32,11,35,43,25,2,12,48,46,34,3,44,25,2,34,47,37,3,22,29,8,41,8,22,39,21,45,37,33,46,31,10,15,24,26,19,21,0,43,24,3}

    Returns: "Impossible"

  49. {"......###",".##.#..#.",".........","........#",".#...#.##","...#....#","##.###...",".........",".##.#....","..#.#..##",".........",".#.###...",".........",".#....#..","....##..#","###.#...#","...##....","........#","#...##.##","..#..#..#",".###....#",".#......#",".....#.##",".....#.##",".........",".#.#..###","##.#.#...","...#.....","..##....#",".#.#..#..","...#.#...","...#...#.","#...#...#","##...#..#","##......#","...##.#.#","....#.###","...#.....","......#..","#...##..."}

    {13,29,33,13,26,37,33,9,20,30,3,33,31,34,23,4,23,16,9,18,22,8,25,21,1,1,36,1,15,11,38,18,26,17,6,19,4,24,27,7,8,4,28,37,14,11,30,12,38,3,38}

    {6,1,6,1,5,3,5,4,6,5,4,2,7,1,2,7,5,6,7,0,3,1,7,1,7,4,6,1,7,3,6,4,1,1,3,5,1,1,5,7,6,5,8,1,4,1,1,7,7,1,2}

    Returns: "Impossible"

  50. {"...#........#......","..................#","#.........#.......#",".....#............#","...................","...................","...#.......#.#.....","#...#.#......#.....",".......#..........#","...........#.......",".#...........##.#..",".........#.........","#...#...##......#..","...................","................#.#",".........##.....#..","......#......#.....","..........#....#...","...#...............","#..............#...","...#.............#.","#..#.#.............","#..................","......#.......#....",".##................","...................","...................","...............#.#.","........#..........","......#........#.#.","....#..............","##.........#.....#.","....#.#........#..."}

    {5,21,13,4,26,19,11,18,31,13,30,16,11,22,23,30,4,21,4,9,15,9,7,2,1,4,32,27,27,1,12,27,27,16,22,21,9,6,19,31,12,15,31,24,4,25,28,5,7,1,10,12,14,1,10,19,20,18,18,28,26,1,31,10,24,16,1,16,14,15,21,23,15,5,29,27,26,12,25,8,19,7,1,29,19,4,2,22,8,6,31}

    {15,3,6,7,8,5,6,11,17,2,14,2,18,12,9,4,3,14,2,5,15,1,15,16,8,13,8,4,12,12,9,15,1,17,2,16,11,11,17,11,14,9,6,3,8,17,8,17,6,14,16,12,3,5,9,1,7,8,13,11,15,17,1,1,1,6,2,5,16,1,8,6,12,1,17,9,5,7,12,18,6,9,6,6,11,10,13,17,2,16,13}

    Returns: "LL??LCLC?L??C??C???????L?CC??LL???C????CC?LC??C?CLCC??C?L?C??L??LC?L??L??L?L?LCC???C??L?LLL"

  51. {"#..#..#","##.##.#","......#",".##.#.#","...##.#","#......","..##.#.",".......",".......","##...#.","...#...","...#..#","###.#..",".#...#.","....##.",".#.....",".......","##...#.","...#...",".#.....",".......","..#...#",".......",".#.....",".#.....",".#..###"}

    {4,24,16,21,1,8,1,3,19,6,12,20,23,15,18,11,8,14,23,9,5,19,12,7,17}

    {4,2,5,3,4,2,1,1,1,2,4,4,5,1,3,1,5,2,1,5,5,5,5,1,2}

    Returns: "Impossible"

  52. {"...#...#........#........##..#.#......","..#....#..................#..##...#...","....#....#....................#......#","......#.........#.....###.......####..","......#........#...................#..","#...........#.......#...#.............","......##..............##........##....","#.............#..........#............","........#.##...#...#...........#.....#","..........#....#........#....#...#....","...#...#...#...#...#.#............#...",".....#..#..#...............#..........","........##.#.................##.......",".#......##....................##...#.#",".........#....##..........#.......#...","##.......................#...........#","...............#.#...................#","#..#................##.#.......#......","#..#......................#.##......#.","#...................#.#.........#.....","........#......#..#......#.......#....",".......#....#..#........#.....#......."}

    {1,4,7,9,6,7,16,9,11,18,19,12,13,12,16,8,16,17,6,7,15,16,2,2,20,2,11,1,19,1,2,8,3,17,11,6,5,18,14,0,5,14,13,9,20,15,12,18,3,10,11,20,13,3,5,1,1,6,17,14,19,2,15,5,6,9,19,19,4,18,0,10,8,12,12,5,15,11,3,15,11,20,16,13,16,8,6,6,9,17,20,18,12,14,20,4,20,4,13,1}

    {23,1,36,29,2,14,25,26,22,36,22,16,12,18,28,13,18,17,7,25,4,13,15,21,26,30,13,28,4,1,11,33,2,5,27,10,33,35,34,5,24,26,35,3,18,28,4,8,6,34,9,1,17,20,17,17,32,4,31,23,20,9,9,11,30,17,12,13,27,2,36,31,7,31,1,30,31,5,35,21,23,29,3,1,11,22,27,20,1,32,5,16,21,7,36,14,30,36,13,12}

    Returns: "Impossible"

  53. {"......#",".......",".#.....",".......","..###..","......#","....#.#",".#.....",".......","......#","....#..","##...#.",".#.....",".....#.","#.....#",".......","#......",".......",".......",".......","...#...","..#....",".......","..#.#..",".......",".......",".#.....","...###.",".......",".....#.",".......","#.#....",".#....."}

    {6,8,11,23,12,7,23,25,16,29,27,18,2,31,8,30,16,1,18,14,20,13,26,32,9,4,21,1,3,17}

    {4,4,5,1,3,1,4,3,3,1,5,5,3,2,3,4,5,3,1,5,3,2,1,5,2,0,0,1,5,2}

    Returns: "Impossible"

  54. {"#####.#.###..#################","##.##...####.#####......######","###########..#.#...#..#.####.#",".#.####......#.......#..####.#","...####...##.######.##.###...#","###...#...###...###......#####","#.#.########....####.##...####","###...##.....#..####..#.#.#...","..##.#..#.#...#############.##",".....#.##...#.######..#.###.##","..####....#########..##...####","####...##.#.#######...#.#.####","###.......#######...###.###...","#...#.#.####.#.#.....#.###..#.","#.#.#...#..#...#.#.#.#.##.##.#",".########..###.#..##.#...####.","#########..##.....######......","##############....######.##.#.","...###########..#.######....##","##......#...#...###.#.#####.##","##.#........#.#####...#####.##","##########..#...#####...##.#.#","#####...######..##.##....#...#","#.#.###.##...#..#..##.##.#....","#...###.##.#.#.#.#...###.####.","#####...#..###......######....","##....#...#.#.#####........###","####....#####.###.####.##...##","####.#........#.##.....##.#.##","....##..##.####.#.##..###...##","#.#####.##.#....####.###...###","#.####..###.#...#..###......##","###.#.#.####..#.###.###...#.##","#..###..##.###########..###...",".#.####...#######..######...#.","#..#.#.#######...#.######.####",".###...#.#.###.#.#...####..##.","########...######.#..#####.###","###.#...#####.#######..#######","###...#.###..#########...#####","######..##..#...#.#####..#####","###.##...#.#.#.##.#..##..###.#","##.#..##.....####....##.##.#.#","##.#.###.....#.####..##......#","...#..#...##...##########.##.#","######.##.#..#...########.#.##","############..#########....###"}

    {45,30,8,11,3,7,4,33,8,13,27,1,19,40,14,35,27,17,34,22,42,19,38,36,14,6,7,32,23,29,39,44,30,6,39,20,4,23,27,42,24,9,21,17,19,8,11,6,4,42,35,2,42,31,20,28,20,29,10,15,36,26,2,25,42,24,17,35,43,41,4,3,43,27,13,14,27,29,23,31,11,26,24,14,19,12,13,45,30,32,43,24,18,41,34,0,9,9,2,22}

    {13,6,3,8,27,13,23,8,10,6,8,11,8,23,17,26,24,15,1,15,19,20,4,15,23,14,24,22,2,14,14,15,17,4,6,11,7,6,3,7,17,0,27,25,1,28,18,21,10,24,5,22,27,26,5,26,14,9,21,10,9,27,15,20,11,11,28,19,8,11,18,1,1,21,28,2,12,19,23,25,24,6,15,19,26,5,13,24,2,14,5,28,16,18,28,6,7,12,19,22}

    Returns: "Impossible"

  55. {"##....#...","##........","...#......","....#.....","#.#.##..#.","..##...#.."}

    {4,2,4,1,4,0,3,4,1}

    {2,5,8,1,5,8,8,0,4}

    Returns: "Impossible"

  56. {"##....","...#..","......","......","#.....","#.....","....#.","#..#..","...#..","#....#","......",".##...","....#.",".....#",".#.###","......","..###.","......","......","..#.#.",".#....","#..#.#"}

    {16,1,4,7,19,10,11,12,4,9,20,2,16,19,6,16,21,14,1}

    {2,3,3,2,1,2,1,4,2,5,2,0,1,4,4,4,3,1,4}

    Returns: "Impossible"

  57. {"####.#..#..","..#...#..#.",".#..#......","...##.#....","...#.....##","#....#.#.##",".........#.","....#...##.","...........","...#.......",".....#.....","...........","#..#....#..","##..##.#..#","...###...#.",".##....#.#.",".##.#......",".........#.",".#..###....","#..#...#...","...#.#.##..","#..........","...........","##..#.....#","...........","...........",".......#..#",".......##..",".....#.....",".#.........","..#...#...#","........#.#","....#.....#","..#......##","#.....###..","#.#.#.#..#.","#...#......",".........#.","....#.##...","..#.#....#.","#.#....#.#.","#....##..##","..#......##",".#.........","..#..##....","......#.#..",".#..#..#..#"}

    {40,16,20,13,23,29,6,38,29,45,3,11,40,5,2,17,7,5,24,12,35,32,23,31,44,44,33,8,16,33,35,11,42,7,21,26,42,29,11,26,41,7,20,38,13,1,21,25,15,8,18,2,28,32,39,1,35,2,27,5,45,39,24,15,18,24,28,28,20,36,10,32,23,43,10}

    {7,5,5,10,7,8,2,4,1,8,1,2,2,3,4,8,9,7,9,3,9,4,1,8,2,3,4,5,4,2,6,8,9,1,0,4,6,4,5,1,5,4,7,1,7,9,10,5,1,8,1,9,1,7,9,6,2,1,8,5,6,2,8,9,9,6,5,9,3,7,9,1,4,1,1}

    Returns: "Impossible"

  58. {"...............#.","#..#...#.........",".....#.......#...","##...........#...","......#..........",".....#......#....",".....#.#.........","#.#..............",".................","...#....#........","........#.#.....#","......#........##","................#","..........#......","..#..............","..#..............",".......#.......#.","....#............","...............#.",".#..........#....",".........#.......",".....#...#.#.....","...........#....#"}

    {14,19,20,8,17,1,7,4,5,10,1,13,15,7,9,18,21,2,12,17,10,16,8,13,15,19,9,10,18,2,16,21,3,7,19,5,6,21,5,0,13,14,11,17,1,12,12,11,14,4,21,7,2,17,1}

    {2,10,1,13,3,5,11,8,14,1,2,8,4,1,11,12,7,15,14,7,10,15,6,6,12,15,14,5,4,11,10,14,3,9,7,12,5,3,0,13,10,15,6,1,7,13,1,2,6,9,9,4,5,11,10}

    Returns: "Impossible"

  59. {"........#......#............",".....#..##..#.........#....#","............##.#....#..##...",".....#......#..#.......#...#","...............#............",".............#.......#......","......##.#...#..............","....................#.......",".#..........................","............................",".......#...........#.#...#..","..#............#..#....#....","#........#........#.........","#....#........##............","...............#...........#","...##.................#.....",".#.................#........",".......#....................",".........#...##.............","...#.....#.#........#.......","....#.....#.....#...........","#........#....#.........#...","..#......#................#.",".........#..................","#.....................#.....","##...........#.....#.......#",".#.#...#.#.......#..........","..#.........................","...................#......#.",".............#......#..##...","......#......#..............",".#..#....##..#....#.........","#......#...##...............","..............##............","..................#......#..",".............#..#....#.....#","....#...#.............##....",".......#.....#.#.........#.."}

    {19,8,23,24,1,10,19,14,7,15,31,27,33,20,3,20,2,16,6,12,8,23,30,27,4,4,10,20,37,27,34,12,7,26,28,28,1,34,19,17,24,27,36,32,15,17,31,4,17,30,30,22,26,29,23,34,15,30,25,12,11,35,5,13,22,30,12,21,8,13,34,31,6,15,4,35,4,26,27,6,21,31,18,13,28,36,16,33,20,12,1,14,6,1,16,3,8,24,1,11}

    {18,6,19,4,20,11,14,1,11,12,18,23,4,22,5,18,15,17,16,25,24,24,20,20,8,18,17,26,10,9,2,7,20,13,0,3,2,7,3,12,7,14,23,24,9,7,16,3,11,21,27,10,17,6,15,12,25,24,13,4,12,16,22,17,7,10,20,4,3,26,4,9,3,8,10,19,21,5,21,25,0,1,2,5,26,7,21,20,21,11,12,24,17,18,19,26,7,22,26,15}

    Returns: "Impossible"

  60. {".........#.......","#..#.............",".................","...#.#...#.#.....","............#....",".................",".........#.......","...#..##....#....",".#........#.....#","...#...#.........","##..........#....",".................",".#.........#.....",".#.....#...##....","....#............","....#........#...",".................","...........#...##","#.........#......",".................","#.......#........","........##...#...","..#......#...#.#.",".......#.........","...##.......#..#.","...#...#.....#..."}

    {16,5,0,5,24,23,15,6,6,12,8,18,9,20,9,0,19,10,14,14,17,20,9,4,20,12,25,22,19,22,7,21,13,5,7,18,4,3,7,1,14,17,2,13,11,11,10,21,17,17,12,13,1,21,20,3,20,24,1,24,7,24,10,1,3}

    {2,12,11,6,12,7,13,3,15,13,1,4,9,7,5,7,14,4,15,6,8,10,3,0,0,3,1,3,4,15,12,2,12,9,14,13,8,14,7,3,9,10,14,8,14,6,15,6,1,5,9,1,2,11,15,11,13,6,6,9,2,15,12,15,3}

    Returns: "Impossible"

  61. {"...............#...#......","...........#.#............","........#...........#.....","...........#..............","..........................","...#...#.....#............","......##...##.#....#.....#","....#.......#....##.......","...#......###...#....#...#"}

    {5,1,1,3,1,3,2,7,6,7,7,1,3,6,3,8,3,6,6,0,7,1,4,7,4,3,3,6,3,7,1,3,1}

    {11,2,25,11,14,6,19,18,15,4,8,8,2,19,22,6,14,11,22,5,23,22,9,2,23,20,1,1,16,14,11,4,15}

    Returns: "Impossible"

  62. {"....#....#######....#...#",".......#####.#...####.#.#","#####.....##......###...#",".#....#.#..#.......###.#.","##.....#..##.#.##.#..#.#.","#.....###.#...##..##.#...","#..#.....#..#.#...#..#...","..##...##....#....#######","###.#.###.#.......##.####","##..............#....#..#",".##..#.#...##..###....#.#",".#..............###.#....","..#.#.#.##....#...#...#..",".#.##..####.#...#..##.###","...####.##......##.#####.",".##..#........##....####.","#.#.#....#..#..##...###..","#...........##...#....#.#","..#.#.###.#..#.#....#....","....#...#..#.##..#.......",".#...##.###..##..#...#.#.","#.....#.##...#........#..","#..#.##.##..#.#.....#.##.","...#..####....##.#......#",".#.......#..#.......#...#","###......#....#.....#...#","..#.#.#.#..###..##....###","....###.###.####..###.##.","...####..#.#...###...#..#","####....#.#......#.#.##..","##.##...#......#........#","#....#..#......##..##.###","#...####....#..#..#...###","#...###.........#.##..#.#","..##.#.....#.#.#....####.",".#..#...###.##.#.##....##","..#.....###....#....##...",".#.#....#.##.####...#....",".#...#........#....##.#..","##............#...#.##..#","...##.#.#####.....#......",".#....#....######........",".#.#.###..##...#........#","##...###...###.###......#",".#...##.....#######......"}

    {20,18,24,19,34,35,8,16,3,27,13,43,35,25,1,4,43,41,40,4,15,6,29,37,42,24,11,21,26,38,30,20,9,4,11,31,1,20,29,9,40,18,43,24,36,1,31,41,6,29,18,12,42,35,20,24,17,39,38,9,3,37,39,25,20,5,10,25,14,35,22,39,13,32,16,22,12,7,16,10,32,10,24,30,1,31,27,1,0,10,15,4,33,42,8,23,17,16,34,38}

    {21,15,12,11,13,18,8,2,8,1,14,3,4,4,13,23,9,18,8,13,6,5,13,11,10,7,11,15,2,3,13,1,16,16,20,16,22,2,22,13,23,6,22,17,23,7,10,1,12,19,10,6,20,6,18,1,24,14,10,19,6,17,24,20,23,19,5,14,17,1,11,16,1,2,20,5,14,16,12,12,10,2,22,6,1,20,8,17,4,22,11,4,9,3,10,19,17,7,21,5}

    Returns: "Impossible"

  63. {"#.......###.##...#.......#.........",".....#.....#....#..#.#.#.#.........",".......#.............#...##.......#",".......#...#............#....#.#..#",".#...#.......#..#..#...............",".#.........#..............##.......",".#...#.#....#.................#...#",".......#...#####.##.......#........","......#.......#.............#.#....","##...#.#.........#...............#.","...#......#..#..#..#...............","..#......#...............#......#..",".....#.......#............##.......","......#........##.#..............#.",".........#.....#..............#....","....#..##.#...............#........","#..#............#............#...##"}

    {8,7,9,12,14,11,1,15,11,1,10,4,1,6,12,15,2,13,5,14,9,15,3,15,5,7,4,13,4,13,15,9,8,7,9,11,1,14,4,8,14,3,3,1,2,4,1,6,16,10,1,15,7,10,1,3,10,7,15,6,4,11,11,4,7,5,2,14,12,4,11,8,14,2,12,13,14,8,6,10,15,10,9,14}

    {30,26,5,9,4,25,16,1,29,5,19,19,23,29,13,13,13,21,3,16,7,10,28,31,10,15,33,33,24,8,23,33,2,22,12,2,32,27,15,9,24,7,31,21,8,13,19,7,19,27,1,11,1,21,27,11,16,18,5,30,1,1,32,18,3,14,31,28,12,21,16,33,22,4,5,18,30,25,21,22,26,13,26,1}

    Returns: "Impossible"

  64. {"....#.......",".#..#.#..##.","......#..#.#",".#..#.......","............","........#.#.","....##..##.#","...##.....##","........#...",".#........#.",".....##...#.",".#.........."}

    {1,6,3,2,8,10,10,6,1,5,10,9,1,3,5,9,2,1,4,6,11,9}

    {1,2,4,11,5,10,7,8,6,8,5,10,2,1,10,1,8,9,5,1,1,4}

    Returns: "Impossible"

  65. {".....###...........######.....#..#....##....","#..#.#...#..##.#.#.#.....#.#...........#.##.","..#....#..#............#..........#.#..#....",".#.......#....###.#........##.#.#.##......##","....###.....#..#....#.###.###..#....#.###...","...#..#......#....##..............#....#....",".#....#...###...#.###........#......#..#...#","#.#.#.......##......#..#...#....##.....#...#","....#..#.....................#.###.###.#....","#.....####....##.....##.#...#..#.........##.",".....#.......#.#.#.##..#.....#.##...........",".#.#..#..##........##........#.###...#.....#",".............##.#........###.#..#..#...###.#","........####.....#.....#....#.#...........#.",".#...#...#...#......#.##.#.#.##.##....##.#..","###........######.............#..####....###"}

    {8,14,11,4,5,13,6,8,7,14,1,7,13,3,1,14,2,3,10,7,5,9,5,11,5,8,14,8,2,1,11,14,14,2,6,11,13,1,4,3,12,7,13,4,10,4,13,14,11,8,0,2,10,9,1,13,3,5,3,1,3,8,1,10,1,8,3,8,9,1,6,8,6,14,9,11,6,11,8,6,2,14,3,11,10,11,14,12,5,1,10,14,1,14,9,7,11,0,11,4}

    {15,18,10,22,34,17,37,4,23,27,36,25,11,32,12,8,25,4,17,4,13,3,33,9,42,29,1,19,36,25,37,38,22,7,16,31,4,17,9,18,14,27,35,20,40,5,15,29,6,41,33,39,26,14,9,42,1,8,9,27,12,10,42,23,41,18,30,33,37,3,36,7,1,32,42,20,30,33,11,26,21,20,16,27,13,23,39,4,41,0,36,25,15,5,0,22,1,30,41,12}

    Returns: "Impossible"

  66. {"##.###.#.###.......#.#.......#.#",".....#....#.##...#...#.#..#....#","#..#....#...##.....#.#..#......#","...#..#.##....#....#....#.#.....",".#....##....#.#.#....##..##...#.","....#.#..........#............##","..........#..#.............#....","..........##.......##...........","#....#...#.#.....##.........#...","#....#####.##....#...#.#....##.#","..##.#.#...#.....#.#.#......#..#","#...##...#.........#..........#.","...###.#..............#..#...##.","##.......#..##.......#.....##..."}

    {4,6,12,6,4,0,13,9,1,8,2,12,5,10,5,3,7,9,12,7,10,9,1,6,12,1,5,9,5,2,13,6,0,12,3,4,4,3,4,7,9,0,8,1,5,10,7,12,9,10,11,6,12,12,12,6,5,12,11,3,2,1,1,6,7,9}

    {30,27,11,13,16,29,21,23,23,17,3,7,24,26,9,6,4,9,3,30,19,5,10,21,15,13,4,15,17,21,18,8,19,5,26,12,1,17,11,20,29,7,2,2,20,17,7,30,12,28,0,24,25,10,22,29,1,14,27,29,24,16,26,14,3,25}

    Returns: "Impossible"

  67. {"#..###.#.##.##..##....##.###.#...####.##....","##.###..##.......#.#.###.#......###..#.#...#","##.......#.#..#..###...#...#.....##.##...#.#",".......#.#.##..####......##..###..###...#...",".#.#.##.....##..#.#.......#.#...#####.......","....#.#..#.....#..#...#..##.........#.#..##.","#.#..##.###....#....##...####....#.##.#.....","#.#......##.#..#.....#####..#.#.....#.#.##..",".##.##.##....###.#.##..#...##.#...#.#..#.##.",".#.#................#.###....###....#.#..#..","....#.......#..............####..#....#...#.","......#..####..#.....#......#.###.......##..","#...#..........#..........####......######.#","..#...#....##.##.#.##...#..#.#..#.#.######..","#.#...####.###.....####.##.###.......#.#.#..","......#....###..........##.....##...#..#....","..###.......##.....##.....####.##...#.##..##",".....####...##.#.#...###.####...##...#.#..##","...#####...#.#.##.#.###...#.#..##...####..##","..######.####.....###...#.......#..##....#.#","......##..##..##...##......#.##.#.#.#......#","#...#......#..#...#...###..#.#...#..#.......","....#...#.#.#..#..#...###.###....#..#....#..","..###...####......##....#..#.#....#.........","......#.....###......#.#.....#...##......#.#",".##...###....#.....###.....##.#..##.#...##..","....##.##..##....#.##..###.##.#.#.....#####.",".###..##...#......#......#....#..#....#.#..#"}

    {21,11,11,12,11,16,13,11,22,5,22,16,18,12,4,20,17,26,22,3,1,1,9,26,26,3,8,25,5,14,23,5,12,16,25,4,22,15,6,15,20,6,14,8,1,13,15,26,15,6,16,15,11,19,10,16,4,7,22,0,6,4,23,20,26,12,2,24,25,12,21,9,26,22,9,1,5,22,23,13,9,19,8,10,25,16,9,25,19,4,22,21,5,14,20,8,1,2,14,11}

    {34,9,34,26,19,41,31,15,20,8,8,15,30,8,20,41,25,23,12,4,7,39,24,35,11,25,5,8,22,37,19,41,4,1,4,28,42,9,17,16,15,30,4,34,29,11,6,38,22,4,19,34,35,34,14,35,13,12,26,14,33,38,36,37,28,22,41,32,14,23,1,1,15,16,22,32,18,6,39,15,41,9,42,38,1,29,11,25,22,1,31,4,42,42,27,27,19,11,2,18}

    Returns: "Impossible"

  68. {"...#.....#..#........#.....#.#...","...#...........#..........#..#...","........#........#......#........","............#........#.....#.....",".#.#..#.#.....#..#...........#...",".....##.#...#...#.#.....#..#...#.",".............#.......#....#......","#.#.#..#..#....#...#........#...#","#...#........##..........#..#.#..",".....#.......#.#.................",".#................#..#....#......",".....##.............#....##.....#","#.....#..#..#.#...........#......","....#...........#....#..#.......#","....#............#....#.#.#.#....","............#..##...##........#.#","#.....##.....#.......#.##.#.....#","....#.........###......##...#....",".#...#....#......#....#....##....","........#.#....#.#...#.###......."}

    {7,8,8,1,13,3,8,16,3,10,12,14,12,9,18,15,17,12,3,5,10,2,12,7,13,10,5,5,1,10,2,2,1,3,2,18,7,14,4,4,15,9,10,1,12,11,18,18,0,14,15,19,18,16,15,7,16,18,0,18,17,7,6,1,3,15,5,7,9,9,12,4,15,1,7,9,13,11,1,9,14,13,4,19,2,12,8,17,18,3,0,18,6,1,7,14}

    {7,28,21,31,24,19,17,21,27,4,11,28,20,11,29,15,28,18,3,18,1,0,23,32,4,31,24,10,29,8,24,30,15,12,17,3,12,8,14,6,30,15,15,19,12,29,12,7,9,7,12,15,19,4,1,4,17,10,21,27,24,28,24,24,31,20,1,15,24,5,1,3,9,6,2,20,16,28,1,7,24,19,29,8,10,30,25,4,31,21,12,1,21,5,10,1}

    Returns: "Impossible"

  69. {".#...#..#.....#..........#...#.##...##",".........#...#....#......###.#...#....","....##......#..###........#........##.","...#..........#.#......#..#....#...#..",".##.......#...........#......#..#..#..",".#......#....##...##......#.##....#.#.","............................##...#....","..................#.#....#.#.........#","................#.....#.#..#....#..#..","..#.#......#.#....#.#.................",".........#..#........#...........#....","...#.....##...##.###..............#...",".#...........#...............#.##.#...","..........#...........#...........#...",".##...#.......#..#..###..#.#.#......#.",".#......#.......#...##.....#...#...#..",".#.#.##.....#....#....#....#.........#",".....#..#............#...#.#.###.#....","....#...#.#...........##...#.........#","#.#.#.#....#.....#....####..#....###.#","....#.....#...#..................#.#..","..#............##....#.....##.........","....#...#.....#.#.....##.....#.##...#.",".............##...#..#..#.#...........","..#....#.....#............#....#....#.","..#.#..#......#...#....#..............",".#......#........#...#.....#..........","...#..........#..#.##...........##....","##.......#..#.#..#.##......#....#..#.#","....##.#....#..#...........#.......###","......#.#.......#..#....#....#.##.....","......#.#..#..###...............#..##.","..........#.........#.....###.........","......................#.....#.........",".##...............##......##.........#",".#........#........#...#..#.#..#......","...........#..#.......##......#..#..#.","...#..#.......#....#..............#...","..#......#.....##.......#.....#..#.#..","......#......#..#.....#.......##...#.."}

    {30,21,21,7,2,7,33,24,13,21,19,36,3,7,26,34,23,24,14,36,2,27,38,3,21,14,29,22,8,38,32,1,36,25,14,28,30,28,26,29,3,33,8,11,2,19,16,32,6,14,9,3,33,26,30,12,19,14,32,36,28,26,33,32,1,21,14,18,37,4,27,6,10,38,2,23,37,12,6,10,9,5,16,38,31,36,36,18,25,11,21,36,17,5,36,3,10,6,31,22}

    {19,1,31,0,9,18,34,28,11,6,35,1,34,12,35,13,5,11,8,34,21,23,25,19,18,32,34,34,16,30,11,16,16,20,17,12,24,31,25,3,1,31,22,3,36,18,23,30,11,18,30,8,16,5,27,26,2,4,24,4,9,1,10,6,20,25,1,12,18,5,15,4,35,20,12,12,7,22,5,29,7,18,1,36,4,21,11,30,33,17,24,24,21,22,8,25,25,31,1,10}

    Returns: "???C?C????L?C??????L??L???????LC??C??????????????L????????????L???L??????????????L?C???C??C?C???????"

  70. {"..#....#....#...##.#..##.#.#####..#......#.#",".#..#.....##....#..#.#.#.....#...###..#..#..","..........#....###..##...#.#......#....##.#.","#...##.#.#.#...#.....#..####.###....#...####",".#.##......######....#....#...#.#....###..##","....##....#.#..#...#.#...#...........##...##","..#.#.....##.#.....#..........#.#.##...#.#..","....#.#....##.##.#.#..#.#..#.#...#.#..#..#..","..##.#....#.#....#..................#...##..","##.##.....##..........#.......#.....#.......",".#..###...........#..#.#......#.....#......#","............###...#..#............#..#....#.","...#..#.##...##...#....##.#......#..#.....##","#...##...#......##......#..#..........###...",".#..#..#..#..##.#....#....#.......##.#......","###...#...#.#..#.#......#.......#...#..##...","##...........#.............#....#.#.........","..#...#.##.....#.#....###..#.....####....#..",".#...##...#..##.##...#.#..#......#.#.......#","......#..###...#.........#.#.......#.......#","..........#.......#....#.....#....#.#......#","#..###.....#.....#....##.......#.#....#..#..",".#....#..#........#.#..#......#....###...#..","...##..##.#...#.......#......###....#..###.#",".....#.....#..###..#.....#.###.##.....#.#.#.","....#.#...#.###.....#....#.##..#..........##","..#..#.#........#.###.##...####..#......#...","..#...##..#...#...###...#........####.#.....",".....#.......##...........#.....#.##....#...",".#....##...#.#......#....#...##.......#.#...","...........##....###...#......#..#.....##...","###.........####..#....#..#...#.#......#....","#..........#.....#.......#.##..###.#........",".#......#.#.#........#..#...................","..........##.....#.#.#...#..#...#...........",".#....##...#....#....####.#.####.#..#.#.....",".............#...#..#.#.#.###.##.##......#..","...#...#..#...##....##.#...#.#.#......##..##","##.#...#.#.#..##.....#.#..#...##.##....###..","...........#.##......#......#..##...##......",".##......#...#......#....#..#......#...#....",".#..####...#.........#..#......#............","...#....#.#...##..###..#..........#........#","##......#...........#...##...#.#.##...#.....","..#.#.....###.#..#.............#...###.#....","..#.#####.....#.....##...##.......##..#..#.#",".#....#..##.#.......##...#....##.#.##..#....",".##.#....#.#..........###.##.#..........###.","#.###..##....#..#####.#.###...##.....#...#.."}

    {8,45,40,9,4,26,24,14,6,7,22,21,35,18,5,4,41,12,48,20,31,39,46,29,36,17,20,30,40,20,29,42,29,1,31,30,2,34,11,32,13,20,32,29,29,40,13,7,38,44,26,3,23,12,27,27,15,29,35,35,28,15,17,37,12,31,9,9,1,38,10,21,46,26,11,19,35,10,9,34,14,1,14,17,19,17,9,20,34,25,19,7,43,25,7,16,42,28,43,8}

    {32,23,39,28,7,40,22,34,27,8,27,11,4,13,21,1,11,6,34,41,37,4,16,27,17,40,13,33,22,38,37,36,17,23,23,42,13,14,1,5,40,22,42,9,1,9,29,15,25,17,16,2,3,36,10,42,22,14,8,40,26,30,37,36,28,9,19,14,5,3,16,16,12,31,34,2,42,3,7,34,2,33,18,18,27,3,39,18,19,38,31,29,8,8,24,21,27,22,20,42}

    Returns: "?????????????L????C???????C?C?????????L??L?????????C?C???L???????????????LC??L??LCC?????????????????"

  71. {"................","................","................","................","................","................","................","................","................","........#.......","................","................","................","................","................","................",".......#........","................",".............#..","................","........#.......","..........#.....","................","................","................","................","................","................",".............#..","................","................","................","............#...","................","................","................","................","................","................","................"}

    {28,34,8,22,32,26,10,38,13,35,20,11,29,28,19,24,3,7,38,11,34,30,38,32,30,12,21,15,12,35,28,1,15,27,18,4,35,21,6,31,19,2,4,16,6,1,16,5,12,25,9,15,24,21,12,22,1,2,6,38,27,18,14,33,33,21,7,25,37,38,28,8,31,24,19,11,10,35,36,25,3,4,20,29,39,31,15,7,15,24,34,1,9,38,37,18}

    {8,7,3,6,4,2,5,14,5,2,3,14,10,13,12,11,2,6,3,3,5,1,8,11,14,9,7,8,2,12,5,10,13,5,10,13,11,13,4,7,5,5,1,5,12,1,14,8,13,8,11,3,14,1,10,13,13,7,9,11,1,0,5,14,1,10,14,5,5,6,11,2,8,8,4,8,14,8,1,13,5,11,14,2,1,1,11,1,0,2,13,11,10,9,14,7}

    Returns: "???L??????L???CC??????C??????????????C??????????L????????????C?L????LL???C?L??????LLC??LC?L?C??C"

  72. {"#.##.####.....####.########...###.##.","####.####.#.#.#####.##.####..##...###","####...##..#..###...#.........#.#.###","#.##..##..####.####.##...######..#.##","###...##..#....#.##.#####.#####....#.","#.........#.#..#######.###.#.##...###","##.#.##.#...##.###.###.#....####..#.#","######..###.########...#.#.#.##.#####","...#######..##.#.##.##.###.###..#####","######.####..##.###..#...###.#.####.#","#####..#.#..##.####..#.#.#####......#",".###.#...#.#.....##..##..##...#..#...","######..#.....##.###.##.###....###..#","#.#.###.#.#...#..#######.####.#.#.#.#","#...##..##.#..###..#####.#...#.######","##....####.##.###.#.##...#.#####...##","##.#.##.......###.#..#.....##..#.####","####.#..#.###....#.###.#.##.###..####","#..#.#....#...######.######.########.",".#........#.######.####...#.##.#..###",".####.#...#.##.#.###.##...####.##....","#......##.######.##..##..#.#.#.#..#.#","##.##.#..##.##...###..#.####...###..#","##....#######.#...##.....#.##..#...#.","###.#########.#.#..#.##.####.####.###","#..##....##...#.#.##.#..###...#.#...#","..####.#.##...###.....#.....#.#....##","#.####.....##.##.#........#.#.##.#.##","##.##.##...#..###..##.##....######.##","##..###.##.##########.#.#...#...#####","##....#.##.###.######.#.#...###..#..#","####...####.###....####.#...##..##.##","###...#####..###...##...#.#.#.#.####.","..#.#..##.####...######.###.##.##..##","......##########..##..#....###.......","#####....#######.##..####.#####....#.",".###.#######.#..###.###...######.###.","#####...#..#...####..######..####..##","#####.#.##....###.##.######.#.##...##","..##.#######.####.#..###..#...###.#.#",".#.....#####.####.##.###..##.#...###.",".....#..####..#####..####....##...###","##...#....###.#.###...#########...###","...##..#.###..#####..###...#.########","...###.#########.#....###.#.##....###","###########.###.#.........###.##..###","##.######.#.#.#.##.#....#...#####..#.","######..#.......#####.###....##.#...."}

    {13,43,32,22,15,1,10,1,31,12,24,37,12,4,15,24,9,46,3,21,46,46,15,34,36,41,40,19,2,26,34,11,10,16,6,38,21,5,16,6,38,35,21,25,3,36,22,44,39,40,41,30,1,20,5,12,21,4,35,22,26,13,34,17,43,35,4,19,46,19,11,7,43,18,27,46,16,26,9,22,1,31,26,27,42,29,30,40,46,10,20,1,26,45,3,14,27,24,32,33}

    {6,7,26,21,25,10,23,26,22,28,16,33,15,32,11,12,10,10,18,34,14,35,18,34,20,32,1,12,32,22,15,35,20,3,6,6,8,10,14,21,28,35,29,18,23,13,24,24,11,19,3,30,12,32,13,12,15,5,31,3,7,2,6,8,1,24,9,7,22,24,11,25,19,3,33,26,33,9,31,4,5,3,19,12,12,9,26,26,19,7,6,29,28,32,33,23,26,34,17,2}

    Returns: "Impossible"

  73. {"..#............","...............","...............","...............","#..............","#......#.......","..#......#.....","...............","..............#","..........#....","......#........","...........#...","...#...........","........#......"}

    {6,5,6,12,9,4}

    {11,7,2,13,9,5}

    Returns: "??????"

  74. {"#.#.#....##.#.......#..#.#...##.###.#...##.#..","..#.#.....##.###..#..#...#....#....#....#.....",".....#...#..#..#..#......#..###..........#....","#...#..#...#.#......#.###..#..#.#..#....#.##..",".................#..........#.....#..#.##...#.",".###..#....#.....#.#####..#........#.....#....","..##...#.....###....#...##...##.#..##.#.#.#...","..#..#...#...#...#.#....#..#.....##.....#...#.","...###.#..#...#.......##..#.#.#......#....##..","...#.....####.#..#.#..#.#......#..######...##.","#...#.........#.......#.....#......##.....##.#","...#.............###..............##..#.....#.","......#...#..#...........#.#....####.....#.##.","###...#....#................#....#..#.#..#..#.","..#.#..#.#...#...##.####....##...#...##..#..#.","####.........#.#.##...#.#..##..#...#.#.....#..",".#..#....#............###...........#.###..#..",".#.............##...#####..#...####.#.#......#",".....##......#..#.#.#..#........#.......#.#.#.","...#.###....##....###.....#..#...#.#.#......#.","##..........#.#.....#....###.#..##....#.....##","#....#....#...#.....#..###........#....##.#...",".##.......##.........##.##....#..#....##.#....","#.....#....##....#.......#...#....#.#..##...#.","#....#..........#.#..#...#...#....#....####.#.","..###.##.#..#..#....#..#.............#.##...#.","#...##......#..###....#..##.......###....#..##","#.##.....####...#.....#.....####.......#....#.","...#....#....#.#...#..#..#.#.....#....###...#.","....##.#.##........#...#...#....#.###.#..##.##","..#....#.#.#.....##........#....##.#.##......#","##...##..#..#..#...###.##...#....##......#....","#.##..###.....#.............##.###...#....#.#.",".#.#..........##..##.#...#...#.#.#.#.##.#.#.##","#..........#...##....#.....#.##.#.#..#........","....#....#.............#.#.#...#.#..#.......#.",".#.....#..#.##.##......##.#.....#.....#..#...."}

    {19,4,7,0,13,35,19,5,28,14,22,11,6,27,23,17,35,25,32,24,24,32,35,36,11,27,5,11,2,34,5,3,34,22,27,1,16,6,10,1,10,14,11,7,28,2,23,11,8,20,22,22,35,35,21}

    {25,28,27,6,39,6,16,11,19,25,20,15,30,6,8,10,44,9,27,31,2,23,40,1,1,2,5,4,9,21,10,32,18,28,20,39,6,38,25,20,7,18,24,17,25,27,17,30,7,32,44,38,36,9,35}

    Returns: "L?CC??????L????????????C???L???????????L?L???LC????C???"

  75. {"...........................................","........................#.........#........",".........................................#.",".....#...........#.........................","...........................................","..........................#................","...........................................","...........................................","...........................................","...........................................",".#.........................................",".........................#.................","...........................................","...........................................","...........................................","#...............................#.#........"}

    {4,5,6,11,5,9,2,4,2,10,12,5,15,5,1,1,11,4,1,10,7,6,9,1,12,10,11,3,6,3,14,14,1,10,13,6,12,10,13,8,7,11,11,14,8,8,14,3,10,14,13,3,1,7,12,4,14,4,7,12,6,5,14,14,14,9}

    {35,41,29,25,30,23,18,29,39,35,27,15,32,2,13,41,6,9,6,32,26,21,7,9,39,19,41,36,9,26,30,10,32,29,1,18,10,20,17,13,33,12,2,35,38,1,20,32,13,15,21,22,15,17,18,12,26,1,5,36,23,12,4,6,25,39}

    Returns: "????????????C?????????????????????????L???????????????????????????"

  76. {"###.#######.#.##.#####.#########.#.######","#.#.##.###.#..####.#######..#######.#####","#...###.##...#.####....####...####.###.##","#.#...####.######..#.#####..####.########","#...#.##.#########.#.####.#.########.####","#.###.#...######...#############..#######",".######.###.#...#########.#######.#.#..##",".#.####.##########.###..#.###..#......###","######.##.#####.#.#####...####.##########","#..#..#...##...#########...##..###.######","##.##....#..##.#########.#..#####.#######","#...####...###.#########.###.##.#######.#","#.#####################.####.############","#...#.##..########...########..###.#.##.#","##.#.###.#.##.####.##.##.####..###....#..","####.##.....######.##########..###.#.#..#","##......###.##.#####.###.######.#.##.....","#####.#.##..###########.#######.....###.#",".###.#.########.#.############.#...###.##","###.........####.#############.#...######","##.##.##.##.####...######..##############","##.#.##..##.#################.#####..####","...#.##.##.#####.#######.################","#..##########.#.#########..##.#####...###",".###...#####.####.##########.#####..#.###",".###...#########..#..#...##.#.###########","######..######..#.#..###.##.#.###########","###.###.########..#....#.#######.###.####","##.#....##############.###..##########.##","##################.#...##.###.####.######"}

    {8,1,26,27,12,20,6,9,18,21,3,6,1,14,24,3,14,4,26,20,15,15,16,7,6,16,10,10,15,26,18,4,28,24,13,14,17,10}

    {29,11,23,6,2,10,8,6,33,1,21,36,2,9,5,28,30,4,16,7,3,37,32,24,32,10,13,25,40,19,5,17,21,36,35,19,6,9}

    Returns: "CCL??LLC?LLC?CCLC?CCLCC?CCL?CCC??CCLC?"

  77. {"#..#####...###.####.....##############.","#.#.####.#.###.####.#.###########...##.","#...###..#.###....#...##.#........#....","#....#.....#..###.#..###.#.....#.######","..##..........#...#.###.###...######...","#.######..##..###...###.........####.#.","...############..#......#..#...##...###","##...#####...##.#..#.###........#.#.###","....#..###.#......##.#######....#.#....","###...##.#.#.#.##..######.##..#.#.#.#..","#...#..#.#..##.##########.##.#..#......","##..........##.####...#.......########.","##..##..##..........#.#...#.#######..##","..........#######.#######...####...#.##","#.###.##......###.###.#.#.####...#...##","..#...##..#.#...#####...####..##.#.####","#####.....##.##....#####..##.###.###...","####....#...##.....#.###.###..##..#.#..",".#.#.#..#########..#.###...####........","...###.#.....###.....#####.#...#....###","#...#####..#.#.#.#######...#.....#.#..#","#.##.###..####...#######.#.#.#.##.#.#.#","#.##.####..##...#.######....#..##.....#",".###...###.##.#...##.#.#.#....#.#######",".##...###............#...##.###.#######","....#.#####.##...###...###..###...#####"}

    {13,12,19,12,17,7,25,18,4,12,12,14,5,1,2,12,22,9,13,1,18,21,21,23,2,3,18,24,17,10,23,18,3,16,17,3,3,9,8,17,4,16,1,18,8,11,14,6,8,7,11,20,24,10,15,9,24,20,16,20,19,9,2,15,11,7,9,15,21,4,7,1,9,23,13,14,23,3,10,4,21,3,5,5,14,23,17,24,7,21,1,6,1,6,24,20}

    {35,26,31,20,6,16,4,1,18,8,5,22,37,37,25,3,5,34,16,9,5,25,36,18,34,28,16,32,17,29,9,19,8,29,36,31,11,37,4,25,8,14,22,34,18,13,33,24,11,19,2,11,28,24,12,36,1,15,10,8,25,13,2,9,10,34,30,31,29,28,1,20,6,14,24,4,12,16,9,12,34,5,22,0,0,23,37,15,28,2,15,27,2,31,21,29}

    Returns: "Impossible"

  78. {"........#...#.......","......#.#...#......#",".#...............#..","...#...............#","#.#.................",".....#..........#...","#...#....#.....##.#.",".#..............##..",".#....#...#.........",".....#......#.......","##..................","..................#.","......#......#.##...",".........#..........","#........#..........","...........#..#...##",".......#............",".....#......#.....#.",".......#....#.......",".....#......#..#....","..#.................","..........#....#..#.","....#...#..........."}

    {8,19,14,10,18,7,12,4,1,3,1,19,19,1,6,12,8,22,4,21,14,9,7,6,20,15,13,4,15,4,10,3,19,13,9,16,13,16,21,18,6,13,19,2,1,8,17,21,17,4,12,21,6,14,3,8,21,0,16,1,10,1,17,12,15,10,21,12,19,4}

    {19,18,3,13,7,8,6,17,12,9,6,10,5,15,3,10,15,4,12,15,16,2,11,18,2,6,18,8,11,0,16,4,15,17,5,3,2,0,13,14,5,9,9,3,1,1,9,10,18,14,13,18,9,6,7,14,7,16,10,19,7,10,17,1,14,10,1,3,2,11}

    Returns: "Impossible"

  79. {"#.....","......","....#.","......","#.....","......","......","......","......","#.....","#.....","......","..#...",".....#","......","..#...","......","......","......","..#...","......"}

    {19,19,1,6,15,10,4,2,12,7,18,13,7,8,16,11,3}

    {2,5,2,4,2,3,2,4,1,1,1,5,4,1,4,2,3}

    Returns: "?C?C??L?L??C?C?L?"

  80. {"...................................","...................................","...................................","...................................","...................................",".....#.............................","....#...........#.......#..........","...................................","...................................","...........#.......................","...................................","...................................",".............................#.....","..............#...#................","...................................","..........#........................","...................................","...................................","........#....................#.....","...................................","...................................","...................................",".....#.....#.......................","..#................................","...................................","...................................",".........#.........................",".............#..#..................","...................................","...................................","...................................","..............#....................","..................................#","...................................","...............................#...","...................................","...................................","...................#...............","...............#...................","...................................","..................................."}

    {17,24,27,15,14,1,9,5,20,7,3,2,22,18,28,15,37,15,1,38,10,4,24,30,21,28,24,13,2,38,33,3,37,7,8,6,0,36,25,13,20,11,24,9,23,19,33,5,33,38,5}

    {5,6,28,32,20,3,16,13,5,21,19,12,22,11,4,26,1,15,31,27,19,22,15,11,23,22,25,25,7,9,28,27,17,2,4,7,23,9,11,31,31,12,22,33,27,19,5,16,11,24,30}

    Returns: "????????????????????????????????????C??????????????"

  81. {"............#...#..............","..............#...#.#..#.....#.","..................#.......#....","..........#.......#............",".#.#.#.....................#..#","...#..............#....##......","#.#.........#......###....#....","....#......#....#.#.......##...","...#..............#..........#.","......#.#..#.........#..#....##","..#...#.........#..#..........."}

    {1,1,6,3,4,4,9,8,9,9,3,6,1,7,8,2,4,0,1,9,4,9,2,7,3,8,1,4,4,5,9,5,7,6,6,2,1,5,7,9,10,1,8,1,7,4,1,9,2,5,1}

    {23,8,15,6,27,5,13,3,24,21,1,29,18,11,8,26,12,12,29,29,1,26,17,16,23,20,1,9,19,23,8,18,26,2,12,5,14,8,13,0,16,11,23,20,5,22,4,4,29,28,26}

    Returns: "??CCC?CCC??LLC??CC?L?CC???C?C???LCLL?LCCCLLCL?LL?L?"

  82. {".............#","....#.........",".##.#..#....#.","..............","##............","#.....##.#.##.",".......#.#..#.","..#..##.......","...#.##.###...","#...#......##.","#.#.#.##.#....","......#......#","##.#....#...##",".#.#...##.#.##"}

    {4,4,1,5,1,6,8,6,7,10,11,10,1,2,12,1,13,7,10,4,4,2,9,12,7,2}

    {6,1,11,9,2,9,6,12,5,2,6,11,5,12,1,8,10,1,8,4,12,1,12,5,2,9}

    Returns: "Impossible"

  83. {"....#......","#..........","....#......","...#.......","#..........","#.#...#....","...........","...........","....#......","#..#..#....",".......#.#.","...##.....#",".#........#","...........","...#.......","...........",".....#.....","..#......#.","#..........","......#....","....#.....#","...........","....#......","...........","..........#","....#......","#..#....#..",".#.##......","...........",".....#.#...","..#......#.","...........","...........","..........#","...........",".#........#","..........."}

    {3,4,13,33,29,34,27,19,14,32,14,20,7,8,9,14,0,33,17,5,28,3,20,5,7,27,17,11,29,13,35,24,7,25,20,12,17,30,35,23,24,4,26,10,12,7,27,1,22,18,22,22,1,15,35,32,35,2,31,18,8,16}

    {1,9,7,10,7,7,4,1,9,4,2,7,5,4,3,4,2,2,7,8,1,5,8,2,9,1,4,6,4,3,6,10,0,4,4,1,9,9,8,9,1,5,6,9,6,3,9,10,1,0,6,2,7,1,1,1,3,6,7,4,8,7}

    Returns: "C?LC?LCL???CLLC?C???LC?C?CCCLL?CCC?L???L?CC?CC?C?CCCL????L????"

  84. {"#####.###...#....#","......#.......#...","##..#......#.#....",".....#....##......",".#.....##.........","...#......##.#.##.","....#.###.#....#..","..#.......#....#..","..#....#.##.......","......###.....#...",".#.......#........","....#..#.#........","...##...#.........","#......#...#.....#","..##.......#..#...","#.....#...#.#.....",".....#.#.......#..",".........##...####","#........#....#...","#.....#......#....","..#....#.......#.#","#...##.#.##.##...#","#.........#....#..","#.#.#.#.#....#..#.","..##..#...........",".#.....###......##","...#..#...##......","##.#....#.....#.#.","##...##########..."}

    {7,1,7,2,24,15,5,1,27,5,12,16,23,19,5,15,18,11,1,3,8,23,19,4,26,26,27,12,14,16,2,19,6,20,11,27,17,24,23,9,2,13,23,9,13,19,18,25,11,5,8,21,9,19,0,27,17,2,23,26,5,23,12,11,16,6,8,15,10,20,8,16,11,14,19,2}

    {0,15,15,1,11,6,16,6,14,5,16,15,4,9,11,12,2,7,14,10,10,8,6,1,11,3,3,3,5,12,7,13,4,2,12,8,9,14,16,14,4,9,11,3,0,16,8,1,6,13,7,7,4,12,10,16,1,13,13,6,3,2,13,16,5,8,16,16,1,15,13,2,11,9,3,16}

    Returns: "CLLLCCL??CCCCLCCLCCCL?CCL??CLL?CLCCCLLCLCCCCCCLCLCCCCLC?CLCCCCLCCLLLCLLLCCLL"

  85. {".......#####.....",".............#...",".....#.......#.#.","...........#...##","..#.......#...#.#","...#.......#.....","...#......#......","....##..#........",".................",".....#..#........","#....##.........#","#.....#...#......","#.......#..#....#","#.#...#..#..#....","......#..#..#..##","#...#..........#.",".##....#.........",".#........##.....","##.........#...##"}

    {8,8,14,16,9,1,5,5,12,9,14,3,10,2,15,2,14,17,7,5,17,14,7,13,8,4,13,2,4,11,1,17,17,1,10,11,4,8,1,7}

    {9,3,6,15,13,8,5,1,4,3,12,2,8,5,9,13,2,7,8,11,3,15,5,14,12,14,4,11,6,11,5,4,13,15,16,2,8,1,1,15}

    Returns: "CC???CL??CL????????CCLCL?C???L????CCCC??"

  86. {".#.................","...................",".................#.","..........#........","...#.....#.........","...................","..................#","#.............#....","...................","..........#........","...................",".......#...........","#.....#............","...................","..............#....",".............#.....","....#..............","...................","...................","...................","..#.....#....#.....","...................","...................","...................","...#...............",".......#...........",".........#.........","...................",".............#.....","..............#....","....#..............","...........#.......","..................."}

    {5,25,11,2,15,22,28,21,30,27,6,25,14,2,16,6,31,14,10,10,4,20,2,9,3,6,22,26,9,31,8,15,18,22,11,27,30,20,31,5,18,1,26,23,17,30,9,12,14,30,13,22,12,1,20,25,19,30,27,29,3,16,20,17,25,20,4,17,5,12,8,29,4}

    {16,12,9,11,12,1,1,7,4,6,10,1,5,6,2,12,1,16,3,5,7,13,15,15,2,2,15,12,1,11,8,17,16,11,16,16,9,0,14,4,7,12,9,18,6,1,12,13,8,13,2,6,4,9,10,5,15,17,11,8,12,11,3,14,15,8,17,0,7,12,5,5,1}

    Returns: "?????????C???????????????????????????C?C?L?C???????L??????LL???????C?????"

  87. {"........","........","...#..#.",".......#",".......#","...#....","...#..#.","........","........","........","........",".......#"}

    {2,9,5,2,5,8,9,7,9,1,1,4,4}

    {3,1,5,6,1,3,6,6,2,0,3,5,1}

    Returns: "??CC?LC??C???"

  88. {".....#............##.....#......",".............##...........#.....","....#..........................#","..............................#.",".....#.#...........#........#...","...........#.#..................",".#...........#.#.#.....#.....#..","...........................#....","......#.........#....#.....#....",".........#........#.............",".##...........#........#........","....#......#................###."}

    {8,2,9,6,8,5,10,10,2,3,9,4,10,7,10,6,6,9,4,3,3,8,1,1,1,6,7,5,9,6,10,8,5,3,6,6,8,1,4,10,1,3,1,5,10,1,1,10,2,3,8,1,10,3,7}

    {16,7,18,5,27,4,6,23,24,18,9,28,22,24,9,26,17,30,24,11,1,10,16,29,1,29,1,8,3,23,13,21,20,21,1,8,13,3,15,17,10,14,13,11,1,21,28,26,4,27,6,7,19,17,30}

    Returns: "??????C?CC???C?C??C??LC????CC??????C??????L???C??C?????"

  89. {".#","#.","..","..","..",".#","#.",".."}

    {2,6}

    {0,0}

    Returns: "Impossible"

  90. {".#.....#.......................","..................#..........#.","...............................",".....#................#...#...."}

    {2,1,1,1,2,2,1,2,1,2,3,2,0,1,1,2,1}

    {21,29,15,28,13,8,9,0,5,23,3,18,3,18,12,14,25}

    Returns: "??L????CC?C?C?L??"

  91. {".........","#........","......#..",".#...#...",".....#...",".........",".........",".........",".......##",".......##",".....#...",".......##"}

    {7,10,8,9,4,4,3,5,8,1,10,1,1,4,1}

    {2,4,6,7,4,1,3,6,1,6,2,0,7,7,3}

    Returns: "Impossible"

  92. {".#############...#############.#######.#.","#####.#####.##.#.####..#########...##..##","#######.#.###...####.#######.#..#..###.#.","#############.#..#.#####.#..#####..###...","##########.###.##.##.#######...########.#","#############.###.#....#####...######.###","#######..#######..##.###########.########","###########.###.#....###########.#.######","..########.###..####################.#.##",".#.#...#######.#####.####.#######.##.####","...#.#.###.###..##.######.##.########.###","###############.##.###.#.############.###",".##########.#######.##.....##.#######.##.","########....####.########.#####.##.######","#####.####....####.##########..#########.","##.####.#..##############...#####.#######","##.#####################..#.#####.#######","#####.##.#######..####.#.###.##.#######..","#...#.####.##########.....####.##...#.###","#.#.####.#########.######...#####.#....##","#.####..######.############.#####.##.#.##","#.#.###.##################..######.######","...###..######.#####.####################",".#.####.########.##..#.###############.##",".##....#####..#.###....##################","####.#.######...############.###..######.","###.#.####.#..###..##.####...####..###..#","##....###.#.#.##########.#..#.###.##.#.##","###############.######...#.###..######..#","#####.##.########.####.#######.#####..###","#.##################.#.##############.#.#","######.##.#.##.#########.#.#########..###","###########.############.###..###.#.....#","##.######.....#####.#..##.#.#...##.#.#.##","####..##.##.######.######.....#.########.","#...###.######..##.#####..####..#########","###.######....#############.#########.###","###.####.##.#.#######.#.###.##.#.########"}

    {20,9,27,27,30,2,1,14,19,34,4,25,16,33,11,3,10,6,29,19,6,13,23,25,26,37,9,21,33,17,2,20,33,23,36,32}

    {26,1,27,39,36,33,15,9,34,30,29,12,26,37,23,14,5,18,23,2,21,12,21,5,4,12,15,6,26,23,39,37,28,1,2,10}

    Returns: "??LCC?C??CCCCCCCCLL?LL?CCCCCC??CC?LL"


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: