What is the subject in the sentence:

Third graders are very polite and they just finished learning all their manners.

Since this sentence has two independent clauses, it has two subjects: third graders and they.