Area of the room#4001

Area of the room

1 second
128 megabytes
Easy

Find the area of the room in the square labyrinth.

Input

The first line contains the size (3 \le n \le 10) of labyrinth. Each of the next lines contains characters describing the labyrinth (symbol "." denotes the empty cell, symbol "*" denotes the wall). The last line contains two numbers - the row and column numbers for the cell that locates in the room which area should be found. It is guaranteed that this cell is empty and the labyrinth is surrounded by walls from all sides. The rows and columns of the labyrinth are numbered starting from one.

Output

Print the number of empty cells in a given room.

prb4001.gif

Examples

Example 1

Loading
Loading