//interactive ll@T,@N,@M;vectorA(N+1,9);rep(T){wt(A);string@K,@S,@P,@R;}