#include <bits/stdc++.h>
using namespace std;
int n;
int a[100100];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    a[x]++;
  }
  for (int i = 100000; i >= 0; i--) {
    if (!a[i]) continue;
    if (a[i] & 1) {
      cout << "Conan";
      return 0;
    }
  }
  cout << "Agasa";
  return 0;
}
