#include <bits/stdc++.h>
using namespace std;
void TxtRead() {
  freopen("input.txt", "r", stdin);
  freopen("output.txt", "w", stdout);
}
const int N = 2e5 + 5;
vector<int> path, g[N];
char mark[N];
bool noWay, used[N][2];
int n, m, x, c, s;
void dfs(int v, bool state) {
  path.push_back(v);
  used[v][state] = 1;
  for (int i = 0; i < g[v].size(); i++) {
    int to = g[v][i];
    if (!used[to][!state]) dfs(to, !state);
  }
  if (g[v].empty() && state) {
    cout << "Win\n";
    for (int i = 0; i < path.size(); i++) cout << path[i] << " ";
    exit(0);
  }
  path.pop_back();
}
void bfs(int v) {
  mark[v] = 1;
  for (int i = 0; i < g[v].size(); i++) {
    int to = g[v][i];
    if (mark[to] == 1) noWay = 1;
    if (!mark[to]) bfs(to);
  }
  mark[v] = 2;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> c;
    for (int j = 0; j < c; j++) {
      cin >> x;
      g[i].push_back(x);
    }
  }
  cin >> s;
  bfs(s);
  dfs(s, 0);
  if (noWay)
    cout << "Draw";
  else
    cout << "Lose";
}
