Which of the following are independent clauses? Select all that apply.

they walked to class
he listened to his friend
several books for class
be right back
listened to his friend
walked to class