#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  long long int a[n];
  map<long long int, long long int> m;
  long long int max = 0;
  for (long long int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] > max) max = a[i];
    m[a[i]]++;
  }
  for (long long int i = 0; i < n; i++) {
    if (m[a[i]] % 2) {
      cout << "Conan";
      return 0;
    }
  }
  cout << "Agasa";
  return 0;
}
