#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) { return (b ? gcd(b, a % b) : a); }
long long lcm(long long a, long long b) { return a / gcd(a, b) * b; }
const long long MOD = 1e9 + 7;
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cout.precision(17);
  long long n;
  cin >> n;
  long long arr[n];
  long long cnt = 0;
  long long check;
  for (long long i = 0; i < n; i++) cin >> arr[i];
  sort(arr, arr + n);
  long long flag = 0;
  for (long long i = n - 1; i >= 0; i--) {
    if (cnt == 0) {
      check = arr[i];
      cnt++;
    } else if (arr[i] == check)
      cnt++;
    else {
      if (cnt % 2) {
        flag = 1;
        cout << "Conan";
        break;
      } else {
        cnt = 1;
        check = arr[i];
      }
    }
  }
  if (flag == 0 && cnt % 2) {
    cout << "Conan";
    flag = 1;
  }
  if (flag == 0) cout << "Agasa";
}
