public String identify(String[] plates) {

		for (int i = 0; i < plates[0].length(); i++) {
			int one = 0;
			int zero = 0;

			for (int j = 0; j < plates.length; j++) {
				if (plates[j].charAt(i) == '1') {
					one++;
				} else {
					zero++;
				}
			}
			if (one < 2 || zero < 1) {
				return "NO";
			}
		}
		return "YES";
	}