if n is even
The chessboard is split into two symmetrical segments now. From now on Thanos can just mirror Arvin's moves.
if n is odd
#include<stdio.h> int main(){ int n; scanf("%d", &n); printf((n == 1) ? "Arvin" : "Thanos"); return 0; }
By Howard Yang