{ll@n,s=0,c=101;VI@a(n-1);rep(i,n-1)s+=a[i];rep(i,101)if((s+i)%n)c--;wt(c);}