Which of the following describes what it means when subjects and verbs agree

They have the same ending
They describe the same things
They are not separated by interrupting words
They are both singular or both plural

They are both singular or both plural