#K80657. Game Winner Determination
Game Winner Determination
Game Winner Determination
Jack and Jill play an interesting game where the outcome is determined solely by the number of elements provided. Given an integer \(n\) representing the number of game elements and a list of \(n\) integers (the values of which do not affect the result), the winner is decided based on the parity of \(n\):
If \(n\) is even (i.e., \(n \bmod 2 = 0\)), then JACK wins; if \(n\) is odd, then JILL wins.
Your task is to determine the winner according to these rules.
inputFormat
The input is given via standard input (stdin) and consists of two lines:
- The first line contains an integer \(n\), representing the number of elements in the game.
- The second line contains \(n\) space-separated integers. (Note: The actual values are irrelevant, only the count \(n\) matters.)
outputFormat
Output a single line to standard output (stdout) containing the name of the winner: either JACK or JILL.
## sample5
1 2 3 4 5
JILL