How to report excess 2017 401-k contributions on the 2017 tax return and get them on the right line of the tax return i.e. wages, etc?

This happened because 2 different employers were withholding contributions and I went over the limit.