import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); int h = koko.nextInt(); int w = koko.nextInt(); boolean [][] moto = new boolean[h][w]; boolean[][] color = new boolean[h][w]; String[] s = new String[h]; int count =0; for(int i=0; i