Which person is they referring to in the following sentence?
The children played games because they were bored.
The children