#include <bits/stdc++.h>
using namespace std;
int main() {
  int x;
  cin >> x;
  vector<int> A;
  for (int i = 0; i < x; i++) {
    int y;
    cin >> y;
    A.push_back(y);
  }
  if (x == 1) {
    cout << "Conan";
    return 0;
  }
  sort(A.begin(), A.end());
  int k = 1;
  for (int i = A.size() - 1; i > 0; i--) {
    if (A[i] == A[i - 1]) {
      k++;
    } else {
      if (k % 2 != 0) {
        cout << "Conan";
        return 0;
      }
      k = 1;
    }
    if (i == 1) {
      if (k % 2 != 0) {
        cout << "Conan";
        return 0;
      }
    }
  }
  cout << "Agasa";
}
