using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;

namespace AtCoder
{
    class Program
    {
        private const char SHEEP = 'S';
        private const char WOLF = 'W';
        private const char ROUND = 'o';

        static void Main(string[] args)
        {
            var sr = new InputReader(Console.In);
            //var sr = new InputReader(new StreamReader("input.txt"));
            using (var sw = Console.Out)
            {
                Solve(sr, sw);
            }
        }

        internal static void Solve(InputReader sr, TextWriter sw)
        {
            var animalCount = sr.NextInt32();
            var remarks = sr.NextString();
            for (var i = 0; i < 2; ++i)
            {
                for (var j = 0; j < 2; ++j)
                {
                    for (var k = 0; k < 2; ++k)
                    {
                        var answ = new char[animalCount];
                        answ[0] = i == 0 ? SHEEP : WOLF;
                        answ[1] = j == 0 ? SHEEP : WOLF;
                        answ[2] = k == 0 ? SHEEP : WOLF;
                        if (CanSheep(remarks, answ))
                        {
                            sw.WriteLine(answ);
                            return;
                        }
                    }
                }
            }
            sw.WriteLine(-1);
        }
        private static bool CanSheep(string remarks, char[] answ)
        {
            Action<int> nextInsertSheepPatern = (int index) =>
            {
                if (remarks[index] == ROUND)
                {
                    if (index + 1 != remarks.Length)
                    {
                        answ[index + 1] = answ[index - 1] == SHEEP ? SHEEP : WOLF;
                    }
                }
                else
                {
                    if (index + 1 != remarks.Length)
                    {
                        answ[index + 1] = answ[index - 1] == SHEEP ? WOLF : SHEEP;
                    }
                }
            };

            Action<int> nextInsertWolfPatern = (int index) =>
            {
                if (remarks[index] == ROUND)
                {
                    if (index + 1 != remarks.Length)
                    {
                        answ[index + 1] = answ[index - 1] == SHEEP ? WOLF : SHEEP;
                    }
                }
                else
                {
                    if (index + 1 != remarks.Length)
                    {
                        answ[index + 1] = answ[index - 1] == SHEEP ? SHEEP : WOLF;
                    }
                }
            };

            for (var i = 2; i < remarks.Length - 1; ++i)
            {
                if (answ[i] == SHEEP)
                {
                    nextInsertSheepPatern(i);
                }
                else
                {
                    nextInsertWolfPatern(i);
                }
            }


            for (var i = 0; i < remarks.Length; ++i)
            {
                var prev = i == 0 ? answ[answ.Length - 1] : answ[i - 1];
                var next = i + 1 == remarks.Length ? answ[0] : answ[i + 1];

                if (answ[i] == SHEEP)
                {
                    if (remarks[i] == ROUND)
                    {
                        if (prev != next)
                        {
                            return false;
                        }
                    }
                    else
                    {
                        if (prev == next)
                        {
                            return false;
                        }
                    }
                }
                else
                {
                    if (remarks[i] == ROUND)
                    {
                        if (prev == next)
                        {
                            return false;
                        }
                    }
                    else
                    {
                        if (prev != next)
                        {
                            return false;
                        }
                    }
                }
            }

            return true;
        }
    }

    internal class InputReader : IDisposable
    {
        private bool isDispose;
        private readonly TextReader sr;

        public InputReader(TextReader stream)
        {
            sr = stream;
        }

        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

        public string NextString()
        {
            var result = sr.ReadLine();
            return result;
        }

        public int NextInt32()
        {
            return Int32.Parse(NextString());
        }

        public long NextInt64()
        {
            return Int64.Parse(NextString());
        }

        public string[] NextSplitStrings()
        {
            return NextString()
                .Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
        }

        public T[] ReadArray<T>(Func<string, CultureInfo, T> func)
        {
            return NextSplitStrings()
                .Select(s => func(s, CultureInfo.InvariantCulture))
                .ToArray();
        }

        public T[] ReadArrayFromString<T>(Func<string, CultureInfo, T> func, string str)
        {
            return
                str.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
                    .Select(s => func(s, CultureInfo.InvariantCulture))
                    .ToArray();
        }

        protected void Dispose(bool dispose)
        {
            if (isDispose) return;
            if (dispose)
                sr.Close();
            isDispose = true;
        }

        ~InputReader()
        {
            Dispose(false);
        }
    }
}


Measured memory_bytes: 12768