int allocationRemaining(int total,Map<String,int> answer)=>total-answer.values.fold(0,(sum,value)=>sum+value);