P14672 [CodeChef] ITGUY12
普及
题目描述

The chef is trying to solve some pattern problems, Chef wants your help to code it. Chef has one number K to form new pattern. Help the chef to code this pattern problem.

-----Input:-----
- First line will contain $T$, number of testcases. Then the testcases follow.
- Each testcase contains of a single line of input, one integer $K$.

-----Output:-----
For each testcase, output as pattern.

-----Constraints-----
- $1 \leq T \leq 100$
- $1 \leq K \leq 100$

-----Sample Input:-----
2
2
4

-----Sample Output:-----
2
12
012
12
2

4
34
234
1234
01234
1234
234
34
4

-----EXPLANATION:-----
No need, else pattern can be decode easily.

输入格式

见题面

输出格式

见题面

样例输入
['2', '2', '4']
样例输出
['2', '12', '012', '12', '2', '4', '34', '234', '1234', '01234', '1234', '234', '34', '4']