output total probability