output_description: Print the answer.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      N
attempt: N = int(input())
  s = str(input())
  A = ''
  
  def majikayo():
      k = 0
      if A[0] == 'S' and s[0] == 'o':
          if A[1] == A[-1]:
              if A[-1] = 'S' and s[-1] == 'o':
                  if A[0] == A[-2]:
                      k = 1
              elif A[-1] = 'S' and s[-1] == 'x':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'o':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'x':
                  if A[0] == A[-2]:
                      k = 1
      elif A[0] == 'S' and s[0] == 'x':
          if A[1] != A[-1]:
              if A[-1] = 'S' and s[-1] == 'o':
                  if A[0] == A[-2]:
                      k = 1
              elif A[-1] = 'S' and s[-1] == 'x':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'o':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'x':
                  if A[0] == A[-2]:
                      k = 1
      elif A[0] == 'W' and s[0] == 'o':
          if A[1] != A[-1]:
              if A[-1] = 'S' and s[-1] == 'o':
                  if A[0] == A[-2]:
                      k = 1
              elif A[-1] = 'S' and s[-1] == 'x':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'o':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'x':
                  if A[0] == A[-2]:
                      k = 1
      elif A[0] == 'W' and s[0] == 'x':
          if A[1] == A[-1]:
              if A[-1] = 'S' and s[-1] == 'o':
                  if A[0] == A[-2]:
                      k = 1
              elif A[-1] = 'S' and s[-1] == 'x':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'o':
                  if A[0] != A[-2]:
                      k = 1
              elif A[-1] = 'W' and s[-1] == 'x':
                  if A[0] == A[-2]:
                      k = 1
      if k == 1:
          return 1
  
  A = 'SS'
  for i in range(1,N-1):
      if s[i] == 'o' and A[i] == 'S':
          if A[i-1] == 'S':
              A += 'S'
          else:
              A += 'W'
      elif s[i] == 'o' and A[i] == 'W':
          if A[i-1] == 'S':
              A += 'W'
          else:
              A += 'S'
      elif s[i] == 'x' and A[i] == 'S':
          if A[i-1] == 'S':
              A += 'W'
          else:
              A += 'S'
      elif s[i] == 'x' and A[i] == 'W':
          if A[i-1] == 'S':
              A += 'S'
          else:
              A += 'W'
  if majikayo() == 1:
      print(A)
  else:
      A = 'SW'
      for i in range(1,N-1):
          if s[i] == 'o' and A[i] == 'S':
              if A[i-1] == 'S':
                  A += 'S'
              else:
                  A += 'W'
          elif s[i] == 'o' and A[i] == 'W':
              if A[i-1] == 'S':
                  A += 'W'
              else:
                  A += 'S'
          elif s[i] == 'x' and A[i] == 'S':
              if A[i-1] == 'S':
                  A += 'W'
              else:
                  A += 'S'
          elif s[i] == 'x' and A[i] == 'W':
              if A[i-1] == 'S':
                  A += 'S'
              else:
                  A += 'W'
      if majikayo() == 1:
          print(A)
      else:
          A = 'WS'
          for i in range(1,N-1):
              if s[i] == 'o' and A[i] == 'S':
                  if A[i-1] == 'S':
                      A += 'S'
                  else:
                      A += 'W'
              elif s[i] == 'o' and A[i] == 'W':
                  if A[i-1] == 'S':
                      A += 'W'
                  else:
                      A += 'S'
              elif s[i] == 'x' and A[i] == 'S':
                  if A[i-1] == 'S':
                      A += 'W'
                  else:
                      A += 'S'
              elif s[i] == 'x' and A[i] == 'W':
                  if A[i-1] == 'S':
                      A += 'S'
                  else:
                      A += 'W'
          if majikayo() == 1:
              print(A)
          else:
              A = 'WW'
              for i in range(1,N-1):
                  if s[i] == 'o' and A[i] == 'S':
                      if A[i-1] == 'S':
                          A += 'S'
                      else:
                          A += 'W'
                  elif s[i] == 'o' and A[i] == 'W':
                      if A[i-1] == 'S':
                          A += 'W'
                      else:
                          A += 'S'
                  elif s[i] == 'x' and A[i] == 'S':
                      if A[i-1] == 'S':
                          A += 'W'
                      else:
                          A += 'S'
                  elif s[i] == 'x' and A[i] == 'W':
                      if A[i-1] == 'S':
                          A += 'S'
                      else:
                          A += 'W'
              if majikayo() == 1:
                  print(A)
              else:
                  print(-1)
  
problem_description: Statement
  
  Snuke has a favorite restaurant.
  
  The price of any meal served at the restaurant is 800 yen (the currency of
  Japan), and each time a customer orders 15 meals, the restaurant pays 200 yen
  back to the customer.
  
  So far, Snuke has ordered N meals at the restaurant. Let the amount of money
  Snuke has paid to the restaurant be x yen, and let the amount of money the
  restaurant has paid back to Snuke be y yen. Find x-y.
samples: [{"input": "20", "output": "15800\n    \n\nSo far, Snuke has paid 16000 yen, and the restaurant has paid back 200 yen.\nThus, the answer is 15800.\n\n* * *"}, {"input": "60", "output": "47200\n    \n\nSnuke has paid 48000 yen for 60 meals, and the restaurant has paid back 800\nyen."}]