
import os




def 							a		(				):


				'''simple docstring'''
				with open(os.path.dirname(snake_case__   ) + '''/grid.txt'''   ) as f:
								lowercase_	    =   []  # noqa: E741
								for _ in range(20   ):
												l.append([int(snake_case__   ) for x in f.readline().split()]   )

								lowercase_	    =   0

								# right
								for i in range(20   ):
												for j in range(17   ):
																lowercase_	    =   l[i][j] * l[i][j + 1] * l[i][j + 2] * l[i][j + 3]
																if temp > maximum:
																				lowercase_	    =   temp

        # down
								for i in range(17   ):
												for j in range(20   ):
																lowercase_	    =   l[i][j] * l[i + 1][j] * l[i + 2][j] * l[i + 3][j]
																if temp > maximum:
																				lowercase_	    =   temp

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

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


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






from __future__ import annotations

from math import pi, sqrt




def 							a		(				snake_case__:   float		,  snake_case__:   float   ):


				'''simple docstring'''

				if inductance <= 0:
								raise ValueError('''Inductance cannot be 0 or negative'''   )

				elif capacitance <= 0:
								raise ValueError('''Capacitance cannot be 0 or negative'''   )

				else:
								return (
								    "Resonant frequency",
								    float(1 / (2 * pi * (sqrt(inductance * capacitance   )))   ),
								)


if __name__ == "__main__":
						import doctest

						doctest.testmod()




