using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text.RegularExpressions;
using System.Text;
using System.Diagnostics;
using static System.Math;
using static System.Array;

//var input = Console.ReadLine().Split().Select(int.Parse).ToArray();
namespace AtCoderSolve
{

    class Solve
    {
        const int mod = 1000000007;
        const int INF = 2147483647;
        const long SINF = 9223372036854775807;

        static int N;
        static string s;
        
        

        public static void Input()
        {
            var cin = new Scanner();
            N = int.Parse(Console.ReadLine());
            s = Console.ReadLine();
        }

        static void Main(string[] args)
        {
            Input();

            //var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
            //Console.SetOut(sw);

            var ans = new StringBuilder();
            
            for (var j = 0; j < 1 << 2; j++)
            {
                ans.Clear();
                for(var i = 0; i < 2; i++)
                {
                    if ((j & 1 << i) != 0)
                    {
                        ans.Append("W");
                    }
                    else
                    {
                        ans.Append("S");
                    }
                }

                for (var i = 1; i < N; i++)
                {
                    string next;


                    if (s[i] == 'o')
                    {
                        if (ans[i - 1] == 'S')
                        {
                            next = (ans[i] == 'S' ? "S" : "W");
                        }
                        else
                        {
                            next = (ans[i] == 'S' ? "W" : "S");
                        }
                    }
                    else
                    {
                        if (ans[i - 1] == 'S')
                        {
                            next = (ans[i] == 'S' ? "W" : "S");
                        }
                        else
                        {
                            next = (ans[i] == 'S' ? "S" : "W");
                        }
                    }
                    if (i != N - 1) { ans.Append(next); }
                    else
                    {
                        if (next != ans[0].ToString()) { continue; }
                        if (s[0] == 'o')
                        {
                            if (ans[0] == 'S')
                            {
                                if (ans[N - 1] == ans[1])
                                {
                                    Console.WriteLine(ans);
                                    return;
                                }
                            }
                            else
                            {
                                if (ans[N - 1] != ans[1])
                                {
                                    Console.WriteLine(ans);
                                    return;
                                }
                            }
                        }
                        else
                        {
                            if (ans[0] == 'S')
                            {
                                if (ans[N - 1] != ans[1])
                                {
                                    Console.WriteLine(ans);
                                    return;
                                }
                            }
                            else
                            {
                                if (ans[N - 1] == ans[1])
                                {
                                    Console.WriteLine(ans);
                                    return;
                                }
                            }
                        }
                    }
                }
            }

            Console.WriteLine(-1);

            //Console.Out.Flush();

        }





    }

    public class Scanner
    {
        public int[] SplitReader()
        {
            int[] array = Console.ReadLine().Split().Select(int.Parse).ToArray();
            return array;
        }
        public long[] SplitReaderL()
        {
            long[] array = Console.ReadLine().Split().Select(long.Parse).ToArray();
            return array;
        }

    }

    public class Graph
    {
        
    }
}

    



Measured memory_bytes: 13396