After living(A) a few weeks with him, I felt(B) sorry for to be(C) so unfriendly to(D) him at first.
C (to be)
应为:being