



"""simple docstring"""






import os




def 			snake_case		(		)						->				List[str]:
  with open(os.path.dirname(lowerCAmelCase_	) + '''/grid.txt'''	) as f:
    _snake_case   	=      []  # noqa: E741
    for _ in range(20	):
      l.append([int(lowerCAmelCase_	) for x in f.readline().split()]	)

    _snake_case   	=      0

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

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

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

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


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











'''simple docstring'''


from collections import defaultdict
def 						lowerCamelCase__   (				a    ,	a							):
						__snake_case						 =   first_str.lower().strip()
						__snake_case						 =   second_str.lower().strip()

						# Remove whitespace
						__snake_case						 =   first_str.replace(' '    ,	''							)
						__snake_case						 =   second_str.replace(' '    ,	''							)

						# Strings of different lengths are not anagrams
						if len(a							) != len(a							):
												return False

						# Default values for count should be 0
						__snake_case						 =   defaultdict(a							)

						# For each character in input strings,
						# increment count in the corresponding
						for i in range(len(a							)							):
												count[first_str[i]] += 1
												count[second_str[i]] -= 1

						return all(_count == 0 for _count in count.values()							)


if __name__ == "__main__":
	from doctest import testmod

	testmod()
	_lowercase  =			input("""Enter the first string """).strip()
	_lowercase  =			input("""Enter the second string """).strip()

	_lowercase  =			check_anagrams(input_a, input_b)
	print(f'''{input_a} and {input_b} are {'' if status else 'not '}anagrams.''')

