uva; solve "Cost Cutting" from Volume 117