import java.io.*; import java.math.*; import java.text.*; import java.util.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[][] matrix = new int[6][6]; // hardcoded dimensions for (int i = 0; i max) { max = curr; } } } // fix up hardcoded hourglass shape indexes System.out.println(max); } }