#include <bits/stdc++.h>
using namespace std;
using LL = long long;
using STR = string;
using CAR = char;
int main() {
  map<int, int> ma;
  int N, x;
  cin >> N;
  for (int i = 0; i < N; ++i) {
    cin >> x;
    ma[-x]++;
  }
  bool flag = true;
  for (auto p : ma) {
    int z = p.second;
    if (z % 2 == 1) {
      flag = false;
      break;
    }
  }
  if (flag)
    cout << "Agasa";
  else
    cout << "Conan";
}
