How does the sentence end? See options at the end

Nick is bad at writing letters, but William is great at them. This is due to 

Available options: (A). Nick preferring math class. (B). William preferring math class.
(A).