1099-R Question

My wife passed away last year and I received her 401K money.  I got a 1099R in the mail and I'm not sure how to enter it in my taxes.  How should i enter it to save the most on taxes?  It was not rolled over into any other retirement plan.  Thanks