Input (grade 6): The major islands of the Visayas are Panay, Negros, Cebu, Bohol, Leyte, and Samar.
Output (grade 6): Major islands in the Visayas are Samar, Leyte, Bohol, Cebu, Panay, Palawan, and Masbate.