#include <bits/stdc++.h>
using namespace std;
long long MOD = 1e9 + 7;
long long MAX = 9223372036854775807;
int main() {
  ios_base::sync_with_stdio(0);
  ;
  int n;
  cin >> n;
  int a[n], ans = 0;
  map<int, int> m;
  set<int> s;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    ans = max(ans, a[i]);
    s.insert(a[i]);
    m[a[i]]++;
  }
  for (int i = 0; i < n; ++i) {
    if (m[a[i]] % 2 == 1) {
      cout << "Conan" << '\n';
      return 0;
      ;
    }
  }
  cout << "Agasa" << '\n';
  ;
  return 0;
}
