President Jose Mujica of Uruguay says his country will take five prisoners from the Guantanamo Bay prison in Cuba.