Input (grade 13): Panama is located in Central America, bordering both the Caribbean Sea and the Pacific Ocean, between Colombia and Costa Rica.
Output (grade 8): Countries bordering Panama are Costa Rica in the Northwest and Colombia in the Southeast. Panama is between the Caribbean Sea and the Pacific Ocean.