title: "2979: Most Expensive Item That Can Not Be Bought" tags: - Math - DynamicProgramming - NumberTheory