public String getWinner(String[] names, String[] votes) {
		int count[] = new int[names.length];
		for (int i = 0; i < names.length; i++) {
			int index = getIndex(names, votes[i]);
			if (index != i) {
				count[index]++;
			}
		}
		int[] copy = count.clone();
		Arrays.sort(copy);
		// find unique max
		if (copy[count.length - 1] == copy[count.length - 2]) {
			// same
			return "";
		}
		for (int i = 0; i < copy.length; i++) {
			if (copy[copy.length - 1] == count[i]) {
				return names[i];
			}
		}
		return "";

	}