Problem:
Score : 100 points

Problem Statement

Alice and Bob are playing One Card Poker.

One Card Poker is a two-player game using playing cards.

Each card in this game shows an integer between 1 and 13, inclusive.

The strength of a card is determined by the number written on it, as follows:

Weak 2 < 3 < 4 < 5 < 6 < 7 < 8 < 9 < 10 < 11 < 12 < 13 < 1 Strong

One Card Poker is played as follows:

Each player picks one card from the deck. The chosen card becomes the player's hand.

The players reveal their hands to each other. The player with the stronger card wins the game.

If their cards are equally strong, the game is drawn.

You are watching Alice and Bob playing the game, and can see their hands.

The number written on Alice's card is A, and the number written on Bob's card is B.

Write a program to determine the outcome of the game.

Constraints

1≦A≦13

1≦B≦13

A and B are integers.

Input

The input is given from Standard Input in the following format:

A B

Output

Print Alice if Alice will win. Print Bob if Bob will win. Print Draw if the game will be drawn.

Sample Input 1

8 6

Sample Output 1

Alice

8 is written on Alice's card, and 6 is written on Bob's card.
Alice has the stronger card, and thus the output should be Alice.

Sample Input 2

1 1

Sample Output 2

Draw

Since their cards have the same number, the game will be drawn.

Sample Input 3

13 1

Sample Output 3

Bob

Solution in Rust (1.15.1) (judge verdict: Accepted)

extern crate core;

use std::io::{self, Read};

#[macro_use]
mod parser {
    macro_rules! input {
        ($s:expr=>$($t:tt)*) => {
            let mut lines=$s.split("\n");
            $(
                line_parse!(lines,$t);
             )*
        };
    }

    macro_rules! line_parse {
        ($lines:expr,($($name:ident:$t:tt)*)) => {
            let mut line=$lines.next().unwrap().split_whitespace();
            $(value_def!(line,$name,$t);)*
        };

        //multiple lines
        ($lines:expr,{$n:expr;$name:ident:$t:tt}) => {
            values_def!($lines,$n,$name,$t);
        };
    }

    macro_rules! value_def {
        ($line:expr, $name:ident, $t:tt) => {
            let $name = value!($line, $t);
        };
    }

    macro_rules! values_def {
        ($lines:expr, $n:expr, $name:ident, $t:tt) => {
            let $name = {
                let mut vec = Vec::new();
                for i in 0..$n {
                    let mut next = $lines.next().unwrap().split_whitespace();
                    vec.push(value!(next, $t));
                }
                vec
            };
        };
    }

    macro_rules! value {
        //array
        ($line:expr,[$t:tt]) => {
            $line.map(|x|{
                let mut iter=::std::iter::once(x);
                value!(iter,$t)
            }).collect::<Vec<_>>()
        };
        //tuple
        ($line:expr,($($t:tt),*)) => {
            ($(value!($line,$t),)*)
        };
        //string
        ($line:expr,#) => {
            $line.next().unwrap()
        };
        //one number
        ($line:expr,$t:ty) => {
            $line.next().unwrap().parse::<$t>().unwrap()
        };
    }
}

fn main() {
    let mut input = String::new();
    io::stdin().read_to_string(&mut input).unwrap();
    let output = solve(input.trim().to_string());
    println!("{}", output);
}

fn solve(input: String) -> String {
    input!(input=>(a:usize b:usize));
    
    if a == b {
        return "Draw".to_string()
    }
    
    if a == 1 || (b != 1 && b < a) {
        "Alice".to_string()
    } else {
        "Bob".to_string()
    }

}

macro_rules! tests {
    ($($name:ident: $input:expr=>$output:expr,)*) => {
        mod tests {
            $(
                #[test]
                fn $name() {
                    assert_eq!($output.trim().to_string(),super::solve($input.trim().to_string()));
                }
             )*
        }
    }
}

tests! {
    test1: "8 6" => "Alice",
    test2: "1 1" => "Draw",
    test3: "13 1" => "Bob",
}