3 3 6 7
First Takahashi, the first player, can win as follows: * Takahashi subtracts $1$ from $7$. Then, the integers become: $(1,2,2)$. * Aoki subtracts $1$ from $2$. Then, the integers become: $(1,1,2)$. * Takahashi subtracts $1$ from $2$. Then, the integers become: $(1,1,1)$.
4 1 2 4 8
First
5 7 8 8 8 8
Second
{
"problem": {
"name": "Decrementing",
"description": {
"content": "There are $N$ integers written on a blackboard. The $i$\\-th integer is $A_i$, and the greatest common divisor of these integers is $1$. Takahashi and Aoki will play a game using these integers. In thi",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "agc010_d"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are $N$ integers written on a blackboard. The $i$\\-th integer is $A_i$, and the greatest common divisor of these integers is $1$.\nTakahashi and Aoki will play a game using these integers. In thi...",
"is_translate": false,
"language": "English"
}
]
}