Correct any grammar errors in the following paragraph.
Her parents and grandparents are all Japanese but they were living in Brazil.
Her parents and grandparents are all Japanese, but they were living in Brazil.