Which of the following is an example of a gerund as a subject?

They talked about going to the beach
Running is good exercise
He dislikes doing chores
She enjoys reading books

Running is good exercise