The chef is trying to decode 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:-----
4
1
2
3
4

-----Sample Output:-----
2
23
34
234
345
456
2345
3456
4567
5678

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

Difficulty: UNKNOWN_DIFFICULTY

Solutions:
try:
	tc = int(input())
	for _ in range(tc):
		n = int(input())
		st = ''
		b = 1
		for i in range(1, n + 1):
			b += 1
			a = b
			for j in range(1, n + 1):
				print(a, end='')
				a += 1
			print()
except:
	pass


for _ in range(int(input())):
	n = int(input())
	main = 2
	count = 2
	for i in range(n):
		count = main
		for j in range(n):
			print(count, end='')
			count += 1
		main += 1
		print()


for i in range(int(input())):
	n = int(input())
	for j in range(0, n):
		s = ''
		for k in range(1, n + 1):
			s += str(j + k + 1)
		print(s)


for i in range(int(input())):
	k = int(input())
	count = 2
	for j in range(k):
		count = 2 + j
		for l in range(k):
			print(count, end='')
			count += 1
		print()


t = int(input())
for t in range(t):
	n = int(input())
	k = 2
	for i in range(1, n + 1):
		s = k
		for j in range(1, n + 1):
			print(s, end='')
			s += 1
		k += 1
		print()


for case in range(int(input())):
	n = int(input())
	k = 1
	i = 1
	for i in range(0, n):
		for j in range(0, n):
			k += 1
			print(k, end='')
		k = 2
		k += i
		i += 1
		print('')


from sys import *
input = stdin.readline
t = int(input())
for _ in range(t):
	k = int(input())
	x = 2
	for i in range(k):
		y = x
		for j in range(k):
			print(y, end='')
			y += 1
		x += 1
		print()


try:
	for i in range(int(input())):
		n = int(input())
		for j in range(1, n + 1):
			s = j + 1
			for k in range(1, n + 1):
				print(s, end='')
				s += 1
			print('\r')
except Exception:
	pass


def solve(n):
	for i in range(1, n + 1):
		j = i + 1
		for k in range(1, n + 1):
			print(j, end='')
			j += 1
		print()
for _ in range(int(input())):
	n = int(input())
	solve(n)


for _ in range(int(input())):
	k = int(input())
	x = 2
	for i in range(k):
		for j in range(k):
			print(x + j, end='')
		x = x + 1
		print()


t = int(input())
for i in range(t):
	k = int(input())
	ini = [x + 2 for x in range(0, k)]
	for j in range(0, k):
		print(''.join([str(x + j) for x in ini]))


try:
	t = int(input())
	for _ in range(t):
		n = int(input())
		c = 2
		for i in range(n):
			z = c
			for j in range(n):
				print(z, end='')
				z += 1
			c += 1
			print()
except EOFError:
	pass


def fk(s: str):
	s = int(s)
	for i in range(2, 1 + 1 + int(s)):
		for k in range(i, i + s):
			print(k, end='')
		print()
n = input()
n = int(n)
t = [fk(input()) for i in range(n)]


for _ in range(int(input())):
	k = int(input())
	count = 2
	s = ''
	for i in range(k):
		for j in range(k):
			s += str(count + j)
		print(s)
		s = ''
		count += 1


for _ in range(int(input())):
	n = int(input())
	if n == 1:
		print('2')
	else:
		p = 2
		for i in range(n):
			f = p
			for j in range(n):
				print(f, end='')
				f += 1
			p += 1
			print()


for _ in range(int(input())):
	n = int(input())
	c = 1
	for i in range(2, n + 2):
		for j in range(0, n):
			print(i + j, end='')
			c += 2
		print()


from sys import stdin, stdout
from math import floor, gcd, fabs, factorial, fmod, sqrt, inf, log
from collections import defaultdict as dd, deque
from heapq import merge, heapify, heappop, heappush, nsmallest
from bisect import bisect_left as bl, bisect_right as br, bisect
mod = pow(10, 9) + 7
mod2 = 998244353

def inp():
	return stdin.readline().strip()

def out(var, end='\n'):
	stdout.write(str(var) + '\n')

def outa(*var, end='\n'):
	stdout.write(' '.join(map(str, var)) + end)

def lmp():
	return list(mp())

def mp():
	return map(int, inp().split())

def smp():
	return map(str, inp().split())

def l1d(n, val=0):
	return [val for i in range(n)]

def l2d(n, m, val=0):
	return [l1d(n, val) for j in range(m)]

def remadd(x, y):
	return 1 if x % y else 0

def ceil(a, b):
	return (a + b - 1) // b

def isprime(x):
	if x <= 1:
		return False
	if x in (2, 3):
		return True
	if x % 2 == 0:
		return False
	for i in range(3, int(sqrt(x)) + 1, 2):
		if x % i == 0:
			return False
	return True
for _ in range(int(inp())):
	n = int(inp())
	for i in range(1, n + 1):
		for j in range(1, n + 1):
			print(i + j, end='')
		print()


for _ in range(int(input())):
	n = int(input())
	for i in range(1, n + 1):
		l = []
		for _ in range(i + 1, n + i + 1):
			l.append(_)
		print(*l, sep='')