Given a 1-D integer array Z, negate all elements that are strictly between 3 and 8. Return the result.
Z
solve(...)