import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Sample { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); int row = Integer.parseInt(br.readLine()); int col = Integer.parseInt(br.readLine()); for(int i=0;i