You can print as many of each as you want and stack them one after the other in a line.
After that, print an End piece and put it at the end of the line.