#include <bits/stdc++.h>
using namespace std;
long long int power(long long int a, long long int b, long long int m) {
  if (b == 0) return (1);
  long long int sol = power(a, b / 2, m);
  sol = (sol * sol) % m;
  if (b % 2 == 1) sol = (sol * a) % m;
  return (sol);
}
int a[100005], hashe[100005];
void solve() {
  int n, ans;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    hashe[a[i]]++;
  }
  for (int i = 100005; i >= 0; i--) {
    if (hashe[i] != 0) {
      ans = hashe[i];
      break;
    }
  }
  if (ans % 2 == 1) {
    cout << "Conan";
    return;
  } else {
    for (int i = 100001; i >= 0; i--) {
      if (hashe[i] % 2 == 1) {
        cout << "Conan";
        return;
      }
    }
  }
  cout << "Agasa";
}
int main() {
  int t = 1;
  while (t--) solve();
  return 0;
}
