#include using namespace std; using ll = int; using ld = long double; using pll = pair; using vl = vector; template using vec = vector; template using vv = vec>; template using vvv = vv>; template using minpq = priority_queue, greater>; #define all(a) (a).begin(),(a).end() #define rep(i, n) for (ll i = 0; i < (n); ++i) #define reps(i, l, r) for(ll i = (l); i < (r); ++i) #define rrep(i, l, r) for(ll i = (r)-1; i >= (l); --i) #define sz(x) (ll) (x).size() template bool chmax(T &a, const T& b) { return a < b ? a = b, true : false; } template bool chmin(T &a, const T& b) { return a > b ? a = b, true : false; } struct Edge { ll from, to, cost; Edge (ll from, ll to, ll cost = 1ll) : from(from), to(to), cost(cost) {} }; struct Graph { vector> G; Graph() = default; explicit Graph(ll N) : G(N) {} size_t size() const { return G.size(); } void add(ll from, ll to, ll cost = 1ll, bool direct = 0) { G[from].emplace_back(from, to, cost); if (!direct) G[to].emplace_back(to, from, cost); } vector &operator[](const int &k) { return G[k]; } }; using Edges = vector; void solve(){ ll N, M; cin >> N >> M; vv G(N), rG(N); vl d(N); rep(i, M){ ll u, v; cin >> u >> v; u--; v--; G[u].push_back(v); rG[v].push_back(u); d[u]++; } queue Q; vl dp(N, -1); vec vis(N, 0); rep(i, N){ if(!d[i]){ Q.push(i); dp[i] = 0; vis[i] = 1; } } while(!Q.empty()){ ll p = Q.front(); Q.pop(); if(dp[p] == 1){ for(ll nx : rG[p]){ if(vis[nx]) continue; d[nx]--; if(!d[nx]){ Q.push(nx); vis[nx] = 1; } } continue; } else{ dp[p] = 0; for(ll nx : rG[p]){ dp[nx] = 1; if(!vis[nx]){ Q.push(nx); vis[nx] = 1; } } continue; } } if(dp[0] == 1){ cout << "Alice" << endl; return; } if(dp[0] == 0){ cout << "Bob" << endl; return; } cout << "Draw" << endl; return; } int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); cout << fixed << setprecision(20); int t = 1; // cin >> t; while(t--){ solve(); } }