public boolean takeFruit(String fruitName) {
        Integer curQuantity = entry.get(fruitName);
        if (curQuantity == null) {
            throw new IllegalArgumentException("Not found fruit with name: " + fruitName);
        }
        else if (curQuantity > 0) {
            entry.put(fruitName, curQuantity - 1);
            return true;
        }
        return false;
    }
public boolean takeFruit(String fruitName)