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