Which sentence uses the underlined word correctly?

A.) That group of girls doesn’t work GOOD together.
B.) That group of girls doesn’t work WELL together.