import java.util.*; public class Main { public static void main(String args[]){ Scanner input=new Scanner(System.in); int m=input.nextInt(); int n=input.nextInt(); char a[][]=new char[m][n]; a[0][0]=65; for(int i=0;i