Statistics

Problem Statement for "Balance"

Problem Statement

There is an infinite grid of cells. Each cell is either black or white.

A component is a maximal 4-connected set of cells which are all the same color. (See the Notes for the definition of a 4-connected set.) Note that by this definition, each cell belongs to exactly one component.

The entire grid is currently white, except for one square region of cells in the grid.
You are given a String[] initial that specifies the current colors of cells in this region.
You want to change the colors of some cells in this region.
You are given a String[] target that specifies the desired colors of cells in this region.

Each character of initial and target represents a 10000 by 10000 square of cells, all of the same color.
If the squares of the region are numbered starting from (0, 0), then square (i, j) is initially white if and only if initial[i/10000][j/10000] (floored integer division) is the character '#'.
Black cells are represented by the character '.'.
The target state is specified in the same way.

Additionally, the configurations of cells described by initial and target have a special property:
There are no cells of the same color which share a corner but belong to different components.
For example, the following grid is not valid because the symbol # in the middle represents a square of 10000 times 10000 white cells, and the topmost rightmost of these cells shares its upper right corner with another white cell that is not in the same component.

#####
#..##
#.#.#
#...#
#####

You may change the grid in a sequence of moves.
In each move you may flip the color of any single cell.
Note that the flipped cell may even be located outside the region.
The move is only valid if the following conditions are all satisfied:
  • The move does not change the number of white components.
  • The move does not change the number of black components.
  • The move does not violate the special property described above. (I.e., after the move, there must not be any cells of the same color which share a corner but belong to different components.)
After you finish your sequence of moves, all cells outside the region must be white again.

If it is possible to transform initial into target, return "Possible".
Otherwise, return "Impossible".
(All quotes are for clarity only.)

Definition

Class:
Balance
Method:
canTransform
Parameters:
String[], String[]
Returns:
String
Method signature:
String canTransform(String[] initial, String[] target)
(be sure your method is public)

Notes

  • A 4-connected set of cells is a set of cells which satisfies this property: for any pair of cells in the set, there is a path connecting the cells in which (a) all cells in the path are in the set, and (b) adjacent cells in the path share a side (sharing only a corner is not enough).

Constraints

  • N will be between 1 and 50, inclusive.
  • initial and target will contain exactly N elements each.
  • Each element of initial and target will have a length of exactly N.
  • Each element of initial and target will be composed of the characters '#' and '.'.
  • The grids described by initial and target satisfy the property that there are no cells of the same colour which share a corner but are part of different components.

Examples

  1. {"#"}

    {"."}

    Returns: "Impossible"

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

    {".#", "##"}

    Returns: "Possible"

    Do not forget that there are white cells everywhere around the region.

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

  6. {"."}

    {"."}

    Returns: "Possible"

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

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

    Returns: "Possible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

    {".#",".."}

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Impossible"

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

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

    Returns: "Possible"

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

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

    Returns: "Possible"

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

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

    Returns: "Impossible"


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: