n,*d=A.m &:toi c=s=0 n.e.rh{|x|x.e{|i|s+=1if(p=d[i,2])!=d[i,2]=p.so s'compare =%3d swap =%3d data:'%[c+=1,s]+'%3s'*n%d}}