Take Apples
题号:NC26003
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 64 M,其他语言128 M
64bit IO Format: %lld

题目描述

Bob and Alice have three piles of apples. There are M, N and N apples in each pile, respectively.

Clever Alice and idle Bob play the game. Alice and Bob take turns to take the apples from the game. The rules are as follows:

1. Choose a pile and take no more than S apples from it;
2. Or you can take the same number(can be larger than S) of apples from three piles at a time. If there is a pile with no apples, the rule cannot be used to take apples.

When the game starts, Alice takes the apple first. And they both take the optimal strategy.

The one who gets the last apple will win.

For given M,N,S, who will win, Alice or Bob?

输入描述:

The input contains multiple sets of data

For each test case, each line contains three integersS,M,N, separated by spaces.

输出描述:

For each test case, outputs a single line with the answer.

If Alice wins, output "Alice"; If Bob wins, output "Bob" (without quotes).
示例1

输入

复制
1 5 3
4 4 3

输出

复制
Alice
Alice