#include <bits/stdc++.h>
using namespace std;
enum State { STATE_NONE, STATE_LOSE, STATE_WIN, STATE_LOOP };
const int N = 1e4, N_PLAYERS = 2, BLACK_HOLE_IDX = 1;
const char *NAME_OF_STATE[] = {"None", "Lose", "Win", "Loop"};
int n;
vector<vector<int>> setOfNumbers(N_PLAYERS);
vector<vector<State>> result(N_PLAYERS, vector<State>(N, STATE_NONE));
vector<vector<int>> enemyWinCnt(N_PLAYERS, vector<int>(N, 0));
void readSetOfNumbers(vector<int> &v) {
  int k;
  cin >> k;
  v.resize(k);
  for (int i = 0; i < k; ++i) {
    cin >> v[i];
  }
}
int moved(int objectIdx, int number) {
  return 1 + (n + objectIdx - 1 - number) % n;
}
int enemy(int playerIdx) { return 1 - playerIdx; }
void setResult(int playerIdx, int objectIdx, State value) {
  result[playerIdx][objectIdx] = value;
}
State getResult(int playerIdx, int objectIdx) {
  return result[playerIdx][objectIdx];
}
void dfs(int playerIdx, int objectIdx, State enemyResult) {
  if (getResult(playerIdx, objectIdx) != STATE_NONE) {
    return;
  }
  if (objectIdx == BLACK_HOLE_IDX) {
    setResult(playerIdx, objectIdx, STATE_LOSE);
  } else if (enemyResult == STATE_LOSE) {
    setResult(playerIdx, objectIdx, STATE_WIN);
  } else if (enemyResult == STATE_WIN) {
    ++enemyWinCnt[playerIdx][objectIdx];
    if (enemyWinCnt[playerIdx][objectIdx] == setOfNumbers[playerIdx].size()) {
      setResult(playerIdx, objectIdx, STATE_LOSE);
    }
  }
  State playerResult = getResult(playerIdx, objectIdx);
  if (playerResult != STATE_NONE) {
    for (int number : setOfNumbers[enemy(playerIdx)]) {
      dfs(enemy(playerIdx), moved(objectIdx, number), playerResult);
    }
  }
}
void findResults() {
  for (int playerIdx = 0; playerIdx < N_PLAYERS; ++playerIdx) {
    dfs(playerIdx, BLACK_HOLE_IDX, STATE_NONE);
  }
  for (int playerIdx = 0; playerIdx < N_PLAYERS; ++playerIdx) {
    for (int objectIdx = 1; objectIdx <= n; ++objectIdx) {
      if (getResult(playerIdx, objectIdx) == STATE_NONE) {
        setResult(playerIdx, objectIdx, STATE_LOOP);
      }
    }
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin >> n;
  for (int playerIdx = 0; playerIdx < N_PLAYERS; ++playerIdx) {
    readSetOfNumbers(setOfNumbers[playerIdx]);
  }
  findResults();
  for (int playerIdx = 0; playerIdx < N_PLAYERS; ++playerIdx) {
    for (int objectIdx = 2; objectIdx <= n; ++objectIdx) {
      cout << NAME_OF_STATE[getResult(playerIdx, objectIdx)] << " ";
    }
    cout << "\n";
  }
  return 0;
}
