Input (grade 9): The main ethnic groups of Southern Brazil are Brazilians of Italian, Portuguese, German, Polish and Ukrainian descent.
Output (grade 8): The main ethnic groups of Southern Brazil are Brazilians of Portuguese, German and Italian descent.