Ethiopia 's foreign ministry says authorities have pardoned nearly 18,000 prisoners to mark the occasion of the country 's third millennium .