Each evening Roma plays online poker on his favourite website. The rules of poker on this website are a bit strange: there are always two players in a hand, there are no bets, and the winner takes 1 virtual bourle from the loser.

Last evening Roma started to play poker. He decided to spend no more than k virtual bourles — he will stop immediately if the number of his loses exceeds the number of his wins by k. Also Roma will leave the game if he wins enough money for the evening, i.e. if the number of wins exceeds the number of loses by k.

Next morning Roma found a piece of paper with a sequence on it representing his results. Roma doesn't remember the results exactly, and some characters in the sequence are written in a way such that it's impossible to recognize this character, so Roma can't recall whether he won k bourles or he lost.

The sequence written by Roma is a string s consisting of characters W (Roma won the corresponding hand), L (Roma lost), D (draw) and ? (unknown result). Roma wants to restore any valid sequence by changing all ? characters to W, L or D. The sequence is called valid if all these conditions are met: 

  * In the end the absolute difference between the number of wins and loses is equal to k; 
  * There is no hand such that the absolute difference before this hand was equal to k. 



Help Roma to restore any such sequence.

Input

The first line contains two numbers n (the length of Roma's sequence) and k (1 ≤ n, k ≤ 1000).

The second line contains the sequence s consisting of characters W, L, D and ?. There are exactly n characters in this sequence.

Output

If there is no valid sequence that can be obtained from s by replacing all ? characters by W, L or D, print NO.

Otherwise print this sequence. If there are multiple answers, print any of them.

Examples

Input

3 2
L??


Output

LDL


Input

3 1
W??


Output

NO


Input

20 5
?LLLLLWWWWW?????????


Output

WLLLLLWWWWWWWWLWLWDW
#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int sum = 0, nega = 1;
  char ch = getchar();
  while (ch > '9' || ch < '0') {
    if (ch == '-') nega = -1;
    ch = getchar();
  }
  while (ch <= '9' && ch >= '0') sum = sum * 10 + ch - '0', ch = getchar();
  return sum * nega;
}
int n, k, flag, b[1009];
char a[1009], ans[1009];
bool dp[1018][2099];
inline void dfs(int u, int res) {
  if (u == 1) {
    if (res == 1010)
      putchar('W');
    else if (res == 1009)
      putchar('D');
    else
      putchar('L');
    return;
  }
  if (b[u] == 2) {
    if (dp[u - 1][res + 1] == 1) {
      dfs(u - 1, res + 1);
      putchar('L');
    } else if (dp[u - 1][res] == 1) {
      dfs(u - 1, res);
      putchar('D');
    } else {
      dfs(u - 1, res - 1);
      putchar('W');
    }
    return;
  } else {
    dfs(u - 1, res - b[u]);
    if (a[u] == 'W') putchar('W');
    if (a[u] == 'D') putchar('D');
    if (a[u] == 'L') putchar('L');
    return;
  }
}
int main() {
  n = read(), k = read();
  scanf("%s", a + 1);
  for (int i = 1; i <= n; i++) {
    if (a[i] == 'L')
      b[i] = -1;
    else if (a[i] == 'W')
      b[i] = 1;
    else if (a[i] == 'D')
      b[i] = 0;
    else
      b[i] = 2;
  }
  dp[0][1009] = 1;
  for (int i = 1; i <= n; i++) {
    int flag = 0;
    if (i == n) flag = 1;
    if (b[i] <= 1) {
      for (int j = 1009 - k - flag + 1; j < 1009 + k + flag; j++)
        if (dp[i - 1][j - b[i]] == 1) {
          dp[i][j] = 1;
        }
    } else {
      for (int j = 1009 - k - flag + 1; j < 1009 + k + flag; j++) {
        if (dp[i - 1][j - 1] == 1) dp[i][j] = 1;
        if (dp[i - 1][j] == 1) dp[i][j] = 1;
        if (dp[i - 1][j + 1] == 1) dp[i][j] = 1;
      }
    }
  }
  if (dp[n][1009 + k] == 1) {
    dfs(n, 1009 + k);
    cout << ans << endl;
    return 0;
  } else if (dp[n][1009 - k] == 1) {
    dfs(n, 1009 - k);
    cout << ans << endl;
    return 0;
  }
  puts("NO");
  return 0;
}
