{"raw_statement":[{"iden":"problem statement","content":"There is an apple tree that bears apples of $N$ colors. The $N$ colors of these apples are numbered $1$ to $N$, and there are $a_i$ apples of Color $i$.\nYou and Lunlun the dachshund alternately perform the following operation (starting from you):\n\n*   Choose one or more apples from the tree and eat them. Here, the apples chosen at the same time must all have different colors.\n\nThe one who eats the last apple from the tree will be declared winner. If both you and Lunlun play optimally, which will win?"},{"iden":"constraints","content":"*   $1 \\leq N \\leq 10^5$\n*   $1 \\leq a_i \\leq 10^9$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$\n$a_1$\n$a_2$\n$:$\n$a_N$"},{"iden":"sample input 1","content":"2\n1\n2"},{"iden":"sample output 1","content":"first\n\nLet Color $1$ be red, and Color $2$ be blue. In this case, the tree bears one red apple and two blue apples.\nYou should eat the red apple in your first turn. Lunlun is then forced to eat one of the blue apples, and you can win by eating the other in your next turn.\nNote that you are also allowed to eat two apples in your first turn, one red and one blue (not a winning move, though)."},{"iden":"sample input 2","content":"3\n100000\n30000\n20000"},{"iden":"sample output 2","content":"second"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}