#include <bits/stdc++.h>
using namespace std;
int ar[1000000 + 9];
long long pr[1000000 + 9];
long long ap[1000000 + 9];
int main() {
  int i, j, k, l, n, ans = 0, m = 0, a, b;
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> j;
    ar[j]++;
  }
  for (i = 100000; i >= 1; i--) {
    if (ar[i] % 2) {
      cout << "Conan\n";
      return 0;
    }
  }
  cout << "Agasa\n";
}
