It had a Caribbean touch and was sung in different languages by a group of young people.
Pope Francis met with the President of Panama, and spoke to local authorities and ambassadors residing in the country.
The pope delivered a long and forceful speech to the bishops of Central America.
He celebrated World Youth Day in a rehabilitation center of around to 200 young prisoners.