#include <bits/stdc++.h>
using namespace std;
const int MAXN = 7010;
vector<int> v[2];
int dp[2][MAXN];
int deg[2][MAXN];
int n;
void go(int p, int idx) {
  int op = 1 - p;
  for (int x : v[op]) {
    int vtx = (idx - x + n) % n;
    if (dp[op][vtx]) continue;
    if (dp[p][idx] == 1) {
      if (!--deg[op][vtx]) {
        dp[op][vtx] = 2;
        go(op, vtx);
      }
    } else {
      dp[op][vtx] = 1;
      go(op, vtx);
    }
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin >> n;
  for (int i = 0; i < (2); ++i) {
    int qtd;
    cin >> qtd;
    v[i].resize(qtd);
    for (int j = 0; j < (qtd); ++j) cin >> v[i][j];
  }
  dp[0][0] = dp[1][0] = 2;
  for (int i = 0; i < (2); ++i)
    for (int j = 0; j < (n); ++j) deg[i][j] = (int)((v[i]).size());
  go(0, 0);
  go(1, 0);
  for (int i = 0; i < (2); ++i)
    for (int j = 1; j < (n); ++j)
      cout << (dp[i][j] ? dp[i][j] == 1 ? "Win" : "Lose" : "Loop")
           << " \n"[j == n - 1];
  return 0;
}
