Retirement tax questions

Anything after December 31 is for the new year. To answer your question,  claim it for 2017.