import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); int count = 0; for(int i=0; i<8; i++){ String t = sc.next(); String [] arr = t.split(""); for(int j=0; j