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