The polynomial f(x)=x4+ax3+bx2+cx+d has real coefficients, and f(1+i)=f(3i)=0. What is a+b+c+d?
0
1
4
9
16