private static String processFeed(ArrayList<String> commandArray, ArrayList<City> cities, ArrayList<Mines> mines) {		
		boolean fed = false;
		String fedName = null;
		
		if (!commandArray.get(1).toLowerCase().equals("him")) {
			return invalid + commandArray.get(1);
		}	
		
		if (Integer.parseInt(commandArray.get(2)) < 0) {
			return "Sisyphus cannot consume (-) ppl";
		}		
		int numEaten = Integer.parseInt(commandArray.get(2));
		
		if (!commandArray.get(3).toLowerCase().equals("from")) {
			return invalid + commandArray.get(3);
		}
		
		for (City city : cities) {
			if (commandArray.get(4).toLowerCase().equals(city.getName().toLowerCase())) {
				city.transferPop(numEaten);
				fed = true;
				fedName = city.getName();
			}
		}
		
		for (Mines mine : mines) {
			if (commandArray.get(4).toLowerCase().equals(mine.getName().toLowerCase())) {
				mine.popEaten(numEaten);
				fed = true;
				fedName = mine.getName();
			}
		}
		
		if (!fed) {
			return "The city/mine " + commandArray.get(4) + " does not exist";
		} else {
			return numEaten + " ppl sacrificed from " + fedName;
		}
	}