#include <bits/stdc++.h>
using namespace std;
int n, m;
int s;
int eve[100005];
int adam[100005];
char color[100005];
vector<vector<int> > adj(100005);
bool dfs(int c) {
  color[c] = 'r';
  for (auto i : adj[c]) {
    if (color[i] == 'r') return true;
    if (color[i] == 'w' && dfs(i)) return true;
  }
  color[c] = 'b';
  return false;
}
bool detect_cycle() {
  for (int i = 1; i <= n; i++) color[i] = 'w';
  if (dfs(s)) return true;
  return false;
}
signed main() {
  ;
  cin.tie(0);
  cout.tie(0);
  ios_base::sync_with_stdio(0);
  cout << fixed << setprecision(10);
  int t = 1;
  while (t--) {
    cin >> n >> m;
    int c, x;
    for (int i = 1; i <= n; i++) {
      cin >> c;
      for (int j = 0; j < c; j++) {
        cin >> x;
        adj[i].push_back(x);
      }
    }
    cin >> s;
    memset(eve, -1, sizeof(eve));
    memset(adam, -1, sizeof(adam));
    eve[s] = 0;
    queue<pair<int, bool> > q;
    q.push(make_pair(s, 1));
    pair<int, int> tmp;
    bool fl = false;
    while (!q.empty()) {
      tmp = q.front();
      q.pop();
      for (int u : adj[tmp.first]) {
        if (tmp.second == 0) {
          if (eve[u] == -1) {
            eve[u] = tmp.first;
            q.push(make_pair(u, 1));
          }
        } else {
          if (adam[u] == -1) {
            adam[u] = tmp.first;
            if (adj[u].size() == 0) {
              fl = true;
              break;
            }
            q.push(make_pair(u, 0));
          }
        }
        if (fl) break;
      }
    }
    for (int i = 1; i <= n; i++) {
      if (adj[i].size() == 0 && adam[i] != -1) {
        cout << "Win\n";
        vector<int> path;
        int tm = i;
        bool ev = 0;
        while (tm != 0) {
          path.push_back(tm);
          if (ev) {
            tm = eve[tm];
            ev = !ev;
          } else {
            tm = adam[tm];
            ev = !ev;
          }
        }
        for (int i = path.size() - 1; i >= 0; i--) {
          cout << path[i] << " ";
        }
        return 0;
      }
    }
    if (detect_cycle()) {
      cout << "Draw\n";
    } else
      cout << "Lose\n";
  };
}
