acmsguru |
---|
Finished |
FIRST" (without quotes) if the player moving first in that position wins the game, and "
SECOND" (without quotes) otherwise.
sample input | sample output |
5 00100 | SECOND |
sample input | sample output |
4 1020 | FIRST |
Name |
---|