#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  map<int, int> make_pair;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    make_pair[x]++;
  }
  for (auto it : make_pair) {
    if (it.second % 2 == 1) {
      cout << "Conan" << '\n';
      return;
    }
  }
  cout << "Agasa" << '\n';
}
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  int t = 1;
  while (t--) solve();
  return 0;
}
