2010 UNCO Math Contest II Problems/Problem 4