Phần thực của số phức

Câu hỏi: Phần thực của số phức w=1+1+i+1+i2+1+i3+...+1+i1999 bằng

A. 1

B. 0