






import os



def       _SCREAMING_SNAKE_CASE    (			)    ->   Union[str, Any]:





    """simple docstring"""

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

        __A       =						0

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

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

        # diagonal 1
        for i in range(1_7     ):
            for j in range(1_7     ):
                __A       =						l[i][j] * l[i + 1][j + 1] * l[i + 2][j + 2] * l[i + 3][j + 3]
                if temp > maximum:
                    __A       =						temp

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


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












import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


__a   :							Any						= logging.get_logger(__name__)


class    __lowercase   (						lowercase_	):







     '''simple docstring'''




     def __init__(					self							:      Union[str, Any]			,						*UpperCamelCase_							:      Tuple			,						**UpperCamelCase_							:      Tuple					):


         """simple docstring"""



         warnings.warn(
             """The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
             """ use DeiTImageProcessor instead."""			,						UpperCamelCase_			,						)
         super().__init__(*UpperCamelCase_			,						**UpperCamelCase_					)




