These problems were borrowed from the 2006 ACM Greater New York Regional Programming Contest. Please enjoy them!