Retirement tax questions

Client has a 1099-R with a code 4 in box 7. I am attempting to exempt $10,000 for first time home purchase. System does not respond to the deduction. Can anyone help?