In which sentence is the appositive phrase punctuated correctly?
A .Shakespeare the great writer penned many famous sonnets.
B.Shakespeare, the great writer, penned many famous sonnets.
C.Shakespeare the great writer, penned many famous sonnets.
D.Shakespeare, the great writer penned many famous sonnets.