Yield of residual nuclei after antiproton annihilation in Ba