Problem: There is a bridge that connects the left and right banks of a river. There are 2 N doors placed at different positions on this bridge, painted in some colors. The colors of the doors are represented by integers from 1 through N. For each k (1 \leq k \leq N), there are exactly two doors painted in Color k.

Snuke decides to cross the bridge from the left bank to the right bank. He will keep on walking to the right, but the following event will happen while doing so:

* At the moment Snuke touches a door painted in Color k (1 \leq k \leq N), he teleports to the right side of the other door painted in Color k.



It can be shown that he will eventually get to the right bank.

For each i (1 \leq i \leq 2 N - 1), the section between the i-th and (i + 1)-th doors from the left will be referred to as Section i. After crossing the bridge, Snuke recorded whether or not he walked through Section i, for each i (1 \leq i \leq 2 N - 1). This record is given to you as a string s of length 2 N - 1. For each i (1 \leq i \leq 2 N - 1), if Snuke walked through Section i, the i-th character in s is `1`; otherwise, the i-th character is `0`.

<image>

Figure: A possible arrangement of doors for Sample Input 3

Determine if there exists an arrangement of doors that is consistent with the record. If it exists, construct one such arrangement.

Constraints

* 1 \leq N \leq 10^5
* |s| = 2 N - 1
* s consists of `0` and `1`.

Input

Input is given from Standard Input in the following format:


N
s


Output

If there is no arrangement of doors that is consistent with the record, print `No`. If there exists such an arrangement, print `Yes` in the first line, then print one such arrangement in the second line, in the following format:


c_1 c_2 ... c_{2 N}


Here, for each i (1 \leq i \leq 2 N), c_i is the color of the i-th door from the left.

Examples

Input

2
010


Output

Yes
1 1 2 2


Input

2
001


Output

No


Input

3
10110


Output

Yes
1 3 2 1 2 3


Input

3
10101


Output

No


Input

6
00111011100


Output

Yes
1 6 1 2 3 4 4 2 3 5 6 5

Solution (in CPP):

Solution:
#include <cstdio>
#include <vector>
void erase(std::vector<int> &vec, int val) { vec.erase(std::lower_bound(vec.begin(), vec.end(), val)); }
int ans[200005];
char str[200005];
std::vector<int> vec_00, vec_01, vec_10, vec_11;
int main()
{
	// freopen("B.in", "r", stdin);
	int n, cur = 0;
	scanf("%d%s", &n, str + 1);
	str[0] = str[n << 1] = '1';
	for (int i = 0; i < n << 1; i++)
	{
		if (str[i] == '0')
			(str[i + 1] == '0' ? vec_00 : vec_01).push_back(i);
		else
			(str[i + 1] == '0' ? vec_10 : vec_11).push_back(i);
	}
	int m = vec_11.size();
	if (m & 1)
	{
		puts("No");
		return 0;
	}
	if (m & 3)
	{
		int a = 0;
		while (a <= n << 1 && str[a] == '1')
			a++;
		if (a > n << 1)
		{
			puts("No");
			return 0;
		}
		while (true)
		{
			while (a < n << 1 && str[a + 1] == '0')
				a++;
			if (a >= n << 1)
			{
				puts("No");
				return 0;
			}
			if (a + 2 <= n << 1 && str[a + 2] == '1')
				break;
			a += 2;
		}
		int b = a + 1;
		while (b <= n << 1 && str[b] == '1')
			b++;
		if (b > n << 1)
		{
			puts("No");
			return 0;
		}
		int pos = 0;
		while (pos < m && vec_11[pos] > a && vec_11[pos] < b - 1)
			pos++;
		if (pos >= m)
		{
			puts("No");
			return 0;
		}
		while (pos + 1 < m && vec_11[pos + 1] < a)
			pos++;
		int x = a, y = b - 1, z = a + 1, w = vec_11[pos];
		ans[x] = ans[y] = cur++;
		erase(vec_01, x);
		erase(vec_10, y);
		ans[z] = ans[w] = cur++;
		erase(vec_11, z);
		erase(vec_11, w);
	}
	for (int i = 0; i < vec_01.size(); i++)
		ans[vec_01[i]] = ans[vec_10[i]] = cur++;
	for (int i = 0; i < vec_00.size(); i += 2)
		ans[vec_00[i]] = ans[vec_00[i + 1]] = cur++;
	for (int i = 0; i < vec_11.size(); i += 4)
	{
		ans[vec_11[i]] = ans[vec_11[i + 2]] = cur++;
		ans[vec_11[i + 1]] = ans[vec_11[i + 3]] = cur++;
	}
	puts("Yes");
	for (int i = 0; i < n << 1; i++)
		printf("%d%c", ans[i] + 1, " \n"[i + 1 == n << 1]);
	return 0;
}