#include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
#include<cmath>
#include<string>
using namespace std;
const int maxn=(int)1e5+7;
char str[maxn];
string ans[5];
int main()
{
	int n;
	scanf("%d",&n);
	scanf("%s",str);
	ans[0]="WW";
	ans[1]="WS";
	ans[2]="SS";
	ans[3]="SW";
	for(int i=0;i<4;i++)
	{
		//int k=2;
		for(int j=1;j<n;j++)
		{
			if(ans[i][j]=='W')
			{
				if(str[j]=='o'){
					if(ans[i][j-1]=='W')ans[i]+='S';
					else ans[i]+='W';
				}
				else {
					if(ans[i][j-1]=='W')ans[i]+='W';
					else ans[i]+='S';
				}
			}
			else {
				if(str[j]=='o'){
					if(ans[i][j-1]=='W')ans[i]+='W';
					else ans[i]+='S';
				}
				else {
					if(ans[i][j-1]=='W')ans[i]+='S';
					else ans[i]+='W';
				}
			}
		}
		if(ans[i][n]==ans[i][0])
		{
			ans[i][n]=0;
			cout<<ans[i]<<endl;
			break;
		}
		if(i==3)printf("-1\n");
	}
	return 0;
} 