

import os






def 					lowerCamelCase_     (							)						->				Optional[Any]:




	'''simple docstring'''




	with open(os.path.dirname(lowerCAmelCase__	) + '/grid.txt'	) as f:
		_UpperCamelCase   :		Dict			=						[]  # noqa: E741
		for _ in range(2_0	):
			l.append([int(lowerCAmelCase__	) for x in f.readline().split()]	)

		_UpperCamelCase   :		Any			=						0

		# right
		for i in range(2_0	):
			for j in range(1_7	):
				_UpperCamelCase   :		Dict			=						l[i][j] * l[i][j + 1] * l[i][j + 2] * l[i][j + 3]
				if temp > maximum:
					_UpperCamelCase   :		Any			=						temp

        # down
		for i in range(1_7	):
			for j in range(2_0	):
				_UpperCamelCase   :		List[Any]			=						l[i][j] * l[i + 1][j] * l[i + 2][j] * l[i + 3][j]
				if temp > maximum:
					_UpperCamelCase   :		str			=						temp

        # diagonal 1
		for i in range(1_7	):
			for j in range(1_7	):
				_UpperCamelCase   :		Union[str, Any]			=						l[i][j] * l[i + 1][j + 1] * l[i + 2][j + 2] * l[i + 3][j + 3]
				if temp > maximum:
					_UpperCamelCase   :		Optional[Any]			=						temp

        # diagonal 2
		for i in range(1_7	):
			for j in range(3							,       2_0	):
				_UpperCamelCase   :		Any			=						l[i][j] * l[i + 1][j - 1] * l[i + 2][j - 2] * l[i + 3][j - 3]
				if temp > maximum:
					_UpperCamelCase   :		Optional[int]			=						temp
		return maximum


if __name__ == "__main__":
							print(solution())







from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
from .squad import SquadExample, SquadFeatures, SquadVaProcessor, SquadVaProcessor, squad_convert_examples_to_features
from .utils import DataProcessor, InputExample, InputFeatures, SingleSentenceClassificationProcessor
from .xnli import xnli_output_modes, xnli_processors, xnli_tasks_num_labels




