#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int n;
  cin >> n;
  vector<int> cnt(100001, 0);
  for (int i = 0; i < n; ++i) {
    int a;
    cin >> a;
    ++cnt[a];
  }
  bool hasOdd = false;
  for (int i = 1; i <= 100000; ++i) {
    if (cnt[i] % 2 != 0) {
      hasOdd = true;
    }
  }
  if (hasOdd) {
    cout << "Conan\n";
  } else {
    cout << "Agasa\n";
  }
  return 0;
}
