Text this: Turnpike optimality in input-output systems