I have a statement of annuity paid federal pension box 2a unknown box 5 has an amount does the software deduct box 5 from gross income of do i do it myself

Do i deduct box 5 from box 1 to put into box 2a or does the software automatically calculate net income?