#include <bits/stdc++.h>
using namespace std;
template <typename S, typename T>
ostream& operator<<(ostream& out, pair<S, T> const& p) {
  out << '(' << p.first << ", " << p.second << ')';
  return out;
}
template <typename T>
ostream& operator<<(ostream& out, vector<T> const& v) {
  long long l = v.size();
  for (long long i = 0; i < l - 1; i++) out << v[i] << ' ';
  if (l > 0) out << v[l - 1];
  return out;
}
template <typename T>
void trace(const char* name, T&& arg1) {
  cout << name << " : " << arg1 << "\n";
}
template <typename T, typename... Args>
void trace(const char* names, T&& arg1, Args&&... args) {
  const char* comma = strchr(names + 1, ',');
  cout.write(names, comma - names) << " : " << arg1 << " | ";
  trace(comma + 1, args...);
}
const long long N = 1e5 + 100;
long long n, m, s;
vector<vector<long long> > g(N);
long long visited[N][2];
long long color[N];
long long detected;
void dfs(long long v, long long par, long long ans) {
  visited[v][par] = ans;
  par ^= 1;
  for (auto u : g[v]) {
    if (visited[u][par] == 0) {
      dfs(u, par, v);
    }
  }
}
void dfs2(long long v) {
  color[v] = 1;
  for (auto u : g[v]) {
    if (color[u] == 0) {
      dfs2(u);
    } else if (color[u] == 1) {
      detected = 1;
    }
  }
  color[v] = 2;
}
bool has_cycle() {
  dfs2(s);
  if (detected) {
    return true;
  }
  return false;
}
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> n >> m;
  for (long long i = 1; i <= n; i++) {
    long long cnt;
    cin >> cnt;
    for (long long j = 0; j < cnt; j++) {
      long long temp;
      cin >> temp;
      g[i].push_back(temp);
    }
  }
  cin >> s;
  dfs(s, 0, s);
  for (long long i = 1; i <= n; i++) {
    if ((long long)g[i].size() == 0 and visited[i][1] != 0) {
      vector<long long> ans;
      long long cur = i;
      long long par = 1;
      while (!(cur == s and par == 0)) {
        ans.push_back(cur);
        cur = visited[cur][par];
        par ^= 1;
      }
      ans.push_back(s);
      reverse(ans.begin(), ans.end());
      cout << "Win"
           << "\n";
      cout << ans << "\n";
      return 0;
    }
  }
  if (has_cycle() == 1) {
    cout << "Draw"
         << "\n";
  } else {
    cout << "Lose"
         << "\n";
  }
  return 0;
}
