private static int totalChoc(int n, int c, int m) {
		int total = n/c;
		int currWrappers = total;
		int overallTotal = total;
		
		while (currWrappers >= m) {
			overallTotal += (currWrappers/m);
			currWrappers = (currWrappers/m) + (currWrappers%m);
		}
		return overallTotal;
	}