#C11257. Determine the Winner Game
Determine the Winner Game
Determine the Winner Game
You are given a game where two players, Alice and Bob, compete based on simple rules. The game is defined by an integer \(n\) and a sequence of \(n\) positive integers. Although the sequence is provided, the outcome of the game is determined solely by the value of \(n\).
The rule is as follows: if \(n \bmod 2 = 1\) (i.e. \(n\) is odd), then Alice wins; otherwise, Bob wins.
Your task is to determine the winner given the game data.
inputFormat
The input consists of two lines. The first line contains a single integer \(n\) denoting the number of elements in the sequence. The second line contains \(n\) space-separated integers representing the sequence.
outputFormat
Output a single line containing the name of the winner: either Alice
or Bob
.
3
12 15 18
Alice
</p>