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

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

-----Output:-----
For each test case, output as the pattern.

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

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

-----Sample Output:-----
0
*1
**2
0
*1
**2
***3
0
*1
**2
***3
****4

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

Difficulty: UNKNOWN_DIFFICULTY

Solutions:
t = int(input())
for i in range(0, t):
	my_ip = int(input().strip())
	for xyz in range(my_ip + 1):
		for abc in range(0, xyz + 1):
			if abc == xyz:
				print(xyz, end='')
			else:
				print('*', end='')
		print()


for u in range(int(input().strip())):
	n = int(input().strip())
	for i in range(n + 1):
		for space in range(0, i + 1):
			if space == i:
				print(i, end='')
			else:
				print('*', end='')
		print()


for _ in range(int(input())):
	n = int(input())
	print(0)
	x = 1
	for i in range(n):
		print('*' * x + str(x))
		x += 1


try:
	for _ in range(int(input())):
		n = int(input())
		print(0)
		for i in range(1, n + 1):
			print('*' * i + str(i))
except:
	pass


for i in range(int(input())):
	s = int(input())
	for i in range(0, s + 1):
		for k in range(i):
			print('*', end='')
		print(i)


from sys import *
input = stdin.readline
t = int(input())
for _ in range(t):
	n = int(input())
	for i in range(n + 1):
		d = i
		for j in range(i + 1):
			if d > 0:
				print('*', end='')
				d -= 1
			else:
				print(j, end='')
		print()


t = int(input())
while t > 0:
	t -= 1
	n = int(input())
	a = []
	print(0)
	for i in range(1, n + 1):
		for j in range(i + 1):
			if j == i:
				print(i, end='')
			else:
				print('*', end='')
		print()


n = int(input())
for i in range(n):
	a = int(input())
	b = ''
	for j in range(0, a + 1):
		b = ''
		b = b + '*' * j + str(j)
		print(b)


for i in range(int(input())):
	n = int(input())
	for i in range(n + 1):
		temp = i
		while temp != 0:
			print('*', end='')
			temp -= 1
		print(i, end='')
		print()


for _ in range(int(input())):
	n = int(input())
	for i in range(n + 1):
		print('*' * i + str(i))


for _ in range(int(input())):
	starcount = 0
	n = int(input())
	for i in range(n + 1):
		print(i * '*', end='')
		print(i)