#C6920. Will Alice Win?
Will Alice Win?
Will Alice Win?
Alice and Bob are playing an engaging game with a twist. Starting with a positive integer \(n\), the rules are very simple: if \(n\) is odd, Alice wins; if \(n\) is even, Bob wins. Your task is to determine the outcome for each scenario. Given several test cases, decide whether Alice can guarantee a victory or not based on the parity of \(n\).
Problem Details:
- If \(n\) is odd, output "Win".
- If \(n\) is even, output "Lose".
Ensure that your solution reads from standard input and writes the result to standard output.
inputFormat
The first line of input contains an integer \(T\), representing the number of test cases. Each of the following \(T\) lines contains a single integer \(n\), the starting number for that game.
Input Format:
T n1 n2 ... nT
outputFormat
For each test case, print a single line: "Win" if Alice wins (i.e. when \(n\) is odd), or "Lose" if Alice loses (i.e. when \(n\) is even).
Output Format:
result1 result2 ... resultT## sample
4
1
2
3
4
Win
Lose
Win
Lose
</p>