Input (grade 6): The major islands of the Visays 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.