Remove all grammatical errors from this text: At school and at home, they have to cope with lots of problems and try to solve them.
At school, at home they have to cope with lots of problems and try to solve them.