Retirement tax questions

IRS Form 1040 Line 4a and 4b or Line 4c and 4d