#include <bits/stdc++.h>
using namespace std;
int tong[232333];
signed main() {
int n;
cin >> n;
for (int i = 1; i <= n; i ++) {
int x;
cin >> x;
tong[x] ++;
}
for (int i = 1; i <= 232323; i ++)
if (tong[i] & 1) {
cout << "Conan\n";
return 0;
}
cout << "Agasa\n";
return 0;
}
CodeForces 914B【水题】【博弈论】
最新推荐文章于 2024-08-05 17:54:35 发布