Statistics

Problem Statement for "FoldingMaze"

Problem Statement

NOTE: This problem statement contains images that may not display properly if viewed outside of the applet.

Alice loves mazes so much that she spends most of her spare time drawing new mazes on sheets of graph paper. These mazes work as follows. Every cell is either an empty space or a wall. One of the empty cells is the starting cell and one of the other empty cells is the ending cell. To solve the maze, you must draw a path from the starting cell to the ending cell without lifting your pen. From each cell, you are only allowed to move to an empty neighboring cell. Two cells are neighbors if they share a common side.

Alice is so obsessed that she forces her friend Bob to solve her mazes over and over again. Lately, she began cheating by making her mazes unsolvable. However, Bob, being an avid cheater himself, discovered that he could solve those mazes by folding the sheet of paper until the maze became solvable. Alice did not initially like the fact that Bob had thwarted her attempts to make unsolvable mazes, but she eventually figured out that drawing mazes that can only be solved by folding the paper would be far more interesting than drawing unsolvable mazes.

Alice came up with a new method of creating mazes and a new set of rules. She now draws on both sides of the graph paper. The starting cell is always on the front, but the ending cell may be on either side. Bob must put the sheet of paper on a table with the front side facing up. On each move, he must do one of the following:
  • Move to an empty neighboring cell. The rules here are the same as before. He can only move to cells that are currently visible.
  • Fold the paper once. This is only allowed if the paper is not already in a folded state. The folding line must coincide with a vertical line on the graph paper's grid. The fold must not cover the cell in which Bob is currently located. Horizontal, diagonal or any fold operation with a folding line that does not coincide with a vertical grid line are considered illegal.
  • Unfold the paper if it's currently folded. This will return the paper to its initial state. This is only allowed if doing so will not remove the current cell from view.


For example, consider the following case in which we can see both sides of the sheet (the back side depicted is the part of the sheet that would be visible after rotating it 180 degrees about the vertical axis):



In this case, the third vertical line from the left is used as a folding line.


After folding the paper, it is now possible to move from the starting cell to the second cell from the left in the top row. After that, the paper is unfolded.


Then, move one cell to the right and perform another fold.


Notice that you can fold up either the right or left side of the paper as long as you follow all the rules. After the second fold, the ending cell becomes visible, and it is now possible to move there.

Your task is to help Bob cheat by determining the fastest way to solve these mazes. You are given String[]s frontSide and backSide, describing the front and back sides of the paper, respectively. The j-th character of the i-th element of each String[] represents the cell at row i, column j. Empty cells are denoted by '.', walls are denoted by '#', the starting cell is denoted by 'S' and the ending cell is denoted by 'E'. backSide describes what you would see if you flipped the paper over by rotating it 180 degrees about the vertical axis. Return the minimum number of steps required to solve the maze. If it is not possible to solve the maze, return -1 instead.

Definition

Class:
FoldingMaze
Method:
solve
Parameters:
String[], String[]
Returns:
int
Method signature:
int solve(String[] frontSide, String[] backSide)
(be sure your method is public)

Constraints

  • frontSide and backSide will contain an equal number of elements h, where h is between 2 and 50, inclusive.
  • Each element of frontSide and backSide will contain an equal number of characters w, where w is between 2 and 50, inclusive.
  • Each element of frontSide and backSide will contain only '#', '.', 'S' or 'E' as characters.
  • Exactly one character in frontSide will be 'S'.
  • backSide will not contain any 'S' characters.
  • The total number of 'E' characters in frontSide and backSide will be exactly 1.

Examples

  1. {"...E", "....", "S..."}

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

    Returns: 5

    The back of the sheet is full of walls. Therefore, it is not advantageous to fold the sheet at all.

  2. {"...E", "###.", "S.#."}

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

    Returns: 9

    We can first fold the right side like this: ... ##. S.. Then we get to row 0, column 1: .*. ##. ... We may now unfold the maze: .*.E ###. ..#. Nine steps are required in total.

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

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

    Returns: 6

    This time the exit is on the back of the sheet. 1) Go to row 0, column 2: ..*. ..#. .... 2) Fold the left side of the sheet: .*. E#. #.. 3) Go to the exit.

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

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

    Returns: 20

    The solution for this case was detailed in the statement.

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

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

    Returns: -1

    Note that you are not allowed to fold the paper along horizontal lines.

  6. {"....#.##", "####.###", "S#####.#", ".#####.#", ".#####.#", ".......#"}

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

    Returns: 18

  7. {"S#...#...#...#...#...#...#...#...#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.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", ".#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#", "...#...#...#...#...#...#...#...#...#...#...#...#.."}

    Returns: -1

  10. {".................................................", ".##############################################..", "###...........................................#..", ".##.#################.......#################.#.#", "..#..............##........#.#................#..", "#.#.###..####............##..#.#################.", "..#.###..####...........###..#................###", ".##........###.........###...################.##.", "###.#####...###.......###....###..............#..", ".##....##....###.....###.......#.##############.#", "..#.#.........###...###......#.#..............#..", "#.#.#########..###.###....####.##############.##.", "..#.............#####.....#....#..............###", ".##########......##.......#.####.###############.", "###...#...#...............#.#.................#..", ".##.#.#.#.#################.#.#################.#", "..#.#.#.#.#...#...#...#...#.#.....#......#....#..", "#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.##.##.##.#.#.#..##.", "..#.#.#.#.#.#.#.#.#.#.#.#.#.#.##.##.##.#.#.#..###", ".##.#.#.#.#.#.#.#.#.#.#.#.#.#..........#.#.#..##.", "###.#.#.#.#.#.#.#.#.#.#.#.#.#.##.##.##.#.#.#..#..", ".##.#.#.#.#.#.#.#.#.#.#.#.#.#.##.##.##.#.#.#..#.#", "..#.#.#.#.#.#.#.#.#.#.#.#.#.#..........#.#.#..#..", "#.#.#.#.#.#.#.#.#.#.#.#.#.#.############.#.#..##.", "..#.#.#.#.#.#.#.#.#.#.#.#.#.#............#.#..###", ".##.#.#.#.#.#.#.#.#.#.#.#.#.#.############.#..##.", "###.#.#.#.#.#.#.#.#.#.#.#.#.#..............#..#..", ".##.#.#.#.#.#.#.#.#.#.#.#.#.#.##############..#.#", "..#.#.#.#.#.#.#.#.#.#.#.#.#.#.##.#............#..", "#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.##.#..############.", "..#.#...#...#...#...#...#...#....#............###", ".##.########################################..##.", "###.#......................................#..#..", ".##.#.###################################.###.#.#", "..#.#...................................#..#..#..", "#.#.###################################.#..#..##.", "..#...............................#...#.#.###.###", ".################################.#.#.#.#.##..##.", "###...............................#.#.#.#.....#..", ".##.###############################.#.#.#######.#", "..#.................................#.#......##..", "#.#.########################################.###.", "..#.#####..................................#.####", ".##.......################################.#.###.", "###########................................#.#...", ".##...#...#.################################.#.##", "..#.#.#.#.#................................#.#...", "#.#.#.#.#.################################.#.###.", "....#...#..................................#.E###", "################################################S"}

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

    Returns: 1366

  11. {"................................#...#...#...#....", ".##################.#############.#.#.#.#.#.#.#..", "###################.#############.#.#.#.#.#.#.#..", ".##.................#...........#.#.#.#.#.#.#.#.#", "..#.###########################.#.#.#.#.#.#.#.#..", "#.#...............................#...#...#...##.", "..###############################################", ".##...........................................##.", "###...........................................#..", ".##...........................................#.#", "..#...........................................#..", "#.#...........................................##.", "..#...........................................###", ".##...........................................##.", "###...........................................#..", ".##...........................................#.#", "..#...........................................#..", "#.#...........................................##.", "..#...........................................###", ".##...........................................##.", "###...........................................#..", ".##...........................................#.#", "..#...........................................#..", "#.#...........................................##.", "..#...........................................###", ".##...........................................##.", "###...........................................#..", ".##...........................................#.#", "..#...........................................#..", "#.#...........................................##.", "..#...........................................###", ".##...........................................##.", "###...........................................#..", ".##.............................#########.....#.#", "..#.............................#.......#.....#..", "#.#.............................#.#####.#.....##.", "..#.............................#.#...#.#.....###", ".################################.#.#.#.#.....##.", "###...............................#.#.#.#.....#..", ".##.###############################.#.#.#######.#", "..#.................................#.#......##..", "#.#.########################################.###.", "..#.#####..................................#.####", ".##.......################################.#.###.", "###########................................#.#...", ".##...#...#.################################.#.##", "..#.#.#.#.#................................#.#...", "#.#.#.#.#.################################.#.###.", "....#...#..................................#.E###", "################################################S"}

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

    Returns: 616

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

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

    Returns: 12

    more than paper size moves required

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

    { "E..", "...", "..." }

    Returns: 13

    more than paper size moves required

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

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

    Returns: 31

  15. { "#E.####S#.", "###..####.", "#.#.###.##", "###.#..#.#", "#.##.##.##", "#.#.#..###", "##.#...#..", ".#.####.##", ".#...###.#", ".#..##...#" }

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

    Returns: 44

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

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

    Returns: 49

  17. { "####..#...", "##..####..", ".###.##.#.", "E..##.#S.#", "###..#####", "..#.#..#..", "...###.###", "#####.#..#", "...##...#.", "######..#." }

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

    Returns: 61

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

    { "..........", "...E......", "..........", "..........", "..........", "..........", "..........", ".........." }

    Returns: 60

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

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

    Returns: 291

  20. { "#######..####....#####.####.##.#.#.#.###...###.E##", "####.....#..#.#.#.##.######.....#.####.###########", ".###.###.#.#.##...#.#.#.###....#..##..##.#..#.#.##", "#.#######.###.##..###.#...#.##..#.##....#####.###.", "######.#...#.##.##..#....##.##.##...#...####.#.##.", "##########.#.##.####...##.#.#####.######.##...##.#", ".#.#.###.##..####.####.####.#######.###.##.##.#.#.", "..##########.####..###.##..##..#.###########.####.", "#..#..#..##.########.#.###..#####.##..###.######.#", ".####.#####.#.#..#.#..########.####..#.######.##.#", "#.#.##.##.####.##.####.#...####.#.##..#####.######", "########..##.###..#.##.##.###..#.#####.#.####.##..", "###.###.##.#..#########.#...##.#######.#.##.######", "########.#######..####...#..#.#########..#######.#", "...#.####.#..###.######.#.####.#.#####.##.####.#.#", ".#.##########..#.##.####.#.##.######..#.#####..##.", ".#.##.###.#.######.##.###..##....##..####..##..#.#", "#.######....#.#####.###.#..######.#.######.##.#.##", "#######...######.#.##..#######.###..#..####.###.#.", "#..#..###.#..####.#####..####.##..###..####.###.#.", "###.###.#..##.###.##.##...##.#...#..#######..#####", "####.###.###.###.####.#.#.##.#.############.##.###", "..#.##.####..#.#.#..#.#..#.##.#.##.####..#.######.", "#####.###..####.#...#####...#######.##.##..#.#.###", ".###...##.##############....######.#####.##.#...##", "##..###.####.##..###.##.#.....#.#..###.#.#######.#", "##....#..#.#.##..#..#..####.####...########.#.##.#", "#..######...##.#..##.#.##..####.#####..##..###.###", "#####.#.########.#.##.#.###.#.#.###.#########.###.", "##.#.#..########.####..#.##.######.#########.#..##", "#.##.#.####.##..#####..#.#####..####.###########.#", "...###.#########.#####.##.####.###.#.####..##..#..", ".##.##.########.#######.####.#.#.###.###..##..#.#.", "..##.#####.####.#.##..#.######...######.##..###.##", "##..##...#.####.####.#..#.##..###.#..###.#.#.#.##.", "#.###.#.#...###..#..#####.############.#..#.######", "...#######....#######..####.###.##.###..#..##.###.", "####.#######.###.##..#.##..###.##..#########.##...", ".#.##.###.#....#.##.###....##..##.###.####.##..###", ".#S##..###.####.#.########...#..#.###..#######..#.", ".#.######.###...##.#.##..#########.####.#.########", "####.#####.#.##.###.####..#.#####..##.##.##..#####", "#####.##.###..##...########..#.####.####..######.#", ".###.##.#.######.#.#.###..#.#..###...###..####.#.#", "#.#.####.####.###.###.#######...####..#####.###.##" }

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

    Returns: 361

  21. { ".#.###.###..##.#.#####.#.#.##.###.#####.##########", "#.##.##.###.####..##########.#######.##.###..#####", "######..###..##.##.###.#####.#.########.#..#.#####", "###.#.#####.###.#.##.#.#####.#.###################", "####..#..#####.#####.#####.#####..##.#..#.####.###", "##########.#.##.#######....####.####.#.########.##", "##.####..######..#.#.###.#..#.###.##...######.##.#", "#.#######.####.############..#.###..#.##..##.##.##", "#.##.################.######.########.#######.##..", "#..####..######.#..##.#.##..##.#..#.###....###..##", "#.#######.###.###...###.###############.###.#.####", "###.##.##..##########.####.####.##################", "##########.#.####.######.####.####.#########..####", "####.####.###...######.#.###########.#.##..#..###.", "##########...####.###...#.#..#.#.####.##..###..###", "#.##.##.##..#######..#..####.######.#..#.#.####.##", ".####..##...#.#.#...####.######.###.#.#####.######", "#######.###..#.#########.###.###.#..#.#####.#####.", "##...####.#####.##.#####.#.#.#...###.##.#.#######.", "########..##.##.#..##.####...###.######.#########.", "##.###..#.#.########.#.#..####.#####.####.####..##", "#####..###.##.##.#..#.##.###.#########.#.##.###.##", "#.####.####.####..##################.###.####.####", ".#.###.#.#.####....##....#####.##.#.##.##.###.###.", "#.#.#########.#####.########.#.#..#.########.#...#", ".#.#.####S#####.##.#####...####.#..##.#..###...###", "###.#####.#.#####.#.######.#.#.#.#.###.#.#..#.#.##", "##.#..#...######.#.###.#####..#############..#####", "##.#####..######.###..###.###.#...#####.#.#######.", "###..#...##.######.#######.######.######..##.#####", "#######.#.#####.##.#.#..##.#######.#####.######.#.", "##..#.##########.###.#.##.##.#.######.####.######.", "#######################.####.###..#.##############", "#####....#.#####..######..####..#.#.#...##.##.#.##", "######.###.###########.#...####.##.######.######.#", "#.######.###.##.#..#...#.#######..#..#.##.#.######", "######.#.#.###..####..########..#.####.#.#.###...#", "#.##.##.###.#.#########.####.#######.####.##E###.#", "#########.##.####.##.#######.#.###.######.##.#####", "######.#..#######.#.##..#.########.#############.#", ".###.##.#######.##.#######.#####.#####..##.#######", "..#...#.#######.##..##.#####.###..#...#####.#...##", "#####.#####..#.##.####.#.##.###..#.###.#.#.###.###", "#########.##.####.#.##.#..#######.#.###.###.##.###", ".####..#####..#.##.##.###.##.#..#.#.#.#####.######", ".#.###.#.############.#.###########.####..##...#..", "##.######.##.#######..###.########.#.###########.#", "########..#.############.####..##.####...####.####", "##.##....############.####.####.#######.#####.##.#", "########.###.#.#.####..########..#.#.####.##.##.#." }

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

    Returns: 492

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

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

    Returns: 552

  23. { "#..#", "E###", ".#..", "..#S" }

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

    Returns: 18

  24. { "E.##.", "##...", "#.#.#", "..##.", "...#S" }

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

    Returns: 29

  25. { ".S#E.", ".##.#", "#..##", "..#.#", ".#..." }

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

    Returns: 32

  26. { "...#.", "###E.", "##.##", "S#.##", ".#..." }

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

    Returns: 33

  27. { "...#.", ".##S.", "##.##", ".E#.#", ".#..." }

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

    Returns: 40

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

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

    Returns: 110

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

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

    Returns: 482

  30. { "###.#.#.##..#...##...##..#....", "#.##...#.#...##...##..#.#.##.#", ".###.##.###..####....#...##...", "....##.....##.#.##.####.######", "###..##..##.#..###....#.####..", "#..#...####...#..##.##..#.##..", "#..####.##.#...#.##...#..#.#.#", "##.####...##.#.#...####.##...#", "#..###.#.##.##.#.##..##..#.##.", "###......#..#.#.....####.#.###", "#.#.#######.#####.#.##.#.#..##", "..#.#...#.##.###.###..##.#####", "#...####..##...#.#.###.#######", ".#.#..#####..#...##....#.##.#.", "..###.#..#...###....##..###..#", "###...#..#...#.#.#.#..###.#..#", ".#.###.#.#.#..#.#.##.###.##...", "#####....##.###..#.#.####.##.#", "#..##..###.#...###..#.#.#.####", ".##...######.###..###..#..#.##", "##..##.##..##..#.##.##.#####.#", "##.##...######..##.##.####..#.", "..##.#..#...####..#..####..##.", ".####.#..#.....##..######.###.", "##....#.####.##.#.#...#..###..", "..#.##.##..###.#..##.###..##.#", "####.#...#..###..#.##..###.##.", "##S..#..#.#.#.###...#..#.#####", "..#.#..#..#..#.#####..#..###E#", "....####...#.#...#..######.#.." }

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

    Returns: 848

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

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

    Returns: 1052

  32. {"E..##############################################", "#################################################", "##...############################################", "#####.###########################################", "####...##########################################", "#######.#########################################", "######...########################################", "#########.#######################################", "########...######################################", "###########.#####################################", "##########...####################################", "#############.###################################", "############...##################################", "###############.#################################", "##############...################################", "#################.###############################", "################...##############################", "###################.#############################", "##################...############################", "#####################.###########################", "####################...##########################", "#######################.#########################", "######################...########################", "#########################.#######################", "########################...######################", "###########################.#####################", "##########################...####################", "#############################.###################", "############################...##################", "###############################.#################", "##############################...################", "#################################################", "################################...##############", "#################################################", "##################################...############", "#################################################", "####################################...##########", "#################################################", "######################################...########", "#################################################", "########################################...######", "#################################################", "##########################################...####", "#################################################", "############################################...##", "#################################################", "##############################################...", "#################################################", "################################################S"}

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

    Returns: 191

  33. {"...#...#............#..",".......#...#.#....#....","...............#......#",".......................","...#.S.................",".#..............E......"}

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

    Returns: 12

  34. {"......E...#..#...#........#.#...#....#...........#","..........#................................#.#..#.","............##...........#.............#.......#..","...........................#........#............#",".........................#.#...............#......","#..........................#......................","....#..#............#..........#........#...#.#.#.","......#.......#.....#..............#........#.....","......#.....#.#...........................#.##..#.","...............#...#....#.........#..........#.#..","............###...#.......#.......................","#......#.............................#............","..##.....#......#................##..#............","#.......##.....#............#..........#....#.#...","#..........................#...#..#..........#....","..#...............#.............###.......#...#...",".....#................#........#.........#........","#.....#........#....#.............................","..........#...........#...........................","..#..#..#..................#..............#..#....","...............#......#.#...........#.#...#......#","............#..#..................#....#..........",".....#.....#....#......................#.......#..",".......#..#..............................#....#...","....#.......##...#......#............#............",".#.................#................#.#......#..#.","..............#.......#....................#...#..","....................#......##...........#.##.....#","..#....#.....................#........S...........","..#....#.#........#.#.........#....#.......#......","......#......#...............##...................",".#..........#.....................###..........#..",".#.............#...................#..#.......#...","#......................#.......#..#..#...#........",".....#..#.............#..#.............#..........","..##.........###...#.......##............#........","......#...........................................",".....#....#............#....#.......#.......##...."}

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

    Returns: 60

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

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

    Returns: 19

  36. {".................","......#........#.",".#.....##....#...",".#.......##......","......#....#.....","...#.......#.....","#...#............",".............#...","..........#......",".............#...",".......#...#E....",".................","....#...#........","................#","...........#.....","..#..#.#.........","...#......#......",".#.#.......#.....",".......#.........",".................",".#........#......","..#.....#...#..#.",".............##..",".............#...","..#..............",".................","...............#.",".................",".....#.....#.S...","...........#...#.","....##..........."}

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

    Returns: 21

  37. {"..............#..........",".................#..#....","#.....##.................",".....#...............#.#.","........#................","......#...........#......","......#...##........#....","..................#..#...","#........#.....#....#....",".........................",".........#.........#..#..",".#...#.#..#..............","...............#...##..#.",".....#.#...#..#...#......",".......#............#....",".#...#.#.................","............#............",".#....#..#...........#...",".......#......#..........","#..................#.....","...#..............#......","................###......","...#........#............",".............#...........","..##.#.......#......#....","#..#.....................","#.....#...............##.","......#..##.#............","...........#.............","S....#..........#........","...............#..#......",".................#......#","......#.....#.......#....","....#.....#....#..#......","....................##...",".............##..........","....#.........#........#.","........#................",".........................",".....#..............#..#.","...........##..#....##.#.","...........#......#......",".....#..E#...............",".................#.......","...........#..##......#..","........#..............#.","......#..#.........#.#...",".........................","................#.#......","................#........"}

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

    Returns: 21

  38. {"..#...................#.#..........#","..........................#......#..",".#####.#.....#...#....#..#..#......#",".......#.....................#......","..........#...#.....................",".#..#..................#......#.....","........##..............#...........",".##.....................#......#....","......#............##.........#.....","................#.#.......#...#..#..",".....................#........#.....",".....#.#......................#.....","..............................#.#...","....#.#........#.....#..............",".....#..#...........##...#..#......#","...#........................#..#....","............#.#...#.........#.......","##..........#.................#.....",".......#........#....#.#.......#...#","....#............#..................",".............................#..#...","...............E.................#..","#...............#...........#....#..",".......#............#...#......#....","...............#..#.........#......#","......................#..#..........","........#.............#.#...........","....#....S...........#..............","#.....##..............#........#....","#................#..................","...#..#..............#.#...........#","##..........#.....#.................",".#.........#.........#...#..........","#.........#...............#........#","......................#.....#.....#.","#...................................",".............#....#........#........","...#.........#......#...........#..#",".........#.##......................."}

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

    Returns: 12

  39. {"...........","...........","...........","...#..#....",".#..#......","...........","....#...#..","#..........","..#........","...#.....S.","...........",".....#.#...","...........","#.......#.#",".......#...",".....#.....",".....#..#..","#.....#....","#.......#..","....#......",".........#.","...........",".......#...","...........","#..........",".........#.","..#.#..#...","....#......",".#.......#.","..##......#",".......#...",".........#.","....#.#....",".##...#....","...........","...........","...#......#","...........","..#.......E","#......#...","........#..",".#.........","....#......","........#..","...........",".#..#....#."}

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

    Returns: 32

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

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

    Returns: 15

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

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

    Returns: 9

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

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

    Returns: 70

  43. {"..E#S.#.","........"}

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

    Returns: 4

  44. {"....#.........#........#........................",".................#...#..........................","....................#.......##...........#......",".#........#....................#...##...........","..................................#.......##...#","........................................#.......","...........#.....................#.#......##....",".#.....#.#....##.......#.#....................#.","....#..#...............#...###..................","......#............#.......#...#...........#...#","............#....#...#.......#.#...#.....#...#..","#..................#...........#........#.#..#..","..................#.........#..............###.#","........#..........#..E..#......................","..........#........#...........#..#.............","..#...................#..........#.....#........",".#..#.##.................#.......#..............","....#....#..............#..#.#.....#....#.#...#.","..............#...#.................#..#...#....","..#...........................................#.",".........#........#......#S.........#.....#.....",".................#.....................#........","............#.......#..............#..#.........",".......#...............#........#.........##....","#....#..#..............#..........##.....##....#","............#.........#...#.....#.....###....##.","...#..........#.........#......#..........#.....","..........................#...#...#.............","............#..........#.....#.....#....#....#..",".....#........#....#.##.##.#.#...........#......",".....#..............#.......#..........#..##....","........#...........#.........#.......##....#...","#...........................................#...","........................#.........#........#...."}

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

    Returns: 11

  45. {"..............#","...........#.#.","S..........#...","..#.....#.##...",".........###.#E"}

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

    Returns: 20

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

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

    Returns: 5

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

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

    Returns: 3

  48. {".......#................","..#.....................","...#...#..........#.....","........#.#..#...#......",".....#...........#......",".......#........#.......","........##.........E....",".#.....#..#....#....#...",".#..##...#...#...#......",".....S..#.#.............","..#...#.................",".....#..............#...","...#.........#..#.......","....##.........#........","....#...........#..#....","#...#.......#..##.......","........................","..#.....................","#.......#...............",".....................#..",".................##..#..","........................","..#.#.....#.............",".......#................","..........#.............","..........#.............",".#.............#...##...","##..##...........#....#.",".......#...#.......#..#.","....#....##...#.....#...",".....................#..","..............#.........","...#........#.#...#...#.","........#..#.#..........","#.......................","........................","#....#.................."}

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

    Returns: 19

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

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

    Returns: 19

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

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

    Returns: 16

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

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

    Returns: 17

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

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

    Returns: 14

  53. {"...#........#...#........##..#","......#...#.##.#.....#.....#..","....#.....#..#.#.....#........","#......#....#.....#....##...#.","....#.......#.....#...##......","..#..#..........#..#..........","...............#.##.#..#..###.","........#..#..#.#....##.#.#...",".......#.#..###........#.#..##",".........#......#...#.........","......##.....#...........##...","#.......####............#....#","...#.#.#....#.................","....#.#..##..##.#....##...#.#.","..#.........#..#......#..#...#","#.#....#..#...#..##......#.E#.","..#........##..#....##........","#.........#.S..........#......","...............#...........##.","........#.##...#....#.........","...#....#.#....#.....#........",".#..................#..#....#.",".......#..#....##.....#..##...","..#...#.....#....#.#.....#..#.",".##.#..#..##.#..#........##...","#.#...#...#..#.....##.....##..","...##....#.##.#...............","......##....#.........#..#..#.","#......#........#...#...###..#",".#...........#.....#......#.#.","....#......#.....#...#..#.....","#..#.#..#...........#.#.......","......#....#..#...#......#.##.","#.#......##.....#....#..#.....","...#...#......#....#..........","...#.............#..###.....##","....#....#............##.#...."}

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

    Returns: 17

  54. {"...##..","#.#....",".......","#..#.#.",".......","S...E..","....#.#","..#..#.","##.....",".......","..#...#","...#...","...##..","....#.#",".......","....#..",".....#.","#...#..","#.....#","##.....","....#..",".....#.",".#.#.#.","..##..."}

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

    Returns: 4

  55. {"............##.....","..............#....","....#...#.#.....#..","............E.#..##","....S.........#....","....##........#...."}

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

    Returns: 9

  56. {"..#....##.#..........","#...#.........##.....","#....E...#......#....","....#.........#..###.","..#.#.............##.",".##.....#..#.......#.","#.............#..#...","....#.#..#..#...#.##.","......#...####...#...","........#...#...#....","........#......S#.#..",".....#............#..","..#.......##...##.#..",".#..................#","....#........#.......",".##......##..........",".......#.............","....#......#...#...#.","#....................",".....#..#........#...",".....#..#....##....#.",".............#.#.....","..#.#...#............"}

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

    Returns: 18

  57. {"...................#.","S#.......E#...#...#..","....#..........#...##","#.##.....#..#........","...........#...#....#","....#..#.#......#.##.",".............#.#..##.",".................#..#","......#.........#....",".........#.##...###..",".......#..........###"}

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

    Returns: 11

  58. {"..#......#.#.......................","#.#.#......#..#..#......#.#........",".#.#...#.#.....#.#.........#..#...#","...#............#.........#..#..#..","#................#.........#.......","..#....##..........................","...#..#......#......#..............",".....#.....#......#..##......#.....","....#....#.........#.............##",".....#..#........#...............#.","..#..#......#........#.....##..#...",".......#......#.##.........#.#.#..#","#.#.....#.....#.............#......",".....#..#...#.#....#...#...#......#","#.......#.............#...#........","...#.....#........#.#....#.........","#...#...........#........#.........","#..#......##...................#.##","#.##....###..#...................#.","...#.##...##.............#..#......","...S.....###..#..............#.....","...#.#.###....#........#...........","..#.#.#............#..#.......#....","....#..........#.....#.#....#.....#",".....#...#...#..#..#.#............#","......##..#..###.#........#..#....#","...#......##....####.........##.#..","...............#..#................","......#.#...##......#..........##..","#...........#..#..#.#.....##...#...","#......##..............#.#..#......","##.####.....##......E........##....","#...........#.#.#.#..#.......##..#.","...#...#....#............##....#..."}

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

    Returns: 31

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

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

    Returns: 7

  60. {"##.......#.#......#...#....#............##....##.","#....##..........#.............#......##...##....","...#.#.......##.....##..#..#.......##..#..#..#...","#....#...##..#......#..##..#...#..S###.......##..","..#..#.....#.....##..........###...........#.....",".............#.........#.#..........#............","#.....#..#...#..#.#.......#...#..#.......#.......","...#......##..#.....#.####.##..#.........#...#.#.",".##......#.......###.#.#.....#..##....#..#.......",".#...#...#..#....#.....#.........................","###...................#....#.......#.##...#....#.",".....#............##......#......##..#...##..#.#.","....#.......#####....#.#.#.#...#......#........#.","#.#.##............#.#.........#..#..##.......#...","..#.E...##.#..#...#.......#...#..#...#..#....##.."}

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

    Returns: 41

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

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

    Returns: 66

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

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

    Returns: 8

  63. {"#S.#...##","...#...##","....#..#.","..#..E..."}

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

    Returns: 7

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

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

    Returns: 12

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

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

    Returns: 18

  66. {".......##........#...#...........#.......#...",".#.......#..#......#...#.............#...#...",".#...............#.#.....##.#.......#.#...#.#","#......##..........S###.........#.#.#....#...","...#......#...........#..#....#...#...#.#.#..","..##...........#....#..#...#...#....#.#.#....",".......#.#...##...............##...###.###.#.",".#...#.#......#.............#...............#",".#.......#.................#......#..........","...............#..............###.#....#.....","............#......#.........................","###.#....#.....##..#.....#...#......#..#.#..#",".........................#....#.....##.....##","......##...#.....#.............#........#....",".#...#........###......#....#..##....#.......","..#..#..##..#.....................#.#...#.#.#",".....##..........#..#......#.#...#..#........",".#..............#.#....#....#.........#..#..#","......#..#.........#....###..#...#...#.......",".......#..#.#...........#........#....#..#..#",".......##......#.#....#...#....#.......#.....","......##E##...##.#.......#.........#.....##..",".#.....#.#.##..........#..#.#.#.###...#..#...",".#...................#......#.##..#......#...","...........#...#.#........#.....#.....#......","...............#..#....##............#.......","..#.........#.....#.##..#..#....#......##.##.","..##....###.#.....#.#...#...#...#....###.....","..........#..#..#...#..........#.....#......#","........#....#..#.........##.#.#..##....###..","..#..#.........#.##.#....##.....##...#..#....",".##..#.#..#.###........#........#........##.#","..#........#..#.#.#...##......#.#............","..##...#...#..#..#.....##.....##.....#.......","......#..#.#.............#..##.......#.#.....",".#...#...#...#...#......#...#.....#..#.#..#..","...........#...#.....#..#...........##..#....",".......#...........#..#..........#......#....",".##...........#.......###.#.....#.....#......","........#..#.....#......#...#.#......###.....",".#....#.......#..#.........#......#...#.##...","##...##.#.....#........#.......#.##...#..#..#","......#..#.#.....#.......#....#....###.....#.","....#.......#..#..#.....#....#.....#.......#.","........#.##..........#..###......#.......#.#",".#..#.........#..#.............#............#","#.#.#.#..#..#.#...#.#............##.#...#....",".#..........#.......#.##.......##........#..#"}

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

    Returns: 32

  67. {"....#.......#.......","......#.##..........",".......#........##..",".##.......##.#......","......#.##..........","....................",".#...##...#.........","#...S....#..#..#....","...#........##..#...","##.#....#....##.....","..........#.........","##.....#............",".....#.......#......","...##.........#.....","....##......#......#","#.......#....#.#....","..##.#......#.#.#...","...................#","....................","...#.....#.....#...#","....#.#.........#...",".......##..#...#....","#.......#.##........",".....#.......#...#.#","....##..............","..#...#...#..#......","#..#.......#...#....","...#.#..............","#....#.............#","#.......#........#.#","#....#..............","...#..#....#..#.#...","#...#..........#....",".....#.#.#..........","...#.#.#.......##.#.","....##.....#....#...","..##..##.#.#..#...#.","...E##....#.###.#.#.","...#....#.#.#...#.#.",".#....##.#....#..#.#","#....#..#......#.###","...........#......##","#...#.......#.#.....","...#....#..#.#......",".......#......###..#",".#..............#...",".....####.#.#...#..."}

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

    Returns: 35

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

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

    Returns: -1

  69. {"#...S.#",".......",".......","..#....","##...#.",".#.....","#......",".......","....#..","#......","##.....","....##.",".#..#..",".......",".#.....",".....##",".......","...E#..","..#.#.."}

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

    Returns: 18

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

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

    Returns: 54

  71. {".#.....#.#.##.###..####.####..#..#..#.","...##..###.###..#..#.#..##.##...#..###","..##.##..#.###....##.....#....#.#####.","#.#..##.#...#######.#.##..##.##.#..###","..#.#....#.####.##......#####.###....#","#.#.###.###.#.##.#...#.#.#.#..####..##",".#.##.#.#.##...#####..##....#..#.##...","....#..#.###..#.##.###..#.......##.#.#",".####.#.#.##.....##..#..##.#..#.#.#..#","........#.#...#.##.#...#.###.##.#.##.#",".#.#.######....##..##.##.##.#.....####","#.#..#...####.###..##.#...#.##.#.#.##.","...###...##.##..###..###.....####...#.","##.#####.##..#...##..###.##..........#","#......#..##.#..##.##.##.#.########...",".##.#..#.#....##.#....#.#..#.##...####","######.##..#..#.#.#.#.##.###.#..###.##",".#..#########....#.#..##..####....#.#.","#.#.........#...#.#.###.#####..####...","########.#.#####...##..##.#.#...##..#.","##..#.....#.#.#..##...##..###....#....","#..##...##.##....##..####.###.....#...","..#.###S##..#...#.#...#.#...#....#...#","#.#.#.#.#.##.#........##..#.##.###..#.","##....#.##..##.##...####...#....###.##",".###...E.#...##..#.#.####...##..##..##","#.##.##.....##.###.#.#..###...###..#.#","#.#....#..#..####.####.##.###.#.#.#.#.",".#####..#.#..##.###.###.##.###..#.#...",".###.#..##.##.#.##..##...##..##...##..",".###....##.#####.#.########.#..######.",".#.##.#...##..#.#.##..#.......#....#..","#..###..#.###.##.#...#..##.#.##..#...#","#......#...#.#.#######.#.#..####.....#",".######.#...##.##.##.##.#.#..#..#.#...",".....##.#.##..##.#...#.##.##..#..##.#.","####.....#......#..###....#..#.#....##","...##..#.#....#.#....#.#.#.#.#..#.##.#","......######.#...#.##..#...##.#...#...",".#.#.#.#..#..#.##....##.#...#.###..###","#.##.#...#.##...#.##.##..###.####.#.##","..###....##.#..#.###.##.#####.....###.","#...###.######.########.##.##..#.##...","#...#..####.###.##..#.##..##.##.#.....","..#..##.####.#.#.#.#...########..##..#","#......###.#####.##.##.#..##.#....#..#","#..#.#.#.#....#######.##..#...####..#.","#.#.##.#..#.######.#.#.#..#..#.#.###.#"}

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

    Returns: 3

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

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

    Returns: 10

  73. {"#.####.#.......#.#..###.#.##.#.##.","...##..#.####..###.##.##.####..##.","########.##.......####.##.##..##..","##...###.#...#.##..#..#.#.#..#..#.","#.##...##.####..#.#..##.#....##..#","###.###.#.....##.#.##.#.##..######","##.##.#...#.##.....#.....##..#.#..","####..##.#.#....#.#......#####.##.","##.#.#.#..####..##.#.##.##.##.#.#.","#......###.#.#..##..#.###.##.#....","...###..#...#.#.####...###..#..###","..##..#..#...#..#.#....#..######.#",".#.#...##.#####..#.##...#..#.##.##",".#.#.#...###.##...#.#.#..#####...#","....##....####.##....#..#....#...#","###..####...#####..#.#.#####...##.",".#.#.#.#.##....#.####.##..#.##.#.#","..####.#..#.##..####..######..##..",".#.##.#...#..###.####.###...###.##","#.#.#...#.##.####.###.#.#.#.#...##","###.#.#.##...###.#.####.##.##.....",".#####..###.#..#.#.#..##...#.#..##","##..##..####.##.#.##.#.#..######..","##.########.....##.###.#..##....##",".######...#####.#...#.##.#.#.#####","..##.##.####..##..##.##....##..#.#","#..###.#.##.###.#..##....##..##..#","#....#.##..####.#.#..#.#.#.###.#..",".#..#.##..#..#.#..#.#.#....#.#.###","#......#..#..#..###..###.####.S##.",".###..###..##.###....#.....#.##.##","..#...#...###.##....####.#....##..",".#..#.##.########...##..########..","...#..##.##.##.....###..#.###..###","#...#.##..###.....#.##.#.#.#..#.#.","#..#.##.#........##..#.#.###.....#","##.#..E......####..######......#..",".#.#####..##.##..####...#.....#.##",".#.#......###.#.###.#####.#....###",".#....#..##.#.###.#..#..###.###...",".##..######.#.#.#.###...##.......#","#######.##.##.##.#.##.#..##...###.","#.####.######..###.#..####......#."}

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

    Returns: -1

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

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

    Returns: -1

  75. {"####..##.#.#.#.#...#","..###..###..#.##.#.#","....###...#####..##.",".#...##...####.....#","##..###.#..##...##..","###.###......##..#.#","##.#####.#.#####.##.",".#.##...#..##.##.#.#","###.....#.#.......#.","####..#..#..#.#.....","##.#....#...###..##.","#.#.#.#####...####.#","#..##.##.#.#...##.##","....#.###########.##","#..##.##...#.#.##.#.","#..#.##.##.#.##..#.#","..#.##.#####.#.....#","#...#..#....#E.#.###","####..#..#.#..####.S"}

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

    Returns: -1

  76. {"##..##....###.#####.##.","#..##....###.########..","#...#...####.#...######","#####..#..#.........###",".##..#####...###.##..#.",".....##..#E###....##..#","....##.....#.##.......#",".##.######..#....#####.","......##..##...#.##.###",".#..S.#####.####....###","#.###.#.#.#.#.#....#.#.","####...#..#.####...#.#.","##.#####.##.##.#..#####","#..#.##..##.###.###..#.",".#.##..#.#..#..###..#.#","#..#...#..###..###..#.#","..###.#..####.##.#..#..","..#.##..##.##..##.#.#.#","...#..#.##.#...#..###.#","##..##....#......#..###","##..###....#...######..","##.#..##.#..#####.###.#","..#..#.#####.#.#.#.####","#.#..#..#..#.##..###..#","..###.#.##..#.#.##.###.","##.###..#.###.##.#.####"}

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

    Returns: -1

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

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

    Returns: -1

  78. {"#.##..#..#.####.#.#.##.#...##..#...#.#..#....","##.####.####....#.###.....##.##..#..#..#...#.","#####..###.##.###..#..#...###....#####.#.###.","#...###.#....#.#..##..####.##...#..##....#.##","#..###...####.#.###.#.#.##......#...####..##.","##.....#.#............##..#.#######.###..####","##..#....#.....#.######.##..##.#.#.###..##..#","#.###..######....##...#.....####.#.##..##.#..","####.#..#..###....###.########...#...#.#...#.",".#.##.##.##..#.##.#####...#.##.#.##.......###","#.#.##.#...###..#.####.##....#..#.#.#.#.####.",".#.###..#.##.####....#.##..#.##..#.###..#.##.",".#.#..##.#.#.#.#..#.#.##....#..##.##....#.#..",".##.#.##....###.####.#...#.###...###...##...#","###.....###...##.##.###.#..#..#..##.######.##","#..#......##.###.#.###..##..#..#.####..###..#",".#.#..##......###.######....#..#.#..####.....","#.#.##..##..#.........#.#####......###....###","S####.#...##.E#..#.#..#...#.#####..##.###..#.",".#.###..###.#######.###.##..##...#.....##.###",".#..##.####.#..#....#..#.##.##..#.#..##..####",".#.##...####.#####.#####.#..#.#.#.#..#....###",".##...#...###..##..#.###..#..###...#.#.#..###","....#..########.#.#.#.###..###....#.##.......","#....#.##..###.......##.####..###..#.#.##...."}

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

    Returns: 35

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

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

    Returns: -1

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

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

    Returns: -1

  81. {"...#....##.#...##...##..####.","#.#.#.E#.....#.#.#...#S..###.","#.#...#.###....##.#..##...##.","#.#...#..#..#.##.##...#.#.###"}

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

    Returns: -1

  82. {"...#.####..#..#.###.#.###.####..####.##","....###.##.##.....##..#...####..#..#.##","...####...##...#.#...##.#...###.###...#","....####.#####.###.##......###.###.##.#","...##.#.#.....#######.##.######.###.#..","##...##...##..#.#......#.##..##..#.#.##","##..###.#.###..#..#....#..#.#.##.######","##.#.#.#.#.#..#.#.##....#.####.....##.#",".##.#.#.##..####.##.##....##.#..#.S###.",".....#.##.#...#.##...#..###.##.#.#.##..","#....#.#.###.###..##..#..#E#.#.#.###..#","#.#...##..####.#.#.###..#.###..#...#..#","###..#############.#.#.###.#...#....##.",".###.#..#....#.#...##..###...##..#.##.#","#..##.#..#.#.#....#.####.#...###.....#."}

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

    Returns: -1

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

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

    Returns: 9

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

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

    Returns: -1

  85. {"....#####.###.#.#.###.##E.##.#.###..###.","#.#..##.#.#.#.#...##..#...##.###.#..#..#",".###.#.#..#...##...#..#.#..#..#.####...#",".####S.#..#.....###.#..##.#..####.#...#.","#..####.#.###....#.#.#.#.#..#.#..#.##.#.","######...##.....#.........#.#.#...###..#","#.......#..#.##..##....#......##.###..##","####.####..####.#.#....###.#.###..#.####","...#.#.#.#####..#####.##..###....##.#.##","#.#.#.##.#.####.#.#.#..#....###.###.....","...###.#...#.###...###.##..####.##..#...","#.#.#.####.##.##......##.....#...#..##.#","#.....#.#...#..#...#...#..###.###.#..###","....#.#..#..####.#..#.##.#.#..#.#..#####","####.######.####...##.#....####.###.#...","..#.#.#.#####.#.###......###.#####.##...",".#..###..##..#.#.#......#.##.......#..##","##..####.#.#.#.#.#.#####.#.####.#....#..",".##....#.#....##..##.###.###.......#....",".#..###...###....##...####...##...#..##.","##..#....###.#.#.##.##.##...#.#..#.##..#","#.#.##.#...##.##..###..#...........#.#..",".....#.......#..#..###..#..#..#.####.##.","#....#...#.#....###...#.###.##.#..#.####","..#...#####..##.#..#.##..#...###...#.#..","..#..#.#.#....#.#..##.....#.##...#...#..",".#.###.##..##.##......####.##..##.#..#..","..#...#.#..#...#....#.#..##.#.####......","#.##.#.#.######..##.##......#.#..#.##.#.","#.##..#..#....#..####.#.#.........##.##.","...#.###...#.#.#..##.#...#...##..###.#.#",".####.......#.#.#...#..#.####....####.##","....#...#.###..##.#.#.##...#.#.#..####.#","#.#....##.#.#.###.#.##.#..###.#..###.###","..#.###.#####....#..####.#.###.##...#.#."}

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

    Returns: -1

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

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

    Returns: 14

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

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

    Returns: -1

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

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

    Returns: -1

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

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

    Returns: 53

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

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

    Returns: 56

  91. {"..##","...E","....",".#.#","##.#","#...","#S..","....",".#.#","....","....","....",".##.","##.."}

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

    Returns: 7

  92. {".###.#.#...#.##......#.#.#.....##...#...##.","..#.#......###.#.#.#.........#..#.#......#.","...##...#........#.......#....##.......#...","S.###..#...#....##..#...#..#..#.......#....",".#.#...###....#..#.#.........###.........#.",".###.##...#.#....##..###...###.##.#...#....",".#.E.#.#.....#..#........##.#.#.###.##.....",".......#......#.#.....###....#.........#.#.","...#..#.#...#.#.....#.....#.#........#.##..",".......##....##...#..#..#..#..#....#.#....#"}

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

    Returns: 8

  93. {".###.............#....#.....##......","#..##.#.#..........###..#.##.....#..","#...##..##..##...#.#...#...##..ES..#","#.#####...#....#..##.....#.....#...."}

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

    Returns: 1

  94. {"#..###.......#..........",".##......#.#............",".#.#.....##...#...#.##..","##...#..#..###..#.###.##","....#...........##....#.","...##..#..#......#..#...","#.......#..#.......##.##",".###.#..#..#...#...#..##","....#.......#..........#","...#.#.#..##....##.####.",".#......##.....#..#.....",".#..S##.......#.#..#..##","...#..##...#..........##","..##....#...#.#......###","...........#......##....","..#..........##....#...#",".#.##...##...##...#.#..#","##.#.##..........#......","..#.##..##..#.##........","#...........##...#.#..##",".#.#.............#.#....","...#.....#.....#.##.....","##..#.#.#....#.....#####",".....#...#......#.....##",".#.#....#.....#..#.###.#","###...#....#...#.....#.#",".#......#......#.####.#.","#......#.#.#.......#..#.","........#.#............#",".#.#....#.#..#.....#....",".#.###.##....#....##....","....#.#...##.....###.#.#",".............#.........#",".#.#.##...###..........#","###...###......#...#...#",".........##..#..........",".##...##..##.#...#...#.#",".#....#.#..###.....#....","..#....##.##.####.#.##..","...#.#......#.####..#..#","###..............#...#..","......#####...........#."}

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

    Returns: 33

  95. {".#...#....#.....##.#.....####","...........#...#........#....","#.##..#.......#.....#........","........#..........#....##.#S","...#...........#.....##.#....",".#.###...#.............#.....","...............#.###....#...#","...##.....#..#.#....#....##..",".##.....####.#..##.....#..#..","#...#.........##.#.....#.##..","..#..#...##..#.......###..#..","#.....##....####.#...#......#","..........#.......#...#.#....","....#....#.#.#.##..##...#..#.","#......#..####...###.#.#.....","......#.........#......#..#.#",".......###..#...#.....#.....#","......####..#.##..#.........#",".....##.#..#..##.............","....##...##...##...#..#..#.#.","...#.##.###..#.#.#.#.#.#.....",".#....#.#.#..#.#.....#.##.#.#","....#..........###......#.#..",".#.#.##.#....#..#..###.#.#...","...........##..#..##....#..#.","#...#.#.#........#....##.....","#.###.........##...#.##......","..#..#.....#..#...#........#.","#................##....#..#..",".....#..#.#.....#........#...","....#.###.#...#.#..#.##...#..",".##........#........#........","......#.....#...#..####.#....","...##..#.##.###....#...##..#.","......#.....#.......##.#...#.","......#...##..#..##.#.#####.#","...#.##..#.#...##....#.....#.",".#......##.....#.....#.......","..##..#..#.#..#...#.##.....#.","...##....##..##..#.#.........",".........##..##..#..#........","...#..##.#......#..#E.##....#","..#.##.....#.........###.#.#.","..........#.#.#...#..#.#...#.",".#.......#....#..###.........",".#.##.....#...#......##...#.."}

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

    Returns: 57

  96. {"##...##..#...#...#...##.#.##.#","#..#.#.#..#...##...#.#####....",".......#.#.....#.##....##...##","......#.#...#........#.#.#....","......##..#........##..#.#....",".#..#..###....#....#.#......S#",".##.##....#..#...#.....#.##...","....#.#...###.....##....#...##"}

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

    Returns: 8

  97. {"....##..##.##.#......#.....#..#.##.#","#........#...#.##....#....#.#.#....#",".......##.##.....#.......#..........","###.#...##.....##.#.#.#.#..#.#.#...#",".#.##.#.##..#.#.#.....###.S#..#.#..#",".###...##........#...........#.#...#",".#........#............##..#.#......","#..##......#.......#.......#.#..#.#."}

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

    Returns: 26

  98. {"##...#..#.#.#",".........#...",".#......#..##","#.##..#....#.","#.....#...#.#","#.##...#...#.",".##.#.#...#.#",".##.#...#...#","..#......##.#",".......#.....","....##.#.....","...#......#..",".#..#........","#......#.#...","..#..#...##..",".#.........##",".##....#.###.","#....#.#.....","........#.##.",".##......##.#","#.#..........",".#.......##.#","..#.#...#.#..",".#..#.#....#.","##.........#.","#....##...##.",".......#.#.##","..#......#.#.",".#..##.#..##.",".......#...#.","....###..#..#","...#......S.#","...#.#.#.....","#..#.#......#","#............","##...##....#.","#..##..#...#.","#....###.....","..#.###.##..#","###.##.....##","..#..#.......","....#.....#..","..#..#......#","##.........##","#.....#.....#","......#......"}

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

    Returns: 37

  99. {".#..##.#.##.",".....#.#....",".#.#........",".#.#######.#",".....##.....",".#.#........",".#..#.##....","....#..#..##","#.#...#..#..","...##.#..#.#","........#..#","#.#.#.#.###.","..##.##.#...","..#.#......#","..#.......#.",".#...#..#.#.",".#....#.###.","....#..##..#","##....#.##..","..#..#...#..",".......#..#.",".....#...##.","#....#..#...","....##.....#",".#...#......","##.#...#..#.","####........","...#.#..#...","#.#..S....#.","..##.###..##","#.....#...#.",".#....####..",".#..#.#.##..",".##.#..#....","...##.......",".###........",".#.......#..","....#.#.....","......#.#...","..##.......#","##...####..#"}

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

    Returns: 5

  100. {"...#....#.....#....##..#......","##.........##..........#.#....",".#...#..........###....#......","###.#.#.....S.#.#..#.....#..#.",".##.....#.....#....#..#..#...#",".##..#.....###......###.#.....","#.#..##.#..#..#......####.....","#......#.##.#..##...#..##.....",".##....###....#.##.....#...#.#"}

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

    Returns: -1

  101. {"#..#....",".##..#..",".#......","....##.#","...#..#.","#..#...#",".#.#..#.",".#...##.","..#.#..#","........","..##..#.","#..#....",".....###","###.##..","........","#...####","##.#....","........","...#.#..","........","........","##....#.","##.#....","......##","##..S...",".##...#.","........","...#...#","###.....","......##","###.....","#..#....","#..#....","....####","...#.#..",".##..#.#","..#..##.","...#...#","#.#..##.",".###....",".#....#.",".....#..",".#....#.",".#...#.."}

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

    Returns: 16

  102. {"..#....#.##..##.##.....#.#..##","...#....#.#.#.#........#...##.","...#.#....##.##..#...........#","#.#.#..#.#..#...####.##..#....",".##.........#.#.##......##..#.",".....#....##..##...#.....#....","......#.####...##..##.....#.##","#.#...##.#.#..#....#...#...###","......#..#.#..##.#..##.###.##.",".#..##...#..#..##....#....#...","#.######..#...#.#..##.#.....#.","#####.#...........#...........","....#......#.#..##.....#..#.#.","#.#.##......#.##...##...##....","...#.####..###.....##.#.##....",".#...#...##...#.##...#...#.##.","....#...#.....#..#.###.....#..",".#.##..#.......#.........#....","...###..#..##.##..##..#.#.....","..#...#..#....#........#..#.#.",".#.#.S.#...##...........##....","#E...#......##..#.#..###....#.","#.###.#.#...#.#.#.........#..#","#..#####.......##......#.....#","#.....#....##....#..###.#..#.#",".#.##....#.#..........#...##.."}

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

    Returns: 5

  103. {"..#.#..","......#","......#","#..#.#.",".#...#.",".......","##.....",".##....",".....#.","#......",".E.#..#","....#..","#.....#","..#.##.","#..#.##",".......","....#..","##..#..",".#.....",".....#.",".......",".#.....",".#.##..","..#.#S.",".......","...##.#",".#...#."}

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

    Returns: 17

  104. {"..#.#......#.#.#..###.#.",".......#..###...#......#","..#.##..#..#..##..##..#.",".#..#.#..##.....#..#....","#....#......#.#..#....##","#.......##....#........#","#.#............###..##..","..##..........##.#..E...",".##...##.....##....#....",".......#.##.#.#.........",".#..#......#.#....#.....","...#..#.###.#.#..#..##..","...#.##..##....####..###","....#.#....##.###.#..##.","####..#.#...##...#.#.###",".##........#......S....#","..#.#.###.#.......#....#",".#..#...##.##........##.","##..##...#.#..#....##.#.",".##.##......#.###..#...#","#..#....#.##..........#.","....#.##..#...#.......##",".#....#.#...#...####...#",".#...#.#..##..#.#....#.#","##.#..#......#..#.#.##.#","#....#.....##........##.","....#.#.#.#.....##.#....","......#.#....#..#.....##","..........#..#..##...#.#"}

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

    Returns: 12

  105. {"....#..##.###.#.....#","#..#................#","#..#.#....E.....##.#.",".....#.#.#.....##...#",".#.#.........##....#.","..#......#.....#.#..#",".....#.#..#.##......#",".##.##...###......#..","#.#.##....###...#..S.","#....#...........#.#.","..###.....###.#..##.#","....#.#...#..#.#....#",".#.####.......#.#.##.","..##.........#.....##","..#...#.#....#.....#.",".....#...........##..",".......###....#..#...","#....##.......#..#...",".........#.#....#....","#.##.####.........#.#","...##...##..####.....","#.........##.......#.",".....#........#####.#",".#..#.....#..#.##.#.#","...#.#.#....#........"}

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

    Returns: 15

  106. {".##..#.#.#....#.#.#.#..#.#..#...#..","##.#..#..#.###......#.........#.#..",".#..#.....##.........S#.#....#..#..","#.....#.......#.........##...#.##..","##..##.#...#.#...#...#........#.##.","......#....#..#.......#.##..##.##.#",".#....#.#.##.#........##...#.##.#.#",".#...#...#................#...#...#"}

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

    Returns: -1

  107. {"#.#.#.....#.#..#..#.........#.#..","......#..........#...#.#.#.....#.","......#....#...##.#.#............","##...........##....#............#","S###.......#####..##..#....#.#...","#....#.###.##.#....#..#.#....#.#.","###......#.#...#.#........#.#....","...#...##....##...##....##....#..","#...#....#.##.#....#.#.....#....#",".......#.#...#...##.......#..##..","#.#...#..##.....##....#.#.###..#."}

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

    Returns: 47

  108. {"..#.....","........",".#...###",".#.#...#","..#.##..","...#.#..","###...#.",".##...#.",".#....#.","#.#.##.#","#..#..#.","....###.","...#..#.","........","#.....#.","#....##.","......#.",".#.....#","..#.....",".#....##",".###.S#.","#.......",".....#..","#.#.#...","#.....##"}

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

    Returns: 33

  109. {"#S#", "###", "...", "...", "...", "...", "...", "E.."}

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

    Returns: -1

  110. {"E..", "...", "...", "...", "...", "...", "###", "#S#"}

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

    Returns: -1

  111. { "....##.#.#..#..#.###...#.#..###.#...#.###.#..#....", "##.#####.#.###....#########.#..##.###..##..#..#.##", "####.#...###..#..#.#..#.#.#.###..#.#.##.##..#..###", "....#.###.##.##.##.####.##.#.#.#..#.#.#######.#.##", "#.####.###..###.####.##..#.#.#..#####.###.#..#..##", "#.#.##...##..#.#..#...######..##..##.##.#.#.##.#..", "##.###.....##..########..##..#####....######...#..", "#.#.###...#.##..#..#.#..##.#########.#.#..#######.", ".######..####.###.#..#..###..######.#.#....#.###.#", "#..#...##.#...##.....#.#.#..###.##...#..#..#..#...", "#####...##..#...####..#....###.#.####.#...#.###..#", "##.##.###....#.....##.###..#.......##.##.####.#..#", "....#.######.###.#..###.#######..#.#..#.#....##.##", "..#.#..#...##...##.##.#....#.##...#.#.#..#.#.##...", "#####.###.#...#..#.###.####..##......#.##..#.####.", ".###.###.##..#####..####.#.##.####.######...#..#..", "#...###..##.##..#.#.###..#.###.##...#.#......##.##", "...###.....#.#.#..#####.....#.####..#.#.#.....##..", "####.###...#..###..#.###..#.#...######..#.###.###.", ".######.###..###.#.#...##.###.#.....#...#...##.#..", ".#...##...#...#..#..###.#..##.##..##.###..#..####.", "#..##.#..######.#.###.#..#..#.#.##...##...###.##.#", "#.###...##..#.##.#..###.#.#.###..######.###.#..###", ".##.#######....#.####.#.#.###########..##..####..#", "#..##.########..#.###..#.####...####..#.#.#...#.##", "#....###...##.#.#.#..#...#.#.##.##..##.####..#..#.", ".#.#..#.###..##...#...#.#.....##..####..#..##...##", ".#..#.#####...####.##.###.##.#..######.##.#..#.###", ".#..####..##.##..###.#.####...#..##.##..####..####", "##.#.####.##.#..#.##.##..##.##.#.#....##.##.#.##.#", "###.##.#..#.#..##..#.#######.#.##.#..######.##.##.", "#..#..#.##.#.##.##.##..#.##.#....##....#...#......", "..##.##.###.....#.#####.#.######.##.#######.#.##.#", ".#.#..####.#####.#.###...#.##..#...#.##....#.#####", "##.####...##.##.#..#.#####....####...##.#..#.....#", "#.#.#...##......###.#.....##.##......###..#.#.#.#.", "#.####.#########.####.#.#..###...######..##.####.#", "##.###.#...#....#.#..####.##...#...#.##.#..##....#", ".#.##.#.#...##.##.#.#..###.####..#..#..##....###..", "..####..#.#####.##...##...#...#.########.######.##", "####...##.####.#.#.....#.#.##..#.##.####.###.#....", "#...#..#.##.#.#..#.#...#.###.##.#.#.....###....###", ".###.#.##.#.#####.##.S##....#.#.#.##.##.####.#####", "#.#.##.#...##.########...###.#.#....#.#########.##", ".#####..#.##..#.#..##..#..#####...#..#..##...#####", "#..##..#....##.#.....####..#....#...##..###..#..#.", ".##.###..##....#..#.####..##.###..##.#.###....####", ".#.##..#.#..###..#.#.##.#..#####.#.#.#..#.####..##", "#..#.#.##.#..####....###.####.#.##..........##.##.", "..##..#.#....#####.#....#...##..#.#####.#....##.#." }

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

    Returns: 2106

  112. { "....####.#..#..#.###...#.#...##.#...#.###.#..#....", "##.#####.#.#.#....###########..##.###..##..#..#.##", "####.###.###..#..#....#.#.#.###..#.#.##.##..##.###", ".#..#.###.#####.##.#######.#.#.#..#.#.###.###.#.##", "#.####.###..###.#######..#.#.#..#####.###.#..#..##", "#.#.##...##..#.#..##..######..##..##.##.###.##.#..", "#######....##..#####.##..##..#.#.#....#.####...#..", "###.####..#.##..#..#.#..##.#########.#.#..#######.", ".######..########.#..#.#####.###.##.#.#....#.###.#", "#.###...#.#..###...#.#.#.#.####.##...#..#..#..#...", "#####...##..#...####..#..#.###.#.####.#...#.###..#", "##.##.####....#....##.##...#....#..##.##.######.##", "....#.#.########.#.####.###.###..#.#..#.#....##..#", "..#.#..#...##.#.##.##.#....#.##...#.#.#..#.#.##...", "#####.###.#...#..#.###.####..#.......#.##..#.####.", ".###.###.##..#####..####.#.##.####.########.#..#..", "#...###..##.#..##.#.###..#.###.##...##.....#.##.##", "....##..#..#.#.#..###.##....#.###.#.#.#.#.#...##..", "####.###...#..###..#.#.#..#.#...######..###.#.###.", ".###.##.###..###.#.#...##..##.#....##..###..####..", "##...###..#...#..#..###.#.######..##.###..#..##.##", "#..##.#..######.#####.#..#..#.#.##...##...###.##.#", "#.###...##..#.##.#..###.#.#..##..##..##.###.#..###", ".##.######.....#.####.#.#.######..###..###.####..#", "#.###.#.######..#.###..#.####...####..###.#...#.##", "#....###...##.###.#.##...#.#.##.##..##.####..#....", ".#.#..#.###..#....#...#.#...#.##..####..#..##...##", ".#..#.#####.#.####.##.###.##.#..######.##.#..#.###", ".#..####..##.##..###.#.####..###.##.##..####..###.", "##.#.####.#.....#.##.##..##.##.#.#....##.##.#.##.#", "######.#..#.#..##..#...#.###.#.##.#..######.##.##.", "#..#..#.##.#.##..#.##..#.##......##....#...#..#...", "..#####.##......#.#####.#.######.##.#########.##.#", ".#.#..##.#.#######.###...#.##..##..#.##..#.#.#####", "##.#.##...##.##.#..#.#####...#####...#..#.##.....#", "###.#...##......###.#...#.#####......###..#.#.#...", "#.####.##.######.####.#.#..####..######..##.####..", "##.###.##..#....#.#..####.##...#...##.#.#..##....#", ".#.##.####..##.#..#....##.#####..#..#..##....###..", "..####..#######.##.####.#.#...#.#####.##.######.##", "####...##.####.#.#..#..#.#.##..#.##.####.###.#....", "#...#..#.##.#.#..#.#...#.###.##.#.#.....####...###", ".###...##.#..####.#S..###...#.#.#.##.##.#.##..##.#", "#.#.##.#...##.#.######...###.#.#.##.##########...#", ".#####..#.##..#.#..##..#..#####...#.....##.#.#####", "#.###..#....#..#.....#####.#....#...##..####....#.", "..#.###..###...#..######..##.###.###...###....####", "##.##..#....###..#.#.##.#..#####.#.#.#..#.####..##", "#..#.#..#.#..####....#.#.####.####..........#####.", "..##..####...##.##.#....#...##..###.#####....##.#." }

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

    Returns: 2403

  113. { "....####.#..#..#.###...#.#...##.#...#.###.#..#....", "##.#####.#.#.#....###########..##.###..##..#..#.##", "####.###.###..#..#....#.#.#.###..#.#.##.##..##.###", ".#..#.###.#####.##.#######.#.#.#..#.#.###.###.#.##", "#.####.###..###.#######..#.#.#..#####.###.#..#..##", "#.#.##...##..#.#..##..######..##..##.##.###.##.#..", "#######....##..#####.##..##..#.#.#....#.####...#..", "###.####..#.##..#..#.#..##.#########.#.#..#######.", ".######..########.#..#.#.###.###.##.#.#....#.###.#", "#.###...#.#..###...#.#.#.#.####.##...#..#..#..#...", "#####...##..#...####..#..#.###.#.####.#...#.###..#", "##.##.####....#....##.##...#....#..##.##.######.##", "....#.#.########.#.####.###.###..#.#..#.#....##..#", "..#.#..#...##.#.##.##.#....#.##...#.#.#..#.#.##...", "#####.###.#...#..#.###.####..#.......#.##..#.####.", ".###.###.##..#####..####.#.##.####.########.#..#..", "#...###..##.#..##.#.###..#.###.##...##.....#.##.##", "....##..#..#.#.#..###.##....#.###.#.#.#.#.#...##..", "####.###...#..###..#.#.#..#.#...######..###.#.###.", ".###.##.###..###.#.#...##..##.#....##..###..####..", "##...###..#...#..#..###.#.######..##.###..#..##.##", "#..##.#..######.#####.#..#..#.#.##...##...###.##.#", "#.###...##..#.##.#..###.#.#..##..##..##.###.#..###", ".##.######.....#.####.#.#.######..###..###.####..#", "#.###.#.######..#.###..#.####...####..###.#...#.##", "#....###...##.###.#.##...#.#.##.##..##.####..#....", ".#.#..#.###..#....#...#.#...#.##..####..#..##...##", ".#..#.#####.#.####.##.###.##.#..######.##.#..#.###", ".#..####..##.##..###.#.####..###....##..####..###.", "##.#.####.#.....#.##.##..##.##.#.#....##.##.#.##.#", "######.#..#.#..##..#...#.###.#.##.#..######.##.##.", "#..#..#.##.#.##..#.##..#.##......##....#...#..#...", "..#####.##......#.#####.#.######.##.#########.##.#", ".#.#..##.#.#######.###...#.##..##..#.##..#.#.#####", "##.#.##...##.##.#..#.#####...#####...#..#.##.....#", "###.#...##......###.#...#.#####......###..#.#.#...", "#.####.##.######.####.#.#..####..######..##.#####.", "##.###.##..#....#.#..####.##...#...##.#.#..##.....", ".#.##.####..##.#..#....##.#####..#..#..##....###..", "..####..#######.##.####.#.#...#.#####.##.######.##", "####...##.####.#.#..#....#.##..#.##.####.###.#....", "#...#..#.##.#.#..#.#...#.###.##.#.#.....####...###", ".###...##.#..####.#S..###...#.#.#.##.##.#.##..##.#", "#.#.##.#...##.#.######...###.#.#.##.##########...#", ".#####..#.##..#.#..##..#..#####...#.....##.#.#####", "#.###..#....#..#.....#####.#....#...##..####....#.", "..#.###..###...#..######..##.###.###...###....####", "##.##..#....###..#.#.##.#..#####.#.#.#..#.####..##", "#..#.#..#.#..####....#.#.####.####..........#####.", "..##..####...##.##.#....#...##..###.#####....##.#." }

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

    Returns: 2423

  114. { "....####.#..#..#.##....#.#...##.#...#.###.#..#....", "##.#####.#.#.#....###########..##.###..#...#..####", "####.###.###..#..#....#.#.#.###..#.#.##.##..##.###", ".#..#.###.#####.##.#######.#.#.#..#.#.###.###.#.##", "#.####.###..###.#######..#.#.#..#####.###.#..#..##", "#.#.##...##..###..##..######..##..##.##.###.##.#..", "#######....##..#####.##..##..#.#.#....#.####...#..", "###.####..#..#..#..#.#..##.###########.#..#######.", ".###.##..########.#.##.#.###.###.##.#.##...#.###.#", "..###...#.#..###..##.#.#.#.#######...#..#.##..#...", "#####...###.#...####..##.#.###.#.####.#...#.###..#", "##.##.####....#....##.##...#....#..##.##.######.##", "....#.#.########.#.#.##.###.###..#.#..#.#....##..#", "..#.#..#...##.#.##.##.#....#.##...#.#.#..#.#.##...", "#####.###.#...#..#.###.####..#.......#.##..#.####.", ".###.###.##..#####..####.#.##.####.########.#..#..", "#...###..##.#..##.#..##..#.###.##...##.....#.##.##", "....##..#..#.#....###.##....#.###.#.#.#.#.#...##..", "####.###...#..###..#.#.#..#.#...######..###.#.###.", ".###.##.###..###.#.#...##..##.#....##..###..####..", "##...###......#..#..###.#.######.###.###..#..##.##", "#..##.#..######.#####.#..#..#.#.##...##...###.##.#", "#.###...##..#.##.#..###.#.#..##..##..##.###.#..###", ".##.######.....#.####.#.#.######..###..###.####..#", "#.###.#.######..#.###..#.####...####..###.#...#.##", "#....###...##.###.#.##...#.#.##.##..##.####..#....", ".#.#...####..#....#...#.#...#.##..####..#..##...##", ".#..#.#####.#.####.##.###.##.#..######.##.#..#.###", ".#..####..##.##..###.#.####..###....##..####..###.", "##.#.####.#.....#.##.##..##.##.#.#....##.##.#.##.#", "######.#..#.#..##..#...#.###.#.##.#..######.##.##.", "#..#..#.##.#.##..#.##..#.##..#...##....#...#..#...", "..#####.##......#.#####.#.######.##.#########.##.#", ".#.#..##.#.#######.###...#.#...##..#.##..#.#.#####", "###..##...##.##.#..#.#####...#####.#.#..#.##.....#", "###.#..###......###.#...#.#####..#...###..#.#.#...", "#E####.##.######.####.#.#..####..#######.##.#####.", "######.##..#....#.#..####.##...#...##.#.#..##.....", ".#.##.####..##.#.#S....##.#####..#..#..##....###..", "#.####..#######.##.####.#.#..##.#####.##.######.##", "####...##.####.#.#..#....#.##..#.##..###.###.#....", "#...#..#.##.#.#..#.##..#.###.##.#.#.....####...#.#", ".###...##.#..####.##..#.#.....#.#.##.##.#.##..##.#", "###.##.#...##.#.######...###.#.#.##.##########...#", ".#####..#.##..#.#..##..#..#####...#..#..##.#.#####", "#.###..#....#.##.....#####.#....#...##..####....#.", "..#.###..###...#..######..##.##..###...###....####", "#..##..#....###..#.#.##.#..####..#.#.#..#.####..##", "#..#.#..#.#..####....#.#.####.####....#......####.", "..##..####...##.##.#....#...###.###.#####....##.#." }

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

    Returns: 2626

  115. {"....####", "#####..#", "S#.....#", ".#.....#", ".####..#", "....####" }

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

    Returns: 20

  116. {"...E", "....", "S..." }

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

    Returns: 5

  117. {"...E", "###.", "S.#." }

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

    Returns: 9

  118. {"#####..#", "S#.....#", ".#.....#", ".####..#", "......##" }

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

    Returns: 9


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: