Please follow https://www.irs.gov/instructions/i1040s8/ch01.html.