Input (grade 10): Gaya confederacy, an ancient Korean league of statelets
Output (grade 11): Gaya Confederacy, an ancient Korean league of chiefdoms.