#include <bits/stdc++.h>
using namespace std;
int turn[2][7005], s1[7005], s2[7005];
int main() {
  int n;
  scanf("%d", &n);
  int k1, k2;
  scanf("%d", &k1);
  for (int i = 1; i <= k1; i++) scanf("%d", &s1[i]);
  scanf("%d", &k2);
  for (int i = 1; i <= k2; i++) scanf("%d", &s2[i]);
  for (int i = 1; i <= n; i++) turn[0][i] = -1, turn[1][i] = -1;
  turn[0][1] = 1, turn[1][1] = 1;
  for (int i = 1; i <= k1; i++) turn[0][1 - s1[i] + n] = 1;
  for (int i = 1; i <= k2; i++) turn[1][1 - s2[i] + n] = 1;
  int change = 1;
  while (change > 0) {
    change = 0;
    for (int i = n; i > 1; i--) {
      if (turn[0][i] == -1) {
        int c = 0;
        bool zfound = 0;
        for (int j = 1; j <= k1; j++) {
          int next = i + s1[j];
          if (next > n) next -= n;
          if (next == 1) continue;
          if (turn[1][next] == -1)
            c++;
          else if (turn[1][next] == 0) {
            zfound = 1;
            break;
          }
        }
        if (zfound) {
          change++;
          turn[0][i] = 1;
        } else if (c == 0) {
          change++;
          turn[0][i] = 0;
        }
      }
      if (turn[1][i] == -1) {
        int c = 0;
        bool zfound = 0;
        for (int j = 1; j <= k2; j++) {
          int next = i + s2[j];
          if (next > n) next -= n;
          if (next == 1) continue;
          if (turn[0][next] == -1)
            c++;
          else if (turn[0][next] == 0) {
            zfound = 1;
            break;
          }
        }
        if (zfound) {
          turn[1][i] = 1;
          change++;
        } else if (c == 0)
          turn[1][i] = 0, change++;
      }
    }
  }
  for (int i = 2; i <= n; i++) {
    if (turn[0][i] == 0)
      printf("Lose ");
    else if (turn[0][i] == 1)
      printf("Win ");
    else
      printf("Loop ");
  }
  printf("\n");
  for (int i = 2; i <= n; i++) {
    if (turn[1][i] == 0)
      printf("Lose ");
    else if (turn[1][i] == 1)
      printf("Win ");
    else
      printf("Loop ");
  }
}
