#include <bits/stdc++.h>
using namespace std;
int main() {
  int def1, atk1, def2, atk2, def3, atk3, def4, atk4;
  cin >> def1 >> atk1 >> def2 >> atk2 >> def3 >> atk3 >> def4 >> atk4;
  if ((((atk1 > def3) && (def2 > atk4)) && ((atk1 > def4) && (def2 > atk3))) ||
      (((def1 > atk3) && (atk2 > def4)) && ((def1 > atk4) && (atk2 > def3))))
    cout << "Team 1" << endl;
  else if ((((atk3 > def1) && (def4 > atk2)) ||
            ((def3 > atk2) && (atk4 > def1))) &&
           (((def3 > atk1) && (atk4 > def2)) ||
            ((atk3 > def2) && (def4 > atk1))))
    cout << "Team 2" << endl;
  else
    cout << "Draw" << endl;
}
