// 119.cpp http://acm.uva.es/p/v1/119.html
//
// Solution to ACM problem #119 - "Greedy Gift Givers"
//
// Matthew Eagar - meagar@gmail.com
// Verified to work as of Feb 19 / 2005
//
// Updates for standards-compliance and best-practices on August 20 / 2007
// Verified to work as of August 20 / 2007
#include
#include
#include