Codeforces Round #460 (Div. 2)-A Supermaket(贪心)

NoSuchKey