#include <bits/stdc++.h>
using namespace std;
const long long maxn = 2e5 + 1, inf = 2e9, mod = 1e9 + 7;
long long n, a, cnt[maxn];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    cnt[a]++;
  }
  for (int i = maxn - 1; i >= 0; i--) {
    if (cnt[i] % 2 == 0) continue;
    cout << "Conan";
    return 0;
  }
  cout << "Agasa";
}
