// 2024 IUSB Programming Competition // Round 1 Problem 3 // Grid Count // Solution by Liguo Yu import java.util.Scanner; public class round1_p3 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int m = input.nextInt(); int n = input.nextInt(); int[][] array = new int[m][n]; for (int i=0; i