* Line 1: The maximum amount of grass Bessie can reach, if she chooses
the best possible initial location (the location from which
she can reach the most grass).
In the example above, Bessie can reach 342 total units of grass if she
locates herself in the middle of the grid.