#include<bits/stdc++.h>
using namespace std;
int main()
{
  int a,b;
  cin>>a>>b;
  if(a==1 && b!=1)
  {
      cout<<"ALICE"<<endl;
  }
  else if(a!=1 && b==1)
  {
      cout<<"BOB"<<endl;
  }
  else if(a>b)
  {
      cout<<"ALICE"<<endl;

  }
  else if(b>a)
  {
      cout<<"BOB"<<endl;

  }
    else
    {
        cout<<"DRAW"<<endl;
    }


}
