#include <bits/stdc++.h>
using namespace std;
int n, k, x;
vector<int> r, m;
int rc[7001], mc[7001];
int mov(int p, int s) {
  int np = p + s;
  if (np > n) np -= n;
  return np;
}
int main() {
  fill(rc, rc + 7001, -1);
  fill(mc, mc + 7001, -1);
  cin >> n;
  cin >> k;
  while (k--) {
    cin >> x;
    r.push_back(x);
  }
  cin >> k;
  while (k--) {
    cin >> x;
    m.push_back(x);
  }
  rc[1] = mc[1] = 0;
  bool change = true;
  bool lf, uf;
  while (change) {
    change = false;
    for (int i = n; i > 1; i--) {
      if (mc[i] == -1) {
        lf = uf = false;
        for (int j = 0; j < m.size(); j++) {
          int np = mov(i, m[j]);
          if (rc[np] == 0)
            lf = true;
          else if (rc[np] == -1)
            uf = true;
        }
        if (lf)
          mc[i] = 1, change = true;
        else if (!uf)
          mc[i] = 0, change = true;
      }
      if (rc[i] == -1) {
        lf = uf = false;
        for (int j = 0; j < r.size(); j++) {
          int np = mov(i, r[j]);
          if (mc[np] == 0)
            lf = true;
          else if (mc[np] == -1)
            uf = true;
        }
        if (lf)
          rc[i] = 1, change = true;
        else if (!uf)
          rc[i] = 0, change = true;
      }
    }
  }
  for (int i = 2; i <= n; i++) {
    if (i != 2) printf(" ");
    if (rc[i] == 0)
      printf("Lose");
    else if (rc[i] == -1)
      printf("Loop");
    else
      printf("Win");
  }
  puts("");
  for (int i = 2; i <= n; i++) {
    if (i != 2) printf(" ");
    if (mc[i] == 0)
      printf("Lose");
    else if (mc[i] == -1)
      printf("Loop");
    else
      printf("Win");
  }
  puts("");
  return 0;
}
