#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[100010] = {0};
  int n;
  cin >> n;
  for (int i = 0, j; i < n; i++) {
    scanf("%d", &j);
    a[j]++;
  }
  for (int i = 0; i < 100010; i++) {
    if (a[i] != 0 && a[i] % 2 == 1) {
      cout << "Conan" << endl;
      return 0;
    }
  }
  cout << "Agasa" << endl;
  return 0;
}
