In which sentence is the adverb clause
punctuated correctly?

A. After cooking dinner Oliver was exhausted.
B. David was hungry, after swimming in the sun.
C. After running for five miles, Lucy was very tired.