#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9 + 7;
const int N = 1e6 + 9;
map<int, int> mp;
void solve() {
  int a, b, n;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a;
    mp[a]++;
  }
  int od = 0;
  for (auto p : mp) {
    if (p.second % 2) od = 1;
  }
  if (od)
    cout << "Conan\n";
  else
    cout << "Agasa\n";
}
int main() {
  ios_base::sync_with_stdio(0);
  int T = 1, cas = 0;
  while (T--) {
    solve();
  }
  return 0;
}
