Coupon Chaos


Alice challenges Bob to a coupon trading game.

There are nn types of coupons, and Bob's goal is to collect them all.

Before the game begins, Alice is provided with mm distinct sets of coupon types, each of size 22.

For each set {i,j}\{i, j\}, Alice must add exactly one of (i,j)(i, j) or (j,i)(j, i) to the set of allowed trades.

Then, Bob performs each of the following actions exactly once:

  • Pick two distinct allowed trades (i,j)(i, j) and (s,t)(s, t), and add the trades (i,t)(i, t) and (s,j)(s, j) to the set of allowed trades.
  • Pick a coupon type ii and receive exactly one coupon of that type.

During the game, for each allowed trade (i,j)(i, j), Bob can perform the following operations any number of times:

  • Trade 1 coupon of type ii for 2 coupons of type jj.
  • Trade 2 coupons of type jj for 1 coupon of type ii.

Bob wins if at some point in the game, he simultaneously holds at least one coupon of every type. Otherwise, Alice wins.

Assuming choices are made optimally, determine if Alice or Bob are guaranteed to win.

Input

The first line contains two integers nn and mm, the number of coupon types and the number of sets provided to Alice respectively.

The following mm lines contain integers i,ji, j, representing the set {i,j}\{i, j\}.

Output

Output one line consisting of either Alice or Bob, representing who has the winning strategy.

Constraints

  • 1≤n≤5⋅1051 \le n \le 5 \cdot 10^5
  • 0≤m≤5⋅1050 \le m \le 5 \cdot 10^5
  • 1≤i,j≤n1 \le i, j \le n, i≠ji \neq j

It is guaranteed that the sets {i,j}\{i, j\} are distinct.

Example 1

Input 1
1 0
Output 1
Bob

Example 2

Input 2
2 1
1 2
Output 2
Alice

Example 3

Input 3
5 4
2 1
5 4
2 3
3 1
Output 3
Bob

Comments0


No comments yet

Be the first to comment.

New comment


Log in to join the discussion.