private static int calculateChociis(int bill, int chociiPrice, int wrappers) {
		int chociis = 0;
		if (chociiPrice == 0 && wrappers == 0) {
			chociis = bill;
		} else if (chociiPrice != 0 && wrappers == 0) {
			chociis = bill / chociiPrice;
		} else if (chociiPrice == 0 && wrappers != 0) {
			chociis = bill + (bill / wrappers);
		} else if (chociiPrice != 0 && wrappers != 0 && chociis <= wrappers) {
			chociis = bill / chociiPrice;
			chociis = chociis
					+ calculateChociis(bill, chociiPrice, chociis / wrappers);
		}
		return chociis;
	}