Fort Moo#10601

Fort Moo

1 second
128 megabytes
Easy

Bessie is planning to build a rectangular fort.

She has already chosen a site: a rectangular piece of land measuring meters by meters. Unfortunately, the site contains some swampy areas where construction is not possible. Please help Bessie determine the largest area she can cover with her fort such that it does not overlap any of the swampy areas.

Input

The first line contains two integers and m~(1 \le n, m \le 200). The next lines each contain characters, describing the site as a grid. A character '' represents a grassy area, while '' represents a swampy area.

Output

Print the maximum area that Bessie can cover with her fort.

Examples

In the example, the placement of the fort is indicated by '':

.ffff.
.fX.fX
Xf.Xf.
.ffff.
..X...

Example 1

Loading
Loading