2016 UNCO Math Contest II Problems/Problem 7