After range insert operations, print each basket.
N, M, and M range assignments i j k.
Print ball numbers; 0 means empty.