In one of the Squid Game challenges, Seong Gi-hun (Player 456) and Oh Il-nam (Player 001) face off in a game where they start with $$$n$$$ bags of marbles. Each bag has $$$a_{i}$$$ marbles. The rules are simple:
In the first line, there is a single integer $$$t$$$ ($$$1 \leq t \leq 2.10^5$$$), representing the number of testcases.
In each testcase, there are three lines:
Output "456" if Seong Gi-hun will win the game, or "001" if Oh Il-nam will win, assuming both players play optimally.
413 4213 4423 41000000000000000000 100000000000000000023 42 4
001 456 001 456