#include <bits/stdc++.h>
using namespace std;
int b[100001] = {0};
int check() {
  for (int i = 0; i < 100001; i++) {
    if (b[i] & 1) {
      return 1;
    }
  }
  return 0;
}
int main() {
  int n, count = 0;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    b[a[i]] = b[a[i]] + 1;
  }
  sort(a, a + n);
  int max = a[n - 1];
  for (int i = 0; i < n; i++) {
    if (a[i] == max) count++;
  }
  if (count & 1)
    cout << "Conan" << endl;
  else {
    if (n == count)
      cout << "Agasa" << endl;
    else {
      int c = check();
      if (c == 1)
        cout << "Conan" << endl;
      else
        cout << "Agasa" << endl;
    }
  }
  return 0;
}
