Ola Clason's hardware store is an old company where most of the work is still done the old-fashioned way. Among other things, the company is the one and only supplier of marble house numbers. These house numbers have become extremely popular with construction companies, especially those building luxury estates. This is great for Ola Clason, but it also creates a small problem: Nisse, who manages the incoming orders, has become a bottleneck in the business.
Most orders look like "Coconut Drive 200, 202, 204, ..., 220", which means every even number between 200 and 220. Nisse's job is to convert such an order into a list of the individual digits (and other symbols) that must be produced.
Your task is to write a program that automates Nisse's work for orders that contain only positive integer house numbers. Nisse will keep handling all special orders (those that include non-digit symbols) by hand.
The first line of input contains a single positive integer $n$, the number of orders that follow.
Each order is given as follows:
A house number never has more than five digits. After the last house-number specification line of an order, the next order follows, if there is one.
For each order, the output consists of 13 lines.
Make X digit Y, where $X$ is how many copies of digit $Y$ must be made.In total Z digits. If exactly one digit must be produced, the line reads In total 1 digit instead, so that it stays grammatically correct.