Cossack Vus and the Game
Kozak Vus has devised another challenge for the olympiad participants!
You are given a collection of strings and a number .
A set of strings is considered good if:
Each string is composed solely of the characters and ;
The length of each string does not exceed ;
No string is a prefix of any other string in the set.
The provided set is already good.
Alice and Bob are engaged in the following game. They will alternate turns. During a turn, a player can add one string to the set as long as the set remains good. The player who cannot make a move loses the game.
Alice takes the first turn. Determine who will win if both players play optimally.
Input
The first line contains two integers () — the number of strings in the set and the maximum permissible length of a string in a good set.
The next lines each contain one of the strings. The -th line contains the string ().
It is guaranteed that .
It is also guaranteed that the initial set is good.
Output
Output «Alice
», if Alice will win, or «Bob
», if Bob will win.
Examples
Scoring
( points): ;
( points): ;
( points): ;
( points): ;
( points): ;
( points): ;
( points): no additional constraints