Input (grade 10): He has three grandchildren, Jennifer, Gabriel and Matthew Swaggart, and three great-grandchildren, Samantha, Abby and Ryder Swaggart.
Output (grade 10): He has three grandchildren, Jennifer, Gabriel and Matthew Swaggart, and has two great-grandchildren, Samantha and Ryder Swaggart.