Which sentence is punctuated correctly?

A. I learned a great many new words that day however, I do not remember what they all were.
B. I learned a great many new words that day; however, I do not remember what they all were.