would I have it anything if had . I you known said would not bother

Rearrange the following words to create the most logical and grammatically correct sentence.

would I have it anything if had . I you known said would not bother

A. Would I have not said anything if you had known it would bother I?
B. I would not have said anything if I had known it would bother you.
C. Had I known if it would bother you I would not have said anything.
D. If I had known it would not bother you I would have said anything.

Answer - B