#include <bits/stdc++.h>
int a[100005];
int main() {
  int n;
  std::cin >> n;
  for (int i = 0; i < n; i++) {
    int temp;
    std::cin >> temp;
    a[temp]++;
  }
  bool found = false;
  for (int i = 1; i <= 1e5; i++) {
    if (a[i] != 0 && a[i] % 2 != 0) found = true;
  }
  if (found)
    std::cout << "Conan\n";
  else
    std::cout << "Agasa\n";
}
