How can I recover moving expenses that employer paid for in 2017 and I am now leaving the company in 2018 and have to pay back all the moving expenses?

My company paid for my move in  2017.  I got temporary housing, a lump sum and a moving company moved my stuff.  I didn't stay the required 18 months and now I have to pay the company back $24,000 by the end of 2018.  Do I get to claim anything on my 2018 tax return or can I adjust anything on the 2017 tax return?