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<stdio.h>
#include<algorithm>
#include<vector>
using namespace std;
char s[200010];
int a[200010],st[200010],ed[200010],ans[200010],M,lb;
vector<int>in[200010];
int p[200010],N;
int main(){
	int n,i,j,sum,tmp;
	bool flag;
	scanf("%d%s",&n,s+1);
	a[0]=1;
	for(i=1;s[i];i++)a[i]=s[i]-'0';
	n<<=1;
	for(i=0;i<n;i++){
		if(!a[i]&&a[(i+1)%n]){
			M++;
			st[M]=i;
			for(j=(i+1)%n;a[j];j=(j+1)%n){
				if(a[(j+1)%n])in[M].push_back(j);
			}
			ed[M]=(j-1+n)%n;
		}
	}
	#define wa {puts("No");return 0;}
	if(!M){
		n>>=1;
		if(n&1)wa
		puts("Yes");
		for(i=1;i<=n;i+=2)printf("%d %d %d %d ",i,i+1,i,i+1);
		return 0;
	}
	sum=0;
	for(i=1;i<=M;i++)sum+=in[i].size();
	if(sum&1)wa
	if(sum&2){
		tmp=0;
		for(i=1;i<=M;i++)tmp+=!in[i].empty();
		if(tmp==1)wa
		for(i=1;in[i].empty();i++);
		for(j=i+1;in[j].empty();j++);
		swap(ed[i],ed[j]);
		ans[*in[i].rbegin()]=ans[*in[j].rbegin()]=++lb;
		in[i].pop_back();
		in[j].pop_back();
	}
	for(i=1;i<M;i++)ans[ed[i]]=ans[st[i+1]]=++lb;
	ans[ed[M]]=ans[st[1]]=++lb;
	for(i=1;i<=M;i++){
		for(int x:in[i])p[++N]=x;
	}
	for(i=1;i<=N;i+=4){
		ans[p[i]]=ans[p[i+2]]=++lb;
		ans[p[i+1]]=ans[p[i+3]]=++lb;
	}
	flag=0;
	for(i=0;i<n;i++){
		if(!ans[i]){
			flag=!flag;
			if(flag)lb++;
			ans[i]=lb;
		}
	}
	puts("Yes");
	for(i=0;i<n;i++)printf("%d ",ans[i]);
}