n-r(A)