#include <bits/stdc++.h>
using namespace std;
map<int, int> occ;
vector<pair<int, int>> V;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int maxval = 0;
  for (int i = 0; i < n; ++i) {
    int a;
    cin >> a;
    occ[a]++;
    maxval = max(maxval, a);
  }
  for (auto i : occ) {
    if (i.second % 2) {
      cout << "Conan\n";
      return 0;
    }
  }
  cout << "Agasa\n";
  return 0;
}
