Polycarp was given a row of tiles. Each tile contains one lowercase letter of the Latin alphabet. The entire sequence of tiles forms the string $s$.

In other words, you are given a string $s$ consisting of lowercase Latin letters.

Initially, Polycarp is on the first tile of the row and wants to get to the last tile by jumping on the tiles. Jumping from $i$-th tile to $j$-th tile has a cost equal to $|index(s_i) - index(s_j)|$, where $index(c)$ is the index of the letter $c$ in the alphabet (for example, $index($'a'$)=1$, $index($'b'$)=2$, ..., $index($'z'$)=26$) .

Polycarp wants to get to the $n$-th tile for the minimum total cost, but at the same time make maximum number of jumps.

In other words, among all possible ways to get to the last tile for the minimum total cost, he will choose the one with the maximum number of jumps.

Polycarp can visit each tile at most once.

Polycarp asks you to help — print the sequence of indices of string $s$ on which he should jump.


-----Input-----

The first line of the input contains an integer $t$ ($1 \le t \le 10^4$) — the number of test cases in the test.

Each test case is given by the string $s$ ($2 \le |s| \le 2 \cdot 10^5$), where $|s|$ — is the length of string $s$. The string $s$ consists of lowercase Latin letters.

It is guaranteed that the sum of string lengths $s$ over all test cases does not exceed $2 \cdot 10^5$.


-----Output-----

The answer to each test case consists of two lines.

In the first line print two integers $cost$, $m$, where $cost$ is the minimum total cost of the path, and $m$ is the maximum number of visited tiles Polycarp can make to get to $n$-th tiles for the minimum total cost $cost$ (i.e. the number of jumps is $m-1$).

In the next line print $m$ different numbers $j_1, j_2, \dots, j_m$ ($1 \le j_i \le |s|$) — the sequence of indices of the tiles Polycarp will jump on. The first number in the sequence must be $1$ (that is, $j_1=1$) and the last number must be the value of $|s|$ (that is, $j_m=|s|$).

If there are multiple answers, print any of them.


-----Examples-----

Input
6
logic
codeforces
bca
aaaaaaaaaaa
adbaadabad
to
Output
9 4
1 4 3 5
16 10
1 8 3 4 9 5 2 6 7 10
1 2
1 3
0 11
1 8 10 4 3 5 7 2 9 6 11
3 10
1 9 5 4 7 3 8 6 2 10
5 2
1 2


-----Note-----

In the first test case, the required path corresponds to the picture:

In this case, the minimum possible total cost of the path is achieved. Since $index($'l'$)=12$, $index($'o'$)=15$, $index($'g'$)=7$, $index($'i'$)=9$, $index($'c'$)=3$, then the total cost of the path is $|12-9|+|9-7|+|7-3|=3+2+4=9$.

Difficulty: EASY

Solutions:
from collections import defaultdict
for i in range(int(input())):
	s = input()
	d = defaultdict(list)
	for j in range(len(s)):
		d[s[j]].append(j + 1)
	dif = ord(s[0]) - ord(s[-1])
	l = list(d.keys())
	ans = []
	if dif < 0:
		l.sort()
		for j in l:
			if j > s[-1]:
				break
			if j < s[0]:
				continue
			ans.extend(d[j])
	else:
		l.sort(reverse=True)
		for j in l:
			if j < s[-1]:
				break
			if j > s[0]:
				continue
			ans.extend(d[j])
	print(abs(dif), len(ans))
	for j in ans:
		print(j, end=' ')
	print()


import bisect

def resolve(lines_1):
	start_digit = ord(lines_1[0])
	end_digit = ord(lines_1[-1])
	hash_dict = {}
	for index in range(len(lines_1)):
		digit = ord(lines_1[index])
		if digit in hash_dict.keys():
			hash_dict[digit].append(index + 1)
		else:
			hash_dict[digit] = [index + 1]
	if start_digit == end_digit:
		cost = 0
		digit_length = len(hash_dict[start_digit])
		return (cost, digit_length, hash_dict[start_digit])
	elif start_digit < end_digit:
		cost = end_digit - start_digit
		res = []
		for index in range(start_digit, end_digit + 1):
			if index in hash_dict.keys():
				res.extend(hash_dict[index])
		return (cost, len(res), res)
	else:
		cost = start_digit - end_digit
		res = []
		for index in range(start_digit, end_digit - 1, -1):
			if index in hash_dict.keys():
				res.extend(hash_dict[index])
		return (cost, len(res), res)

def read_input():
	lines_1 = input()
	return lines_1
case_num = int(input())
if not case_num == 0:
	for index in range(case_num):
		lines_1 = read_input()
		(cost, m, res_list) = resolve(lines_1)
		print(cost, m)
		for item in res_list:
			print(str(item) + ' ', end='')
		print()


from sys import stdin
rd = stdin.readline
for _ in range(int(rd())):
	s = rd().strip()
	cost = abs(ord(s[0]) - ord(s[-1]))
	if s[0] > s[-1]:
		l = sorted(zip(s, range(len(s))), reverse=True, key=lambda x: (x[0], -x[1]))
	else:
		l = sorted(zip(s, range(len(s))))
	(x, y) = (l.index((s[-1], len(s) - 1)), l.index((s[0], 0)))
	visits = x - y + 1
	print(cost, visits)
	for i in range(y, x + 1):
		print(l[i][1] + 1, end=' ')
	print()


testcases = int(input().strip())
for _ in range(testcases):
	string = input().strip()
	n = len(string)
	(s, e) = (string[0], string[-1])
	l = []
	for i in range(n):
		if s <= e and string[i] >= s and (string[i] <= e) or (s > e and string[i] <= s and (string[i] >= e)):
			l.append(i + 1)
	if s <= e:
		l.sort(key=lambda x: string[x - 1])
	else:
		l.sort(reverse=True, key=lambda x: string[x - 1])
	print(abs(ord(e) - ord(s)), len(l))
	[print(i, end=' ') for i in l]
	print()


for _ in range(int(input())):
	s = input()
	n = len(s)
	arr = [(ord(s[i]), i + 1) for i in range(1, n - 1)]
	first = ord(s[0])
	last = ord(s[-1])
	mn = abs(first - last)
	if first <= last:
		arr.sort()
	else:
		arr.sort(reverse=True)
	ans = [1]
	for (i, j) in arr:
		if i >= first and i <= last:
			ans.append(j)
		elif i <= first and i >= last:
			ans.append(j)
	ans.append(n)
	print(mn, len(ans))
	for i in ans:
		print(i, end=' ')
	print()


def p(c):
	return ord(c) - ord('a')
t = int(input())
for _ in range(t):
	s = input()
	n = len(s)
	pos = [[] for i in range(26)]
	for i in range(n):
		pos[p(s[i])].append(i)
	cost = abs(p(s[n - 1]) - p(s[0]))
	m = len(pos[p(s[n - 1])])
	step = 1 if p(s[n - 1]) > p(s[0]) else -1
	for i in range(p(s[0]), p(s[n - 1]), step):
		if pos[i]:
			m += len(pos[i])
	print(cost, m)
	for i in range(p(s[0]), p(s[n - 1]), step):
		if pos[i]:
			for j in pos[i]:
				print(j + 1, end=' ')
	for j in pos[p(s[n - 1])]:
		print(j + 1, end=' ')
	print()