2017 UNCO Math Contest II Problems/Problem 5