How do you get form 8949 box "B" to say "Inherited" for the sale of your primary residence if you have a step up in basis?

MFJ, lived in home for 4 years with spouse. Never taken the exclusion prior.